Change how exit works so defers are run

This replaces the direct use of os.Exit() in the exit implementation with a panic so that deferred functions are run. For example, those involved in saving profiling data.
This also adds a sanity check to the value of the exit command. Every UNIX like system requires the value to be in the range [0..255]. So use that limit for now. It is true that Windows supports the range [0..2^32) but I don't see a good reason to support that at this time. If we find it useful to support a different range on non-UNIX systems the check can always be abstracted out into platform specific validation.
Fixes #1377

Abusing panics is a bad idea. The codebase used to do this a lot, but it created so many more problems that I decided to get rid of them (#570).
My memory is a bit hazy regarding the specific problems, but on the high level, having panics that are supposed to be caught means that you will have to assume every function can have such panics, and think about whether the code will misbehave when that happens. Sometimes these panics just cause resources to not get released properly (which is not a problem for exit), but a lot of other times they result in correctness issues, especially in code that needs to coordinate multiple goroutines.
So no, I'm not going to allow panic abuses back in the codebase.
There is a much cleaner approach - there is already a lot of code that propagates exceptions, so exit can throw a special exception value that can't be caught by try.
Finally re restricting the exit code: also no. Elvish shouldn't prevent users from writing unportable code. If Elvish must only provide portable facilities, the exec builtin needs to be removed because it can't be used on Windows, and Elvish probably shouldn't allow code to use external commands at all.


the v2t and t2v

Sorry to bother you again. I'm confused about this code.
https://github.com/Ziyang412/UCoFiA/blob/6098be26627e445f03de5dc0f4b1db74f55d39d3/train/modules/modeling_ucofia.py#L349C9-L354C1

The first matrix calculates the similarity from sentence to video(t2v), while the second matrix seems to calculate the similarity from frame to sentence(v2t) because the .t() in the end. Is it allowed to directly sum these two matrices?
One more thing, the third matrix seems to be bidirectional,  does it have different effects on v2t and t2v?

Thanks for your attention!

Thanks for asking.

I think the  .t() operation is just matching the matrix dimension, I think the first logits also have .t() operation
I am a bit confused by the "Is it allowed to directly sum these two matrices", maybe you could provide more details. A general response is this is for match the video-text pair, there are not t2v or v2t setting consideration in this stage (that one is about inferencing).
Similar to 2, the goal is just compute the similarity given the vid-txt pair, please refer to eval function/file for more detail on v2t or t2v.

Thanks


fix: added inputNumber for input type number

Describe your changes
Added inputNumber for input type number
Screenshots [Optional]
Issue ticket number and link
Closes #782
Checklist before requesting a review

[ ] I have performed a self-review of my code
[ ] I have added tests
[ ] I have added a changeset pnpm changeset add
[ ] I have added example usage in the kitchen sink app

Also can you please add some tests for this?

@sagardspeed2 can you please add some unit tests for this

@sagardspeed2 can you please add some unit tests for this

I am writing a unit tests for this


PR for bug reproduction

About the PR
I found a way to stable error debug, described here:
https://github.com/space-wizards/RobustToolbox/issues/3524
Reproduction

spawn “BugFuckTestTable” entity.
put any entity with a FlammableComponent on the table
click on the table
???
Server crashed

Media
https://github.com/user-attachments/assets/d4a9c4f8-27a9-4a14-831d-7b964807bbca

Hello! As discussed on Discord this PR will be closed. If the issue it tries to investigate persists in this repository, a new Github issue should be made.


Groonga: 7.1.0 -> 8.0.0

Motivation for this change
Version Bump
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@grahamcofborg build groonga

Success on x86_64-linux (full log)
Partial log (click to expand)
/nix/store/j90cg4lpvdpl600xyvj1h9kkmg89iysw-groonga-8.0.0/share/groonga/examples/dictionary/edict/edict-import.sh: interpreter directive changed from "/bin/sh" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/sh"
/nix/store/j90cg4lpvdpl600xyvj1h9kkmg89iysw-groonga-8.0.0/share/groonga/examples/dictionary/init-db.sh: interpreter directive changed from "/bin/sh" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/sh"
/nix/store/j90cg4lpvdpl600xyvj1h9kkmg89iysw-groonga-8.0.0/share/groonga/examples/dictionary/gene95/gene-import.sh: interpreter directive changed from "/bin/sh" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/sh"
/nix/store/j90cg4lpvdpl600xyvj1h9kkmg89iysw-groonga-8.0.0/share/groonga/examples/dictionary/eijiro/eijiro-import.sh: interpreter directive changed from "/bin/sh" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/sh"
checking for references to /tmp/nix-build-groonga-8.0.0.drv-0 in /nix/store/j90cg4lpvdpl600xyvj1h9kkmg89iysw-groonga-8.0.0...
moving /nix/store/j90cg4lpvdpl600xyvj1h9kkmg89iysw-groonga-8.0.0/sbin/* to /nix/store/j90cg4lpvdpl600xyvj1h9kkmg89iysw-groonga-8.0.0/bin
running install tests
Groonga 8.0.0 [linux-gnu,x86_64,utf8,match-escalation-threshold=0,nfkc,mecab,onigmo,epoll]

configure options: < '--disable-static' '--disable-dependency-tracking' '--prefix=/nix/store/j90cg4lpvdpl600xyvj1h9kkmg89iysw-groonga-8.0.0' 'CC=gcc' 'CXX=g++' 'PKG_CONFIG_PATH=/nix/store/1d29vscldi45d6m8gd7iwz668702ri3j-kytea-0.4.7/lib/pkgconfig:/nix/store/g569hwc9abi8dqsy8gs4hayjxq13maw3-libedit-20160903-3.1-dev/lib/pkgconfig:/nix/store/q4q75an8raicj4hrx3v2jhb6ipm2d741-ncurses-6.0-20171125-dev/lib/pkgconfig'>

Success on aarch64-linux (full log)
Partial log (click to expand)
/nix/store/pyv7vdpmnn9s347bxfl08zs4n7fvk7k7-groonga-8.0.0/share/groonga/examples/dictionary/gene95/gene-import.sh: interpreter directive changed from "/bin/sh" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/sh"
/nix/store/pyv7vdpmnn9s347bxfl08zs4n7fvk7k7-groonga-8.0.0/share/groonga/examples/dictionary/eijiro/eijiro-import.sh: interpreter directive changed from "/bin/sh" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/sh"
/nix/store/pyv7vdpmnn9s347bxfl08zs4n7fvk7k7-groonga-8.0.0/share/groonga/examples/dictionary/edict/edict-import.sh: interpreter directive changed from "/bin/sh" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/sh"
checking for references to /build in /nix/store/pyv7vdpmnn9s347bxfl08zs4n7fvk7k7-groonga-8.0.0...
moving /nix/store/pyv7vdpmnn9s347bxfl08zs4n7fvk7k7-groonga-8.0.0/sbin/* to /nix/store/pyv7vdpmnn9s347bxfl08zs4n7fvk7k7-groonga-8.0.0/bin
running install tests
Groonga 8.0.0 [linux-gnu,aarch64,utf8,match-escalation-threshold=0,nfkc,mecab,onigmo,epoll]

configure options: < '--disable-static' '--disable-dependency-tracking' '--prefix=/nix/store/pyv7vdpmnn9s347bxfl08zs4n7fvk7k7-groonga-8.0.0' 'CC=gcc' 'CXX=g++' 'PKG_CONFIG_PATH=/nix/store/izzww96jknhzp2j01m976yynh6rxwgz4-kytea-0.4.7/lib/pkgconfig:/nix/store/28kwa02i8805agq28x1bs87k7mcw7ph4-libedit-20160903-3.1-dev/lib/pkgconfig:/nix/store/jh7aq2ri0wcsyphzxpfr481a3bf3l9s7-ncurses-6.0-20171125-dev/lib/pkgconfig'>
/nix/store/pyv7vdpmnn9s347bxfl08zs4n7fvk7k7-groonga-8.0.0

Thanks


Telegram messages from other bots not sending

Hello.
I have a matterbrige bot and another bot in my telegram group.
I would like to send the news from my other bot to my whatsapp group, but it's not working.
The matterbridge bot sends messages from human accounts only.
Is it possible to send messages from my "newsbot" too?
Thanks.

This is sadly a Telegram API limitation so Matterbridge can do nothing to receive messages from bots. See https://core.telegram.org/bots/faq#why-doesn-39t-my-bot-see-messages-from-other-bots

Closing this as @Mikaela gave the correct answer :)


Tokenizers: Updated huggingface_models.py to support Safetensors models as well as pytorch

This updates huggingface_models.py to support converting Safetensors models as well as pytorch when running the Model Zoo importer

Codecov Report
Attention: 1365 lines in your changes are missing coverage. Please review.

Comparison is base (bb5073f) 72.08% compared to head (f0164bd) 72.24%.
Report is 929 commits behind head on master.

Files
Patch %
Lines

...va/ai/djl/modality/nlp/generate/TextGenerator.java
2.81%
276 Missing :warning:

.../java/ai/djl/modality/nlp/generate/SeqBatcher.java
0.75%
132 Missing :warning:

...ity/nlp/generate/ContrastiveSeqBatchScheduler.java
2.97%
98 Missing :warning:

...i/djl/modality/nlp/generate/SeqBatchScheduler.java
9.83%
55 Missing :warning:

.../java/ai/djl/modality/cv/BufferedImageFactory.java
40.96%
47 Missing and 2 partials :warning:

...a/ai/djl/modality/nlp/generate/StepGeneration.java
2.04%
48 Missing :warning:

api/src/main/java/ai/djl/ndarray/NDArray.java
43.42%
39 Missing and 4 partials :warning:

...n/java/ai/djl/modality/cv/output/CategoryMask.java
22.00%
39 Missing :warning:

...i/src/main/java/ai/djl/ndarray/NDArrayAdapter.java
71.21%
31 Missing and 7 partials :warning:

.../cv/translator/SemanticSegmentationTranslator.java
37.50%
35 Missing :warning:

... and 76 more

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2880      +/-   ##
============================================
+ Coverage     72.08%   72.24%   +0.15%
- Complexity     5126     7165    +2039
============================================
  Files           473      708     +235
  Lines         21970    31928    +9958
  Branches       2351     3317     +966
============================================
+ Hits          15838    23067    +7229
- Misses         4925     7287    +2362
- Partials       1207     1574     +367

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


customizable ValuesfileName

Noticed that in the file https://github.com/Azure/draft/blob/4a298770ff4484e5737fabf4bb9abc54b6b72e7c/pkg/draft/pack/pack.go#L19-L20, there is a section
// ValuesfileName is the default values file name.
ValuesfileName = "values.yaml"

However, this constant doesn't seem to be used anywhere else in the codebase, which makes me wonder how it gets used by draft, and why this code is in the draft repository at all.
The answer seems to be in https://github.com/kubernetes/helm/blob/cf3ded91f2143fed6850dee70630c1049bf937ec/pkg/chartutil/create.go#L31-L32, but whereas there is a way to configure this in helm via helm ... -f values_env.yaml, the draft wrapper doesn't seem to expose this functionality.
A more general version of this, of course, would be to have a more direct interface with the underlying helm commands that get invoked for advanced users.
Use case for this (the shrewd reader may again sense a CI/CD flavour here) is that if an application's chart has multiple values YAMLs for different environments (staging, production), it would be possible to toggle easily between the two rather than having to have complex toggling constructs in the Helm template files.

Probably just dead code. We can clean that up.

We have a very similar setup: values.yaml in root of a chart with common properties, and a few values.yaml files in environments/<env>/ folders, and some secrets that are always being passed as a param to helm.
It seems draft can read the parent values.yaml, and it has an interface to configure secrets (in draft.toml in set list), but there is no way to tell draft to also look in environments/dev/values.yaml just like I would do it with helm ... -f environments/dev/values.yaml.

We have a very similar setup: values.yaml in root of a chart with common properties, and a few values.yaml files in environments/<env>/ folders, and some secrets that are always being passed as a param to helm.
It seems draft can read the parent values.yaml, and it has an interface to configure secrets (in draft.toml in set list), but there is no way to tell draft to also look in environments/dev/values.yaml just like I would do it with helm ... -f environments/dev/values.yaml.

@bacongobbler from what I can see these constants aren't used anywhere in draft, should we keep them?
-       // ChartfileName is the default Chart file name.
-       ChartfileName = "Chart.yaml"
-       // ValuesfileName is the default values file name.
-       ValuesfileName = "values.yaml"
-       // IgnorefileName is the name of the Helm ignore file.
-       IgnorefileName = ".helmignore"
-       // DeploymentName is the name of the deployment file.
-       DeploymentName = "deployment.yaml"
-       // ServiceName is the name of the service file.
-       ServiceName = "service.yaml"
-       // IngressName is the name of the ingress file.
-       IngressName = "ingress.yaml"
-       // NotesName is the name of the NOTES.txt file.
-       NotesName = "NOTES.txt"
-       // HelpersName is the name of the helpers file.
-       HelpersName = "_helpers.tpl"
-       // TemplatesDir is the relative directory name for templates.
-       TemplatesDir = "templates"


Hypergrid mouse events have outdated keys

UI issue reported by @Revathigb diagnosed as follows:
The grid.canvas.currentKeys array is fossilized at last key event received by canvas when it last had focus. When accessed later, some key modifiers may no longer be in the same as they were (e.g., when keys went up or down while canvas blurred).
A reference to this array is passed to mouse event handlers as e.detail.keys and a copy of this array is passed to keyboard event handlers as e.detail.currentKeys. These properties need to be getters that update grid.canvas.currentKeys with modifier key states reported in the current mouse event.

The getters are implemented by commit 2daafaa8 in PR #762 and will be released in version 3.1.0.
Note that they all now return a copy (rather than a reference) to grid.canvas.currentKeys.


Funding Markdown File for Improvements

Consider https://chaoss.community/metric-job-opportunities/ as a metric with potential value
How and to what extent can we arrive at specific definitions of the types of sponsorship in a way that would be helpful?

Corporate sponsorship (perhaps covered by other metrics)
Foundation sponsorship (perhaps too complex)
Upstream sponsorship (often funded by corporations for whom a project is essential upstream).

As per Slack request,  I think the definition of sponsorship is funding outside of formal structures like foundations, and grant programs, by individuals or companies with unreliable, or sem-unreliable consistancy of duration and amount.
For example I might start with 400 sponsorship, but with recession claw back to 20 (to keep my name listed as a sponsor but to respond to the reality of by budget), or I might start off as a regular sponsor, but stop at some point to sponsor another maintainer on another project.

Closing as this is an issue that maybe was more appropriate for the Value WG (that no longer exists).


Add formatUrl transform to magic button

Adds a new transform formatUrl to the magic button, as well as a new optional transformArg property which is passed to transforms. This allows the button to take a field and transform it to a url of a given format.
This is required for the episode recap component for Vulture, which needs a magic button to automatically create an image url based on the show name. See Trello.

Coverage increased (+1.2%) to 76.872% when pulling 1d0c1d52c62d8d7731e8a9e93d290eb3adfb843b on magic-button-format into 8d8eb6b20d82f96567c8078b2ede15c5644e7bbd on master.


Use UNUSED macro from RCLC

Related: https://github.com/micro-ROS/freertos_apps/pull/36

Build failed because generated libraries do not include these changes: https://github.com/micro-ROS/rclc/pull/41.
We should generate a sort of Github action that generates and releases a version of this repo and ideally it should be listening to changes in a list of relevant repos (rclc, rmw...)


Add Dockerfile

This PR adds a Dockerfile that demonstrates how to build V8 and the WASM library.
Not sure why but I couldn't build all of the object files for the static library without this:
touch out.gn/x64.release/args.gn && ninja -C out.gn/x64.release

The first time ninja -C out.gn/x64.release runs only some object files are built. Need to run it again to get them all. ¯\_(ツ)_/¯

That is strange, but yes, I have the seem weirdness with the current 6.8 branch. I moved the extra step to the Makefile proper in #21.


Fix playing if autoplay prop is changed

When the autoplay prop is changed from false to true, the autoplay functionality didn’t re-initialize and the slider wasn’t re-rendered.
With this PR, changing the autoplay prop from false to true makes autoplay work again as expected. It doesn’t seem to break anything else. I don’t have a full overview over the code base, so make sure this change doesn’t introduce other issues.

Its working!!!
check here - https://codesandbox.io/s/8xk07q082l
and this is react-slick version - 0.21.0
And let's give some time for those guys to fix this issue.


Add files via upload

Description:
Describe your changes.
Related issue:
Add link to the related issue.
Check list:

[ ] Mark if documentation changes are required.
[ ] Mark if tests were added or updated to cover the changes.

q

wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww


Decide how Zino should handle a missing state file on startup

I might suggest that Zino should always stop if it doesn't find the state file, but that you can force-start it the very first time it runs, so that it at least generates an empty state file.
The question is whether robustness requirements dictates that it is more important that Zino is running than that it resumes its old state.  Perhaps a requirements discussion with Håvard is in order.
Originally posted by @lunkwill42 in https://github.com/Uninett/zino/pull/22#discussion_r1233753997

out-of-band discussion seems to have concluded that Zino 1 does nothing in this regard, so we shouldn't spend time on it for 2.0 either.


Rendered image shows an older version of Google Alerts. Changing the User Agents didn't work.

Which version of PhantomJS are you using? Tip: run phantomjs --version.
2.1.1

What steps will reproduce the problem?

Run the script.
Wait for the rendered images.
Check the images to see the difference.

Which operating system are you using?
Xubuntu 16.04.1 LTS 64bits

Did you use binary PhantomJS or did you compile it from source?
I installed using npm install -g phantomjs-prebuilt

Please provide any additional information below.
I'm trying to use PhantomJS to create RSS feeds with Google Alerts. So far I'm able to enter in the name of the new alert and press "Show options" that's present on the website, to change to RSS. The issue is the version of the website that's rendered, it appears to be a very old version, when Google Alerts had not yet RSS options back:

If you access the website, fill up the field and click "Show options" you'll see an extra field above the button, which is "Deliver to", but it doesn't appear in the image.
I've posted a question on StackOverflow, and the answer there, which is to change the userAgent, did not help me.

Could you try again with 2.5 binary please? Thanks!


Fix endpoint to API in GitHub

Default branch name in GitHub now is main
https://www.zdnet.com/article/github-to-replace-master-with-main-starting-next-month/

Related #45

Hi all,
actually this is not needed for existing repo.
Github has renamed 'master' with 'main' only for new repositories, see: https://github.com/github/renaming
Also on the link above you can see that GIthub folks will let us know how to make the change seamlessly.
So for now I would not do anything and would not break the pipeline flow, as it is not needed.
This is not related with #45 that is a bug with Github APIs/generation of repo and so on. We will investigate that on a separate pull request.

Hi @TiagoDanin, thanks for the PR.
We decided to merge this, we'll test if it also fixes #45. If it does, we'll add the hacktoberfest-accept label too.


Suggested commands are unclear in voice over

When navigating commands using the key board it's difficult to understand the currently focused command using voice over for instance "Baz" is read aloud as "a z" which is confusing.

Per @jfc3 thanks for the tip, looking at:
https://www.w3.org/TR/wai-aria-practices/examples/combobox/aria1.0pattern/combobox-autocomplete-list.html


Add support for encoding; upgrade to Swift 3

Hi,
I've implemented encoding, but I first upgraded to Swift 3, resulting in changes to the decoding side as well. I removed code-signing from the xcodeproj because it didn't seem appropriate for contributions.
More info in commit messages and updated reademe.
As per the unlicense:
I dedicate any and all copyright interest in this software to the
public domain. I make this dedication for the benefit of the public at
large and to the detriment of my heirs and successors. I intend this
dedication to be an overt act of relinquishment in perpetuity of all
present and future rights to this software under copyright law.

This is excellent! Thanks a lot :)


React Created Artboard could not be retrieved by the mirror app.

Reporting a bug or issue
React Created Artboard could not be retrieved by the mirror app.
How to reproduce:
Use Artbord to create an artbord.
<Artboard
    name={'artboardName'}
    >
    <View
      name={'ViewTitle'}>
      <Text>Text</Text>
    </View>
</Artboard>

or try react-sketchapp/examples/foursquare-maps
Connect Mirror to your Sketchapp.
BUT Cut and past the artbord fix the issue.
Sketch version: 48.2
react-sketchapp version: 1.0.0
React: 16.2.0

Same here, observations:

Cut & paste also worked for me (needs to be the Artboard, not a child element of the artboard, right click on artboard in layer list, Cut, then again and Paste Here)
Re-rendering breaks it again
Duplicating the Artboard makes the duplicate show up in the mirror
If a new document is created it will be shared with mirror as layers are added in Sketch, but re-rendering RSA into the document yields the "This Artboard cannot be retrieved" for each Artboard.
In Sketch, if Mirror > {local url} is clicked, the browser does show the RSA rendered artboards without any of the about workarounds necessary.

Sketch 48.2, RSA 1.0.0, React 16.0.0


update unnecessary_statement to include lambdas.

We receive the unnecessary_statement lint when presented with this code.
onPressed: () {
onButtonPressed;
}
But do not get it with this code, which is essentially the same:
onPressed: () => onButtonPressed,
Is there a particular reason we aren't seeing it for the lambda? If not, I think it would be a good addition.

Hi - this repo is for proposing changes to the sets of lints shipped in package:lints. Bug reports for the actual lints should reported to https://github.com/dart-lang/linter.


Prepare image for upgrade to VS2015

Remove some dependencies in the image on pre VS2015 CRT that won't be supported on the later CRTs. This still runs on VS2013.

@jgfoster, Hmmm, for changes to the Dolphin package, wouldn't it make sense just to reload this on boot (2nd stage as now)? It seems error prone to have to create a patch for base class changes. I can see value in having an early stage patching mechanism that is easy to hook a small patch into, but it doesn't seem the best way to handle base class changes that can be loaded normally.
BTW the boot image is pretty minimal already, as we trimmed it down to essentials over the years. I'm not sure there is much you could take out that would leave you with a functioning system that is able to start up and load other packages.

@blairmcg, I'm not following very well. I understood that it is impossible to reload the Dolphin package. We can reload individual classes, and this practice was introduced into Boot.st (by 08d2b8217bf8ee7c9df4443b76a6902770d071c7). I thought that Boot.st was a bit more complicated than necessary (especially if we keep adding to it) and asked about modifying DBOOT. On 13-Jan I was told (in gitter) that "The DBOOT image can't be updated (at least not without months of work)." Faced with that as a challenge (!) I had the impression that finding a way to modify DBOOT might be useful and set about to do so.
Having accomplished that task, I am happy to have the experts determine whether this capability is actually useful or not. My thought was that having Boot.st continue to grow was not so attractive (I think it was improved by 5069d229b27d869343739c192c89af6d22b1ee95). I imagined that DBOOT might be updated occasionally, perhaps as a monthly or quarterly task to clean cruft out of Boot.st.
But again, I'm happy to have other approaches used. It just seemed useful and fun!

@jgfoster I think what Andy meant was that rebuilding it from scratch (which was the way it used to be updated) would be very difficult. I think what you've done is useful anyway (as a way of patching things up before proceeding with more regular package load), but for picking up updates to the base classes we can probably work out how to reload the base package. Quite possibly just loading it at the start of boot.st before any of the others will work (although there may be some issues caused by re-initialization). The original process of creating one of the production images from the boot images did not include loading the base package, because the boot image was rebuilt with the latest content, so it would have been redundant to reload it again. I can't think of a fundamental reason why it couldn't be reloaded though.

Thanks. I had a feeling I had misunderstood something!


Animation on Home page

What does this PR do?
Adds Animation  on home page of the website
Related Issue(s)
Resolves #171
Changes

Used 4 ref hooks to make the animation effect
A single useEffect hook manages them so code is efficient

Screenshots or GIFs (if applicable)
https://github.com/Vijaykv5/SnapGrid/assets/100792085/92d3a5a3-6fd6-40a0-9a63-da9a1957766d
Checklist

[x] I have read and followed the contributing guidelines.
[x] My code follows the project's coding style and conventions.
[x] I have added unit tests (if applicable) to ensure the code works as expected.
[x] I have updated the project documentation (if necessary).

Additional Comments
Add any additional comments, context, or information about this PR.
By submitting this PR, I confirm that:

[x] I have reviewed my code and believe it is ready for merging.
[x] I understand that this PR may be subject to review and changes.
[x] I agree to abide by the code of conduct and contributing guidelines of this project.

Thanks for your contribution @nishaaannnt! Your work is greatly appreciated.
If you find this project helpful, please consider giving it a star ⭐.
It helps to support the project and let others discover it too!


can it add cluster graphic from local data but not from featurelayer

hi, @alaframboise . if i want to show the clusterlayer by the local data, but not from the published featurelayer url, how can i do it ?  thanks.

It's just a graphics layer. As long as you have a unique FID field you should be able to create the layer and clusterLayer.add() afterwards. But I haven't tested that.

@alaframboise ,  i am afraid not. because in the clusterfeaturelayer.js file, it needs a featurelayer url. if it is null, it does not work.

this is my test code :
`clusterLayer = new ClusterFeatureLayer({
"url": "",
"distance": 75,
"id": "clusters",
"labelColor": "#fff",
"resolution": this.map.extent.getWidth() / this.map.width,
"useDefaultSymbol": false,
"zoomOnClick": true,
"showSingles": true,
"objectIdField": "objectId",
outFields: ["*"]
});
					map.addLayer(clusterLayer);

                                           //load local data
					$.getJSON("data/cluster.json",function(datas){
						 _.forEach(data, (value) => {
							//transfer data to geometry point...

							let graphic = new Graphic(point, null, value);

							clusterLayer.add(graphic);
						 });
					});

`

@dyh333 Did you find a workaround for this? I'm stuck using v3.15 of the API and need to cluster local data with cluster labels, so want to use this class ideally, but need it to work with local JSON data.


Nodelist

Libensemble would like to have access to a nodelist on different systems. They also have some code for several schedulers that could be used as a basis for this.

See also this issue in the job-api-spec repo.

In my tests on LLNL:

Flux does not export any nodelist environment variables but there is a command you can run to get something like ruby[1-2]
Slurm gives you something like SLURM_JOB_NODELIST=ruby[1-2] which is fine
LSF gives a bunch of stuff in different formats, but none of them is perfect:

LLNL_COMPUTE_NODES=lassen[23,26]
LSB_HOSTS=lassen710 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen26 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23 lassen23
LCSCHEDCLUSTER=lassen
LSB_SUB_HOST=lassen709
LSB_MCPU_HOSTS=lassen710 1 lassen26 40 lassen23 40

LLNL_COMPUTE_NODES is the best but not portable.

So I posted this on Slack, but I'm adding here for posterity. It's from https://slurm.schedmd.com/srun.html.
srun -l /bin/hostname | sort -n | awk '{print $2}' > $MACHINEFILE
It's a hack because the task of translating the Slurm hostfile into an mpirun hostfile is the task of a translator (i.e., parser + generator) not by running distributed job. But it's brilliant because the only LRM-specific thing is the string srun.

Point being, does jsrun -n ALL_HOSTS /bin/hostname work?

It works if you add -c ALL_CPUS. Otherwise I'm guessing it packs all the resource sets onto as few of nodes as it can.

srun -l /bin/hostname | sort -n | awk '{print $2}' > $MACHINEFILE

Note that this can consume a significant amount of time, whereas the interpretation of the system specific env variable and files is more complex and less portable, but also much faster (at scale).
We do have some python code which generates a nodelist for ccm,  cobalt,  lsf,  pbspro,  slurm and  torque, so we could extract this from RP (or rewrite, it's fairly simple).  The code lives here -- have a look at the individual _init_from_scratch() methods.
BTW: not all systems make it easy to obtain cores_per_node and gpus_per_node via runtime inspection - specifically the last may be a much harder problem to solve than the nodelist.

It works if you add -c ALL_CPUS. Otherwise I'm guessing it packs all the resource sets onto as few of nodes as it can.

The guess is on whether it works or on why it doesn't?

Note that this can consume a significant amount of time, whereas the interpretation of the system specific env variable and files is more complex and less portable, but also much faster (at scale).

That's what worries me, too. But there's a question we probably should ask. Is this time on the same order of magnitude as starting the actual job or is there a significant penalty not due to the srun, but due to the output collection?
If the first, the maybe the penalty is acceptable given the portability.
In all cases, and I know changes to the spec should be rare, but maybe it may make sense to protect this operation with a flag?

It works if you add -c ALL_CPUS. Otherwise I'm guessing it packs all the resource sets onto as few of nodes as it can.

The guess is on whether it works or on why it doesn't? (i.e., I'm entirely clear on whether you tried without -c ALL_CPUS or not)

Yeah it didn't work without ALL_CPUS, it put both "resource sets" on the same node.

If the first, the maybe the penalty is acceptable given the portability.

I think the best approach would be to let different systems do different implementations. With LSF, maybe it makes sense to use jsrun, rather than reading the host file and trying to figure out which is the launch node, I'm not sure. With Slurm, unclear. Is parsing the hostlist format better than running srun over every node? The first is more complicated (string parsing) but faster. As far as I know they are equally portable. But with Flux you could have a pretty simple, clean python script that sends an RPC to Flux and then uses Flux's hostlist iterator to produce the list.

I think the best approach would be to let different systems do different implementations
I agree with that.

I think the best approach would be to let different systems do different implementations.

Yes. If an executor has reasonable access to the hostlist, it should use that.
We should also test and see what the delay of running hostname is compared to the time it takes to launch the user job so that we know whether it's worth investing into alternative methods for non-flux executors.

We should also test and see what the delay of running hostname is compared to the time it takes to launch the user job so that we know whether it's worth investing into alternative methods for non-flux executors.

Yeah, measuring this is useful.  The time will depend on the number of nodes though, so we should be careful to measure this at scale.

My preference would just be do the easy thing, whatever that is, and then update the implementation once someone starts complaining...

My preference would just be do the easy thing, whatever that is, and then update the implementation once someone starts complaining...

A few days of work could save us a few hours of planning! :)

Decide whether this should be part of 0.1.0. General 'feeling' is that this should not be but need general confirmation/agreement. As a side note, we should also decide on a release schedule after reaching 0.1.0.

Agreed, seems reasonable to push to 0.2.0 release.

A Python tool for slurm hostlists: https://www.nsc.liu.se/~kent/python-hostlist/

Nodelists have been supported since 0.9.4


Add support for any kind of declarations when reconnecting

Reason:
Because of auto-deletions, exclusivity etc all rabbitmq topology needs to be definable by clients.
This will add a more flexible topology definition which will ensure the topology is recreated on reconnection if needed.
Note: Breaking Changes

Changes all single-queue or single-exchange options to be arrays
Adds QueueName to ConsumerOptions to define the queue that should be listened to
Adds ExchangeName to the PublisherOptions to define the default exchange to publish to
Adds Queues, Exchanges and Bindings to both ConsumerOptions and PublisherOptions
Expands Binding struct to allow for exchange bindings and non-primary queue bindings

Changes are only breaking if accessing the options structs directly - all With* handlers have been made backwards-compatible and a few new ones added to support common cases.

I made an update that I think might resolve your primary concerns, check the WithConsumerOptionsExchangeOptions function.
I think using multiple exchanges isn't crazy common, so I left the other functions, they just modify the first exchange. If you want multiple exchanges you're expected to define all the configuration explicitly.


haproxy: document higher timeout requirement for CLI accessing via load balancer

See https://github.com/cockroachdb/cockroach/issues/59305 and Clustrix recommendation for connection timeout.

I think it's best to lean on the cockroach issue first. cc @piyush-singh, @taroface.

I think it's best to lean on the cockroach issue first. cc @piyush-singh, @taroface.


Make feed stylesheet optional

Fixes https://github.com/jekyll/jekyll-feed/issues/148.
Partially reverts https://github.com/jekyll/jekyll-feed/pull/119.
/cc @jhabdas who originally implemented stylesheet support.

Thanks for the CC. Here's a nicely styled  stylesheet transform I've run across since implementation last summer:
https://github.com/Phlow/feeling-responsive/blob/gh-pages/assets/xslt/atom.xslt
You can see a demo of it on the Jekyll site I created to get a feel of what's possible  with a little more elbow grease in Userland

@jekyllbot: merge


Fix typo on the default directory os module method name.

It seems that according to the node documentation the method should be named tmpdir. Otherwise I'm getting an error when running the server locally:

TypeError: os.tmpDir is not a function
    at build_font (/home/user/fontello/internal/fontello/font_build/font_build.js:74:28)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
From previous event:
    at runHandler (/home/user/fontello/node_modules/event-wire/index.js:274:28)
    at /home/user/fontello/node_modules/event-wire/index.js:325:32
From previous event:
    at /home/user/fontello/node_modules/event-wire/index.js:324:13
    at Array.forEach (<anonymous>)
    at Wire.__emit (/home/user/fontello/node_modules/event-wire/index.js:319:12)
    at Wire.__emit_with_check (/home/user/fontello/node_modules/event-wire/index.js:369:15)
    at Wire.emit (/home/user/fontello/node_modules/event-wire/index.js:389:30)
    at Server.<anonymous> (/home/user/fontello/lib/autoload/hooks/init/service_www.js:317:14)
    at Server.emit (events.js:314:20)
    at parserOnIncoming (_http_server.js:777:12)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:119:17)

when generating a font. Once I fix this typo and install ttfautohint the server shows no errors. I'm using Ubuntu 20.04.

my node version 14.5.0

Fixed. That's not typo but deprecated name.


balanced truncation order issue

There seems to be an error in the balanced_truncation function (modred.util), it does not take orders that are lower than Len(E).
It can be fixed by changing:
https://github.com/belson17/modred/blob/c84f67afe03fd1f18fdd7bb99e964c3c11a2040b/modred/util.py#L481
to
SL = Lo.dot(U[:,:order]).dot(np.diag(E[:order]**-0.5))
SR = Lc.dot(V[:,:order]).dot(np.diag(E[:order]**-0.5))

Thanks for catching this. I'll create an issue in github and we should have
it fixed in the next release.
Best,
Brandt
On Thu, Oct 12, 2017 at 5:54 PM, shaesaert<EMAIL_ADDRESS>wrote:

There seems to be an error in the balanced_truncation function
(modred.util), it does not take orders that are lower than Len(E).
It can be fixed by changing:
https://github.com/belson17/modred/blob/c84f67afe03fd1f18fdd7bb99e964c
3c11a2040b/modred/util.py#L481
to
SL = Lo.dot(U[:,:order]).dot(np.diag(E[:order]-0.5))SR = Lc.dot(V[:,:order]).dot(np.diag(E[:order]-0.5))
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/belson17/modred/issues/25, or mute the thread
https://github.com/notifications/unsubscribe-auth/AE44J4EelOQ7SHRB4q6ln5n9Fj8hSmhjks5srrTigaJpZM4P31GL
.


Added a setter for the API key

This PR adds a setter for the API key.

@Jamesclark32 could you please take a look to this one when you have a chance?

💯


corner case for tad and assert shape not length

@agibsonccc

Build triggered. sha1 is merged.

Build started sha1 is merged.

Build finished. 1250 tests run, 37 skipped, 12 failed.

Refer to this link for build results (access rights to CI server needed):
/job/nd4j_PR/258/Build result: FAILURE[...truncated 3.57 MB...]	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:544)	at hudson.model.ResourceController.execute(ResourceController.java:98)	at hudson.model.Executor.run(Executor.java:404)Caused by: java.io.FileNotFoundException: https://api.github.com/repos/deeplearning4j/nd4j/statuses/4b4c5a9001aafc9bfe43f9eaefdab4a7a6c15864	at sun.reflect.GeneratedConstructorAccessor450.newInstance(Unknown Source)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)	at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1890)	at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1885)	at java.security.AccessController.doPrivileged(Native Method)	at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1884)	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1457)	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)	at org.kohsuke.github.Requester.parse(Requester.java:535)	at org.kohsuke.github.Requester._to(Requester.java:262)	... 12 moreCaused by: java.io.FileNotFoundException: https://api.github.com/repos/deeplearning4j/nd4j/statuses/4b4c5a9001aafc9bfe43f9eaefdab4a7a6c15864	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1836)	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)	at org.kohsuke.github.Requester.parse(Requester.java:525)	... 13 more


Add id to input element

What did I change ?
I added an id prop to the input element.
Why ?
I need it for a form I'm working on so I can bind labels to the input element

Coverage remained the same at 91.319% when pulling 873d0b475d5f68982f8dd8f15de388c03f86dfbf on Julian-Jurai:add-id-attribute-to-input-el into 0cb7397ecc25d3724843ae7e098a4d8bf1c04076 on react-component:master.

Could you update the README as well?

Thanks!


Referencing an import using ../ ends up in a weird error

Building shell ...
error: Unknown input ..

       … while realising the context of a path

       at .../local/.devenv.flake.nix:27:17:

           26|           devenvpath = input + subpath + "/devenv.nix";
           27|           in if builtins.pathExists devenvpath
             |                 ^
           28|              then devenvpath

I'm not sure this is easy to support, but I'll look into it. At least there should be a good error message.
cc @mads-hartmann

Fixed on main.


60_HttpClientConfigTests

HttpClientTest example is added

[435] - https://transfer.sh/CIa9s/jdi-dark-tests.tar.gz

[435] - Allure report on Netlify: https://5e469ce117c5f843917c7760--jdi-dark.netlify.com

[467] - https://transfer.sh/ljqUL/jdi-dark-tests.tar.gz

[467] - Allure report on Netlify: https://5e4ab29a99c8db2dec96dc37--jdi-dark.netlify.com

[469] - https://transfer.sh/cZ3TL/jdi-dark-tests.tar.gz

[469] - Allure report on Netlify: https://5e4ab454a808ad01abeae783--jdi-dark.netlify.com


Fix minor typos in markdown docs

Single-commit version of https://github.com/ABridoux/scout/pull/134.

Codecov Report

Merging #136 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #136   +/-   ##
========================================
  Coverage    83.12%   83.12%
========================================
  Files           29       29
  Lines         1636     1636
========================================
  Hits          1360     1360
  Misses         276      276

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 580829f...bb4e031. Read the comment docs.

You can merge now if you want @homebysix ☺ When the PR is validated, it's up to the person who proposed it to merge it. Though I'll do it don't worry, but it's better in case you realise you forgot something for example.

And thanks again for helping 🙏

I'm not a maintainer on this repo, so one of you will need to merge when ready.

Ok. My bad 😕


Angular2 - TypeScript: decorator for constructor param

After @Inject('apiBase') the code is not highlighted correctly. If I remove it then the code is correct.
@Injectable()
export class AuthService {
  private _loginApi = this._apiBase + '/authorize/local';
  constructor(private http: Http, @Inject('apiBase') private _apiBase: string) {}
  redirectUrl: string;
  login(user): Observable<boolean> {
    const body = JSON.stringify(user);
    const headers = new Headers();
  }
}

Oh, ugh, TypeScript is very creative. The decorators proposal doesn't allow decorators on parameters, but it appears TypeScript does. See attached patch.


Compression of 'image/png'

Thank you for very useful plugin, croppa.
But, I' ve reached a plateau..
How can I compress 'image/png' ?
Below scripts seem to be not working..
this.myCroppa.generateBlob((blob) => {this.file =  blob}, 'image/png', 0.1)
this.upImg = this.myCroppa.generateDataUrl('image/png', 0.1)
When I wrote 'image/jpeg' instead of 'image/png', It worked.

Sorry, I decided to choose jpeg!


Approve/Reject Join Request

I am not receiving any notification on UI or e-mail for the join request and approval. Using quorum-maker:2.0.2_2.1.
Any help?

Are you setting up on local computer or on Cloud? If on cloud, are you sure the containers are reachable? Are you getting any errors on Joining node? Usually if not reachable, it would throw error some connections errors.

Thank you, I am just trying on a local computer, and no getting any error, just nothing happens. Using the tutorial on the main site of Quorum-Maker 2.1

To get an email, you will have to configure smtp. But UI notifications works out of box. Did you try to refresh the page on the main node? Can you tell me whats main and joining ports you chose as well as the IP(you can mask it, Just want to know what you entered).

I configure SMTP using gmail. And on UI there is no icon on the right up sector of the site like on the screenshot3.png. I use IP using the same and different ones between the main and the one trying to join, and because I am using the same computer I am using different port numbers.

done, I was able to make it work on the UI, still working on the mail

You might have to enable connection from untrusted device in Google.

Ok, any reason why I am not able to compile/deploy a .sol contract?

From QM UI? Just today another person confirmed it's working for him. Can you check the geth and constellation logs from QM UI?

[*] Starting Constellation node
21:13:03 [INFO] Log level is LevelWarn

What are the Raft IDs of each node. You can see this from each nodes UI. There is an issue with Raft that while retrying multiple times, the node setup gets messed up. If the Raft IDs are in sequential order, this might not be the case. Also since you are trying to deploy privately, if there should have been an error in constellation log.

URRENT_IP=<IP_ADDRESS>
RPC_PORT=22000
WHISPER_PORT=22001
CONSTELLATION_PORT=22002
RAFT_PORT=22003
THIS_NODEMANAGER_PORT=22004
NETWORK_ID=50299
RAFT_ID=1
NODENAME=Bank1
PUBKEY=/tAzKQDY4v/nsm73reciK327+KnVr8K7WdA1sWZCu20=
CONTRACT_ADD=0xbcc693d2147ea8d2cbec43929d999a19471dd33c
REGISTERED=TRUE

NODENAME=Bank3
MASTER_IP=<IP_ADDRESS>
WHISPER_PORT=24001
RAFT_PORT=24003
RPC_PORT=24000
CONSTELLATION_PORT=24002
THIS_NODEMANAGER_PORT=24004
MAIN_NODEMANAGER_PORT=22004
CURRENT_IP=<IP_ADDRESS>
NETWORK_ID=50299
MASTER_CONSTELLATION_PORT=22002
CONTRACT_ADD=0xbcc693d2147ea8d2cbec43929d999a19471dd33c
RAFT_ID=3
PUBKEY=1qJtteFgB5GzpiAEi5s+IJAc7vxyD+1pmZ3yym9B8W0=
REGISTERED=TRUE

NODENAME=Bank2
MASTER_IP=<IP_ADDRESS>
WHISPER_PORT=23001
RAFT_PORT=23003
RPC_PORT=23000
CONSTELLATION_PORT=23002
THIS_NODEMANAGER_PORT=23004
MAIN_NODEMANAGER_PORT=22004
CURRENT_IP=<IP_ADDRESS>
NETWORK_ID=50299
MASTER_CONSTELLATION_PORT=22002
CONTRACT_ADD=0xbcc693d2147ea8d2cbec43929d999a19471dd33c
RAFT_ID=2
PUBKEY=sQdtlrMY80L1cd4zkpg3zSKii1Jac4xoF8ux7bFySCM=
REGISTERED=TRUE

I just setup Bank1, Bank2 and Bank3 with V2.1 image and everything worked without any issue. I was able to deploy a contract as well. Could you please repeat from a clean slate? remove all docker containers and nodes created.

Ok, I tried starting from scratch, removed all docker containers and nodes, but still not able to deploy/compile a contract. I am not able to load the contract, I can choose it but then the button to Submit is not available to click, let me know, and not able yet to make the email work, thanks.

Can you give us some more details on your environment? OS, Virtual Machine etc? This is first time someone reporting an issue like this. We have already tried in many different operating systems and setups, this was never a problem. Also meanwhile, can you choose option 4 and create a test network and try same? That might help you familiarize with QM2.

Hello, anything to say?

Been busy with 2.2 release. But your issue is really puzzling. Have you tried creating a Test/Dev network using option 4? Are you getting any errors on Chrome console or Network tab?

Hello, yes same issue, look images:

This is the case, now when I try to deploy a contract:

Also, I tried on Windows, and I have the Submit button activated like with Firefox, but when I click on it, have the same errors, like these ones:

And with Safari, everything is messed up.
Let me know if I can try something for you, or any other test.
Ah, I am using your Dev2.2 version with same results.
thanks.

Have you seen the UI changed with V2.2 ? The orange box on the top side is changed. If not can you clear the browser cache? On Chrome, you can do shift + F5.

Ok, I tried the last version of dev2.2 with these results:

The Submit button is not activated and if I html edit on the console:

First time I have this:

Waiting:

Many errors occurred.

on firefox:

On Safari is better but:

Tested from a friend's Macbook and everything worked fine. Used Chrome. See attached screenshot. Created a Testnetwork with 3 nodes. The button is not enabled on Safari. I will add note to the section that only on Chrome is supported.
All I had to install was Docker for mac downloaded from docker.com

Closing this issue as it was related browser, and currently QM only supports Chrome and it was reporting working fine on it.


Multi-Action + Ad Server Demo not working

Hi,
I noticed that the demo (Multi-Action + Ad Server) is currently not working. The test was conducted with version 123.0.6312.86 of Chrome. In particular, it seems that no PAAPI auction is triggered on the GAM side, even though the user-agent string FLEDGE_GAM_EXTERNAL_TESTER is appended.
The call to https://pagead2.googlesyndication.com/pagead/sodar returns a status of (failed) net::ERR_BLOCKED_BY_ORB, although internally it seems to respond with status 204. Regardless, I also tested in a Chrome window with security flags disabled, and the behavior is the same; no PAAPI auction is executed, and no events are reported in the Application > Interest Groups tab.
Are you aware of any reasons for this? Available for support and further information if needed, thank you

GAM have published their intent to run PA API in various scenarions here:
https://support.google.com/admanager/answer/13178817?hl=en


#1159 replaced all instances of claim_name with name to avoid confusion

Closing as possible spam. If this was a legitimate PR please explain why you are proposing this change.

This PR creates more problems than it solves. @jvastbinder did you even bother to look at the output of your global search and replace to see if it made any sense? The ticket you reference refers to a handful of commands; nowhere does it suggest to do a blind global search and replace over the entire code base (including database table columns (!!!)).

Thanks for the feedback. I can see how I overestimated the scope of the naming discrepancy. I'll rollback my changes and give my further actions more careful thought.


Fix flakey Acceptance test - ConfigurationInConsulTests.should_load_configuration_out_of_consul_if_it_is_changed

Expected Behavior / New Feature
Test never fails
Actual Behavior / Motivation for New Feautre
Sometimes fails when run in the whole Acceptance test suite.
Steps to Reproduce the Problem

Run all acceptance tests a few times until it fails

Not sure why this sometimes fails...
After the config is changed in consul...there is a poller that runs from Ocelot to get it every 500ms or something so we need to check that is getting the new config i guess...maybe fake consul needs warming up..not sure..i dont think it should


checkov-action check on plan file (json) not working suppression.py NoneType

Hey,
Running on ubuntu-latest with python 3.9.13 x64
getting this error:
Process ForkProcess-7:
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/checkov/common/parallelizer/parallel_runner.py", line 37, in func_wrapper
    result = original_func(item)
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/checkov/common/runners/runner_registry.py", line 84, in _parallel_run
    return runner.run(
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/checkov/github/runner.py", line 36, in run
    report = super().run(root_folder=self.github.github_conf_dir_path, external_checks_dir=external_checks_dir,
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/checkov/common/runners/object_runner.py", line 105, in run
    skipped_checks = collect_suppressions_for_context(definitions_raw[file_path])
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/checkov/common/util/suppression.py", line 36, in collect_suppressions_for_context
    for line_number, line_text in code_lines:
TypeError: 'NoneType' object is not iterable
Process ForkProcess-8:
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/multiprocessing/process.py", line [31](https://github.com/XXXXX-XXXXX/XXXXX/actions/runs/3092340944/jobs/5003496315#step:9:32)5, in _bootstrap
    self.run()
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/checkov/common/parallelizer/parallel_runner.py", line 37, in func_wrapper
    result = original_func(item)
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/checkov/common/runners/runner_registry.py", line 84, in _parallel_run
    return runner.run(
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/checkov/gitlab/runner.py", line [35](https://github.com/XXXXX/XXXXX/actions/runs/3092340944/jobs/5003496315#step:9:36), in run
    report = super().run(root_folder=self.gitlab.gitlab_conf_dir_path, external_checks_dir=external_checks_dir,
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/checkov/common/runners/object_runner.py", line 105, in run
    skipped_checks = collect_suppressions_for_context(definitions_raw[file_path])
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/checkov/common/util/suppression.py", line 36, in collect_suppressions_for_context
    for line_number, line_text in code_lines:
TypeError: 'NoneType' object is not iterable
Process ForkProcess-9:
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/checkov/common/parallelizer/parallel_runner.py", line 37, in func_wrapper
    result = original_func(item)
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/checkov/common/runners/runner_registry.py", line 84, in _parallel_run
    return runner.run(
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/checkov/bitbucket/runner.py", line [36](https://github.com/XXXXX/XXXXX/actions/runs/3092340944/jobs/5003496315#step:9:37), in run
    report = super().run(root_folder=self.bitbucket.bitbucket_conf_dir_path, external_checks_dir=external_checks_dir,
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/checkov/common/runners/object_runner.py", line 105, in run
    skipped_checks = collect_suppressions_for_context(definitions_raw[file_path])
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/checkov/common/util/suppression.py", line 36, in collect_suppressions_for_context
    for line_number, line_text in code_lines:
TypeError: 'NoneType' object is not iterable

       _               _
   ___| |__   ___  ___| | _______   __
  / __| '_ \ / _ \/ __| |/ / _ \ \ / /
 | (__| | | |  __/ (__|   < (_) \ V /
  \___|_| |_|\___|\___|_|\_\___/ \_/

By bridgecrew.io | version: 2.1.219
terraform_plan scan results:

Passed checks: 0, Failed checks: 0, Skipped checks: 0, Parsing errors: 1

Error parsing file /home/runner/work/XXXXXX/XXXXXX/XXXXXX/XXXXXX/test/plan.jsonֿ
```

Wrote output in SARIF format to the file 'results.sarif'`

Please assist.

Hey @zamirTo1 , can you please share an example file so we can reproduce it?

TF file:
resource "aws_s3_bucket" "b" {
  bucket = "my-tf-test-bucket"

  tags = {
    Name        = "My bucket"
    Environment = "Dev"
  }
}

resource "aws_s3_bucket_acl" "example" {
  bucket = aws_s3_bucket.b.id
  acl    = "public-read"
}

TF plan json file:
{"format_version":"1.0","terraform_version":"1.1.0","variables":{"region":{"value":"us-west-2"}},"planned_values":{"root_module":{"resources":[{"address":"aws_s3_bucket.b","mode":"managed","type":"aws_s3_bucket","name":"b","provider_name":"registry.terraform.io/hashicorp/aws","schema_version":0,"values":{"acl":"private","bucket":"my-tf-test-bucket","bucket_prefix":null,"cors_rule":[],"force_destroy":false,"grant":[],"lifecycle_rule":[],"logging":[],"policy":null,"replication_configuration":[],"server_side_encryption_configuration":[],"tags":{"Environment":"Dev","Name":"My bucket"},"tags_all":{"Environment":"Dev","Name":"My bucket"},"website":[]},"sensitive_values":{"cors_rule":[],"grant":[],"lifecycle_rule":[],"logging":[],"object_lock_configuration":[],"replication_configuration":[],"server_side_encryption_configuration":[],"tags":{},"tags_all":{},"versioning":[],"website":[]}},{"address":"aws_s3_bucket_acl.example","mode":"managed","type":"aws_s3_bucket_acl","name":"example","provider_name":"registry.terraform.io/hashicorp/aws","schema_version":0,"values":{"acl":"public-read","expected_bucket_owner":null},"sensitive_values":{"access_control_policy":[]}}]}},"resource_changes":[{"address":"aws_s3_bucket.b","mode":"managed","type":"aws_s3_bucket","name":"b","provider_name":"registry.terraform.io/hashicorp/aws","change":{"actions":["create"],"before":null,"after":{"acl":"private","bucket":"my-tf-test-bucket","bucket_prefix":null,"cors_rule":[],"force_destroy":false,"grant":[],"lifecycle_rule":[],"logging":[],"policy":null,"replication_configuration":[],"server_side_encryption_configuration":[],"tags":{"Environment":"Dev","Name":"My bucket"},"tags_all":{"Environment":"Dev","Name":"My bucket"},"website":[]},"after_unknown":{"acceleration_status":true,"arn":true,"bucket_domain_name":true,"bucket_regional_domain_name":true,"cors_rule":[],"grant":[],"hosted_zone_id":true,"id":true,"lifecycle_rule":[],"logging":[],"object_lock_configuration":true,"object_lock_enabled":true,"region":true,"replication_configuration":[],"request_payer":true,"server_side_encryption_configuration":[],"tags":{},"tags_all":{},"versioning":true,"website":[],"website_domain":true,"website_endpoint":true},"before_sensitive":false,"after_sensitive":{"cors_rule":[],"grant":[],"lifecycle_rule":[],"logging":[],"object_lock_configuration":[],"replication_configuration":[],"server_side_encryption_configuration":[],"tags":{},"tags_all":{},"versioning":[],"website":[]}}},{"address":"aws_s3_bucket_acl.example","mode":"managed","type":"aws_s3_bucket_acl","name":"example","provider_name":"registry.terraform.io/hashicorp/aws","change":{"actions":["create"],"before":null,"after":{"acl":"public-read","expected_bucket_owner":null},"after_unknown":{"access_control_policy":true,"bucket":true,"id":true},"before_sensitive":false,"after_sensitive":{"access_control_policy":[]}}}],"configuration":{"provider_config":{"aws":{"name":"aws","version_constraint":"\u003c 4.0.0","expressions":{"region":{"constant_value":"us-west-2"}}},"aws.east":{"name":"aws","alias":"east","version_constraint":"\u003c 4.0.0","expressions":{"assume_role":[{"role_arn":{"references":["var.ENVIRONMENT"]},"session_name":{"references":["var.SESSION_NAME"]}}],"region":{"constant_value":"us-east-1"}}}},"root_module":{"resources":[{"address":"aws_s3_bucket.b","mode":"managed","type":"aws_s3_bucket","name":"b","provider_config_key":"aws","expressions":{"bucket":{"constant_value":"my-tf-test-bucket"},"tags":{"constant_value":{"Environment":"Dev","Name":"My bucket"}}},"schema_version":0},{"address":"aws_s3_bucket_acl.example","mode":"managed","type":"aws_s3_bucket_acl","name":"example","provider_config_key":"aws","expressions":{"acl":{"constant_value":"public-read"},"bucket":{"references":["aws_s3_bucket.b.id","aws_s3_bucket.b"]}},"schema_version":0}],"variables":{"region":{"default":"us-west-2"}}}}}

action:
- name: checkov scan
      id: checkov
      uses: bridgecrewio/checkov-action@master
      with:
          file: ${{ matrix.folders }}plan.json
          quiet: true
          framework: terraform_plan


pmw3389 driver

closing in favor of out-of-tree driver here: https://github.com/teamspatzenhirn/pmw3389_zephyr_driver


Translate Partial Loader?

I have an older AngularJS project that uses the older ng-translate that I am updating to newer Angular 7 using ngx-translate however I do not see clearly where I can accomplish the same with the newer version.
Our app loads venue types on login.   I need to be able to load language translations depending on venue type and also load the common core defines.   With ng-translate in the AngularJs 1.x app.js, I used:
    $translateProvider.useLoader('$translatePartialLoader', {
        urlTemplate: 'translate/{part}/{lang}.json'
    });

    $translatePartialLoaderProvider.addPart('venue/all');

    $translateProvider.preferredLanguage('en');
    $translateProvider.useSanitizeValueStrategy('escape');

I could insert the type through interpolation and this would load the corresponding defines.
How to accomplish this with the newer ngx-translate?  I tried nesting the defines and accessing via interpolation but since is text, all I get is the raw variable text and not the define.
For example I cannot
var type = 'restaurant';

Role: {{ 'type.role' | translate }}

as this outputs type.role as text instead of the define.
Do I need to use a Custom Loader or a plugin like ngx-translate-multi-http-loader ?  Can you possibly provide an example?
Thanks in advance and thanks for the great product.

I have solved the issue.  ty.

I have the same issue.
How did you solve this?

i also have the issue, could you provide the solution?

Solved by:
var type = 'restaurant';
Role: {{ type + '.role' | translate }}


fix: styling of components

This fixes a whole slew of CSS styling issues to get closer to Discords design philosophy.
Edit: I also took the liberty of copying out the settings and extensions to their own settings.json and extensions.json since I don't use Docker/Containers/Codespaces to work on this.
Old:

New:

Old:

New:

Old:

New:

Old:

New:

Old:

New:

Devcontainer was not touched, I simply pulled out the settings and extensions so they are also applied when not using a container.


Release/1.2.7

Description:
Update release versions

Just need to solve the problems in tests...


@nestjs/common@">= 6 <= 7" from<EMAIL_ADDRESS>

current version is<EMAIL_ADDRESS>can you bump this peer dependency to 8.x ?

Really swamped with my day-job work and catching after a week out with COVID. Are you able to send a PR @jclappiway ? I will push it up to npm straight away.

Here's the new version https://www.npmjs.com/package/@liberation-data/drivine


create hotswap-led variants of current switches

This pull request contains hotswap variants of all existing MX_Only switches with the exception of non-centered 6u footprints.

Apologize for the ridiculous delay; finally got around to checking pending PRs after too long.
Thanks!


Improve Focus documentation.

I wanted to get a simple text field to always have focus and I just couldn't.
I think we need to spend some time documenting this better or giving better examples or something.

Perhaps adding to https://flutter.io/docs/cookbook/forms/focus ?

Perhaps adding to https://flutter.io/docs/cookbook/forms/focus ?

This is not  i  want , i want to know how focus is passed.

Closing this due to the abundance of documentation and examples for Focus, FocusScope, and FocusNode that has been added.


chore(propagator-aws-xray): update npm scripts to align with other pkgs in contrib repo

Also drop the cross-var dep, now unused.

/Users/trentm/tmp/this-src-is-crazy/node_modules/babel-core/lib/transformation/file/options/option-manager.js:328
        throw e;
        ^

ReferenceError: Unknown plugin "transform-runtime" specified in "/Users/trentm/tmp/this-src-is-crazy/node_modules/babel-plugin-transform-regenerator/node_modules/regenerator-transform/package.json" at 0, attempted to resolve relative to "/Users/trentm/tmp/this-src-is-crazy/node_modules/babel-plugin-transform-regenerator/node_modules/regenerator-transform" (While processing preset: "/Users/trentm/tmp/this-src-is-crazy/node_modules/babel-preset-es2015/lib/index.js")
    at /Users/trentm/tmp/this-src-is-crazy/node_modules/babel-core/lib/transformation/file/options/option-manager.js:180:17
...

We use cross-var in the core repo so that we can have the odd npm script that uses $foo for envvars, e.g. cross-var echo this is my $SOMEVAR, and it'll do the right thing for Windows (transform '$FOO' to '%FOO%' and spawn it).
Turns out the author wanted to use ESM code, but unfortunately was living in 2017 when this was written (before current versions of Node.js supported ESM).  "No problem," they said, "I'll use Babel to down compile to JS that the current node can run." At runtime. Everytime. "And I'll use the handy babel-register command to do it."
babel-register installs a require hook that attempts to transpile every file that is loaded.
"I don't want that," says the developer, "so I will use its only option to only transpile the files in my src/ dir"
https://github.com/elijahmanor/cross-var/blob/e5aaa1d2de34f6b18a1251ad774c3ec41a219255/index.js#L3-L6
require( "babel-register" )( {
    ignore: false,
    only: /src/
} );

Unfortunately that means that any match for "src" in the full path is a hit -- and "src" is in the top dirname I specified above. And babel blows up on ".../this-src-is-crazy/node_modules/babel-plugin-transform-regenerator/node_modules/regenerator-transform/lib/index.js" for reasons I didn't get in to.
(In my personal case, I sometimes work on a clone of opentelemetry-js.git and opentelemetry-js-contrib.git in my ~/src/ directory. Boom.)
If the above was changed to:
require( "babel-register" )( {
    ignore: false,
    only: /cross-var\/src\/index.js$/
} );

it would be fine.
But cross-var hasn't been updated in 7y.
There is a PR for this: https://github.com/elijahmanor/cross-var/pull/18
And an npm-published fork with the languishing PR: https://www.npmjs.com/package/cross-var-src-patch
I would like to just remove cross-var from our repos.
This PR does so for the contrib repo, where cross-var usage snuck back in with the returning propagator-aws-xray package.


[SPARK-8255][SPARK-8256][SQL]Add regex_extract/regex_replace

Merged build triggered.

Merged build started.

Test build #37631 has started for   PR 7468 at commit dcc5a46.

Test build #37631 has finished for   PR 7468 at commit dcc5a46.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class RegExpReplace(subject: Expression, regexp: Expression, rep: Expression)
case class RegExpExtract(subject: Expression, regexp: Expression, idx: Expression)

Merged build finished. Test PASSed.

cc @davies more for review too

Merged build triggered.

Merged build started.

Test build #37786 has started for   PR 7468 at commit b2a4af4.

Merged build triggered.

Merged build started.

Test build #37792 has started for   PR 7468 at commit 3e4f2b2.

Test build #37786 has finished for   PR 7468 at commit b2a4af4.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class ConcatWs(children: Seq[Expression])
case class RegExpReplace(subject: Expression, regexp: Expression, rep: Expression)
case class RegExpExtract(subject: Expression, regexp: Expression, idx: Expression)

Merged build finished. Test FAILed.

Test build #37792 has finished for   PR 7468 at commit 3e4f2b2.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class ConcatWs(children: Seq[Expression])
case class RegExpReplace(subject: Expression, regexp: Expression, rep: Expression)
case class RegExpExtract(subject: Expression, regexp: Expression, idx: Expression)

Merged build finished. Test FAILed.

Merged build triggered.

Merged build triggered.

Merged build triggered.

Merged build started.

Merged build started.

Merged build started.

Test build #37834 has started for   PR 7468 at commit c95450f.

Test build #37833 has started for   PR 7468 at commit cee9dac.

Test build #37837 has started for   PR 7468 at commit 9f406fa.

Test build #37833 has finished for   PR 7468 at commit cee9dac.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test build #37837 has finished for   PR 7468 at commit 9f406fa.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class RegExpReplace(subject: Expression, regexp: Expression, rep: Expression)
case class RegExpExtract(subject: Expression, regexp: Expression, idx: Expression)

Merged build finished. Test FAILed.

Test build #37834 has finished for   PR 7468 at commit c95450f.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #37892 has started for   PR 7468 at commit 7d77ec3.

Test build #37892 has finished for   PR 7468 at commit 7d77ec3.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
trait ExpectsInputTypes extends Expression
trait ImplicitCastInputTypes extends ExpectsInputTypes
trait Unevaluable extends Expression
trait Nondeterministic extends Expression
trait CodegenFallback extends Expression
case class RegExpReplace(subject: Expression, regexp: Expression, rep: Expression)
case class RegExpExtract(subject: Expression, regexp: Expression, idx: Expression)

Merged build finished. Test PASSed.

@davies 2nd round :)

Merged build triggered.

Merged build started.

Test build #37914 has started for   PR 7468 at commit ef96fd6.

@chenghao-intel Could you also fill the description (for better git log)?

@chenghao-intel two minor comments, LGTM overall.

Thank you @davies, I've updated the UDF stuff, and I will have another PR for UTF8String stuff soon.

Merged build triggered.

Merged build started.

Test build #37920 has started for   PR 7468 at commit e5ea476.

Test build #37914 has finished for   PR 7468 at commit ef96fd6.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class RegExpReplace(subject: Expression, regexp: Expression, rep: Expression)
case class RegExpExtract(subject: Expression, regexp: Expression, idx: Expression)

Merged build finished. Test PASSed.

Merging into master, thanks!

Test build #37920 has finished for   PR 7468 at commit e5ea476.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class RegExpReplace(subject: Expression, regexp: Expression, rep: Expression)
case class RegExpExtract(subject: Expression, regexp: Expression, idx: Expression)

Merged build finished. Test PASSed.


fix bug of vite top level awite

refence：https://github.com/storybookjs/storybook/issues/22223#issuecomment-1519183789


01-SpringXD Lab: May want to stop stream to file

In the second step where you create a stream called streamTimeFile to /tmp/mystream.out, there is never an instruction to stop this as there was to in the prior step.

I do see later where all the streams are cleaned up before proceeding but may still be a good idea to do it earlier depending on how long the student waits before proceeding.


⚠ Samsung has degraded performance

In 49ca4b3, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2567 ms

Resolved: Samsung performance has improved in 0087176.


添加多路由支持，同一个页面 or service 添加多个路由路径

功能：添加多路由支持，同一个页面 or service 添加多个路由路径
适用场景：

ios & andorid 由于历史原因定义的路由不一致，想要进行统一路由的时候，又需要兼容老的路由地址，可通过多路由地址解决
其他...

使用方式：

直接在activity或其他Arouter支持的类上添加多个@Route注解，如：

@Route(path = "/module/1")
@Route(path = "/test/multiRoute")
public class TestModuleActivity extends Activity {
   ...
}

环境要求

需要jvm配置成1.8，参考

compileJava {
    sourceCompatibility = '1.8'
    targetCompatibility = '1.8'
}

 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.guangjin2.xian seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


[Payment] Support for blinding key in base58 addresses

At the moment we do not support the blinding key when creating a legacy base58 address. We need to add the blinding key when encoding and extract it when decoding

The Payment type already has a BlindingKey field that is intended to use for supporting confidential addresses.
We should change the implementation of the FromPublicKey, FromPublicKeys and the FromScript functions so that they all expect one more argument blindingKey of type *btcec.PublicKey. If the passed blinding key is not nil, then it is set for the returned *Payment.
We should also change the PubKeyHash and ScriptHash functions so that they return a confidential address by default when the payment's BlindingKey is not nil.
The confidential address version is basically the base58 encoding of the raw bytes:
CONFIDENTIAL_PREFIX | ADDRESS_PREFIX | BLINDING_PUBKEY | PK/SCRIPT_HASH

This shows how to create a conf address from a unconfidential legacy one.
Note: the confidential prefix can be taken directly from the Network field of the payment.


eslint-plugin-uncalled-iife vs no-unused-expressions

The core no-unused-expressions rule catches this case:
(function() {
	console.log('hello!');
});

Expected an assignment or function call and instead saw an expression.

What is the benefit of using this plugin over the no-unused-expressions rule?

We needed it for polyfill-library.
For each polyfill there is a detect.js containing a small check. (example)
According to eslint no-unused-expressions these are almost all errors.
Eslint does not know the final use of these files.
This plugin only checks against uncalled IIFE without throwing errors if the whole is unused.


Obtain API_KEY for authenticatin

https://www.aem.live/docs/authentication-setup-site#accessing-protected-sites-with-an-api_key
As mentioned by Chris P. on 2024-01-10

Here are some docs for the features I mentioned in today's call.
CloudFront can be used as the CDN for EDS - the doc contains some information on providing access for cache invalidation
Custom HTTP headers can be managed centrally, if needed
Redirects can be managed as part of the platform, if needed
An origin API_KEY can be configured to restrict access to the (preview + live) origins - forcing traffic through CloudFront

Update: I have received the key from the engineering team, will share with 888 team for their CDN.

The 888.de team confirmed they have access.


how to include/exclude specified functions in a package

This feature is not yet supported, but it is in our Backlog. PRs are welcome.


Abide should use HTML5 input attributes such as max for validation

Abide should consider the HTML5 input attributes such as max="100" when doing validation.

Hi,
I'm not sure this is the right place to mention it, but as we currently try to make our CMS w3c error free, we noticed that abide adds a   pattern=".{20,}" attribute to the elements that must follow a certain patter, which is causing an w3c validation error.
Attribute pattern not allowed on element textarea at this point.
The problem would be solved by changing it to data-pattern ...


Any ways to separate data and settings volume

Hello,
I have such section in  docker-compose,
postgres:
    image: postgres
    container_name: postgres01
    environment:
      POSTGRES_PASSWORD: BigPassw0rd
      POSTGRES_HOST_AUTH_METHOD: trust
    ports:
      - 5432:5432
    volumes:
      - datapostgre:/var/lib/postgresql/data

What i need is to store  data and postgresql.conf+pg_hba.conf on distinct volumes.
Thanks in advance!

https://github.com/docker-library/docs/tree/master/postgres#database-configuration
Just mount the /etc/postgresql/postgresql.conf and /var/lib/postgresql/data/pg_hba.conf with bind-mounts
Questions like these should be asked over at the Docker Community Forums, Docker Community Slack, or Stack Overflow. Since these repos aren't really a user-help forum

I think you can just tell postgres where your already created files are: https://www.postgresql.org/docs/9.1/runtime-config-file-locations.html. Something like this:
$ docker run -d -e POSTGRES_PASSWORD=12345 -v "$PWD/pg-conf/:/custom/" postgres -C config_file=/custom/path.conf -C hba_file=/custom/pg_hba.conf

I don't know if initdb will also create them in PGDATA or not.


Exam 23 Question 4

Simple Monthly Calculator has retired on 23rd Mar 2023.
https://aws.amazon.com/blogs/aws-cloud-financial-management/la-time-to-say-goodbye-to-the-simple-monthly-calculator/
The answer should be AWS Pricing Calculator.

@cnjohnniekwok Thanks 🙇 🙏 🚀


Release v1.4.0

Adds function for checking callback signatures:
client = nexmo.Client(signature_secret='secret')

client.check_signature(request.query)

Adds functions for Application API:
client.get_applications()
client.get_application(id)
client.create_application(name='Example App', type='voice', ...)
client.update_application(id, answer_method='POST')
client.delete_application(id)

Adds functions for Voice API:
client = nexmo.Client(application_id='xxx', private_key='...')

client.start_call(params)
client.get_calls()
client.get_call(uuid)
client.update_call(uuid, action='hangup')

# Optionally specify params for a long lived token:
client.auth(nbf=nbf, exp=exp, jti=jti)

@tjlytle @leggetter Please can you take a quick look at this to review and then I can ship it tomorrow. Spec doesn't specify the type of the default jti, so I opted for UUID, but can change that to url safe random bytes if that's preferred? I'll add the examples to the README after merging.

@timcraft I used UUID in nexmo-node too.
Couple of small comments. But generally LGTM.


Can you add the licence ?

Hi!
I need to know the licence before using TaskIt. Can you add it into the project ?
This is MIT ?
Thanks :)

Thanks @guillep :)


[Bug]: The formula display sometimes is incorrect.

Contact Details
<EMAIL_ADDRESS>What happened?
The formula display sometimes is incorrect, especially in the processing of the exponent, for example, the formula of the Poisson distribution renders the result incorrectly, but in fact the original result returned by the model is correct, which should be a rendering problem.
Steps to Reproduce
Ask questions about mathematical formulas.
What browsers are you seeing the problem on?
Firefox, Chrome, Microsoft Edge, Mobile (Android)
Relevant log output
No response
Screenshots

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I'm not as familiar with math expressions so you'll have to help me debug
This is the output I got after making some changes

Yes, the formula for the Poisson distribution is:
P(x) = (e^(-λ) * λ^x) / x!
where:

P(x) is the probability of observing x events
e is the base of the natural logarithm (approximately 2.71828)
λ (lambda) is the average number of events occurring in a given interval
x is the actual number of events occurring in that interval
x! denotes the factorial of x, which is the product of all positive integers up to x.

I see the issue now. This is due to the markdown handling of superscript/subscript
like this hello
^hello^

I will have to look into a workaround, could be tricky
The problem is this: P(x)=λ^(x)*e^(-λ)/x! because it had text between carats.


OBO Academy exercise: relabel term

Mondo term (ID and Label):
bronchiolitis obliterans with obstructive pulmonary disease
Suggested new label:
bronchiolitis obliterans
!!!! This issue is for ontology training only !!!!!!

Remember to

create a new branch
create a PR (after you made changes)
refer to this issue in your PR
tag Sabrina (or someone else) to review your work

For demo/teaching only. Closing.


Add java code for linear search

I have followed the general guidelines for contribution and left comments about the modifications required to run the code in terminal.

Thank you. Delighted to be a part of the team.

Thank you. Delighted to be a part of the team.

@sal81, you could accept the invitation to this page

@sal81, you could accept the invitation to this page

Thanks, I have accepted the invitation.
On Fri, Jan 22, 2021 at 1:07 AM Ming Tsai<EMAIL_ADDRESS>wrote:

@sal81 https://github.com/sal81, you could accept the invitation to this
page https://github.com/MakeContributions
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MakeContributions/DSA/pull/18#issuecomment-764887926,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANP42FLCVDWNSXLRWUPTUTLS3B66BANCNFSM4WLU7C2A
.

Thanks, I have accepted the invitation.
On Fri, Jan 22, 2021 at 1:07 AM Ming Tsai<EMAIL_ADDRESS>wrote:

@sal81 https://github.com/sal81, you could accept the invitation to this
page https://github.com/MakeContributions
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MakeContributions/DSA/pull/18#issuecomment-764887926,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANP42FLCVDWNSXLRWUPTUTLS3B66BANCNFSM4WLU7C2A
.


Retrieving Metadata-Fields do not work

Hey,
I want to split the routing-key of a rabbit-message to 3 different new fields but I am not able to get the routing-key at all.
My Setup:
logstash 2.3
rabbitmq-plugin 4.0.1
rabbitmq 3.6.1
My current config:
input
{
        rabbitmq
        {
                host => "localhost"
                user => "logstash"
                password => "sbusf767673"
                exchange => "net.logstash.logs"
                key => "#"
                queue => "net.logstash.logs.application"
                durable => true
                metadata_enabled => true
        }
}

filter
{
                mutate
                {
                        add_field => {"routingkey" => [@metadata][rabbitmq_properties][routing-key]}
                }
}

output
{
        file
        {
                path => "/tmp/logs.txt"
        }
}

I tried several options to read the routing-key but I always get an config-error.

Works with logstash 2.3.1 and
add_field => {"routing-key" => "%{[@metadata][rabbitmq_properties][routing-key]}"}


Minor spelling/gramar changes in secret-design-docs-multi-tenant-orchestrator.md

There is also some re-wording to be done on line 128 where it says:

The only downside is we operational knowledge of k8s but the concepts and patterns are the same.

I wasn't sure what to change it to. Maybe:

The only downside is we already have operational knowledge of k8s but the concepts and patterns are the same.

And when reading on the blog I was a bit confused by these bullet points

But I was surprised when I saw the markdown was formatted fine with the Container Optimized OS details as sub bullet points. Not sure what's causing the issue but I thought I'd mention it.

awesome thanks, and I put the other bullets under readonly /usr just for grouping


VS2022 build fails with commit afb5468 source producing C2084 errors "funtion  already has  a body"

V:\\mimalloc\test\main-override.cpp(257,13): error C2084: function 'void heap_thread_free_huge_worker(void)' already has  a body [V:\mimalloc\ide\vs2022\mimalloc-override-test.vcxproj] V:\mimalloc\test\main-override.cpp(245,13): message : see previous definition of 'heap_thread_free_huge_worker' [V:\mim alloc\ide\vs2022\mimalloc-override-test.vcxproj] V:\mimalloc\test\main-override.cpp(261,13): error C2084: function 'void heap_thread_free_huge(void)' already has a body  [V:\mimalloc\ide\vs2022\mimalloc-override-test.vcxproj]

Thanks! should be fixed now


make bash stricter

Closes #15
Now it aborts on any errors in the pipeline.
Creating kolidedemo_redis_1
Creating kolidedemo_mailhog_1
Creating kolidedemo_mysql_1
Creating kolidedemo_kolide_1

ERROR: for kolide  Cannot start service kolide: driver failed programming external connectivity on endpoint kolidedemo_kolide_1 (2d66d15bc12c68b3085141ea57d9f72faf2979b91065c83938dce2a9407b98a9): Bind for <IP_ADDRESS>:8412 failed: port is already allocated

also added --rm to the wait_mysql step so we don't accidentally create 50 mysql containers

Closing this because the private fork is no longer linked.


failed install with 'apm install script'

verbose mode msg
REQUEST end event https://registry.npmjs.org/es6-symbol
REQUEST emitting complete https://registry.npmjs.org/es6-symbol
npm ERR! git clone --template=C:\Users\geluo\.atom\.apm\_git-remotes\_templates --mirror git://github.com/monsterkodi/node-simple-plist.git C:\Users\geluo\.atom\.apm\_git-remotes\git-github-com-monsterkodi-node-simple-plist-git-6a71a541: Cloning into bare repository 'C:\Users\geluo\.atom\.apm\_git-remotes\git-github-com-monsterkodi-node-simple-plist-git-6a71a541'...
npm ERR! git clone --template=C:\Users\geluo\.atom\.apm\_git-remotes\_templates --mirror git://github.com/monsterkodi/node-simple-plist.git C:\Users\geluo\.atom\.apm\_git-remotes\git-github-com-monsterkodi-node-simple-plist-git-6a71a541: fatal: read error: Software caused connection abort
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Users\\geluo\\AppData\\Local\\atom\\app-1.8.0\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\geluo\\AppData\\Local\\atom\\app-1.8.0\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\geluo\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\geluo\\.atom\\.apmrc" "install" "D:\\cygwin_root\\tmp\\d-116621-22568-1yf57n1\\package.tgz" "--target=0.36.8" "--arch=ia32"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! code 128

npm ERR! Command failed: Cloning into bare repository 'C:\Users\geluo\.atom\.apm\_git-remotes\git-github-com-monsterkodi-node-simple-plist-git-6a71a541'...
npm ERR! fatal: read error: Software caused connection abort
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

Same problem:
Installing<EMAIL_ADDRESS>failed.Hide output…
npm ERR! git clone C:\Users\Walddys Emmanuel.atom.apm_git-remotes\git-github-com-monsterkodi-node-simple-plist-git-6a71a541 C:\Users\WALDDY~1\AppData\Local\Temp\npm-3132-1591c5ac\git-cache-efb727829eab\5ff35d61ff600391ccd784a18616fa73c09e0aea: Cloning into 'C:\Users\WALDDY~1\AppData\Local\Temp\npm-3132-1591c5ac\git-cache-efb727829eab\5ff35d61ff600391ccd784a18616fa73c09e0aea'...
npm ERR! git clone C:\Users\Walddys Emmanuel.atom.apm_git-remotes\git-github-com-monsterkodi-node-simple-plist-git-6a71a541 C:\Users\WALDDY~1\AppData\Local\Temp\npm-3132-1591c5ac\git-cache-efb727829eab\5ff35d61ff600391ccd784a18616fa73c09e0aea: error: cannot spawn sh: No such file or directory
npm ERR! git clone C:\Users\Walddys Emmanuel.atom.apm_git-remotes\git-github-com-monsterkodi-node-simple-plist-git-6a71a541 C:\Users\WALDDY~1\AppData\Local\Temp\npm-3132-1591c5ac\git-cache-efb727829eab\5ff35d61ff600391ccd784a18616fa73c09e0aea: fatal: unable to fork
npm ERR! git clone C:\Users\Walddys Emmanuel.atom.apm_git-remotes\git-github-com-monsterkodi-node-simple-plist-git-6a71a541 C:\Users\WALDDY~1\AppData\Local\Temp\npm-3132-1591c5ac\git-cache-efb727829eab\5ff35d61ff600391ccd784a18616fa73c09e0aea:
npm ERR! Windows_NT 6.2.9200
npm ERR! argv "C:\Users\Walddys Emmanuel\AppData\Local\atom\app-1.9.2\resources\app\apm\bin\node.exe" "C:\Users\Walddys Emmanuel\AppData\Local\atom\app-1.9.2\resources\app\apm\node_modules\npm\bin\npm-cli.js" "--globalconfig" "C:\Users\Walddys Emmanuel\.atom\.apm\.apmrc" "--userconfig" "C:\Users\Walddys Emmanuel\.atom\.apmrc" "install" "C:\Users\WALDDY~1\AppData\Local\Temp\d-11674-8092-v44pho\package.tgz" "--target=0.37.8" "--arch=ia32"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! code 128
npm ERR! Command failed: Cloning into 'C:\Users\WALDDY~1\AppData\Local\Temp\npm-3132-1591c5ac\git-cache-efb727829eab\5ff35d61ff600391ccd784a18616fa73c09e0aea'...
npm ERR! error: cannot spawn sh: No such file or directory
npm ERR! fatal: unable to fork
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     https://github.com/npm/npm/issues
i reinstall all, include the OS

@Akumetsu-Dev , [FYI]!(https://github.com/atom/apm/issues/322)
To be clear: this is fixed in apm versions >= 1.11.0. Here is the commit that fixes it. Note the tags and branches of apm the commit is contained in. You can run apm --version to see if you have a version of apm with this fix in it. Note that currently, Atom does not come bundled with a version of apm that has this fix. The latest beta release of Atom uses apm 1.10.0. Once atom/atom#11897 is merged and released, Atom will include a version of apm with this fix.
Note also that even after this is fixed, you're still going to need to tell apm about your proxy, as explicitly stated in the README.

Hello, i found the solution, first GitHub windows Client not installed completely, what i mean the next step below, the installation process had to do it automatic, but did not.
1- C:\Users<NameofUser>\AppData\Local\GitHub\PortableGit_, in this folder you will find a batch named post-install you have to install it with admin permission.
2- Add to the environment variable the next path:

C:\Users<NameofUser>\AppData\Local\GitHub\PortableGit_PortableGit_\usr\bin
C:\Users<NameofUser>\AppData\Local\GitHub\PortableGit_PortableGit_\etc\ssh
C:\Users<NameofUser>\AppData\Local\GitHub\PortableGit_PortableGit_\cmd
*GitHub didnt do this after the instalation, you have to do it manual.

3- In the C:\Users<NameofUser>\AppData\Local\GitHub\PortableGit_PortableGit_\cmd, you will find 2 *.cmd files: "start-ssh-agent" and "start-ssh-pageant" run in with admin permission.

4- Reboot windows and try install script.


🤖 - Migrate addon-editor to own repo

Description
addon-editor

Closed by prefer: https://github.com/Tinkoff/taiga-ui/issues/4710


Confused by Filter behavior

Hi, I would like to setup yanky.nvim as follows:
local map = vim.keymap.set

map({"n", "x"}, "y", "<Plug>(YankyYank)")

map({"n", "x"}, "P", "<Plug>(YankyPutBefore)")
map({"n", "x"}, "gP", "<Plug>(YankyGPutBefore)")
map({"n", "x"}, "=P", "<Plug>(YankyPutBeforeFilter)")
map({"n", "x"}, "=gP", "<Plug>(YankyGPutBeforeFilter)")

map({"n", "x"}, "p", "<Plug>(YankyPutAfter)")
map({"n", "x"}, "gp", "<Plug>(YankyGPutAfter)")
map({"n", "x"}, "=p", "<Plug>(YankyPutAfterFilter)")
map({"n", "x"}, "=gp", "<Plug>(YankyGPutAfterFilter)")

map("n", "<A-n>", "<Plug>(YankyCycleForward)")
map("n", "<A-p>", "<Plug>(YankyCycleBackward)")

That is, standard p, P and gP work as usual, the = versions should also indent when pasted and are intended to be used linewise only and for programming.
With this code
void test() {
    int a = 1;
    int b = 2;
    for (int i = 0; i < 10; ++i) {
        cout << a;
        cout << b;
    }
}

copying the two cout lines linewise, positioning the cursor on the line with for, I get
for P:
void test() {
    int a = 1;
    int b = 2;
        cout << a;
        cout << b;
    for (int i = 0; i < 10; ++i) {
        cout << a;
        cout << b;
    }
}

with cursor on first cout
for gP:
void test() {
    int a = 1;
    int b = 2;
        cout << a;
        cout << b;
    for (int i = 0; i < 10; ++i) {
        cout << a;
        cout << b;
    }
}

with cursor before at the beginning of the for line.
for =P
void test() {
    int a = 1;
    int b = 2;
    cout << a;
    cout << b;
    for (int i = 0; i < 10; ++i) {
        cout << a;
        cout << b;
    }
}

with cursor on the first cout.
I would expect =gP to give me a combination of gP and =P, but I get this:
void test() {
    int a = 1;
    int b = 2;
        cout << a;
    cout << b;
    for (int i = 0; i < 10; ++i) {
        cout << a;
        cout << b;
    }
}

which is neither indented correctly, and the cursor is on the cout << b; line, instead of on the for line as in the gP case.
The same behavior occurs for p. When I copy the two int definition lines, position the cursor on the for line, and perform =gp, I get
void test() {
    int a = 1;
    int b = 2;
    for (int i = 0; i < 10; ++i) {
    int a = 1;
        int b = 2;
        cout << a;
        cout << b;
    }
}

with cursor on the pasted int b = 2; instead of one more line below.
I'm using the treesitter indentation, but I tested all wrongly indented examples and =ip indents everything correctly, so = should work properly.
Thank you!

Thanks for your feedback!
I know there are some issues in special puts (especially with gp).
I'll work to improve this in the next weeks :)

I think cursor position issue should be fixed by #77
Do you want to try before I merge ?

Thanks. I tried switching and if the vanilla nvim behavior is the goal, it is unfortunately not fixed
This is what I get with gP in the same example as above now

and this is what I get with nvim -u NONE

and it's the same with p

Hi!
I've updated the pull request, I think it should be ok, can you try again ?
Thanks !!!

Hi again,
p, P, gp, gP, =p and =P all work fine, but YankyGPutBeforeFilter and YankyGPutAfterFilter still seem broken
This is what I get with =gP:

Oh! I thing I got it !
I'll update soon. Thanks for your time !!!

It should be better now @simonmandlik !
I've to write more tests but it seems really better now

Now it looks fine, thanks you very much :)

\o/
Thanks for your feedback, I will use it like this for some times before merging to see if everything is ok.
If you find some strange cases, please report it :)


[AppDev] Project Map - gRPC

Review and finalize "gRPC" section of Project Map Document: https://github.com/cncf/tag-app-delivery/blob/wg-app-dev-map-review/app-development-map/v1alpha1/index.md#grpc

@salaboy @danieloh30 any input on this section?

Looks good to me even though there're still TODO (empty) sections. We can fill them out after the merge!

I'll close this, then, and will address that in the next iteration. Thanks!