Master-to-Shape inheritance

For deduplication shapes can be inherited and then overridden at the page level.
Take the following example file:
test4_lines.zip
2 of the shapes are declared (text) in master1 and master2 while 2 are in page1.
https://docs.microsoft.com/en-us/openspecs/sharepoint_protocols/ms-vsdx/74428617-9833-4d73-aa7f-f3a6f043a12d

Dave,
Carrying the discussion from #3 here to remain on topic. I have created a fork which rounds out some of the basic python module structure and best practices (ie: requirements file, unit_tests in unit_tests for pytest discovery, flake8 config etc)
Additionally I wrote a (failing) unit test for module inheritance as well as initial prerequisites for master inheritance.
The code can be found here: https://github.com/james-powis/vsdx/tree/add_connection_functionality
Unfortunately my brain does not work in the way that ETREE requires it to work to some how figure out the secondary lookup strategy / merging between shape and referenced master all the while preserving the ability to save the VSDX file without breaking apart the efficiencies provided in the file format specifications.
I do not believe that this fork is up to merge request quality as it is not a finished solution, and I must move on to other projects now that I have answered the POC question of "can it be done, yes but not easily", however I wanted to share my efforts with you should they be of use.
The test4_lines.vsdx was generated using lucid chart, and contains SHAPE_A label defined in the page1.xml where as the SHAPE_B shape in page1.xml references the shape defined in master1.xml. The test_case provided SHOULD pass if inheritance is working properly... I just can't figure out a great way to handle the merge / lookup strategy which is functional without zeroing the master on file write (which might be an option, but could in some situations massively inflate the resulting file size).
Please let me know if I can be of any assistance in furthering the resolution of this issue (and in the discussion on #3), I know my boss got more excited then he should have when I described the potential for using a visio file as the entry point towards some of our automation endeavors.

Also I did make some changes to use os.path functions to start the support for Windows based systems some time in the near future, as well as resolving absolute pathing from relative.

James - that's great, I wasn't clear on the master inheritance issue so a failing test is perfect thanks. I will take a look at both test and other changes in your fork.
Thanks
Dave

Hi James - the latest update now loads master pages and master ID for each page. I've not actually been able to map the Shape to master shape so test still fails. However - just thought I would note the progress made here.
Need to investigate the vsdx file format more to understand that relationship.

Hello, I've messed around a bit with this - I think managing to get Master-to-Shape inheritance to work will be quite a break for the package.
I have a demo for getting cells/data from masters. Setting Cells is a bit of a beast - you can see I tried to start something, but quickly tracked back: https://github.com/stevensultana/vsdx/tree/quick_inheritance
My approach is the following:
A Shape's Master attribute refers to the ID of a Master element in the masters.xml. The Master element also has an rId, which is used to get the master page where the master shape resides (masterN.xml). So:

While loading the vsdx file, create a mapping of rId -> master_path
Then create a master_id -> master_path mapping

From the Shape, when trying to get a cell value, if the cell is not defined:

get the Shape's master_ID
use it to get the master_path (via master_id -> master_path mapping)
get the cell value from the master shape

Similarly for getting the Text.
For what it's worth, James's test now passes. But I think it's best to craft a couple of other tests as well. Not to mention implementing sub_shapes, and implementing setting of data. Putting this here in case there is already some work going on for this.

I think after the changes @stevensultana  has added and the tests @dave-howard has added in last commit means we can close this issue - will leave open for a week for comments and otherwise close after.

Closing this one as done


Annotate code blocks for code highlighting

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Hook delete policy not honored for preceding resource on a failure

I have two jobs configured in pre-upgrade hook which both have hook-succeeded,hook-failed as the delete policy.
If both jobs succeed they are properly deleted. But if the second job is failing (and obviously the first has succeeded), the first job is not deleted.
Documentation about hooks being not very precise, I don't know is this should be the expected behavior, but this is not what I would expect intuitively.
Here a simple template that can be used to easily reproduce it with the latest version (2.8.2):
apiVersion: batch/v1
kind: Job
metadata:
  name: test-hook-1
  annotations:
    helm.sh/hook: pre-upgrade
    helm.sh/hook-weight: "1"
    helm.sh/hook-delete-policy: hook-succeeded,hook-failed
spec:
  backoffLimit: 1
  template:
    metadata:
      name: test-hook-1
    spec:
      restartPolicy: Never
      containers:
      - name: hook-script
        image: quay.io/coreos/hyperkube:v1.9.4_coreos.1
        command:
          - bash
          - -c
          - exit 0
---
apiVersion: batch/v1
kind: Job
metadata:
  name: test-hook-2
  annotations:
    helm.sh/hook: pre-upgrade
    helm.sh/hook-weight: "2"
    helm.sh/hook-delete-policy: hook-succeeded,hook-failed
spec:
  template:
    metadata:
      name: test-hook-2
    spec:
      restartPolicy: Never
      containers:
      - name: hook-script
        image: quay.io/coreos/hyperkube:v1.9.4_coreos.1
        command:
          - bash
          - -c
          - exit 1

This is an expected behavior, at least to the maintainer of this code.
pkg/tiller/release_server.go: 377
// If all hooks are succeeded, checkout the annotation of each hook to determine whether the hook should be deleted
// under succeeded condition. If so, then clear the corresponding resource object in each hook

And this behavior is also necessary in some specific case. When tiller start to execute a series of hook ordered by weight, it create one hook, and wait until this hook get into ready state, then start to create the next one. If tiller delete a hook as soon as this hook is ready, it will be hard to implement something like "run a job that depends on a configmap object as a pre-install hook". because the configmap will be deleted before the job is being created.
apiVersion: batch/v1
kind: Job
metadata:
    name: db-add-field
    annotations:
        "helm.sh/hook": pre-install
        "helm.sh/hook-delete-policy": hook-succeeded, hook-failed
spec:
    template:
        spec:
            restartPolicy: Never
            containers:
            - name: oracle-delete-field
              image: harbor.io/system/:db-cli:0.0.1
              volumeMounts:
              - mountPath: /job
                name: job
              command: ["/bin/bash"]
              args: ["/job/delete_field.sh"]
            volumes:
            - name: job
              configMap:
                  name: db-scripts
---
kind: ConfigMap
apiVersion: v1
metadata:
  name: db-scripts
data:
  add_field.sh: |
  remove_field.sh: |
    #!/bin/bash
    FIELD_ID=`echo test | md5sum | cut -b 1-6`
    ORACLE_URL="oracle/oracle@oracle:1521/oracle"
    sqlplus -S ${ORACLE_URL} << EOF
    DELETE FROM CCOD.CFG_NODE WHERE oid = '${FIELD_ID}';
    DELETE FROM GLS_SERVICE_UNIT WHERE areaid = '${FIELD_ID}';
    DELETE FROM GLS_MONITOR_CONFIG WHERE CONFIGDOMAIN = '${FIELD_ID}';
    DELETE FROM GLS_SERVICE_ROUTE WHERE ROUTEDOMAIN = '${FIELD_ID}';
    commit;
    EOF

This is an expected behavior, at least to the maintainer of this code.
pkg/tiller/release_server.go: 377
// If all hooks are succeeded, checkout the annotation of each hook to determine whether the hook should be deleted
// under succeeded condition. If so, then clear the corresponding resource object in each hook

When tiller start to execute a series of hook ordered by weight, it create one hook, and wait until this hook get into ready state, then start to create the next one.
In your case. The job "test-hook-2" don't have its spec.backoffLimit configured. So by default, backoffLimit = 6.

Before reaching the back-off Limit and return failed, Job is going to retry for six times. At the same time tiller just hang and waiting for "test-hook-2" become ready or failed, deletions haven't been started yet.
And starting deletions after all executions done is also necessary in some specific case. If tiller delete a hook as soon as this hook is ready, it will be hard to implement something like "run a job that depends on a configmap object as a pre-install hook". because the configmap will be deleted before the job is being created.
apiVersion: batch/v1
kind: Job
metadata:
    name: db-add-field
    annotations:
        "helm.sh/hook": pre-install
        "helm.sh/hook-delete-policy": hook-succeeded, hook-failed
spec:
    template:
        spec:
            restartPolicy: Never
            containers:
            - name: oracle-delete-field
              image: harbor.io/system/:db-cli:0.0.1
              volumeMounts:
              - mountPath: /job
                name: job
              command: ["/bin/bash"]
              args: ["/job/delete_field.sh"]
            volumes:
            - name: job
              configMap:
                  name: db-scripts
---
kind: ConfigMap
apiVersion: v1
metadata:
  name: db-scripts
  annotations:
      "helm.sh/hook": pre-install
      "helm.sh/hook-delete-policy": hook-succeeded, hook-failed
data:
  remove_field.sh: |
    #!/bin/bash
    FIELD_ID=`echo test | md5sum | cut -b 1-6`
    ORACLE_URL="oracle/oracle@oracle:1521/oracle"
    sqlplus -S ${ORACLE_URL} << EOF
    DELETE FROM CCOD.CFG_NODE WHERE oid = '${FIELD_ID}';
    DELETE FROM GLS_SERVICE_UNIT WHERE areaid = '${FIELD_ID}';
    DELETE FROM GLS_MONITOR_CONFIG WHERE CONFIGDOMAIN = '${FIELD_ID}';
    DELETE FROM GLS_SERVICE_ROUTE WHERE ROUTEDOMAIN = '${FIELD_ID}';
    commit;
    EOF

https://github.com/kubernetes/helm/blob/48e703997016f3edeb4f0b90e6cfdb3456ce3db0/pkg/tiller/release_server.go#L359-L372
If any hook failed, tiller will delete this single hook then return at L372. Which makes other hooks' delete policy trivial.

@DoctorZK sorry for bothering. Any chance of getting some eyes on this? Is that make sense to delete previous succeeded hooks with hook-delete-policy: hook-succeeded annotation before delete the failed hook and return err?

/kind bug

I hit this issue with v2.7.2

Closing due to inactivity. Please open a new ticket against Helm 3 if this issue persists. Thanks!


conditional global plugins sticky after failed project load

This may seem weird, but it's a real issue IntelliJ users sometimes run into because of how we currently load plugins to the shell.
steps

add a global plugin loading conditional on property:

if (java.lang.System.getProperty("foo", "") == "bar") scala.collection.Seq(
    addSbtPlugin("org.jetbrains" % "sbt-idea-shell" % "1.2+7-625c26bc")
) else scala.collection.Seq.empty

start an sbt session for a project with the plugin enabled:

> sbt -Dfoo=bar
[info] Loading settings from idea.sbt ...
[info] Loading global plugins from /Users/jast/.sbt/1.0/plugins
[info] Updating {file:/Users/jast/.sbt/1.0/plugins/}global-plugins...
[info] Done updating.
[info] Loading settings from plugins.sbt ...
[info] Loading project definition from /Users/jast/playspace/sbtonezero/project
[info] Updating {file:/Users/jast/playspace/sbtonezero/project/}sbtonezero-build...
[info] Done updating.
[info] Loading settings from build.sbt ...
[info] Set current project to sbtonezero (in build file:/Users/jast/playspace/sbtonezero/)
[info] sbt server started at <IP_ADDRESS>:4774
sbt:sbtonezero> plugins
In file:/Users/jast/playspace/sbtonezero/
	sbt.plugins.IvyPlugin: enabled in sbtonezero
	sbt.plugins.JvmPlugin: enabled in sbtonezero
	sbt.plugins.CorePlugin: enabled in sbtonezero
	sbt.plugins.JUnitXmlReportPlugin: enabled in sbtonezero
	sbt.plugins.Giter8TemplatePlugin: enabled in sbtonezero
	org.jetbrains.sbt.IdeaShellPlugin: enabled in sbtonezero

Close the session. In the project/plugins.sbt, add anything produsing a compile error:

asd

start an sbt session without the foo flag enabled:

> sbt
[info] Loading settings from idea.sbt ...
[info] Loading global plugins from /Users/jast/.sbt/1.0/plugins
[info] Updating {file:/Users/jast/.sbt/1.0/plugins/}global-plugins...
[info] Done updating.
/Users/jast/playspace/sbtonezero/project/plugins.sbt:2: error: not found: value asd
asd
^
[error] Type error in expression
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?

remove the compile error
continue the project load. The project load will go through, but then ...

sbt:sbtonezero> plugins
In file:/Users/jast/playspace/sbtonezero/
	sbt.plugins.IvyPlugin: enabled in sbtonezero
	sbt.plugins.JvmPlugin: enabled in sbtonezero
	sbt.plugins.CorePlugin: enabled in sbtonezero
	sbt.plugins.JUnitXmlReportPlugin: enabled in sbtonezero
	sbt.plugins.Giter8TemplatePlugin: enabled in sbtonezero
	org.jetbrains.sbt.IdeaShellPlugin: enabled in sbtonezero

The plugin is still loaded!
quit the session, start it again without the flag.
the plugin continues to be loaded!
delete the project/target directory and restart session again:

> rm -r project/target/
[19:02:48] jast@aeolus /Users/jast/playspace/sbtonezero (0)
> sbt
sbt:sbtonezero> plugins
In file:/Users/jast/playspace/sbtonezero/
	sbt.plugins.IvyPlugin: enabled in sbtonezero
	sbt.plugins.JvmPlugin: enabled in sbtonezero
	sbt.plugins.CorePlugin: enabled in sbtonezero
	sbt.plugins.JUnitXmlReportPlugin: enabled in sbtonezero
	sbt.plugins.Giter8TemplatePlugin: enabled in sbtonezero

the plugin is no longer loaded

problem
So apparently some state is not reset properly when recovering from an error in the project load. This causes spurious problems when using the embedded sbt shell from IntelliJ.
sbt version: Reproduced with 1.0, the problem has been reported with 0.13 as well

I have sbt trying to load supersafe plugin every time I compile a project, even after I removed it from global plugins (and it fails with projects on scala 2.12.3 as supersafe is not released for .3 yet). Had no idea why that was happening. (btw I didn't have any errors in sbt files lately like described here).
sbt 0.13.6

@yurique yup, anything that breaks the build loading may cause this error. Thanks for the additional information


Insert newlines for readability in html generation

Supersedes https://github.com/dlang/dlang.org/pull/1806. Follow-up for https://github.com/dlang/dmd/pull/6972,

-

Source:
+
+

Source::
+

There's now a double colon.

Same with other sections "Input::", "TODO::"

@CyberShadow Yes, needs https://github.com/dlang/dmd/pull/6972 to get everything in place.

Oops, I thought that was already merged.

@CyberShadow lgty?

@andralex  The double-colons are still there. And I don't think it's just the result before the DMD PR was merged. (I should really add a build date field to DAutoTest's web UI...)

@CyberShadow looks correct on my machine, pushed again perhaps it'll restart generation.

Still there. Look at web/phobos-prerelease/ddmd_backend_bcomplex.html

OK, let's see now...


Fix snapshotting symlinked directories

the name of the symlinked directory was wrong, as well as the absolute paths as soon as more of two symlinks have been involved.

@lptr PTAL!


Handle "cookie()" helper function

Fixes #59

@ForzaSFerrari Thank you.
Does it work for you?

@ForzaSFerrari Could you switch your editor to LF line ends and force-push your commit?

Thank you @ForzaSFerrari!

@szepeviktor For coding style issues it's kind of fine. We do use StyleCI for those things.

OK, I consider using LF a benefit for everyone.


关于 depthwise-conv2d-implicit-gemm

请问您给的链接里，只有个issue是有关这个包的，https://github.com/AILab-CVC/UniRepLKNet/issues/18，这似乎并不是解决您的包安装报错的问题的，具体报错信息如下：
ERROR: Could not find a version that satisfies the requirement depthwise-conv2d-implicit-gemm==0.0.0 (from versions: none)
ERROR: No matching distribution found for depthwise-conv2d-implicit-gemm==0.0.0
期待您的回复

In fact, the installation method is in this section of their readme use-an-efficient-large-kernel-convolution-with-pytorch


Model name is not detected properly

I have a model called Blog::Post and I'd like to count impressions for it. The controller is named according to the convention: Blog::PostsController. In this scenario impressionist will set impressionable_type to Post because of the following implementation:
def direct_create_statement(query_params={})
  query_params.reverse_merge!(
    :impressionable_type => controller_name.singularize.camelize,
    :impressionable_id=> params[:id]
    )
  associative_create_statement(query_params)
end

But it should be "Blog::Post". Therefore I'd suggest to use controller_path instead of controller_name to detect impressionable_type
It would even be better if impressionist method of controller accepts options to manually set model name because sometimes a model without namespace(Post) might be used in a controller with namespace(Admin::PostsController)

I know this is years later - but in case anyone like me comes across this issue via google while trying to get namespaced controllers logged, this functionality was actually added in #71, but removed again in ce935aaa38c21aef13bbdb4efc34332fcfb5b4c0


gets notification when i put an item on the market

Expected behavior:
Give notification when I sell an item
Current behavior:
Gives me a notification when I list an item (does still give me a notification when I sell an item though)
Metadata:

FUT Auto Relist Unsold Transfers (but modified)
I'll just give the full script

(function () {
  'use strict';

  gAuthenticationModel.addListener(models.AuthenticationModel.EVENT_AUTHENTICATION_SUCCESSFUL, this, function () {
    setInterval(function () { repositories.Item.getTransferItems().observe(this, _handleExpiredAuctions); }, 60000);

    var _handleExpiredAuctions = function handleExpiredAuctions(observer, data) {
      if (data.items.filter(function (d) { return d.state === enums.ItemState.FREE && d._auction.buyNowPrice > 0; }).length > 0) {

        // Refresh screen if we are on the transfer list screen
        if (typeof gNavManager.getCurrentScreenController()._controller == "TransferListLandscapeViewController") {
          gNavManager.getCurrentScreenController()._controller._listController._requestItems();
        }

        GM_notification({
          text: "Relisted expired auctions",
          title: "FUT 18 Web App",
          onclick: function () { window.focus(); },
        });
        console.log("Automatically Relisted Expired Auctions");
      }
    };
  });
})();

Chrome
Macbook

What am I looking at exactly? The code you provided gives you a permanent notification if there are items that can be relisted in your tradepile, but does not relist by itself.

@Mardaneus86 Sorry about that I didn't mean to say when I sell an item, but when I need to relist an item. Currently, this script does do that but it also gives me the same notification oddly when I list an item.

Perhaps the Item repository isn't updated instantly in that case, it only fetches new items once every minute.
You can reset that cache with the following code:
repositories.Item.setDirty(enums.FUTItemPile.TRANSFER);
repositories.Item.getTransferItems();

You can use the following enums in setDirty:

enums.FUTItemPile.PURCHASED
enums.FUTItemPile.TRANSFER
enums.FUTItemPile.INBOX

If you want to reset them all at once, use this command:
repositories.Item.reset();


dom diffs

Description

Motivation and Context

Types of Changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation fix (typos, incorrect content, missing content, etc.)

Add section for ui no dom diff view
Text:
Enable DOM Inspection


Use --- not — because it will be rendered correctly

It's currently inconsistent

What do you mean? Isn’t this PQ ready?

Yes, it is ready. I was adding additional information why this change was necessary.

Is it translatable?

Yes. I do not know the rules for em dashes in other languages.
For example, — is never used in German, only – is found.

@habemuscode Any changes to be made in Spanish?

@Nazar-Ant Any changes to be made in Ukrainian?

@roj1512 Yes, we decided to also use a triple hyphen to represent dashes. This is something @LWJerri is working on.

🚀 Deployed on https://64920538f6001c1dc38e48fa--grammy.netlify.app

@KnorpelSenf, why we don't have a fresh build?

rocket Deployed on https://64920538f6001c1dc38e48fa--grammy.netlify.app

@KnorpelSenf, why we don't have a fresh build?

The conflicts must be resolved first.

Oops the branch was changed. Sorry my bad.

@CikiMomogi, I think changes for long dash doesn't apply to code block's.

@CikiMomogi, I think changes for long dash doesn't apply to code block's.

https://6497d2cb7a500b538129bdf4--grammy.netlify.app/uk/guide/middleware.html#стек-проміжних-обробників
https://6497d2cb7a500b538129bdf4--grammy.netlify.app/uk/guide/introduction.html#як-підтримувати-роботу-бота

Scroll down and find tables.

OMG, I missed open updated links, xDDD.....

Incorrect long dash render. (https://github.com/grammyjs/website/blob/fix-conflict-triple-dash/site/docs/uk/guide/middleware.md, 77-85 lines).

@CikiMomogi, I think changes for long dash doesn't apply to code block's.

Indeed. All characters written inside the code block will be rendered as they are.

@CikiMomogi, I think changes for long dash doesn't apply to code block's.

Indeed. All characters written inside the code block will be rendered as they are.

Oh, okay, thanks.


Difference between iOS id and accessibility label?

What is the ID from iOS which the AutomationID exposes? Is it an accessibility label? Or is that something else. Need more clarification.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 43d92e81-8d62-5775-b110-882c6ad6aa9a
Version Independent ID: 62d282ce-ab98-46d1-1b82-fd28260330d2
Content: Get started with UITest and Xamarin.Forms - Visual Studio App Center
Content Source: docs/test-cloud/uitest/get-started-xamarin-forms.md
Service: vs-appcenter
GitHub Login: @davidbritch
Microsoft Alias: dabritch

UIView.AccessibilityIdentifier.


Added logic to wait before retrying requests failed with recoverable error

Description

Added logic to wait 5 seconds before retrying request failed with recoverable error
Refactored code

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have signed the Adobe Open Source CLA.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@addb  The API callback timeout is 5s. If we decide to increase the retry interval beyond 5s, we need to reset the _lastFailedRequestTS when we add a new event to the queue, after this line: https://github.com/adobe/aepsdk-roku/blob/78f224670370eb0995168198f764634f6bc36ad0/code/main/edge/edgeRequestWorker.brs#L46C23-L46C23


Add the minimumPlayers parameter to the ZombieOutbreak event

About the PR

Added minimumPlayers parameter to the ZombieOutbreak event and set it to 10.
Why / Balance

In my experience, a zombie event in the middle of a round often ruins the round below 8-10 players online. The station crew does not have time to react to the threat and this event effectively ends the round.
Adding a minimum number of players will improve the gaming experience for rounds with low online and will not affect rounds with higher online.
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl:

tweak: Zombie Outbreak event now has a minimum limit of 10 players.

PR says 10 but the files changed shows 15

Oh, sorry, I'll fix it now...


Use binstubs rather than ./script/[file]

The Ruby community has moved away from using a local script folder in favor "binstubs" (executable scripts in ./bin). The console and bootstrap commands allow for command augmentation via a predefined script. These commands have been updated to search the ./bin now.
FYI - I plan to submit a subsequent PR that deprecates the bootstrap command in favor of the more conventional setup.

@wycleffsean 👀

👍


BUG: Improving the home page design properly .

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
The Home section is not aligned properly . I can improve the slider and the banners in the home page.

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@arghadipmanna101 Please assign me this issue . I am well versed with the landing pages and I can work on improving the home page.

Thank you sir
On Thu, 30 May, 2024, 7:09 pm Arghadip Manna, @.***>
wrote:

Assigned #778
https://github.com/arghadipmanna101/Flipkart_Clone/issues/778 to
@aditi75432 https://github.com/aditi75432.
—
Reply to this email directly, view it on GitHub
https://github.com/arghadipmanna101/Flipkart_Clone/issues/778#event-12986344055,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BB26SZDADSSR4Q3BCSDRDETZE4TZVAVCNFSM6AAAAABIHXIPVKVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSHE4DMMZUGQYDKNI
.
You are receiving this because you were assigned.Message ID:
@.***
com>


slow performance or job failure when running bacalhau with plex

Hi team - I am currently running the latest version of plex:main and seeing an issue with timeouts / long run times.
(base) rindtorff@niklas plex % ./plex --app equibind --input-dir ./peterson
## User input ##
Provided application name: equibind
Provided directory path: ./peterson
Using GPU: true
## Default parameters ##
Using app configs: app.jsonl
Setting layers to: 2
## Validating ##
App found: equibind
## Searching input files ##
Found 5 matching files
peterson/4bn4_protein_stripped_no_ions.pdb
peterson/5514.sdf
peterson/ZINC000000968328.sdf
peterson/ZINC000000968330.sdf
peterson/pdb6lxa.pdb
Created job directory /Users/rindtorff/plex/bc2ae352-0409-43bc-99bf-1195fbadcfcc
Uploading to IPFS via web3.storage...
CID: bafybeig3n5om2obnu4r7dsjdwg273edalxen7oz6i4ddhdl5twk2edm7d4
## Creating Bacalhau Job ##
Bacalhau Job Id: 3caae7a8-853b-4902-8087-bc00c14b02d7
Job running...
////____🌱////

When checking the submitted bacalhau job I am receiving a GetJobStates error
(base) rindtorff@niklas plex % bacalhau describe 3caae7a8-853b-4902-8087-bc00c14b02d7
Failure retrieving job states '': jobID must be non-empty in a GetJobStates call

The job eventually is displayed as complete, but the job directory does not contain data

Replicated error here: https://github.com/labdao/ganglia/issues/82#issuecomment-1436112994

potential duplicate #93

closing this


Generate enum keys

Example:
someKey:
  apple: Apple Pie
  orange: Orange Juice
  rpi: Raspberry PI!

with pre-defined enum
enum Thing { apple, orange, rpi }

Hope slang could generate something like:
String get(Thing thing) => {
  Thing.apple: 'Apple Pie',
  Thing.orange: 'Orange Juice',
  Thing.rpi: 'Raspberry PI!',
}[thing]!

This is only for one key right? Or should this be applied to multiple ones?

You can checkout "Custom Contexts". There you have a variety of options. Each "context" is basically an enum

Mainly one key. But may also want multiple isolated keys like:
someKey:
  apple: Apple Pie
  orange: Orange Juice
  rpi: Raspberry PI!
someOtherKey:
  apple: AAA
  orange: OOO
  rpi: RRR

(Well this is a bad example indeed...)
Thanks!

You can checkout "Custom Contexts". There you have a variety of options. Each "context" is basically an enum

Thanks, but in my case, I have predefined enums, instead of letting slang to do it.

If I understood this correctly, then only auto detection of enum keys is missing.
contexts:
  my_enum:
    paths:
      - someKey
      - someOtherKey
    # actual enum will be determined

Please check the new enhanced enum feature Dart SDK 2.17:
enum MyEnum {
  someKey("some_key"),
  someOtherKey("some_other_key");
  final String value;
  const MyEnum(this.value);
}

BTW nice new package name

Oh sorry, I didn't follow the entire discussion

In my hand-written code I have:
enum Thing { apple, orange, rpi } // written by hand

And I want slang to use that enum directly. Instead of slang generating a brand new enum.

The generated strings.g.dart file has to import this file containing the hand-written enum. Hmm... I don't know if this is possible.

has to import this file containing the hand-written enum. Hmm... I don't know if this is possible. Currently, there is no inspection of dart code

Maybe let the user to specify where the enum is

Added in slang 2.4.0.
Here is your config following the Thing example:
imports:
  - 'package:my_package/path_to_enum.dart' # define where your enum is
contexts:
  Thing:
    enum:
      - apple
      - orange
      - rpi
    default_parameter: thing
    generate_enum: false # turn off enum generation

🎉


Automatic dependency management

Hey @jaraco. I am reading about the project and for some reason I want to believe that rwt is able to figure out and fetch dependencies automatically, but so far I haven't found proof of that - we still need to create a custom "import" section just for rwt. In this respect rwt is still manual dependency management like http://docs.groovy-lang.org/latest/html/documentation/grape.html

rwt is designed to provide "on-demand" dependency resolution, not automatic dependency resolution. So it creates a temporary environment to install and make available to the Python interpreter the packages that you or your script declare. It uses pip to make those dependencies available.
So yes, you must declare those dependencies somehow, which you can do in an __requires__ statement or through a requirements.txt file or just on the command line.

I want to believe that rwt is able to figure out and fetch dependencies automatically

Can you describe more about what you're expecting? Maybe an example?

make available to the Python interpreter the packages that you or your script declare.

I would expect it to find out what my script imports and fetch those imports without explicit declaration (maybe recording requirements.txt on the way). I am pretty sure people tried it before.

find out what my script imports and fetch those imports

Yeah, that seems tricky. Maybe I can imagine figuring out which imports are needed for a module or script, and maybe even keeping a database of libraries satisfying those imports, so if you, for example, import PIL, it will know to git pillow and not PIL.
Another thing that makes it tricky is the ways that imports can happen. Should it only support import statements at the top of a module? What about a package? What about __import__ statements or imports in a try block?
In any case, that's not the goal of rwt, though if someone built that engine, I'd be interested in applying it to rwt, whose role is about installing the specified dependencies and running an interpreter with those.

Should it only support import statements at the top of a module?

Let's not forget that dependency detection can be made in two ways:
static. It should get as deep as implemented static analysis can go with ability for users to debug and enhance this analysis. So shipping with top imports only is okay. Looking at package imports manually is the same. Rarely anybody looks further than that main entrypoint and its direct dependencies. Python is not Java.
dynamic. Look at what package that is being run tries to import, notice failures and help user choose libraries while library awaits for the import to complete. Record that info. Supervised or guided "learning'. )

What about a package?

The logical way for dynamic analysis is to use https://bitbucket.org/pypy/revdb/ for that.

Sounds like there are some potential areas for improvement here. I welcome pull requests to this end, and if I find time, I may work on it, but I won't be dedicating time to it at this time.


[Feature] Add RMA support

This PR adds support for "RMA" or "Return Order" functionality.
Initial implementation may be somewhat "bare bones" and need fleshing out in greater detail in subsequent PRs.

Closes https://github.com/inventree/InvenTree/issues/3298

TODO

[ ] Add setting to enable / disable Return Order functionality (default = off)
[x] Implement "detail" screen for individual Return Order
[x] Implement API endpoints for attachments
[ ] Implement "calendar view" for Return Order List
[ ] Add "line item" model
[ ] Add functionality for returning goods
[x] Clean and add database migrations
[ ] Add models for return reports (and implement functionality for this)
[ ] Unit testing for ReturnOrder API endpoints
[ ] Unit testing for Contact API endpoints
[ ] Unit testing for page permissions
[x] Split order.js
[x] Reinvigorate contact model
[ ] Add "point of contact" to purchase order and sales order modesl
[ ] Add dataset for new "Contact" model
[ ] Add dataset for ReturnOrder
[ ] Add app issue for supporting "point of contact"
[ ] Add app issue for supporting return orders
[ ] Add documentation for "contacts"
[ ] Add documentation for "Return Order"
[ ] Update documentation for "Purchase Order"
[ ] Update documentation for "Sales Order"
[ ] Complete this TODO list

Very intresting PR!

Nice!

@matmair already used it in anger. Seems to work well, I'm sure there'll be additional things to add.
I'll put up a blog post soon

Hi All, the RMA feature sounds great. any idea when it will be released?
Br Martijn

We do not give out release dates as the project is developed in spare time.


Adding  list_duplicates=True to example.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Fix RT-1.7: Local BGP Test for Arista with necessary deviations

Add MissingValueForDefaults deviation for local_bgp_test before verifying expected gnmi DUT state.
Fix clearing of bgp configuration so that the /network-instances/network-instance/tables/table leafRef path is deleted along with bgp protocol path The changes are very similar to cc4f763 that was made by bstoll to fix RT-1.1: Base BGP Session Parameters

/gcbrun

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 56.88%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1236

Relevant Lines:
2173

💛  - Coveralls

/gcbrun

/gcbrun


update the pidfile object with actual data

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

14 of 16 (87.5%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.05%) to 92.803%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pid/base.py
14
16
87.5%

Totals

Change from base Build<PHONE_NUMBER>:
-0.05%

Covered Lines:
245

Relevant Lines:
264

💛  - Coveralls


The probleam for Model binding and Tag Helper in Naming.

Describe the bug
When I use variable name todo in Controller Action, And parameter name of the ToDoListViewModel. It is get null for all properties.
To Reproduce
Steps to reproduce the behavior:

Using this version of ASP.NET Core '2.1.500'

Run this code

My ToDoListViewModel:
[Serializable]
public class ToDoListViewModel
{
    [Key]
    public int Id { get; set; }

    [MaxLength(10)]
    [Required]
    [Display(Name = "使用者名稱：")]
    public string UserName { get; set; }

    [MaxLength(50)]
    [Required]
    [Display(Name = "代辦事項（ToDo）：")]
    public string ToDo { get; set; }

    [Display(Name = "開始日期：")]
    public string StartDate { get; set; }

    [Display(Name = "結束日期：")]
    public string EndDate { get; set; }
}

(2). Because property have 'ToDo', So the View page also use 'ToDo' in Tag Helpers!
https://i.imgur.com/RapmhuQ.jpg
Default use the view page of the Tag Helper:

                                  <input asp-for="ToDo" class="form-control" />

With these arguments 'todo'

It is get null fro all properties.
https://i.imgur.com/bhuzNLV.jpg
The parameter name is the Post action of 'todo':
    [HttpPost]
    public IActionResult Create([BindRequired] ToDoListViewModel todo)
    {
        if (ModelState.IsValid)
        {
            var todoList = todo;

            _context.ToDoLists.Add(new Models.ToDoList() {
                Name = todo.UserName,
                ToDo = todo.ToDo,
                StartDate = string.IsNullOrEmpty(todo.StartDate)?null:(DateTime?) Convert.ToDateTime(todo.StartDate),
                EndDate = string.IsNullOrEmpty(todo.EndDate)?null:(DateTime?) Convert.ToDateTime(todo.EndDate)
            });

            _context.SaveChanges();
        }

        return RedirectToAction("ToDoList");
    }

See error

Interestingly, I am mark Tag Helper for 'ToDo':
            @*
                                  <input asp-for="ToDo" class="form-control" />
*@
It get all data for now!
https://i.imgur.com/12bHsEr.jpg
others Interestingly, When parameter name changed to 'model'.
    [HttpPost]
    public IActionResult Create([BindRequired] ToDoListViewModel model)
    {
        if (ModelState.IsValid)
        {
            var todoList = model;

            _context.ToDoLists.Add(new Models.ToDoList() {
                Name = model.UserName,
                ToDo = model.ToDo,
                StartDate = string.IsNullOrEmpty(model.StartDate)?null:(DateTime?) Convert.ToDateTime(model.StartDate),
                EndDate = string.IsNullOrEmpty(model.EndDate)?null:(DateTime?) Convert.ToDateTime(model.EndDate)
            });

            _context.SaveChanges();
        }
        return RedirectToAction("ToDoList");
    }

Expected behavior
I hope Tag Helper in use ToDo can to bind data.
Screenshots
It get all data for now!
Picture:
https://i.imgur.com/1xAUebh.jpg
Additional context

Thanks for contacting us, @wugelis.
@pranavkm, can you please look into this? Thanks!

Duplicate of https://github.com/aspnet/Mvc/issues/3735. Renaming the parameter (toDo -> model) is the fix for this.
An interesting thing to note is that the analyzer that was added in 2.2 to warn about this specifically targets Controllers and not Razor Pages and Page models. I've added https://github.com/aspnet/AspNetCore/issues/7773 to track adding support for Razor Pages \ Page models as part of the analyzer.

Thank you!
I just thinking at the time to get the Cause of the problem.
I have solved the problem by using rename.
Also know that it is my naming problem. I am sorry!
thank you very much!
Gelis


Hotfix fixing documentation image problems

Albert Tregnaghi<EMAIL_ADDRESS>Daimler TSS GmbH, imprint

Wrong destination, we need hotfix -> master -> develop, so closed this PR.


Visual Studio 2022 support

Added support for visual studio 2022

Furthermore, it would be nice if you can say a little bit more on what you have tested with VS2022 support. I just did run a quick test and I could successfully imoprt stuff YEAY, but I run into an error after the running
enable_checkin_policies_support.bat, as then a different code path is used and due to  a pre-existing error not caused by you an exception is raised if no checkin policies where enabled due to trying to access a registry key which doesn't exist
https://github.com/git-tfs/git-tfs/blob/adb1225699d0b984e020d52540e3bf4ebe21b104/src/GitTfs.VsCommon/TfsHelper.Vs2017Base.cs#L104
I didn't notice this before, as I always have checkin policies activated, but for the just installed VS2022 I don't have any. Will open a PR with a fix seperately for that.

Sorry for not publishing the fix, I was blocked by an issue in Git itself https://github.com/git-for-windows/git/issues/3674
which took all my OSS time away.

@siprbaum Fixed tabs in project file. Added item in release notes.
Personally I've been using this version for several days, everything seems to be working fine. I have only VS 2022 Community installed. fetch/rcheckin/checkintool all seem to work fine.

@alexander-renev Thx for you contribution. The changes look fine to me. -> Merged!

For reference, PR #1408 contains the fix for the pre-existing problem with enabled checkin policy support


Incompatible with Horse Combat Controls + Feature Request

Describe
When in third person mode with Horse Combat Controls active, the controls are inverted and there is no way to slow down the horse.
Reproduce
Steps to reproduce the behavior:

Go to world, Spawn Horse and Saddle
Enable Combat Controls with Y and mount in third person
Behavior from first person controls are not the same from third person

Expected behavior
I should be able to control the horse speed and direction while maintaining my 360 movement in third person but Leawind's Third Person conflicts with Combat Controls' implementation,
Suggestion
Disable Leawind's Third Person controls while on horseback when Horse Combat Controls is installed?
QOL Fixes (Feature Request)
Would it be possible to have the player head follow Y-Axis movement to give the Third Person view more of a live like feel?
The X-Axis can be ignored since that would be control with the WASD keys anyway
When aiming using a bow, would it not be easier to move the crosshair to the correct position rather than sacrificing the Field of View by zooming in?
The documentation is not very clear on how to make the camera not zoom in while aiming with an item.
Clarification
In the General settings menu, "Rotation Type" does not have a description of what it does

Thanks for your suggestion!

Would it be possible to have the player head follow Y-Axis movement to give the Third Person view more of a live like feel? The X-Axis can be ignored since that would be control with the WASD keys anyway

Player's head will follow the camera since 3cf8946ffc86a556f847024b85e11feefe489736

A fix might be adding a config that will make it so it follows the players head when mounted, that way a person who is using horse combat controls can enable that config so they can use normal controls when not mounted and horse combat controls when mounted, best of the both worlds :)


Fixate elasticsearch gem version < 7.14.0

We need to avoid elasticsearch gem versions >= 7.14.0 for now.
We have some specs failure with it: https://github.com/toptal/chewy/runs/3240650016
Probably related to https://github.com/elastic/elasticsearch-ruby/blob/master/CHANGELOG.md#client
Also, there are more changes and client can refuse to talk to a server of certain builds (The client noticed that the server is not a supported distribution of Elasticsearch), more info: https://github.com/elastic/elasticsearch-py/issues/1639

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
(n/a) Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
(n/a) Added tests.
(n/a) Added an entry to the changelog if the new code introduces user-observable changes. See changelog entry format for details.

any plans to finally upgrade? I'm relying on TooManyRequests error rescue from newer versions


Send different values to API using hero card

Hello,
I have a hero card that requests from user to select his employment status. my issue is how can I send different value to API?
For ex: in the hero card there is employed, self employed and unemployed etc... when user clicks on unemployed its storing the value unemployed in dialog.employmentstatus and all is working fine and I have a confirmation for user to make sure he clicked the right one, but when I want to send to API, the API accepts only es_unemployed or es_employed etc.. so when i send dialog.employment status to API its sending unemployed while I want the value to be sent as es_unemployed.
Thanks in advance,
Regards

.

Thank you for the report. I will investigate.

Hello @anishprasad01 ,
Any updates regarding the above?
Thank you for your help

Hi @lauren-mills, I tried that but I also ask for confirmation after user clicks which choice.
in your example if user chose the first(Choose me! (1)) their is a confirmation after it! in your case the confirmation will be are you sure you want to choose myReturnValue1? while i want it to still ask are you sure you want to choose Choose me! (1)? if user clicks yes then the value should be stored as myReturnValue1 and the API will take it as so
in other words I also want to take the title for confirmation and use the value only for API. is this possible?
Thank you

Could you clarify what exactly you want to do? I'm not sure I understand.

thank you for your help! I managed to implement a workaround for it


Object with embedded object is not created

Example: WSource on demo site.

Fixed here: https://github.com/PhantomYdn/wicket-orientdb/commit/66e1016801ff6fad9e78bbde35c73a560fe64dad


pizza demo - remove button cause re-render duplicate sidebar

when removing a pizza from the card, sidebar is rendered twice.
this might be a possible for another framework issue

What do you mean? Is the HX call happening twice?

Ahh, I see. Fixed in 367c205ad956176eb15a35dd7d5e632c07d47976. Thanks for reporting.


Remove deny_c in CI

https://github.com/rust-analyzer/rust-analyzer/pull/3800#issuecomment-607186153
r=@matklad

Let's comment it out for now, the upstream might get fixed: https://www.jetbrains.com/help/rider/Coding_Assistance__Complete_Statement.html#
r=me otherwise

actually relevant link: https://github.com/nagisa/rust_libloading/issues/61#issuecomment-607941377

But I think bor-s won't work on changing github-action, right? Anyway, let try it
bors r=@matklad

Ah, right...


Improve description for Chai QA testing challenges

Describe your problem and how to reproduce it:
The Chai challenges start off with challenge link and it tells you to make asserts but not where exactly.
The glitch link does allow you to make a copy of the project, however it is unclear where you start. I navigated around the project and the README didn't have any hints as to where these asserts were supposed to be taking place.
The README:

FCC Test Challenge Prototype
QA with mocha & chai

When you click on the hint button, then you get told where to actually start.

Problem Explanation
To begin, locate the file “tests/1_unit_tests.js”.

Add a Link to the page with the problem:
https://www.freecodecamp.org/learn/information-security-and-quality-assurance/quality-assurance-and-testing-with-chai/learn-how-javascript-assertions-work
Suggestion
Add the two file locations to the introduction to the challenge section, to the challenge pages, and on the README.
In addition to this, there are issues occasionally where you may need to submit multiple times for it to properly detect, either due to glitch issues or something else. So it may be worth adding a mention of this, at least in the section introduction page.

@crandalj, thanks a lot for these details and your helpful suggestions. We'll take all of this into consideration while we update this project.

It looks like this is fixed by https://github.com/freeCodeCamp/boilerplate-mochachai/pull/16/files.

This should be fixed with some recent changes to these projects. The instructions are now on the website. I think it's safe to close this. Thanks and happy coding 🎉


Sticker wear

Hi, can you add parathemer "wear" for sticker , when returning json from inpect url by example "https://api.csgofloat.com/?url=steam://rungame/730/76561202255233023/+csgo_econ_action_preview S76561198984091613A19282557712D11880652775751478859"
Simple add another field named wear, which will return value [0,100] or it is unreal?
Thank you!

If the sticker has wear, it'll show up in the wear property. https://api.csgofloat.com/?url=steam://rungame/730/76561202255233023/+csgo_econ_action_preview M3279140251008183621A19480249543D2499016526748371449


Testing issues as part of a bug bounty, please do not approve. jafrse

Testing issues as part of a bug bounty, please do not approve. jafrse

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


while running  Stuck

hi,
Sometimes it gets stuck and does not run. The final state is as follows.  and the  task is suspended. Why is it? Please help me, thanks!
23:11:23 start with 4 threads
23:11:27 mapper indexing done

Hi,
Same behavior,
sudo strace -p 1136
strace: Process 1136 attached
futex(0x7ffdbdfee018, FUTEX_WAIT_PRIVATE, 0, NULL
sudo strace -p 1134
strace: Process 1134 attached
futex(0x7ffdbdfee018, FUTEX_WAIT_PRIVATE, 0, NULL
Fabrice

It's most likely a threading issue -- I found that 32-36 threads hangs, but when I tried 1, 2, 4, 8, 16, and 24 it worked fine.

16 does not work for me, because I run many samples one time, I need to just use thread 1

这是来自QQ邮箱的假期自动回复邮件。

您好，我最近正在休假中，无法亲自回复您的邮件。我将在假期结束后，尽快给您回复。

anyone has methods about this? thanks

other version solve this problem, https://github.com/tsy19900929/GeneFuse_Plus

这是来自QQ邮箱的假期自动回复邮件。

您好，我最近正在休假中，无法亲自回复您的邮件。我将在假期结束后，尽快给您回复。

other version solve this problem, https://github.com/tsy19900929/GeneFuse_Plus

Hi, maybe, it can not solve the questions,  just for my computer1-6, it run great on computer-2,and computer-4, however stuck on computer-[1,3,5,6],

trace log just stuck as below.
sudo strace -p 54952
strace: Process 54952 attached
strace: [ Process PID=54952 runs in x32 mode. ]

Any solutions?
Thanks for that.

这是来自QQ邮箱的假期自动回复邮件。

您好，我最近正在休假中，无法亲自回复您的邮件。我将在假期结束后，尽快给您回复。

other version solve this problem, https://github.com/tsy19900929/GeneFuse_Plus

Hi, maybe, it can not solve the questions, just for my computer1-6, it run great on computer-2,and computer-4, however stuck on computer-[1,3,5,6],  trace log just stuck as below.
sudo strace -p 54952
strace: Process 54952 attached
strace: [ Process PID=54952 runs in x32 mode. ]

Any solutions? Thanks for that.

sorry, It is ok, just my ref_file is wrong~~~ ,


Installing dapr having rights only to namespace

Hello.
How to install dapr and applications with sidecar, if there are no rights to the cluster, but only rights to a specific namespace?

The PRs for DNS seems to be unrelated to this issue.
Installing Dapr requires rights to the cluster. Dapr is a cluster level concern. An app that uses Dapr can be deployed as usual to its namespace and, with the proper annotations, the Dapr sidecar will be injected.

Closing as will not fix since this is a design choice.

@artursouza any update here? Can we close?


model tagging

Associate model numbers with key-value pairs and allow people to use inner selects on the model table wherever they might have used one or more model numbers, e.g. to analyze for some iterations or to select or simulate.
#15
#48

Why limit to key-value pairs?  We have a relational database here -- create a relation with generator/modelno as foreign key.

Limits make the associated language design somewhat easier, and one can always expand it later. I'd rather have something working sooner, than something good working later.

What language design is needed?
It is already straightforward to associate a tag or a datum with each model:
create table mytag (
    generator_id integer not null,
    modelno integer not null,
    datum text not null,
    primary key(generator_id, modelno),
    foreign key(generator_id, modelno) references bayesdb_generator_model
)

(Changing the syntax for model sets to support subqueries there is easy -- I don't think that itself requires much in the way of language design.)

That's an underlying schema change for each kind of mytag, no? This is fine from python, but from python, it's easy enough to associate the models with dictionaries on the outside and construct queries using them. If one wants to add tags from within BQL, then there should be a syntax for associating a new tag with a model, or a group of models. In your example, effectively the key is the mytag table. In my thought process, the table would be a tags table, and there would be a string key, so that users could easily produce arbitrary key-value pairs. Of course one has to decide about replace vs. append, etc.

Creating tables is something the user of a bdb can do.  SQL already has a notion of defining a meaningful relation with references to other relations, adding instances to the relation, specifying the semantics of insertion vs replacement, and so on.
In any case -- can you elaborate, with illustrative examples, on what you want to do with tagging?  By 'illustrative' I mean with example syntax in the language to say in a hypothetical formal way what you want to express to solve a specific problem that would be difficult or inconvenient to solve otherwise.


[VMVX] Add support for arith.maxnumf and arith.minnumf lowering.

The revision implements MinNum/MaxNum for vm_min/max ops. Previously it handled them as minimum/maximum ops. The maxnum/minnum semantics can be found at https://llvm.org/docs/LangRef.html#llvm-minnum-intrinsic
It drops the revert of https://github.com/llvm/llvm-project/commit/fa0666876cdf11162af341911b99311a56be2274. The rest of reverted LLVM commits are:

https://github.com/llvm/llvm-project/commit/2c06fb899966b49ff0fe4adf55fceb7d1941fbca
https://github.com/llvm/llvm-project/commit/137a7451f458cf7d8e1d88df93dbd8da6888886d

Fixes https://github.com/iree-org/iree/issues/17779

So do we still lower maximumf/minimumf to these ops, just with max/minnum semantics? Should we add a note about this to the maximumf/minimumf lowerings?

Yes, we do. @benvanik where do I add the note? Do I add it to ArithToVM/Patterns.cpp?

I have an easier patch in https://github.com/iree-org/iree/pull/18033, closing this one.


uses e2e encryption code from library-go

/hold
needs https://github.com/openshift/library-go/pull/573

/assign @sttts

/test e2e-aws-upgrade

/retest

/hold cancel

/lgtm
/approve


backend/wayland: fix seat caps handling

Previously, each time a wl_seat.capabilities event was received the
Wayland backend created new input devices. It now only does so the first
time.
Input devices are now destroyed when the cap is removed.
Closes: https://github.com/swaywm/sway/issues/5055

Confirmed working: https://github.com/swaywm/sway/issues/5055#issuecomment-593869276

Needs conflicts resolved


just like the function of mha.

Sorry, it cannot. There was a failed attempt at https://github.com/github/orchestrator/pull/42 and around.


TOMEE-2575 - translate of examples/cdi-request-scope

Hey guys there is my translation of cdi-request-scope.
Thank you ;)
jira task: https://issues.apache.org/jira/browse/TOMEE-2575

Great translation with some little points of attention =)
Fixed.

Thank you @marcoantoniobferreira for your review, I'm really bad with points and accents.
I will improve this skill.


Add CSO support

Like CHD and RVZ, CSO is a great archival, lossless format for PSP (iirc, it might not be lossless for other platforms, though). You could use maxcso alongside chdman and DolphinTool for this purpose. It shouldn't be too much extra work, because maxcso already supports reading ISO checksum from CSO. The only problem is that, as it might be the case with the other two programs, maxcso output isn't streamable/pipeable.

Thank you very much for the suggestion. I'm a big fan of CHD, and I believe it would work in principle for PSP, but I see that PPSSPP doesn't support CHD at the moment, so it's not much use in practice. For now I'll call this a "maybe", and if anyone would be interested in CSO support then please add a thumbs up emoji to this request so I can gauge support. Thanks again!


SSD1306 menuconfig/kconfig broken

recent commit https://github.com/lvgl/lvgl_esp32_drivers/commit/9fed1cc47b5a45fec6bae08b55d2147d3b50260c conflicts somewhat with this block in kconfig:
https://github.com/lvgl/lvgl_esp32_drivers/blob/9fed1cc47b5a45fec6bae08b55d2147d3b50260c/lvgl_tft/Kconfig#L186-L206
kconfig does not actually set CONFIG_LV_DISPLAY_ORIENTATION_LANDSCAPE or CONFIG_LV_DISPLAY_ORIENTATION_LANDSCAPE_INVERTED, it sets CONFIG_DISPLAY_ORIENTATION_LANDSCAPE and CONFIG_DISPLAY_ORIENTATION_LANDSCAPE_INVERTED
End result is that I get an invalid orientation error regardless of which orientation I set. I think this is just a simple kconfig update to fix, adding the LV prefix?
for now I've fixed it in my own stuff by picking the previous commit for the submodule in my project, but since lvgl/lv_port_esp32 is using https://github.com/lvgl/lvgl_esp32_drivers/commit/9fed1cc47b5a45fec6bae08b55d2147d3b50260c as its referenced commit, it'll be broken for that repo/demo :(

Hi,
Thanks for the report, I have been really busy with day work, but will fix it and update the demo project.

Hi, sorry, I thought I'd replied to this already... Yes, that's exactly what I did in my fork to fix it (revert of previous commit that changed those two lines). Works fine with that change 😄


README: update for wayland backend

On Ubuntu 22.04, the display controller are using the wayland protocols by default. Run a new weston process need to pass the wayland display socket listening. Clients want to run with new weston process need to set WAYLAND_DISPLAY environment variable.

@khangtb1  please check if we need to mention the weston backend to be used, as far I remember the default backend was drm, in this case we would need to mention the wayland backend to be used

@efriedrich, as I checked, we don't need to mention the weston backend is used. This is a specific thing of Ubuntu 22.04, the system's compositor is using the wayland, so 'wayland-0' is reversed for it.

User runs the weston on Ubuntu 22.04, must aware of the wayland display socket is going to listen, also when they run the wayland client apps, they need to know the wayland display socket is going to connect. If the client connect to wrong wayland display, it can't get the expected interfaces or something else.

I run weston-7 on ubuntu 22.04 with option --backend=x11-backend.so (if not pass this, it will run with wayland-backend.so), it still requires to passing the wayland display on client apps.

Another thing, on weston 10, with commit: https://gitlab.freedesktop.org/wayland/weston/-/commit/ae69381b6eb43ab63992906d1bf29ffd2b4df10d. The user's weston will be using the different 'wayland-0', it would be better if user aware about the wayland display socket to connect or to listen from now.

Thankyou for this extension. We are missing how to run Chromium or COG browser with this extension.
Cog supports
WPEBackend-fdo
Wayland
GLESv2
libdrm
libgbm
libinput
libudev

Tested chromium as well and below is the output.
root@mr5DCB3DE70:/home/torizon# WAYLAND_DISPLAY=wayland-0 chromium --no-sandbox --test-type --allow-insecure-localhost --disable-notifications --check-for-update-interval=315360000 --use-gl=egl --enable-features
=UseOzonePlatform --ozone-platform=wayland --in-process-gpu www.google.com &
[2] 55
root@mr5DCB3DE70:/home/torizon# [55:85:1104/165508.110370:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[55:85:1104/165508.110555:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[55:85:1104/165508.371610:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[55:85:1104/165508.371734:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[55:55:1104/165508.666441:ERROR:cursor_loader.cc(116)] Failed to load a platform cursor of type kNull
[55:150:1104/165509.020298:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[55:150:1104/165509.023730:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[55:150:1104/165509.041667:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[     1] ioctl(DRM_IOCTL_GEM_CLOSE) failed
)
[55:99:1104/165509.298845:ERROR:gbm_pixmap_wayland.cc(80)] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[55:99:1104/165509.298893:ERROR:gpu_memory_buffer_factory_native_pixmap.cc(198)] Failed to create pixmap 1280x1024, RGBA_8888, usage SCANOUT
[     2] ioctl(DRM_IOCTL_GEM_CLOSE) failed
)
[55:99:1104/165509.299150:ERROR:gbm_pixmap_wayland.cc(80)] Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[55:99:1104/165509.299189:ERROR:gpu_memory_buffer_factory_native_pixmap.cc(198)] Failed to create pixmap 1280x1024, RGBA_8888, usage GPU_READ
[55:99:1104/165509.299286:ERROR:shared_image_backing_factory_gl_image.cc(359)] CreateSharedImage: Failed to create bindable image
[55:99:1104/165509.299319:ERROR:shared_image_factory.cc(608)] CreateSharedImage: could not create backing.
[55:99:1104/165509.306981:ERROR:shared_context_state.cc(537)] Failed to make current since context is marked as lost
[55:99:1104/165509.307146:ERROR:skia_output_surface_impl_on_gpu.cc(1775)] Failed to make current.
[55:99:1104/165509.317695:ERROR:shared_context_state.cc(537)] Failed to make current since context is marked as lost
[55:99:1104/165509.319774:ERROR:skia_output_surface_impl_on_gpu.cc(1775)] Failed to make current.
[55:99:1104/165509.320688:ERROR:shared_image_stub.cc(519)] SharedImageStub: context already lost
[55:99:1104/165509.324512:ERROR:shared_image_stub.cc(519)] SharedImageStub: context already lost
[55:55:1104/165509.328123:ERROR:command_buffer_proxy_impl.cc(328)] GPU state invalid after WaitForGetOffsetInRange.
[     3] ioctl(DRM_IOCTL_GEM_CLOSE) failed
)
[55:99:1104/165509.488987:ERROR:gbm_pixmap_wayland.cc(80)] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[55:99:1104/165509.489041:ERROR:gpu_memory_buffer_factory_native_pixmap.cc(198)] Failed to create pixmap 1280x1024, RGBA_8888, usage SCANOUT
[     4] ioctl(DRM_IOCTL_GEM_CLOSE) failed
)
[55:99:1104/165509.489339:ERROR:gbm_pixmap_wayland.cc(80)] Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[55:99:1104/165509.489381:ERROR:gpu_memory_buffer_factory_native_pixmap.cc(198)] Failed to create pixmap 1280x1024, RGBA_8888, usage GPU_READ
[55:99:1104/165509.489417:ERROR:shared_image_backing_factory_gl_image.cc(359)] CreateSharedImage: Failed to create bindable image
[55:99:1104/165509.489445:ERROR:shared_image_factory.cc(608)] CreateSharedImage: could not create backing.
[1104/165509.549668:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[1104/165509.549940:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
[104:123:1104/165510.140115:ERROR:broker_posix.cc(40)] Recvmsg error: Connection reset by peer (104)


htmq: rerender deployment figure as svg

closes #79

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#81  👈
#76 : 1 other dependent PR (#80 )
#75
#73
#77
#74
#70
#69
#67 : 1 other dependent PR (#78 )
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @dyc3 and the rest of your teammates on  Graphite

Merge activity

May 11, 3:04 PM EDT: Graphite rebased this pull request as part of a merge.


LoggerCallSite - Optimized callsite capture

Proof of concept of how to capture callsite without using StackTrace-object (every time). To resolve #532
Introduced a new LoggerBase-class that makes it easier to make custom-loggers, without being disturbed by the default Logger-log-methods.
Minor breaking changes (So could be included in NLog 5.0), and resolves #962

Adds new() restriction to LogFactory.GetLogger<T>()
Adds new() restriction to LogFactory.GetCurrentClassLogger<T>()
Adds new() restriction to LogFactory<T>.GetLogger()

All methods are very rarely used, as they are hard to access in NLog 4.4 and because very few knows how to inherit from NLog-Logger, so it will have minimal breaking impact.
P.S. This also resolves #1150 and resolves #1988

This change is

Hi @snakefoot, would it be possible to split this one into smaller PRs? I really like to merge this one, but I prefer too merge the "low hanging fruit". If this is too much work, let me know.

Minor breaking changes (So could be included in NLog 5.0), and resolves #962

Adds new() restriction to LogFactory.GetLogger<T>()
Adds new() restriction to LogFactory.GetCurrentClassLogger<T>()
Adds new() restriction to LogFactory<T>.GetLogger()

This is good to merge

@snakefoot
I try to get PRs merged soon :)
Do you think we should merge this (after conflict resolve)?

As this is a binary breaking change in the core (logger API) , I a bit cautious with these changes.
But I think we should make this breaking change, otherwise we could never support those caller member stuff. Agree on that?

But I think we should make this breaking change, otherwise we could never support those caller member stuff. Agree on that?

There are some things that I like about this PR:

The ability to deduce class-name (etc.) from caller-attributes.
Having a much smaller LoggerBase that is easier to override.

But there also some things that I'm not sure of:

Logging-methods for LoggerCallSite are they good enough? Will not give too much noise in intellisense etc.?
If by accident changing from LoggerCallSite to standard Logger, then suddenly the overhead from using ${callsite} will be huge. If using a library that makes use of LibLog / CommonLogging / MicrosoftLogging, then they will by default use standard Logger. Then any logging from libraries will have a huge performance-hit if having added ${callsite} to the target-layout.

People will be confused if NLog 5.0 release-notes says ${callsite} has almost no overhead, but it is only the case if rewriting all your code.

Have created #4044 that introduces LogEventBuilder that makes it easier to capture callsite. And doesn't introduce a performance hit.

Accepted that creating new Logger-classes and -interfaces is just one more standard. Instead created #4325


[WIP] Add branch protection for FI WG repos

This is pr is to start the discussion in the FI WG about introducing branch protection rules for all repositories. We should make sure that the recommendation for branch protections are in place:

[ ] Replace github deploy keys by working group bot users. Branch protection rules enforce PRs for commits with deploy keys (enforce_admins=true).
[ ] Ensure that all bot users are members of the working group bots team or working group area bots team.
[ ] Remove all direct repository users in 'Settings > Collaborators and teams'. Repository access shall be governed by the generated teams only.
[ ] exclude repos w/o source code

cc @rkoster @jpalermo

I did a quick survey, and 110 (out of 240) repos in the foundational infrastructure working group use deployment keys.
./toc/working-groups/parsable-working-groups.sh | jq -s -r 'map(map(select(.name == "Foundational Infrastructure"))[0].areas)' | bosh int - | grep cloudfoundry | cut -d'/' -f2 > repos
for repo in $(cat repos); do; echo "cloudfoundry/${repo}: $(gh api https://api.github.com/repos/cloudfoundry/${repo}/keys | jq -r '.[].last_used')"; done > results
cat results | grep Z | grep '/' | wc -l

Can't say I'm thrilled about replacing 110 fine grained access keys with 1 access key that has access to everything, but maybe we can use the centralization of they credentials as an opportunity to add automatic rotation of the keys on the bot users.

Personal access tokens can still be fine grained: https://github.blog/2022-10-18-introducing-fine-grained-personal-access-tokens-for-github/

👍 right, I remember having this conversation now 😀

Closing for now. We will reopen when we plan to work on this.


fast exit fixes

:clipboard: Add associated issues, tickets, docs URL here.
Overview
On fast exit was failing on Ethereum and other chains with a crash in console.
Changes
Describe your changes and implementation choices. More details make PRs easier to review.

Fixed the crash and refactored depositL2Lp to work with ethereum l2 and alt l2.

Testing
Describe how to test your new feature/bug fix and if possible, a step by step guide on how to demo this.

Codecov Report
Patch and project coverage have no change.

Comparison is base (bb59034) 48.51% compared to head (b6d1273) 48.51%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@                Coverage Diff                @@
##           feat/one-gateway     #619   +/-   ##
=================================================
  Coverage             48.51%   48.51%
=================================================
  Files                   132      132
  Lines                  5551     5551
  Branches               1123     1123
=================================================
  Hits                   2693     2693
  Misses                 2858     2858

Flag
Coverage Δ

coverage
48.51% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

This doesn't work. We need to approve the token first.

The code that you deleted is to prevent users from approving the allowance twice.
     // Approve BOBA first
       if (utils.getAddress(currencyAddress) === utils.getAddress(this.addresses.TK_L2BOBA)) {
         BobaApprovalAmount = BobaApprovalAmount.add(BigNumber.from(value_Wei_String))
       }
       if (BobaAllowance.lt(BobaApprovalAmount)) {
         const approveStatus = await this.approveERC20(
           BobaApprovalAmount,
           this.addresses.TK_L2BOBA,
           this.addresses.L2LPAddress
         )
         if (!approveStatus) return false
       }


[WIP] create listeners mixins and add it to button component

hello @mariolamacchia
i create a simple mixins to help removing .native modifier as referred #59.
i am only applying it to button component for now, i would like to see your opinion with this methods.

@tesarwijaya Is this still WIP?

i only applied this mixins to button component. if you like this approach i will apply it to other needed components.
also i get curious why you didn't create getPropsChild as a mixins? is there any consideration behind?

Sorry I missed your first comment. Your approach is great 👍

also i get curious why you didn't create getPropsChild as a mixins? is there any consideration behind?

There is no consideration behind it. Actually, it might be a good idea to create a common mixin that will be applied to all components and to use that to remove the .native too. What do you think?

@mariolamacchia what about merging this PR? I will add the generateListeners to the rest components.

I'm working on this one, wIll merge today

@mariolamacchia, sooo?

I have a doubt about this approach...
Seems it passing any event, assigned to a component to it's root element which can be unwanted in some cases, For example, if we have a custom event, that called change, and the root element is <input> so when change event caused on the <input> - event listener will be called twice.
What about creating an option named events in each component, that will contain all event names that this component can emit?. This will solve this problem, because we can filter listeners and pass only those, that can't be fired by the component, and also using this option we can represent and describe in docs, what events can be fired by the component

Replaced by #118


Introducing a new baseline from a NeurIPS 2022 Workshop

Thank you very much for providing a good & well-reproducible github repository :)
I want to introduce a new data subset selection baseline, which will be published in NeurIPS 2022 HITY Workshop.
Paper & Code for the new baseline

Active Learning is a Strong Baseline for Data Subset Selection [pdf] [code]

Most code and implementations are based on this DeepCore repository.
Thanks again for your great work!
Also, if you want, you can introduce or mention our work in your repository :)
Thanks.

It looks interesting. Thanks for bringining it to my attention! I will include it in this repo.


[WIP]Add New KeyStore And Remove RPC & CLI

fix #1420  fix #1142  fix #1579 fix #1723

:x: Build AElf <IP_ADDRESS>17 failed (commit https://github.com/AElfProject/AElf/commit/267ea8d1c7 by @xiangxingxing)

:white_check_mark: Build AElf <IP_ADDRESS>20 completed (commit https://github.com/AElfProject/AElf/commit/4de809a013 by @rosona)

:x: Build AElf <IP_ADDRESS>59 failed (commit https://github.com/AElfProject/AElf/commit/06dc2230f0 by @xiangxingxing)

:white_check_mark: Build AElf <IP_ADDRESS>61 completed (commit https://github.com/AElfProject/AElf/commit/38cd5f8127 by @xiangxingxing)


Instant spotting

Hello,
I seem to have encountered a problem.  I've set up a patrol with one NPC (free patrol or with a rectangle drawn, same thing happens), where the NPC instantly detects my players on the map, even though he does't see them (I've selected his token to check the vision. He sees no one from his starting possition). If I deselect "Spot Player Characters" he patrols normaly as intended. I've tried different tokens, from different positions in the map. Restarting, reinstalling the module...
I would greatly appreciate it if you could look into that, and why it might happen.
Thank you in advance and have a good day.

do you have global illumination?

do they still get spotted even if there is a wall between them? did you test with only patrol enabled?

Yeh. They get spoted from the other side of the map, walls in between and all. Y tried only patrol, and it works just fine. It's the spotting.

what system are you using?

then that is probably the issue, the identifier for "character" is probably different and the token is spottin himself

Well, that's sad.


radio/checkbox with .input-sm

there is 4px margin from top and make the line ship down.
see http://jsbin.com/vixilabewe/edit?html,css,output

Hi @Yahasana!
You appear to have posted a live example (http://jsbin.com/vixilabewe/edit), which is always a good first step. However, according to the HTML5 validator, your example has some validation errors, which might potentially be causing your issue:

line 42, column 5 thru column 10: Stray end tag div.

You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(Please note that this is a fully automated comment.)

After removing that stray </div>: http://jsbin.com/jezakel/edit?html,css,output

Hi @cvrebert!
You appear to have posted a live example (http://jsbin.com/jezakel/edit), which is always a good first step. However, according to Bootlint, your example has some Bootstrap usage errors, which might potentially be causing your issue:

line 12, column 5: E003: Found one or more .rows that were not children of a grid column or descendants of a .container or .container-fluid
line 17, column 5: E003: Found one or more .rows that were not children of a grid column or descendants of a .container or .container-fluid
line 29, column 5: E003: Found one or more .rows that were not children of a grid column or descendants of a .container or .container-fluid
line 37, column 5: E003: Found one or more .rows that were not children of a grid column or descendants of a .container or .container-fluid
line 22, column 9: E042: .form-control cannot be used on non-textual <input>s, such as those whose type is: file, checkbox, radio, range, button
line 34, column 9: E042: .form-control cannot be used on non-textual <input>s, such as those whose type is: file, checkbox, radio, range, button
W002: <head> is missing X-UA-Compatible <meta> tag that disables old IE compatibility modes
W003: <head> is missing viewport <meta> tag that enables responsiveness

You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(Please note that this is a fully automated comment.)

As noted by the bot, your usage of .form-control is invalid.

is there any markup solution to make radio/checkbox {sm, lg}?

Not that I know of offhand. I've filed a feature request for it for Bootstrap v4 though: #18761

Depending on your use case, input groups might work; see http://getbootstrap.com/components/#input-groups-checkboxes-radios

@cvrebert if you double check the checkbox/radio in the input group addon, you will find that they are not vertical align in middle at all
PS: Firefox 43.0.3 in WinXP sp3

Eh, it's not perfect, but it's not terrible either.
Anyway, checkbox/radio alignment is WontFix for v3 since it's such a can of worms. See https://github.com/twbs/bootstrap/issues/13936#issuecomment-48250465

thanks for yours patient explanation. I fixed it by myself. whoa!


"use" fails if space in nvm installation path

On windows 10 64bit the "use " doesn't work if the nvm installation path has a space in it.  I re-installed to path without space and it works but thought I would report it in case someone else runs into same problem.

Duplicate of #41.


Lacking props in Svelte Components types

I am using the <VisAxis/> and <VisLine/> components, but there are alot of type definition missing for these components. The source code shows these types:
@unovis/svelte/components/line/line.svelte.d.ts:
declare class __sveltets_Render<Datum> {
    props(): {
        [x: string]: any;
        data?: Datum[];
        x: NumericAccessor<Datum>;
        y: NumericAccessor<Datum> | NumericAccessor<Datum>[];
        getComponent?: () => Line<Datum>;
    };
    events(): {} & {
        [evt: string]: CustomEvent<any>;
    };
    slots(): {};
}

@unovis/svelte/components/axis/axis.svelte.d.ts:
declare class __sveltets_Render<Datum> {
    props(): {
        [x: string]: any;
        data?: Datum[];
        getComponent?: () => Axis<Datum>;
    };
    events(): {} & {
        [evt: string]: CustomEvent<any>;
    };
    slots(): {};
}

My specific need case is tickFormat for the axis. I have no types on the function to pass to this prop, and the documentation does not specify well enough how to use tickFormat.

@OTheNonE Do you know how we can set it up in a Svelte component? We'll try to debug this but if you have a solution in mind please let us know, it will speed up the process.

Oh, i thought this might be an error and not a missing feature. I am not sure how you should set it up in a component, and if i knew, i have not looked well enough into the components to understand how they are built and how i then would implement it. I might have a look at this, but dont expect anything, haha.


client: replace faq with doc

I would rename the files *.txt → *.md, but otherwise LGTM.

I would rename the files *.txt → *.md, but otherwise LGTM.

I would have liked to do so but this is unfortunately not supported by the loader so far.
What we could do is to rename them to [...].md.txt to communicate at least some additional info about the file contents.

That’s pretty simple, I pushed the rename and added a loader mapping for .md files.

Merged as 47f968e97fb3b1ed65ffc3f1e6ac9fb9a67835f6


Documentation issues after move from OBC to hyperledger/fabric

Section <IP_ADDRESS> of docs/protocol-spec.md is no longer valid. This proto appears have been completely redefined. To be frank I think it is probably too early in the project to be documenting fast-moving data structure definitions in a standalone protocol specification document, although eventually this will be required and changes should be subject to strict controls.

I don't see that the old 'obc-docs' issues have been moved to hyperledger/fabric. (Selfishly, I see that mine wasn't moved!)

@bcbrock : correct, I think docs are being worked upon. Hopefully fixed soon.

thanks @bcbrock

closing as I believe this to be fixed by now

Sorry @christo4ferris - Not only is the protocol-spec.md still wrong, but so is CoreAPI.md at line 606.


[Help] How to use a custom loader in laravel mix?

Hello everyone.
I'm trying to use the stylus loader in laravel mix, but at the moment this configuration will not work
mix.webpackConfig({
    module: {
        loaders: [{
            test: /\.styl$/,
            loader: 'css-loader!stylus-loader'
        }]
    }
});

The problem is that I don't know how to use is inside the chain of functions because of course mix.stylus is not recognized.
What is the best approach when you need to use a custom loader like this one in laravel-mix?

If you need special plugins and configuration, copy Laravel Mix's webpack.config.js file to your project root, and then follow the stylus-loader instructions for adding it to your config file.

If you're finding this thread through Google Search in 2020 or later, you no longer need to copy webpack.config.js as suggested by Jeffrey above.
While I found that using mix.webpackConfig() would not work for adding loaders, mix.extend() can be used for this purpose:
Define an extension as follows:
mix.extend("addWebpackLoaders", (webpackConfig, loaderRules) => {
    loaderRules.forEach((loaderRule) => {
        webpackConfig.module.rules.push(loaderRule);
    });
});

Then call it like this:
mix.addWebpackLoaders([
    {
        test: /jQuery[\/\\]chosen\.jquery\.js$/,
        use: "imports-loader?this=>window"
    },
    {
        test: /jQuery[\/\\]alertify\.js$/,
        use: "imports-loader?define=>false,this=>window"
    }
]);

@garethellis36 Do you happen to know how to make a Markdown file go through the loader?


Anti-aliasing?

What would be the best approach to anti-aliasing? Rotated rectangle look quite aliased.

04_Fill_Stroke_Example works incorrect with Context3DProfile.BASELINE:
http://joxi.ru/lJ2beK7UoL6Xm6 - Context3DProfile.BASELINE - invalid
http://joxi.ru/1bmoo8pUQE49my - Context3DProfile.BASELINE_CONSTRAINED - ok


ci(semantic-release): add permission to workflow

:tada: This issue has been resolved in version 2.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 2.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Implement Pareto distribution

Closes #64

Hi! I implemented Pareto distribution as in the Math.NET library with a few modifications:

Sampling is done by inverse cdf transform from uniformly distributed numbers in (0, 1], see Wikipedia
Cdf returns 0 for values less than scale
Mean returns infinity for shape <= 1
Entropy uses difference of logs instead of log of a quotient
Skewness panics if shape <= 3

This is an excellent PR. I appreciate the hard work! I just had a single comment, if you could address that I'll happily merge

Thank you too for rapid feedback!
I would also appreciate if you squash on merge, I think I made too many dirty-wip-tests implementing-commits.


Enable setting command timeout for chip-tool pairing open-commissioning-window.

Specific changes:

Allow doing --timeout to set the command timeout.
Bump the default timeout from 5 seconds to 20 seconds.
Document the arguments to open-commissioning-window, especially
because some of them are a bit cryptic.
Fix an issue with the command field description setup, where for
some arg types the "flags" had to be specified when specifying the
description.  The flags are internal bookkeeping, and should never
be specified explicitly by normal AddArgument callers, so
Command.h/Command.cpp were modified to put the flags last again,
after the (optional) description.

Fixes https://github.com/project-chip/connectedhomeip/issues/14490
Problem
See above.
Change overview
See above.
Testing
Made sure that the command does not time out until 20 seconds pass by default and that I can use --timeout 2 to make it time out after 2 seconds.

Oh, and the new help output looks something like this:
[1652938749834] [4874:51150541] CHIP: [TOO] InitArgs: Wrong arguments number: 0 instead of 5
Usage:
  ./out/debug/standalone/chip-tool pairing open-commissioning-window node-id option window-timeout iteration discriminator [--paa-trust-store-path] [--commissioner-name] [--commissioner-nodeid] [--trace_file] [--trace_log] [--ble-adapter] [--timeout]

node-id:
  Node to send command to.

option:
  1 to use Enhanced Commissioning Method.
  0 to use Basic Commissioning Method.

window-timeout:
  Time, in seconds, before the commissioning window closes.

iteration:
  Number of PBKDF iterations to use to derive the verifier.  Ignored if 'option' is 0.

discriminator:
  Discriminator to use for advertising.  Ignored if 'option' is 0.

[--timeout]:
  Time, in seconds, before this command is considered to have timed out.

Maybe for completeness you could add help messages for arguments defined in CHIPCommand?

Yes, but as a separate PR.

https://github.com/project-chip/connectedhomeip/pull/18612 documents the args in CHIPCommand that I understand.


Add ebgp-multihop function for kube-ovn-speaker

What type of this PR
Examples of user facing changes:

Feature

When using kube-ovn-speaker to establish an EBGP neighbor with a BGP client outside the cluster, the neighbor establishment fails because the EBGP TTL defaults to 1.
Therefore, increase the ebgp-mutihop parameter for kube-ovn-speaker to set the EBGP TTL value.
you can set the args --ebgp-multihop=64, set the ebgp multihopTtl，default is 1.
/kind feature
Which issue(s) this PR fixes:
Add Feature

Thanks! @KillMaster9


Change sprintf to snprintf

On macOS, sprintf has been deprecated. Building dumper.c will error if -Werror,-Wdeprecated-declaration is set.
/Users/y/w/libyaml/src/dumper.c:254:5: error: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Werror,-Wdeprecated-declarations]
    sprintf((char *)anchor, ANCHOR_TEMPLATE, anchor_id);
    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))

A complete fix should cover unit tests and examples. If such fixes are welcome, I can do it in a separate pull request.


Datajoin cleanup 2

replaces #482

Waiting on the key functions missing from a number of dataJoins.

Waiting on the key functions missing from a number of dataJoins.

All done, although the point series tests did require changes:
https://github.com/ColinEberhardt/d3-financial-components/commit/0c6cddc5c0a0f585bbde3cd2e2d7e1bf4c062c9c#diff-caddcbcd2a4bc52af491bc459c6772d8R25
their original verifications looked incorrect and implied that the key function was not being used in the datajoin. I've not reverted my changes to find out how they were passing (just reaching my metro stop! :train: )

:+1:


npm run build throws "CssSyntaxError: RightCurlyBracket is expected"

events.js:160
      throw er; // Unhandled 'error' event
      ^

    at parseError (PATH_TO_PROJECT\node_modules\csso\lib\parser\index.js:46:17)
    at eat (PATH_TO_PROJECT\node_modules\csso\lib\parser\index.js:77:5)
    at getBlockWithBrackets (PATH_TO_PROJECT\node_modules\csso\lib\parser\index.js:515:5)
    at getRuleset (PATH_TO_PROJECT\node_modules\csso\lib\parser\index.js:315:16)
    at Object.getStylesheet [as stylesheet] (PATH_TO_PROJECT\node_modules\csso\lib\parser\index.js:173:25)
    at parse (PATH_TO_PROJECT\node_modules\csso\lib\parser\index.js:1849:34)
    at minify (PATH_TO_PROJECT\node_modules\csso\lib\index.js:69:9)
    at Object.minifyStylesheet [as minify] (PATH_TO_PROJECT\node_modules\csso\lib\index.js:100:12)
    at Object.exports.fn (PATH_TO_PROJECT\node_modules\svgo\plugins\minifyStyles.js:30:45)
    at PATH_TO_PROJECT\node_modules\svgo\lib\svgo\plugins.js:59:45
    at Array.filter (native)
    at monkeys (PATH_TO_PROJECT\node_modules\svgo\lib\svgo\plugins.js:46:39)
    at PATH_TO_PROJECT\node_modules\svgo\lib\svgo\plugins.js:66:17
    at Array.filter (native)
    at monkeys (PATH_TO_PROJECT\node_modules\svgo\lib\svgo\plugins.js:46:39)
    at PATH_TO_PROJECT\node_modules\svgo\lib\svgo\plugins.js:66:17

I went through all styles and couldn't find the missing bracket. Not really sure if this is issue related to this project or some other node module, or it's really my styles. Could you atleast help me debug it? Not sure where to start...

Can you show the styles that are causing the error? This stack trace isn't all that helpful otherwise.
It does look like the issue is in either the node_module csso or svgo, neither of which are in this boilerplate by default.

gulp-imagemin@2.4.0>imagemin@4.0.0>imagemin-svgo@4.2.1>is-svg@1.1.1>svgo<EMAIL_ADDRESS>I can't show the styles at the moment. Later. But you can see that csso and svgo is one of dependencies.

Problem was svgo. We had svg images in app/images.
Commented out line 12 in gulp/tasks/images for the moment.
The most annoying thing was that the error said it was CssSyntaxError.


Your system needs to support tray icon

操作系统：Debian 11
桌面环境：GNOME 3.38.4
官网下载 LANDrop-latest-linux.AppImage 文件后，给予执行权限，双击执行后，提示Your system needs to support tray icon

您也许可以查看该 issue 以获得解决方法: #27
Maybe #27 can solve your problem.


discuss: v1.0.0 roadmap

Deno.resolveDns API is now stable and we can prepare this project for its first stable release
@manyuanrong What do you think?

I think we need more detailed documentation


Some API's whose schema has 'allOf'  are not working.

Problem statement
In the spec, https://gist.github.com/sam75/8a7e721db5c6c58180497e65cdd22294, the GET API's for the path "/northstar/configuration" does not work. If we notice the corresponding configuration_schema.go, it was observed that it had "allOf" composition. It looks like json serialization issue.
Could you guide as to how to resolve the issue? Do let me know if any other auto-generated code is needed for inspection.
Swagger specification
swagger.yaml location:  https://gist.github.com/sam75/8a7e721db5c6c58180497e65cdd22294
model (configuration_schema.go) location:  https://gist.github.com/sam75/e50ea4f1af913e8f5c05084d83a0556f
Environment
swagger version: 0.23.0
go version: 1.11
OS:

@sam75  your spec generates and builds fine.
Could you provide a description of the error you are encountering? (like a curl session demonstrating your marshaling issue?)


Why is the mean inference speed faster than paper?

I have a question about "inference time" the inference speed listed in your paper is 0.22s per image (~5FPS). But I tested the inference speed in this open-source code, which was very fast. About 20FPS, the GPU I use is a GTX 2080Ti. Why is that?

So that may very well be an issue with the cluster our models were trained and evaluated on, in particular the use of a much slower (but memory-heavier) GPU. The most important aspect is the relative inference speeds in the table, and the provided value should this give somewhat of a lower(-ish) bound on the inference speeds.
Given the use of a GTX 2080Ti, higher inference speeds should thus be expected!

So that may very well be an issue with the cluster our models were trained and evaluated on, in particular the use of a much slower (but memory-heavier) GPU. The most important aspect is the relative inference speeds in the table, and the provided value should this give somewhat of a lower(-ish) bound on the inference speeds. Given the use of a GTX 2080Ti, higher inference speeds should thus be expected!

Got it, thank you for your reply!

Where can I find the code for measuring inference time?


[ToggleButton] Remove span and add color palette types

This PR is related to #27046 and then I see that ToggleButton still has label so I include the removal in this PR also.

remove span from ToggleButton
add color palette types to ToggleButton

WHY the wrapper is removed
button > span > children exists as a workaround for flex container bug on button BUT not anymore, so this PR remove the span.

✅ Chrome 83+ (latest 90)
✅ Safari 11+ (latest 14)
✅ Edge
✅ Firefox 63 (latest 89)

https://github.com/philipwalton/flexbugs#flexbug-9

[x] I have followed (at least) the PR section of the contributing guide.

@eps1lon @oliviertassinari @mnajdova My bad, I found that ToggleButton and Fab also has unnecessary span. Should we merge these PRs given we are already in beta? I don't think it will affect much people but it is still breaking changes.

Looks good overall.
General rule of thumb: If your PR title contains "and" it probably should be split into two PRs.
Especially if one is a feature and one is a breaking change.

Sure, will split the PR.


UI Improvements

Removed border/padding in strategy/plugin config in modal:

before
after

Hover/selected state for strategies/plugins:
(Selected state for strategies only makes limited sense, since you can select a single strategy multiple times.)

before
after

-

Page transitions:

More hover:

Closing this in favor of individual PRs...


don't capitalize the "x" in "axe"

This patch updates the README, replacing aXe with axe. We stopped doing this awhile back.

Looking clean thanks


URL "http://cgg-zwicker.inf.unibe.ch/downloads/nlm-code-data.zip" is down

Hello, the URL "http://cgg-zwicker.inf.unibe.ch/downloads/nlm-code-data.zip" is down. I cannot get the file when I run make docker_build for cuda-sbmc.dockerfile (65 line).  Can I just comment it? Or can anybody provide it?

You can safely comment this out, it's just a baseline for comparisons.

ok, thanks a lot


fix(tutorial/4): Make frontmatter consistant between codeblocks

What kind of changes does this PR include?

Minor content fixes (broken links, typos, etc.)

Description
Make frontmatter consistant between codeblocks

Thanks, @Emiller88, these corrections look great! Appreciate you keeping an eye on us, and happy to welcome you to Team Docs with your first contribution!  🥳


💡 Email-password authentication system

Start Date
02-10-2022
Implementation PR
No response
Reference Issues
Every time i logout for logging in again i have to click on the magic link there might a a need to have a simple user password system along with the magic link which might be useful for regular users to not have to go and click on the magic link everytime they need to login
Summary
implementing a email password verification system along with the magic link system
Basic Example
a seperate page and seperate routes and controllers to for loggin in with email and password instead of magic link
Drawbacks
a lot of small changes might have to be made throughout the project as a new authentication system is being added
Unresolved questions
No response

Hi @Phoenix-031, we would want to implement a "remember me" feature on the Login page. If you want to work on this, let us know how you want to proceed.

hey @anomic30 , Can I work on this "remember me" feature on the login page?