Moving wasm-bindgen from "Future Compatible with" to "Polyfill for" WebIDL Bindings

Where we are Now
Here is a simplified view of our Rust and Wasm toolchain, its artifacts and the processes that input and output these artifacts:
+--------------+
| Rust Sources |
+--------------+
       |
       |
     rustc
       |
       |
       V
+----------------------------------------+
| Initial .wasm w/ wasm-bindgen metadata |
+----------------------------------------+
       |
       |
  wasm-bindgen CLI ----------.
       |                     |
       |                     |
       V                     V
+-------------+       +------------------+
| Final .wasm |       | JS Bindings Glue |
+-------------+       +------------------+

Right now the initial .wasm contains two things that are used by the wasm-bindgen CLI, and stripped from the final .wasm binary:

A wasm-bindgen-specific custom section. This contains a summary of all the imported and exported functions, structs, fields, and methods. It doesn't include functions' and methods' ABI types, however.

"Descriptor" functions. These are evaluated by the CLI and communicate the types being sent and received over the ABI boundary for a given function or method. We do this because we want the ABI representation of types to be trait-based, so we can customize it for different types, and it was the best way at the time to support that.

The generated JS bindings glue is responsible for the following things:

Translating JS values going to Wasm into their ABI representation.

Translating values coming out of Wasm to JS from their ABI representation into JS values.

Instantiating the Wasm module and hooking up imported functions.

Vision
We leverage WebIDL bindings and anyref to completely remove the wasm-bindgen-specific metadata and 99% of the JS bindings glue:
+--------------+
| Rust Sources |
+--------------+
       |
       |
     rustc
       |
       |
       V
+---------------------------------------------------+
| Final .wasm w/ WebIDL Bindings Section and anyref |
+---------------------------------------------------+
       |
       |
  wasm-bindgen CLI
       |
       |
       V
+-----------------------+
| JS Instantiation Glue |
+-----------------------+

rustc has first-class support for anyref and emitting the WebIDL bindings custom section.
The JS bindings glue is no longer responsible for translating between ABI representations and JS values:

The ABI representation of most JS values is simply anyref. In JS hosts, an anyref is a JS value, or at least the conversion is so transparent that they are effectively the same from our perspective.

Strings typically use WebIDL bindings' UTF-8 string shepherding facilities (unless they are trying to handle unpaired surrogates, in which case they can work with JS string values as anyrefs).

The only thing that the generated JS is responsible for now is WebAssembly instantiation with all of the right WebIDL function imports, and polyfilling Wasm's ESM integration.
For Browsers that Don't Support WebIDL Bindings Yet
To support browsers that don't support WebIDL bindings yet in this future world, the wasm-bindgen CLI will also be able to act as a polyfill, removing the WebIDL bindings section from the .wasm binary, and instead emitting equivalent JS bindings glue (essentially what it emits today).
+--------------+
| Rust Sources |
+--------------+
       |
       |
     rustc
       |
       |
       V
+---------------------------------------------+
| .wasm w/ WebIDL Bindings Section and anyref |
+---------------------------------------------+
       |
       |
  wasm-bindgen CLI --------------------------------------.
       |                                                 |
       |                                                 |
       V                                                 V
+----------------------------------------+       +------------------+
| .wasm w/out WebIDL Bindings nor anyref |       | JS Bindings Glue |
+----------------------------------------+       +------------------+

An Intermediate Goal
Polyfill generating the WebIDL bindings section in the wasm-bindgen CLI:
+--------------+
| Rust Sources |
+--------------+
       |
       |
     rustc
       |
       |
       V
+------------------------------------------------------+
| Initial .wasm w/ wasm-bindgen metadata and no anyref |
+------------------------------------------------------+
       |
       |
  wasm-bindgen CLI
       |
       |
       V
+---------------------------------------------+
| .wasm w/ WebIDL Bindings Section and anyref |
+---------------------------------------------+

Then, to run on environments that don't support WebIDL bindings yet, we use the polyfill described in the previous section to emit a final .wasm and JS bindings glue that is equivalent to what we use today:
+--------------+
| Rust Sources |
+--------------+
       |
       |
     rustc
       |
       |
       V
+------------------------------------------------------+
| Initial .wasm w/ wasm-bindgen metadata and no anyref |
+------------------------------------------------------+
       |
       |
  wasm-bindgen CLI
       |
       |
       V
+---------------------------------------------+
| .wasm w/ WebIDL Bindings Section and anyref |
+---------------------------------------------+
       |
       |
  wasm-bindgen CLI --------------------------------------.
       |                                                 |
       |                                                 |
       V                                                 V
+----------------------------------------+       +------------------+
| .wasm w/out WebIDL Bindings, nor       |       | JS Bindings Glue |
| wasm-bindgen metadata, nor anyref      |       +------------------+
+----------------------------------------+

In practice, we won't need to literally invoke the wasm-bindgen CLI twice and serialize the .wasm to disk just to read it back again, but having the phases split and explicitly represented like this will be helpful for moving us forward, I suspect.
Things we can do now

[ ] Fix the current experimental anyref implementation and upgrade it to non-experimental. It seems to have bugs where it isn't working in Firefox/SpiderMonkey anymore. Node.js >= 12.x also has support for anyref behind a flag, so we should start running our test suite with anyref on Node.js in CI, instead of just checking that it builds.

[ ] Build a crate to consume and emit the text and binary representations of the WebIDL bindings custom section. We can use this in walrus and wasm-bindgen and wherever else we find a need.

[ ] Stop emitting descriptor functions and interpreting them in the wasm-bindgen CLI. We do this by switching from descriptor functions to building up a static from associated consts. Essentially a static array of the exact same thing stuff that we pass to a series of calls to __wbindgen_describe now.

[ ] After that, we should align the format of our custom section with the format of WebIDL bindings. We will emit a copy of this custom section for each #[wasm_bindgen] use, so it won't be 100% compatible with the WebIDL bindings section. Instead it will be like a pre-linked "object section", that we will link into a single section in the CLI.

Unresolved Questions

What is the bare minimum we need to get rustc (and presumably LLVM and lld) to support anyref enough to use them and WebIDL bindings together without wasm-bindgen post-processing the .wasm binary?

I'm assuming we want to just immediately spill anyrefs to a shadow stack or heap immediately, work with them as indices, and avoid the question of actually representing anyrefs at the Rust language level directly. At least for the foreseeable future.

So rustc and LLVM need some knowledge about the anyref table that we use for the shadow stack and heap, and what function to call to allocate into them? Presumably that function is returning an index for the anyref to move into, so that these functions can be authored in Rust, and don't have to touch an anyref directly.

Alternatively, it might be simpler to only have an anyref table that is used as a shadow stack at the LLVM level, and then separately at the Rust level also expose intrinsics for copying anyrefs from that shadow stack to a separate anyref table that we use as a heap? This might be a smaller set of moving parts that we have to get everyone to agree upon...

Presumably the user-facing building block for emitting WebIDL bindings is some sort of attribute on an extern declaration. Not clear to me exactly what this attribute looks like, but I think it should be pretty easy to design in comparison to the last point.

I think all the borrowed-vs-owned anyref stuff can be handled in the Rust source that the proc-macro generates when we are managing the anyref table from Rust instead of in the JS glue. I don't think this stuff leaks into anything the WebIDL bindings needs to know about (other than WebIDL imports returning strings, which it has facilities for). But I'm not 100% sure on this point.

+cc @alexcrichton @lukewagner @tschneidereit
@sunfishcode, maybe you have some thoughts on the LLVM side of things in the "unresolved questions" bit?

* [ ]  Build a crate to consume and emit the text and binary representations of the WebIDL bindings custom section. We can use this in `walrus` and `wasm-bindgen` and wherever else we find a need.

Starting on this here: https://github.com/rustwasm/wasm-webidl-bindings

In the presence of anyref (and multivalue) it should be possible to read the custom section in JS at runtime. This has the benefit of reducing code size to a constant factor, and should be forward-compatible with the proposal itself, meaning when browsers ship the feature, any modules with the section will start to Just Work with the speed improvements that native support implies.

Status update:

Have finished implementing parsing the straw proposal text and have AST types for representing the webidl-bindings section and all of its operators and all that.
Have PR open for adding better APIs for working with custom sections in walrus: https://github.com/rustwasm/walrus/pull/76
Next step is to take the AST types and implement encoding them into a straw proposal binary format and hook this into those new walrus custom section APIs

There are also a few "help wanted" issues open in https://github.com/rustwasm/wasm-webidl-bindings if anyone is interested :)

I haven't explicitly commented on this yet, but the plan sounds great! I'm definitely looking forward to architecting wasm-bindgen this way :)

Fix the current experimental anyref implementation and upgrade it to non-experimental. It seems to have bugs where it isn't working in Firefox/SpiderMonkey anymore.

One bug was fixed in https://github.com/rustwasm/walrus/pull/74, there's another around initialization of the anyref table for browsers and when that runs, I'll try to update that soon.

Node.js >= 12.x also has support for anyref behind a flag, so we should start running our test suite with anyref on Node.js in CI, instead of just checking that it builds.

Trying this out, unfortunately table.grow isn't supported in the version of v8 used by Node.js right now. Looking at v8's master branch it looks like table.grow is indeed supported. I suspect we need to wait for a PR such as https://github.com/nodejs/node/pull/27375 to land in Node and get published, aka Node.js needs to update the v8 dependency which I'm sure is not a trivial task!

Trying this out, unfortunately table.grow isn't supported in the version of v8 used by Node.js right now. Looking at v8's master branch it looks like table.grow is indeed supported. I suspect we need to wait for a PR such as nodejs/node#27375 to land in Node and get published, aka Node.js needs to update the v8 dependency which I'm sure is not a trivial task!

Interesting -- do you know if chrome canary supports it? Maybe we can have a smoke test for now in the form of a headless browser test running on chrome canary.

Hm it may, although I can't quite figure it out. I'm not sure how to enable the support for anyref in v8 when using Chrome, and in doing it a way that I think should work doesn't work, so I can't get it to work in chrome canary yet.
(this works in headless firefox nightly though I think modulo our own bugs)

I've started initial refactoring in https://github.com/rustwasm/wasm-bindgen/pull/1566, although it's not using the wasm-webidl-bindings crate yet. I hope to transition to that in short order though after that PR is in better shape!

Ok the next stage of refactoring (wow it's bigger than the first) is https://github.com/rustwasm/wasm-bindgen/pull/1594. With that PR we're literally using WebIDL bindings as the internal abstraction in wasm-bindgen and it should be much easier to keep up with standards changes. It also informs us exactly where JS shims are generated and what is needed to avoid JS shims!
There's still more work needed to actually emit a WebIDL bindings section, but it should be much easier than this last refactoring.

Alright this is now basically all done except for the pretty small bit of actually emitting a WebIDL bindings section. There's not any consumers of WebIDL bindings yet so I think it's fine to hold off on that for a bit, but I think it's definitely safe to say that the vast majority of the work needed to get WebIDL-bindings compatible is now all done!


[Tabs][base] Wrong aria-selected state

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Link to live example:  https://mui.com/base/react-tabs/#basics
Steps:

Checkout this example on Codesandbox  - https://mui.com/base/react-tabs/#basics
Quickly click on multiple Tab buttons one by one and notice the aria-selected values on  component (button).

Current behavior 😯
Clicking multiple Tab button one by one is causing the aria-selected to be incorrect. Even the current active tab button has false aria-selected, even though the recently clicked Tab button's TabPanel is visible and working fine.
Expected behavior 🤔
aria-selected value should be correct.
Context 🔦
I'm using Tailwind CSS to style the Base UI Tabs component and using the aria-selected: variant selector class to style the active Tab button.
Your environment 🌎

npx @mui/envinfo
  System:
    OS: Linux 5.15 Ubuntu 20.04.6 LTS (Focal Fossa)
  Binaries:
    Node: 18.16.0 - ~/.nvm/versions/node/v18.16.0/bin/node
    Yarn: 1.22.19 - /usr/bin/yarn
    npm: 9.5.1 - ~/.nvm/versions/node/v18.16.0/bin/npm
  Browsers:
    Chrome: Not Found
    Firefox: Not Found
  npmPackages:
    @emotion/react: ^11.10.6 => 11.11.0
    @emotion/styled: ^11.10.6 => 11.11.0
    @mui/base: ^5.0.0-alpha.119 => 5.0.0-beta.3
    @mui/core-downloads-tracker:  5.13.3
    @mui/icons-material: ^5.11.0 => 5.11.16
    @mui/lab: ^5.0.0-alpha.128 => 5.0.0-alpha.132
    @mui/material: ^5.12.2 => 5.13.3
    @mui/private-theming:  5.13.1
    @mui/styled-engine:  5.13.2
    @mui/system:  5.13.2
    @mui/types:  7.2.4
    @mui/utils:  5.13.1
    @mui/x-date-pickers: ^5.0.20 => 5.0.20
    @types/react:  18.2.7
    react: 18.2.0 => 18.2.0
    react-dom: 18.2.0 => 18.2.0

Here's the screenshot.

Thanks for reporting this. I can confirm it's a bug. We'll work on a fix soon.

@michaldudak I would like to pick this up

@michaldudak I would like to pick this up

Sure, give it a try!


batching.maxMilliseconds publisher option not being honoured in 1.2.0

Environment details

OS: any
Node.js version: any
npm version: any
@google-cloud/pubsub version: 1.2.0

Steps to reproduce

Create a publisher for a topic and set its batching.maxMilliseconds option to something other than the default 100ms.
Measure the latency for a message being received by a subscriber:

for @google-cloud/pubsub <= 1.1.6 the latency will be inline with the value of batching.maxMilliseconds, for example if batching.maxMilliseconds is set to 10ms it will be in t the region of 20-30ms.
for @google-cloud/pubsub = 1.2.0 the latency will always be above 100ms indicating that batching.maxMilliseconds is not being honoured.

Analysing the source code, this particular functionality was restructured from 1.1.6 to 1.2.0:

1.1.6: https://github.com/googleapis/nodejs-pubsub/blob/v1.1.6/src/publisher.ts#L215
1.2.0: https://github.com/googleapis/nodejs-pubsub/blob/v1.2.0/src/publisher/message-queues.ts#L128

clearly pointing to a regression.

As of 1.5.0 this seems to be fixed (might have been earlier), so I'm closing this issue as fixed.


Migrate System to inter-op

Purpose
Migrate config-api to inter-op
Fixes #20056
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[ ] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

This should be Migrate system to inter-op isn't it?

Codecov Report

Merging #20095 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #20095   +/-   ##
=======================================
  Coverage    19.9%    19.9%
=======================================
  Files          55       55
  Lines        1437     1437
  Branches      218      218
=======================================
  Hits          286      286
  Misses       1138     1138
  Partials       13       13

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 03ffe28...e77a6b8. Read the comment docs.


New version: Ubisoft.Connect version 129.0.10647

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Does your manifest conform to the 1.0 schema?

Resolves https://github.com/microsoft/winget-pkgs/issues/45719
Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@denelon - Can I get your input on the installer link?

https://ubisoftconnect.com/en-US/ gives https://ubi.li/4vxt9 for the download link.
@KaranKad how did we find the download URL in the manifest?

@denelon Thats where the link redirects.

@KaranKad thank you so much!
I tried several sites that were just throwing me errors when I tried to do that.

Multiple redirects worked for me. That seems like an odd hosting URL. I'll make a note in our TSG for future reference.

@wingetbot waivers Add Validation-Domain


only one child cluster are approved after installing with ./local-running.sh

What happened:
1.Followed the steps with install with ./local-running.sh of https://clusternet.io/docs/quick-start/
2. Checking Cluster Registration
run kubectl get clsrr
NAME                                              CLUSTER ID                             STATUS     AGE
clusternet-3f161534-a83e-4bc8-96ba-6d874e4a4316   3f161534-a83e-4bc8-96ba-6d874e4a4316   Approved   16h

the results is one child cluster.  Should it return 3 child clusters? why it's only one child cluster,child1 ?

the other child clusters not ready or not be approved,  what's happend?
What you expected to happen:
It should return all of child clusters . not sure if it's my misunderstand.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

Clusternet version:

Kubernetes version (use kubectl version):

Cloud provider or hardware configuration:

OS (e.g: cat /etc/os-release):
"rhel centos fedora"

Kernel (e.g. uname -a):

Others:

@zhonghuali Please run with kind get clusters to check whether kind clusters are running well.
Sometime, kind pods fail to spin up with errors “too many open files”. Please follow some-known-issues to help resolve it.

my machine setting:
fs.inotify.max_user_watches=500000
fs.inotify.max_user_instances=128
changed to :
sudo sysctl fs.inotify.max_user_watches=524288
sudo sysctl fs.inotify.max_user_instances=512
then the child cluster agent pod startup, this issue gone.
Thanks a lot


docs: fix references to github repo

This relies on the myst parser's (new in v0.19) feature of customizing
external URL schemes with the "myst_url_schemes" configuration option.
We specify new URL schemes "blob" and "tree" which are supposed to be
used for references to blobs (files) and trees (directories) in the git
repo.
This also drops sphinx event hooks ("doctree-resolved" and
"missing-reference"), simplifying the conf.py considerably. They were
useless anyway as they were totally broken and didn't actually fix any
references to repo files.
The downside of this is that the affected references are not shown when
browsing .md files directly from github (as github dosn't handle our
custom 'tree:' and 'blob:' url schemes. However, it should be preferable
to have the cross-references working in the official documentation.
This PR also updates myst-parser to the latest version and pins the versions of
sphinx-rtd-theme and sphinx-markdown-tables for predictable results.

The downside of this is that the affected references are not shown when browsing .md files directly from github (as github dosn't handle our custom 'tree:' and 'blob:' url schemes. However, it should be preferable to have the cross-references working in the official documentation.

The best would be to get both working: keep the links working in the .md files and get them working in the generated documentation as well which I believe will require some python post-genertion fixup logic in the end. Why didn't the fixup in the event hooks work ?


cant reset the gist token

Hi, I revoked the gist token to set up Settings Sync afresh, even deleted the respective settings in vscode. but whenever I try to reinstall Sync it gets an Error: Sync : Unable to clear settings. Error Logged on console. Please open an issue.
How can I properly reset Sync?
merci
Wal

hey, I got similar problem (extension stored invalid github token and I wasn't able to reset it).
Removal of ~/.vscode (extensions) and ~/Library/Application Support/Code (vscode settings itself) helped.

can you guys post the image of console logs

Sync : Invalid / Expired GitHub Token. Please generate new token with scopes mentioned in readme. Exception Logged in Console.

Have you tried this
https://github.com/shanalikhan/code-settings-sync#reset-token--gist-settings
Or
manually remove the token from here.
https://github.com/shanalikhan/code-settings-sync#customized-sync
Then generate new token from github and insert and let me know

as for the first question: yes I did and it yielded to: Sync : Unable to clear settings. Error Logged on console. Please open an issue.
then i deleted the config file. after putting in the new token I got this error in the console:
| e.doShow | @ | /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:2925
-- | -- | -- | --


Creating package (this may take a while) Error: Error executing command (2):

**What version of electron-installer-debian are you using? ^0.5.1
What version of node and npm are you using? v7.4.0  & 4.0.5
What operating system are you using?  Linux
Can you compile the example app successfully?  yes
If not, paste here the output of the following commands:
$ git clone https://github.com/unindented/electron-installer-debian.git
$ cd electron-installer-debian/example
$ DEBUG='electron-installer-debian' npm run build

What did you do? Please include the configuration you are using for electron-installer-debian.
electron installer working fine ..To convert deb it throws error
What did you expect to happen?
deb format application expected
What actually happened?
while convert deb file it throws error
error detail is
electron-installer-debian --version false  --src dist/app-linux-x64/ --dest dist/installers/ --arch amd64
Error: Error executing command (2):
fakeroot dpkg-deb --build /tmp/electron-117431-32043-5z1q70.lu6oe0zfr/Unity_1.0.0_amd64
dpkg-deb: error: parsing file '/tmp/electron-117431-32043-5z1q70.lu6oe0zfr/Unity_1.0.0_amd64/DEBIAN/control' near line 11 package 'unity':
blank line in value of field 'Homepage'
at ChildProcess.<anonymous> (/home/krdsjenitha/Desktop/electron/track-work/node_modules/electron-installer-debian/src/installer.js:67:23)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:885:16)
at Socket.<anonymous> (internal/child_process.js:334:11)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:501:12) 'Error: Error executing command (2): \nfakeroot dpkg-deb --build /tmp/electron-117431-32043-5z1q70.lu6oe0zfr/Unity_1.0.0_amd64\ndpkg-deb: error: parsing file \'/tmp/electron-117431-32043-5z1q70.lu6oe0zfr/Unity_1.0.0_amd64/DEBIAN/control\' near line 11 package \'unity\':\n blank line in value of field \'Homepage\'\n\n    at ChildProcess.<anonymous> (/home/krdsjenitha/Desktop/electron/track-work/node_modules/electron-installer-debian/src/installer.js:67:23)\n    at emitTwo (events.js:106:13)\n    at ChildProcess.emit (events.js:191:7)\n    at maybeClose (internal/child_process.js:885:16)\n    at Socket.<anonymous> (internal/child_process.js:334:11)\n    at emitOne (events.js:96:13)\n    at Socket.emit (events.js:188:7)\n    at Pipe._handle.close [as _onclose] (net.js:501:12)'

Update Please ?

It is happen due to description  empty in package.json .Once I added content it works
Thank You

Ah, sorry I couldn't help you, but glad you found the issue.


Bumps karaf version to 4.2.7 (latest)

LGTM, I will merge when Jenkins is happy.

Note:  we needed to
rm -rf ./org/ops4j/pax/logging/1.11.2/
to get this to work.  Seems an old version of the POM (at this non-SNAPSHOT version!!!) did not call out the knopflerfish repository.  (And the official knopflerfish repository does not work.)

You may also need:
 <repository>
      <id>Knopflerfish 6 Repository</id>
      <name>Knopflerfish 6 Releases Repository</name>
      <url>http://resources.knopflerfish.org/repo/maven2/release/</url>
</repository>

in your settings.xml ... @jbonofre is this known?

Also note https://github.com/apache/brooklyn-server/pull/1067#issuecomment-562530931


Classifier should now return probabilities rather than result

I would like to: Configure the demo classifier to provide probabilities of results rather than the final classification
So that I can: Know the percentages of each emotion shown in an audio file

Done in classifier-return-probs branch.


Add post routes & tests.

What's this PR do?
This pull request adds the v3/posts routes & tests, along with fixes & cleanup to get tests back to green.
How should this be reviewed?
I'd recommend reviewing commit-by-commit. I'll add context in comments as well.
Any background context you want to provide?
🚜 💨
Relevant tickets
References Pivotal #176469276.
Checklist

[ ] This PR has been added to the relevant Pivotal card.
[ ] Documentation added for new features/changed endpoints.
[ ] Added appropriate feature/unit tests.
[ ] If new attributes were added to users, there is a corresponding PR to surface these in Aurora.
[ ] If new attributes were added to users, then the data team already knows about these changes.

Rebased to fix a merge conflict in api.php!


modifying working with box document

Please rebase.

@vipulnsward we dont need this request now we already have updated document in master https://github.com/bigbinary/boxy/blob/master/docs/rails/how-to-see-log-when-no-syslog.md
Closing this.


Upgrade hive in ACM 2.9

Signed-off-by: Maggie Chen<EMAIL_ADDRESS>https://issues.redhat.com/browse/ACM-6828

/cc @xiangjingli
/cc @mikeshng
/cc @philipwu08


Add a SilexRequirements class and and web/check.php

I think this kind of features available in Symfony standard can be usefull everywhere: https://github.com/symfony/symfony-standard/blob/2.8/app/SymfonyRequirements.php , I can make a pull request which check for the Silex requirements if you think this can be accepted.
What do you think ?

It's out of the scope of the skeleton, which should be just about providing the directory structure to get started.


Karpenter Node Creation Fails with "Node not registered with cluster" on Azure AKS with Azure CNI and Calico

Version

Karpenter Version: v0.7.0

Kubernetes Version: v1.30.5
Expected Behavior
Karpenter should successfully create and register new nodes in the AKS cluster, bringing them to a "Ready" state for workloads.
Actual Behavior
Karpenter creates new nodes, but they remain in an "Initialized" state and fail to register with the cluster. The status for "Ready" displays UnhealthyDependents, and messages indicate "Node not registered with cluster."
Steps to Reproduce the Problem

Configure an AKS cluster with the following settings:

OS: AzureLinux
Network configuration: Azure CNI Node Subnet
Network policy: Calico

Deploy Karpenter on the AKS cluster using Terraform.
Create an AKSNodeClass and a NodePool.
4 Request a node through a NodeClaim.
Observe the status of the new node.

Resource Specs and Logs
Node Logs:
- lastTransitionTime: '2024-11-11T18:25:14Z'
  message: Node not registered with cluster
  reason: NodeNotFound
  status: Unknown
  type: Initialized
- lastTransitionTime: '2024-11-11T18:25:14Z'
  message: ''
  reason: Launched
  status: 'True'
  type: Launched
- lastTransitionTime: '2024-11-11T18:25:14Z'
  message: Initialized=Unknown, Registered=Unknown
  reason: UnhealthyDependents
  status: Unknown
  type: Ready

Karpenter log pod:
{"level":"info","ts":1731348521.1395092,"logger":"fallback","caller":"instance/instance.go:152","msg":"launched new instance","launched-instance":"/subscriptions/***/resourceGroups/****/providers/Microsoft.Compute/virtualMachines/aks-general-purpose-79mc9","hostname":"aks-general-purpose-79mc9","type":"Standard_D4ls_v5","zone":"3","capacity-type":"on-demand"}
{"level":"INFO","time":"2024-11-11T18:08:41.139Z","logger":"controller","caller":"lifecycle/launch.go:61","message":"launched nodeclaim","commit":"d83a94c","controller":"nodeclaim.lifecycle","controllerGroup":"karpenter.sh","controllerKind":"NodeClaim","NodeClaim":{"name":"general-purpose-79mc9"},"namespace":"","name":"general-purpose-79mc9","reconcileID":"***","provider-id":"azure:///subscriptions/***/resourceGroups/****/providers/Microsoft.Compute/virtualMachines/aks-general-purpose-79mc9","instance-type":"Standard_D4ls_v5","zone":"","capacity-type":"on-demand","allocatable":{"cpu":"3860m","ephemeral-storage":"128G","memory":"5226731929","pods":"110"}}

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

We do not support calico at this time.

Don't support calico


File input - clearing the variable and re-selecting the same file doesn't update variable

I'm submitting a bug report

Library Version:
1.6.0

Please tell us about your environment:

Operating System:
Windows [10]

Node Version:
8.9.4

NPM Version:
4.0.5

Browser:
Chrome Version 67.0.3396.99

Language:
TypeScript 2.2.1

Current behavior:
When using .bind on an input of type "file", setting the bound variable to null isn't reflected within the input. Re-selecting the same file doesn't update the variable.
Expected/desired behavior:
Steps:

Open the gist in Chrome. Select a file from the input at the top.
Click "Clear Document". This sets the backing variable to "null", but you can still see the name of file next to the "input"
Select the same file again. You can see that the length of the backing variable doesn't change. If you select a different file, it works as expected.

Gist: https://gist.run/?id=1bb475638441b00bcbbf8fd92974ab33

You can't change selected file via javascript. It would be a security breach.
And since there is no real change in file input - it does not raise the change event.
Working as expected.

The issue isn't changing the file via javascript- it's about clearing the bound variable then re-selecting the same file. If you do that, the bound variable is still set to null (whereas it should be reset to the same file). Is there a workaround for this?

yes. there is a workaround: do not use binding to files
https://github.com/aurelia/binding/issues/314#issuecomment-379259291

@bigopon can be closed
@edwardridge sorry for not being explicit the last time. By not being able to change selected file via javascript I meant that framework can't replicate your setting a bound property to the file property of input control.


Collation parsing problem in spellcheck

In SolrNet 5.x when spellcheck is enabled and spellcheck.collateExtendedResults is false then the result looks like this
<lst name="spellcheck">
    <lst name="suggestions"/>
    <bool name="correctlySpelled">false</bool>
    <lst name="collations">
        <str name="collation">animal</str>
    </lst>
</lst>

The collation result is not parsed correctly because the element with name="collation" is not an lst element but an str element.

Thanks. I need this one as well.

Hi @xavier-morera, I'll give it a try.

Excellent! I created a branch for this purpose: https://github.com/SolrNet/SolrNet/tree/collation-parsing-issue-310?files=1
Thank you

I also found a problem with the parsing av suggestions. I think I fixed both problems. It's been a long time since I worked with Solr and I tried to run all the tests but I had some trouble running some of them. For instance the NHibernate tests seem to need an SQLite driver.

There seems to be the same issue with suggestions and spellcheck.extendedResults as with collations and  spellcheck.collateExtendedResults. I'll fix the code.

Thanks @Edminsson

This branch has to be updated, it cannot merge anymore with Develop

Fixed, will be part of the 1.0.0 release.


Testing / Helpers 2.1

Still a few things to fix before merging in to master, but we're nearly there.

!testme


make problems

root@foobar:~/vmango# make && ./bin/vmango
go install github.com/go-bindata/go-bindata/go-bindata
can't load package: package github.com/go-bindata/go-bindata/go-bindata: cannot find package "github.com/go-bindata/go-bindata/go-bindata" in any of:
        /usr/lib/go-1.10/src/github.com/go-bindata/go-bindata/go-bindata (from $GOROOT)
        /root/vmango/src/github.com/go-bindata/go-bindata/go-bindata (from $GOPATH)
Makefile:41: recipe for target 'bin/go-bindata' failed
make: *** [bin/go-bindata] Error 1

Updating go compiler to latest version should fix the problem

root@foobar:~/vmango# make && ./bin/vmango go install github.com/go-bindata/go-bindata/go-bindata $GOPATH/go.mod exists but should not Makefile:41: recipe for target 'bin/go-bindata' failed make: *** [bin/go-bindata] Error 1

root@foobar:~/vmango# make && ./bin/vmango
go install github.com/go-bindata/go-bindata/go-bindata
$GOPATH/go.mod exists but should not
Makefile:41: recipe for target 'bin/go-bindata' failed
make: *** [bin/go-bindata] Error 1

🤔Unset GOPATH environment variable, remove ~/go folder, update go compiler to 1.12.9 and try to run make again

unsetting GOPATH got it further, had to also install pkg-config  and libvirt-dev.
it's up!
Thank you for your help.

Great :)


GUI recordings taken with GUI v0.6.1 cannot be read with open ephys python tools

I made a recording with OpenEphys GUI v0.6.1, but I can't read the recording with the current master of the open ephys python tools. The issue is that there is no continuous or event data being read. This is despite the presence of this data in the folder structure.
The error trace is:
Traceback (most recent call last):
  File "/Users/lillyothevalley/lfp-code/load_oephys_data.py", line 44, in <module>
    lfp = session.recordnodes[0].recordings[0].continuous[0].samples
  File "/opt/anaconda3/lib/python3.8/site-packages/open_ephys/analysis/recording.py", line 64, in continuous
    self.load_continuous()
  File "/opt/anaconda3/lib/python3.8/site-packages/open_ephys/analysis/formats/BinaryRecording.py", line 85, in load_continuous
    c = self.Continuous(info, self.directory)
  File "/opt/anaconda3/lib/python3.8/site-packages/open_ephys/analysis/formats/BinaryRecording.py", line 59, in __init__
    self.metadata['subprocessor_id'] = info['source_processor_sub_idx']
KeyError: 'source_processor_sub_idx'

Hi Lilly,
We have a separate branch of code for v0.6.x: https://github.com/open-ephys/open-ephys-python-tools/tree/0.6.0
Soon we will make this the default branch, and make it installable via pip.

I'm attempting to use Branch 0.6.0, but it is no longer available on GitHub. I am using open-ephys GUI 0.6.1 but the tool can't read it. The error is the same as above.

Hi Lilly – the main branch is now compatible with data saved by all 0.6.x versions, and is also available on PyPI. If you create a new Python environment and run pip install open-ephys-python-tools, are you able to read the data? If not, what is the error message?


python312Packages.protobuf5: 5.27.2 -> 5.28.0 + use version from protobuf_28 library

Description of changes
Adopt the same logic as for python312Packages.protobuf4 by syncing the version to the one of the associated protobuf library.
cc @SuperSandro2000
Things done

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 338157 run on aarch64-linux 1

8 packages failed to build:

mitmproxy (python312Packages.mitmproxy)
mitmproxy.dist (python312Packages.mitmproxy.dist)
mitmproxy2swagger
mitmproxy2swagger.dist
python311Packages.mitmproxy
python311Packages.mitmproxy.dist
wapiti
wapiti.dist

4 packages built:

python311Packages.protobuf5
python311Packages.protobuf5.dist
python312Packages.protobuf5
python312Packages.protobuf5.dist

Result of nixpkgs-review pr 338157 run on x86_64-linux 1

8 packages failed to build:

mitmproxy (python312Packages.mitmproxy)
mitmproxy.dist (python312Packages.mitmproxy.dist)
mitmproxy2swagger
mitmproxy2swagger.dist
python311Packages.mitmproxy
python311Packages.mitmproxy.dist
wapiti
wapiti.dist

4 packages built:

python311Packages.protobuf5
python311Packages.protobuf5.dist
python312Packages.protobuf5
python312Packages.protobuf5.dist

protobuf 4 used the source code from the protobuf package. With protobuf 5 this is no longer possible, so taking the version from it is not really necessary. See protocolbuffers/protobuf@5722aef for details

I am well aware of this as @SomeoneSerge and I have spent a few hours fighting to build newer versions of the protobuf python package from source despite them removing setup.py.
Unfortunately, bazel eventually won the fight and we silently gave up on this.
I am happy that you went with adding the pypi version as at least, we have it now.

taking the version from it is not really necessary.

Sure, this is not strictly needed now, but I would prefer to hard-code the sync whether than to rely on a comment.
Though, I can also add a comment to warn about updating the hash of the python derivation.

Result of nixpkgs-review pr 338157 run on x86_64-linux 1

12 packages built:

mitmproxy (python312Packages.mitmproxy)
mitmproxy.dist (python312Packages.mitmproxy.dist)
mitmproxy2swagger
mitmproxy2swagger.dist
python311Packages.mitmproxy
python311Packages.mitmproxy.dist
python311Packages.protobuf5
python311Packages.protobuf5.dist
python312Packages.protobuf5
python312Packages.protobuf5.dist
wapiti
wapiti.dist

Result of nixpkgs-review pr 338157 run on aarch64-linux 1

12 packages built:

mitmproxy (python312Packages.mitmproxy)
mitmproxy.dist (python312Packages.mitmproxy.dist)
mitmproxy2swagger
mitmproxy2swagger.dist
python311Packages.mitmproxy
python311Packages.mitmproxy.dist
python311Packages.protobuf5
python311Packages.protobuf5.dist
python312Packages.protobuf5
python312Packages.protobuf5.dist
wapiti
wapiti.dist

To be clear, it's not impossible, we "just" need to get bazel build for the source tarball to work. If we use the tarball I'm very much uncomfortable keeping sourceProvenance = [ fromSource ]

Bazel is known for being notorious distro hostile and I personally really dislike using any of my time for it.

If we use the tarball I'm very much uncomfortable keeping sourceProvenance = [ fromSource ]

That doesn't matter as long as the tarball doesn't contain precompiled shared objects which I don't think it does.

Sure, this is not strictly needed now, but I would prefer to hard-code the sync whether than to rely on a comment.
Though, I can also add a comment to warn about updating the hash of the python derivation.

I don't because at some point it will be forgotten to update and we won't notice it because of FODs. Also the releases don't necessarily need to be in sync. So this will just cause trouble in the end.

I don't because at some point it will be forgotten to update and we won't notice it because of FODs. Also the releases don't necessarily need to be in sync. So this will just cause trouble in the end.

Ok fair enough, I simply updated the package.
Let us try to avoid having problems later indeed !

Result of nixpkgs-review pr 338157 run on x86_64-linux 1

12 packages built:

mitmproxy (python312Packages.mitmproxy)
mitmproxy.dist (python312Packages.mitmproxy.dist)
mitmproxy2swagger
mitmproxy2swagger.dist
python311Packages.mitmproxy
python311Packages.mitmproxy.dist
python311Packages.protobuf5
python311Packages.protobuf5.dist
python312Packages.protobuf5
python312Packages.protobuf5.dist
wapiti
wapiti.dist

Result of nixpkgs-review pr 338157 run on aarch64-linux 1

12 packages built:

mitmproxy (python312Packages.mitmproxy)
mitmproxy.dist (python312Packages.mitmproxy.dist)
mitmproxy2swagger
mitmproxy2swagger.dist
python311Packages.mitmproxy
python311Packages.mitmproxy.dist
python311Packages.protobuf5
python311Packages.protobuf5.dist
python312Packages.protobuf5
python312Packages.protobuf5.dist
wapiti
wapiti.dist


Bug in SLIDEIN_BOTTOM animation when using GridLayoutManager

I have a question about SLIDEIN_BOTTOM animation when using GridLayoutManager,
the last item (here is item 5) not slide in,

I find the problem is the last item height is 0, any idea to fix it ?

Not find out why

I find the height of item 5 is 0, so it can't animate.
Maybe it's too early to call animate?
I will help to find the problem.

I've tested 12 data, also is the only article 5 not slide in，strange

Find the problem The fifth didn't perform onViewBindHolder method

Adapter is reuse mechanism lead to the problems

compile 'com.github.CymChad:BaseRecyclerViewAdapterHelper:v1.9.6'

fix #161


extending state machine

Hi,
I want to try, to extend the state machine and add new objects ( orders ) , have two main questions:
orders: holds orders from a user related to two accounts(one to debit, one to credit), deduction from one and add to other, sorted by price(both asc, desc) and time, cancelable, finalizeable(match)(or finished).
currently, we can do this using another service, but having the atomic operation of transfer funds and solid synced order book inside one Tigebeetle will solve many complexities.
1- is there any documentation about how Tiger works internally?
2- is it possible to add a new type to the data model and state machine without touching deep syncing and disk functionalities?
thanks :)

Excelent question! TigerBeetle is absolutely designed around pluggable state machines, so building a custom state machine for order book is absolutely a use-case we want to support!
That being said, this is not the use-case we are productionalizing at this point --- right now, we are focusing solely on double-entry accounting as the single officially supported state machine.
So, you could do this, but you'll be mostly on your own at this point (but, of course, if you are serious about doing this kind of thing, please talk to us, perhaps we can figure something out!)
There are no docs for this, but the TL;DR for writing a state machine:

you'll need to define the logical type of Order as a Zig struct, like how account and transfer are defined in tigerbeetle.zig
then, in state-machine, you need to turn this Zig struct into a bunch of on-disk LSM trees. This is how it is done for transfers: https://github.com/tigerbeetle/tigerbeetle/blob/main/src/state_machine.zig#L227-L266
finally, you need to write your fn prefetch (which deals with disk IO) and fn execute (which is a synchronous CPU-only business logic)

You might find the two state machine useful:

mini state machine we use for testing: https://github.com/tigerbeetle/tigerbeetle/blob/main/src/testing/state_machine.zig
The actual production state machine: https://github.com/tigerbeetle/tigerbeetle/blob/main/src/state_machine.zig

Of course, you'll have to build your own copy of TigerBeetle from source.
For the internal docs, we have
https://github.com/tigerbeetle/tigerbeetle/tree/main/docs/about/internals
but they mostly talk about the internals of consensus&storage engine, things you actually don't want to touch for a custom state machine!

Thanks a lot, I will try some things :)


Fix issues running into github rest api limits

I like the idea of this project, but I've starred a few days ago and still not received any stars back!

Hi @arthurauffray thanks for starring the repo.  I've ran into github api limits that is preventing the bot giving out more stars.  I would like to take steps to limit the amount of requests such as setting up webhooks when starred instead of polling, but I'm not sure when that will happen.  In the mean time, I've made star bot star your repos manually.

Ah I see, no worries and thanks. How often are you checking for new stars?


Define log levels for use with klog.V

based on: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-instrumentation/logging.md
Signed-off-by: Miguel Angel Ajo<EMAIL_ADDRESS>

/retest

/test verify


Crash in AKMidi() openMIDIIn()

Using your midiMonitor project:
MIDI Enabled
created client
Opening MIDI In
SourceCount: 3
MIDI Inputs:
midiIn at Session 1
midiIn at Gorges Midi Keyboard #1
midiIn at Gorges Midi Keyboard #2
MIDI Destinations:
Destination at Session 1
Destination at Gorges Midi Monitor
Opening MIDI In
SourceCount: 3
fatal error: Array index out of range
I updated the viewDidLoad() thusly:
override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view, typically from a nib.

        midi.openMIDIIn("Session 1z")
        midi.addListener(self)

        midi.printMIDIInputs()
        midi.printMIDIDestinations()

        midi.openMIDIIn("Gorges Midi Keyboard #1")
        midi.openMIDIOut("AK.Midi.out")
    }

Specifically here:
public func openMIDIIn(namedInput: String = "") {
        print("Opening MIDI In")
        var result = OSStatus(noErr)

        let sourceCount = MIDIGetNumberOfSources()
        print("SourceCount: \(sourceCount)")
        for var i = 0; i < sourceCount; ++i {
            let src = MIDIGetSource(i)
            var inputName: Unmanaged<CFString>?
            inputName = nil
            MIDIObjectGetStringProperty(src, kMIDIPropertyName, &inputName)
            let inputNameStr = (inputName?.takeRetainedValue())! as String
            if namedInput.isEmpty || namedInput == inputNameStr {
                midiInPorts.append(MIDIPortRef())
                result = MIDIInputPortCreateWithBlock(
                    midiClient,
                    midiInName,
                    &midiInPorts[i],
                    MyMIDIReadBlock)
                if result == OSStatus(noErr) {
                    print("created midiInPort at \(inputNameStr)")
                } else {
                    print("error creating midiInPort : \(result)")
                }
                MIDIPortConnectSource(midiInPorts[i], src, nil)
            }
        }
    }

This line:
                   &midiInPorts[i],

Note that the line its crashing on in the VC:
midi.openMIDIIn("Gorges Midi Keyboard #1")

Is for a midi input device that actually exists on the device, while:
midi.openMIDIIn("Session 1z")

Does not exist!

Hi,  this is going to be hard to debug because it is specific to your system, but I can try to replicate a similar situation over here.

Nah it's easy. Just run an App that creates a virtual source / destination then add those few lines to your demo with the names adjusted as necessary and your'e done.

I'm getting the same crash. Is there an update to this?

I'm not able to reproduce this.  Can someone provide exact steps to making this happen on any system?

Actually I finally see this error so I think I should be able to fix it.

Should be fixed on the develop branch:
https://github.com/audiokit/AudioKit/commit/7d00ba80c31b916e096d8097f7e7ca5026f719e9


EDIT to existing Las Vegas message

Hello, can you please remove the information fields at the bottom of the email to Las Vegas city Council so that you are only asked to enter your name? I feel that address, email, and phone number is more information than some may be willing to provide and I do not want to deter anyone from sending the email. Thank you so much!

Residents are also asking, if possible, that the word “education” be added to this section so that it reads as follows .. “I ask that you redirect the majority of the $174M allotted for crime prevention towards community programs that provide citizens with basic human needs like affordable healthcare, housing, and education”
THANK YOU you guys are SO cool

on it now. I am not removing the address, email, and phone number section because doing so would not be in accordance with the email style guide we use.


Save Progress - notes Set up your local development environment, Run a starter reacr app

Save Progress - notes Set up your local development environment, Run the create-react-app npm package , Built a starter React app on your local machine,    Served that starter React app in your browser
Created Notes folder, to save notion notes.

looks good. message has details. and the commit has the files


Accept babel-features.options() output

It would be fantastic if there is an option to pass in the output of require('babel-features').options()
or perhaps a way to generate plugins array given babel options.

Looks like you can just pass them directly to the options. https://github.com/hax/babel-features#use-babel-register
Please use Stack Overflow for support questions.


Solve Issue #Dp 321, Dp 322 - Organisation name and description field text is getting delayed to display user input.

@Nilesh5995 need demo. I dont see any change done that will fix the issue


Added example icon

This is great! Ideally we can link this to either your repository or somewhere for folks to download the design files.

Good call; I'll link to the design files in my repo when I switch over.


SWA (Stochastic Weight Averaging) bug

🐛 Bug
When I turn on stochastic_weight_avg, the trainer crashes with the following stack trace. If I do not use stochastic_weight_avg, everything works fine.
 File "main.py", line 74, in main
 trainer.fit(model, data)
  File "/home/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 458, in fit
    self._run(model)
  File "/home/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 710, in _run
    self.call_hook("on_before_accelerator_backend_setup", model)
  File "/home/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 1229, in call_hook
    trainer_hook(*args, **kwargs)
  File "/home/lib/python3.7/site-packages/pytorch_lightning/trainer/callback_hook.py", line 40, in on_before_accelerator_backend_setup
    callback.on_before_accelerator_backend_setup(self, model)
  File "/home/lib/python3.7/site-packages/pytorch_lightning/callbacks/stochastic_weight_avg.py", line 142, in on_before_accelerator_backend_setup
    self._average_model = deepcopy(pl_module)
  File "/home/lib/python3.7/copy.py", line 180, in deepcopy
    y = _reconstruct(x, memo, *rv)
  File "/home/lib/python3.7/copy.py", line 280, in _reconstruct
    state = deepcopy(state, memo)
  File "/home/lib/python3.7/copy.py", line 150, in deepcopy
    y = copier(x, memo)
  File "/home/lib/python3.7/copy.py", line 240, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "/home/lib/python3.7/copy.py", line 180, in deepcopy
    y = _reconstruct(x, memo, *rv)
  File "/home/lib/python3.7/copy.py", line 306, in _reconstruct
    y = _reconstruct(x, memo, *rv)                                                                                [0/43397]  File "/home/lib/python3.7/copy.py", line 306, in _reconstruct
    value = deepcopy(value, memo)
  File "/home/lib/python3.7/copy.py", line 180, in deepcopy
    y = _reconstruct(x, memo, *rv)
  File "/home/lib/python3.7/copy.py", line 280, in _reconstruct
    state = deepcopy(state, memo)
  File "/home/lib/python3.7/copy.py", line 150, in deepcopy
    y = copier(x, memo)
  File "/home/lib/python3.7/copy.py", line 240, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)                                                                                File "/home/lib/python3.7/copy.py", line 180, in deepcopy
    y = _reconstruct(x, memo, *rv)
  File "/home/lib/python3.7/copy.py", line 306, in _reconstruct
    value = deepcopy(value, memo)
  File "/home/lib/python3.7/copy.py", line 180, in deepcopy
    y = _reconstruct(x, memo, *rv)
  File "/home/lib/python3.7/copy.py", line 280, in _reconstruct
    state = deepcopy(state, memo)
  File "/home/lib/python3.7/copy.py", line 150, in deepcopy
    y = copier(x, memo)
  File "/home/lib/python3.7/copy.py", line 240, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "/home/lib/python3.7/copy.py", line 180, in deepcopy
    y = _reconstruct(x, memo, *rv)
  File "/home/lib/python3.7/copy.py", line 306, in _reconstruct
    value = deepcopy(value, memo)
  File "/home/lib/python3.7/copy.py", line 180, in deepcopy
    y = _reconstruct(x, memo, *rv)
  File "/home/lib/python3.7/copy.py", line 280, in _reconstruct
    state = deepcopy(state, memo)
  File "/home/lib/python3.7/copy.py", line 150, in deepcopy
    y = copier(x, memo)
  File "/home/lib/python3.7/copy.py", line 240, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "/home/lib/python3.7/copy.py", line 161, in deepcopy
    y = copier(memo)
  File "/home/lib/python3.7/site-packages/torch/tensor.py", line 55, in __deepcopy__
    raise RuntimeError("Only Tensors created explicitly by the user "
RuntimeError: Only Tensors created explicitly by the user (graph leaves) support the deepcopy protocol at the moment

Environment

PyTorch Version: 1.8.1
OS (e.g., Linux): Ubuntu 20.04
How you installed PyTorch (conda, pip, source): pip
Build command you used (if compiling from source):
Python version: 3.7.6
CUDA/cuDNN version: 11.1
GPU models and configuration: 2080 Ti x 2
Any other relevant information:

Additional context

Dear @miraodasilva,
Could you provide a reproducible script using the BoringModel ?
Best,
T.C

It appears the issue is caused by using SWA on a model with weight norm. This is because deepcopy does not work for weight norm, as described here https://github.com/pytorch/pytorch/issues/28594 . This is a pytorch issue, not a lightning issue, so I'm closing this. Thanks anyway!


Some weights of EsmModel were not initialized from the model checkpoint

Hi, thank you very much for sharing this great work.
After loading the pretrained checkpoint, I encounter some warnings:
Some weights of EsmModel were not initialized from the model checkpoint at SaProt_650M_PDB and are newly initialized: ['esm.embeddings.position_embeddings.weight', 'esm.contact_head.regression.bias', 'esm.pooler.dense.bias', 'esm.contact_head.regression.weight', 'esm.pooler.dense.weight']

My code is
from transformers import EsmTokenizer, EsmModel
tokenizer = EsmTokenizer.from_pretrained("SaProt_650M_PDB")
model = EsmModel.from_pretrained("SaProt_650M_PDB").cuda()
model.eval()

I want to use the pre-trained model to obtain representation of a protein directly without finetuning, but I'm not sure if missing these weights affects the quality of the obtained representation, e.g., the absence of position embedding weights.

Hi, thank you for being interested in our work!
The absence of some weights is normal when you initialize SaProt, such as position embedding weights or contact head weights, because SaProt adopts Rotary Position Embedding and the contact head was used when we pre-trained SaProt.
Besides, esm.pooler.dense.weight is not supposed to be initialized as we keep the same strategy following ESM-2. You can initialize your model by
'''
model = EsmModel.from_pretrained("SaProt_650M_PDB", add_pooling_layer=False).cuda()
'''
I hope the answer could resolve your problem!

Thanks for your kind and prompt reply!


umlet: 14.2 -> 14.3

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option 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/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: umlet
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: umlet
Partial log (click to expand)
building
no Makefile, doing nothing
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/4mdd1x2q937lj5pg1krshp0vihran2sd-umlet-14.3.0
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/4mdd1x2q937lj5pg1krshp0vihran2sd-umlet-14.3.0/lib  /nix/store/4mdd1x2q937lj5pg1krshp0vihran2sd-umlet-14.3.0/bin
patching script interpreter paths in /nix/store/4mdd1x2q937lj5pg1krshp0vihran2sd-umlet-14.3.0
checking for references to /build in /nix/store/4mdd1x2q937lj5pg1krshp0vihran2sd-umlet-14.3.0...
/nix/store/4mdd1x2q937lj5pg1krshp0vihran2sd-umlet-14.3.0

Feel free to add yourself as maintainer.

I'm not sure if I want to be a maintainer of this package, but I've added myself to the list anyway.


In 711 handle multiple configs - Part 5

dx_run in dx_builder
rename variables

This change is

Hello @Yu-jinKim! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file resources/home/dnanexus/run_workflows/run_workflows.py:

Line 660:80: E501 line too long (81 > 79 characters)
Line 672:80: E501 line too long (92 > 79 characters)
Line 701:80: E501 line too long (81 > 79 characters)
Line 783:80: E501 line too long (99 > 79 characters)

In the file resources/home/dnanexus/run_workflows/utils/dx_requests.py:

Line 736:80: E501 line too long (87 > 79 characters)


InitializeConditions should actually reset the Conditions.

Today InitializeCondition checks whether a Condition exists before resetting it to its initial state: https://github.com/knative/pkg/blob/916205998db9d085aaff357221b208bc89290ea5/apis/duck/v1alpha1/condition_set.go#L334-L342
This is called at the beginning of Reconcile() calls, and at the end we update Status if things have changed.  Early on, we struggled with status updates "touching" the resource and triggering another reconciliation that "touches" the resource (and round and round), but apis.VolatileTime largely mitigated that.
In thinking about how we might change the space of Condition types we expose in a non-additive way, I got to wondering whether we still needed to be so cautious.  In principle, reconciliation should produce a stable set of conditions and our apis.VolatileTime will keep us from updating when all that changes is the timestamps.
To experiment with this, I changed the above to unconditionally set the conditions during InitializeConditions() and cranked up the resync period on our resources to 10 * time.Second, and the Serving resources have remained stable.
This is too risky for 0.5, but we should land this early in 0.6 across the various repos so that it has time to bake.
cc @n3wscott

/assign

There are several imperative uses of lastTransitionTime that we will need to eliminate before we can make this change:

Here we use the last transition time to time out deployments.
Here we use the last transition time to sleep before scaling Revisions to zero.

There may be others as well.

For the former case, we should consider using the creationTimestamp on the resource instead.


Colorize ETD based on its value, not on site remaining percentage

Base this on the configured (via #11) value for showing sites above the fold when their ETD is below X minutes.

Actually fixed since v0.8.211


ISPN-8293 @Group and Grouper are not included in the javadoc

https://issues.jboss.org/browse/ISPN-8293

Merged


Dealloc crash fix for observation

(void)removeObserverForKeyPath:(NSString *)inKeyPath identifier:(NSString *)token;
(void)removeAllBlockObservers;

These two methods could crash because dealloc calls free as soon as it exits.  The dispatch_asynch could cause the removal of the observer after free has occurred.

(NSString *)addObserverForKeyPath:(NSString *)keyPath options:(NSKeyValueObservingOptions)options task:(BKObservationBlock)task;
(void)addObserverForKeyPath:(NSString *)keyPath identifier:(NSString *)token options:(NSKeyValueObservingOptions)options task:(BKObservationBlock)task;

These two methods were added so that you can create a observer that requires one of the options to function properly.

This and some other changes will be rolled into 0.9.5 shortly. Huge thanks for your support!


Stache block and inline nesting waltz

In attempting to use input groups with Bootstrap, I ran into a bug with Stache when a block level element is inside an inline element.
If you want to do something like:

	<input class="form-control" id="test" type="text" can-value="myVal">

		<button type="button" class="btn btn-default" can-click="validateField">Validate</button>

Stache will render like:

	<input class="form-control" id="test" type="text" can-value="myVal">

	<button type="button" class="btn btn-default" can-click="validateField">Validate</button>

Jsbin for visualness: http://jsbin.com/gurezu/1/edit?html,js,output
My thought is that Stache shouldn't really care about HTML spec and should just render elements even if it's not correct. Let the browser handle that part.  The other issue is that there are many different rules and exceptions to nesting and it's a lot of work to keep up with the rules... especially if they change.
I have a fix that works, it removes the closing of inline elements checker: https://github.com/Macrofig/canjs/blob/master/view/parser/parser.js#L97
Really interested to hear thoughts on this as I can see an opinionated Stache would be helpful to some.

So, I believe this is important for HTML like:

First

Second

This way, you don't have to close all your
s.
Seems like this code got pushed and might have found its way into 2.2.7.  Hopefully it won't cause weird problems for anyone.

Whew. Freaked out for a sec. Nope, it still works like you said: https://github.com/bitovi/canjs/blob/master/view/parser/parser.js#L97
To your point, though, if I were to hand write HTML like

First

Second

the browser would attempt to self close them on it's own (sometimes?). But even if it doesn't, I kinda feel like Stache should just render what I give it, as broken as my template could be.
If the plan for Stache is to continue with auto-closing tags then it will need to process more than just inline vs block. There should be checks for all the content categories and their exceptions. That just sounds like a lot of maintenance to me, though. I mean, it would be cool but a lot of work.
The other option is for Stache to render what I give it and let the browser handle the broken parts.

Weird.
Sent from my iPhone

On Jul 28, 2015, at 7:58 AM, Juan Orozco<EMAIL_ADDRESS>wrote:
Whew. Freaked out for a sec. Nope, it still works like you said: https://github.com/bitovi/canjs/blob/master/view/parser/parser.js#L97
To your point, though, if I were to hand write HTML like
First
Second
the browser would attempt to self close them on it's own (sometimes?). But even if it doesn't, I kinda feel like Stache should just render what I give it, as broken as my template could be.
If the plan for Stache is to continue with auto-closing tags then it will need to process more than just inline vs block. There should be checks for all the content categories and their exceptions. That just sounds like a lot of maintenance to me, though. I mean, it would be cool but a lot of work.
The other option is for Stache to render what I give it and let the browser handle the broken parts.
—
Reply to this email directly or view it on GitHub.

HTML like:

First

Second

is valid html.  We should handle it appropriately.

Why is this a 3.0.0 issue, would it be backwards incompatible?

it would.  Currently, inline elements like
First
Second

Gets turned into:
First
Second

This would probably change it to something more like:
First
Second

Closing for: https://github.com/canjs/can-view-parser/issues/3


Previous filename remains after upload

After uploading a file, the filename of the uploaded file remains, so the next step isn't evident. Strong recommendation, after a file is uploaded, the button changes to Choose a File. See:

I'll have a look at that, thanks for reporting the issue 🎆


any support for a toggle with more than 2 settings?

any way to use this library to display a toggle with 3, 4 or 5 "states" instead of just two?

nope, it has only 2 states (on/off) 😄

This would have been great to have at least 3 states.


SSL/TLS Support for Redis Connections

Is your feature request related to a problem? Please describe.
The package currently lacks support for SSL/TLS encrypted Redis connections, which is crucial for secure data transmission, especially given that Redis has supported SSL/TLS since version 6.0.
Describe the solution you'd like
I propose adding SSL/TLS connection support, including:

An enablement option for SSL/TLS.
Configuration for SSL/TLS parameters (CA certificate, client certificate/key).
Server certificate verification.
Guidance in the documentation on setting up secure connections.

@100tomer thanks for such a thorough feature request 🎉
Agreed we should add SSL/TLS support. Whats your thoughts if we should wait as there is plans later this year to move to the standard redis adapter.

@100tomer thanks for such a thorough feature request 🎉
Agreed we should add SSL/TLS support. Whats your thoughts if we should wait as there is plans later this year to move to the standard redis adapter.

I really love this package so I would love if it can be added soon. Currently it's not stopping me from continue creating in my new OpenSource platform but it soon will (when I'll publish it)

@100tomer - thanks and I think the first thing is to move to the standard redis adapter instead of ioredis. That is pretty significant work and we might be able to do this after the v5 updates and moving to ESM.

upvote

@100tomer - we are starting on this work and will follow it #1119


Any way to adjust for PDF files loaded in Chrome?

This is an amazing tool. There are times when I can't download a PDF, but want to capture the PDF in screenshot form.

Hi @lcs207 , if you’re hoping to scroll and capture a PDF that you’re viewing in the browser, they are rendered in a special way that leaves them unscrollable by the extension (or any JavaScript on the page). If it’s something else, you can reach out to the support feature in the extension for support on the current web store version of the extension (the flag icon at the top of the page after taking a screenshot). This is the original open-source repo for the project, which I’ve left available for posterity and as a resource for others!


tmp: remove badges from the readme

Short description of what this resolves:
Changes proposed in this pull request:

Fixes #

/test openshift

@bartoszmajsak: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
c6c20cc57ef3bb4d3e92db5e8a7cfec1b78e3310
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Fix a segfault in rest_collection

It occurrs when the object is destroyed before threads have finished
running. I added a counter and a condition variable to have the dtor
wait for them before dtoring.

One bug with that fix: If the thread crashes before the counter can be decremented, the program will hang there.

We are getting closer to a fix.
Deferring to Jeremy to confirm that such an approach can work.

Bravo for the diagnosis @FinchPowers .  It doesn't entirely fix the problem (I have a testcase that still triggers an error, although less frequently with your patch).  I'm working on a better fix.

@FinchPowers FYI.

Looking forward to see that merged into master.


Create button doesn´t work with IE

Anthony Howeanhowe
Hi Everyone, under Internet Explorer, in Marathon UI, when you go to create a new , it looks like the  "+Create" button doesn't click

I've just done some testing and it doesn't look like it's a 0.13 problem in any recent IE version. I would guess 0.11 or earlier.

Confirmed, Marathon UI version is 0.11.2. It occurs in IE11 on Windows Server 2012.

To reproduce:

open developer tools in Internet Explorer
click the + New App button
enter a valid ID and cmd in the app modal
click the + Create button

Note that the app is not created, and an error appears in the console.


tensorflow.python.keras.layer.input_spec  should be replaced with tensorflow.keras.layers.InputSpec

https://github.com/tensorflow/tensorflow/issues/59863

it caused the bert-for-tf2 cannot run on tensorflow-2.6.0 on python3.9


Fix directions re-render issue

As stated in some issues, directions can break if you subsequently update more than 1 attribute there. For example if you change destination and waypoints it will break at some point. This is caused by miltiple setDirections() calls. I resolved it by creating a request stack with a 20ms window. That should be enough to handle simple routes with Google's limit of 10 joints.
Reports:

https://github.com/allenhwkim/angularjs-google-maps/issues/839
https://github.com/allenhwkim/angularjs-google-maps/issues/618

I am not trying to cancel the timeout, but instead I want to destroy an instance of that timeout after it's been executed. I can add $timeout.cancel(); but that wouldn't mean that I won't need to set my timeout to undefined afterwards. There is a way to check if a timeout has ended by checking $$state property, but that's considered a bad practice, so I thought the best workaround would be to simply set it to undefined. If you could help me find a better way of checking for a completed timeout I would be glad to improve this part of code.
Also I don't really know if I should update builds or include them in the pull request. They occasionally got into it, but I need to know if I should add them in the next commit.


rest connector

A rest connector that calls some trader api backend using either

handcoded cxf-rs library
rest component in camel with camel-http4 or camel-undertow
some manual POJO/json mapping via jackson

There is a get / place trade now. The missing is the buyers recommendation

We have rest connectors now. Will build an example to use them and see how they do at runtime


Unsafe Usef public key distribution

Public keys are currently distributed by means of DNS entries on public DNS servers.
The problem is that those DNS servers can easily be spoofed with today's tools. An attacker can easily set up a rogue DNS server with his own public key on it. Inducing the other participants in the false assumption they are conversing with a legit USEF participant.
That's the reason the original spec was based on DNSSEC - using a secured DNS server.
The current situation is good enough for testing. But for production this should be different.

Your statement about DNS/DNSSEC is true, but we think this is a deployment issue. DNSSEC cannot be part of the RI itself, therefore it cannot be solved in the RI. However, to be 100% USEF compliant, the use of DNSSEC is mandatory, making this less of an issue.


Hugo: Added TypeScript and SCSS linters

This includes:

Installing eslint + config
Installing stylelint + config
Adding linter scripts
Running auto fix lint scripts

For https://linear.app/usmedia/issue/CUE-148

If the linter errors that can't be autofixed aren't that many we can maybe also fix them within this commit?

https://review.gerrithub.io/c/cue-lang/cuelang.org/+/550647

Closes 9ec7964 as merged.


Use in Browser

I've been trying to get this to work in a webpage today and I've been failing, has anyone tried recently? I think I've gotten all of the Node.JS fallbacks working but it seems to be hung up on the usage of Buffer in yauzl and I'm stumped
And then I think I need to load the pack from a blob? I'm also wondering if I can use Minecraft's JAR as a pack.

Yep, I've got it working.
https://github.com/John-Dean/MCGame
Using "webpack": "^5.73.0"
Config file here: https://github.com/John-Dean/MCGame/blob/98128f3b2bd13a486eb87c1427b5ecbeba9e1a83/packaged/config/webpack.browser.js

In readme, there is a table in the section named Active Packages. The last column of the table should tell the environment.


Would like to be able to lint perf-patterns in dart:html

Would close https://github.com/dart-lang/angular/issues/1380.
Here is a quick summary to avoid having to click on the link:

Some DOM APIs aren't safe to use synchronously.
We'd like more tools, not rules. This one should be easily lint-able.
Here is some sample code we'd like to lint:

import 'dart:html';

void doSomething(Element e) {
  // LINT: forced_synchronous_layout
  final offsetHeight = _e.offsetHeight;
  if (offsetHeight > 100) { ... }
}

Unfortunately, we lack the ability to implement this in AngularDart:

We can't add annotations to dart:html explaining what methods cause FSL.
We aren't sure this can live in package:linter, or not (could be wrong)

We could add annotations to dart:html.  Not sure that's the right solution though.  @terrylucas

Ping as I think this fell off / was not triaged.

Ping @vsmenon any ideas how we can do this?

@matanlurey Assuming you could change dart:html to your heart's context, what do you think a good solution would be?  Annotations?  Removing 'dangerous' APIs?  Making APIs like offsetHeight async by default?

I'd have to talk to interested folks and get feedback other than my own, but from my POV:

Add annotations to APIs that cause side-effects (i.e. @forcesSyncLayout)
Add a lint that triggers on these APIs (i.e. avoid-forced-sync-layout)
Add an annotation or convention to disable the lint applying

i.e. @allowSyncLayout or T allowsSyncLayout<T>(T Function() f).

I am totally open to other ideas, though.


Create sorted.py

What does this PR do?
Add resource(s) | Remove resource(s) | Add info | Improve repo
For resources
Description
Why is this valuable (or not)?
How do we know it's really free?
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[ ] Read our contributing guidelines.
[ ] Search for duplicates.
[ ] Include author(s) and platform where appropriate.
[ ] Put lists in alphabetical order, correct spacing.
[ ] Add needed indications (PDF, access notes, under construction).
[ ] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Not a valid contribution. Please review the CONTRIBUTING.md for guidelines on making valid contributions.

Closing as this is not a new book or course.


CI: cargo-check-benches: don't merge in master if base ref isn't master

Fixes CI failures like that (from https://github.com/paritytech/substrate/pull/14070).

lgtm; alternatively, if we want the merge to happen even in these cases, we could just fetch from github instead of gitlab.


Newer versions of NUC bios may prevent booting on balenaOS

[shaunmulligan] The version that works is: DNKBLi5v.86A.0055.2018.0921.1432. The versions that don't work: DNKBLi5v.86A.0063.2019.0505.1714 and the latest 0067 version from the Intel website.

[shaunmulligan] This issue has attached support thread https://jel.ly.fish/#/2fdae827-05aa-49ca-9933-6e2b45e82899


Docs(web-twig): Introduce ButtonLink story refs #DS-247

Coverage: 96.172%. Remained the same when pulling 61b102bba4774966da9f8286c5fc6d01106985fa on docs/web-twig-button-link-story into 11aac673501d7ca33807ceb73bf23d71f50eaa2a on main.


Add memoizedFlowRight + aliases + consistency cleanup

Hi, I added a memoizedFlowRight for people who like right-to-left composition.
In ramda & other libraries, right-to-left composition is called compose, and left-to-right composition is called pipe. I figured it would be nice to have memoizedCompose and memoizedPipe here as aliases.
Other than that, I just cleaned up some tiny formatting inconsistencies I saw.
Please, let me know if you are okay with some changes and not others. I can remove pieces if you don't like certain things.

No prob. I just wanted a memoizedCompose mainly, because I usually use right-to-left. :)

Ok. Give me few moments to add tests for both of them, and that's done.

Looks like we need to add typescript definitions also?

I think it would be cool to add a right-to-left variation everywhere you have a left-to-right version of composition. So, yeah, that would be nice.
You don't have to have the memoizedCompose and memoizedPipe aliases. I just added them because that's the terminology I'm more familiar with. I actually think lodash offers compose and pipe aliases too, but I can't remember. Right-to-left is also called compose in most functional programming languages, although that's strictly f . g = x => f(g(x))... so, R.compose and _.flowRight are really more like composeAll. :P
Anyway, the naming isn't too important if you don't like having aliases, as people can just alias them themselves when importing if they want to, but yeah it would be call to have a right-to-left version of MemoizedFlow.
I wonder if a better name could be used since what you're doing is a little different? It's more like compose + merge. Hmmmm...

mergeLeft, mergeRight / bearLeft, bearRight :)


Add Level 2 Example

Moved over from a comment on my blog:
"
First, I would like to thank you for creating MetPy. It is awesome. I looked everywhere for a python module that would work in python 3 and read these level II files I have.
I'm still intermediate in Python and a lot of MetPy is a bit above my head. You posted an example of how to parse and display data from a level III file that was very helpful, but the variables available in level II files are different. Could you please post an example of how to do this with a level II file? That would be awesome.
Thanks!
"

Ryan,
Thanks again for doing that! I use these level II data to monitor storms in south central Utah so I can predict where flash flooding will occur. I try to document as many floods as I can in the area. I had been using data that the NWS bakes down and dishes out in .gif files. They are quite low resolution and the servers are very unreliable. I found a feed of level II data and was using the Climate Toolkit to convert it into images I can use. I am hoping to use MetPy to read the base scans and export them to images so the process is more automated and friendly when I am out in the field. Thanks for pointing me in the right direciton!
Cheers!
David Rankin

How does #48 work for you? (You should be able to view the notebook on github to see the results.)

I'll also warn you that (as revealed by the example) the API that exists is really low-level. I've opened #49 as a reminder that we need to add a better one.

Thanks, I'll test it out this evening!

I'm having a hard time figuring out how to plot just one scan, the REF base level scan.

Thanks. All is working great!

Awesome, glad to hear it.


Enabling streaming stops prefix from working

If streaming is enabled, the prefix entered in settings is not used.

should be fixed in the new release

This is once again an issue. Streaming disables prefix.


"Large onboarding screen" should give the user the same information as the Tablet

I am working on this in another project currently

The model is comlete, but the functionality aspect of the screen will be added once the new tablet UI is closer to finished

the UI implementation is done in #156
The current #53 issue is about the information that is to be displayed on the screen.


Drop mz_n_photos property from places layer

@zerebubuth, @nvkelso: could you review please?

:+1:


bart summarization ORT+DeepSpeed extensions

written by Han, I'm just doing the fun migration part :)

Codecov Report

Merging #28 (5a7e2e7) into main (80590b2) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #28   +/-   ##
=======================================
  Coverage   73.10%   73.10%
=======================================
  Files          20       20
  Lines        1372     1372
=======================================
  Hits         1003     1003
  Misses        369      369

Flag
Coverage Δ

unittests
73.10% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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 80590b2...5a7e2e7. Read the comment docs.


Update Project Version in README.md via Maven-plugin

Actually - how would this work? Seems to not be trivial, and would also require a source and target README.md and index.md. Doesn't seem to be worth it...


ensure impl is not nil

I cannot reproduce the error with example code at the moment. But under certain circumstances d.impl can be nill.

Related to #24


Unable to login to file manager using Firefox

When using firefox (on Linux), the login process fails. The only error I can see is in the JS console:

Same credentials work in Chrome and Safari (on Mac)

I'll try to reproduce this.

Which is the version of FF? I'm not getting that error here.

It's version 54.0
Build identifier: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0)
Gecko/20100101 Firefox/54.0
Jeremy Davies
+44(0)7957 743 743 |<EMAIL_ADDRESS>| www.astondavies.co.uk |
linkedin https://uk.linkedin.com/in/jeremyricharddavies
Aston Davies Limited
Aston Cottage, 33 High Street
Great Cheverell
Devizes
SN10 5TH
Registered in England No. 09408731
On 28 July 2017 at 18:54, Henrique Dias<EMAIL_ADDRESS>wrote:

Which is the version of FF? I'm not getting that error here.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hacdias/filemanager/issues/170#issuecomment-318721099,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXK9H1QtnF16sUZMkr73OMag6KsYwsunks5sSiBsgaJpZM4OmxS_
.

I'm also using FF 54.0 but I don't receive any error at all. Could you try on another computer with FF, please? Or eventually try to clear the cache (although I don't think it would solve, but we never know).

I have tried another computer (my laptop with FF and linux mint) and I get
the same error.
I can create a user on my server for you to test if you like? I will send
you the credentials directly to your e-mail.
Jeremy Davies
+44(0)7957 743 743 |<EMAIL_ADDRESS>| www.astondavies.co.uk |
linkedin https://uk.linkedin.com/in/jeremyricharddavies
Aston Davies Limited
Aston Cottage, 33 High Street
Great Cheverell
Devizes
SN10 5TH
Registered in England No. 09408731
On 29 July 2017 at 11:44, Henrique Dias<EMAIL_ADDRESS>wrote:

I'm also using FF 54.0 but I don't receive any error at all. Could you try
on another computer with FF, please? Or eventually try to clear the cache
(although I don't think it would solve, but we never know).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hacdias/filemanager/issues/170#issuecomment-318820272,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXK9H4DBRKISx14zovnfoaQLm9vZX3hOks5sSw0hgaJpZM4OmxS_
.

Yes, please<EMAIL_ADDRESS>

Strange... I get the same error on FF here. But when I download from caddyserver.com I don't get it. Have you built it manually or downloaded it?

Oh, wait. I think I know what the problem might be: the characters in the password!

I downloaded it yesterday
Jeremy Davies
+44(0)7957 743 743 |<EMAIL_ADDRESS>| www.astondavies.co.uk |
linkedin https://uk.linkedin.com/in/jeremyricharddavies
Aston Davies Limited
Aston Cottage, 33 High Street
Great Cheverell
Devizes
SN10 5TH
Registered in England No. 09408731
On 29 July 2017 at 13:42, Henrique Dias<EMAIL_ADDRESS>wrote:

Strange... I get the same error on FF here. But when I download from
caddyserver.com I don't get it. Have you built it manually or downloaded
it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hacdias/filemanager/issues/170#issuecomment-318828629,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXK9H6pudLuPZnXOdnGxorCewKWmESVAks5sSyingaJpZM4OmxS_
.

@AstonDavies, could you please try disabling the GZIP and see if it works?

It seems FF isn't decompressing the server's response body...

Don't worry. I just fixed it 😄 I'll ping you when this is deployed to the server.

Yes, without gzip it works. Is that a FF issue?
Jeremy Davies
+44(0)7957 743 743 |<EMAIL_ADDRESS>| www.astondavies.co.uk |
linkedin https://uk.linkedin.com/in/jeremyricharddavies
Aston Davies Limited
Aston Cottage, 33 High Street
Great Cheverell
Devizes
SN10 5TH
Registered in England No. 09408731
On 29 July 2017 at 13:56, Henrique Dias<EMAIL_ADDRESS>wrote:

@AstonDavies https://github.com/astondavies, could you please try
disabling the GZIP and see if it works?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hacdias/filemanager/issues/170#issuecomment-318829420,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXK9H9Bud_2z1-c6iYGIB11xONPgNOb4ks5sSyv0gaJpZM4OmxS_
.

I don't think so. I forgot to add the Content-Type to the header of the response. Although, the other browsers decompress it anyway. I'll push the fix and ping you when deployed. Will try to let the new version out today.

Deployed to the caddyserver. Please check if the issues is fixed, please.

Slight issue when installing:
curl https://getcaddy.com | bash -s http.hugo
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  4812  100  4812    0     0   7517      0 --:--:-- --:--:-- --:--:--  7518
Downloading Caddy for linux/amd64...
https://caddyserver.com/download/linux/amd64?plugins=http.hugo
Extracting...
tar: caddy: time stamp 2017-07-29 17:38:15 is 53.083252226 s in the future
Backing up /usr/local/bin/caddy to /usr/local/bin/caddy_old
(Password may be required.)
Putting caddy in /usr/local/bin (may require password)
panic: could not locate box "./assets/"

goroutine 1 [running]:
github.com/GeertJohan/go%2erice.MustFindBox(0xd02f5e, 0x9, 0xc4200f14f0)
	/gopath/src/github.com/GeertJohan/go.rice/box.go:110 +0x94
github.com/hacdias/filemanager/plugins.init.1()
	src/github.com/hacdias/filemanager/plugins/hugo.go:21 +0x48
github.com/hacdias/filemanager/plugins.init()
	src/github.com/hacdias/filemanager/plugins/utils.go:20 +0xfd
github.com/hacdias/filemanager/caddy/hugo.init()
	src/github.com/hacdias/filemanager/caddy/hugo/setup.go:169 +0x70
github.com/mholt/caddy/caddy/caddymain.init()
	src/github.com/mholt/caddy/caddy/caddymain/run.go:237 +0x7a
main.init()
	src/github.com/mholt/caddy/caddy/main.go:15 +0x44
Aborted, error 2 in command: $caddy_bin --version

Sorry 😞

I just downloaded from caddyserver.com and didn't get any error :(

I just downloaded it from caddyserver.com, extracted from the zip and ran it in my local home:
jeremy@zoostorm ~ $ ls -la caddy
-rwxr-xr-x 1 jeremy jeremy 27258339 Jul 29 17:38 caddy
jeremy@zoostorm ~ $ ./caddy --version
panic: could not locate box "./assets/"

goroutine 1 [running]:
github.com/GeertJohan/go%2erice.MustFindBox(0xd02f5e, 0x9, 0xc420137220)
	/gopath/src/github.com/GeertJohan/go.rice/box.go:110 +0x94
github.com/hacdias/filemanager/plugins.init.1()
	src/github.com/hacdias/filemanager/plugins/hugo.go:21 +0x48
github.com/hacdias/filemanager/plugins.init()
	src/github.com/hacdias/filemanager/plugins/utils.go:20 +0xfd
github.com/hacdias/filemanager/caddy/hugo.init()
	src/github.com/hacdias/filemanager/caddy/hugo/setup.go:169 +0x70
github.com/mholt/caddy/caddy/caddymain.init()
	src/github.com/mholt/caddy/caddy/caddymain/run.go:237 +0x7a
main.init()
	src/github.com/mholt/caddy/caddy/main.go:15 +0x44
jeremy@zoostorm ~ $

Deploying... when it finishes it should be fixed. I'll ping you then.

Done!

Sorry. Caddy won't start now...
caddy
Activating privacy features... done.
panic: hugo plugin is already registred

goroutine 1 [running]:
github.com/hacdias/filemanager.RegisterPlugin(0xcfe00b, 0x4, 0xd7ecde, 0x1a80, 0xc420390180, 0x2, 0x2, 0xc4203901c0, 0x1, 0x1, ...)
	src/github.com/hacdias/filemanager/filemanager.go:195 +0x1ae
github.com/hacdias/filemanager/plugins.RegisterHugo()
	src/github.com/hacdias/filemanager/plugins/hugo.go:35 +0x20e
github.com/hacdias/filemanager/caddy/hugo.setup(0xc42042ee10, 0x4, 0xcfe00b)
	src/github.com/hacdias/filemanager/caddy/hugo/setup.go:21 +0x29
github.com/mholt/caddy.executeDirectives(0xc420248c30, 0xd030bd, 0x9, 0x16c1bc0, 0x3c, 0x3c, 0xc4200e3800, 0xe, 0x10, 0x0, ...)
	src/github.com/mholt/caddy/caddy.go:583 +0x570
github.com/mholt/caddy.ValidateAndExecuteDirectives(0x1654520, 0xc42028e000, 0xc420248c30, 0x0, 0x1654520, 0xc42028e000)
	src/github.com/mholt/caddy/caddy.go:533 +0x3bf
github.com/mholt/caddy.startWithListenerFds(0x1654520, 0xc42028e000, 0xc420248c30, 0x0, 0x0, 0x0)
	src/github.com/mholt/caddy/caddy.go:437 +0x6b
github.com/mholt/caddy.Start(0x1654520, 0xc42028e000, 0x1654520, 0xc42028e000, 0x0)
	src/github.com/mholt/caddy/caddy.go:429 +0xe0
github.com/mholt/caddy/caddy/caddymain.Run()
	src/github.com/mholt/caddy/caddy/caddymain/run.go:117 +0x3b7
main.main()
	src/github.com/mholt/caddy/caddy/main.go:13 +0x27

Not your fault. It was mine. Try again pls

:smile: All working now. FF can login with gzip enabled. :thumbsup:

Awesome!


training on multi-gpu

Hi,
I am really new to self supervised learning. I would like to know how do you adjust no.of epochs when you train on multi-gpu.
I am intending to train on ImageNet. Unfortunately, I cannot fit mini-batch of 256 in one gpu. As for as I understand, when I train on 4-gpu, even if I train for 100 epochs, the no.of epochs trained will be effectively 100/4=25 as number of gradient updates will also be divided by 4. Please correct me if I am wrong.
Please let me know how have you accounted for that in your implementation.
Thanks

256 for 8 gpus, that is, each card has 32 images.


Fix typo of dom event.

Currently DOM event key is "domEvent" but named as "domeEvent" in interface. This commit will fix this typo.

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


Feature/flyway

While you're here - in line with CSRS and how we want to do logging going forward, could you add the following to your app.yml and get rid of logback?
logging:
  pattern:
    console: "%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n"
  level:
    root: ${ROOT_LOGGING_LEVEL:DEBUG}
    org.eclipse.jetty: WARN
    org.apache.http: WARN


Handle dropping wait_for_conn

If wait_for_conn is dropped before completing, release will call
wake on a waker that no one is listening on. This leads to a state where
waiting will grow indefinitely while all connections are idle.
To fix this we turn waiting into a queue of unique Weak pointers.
This way if wait_for_conn is dropped the pointer in waiting cannot
be upgraded, we can use this as a signal that we shroud wake the
next one instead.
We get into a similar state will happen if wait_for_conn timeouts.

We have a pending rewrite of the pool implementation that fixed this by replacing the SegQueue with an intrusive doubly-linked list, but that needs more testing for me to be confident in it.
In the meantime, this is a perfectly good fix that we can put out in a patch release. Thanks.

Curious if there's a timeline for a patch release with this fix?

Curious if there's a timeline for a patch release with this fix?


MINOR: AdminClient metadata manager should reset state on failure

If the internal metadata request fails, we must reset the state inside AdminClientMetadataManager or we will be stuck indefinitely in the UPDATE_PENDING state and have no way to fetch new metadata.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@lindong28 Thanks for the review. Please take a look. I've added some missing test cases for AdminMetadataManager and fixed a small bug.

@hachikuji Thanks! LGTM. I reverted two indention changes to make the indention consistent. Merged to trunk.


chore: update all website links about react

Summary

New website of React is online, so some links about react should be also updated in README.md.
Changelog

[GENERAL] [CHANGED] - Update some links about react in readme.
Test Plan

The PR just changes some links in readme, don't need to test.

Thank you for talking a look at this. Do you know if there are any other links within the repo that can / should be updates?
 git grep -l 'reactjs.org' | cat
CHANGELOG.md
README.md
packages/react-native/Libraries/LogBox/UI/__tests__/LogBoxMessage-test.js
packages/react-native/Libraries/LogBox/UI/__tests__/__snapshots__/LogBoxMessage-test.js.snap
packages/react-native/Libraries/Renderer/implementations/ReactFabric-dev.js
packages/react-native/Libraries/Renderer/implementations/ReactFabric-prod.js
packages/react-native/Libraries/Renderer/implementations/ReactFabric-profiling.js
packages/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js
packages/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js
packages/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.js
packages/react-native/Libraries/Utilities/PerformanceLoggerContext.js
packages/virtualized-lists/Lists/StateSafePureComponent.js

Yes, you are right! I should replace it all, thank you.

@leedom92 these changes were looking really good, have you made any progress?

Brilliant, just one small step and it's good to go in.  You'll see that the CI isn't passing:

If you click on the "Details" links, it'll point you to why it's not passing.  Make that change and it's good to go in.  Thank you for your work.

@blakef Thanks for your reminder, I had fixed it.

@blakef I have squashed all commits, and all checks have passed. Thanks again.


Create own Traefik plugin

Private plugin tutorial: https://traefik.io/blog/using-private-plugins-in-traefik-proxy-2-5/
plugindemo: https://github.com/traefik/plugindemo
Video tutorial (Old method): https://www.youtube.com/watch?v=hCYT1aKJORY

Code: https://github.com/kevtainer/uiddemo

Disable graphql introspection

https://github.com/soulbalz/traefik-check-body
https://github.com/helfer/graphql-disable-introspection/blob/master/index.js


Extract Decal and Decal atlas from Storage class

PR that extracts the Decal and Decal atlas into a DecalAtlasStorage class as part of the project to break our storage class up into smaller pieces.

Looks good to me!

Thanks!