[jp] Update custom-resources.md

Make it clear that the main API server delegates request to the user-created API server.
Explanation for API aggregation, not standalone API server.

Related PRs:
https://github.com/kubernetes/website/pull/30405

/assign
/approve
/cc @bells17 @kakts

https://github.com/kubernetes/website/issues/30779 is closed.

The upstream PR is merged.
https://github.com/kubernetes/website/pull/30405

/lgtm


Add Preseason PBP Data

I would love for preseason play-by-play to be released for each season. This will be helpful to develop a preseason ranking and will help to bet for the first few weeks.

2024 update: this is not on our roadmap for this coming preseason, and would require some infrastructure changes that we aren't planning on in the near future


Parser ignores prefix

Hi, I wanted to use it for my twitch chatbot but the parser ignores prefix completely i.e.
<EMAIL_ADDRESS>PRIVMSG # :This is a sample message
The bold part is completely ignored.

Hi, I've added a new record type MessagePrefix which contains relevant information from the prefix. The prefix was previously contained unparsed in the Hostmask property of the message.
The update addressing this is available as a preview package, version 2.0.0-alpha.46 on both GitHub Packages and NuGet.

Thanks it works now(:


New tooltip appear each time render is triggered

Hi Pranav, me again ^^
Actually the first time I integrated the library into my project, I noticed that a new tooltip will be created and display each time the render method of my container is triggered.
In order to avoid this issue I had to change the class extended by RNTooltip from Component to PureComponent.
PureComponent will perform a shallow compare into shouldComponentUpdate method in order to reduce the amount of useless re-render.
This is an easy fix, I can submit a Pull Request for this if you want ?

Thanks @StevenMasini for the effort and sharing the solution.
I believe shared solution is the best approach in order to fix this issue. Please share a PR for the same.
Thanks
</ Pranav >

#11

Thanks @StevenMasini for the effort and PR.
I have merged and released a build with the same. Can you please install and verify the same.
Thanks
</ Pranav >

Well it wasn't much, but I am glad I could help ^^


UV and vertex color interpolation

just forgot to add these to release 20180205

https://github.com/unity3d-jp/AlembicImporter/releases/tag/20180212


Advent of code 17

--- Day 17: Chronospatial Computer ---
The Historians push the button on their strange device, but this time, you all just feel like you're falling.
"Situation critical", the device announces in a familiar voice. "Bootstrapping process failed. Initializing debugger...."
The small handheld device suddenly unfolds into an entire computer! The Historians look around nervously before one of them tosses it to you.
This seems to be a 3-bit computer: its program is a list of 3-bit numbers (0 through 7), like 0,1,2,3. The computer also has three registers named A, B, and C, but these registers aren't limited to 3 bits and can instead hold any integer.
The computer knows eight instructions, each identified by a 3-bit number (called the instruction's opcode). Each instruction also reads the 3-bit number after it as an input; this is called its operand.
A number called the instruction pointer identifies the position in the program from which the next opcode will be read; it starts at 0, pointing at the first 3-bit number in the program. Except for jump instructions, the instruction pointer increases by 2 after each instruction is processed (to move past the instruction's opcode and its operand). If the computer tries to read an opcode past the end of the program, it instead halts.
So, the program 0,1,2,3 would run the instruction whose opcode is 0 and pass it the operand 1, then run the instruction having opcode 2 and pass it the operand 3, then halt.
There are two types of operands; each instruction specifies the type of its operand. The value of a literal operand is the operand itself. For example, the value of the literal operand 7 is the number 7. The value of a combo operand can be found as follows:
Combo operands 0 through 3 represent literal values 0 through 3.
Combo operand 4 represents the value of register A.
Combo operand 5 represents the value of register B.
Combo operand 6 represents the value of register C.
Combo operand 7 is reserved and will not appear in valid programs.
The eight instructions are as follows:
The adv instruction (opcode 0) performs division. The numerator is the value in the A register. The denominator is found by raising 2 to the power of the instruction's combo operand. (So, an operand of 2 would divide A by 4 (2^2); an operand of 5 would divide A by 2^B.) The result of the division operation is truncated to an integer and then written to the A register.
The bxl instruction (opcode 1) calculates the bitwise XOR of register B and the instruction's literal operand, then stores the result in register B.
The bst instruction (opcode 2) calculates the value of its combo operand modulo 8 (thereby keeping only its lowest 3 bits), then writes that value to the B register.
The jnz instruction (opcode 3) does nothing if the A register is 0. However, if the A register is not zero, it jumps by setting the instruction pointer to the value of its literal operand; if this instruction jumps, the instruction pointer is not increased by 2 after this instruction.
The bxc instruction (opcode 4) calculates the bitwise XOR of register B and register C, then stores the result in register B. (For legacy reasons, this instruction reads an operand but ignores it.)
The out instruction (opcode 5) calculates the value of its combo operand modulo 8, then outputs that value. (If a program outputs multiple values, they are separated by commas.)
The bdv instruction (opcode 6) works exactly like the adv instruction except that the result is stored in the B register. (The numerator is still read from the A register.)
The cdv instruction (opcode 7) works exactly like the adv instruction except that the result is stored in the C register. (The numerator is still read from the A register.)
Here are some examples of instruction operation:
If register C contains 9, the program 2,6 would set register B to 1.
If register A contains 10, the program 5,0,5,1,5,4 would output 0,1,2.
If register A contains 2024, the program 0,1,5,4,3,0 would output 4,2,5,6,7,7,7,7,3,1,0 and leave 0 in register A.
If register B contains 29, the program 1,7 would set register B to 26.
If register B contains 2024 and register C contains 43690, the program 4,0 would set register B to 44354.
The Historians' strange device has finished initializing its debugger and is displaying some information about the program it is trying to run (your puzzle input). For example:
Register A: 729
Register B: 0
Register C: 0
Program: 0,1,5,4,3,0
Your first task is to determine what the program is trying to output. To do this, initialize the registers to the given values, then run the given program, collecting any output produced by out instructions. (Always join the values produced by out instructions with commas.) After the above program halts, its final output will be 4,6,3,5,6,3,5,2,1,0.
Using the information provided by the debugger, initialize the registers to the given values, then run the program. Once it halts, what do you get if you use commas to join the values it output into a single string?
The data is located in aoc17.txt
git-bob try to implement this.

There is no output in day17_result.txt. git-bob try again

That's not the right answer. If you're stuck, make sure you're using the full input data.
Again, this is the input data:
Register A: 37283687
Register B: 0
Register C: 0

Program: 2,4,1,3,7,5,4,1,1,3,0,3,5,5,3,0

git-bob try to implement this.


Bump Torii to 0.6.0-beta.3

This PR is an exercise in upgrading a codebase to Torii 0.6.0.
0.6.0 adds a helper for stubbing during acceptance tests, and an authenticatedRoute addition to the routing DSL that simplifies usage for consumers of the Torii session.

Published as 0.0.37.


Reference the kfp-operators bundle in Charmed Kubeflow

The kfp-operators repository contains a bundle file that groups all KFP components, their dependencies, charm configurations, and relations. This information is then duplicated in the canonical/bundle-kubeflow bundle files. This can potentially cause issues with mismatching configurations and outdated information.
Proposal
To use the kfp-operators bundle file to build and publish a bundle that can be referenced when deploying Charmed Kubeflow.
Potenial tasks

Have a bundle file for kfp-operators at the root of this repository
Have a bundle publish job that's based in that bundle file
Point integration tests to that bundle file

This is an interesting idea!
Are you thinking of:

kfp bundle is published to charmhub, then charmed kubeflow's bundle.yaml deploys kfp rather than [kfp-api, kfp-ui, ...]
kfp-bundle.yaml is in this repo, and charmed kubeflow aggregates that bundle file into the main kubeflow-bundle.yaml
something else

Conceptually I like (1), but I don't know if it lets you get the relations correct.  How would you establish relations between pieces of the kfp bundle to things in the kubeflow bundle (like kfp-ui to kubeflow-dashboard)?  I don't think the syntax allows for it.
At a previous company we had a similar problem with dockerfiles, and ended up making a sort of mixin solution where the lower level pieces defined their own parts of the dockerfile and then a top level script aggregated them.  It wouldn't be hard to do the same here where a generate-kubeflow-bundle.py script pulled from a few source bundle.yaml files and created the kubeflow-bundle.yaml


link to the official implementation: https://github.com/ysymyth/tree-of-thought-llm

hi @kyegomez thanks for implementing our work!
as pointed out in https://github.com/ysymyth/tree-of-thought-llm/issues/17, would you mind linking to our official repo in your README.md to avoid any confusion? thanks in advance!

This isn't an issue with the code, but rather your own ego. Please reframe from applying issues non related to the code, we're not here to play politics we're here to improve algorithms, our implementation is radically different from yours almost to the point where it is completely different.

Reputation is meaningless when compared against function and usability,
and no this is OUR implementation of Tree of Thoughts, and this is not very misleading I never said this was THE DEFINITIVE IMPLEMENTATION OF tree of thoughts.
Stop wasting your time and contribute some code that helps if not do not seek conflicts

The response is self-contraditing😅. If you want to claim your repo is "radically different from" the Tree of Thoughts paper, you should not use the title and even the figure from the paper as clickbait.

How?
This happens all the time, this is open source. Everything is open source and free reputation and originality do not exist here.
For example, Lucid does not do this because he is implementing papers under his own name. I am as well. This is Kye Gomez tree of thoughts
https://github.com/lucidrains

@kyegomez imagine how @lucidrains would respond in this situation.

Probably alot nicer @CyrusOfEden if someone did not outright command them to reference their repo. If they had not commanded me we would not be here arguing and wasting time instead of improving the algorithm

@kyegomez I see you did everything lucidrains would do to attribute, but I imagine if he were here that he'd work with @ysymyth to find a common ground.
The winds of the world blow, and it is up to you to adjust your sail. There is a way things flow, and when we don't mind the flow we can find ourselves at odds with the world.
As a builder I appreciate your code more than the original repo. I was even excited to collaborate with you, but now I'm not so sure based on your behaviour.
I believe the better move for the long term game would be to update the README to say something akin to "inspired by Shunyu et al's work on Tree of Thoughts (original implementation here)".
It would be an honourable thing to do mate, you're tarnishing your own reputation right now with your wringing. Take what you have. Play the long game.

@danny-avila
@ysymyth's repo provides 3 specific implementations of tree of thoughts for 3 different games. After 25m it was unclear to me how I would use it in my own projects. It is the code for one of the first of a handful of recent papers that are discovering that guiding the generation of the next token through as a sort of graph search through the possible completions.
Like if you wanted to get an LLM to solve Sudoku, instead of rolling the dice with a zero shot and hoping it'll work, or even adding "let's think step by step", you use the LLM to generate the next number repeatedly, backtracking if the partial solution is incorrect.
The papers are finding that graph search algorithms like Breadth First Search, Depth First Search, and others are a useful "layer of reasoning" to apply on top of LLM generation.
@kyegomez's repo implements BFS and DFS tree of thoughts in a manner where you can upgrade your generative LLM apps to use it. It was quickly apparent to me how I would use it in my projects.

It's a lot easier to simply add a link to the paper's github repo, instead of arguing.

How hard is it to mention the original inspiration for your repository? Even if it's modified (which is what a fork of any project is). You look better to the community when you're transparent about crediting your work.
I really can't believe this had to be stated.
Your work had the potential to create a collaborative community with the original authors and other developers; but that bridge fell and now other developers who stumble across this will have second thoughts about collaborating with you.
Just seems like a disappointment it turned out this way. There's time to make things right by reaching out the him and setting things straight, but I have a feeling that's wishful thinking.

ah hey all, just noticed i was tagged on this
@kyegomez i think what you are doing is valuable work. however, you should empathize with the authors here, as it takes a lot of effort to get to the point of contributing even a single paper. the authors are also staking their future careers on each paper they publish. for their idea to be fairly evaluated in the academic framework, reviewers cannot be misled into thinking this is the official repository. therefore, i encourage you to add a single link to the official repository; that is all that you need to do

@lucidrains I have referenced their implementations in the readme.


Fix security-problem updating jetty

Ref #845

Coverage remained the same at 91.312% when pulling efc8d1383b6d5982f54b1ae0775680544c381120 on takahi-i:fix-secrity-problem into 54250aae6317f7e6ec647f536bbc1b560c13b973 on redpen-cc:master.

Coverage remained the same at 91.312% when pulling efc8d1383b6d5982f54b1ae0775680544c381120 on takahi-i:fix-secrity-problem into 54250aae6317f7e6ec647f536bbc1b560c13b973 on redpen-cc:master.


As a developer, I want to perform continuous integration tests on branches

💪 Motivation
...so that I can be more "test as you fly" to ensure tests pass before merging
📖 Additional Details

Started trying to do this on the DOI Service, but it is failing for whatever reason:
https://github.com/NASA-PDS/doi-service/blob/add_branch_cicd/.github/workflows/branch-cicd.yaml

⚙ Engineering Details

Resolved per https://github.com/NASA-PDS/template-repo-python/commit/91063585df97c219e8a79a7f360089ce80da58e1


DISPLAY for ssh session with X-forwarding

Hi, thanks for the dockerfiles!
I'm trying to test the atom dockerfile in an ssh session. The server got the image configured but running:
docker run -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=unix$DISPLAY atom
returns:
18:0422/154056:ERROR:browser_main_loop.cc(203)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[18:0422/154056:ERROR:browser_main_loop.cc(253)] Gtk: cannot open display: unixlocalhost:10.0

Is there anything else I could do in that case?

Your display variable looks wrong

you are in an ssh session, there is no display, you are headless


Hint for Galois Field doesn’t parse

FWIW, this is what I get from running the WASM version on an iPhone running iOS 15.1:

There’s also a typo later on.  I’m not sure if that’s worth a separate issue:

As you see, native sort is trendously faster, since it is using a very efficient sorting implementation.

It should be “tremendously”.  I’ll post a pull request when I’m in front of my desktop.

Also the tutorial now has an example of cut ^ so perhaps it should have a bullet at the bottom.

I should also mention I found tutorial extremely well written.  Thanks so much for doing this.

I should also mention I found tutorial extremely well written. Thanks so much for doing this.

thank you. yes, some people say it is quite a sweetheart.
sadly, as you can clearly see, it is a perpetual WIP.
thanks for stopping by.

Also the tutorial now has an example of cut ^ so perhaps it should have a bullet at the bottom.

oh, right. could you be bothered to pr a fix?

There’s also a typo later on. I’m not sure if that’s worth a separate issue:

As you see, native sort is trendously faster, since it is using a very efficient sorting implementation.

It should be “tremendously”.

FWIW, this is what I get from running the WASM version on an iPhone running iOS 15.1:

it is a bit of an easter egg :) ascii cast is possible. see if you can figure it out, and suggest a fix :)

Sure.  I’ll post fixes hopefully later today.

Sure. I’ll post fixes hopefully later today.

please also note that wasm build at kparc.io/k is ancient. i recommend using official builds

I still haven’t grokked it yet but changing the final flip to an each makes it work.

I assume it’s related to why the flip of the lists of increasing size became square.
P.S. My battery life is a proxy for seeing how many tries it took.  :D

Sure. I’ll post fixes hopefully later today.

please also note that wasm build at kparc.io/k is ancient. i recommend using official builds

FWIW, I had issues with the npm install which I noted here.

issues with the npm install

sadly, this one is above our head. it is used to work very well, note the past tense.
the time has come to decommission it, thanks for the heads up.

Sure. I’ll post fixes hopefully later today.

please also note that wasm build at kparc.io/k is ancient. i recommend using official builds

would you like to join the conversation on kparc.slack.com?

Sure. I’ll post fixes hopefully later today.

please also note that wasm build at kparc.io/k is ancient. i recommend using official builds

would you like to join the conversation on kparc.slack.com?

Very much so.  Thanks.

would you like to join the conversation on kparc.slack.com?

Very much so. Thanks.
I wasn’t able to log on with that link alone.  Is there a way for me to reach out somehow for access?

would you like to join the conversation on kparc.slack.com?

Very much so. Thanks. I wasn’t able to log on with that link alone. Is there a way for me to reach out somehow for access?

@kelas Is the google group the right place to follow up on this?


sanitize option is undocumented

The newly added sanitize option is not documented in the Tooltip and Popover documentation

It's present in the Tooltip and Popover docs see: https://getbootstrap.com/docs/4.3/components/tooltips/#options
https://getbootstrap.com/docs/4.3/components/popovers/#options
And you also have: https://getbootstrap.com/docs/4.3/getting-started/javascript/#sanitizer
It's the same for our v3.4.1:
https://getbootstrap.com/docs/3.4/javascript/#tooltips-options
https://getbootstrap.com/docs/3.4/javascript/#tooltips-options

It's present in the Tooltip and Popover docs see: https://getbootstrap.com/docs/4.3/components/tooltips/#options
https://getbootstrap.com/docs/4.3/components/popovers/#options
And you also have: https://getbootstrap.com/docs/4.3/getting-started/javascript/#sanitizer
It's the same for our v3.4.1:
https://getbootstrap.com/docs/3.4/javascript/#tooltips-options
https://getbootstrap.com/docs/3.4/javascript/#tooltips-options

Appologies, I was looking at the https://getbootstrap.com/docs/4.1/getting-started/introduction/ documentation - The "This is an old documentation"-warning in the top should be more visible, and the 4.3 documentation should be linked in the dropdown in the top


Z_inx related changes on isac

Introduced a new flag for Z_inx extensions, which is passed through a cli command argument (-ix) when we build the isac execution string. This flag is then consumed across the modules.
fp_dataset - Normalize coverpoint sanitization across ibm models internaldecoder - Floating point instructions have to restrict the 'f' registers only if F or D is enabled on the DUT Also few minor changes are done accordingly to enable Z_inx extensions across the framework
The ran reports are placed here.

The coverpoints need to have the prefix==XXXXX also i.e they need to test whether the values in the source operands are correctly sign extended. Consequently, the tests also should load values which are correctly sign extended i.e load the entire register before performing the operation(instead of lw and so on). Future tests will test that the behavior is unchanged when the source operands are incorrectly sign extended.

This PR is obsolete. Please reopen once its up-to-date.


WIP Make WeightEnum public + cleanups

Towards https://github.com/pytorch/vision/issues/7094

@adamjstewart we're making the WeightsEnum class public - do you need the Weights class to be public as well? A past comment ( following up on https://github.com/pytorch/vision/pull/7107#issuecomment-1387266955) makes me think that you might not need it, but we're happy to expose it if yes.

Yes, we would like Weights to be public too. Otherwise, other libraries can't add their own Weights.
Another issue I noticed during our multi-weight API refactor was that the registration mechanism isn't public so all of the builtin torchvision.models.get_* functions don't work. We basically had to write our own: https://github.com/microsoft/torchgeo/blob/main/torchgeo/models/api.py

Thanks for the feedback - @pmeier  I think this is ready for review - LMK if you think we should add tests. I'd rather leave the docs for another PR one we get more feedback from @adamjstewart , but happy to hear your thoughts.

Another issue I noticed during our multi-weight API refactor was that the registration mechanism isn't public so all of the builtin torchvision.models.get_* functions don't work. We basically had to write our own: https://github.com/microsoft/torchgeo/blob/main/torchgeo/models/api.py

I'll comment on https://github.com/pytorch/vision/issues/6365


optimize api with rtk and added test

Description -

Instead of calling API in useContext, will add API to redux toolkit which do not make unnecessary calls and make it optimized.
Followed TDD approach

Description -

Instead of calling API in useContext, will add API to redux toolkit which do not make unnecessary calls and make it optimized.
Followed TDD approach

Nit:
Can you please connect the issue you are working on?


Add origin field to sources

Added enum "origin": ["received", "observed", "inferred"]

In the examples, the field seems to be an array for a simple string, but it can't be both, right?

Some merge conflicts need to be resolved apparently before merge.


Uncaught Error: Timeout after 60000 for id: 5685, Calling remote method fetchBookmarks..

[Enter steps to reproduce below:]

...
...

Atom Version: 1.8.0
System: Mac OS X 10.11.5
Thrown From: Atom Core
Stack Trace
Uncaught Error: Timeout after 60000 for id: 5685, Calling remote method fetchBookmarks..
At /opt/facebook/nuclide/0.157.34360420/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:144

Error: Timeout after 60000 for id: 5685, Calling remote method fetchBookmarks..
  at Call._timeout (/opt/facebook/nuclide/0.157.34360420/nuclide/pkg/nuclide-rpc/lib/RpcConnection.js:164:22)
  at /opt/facebook/nuclide/0.157.34360420/nuclide/pkg/nuclide-rpc/lib/RpcConnection.js:129:13

Commands
     -1:59.8.0 editor:consolidate-selections (atom-text-editor.editor.enable-nuclide-find-references.is-focused)
     -1:59.8.0 core:cancel (atom-text-editor.editor.enable-nuclide-find-references.is-focused)

Config
{
  "core": {
    "automaticallyUpdate": false,
    "customFileTypes": {
      "source.ini": [
        ".buckconfig",
        ".flowconfig"
      ],
      "source.json": [
        ".arcconfig",
        "BUCK.autodeps"
      ],
      "source.python": [
        "TARGETS",
        "cconf",
        "cinc",
        "mcconf",
        "tw",
        "BUCK",
        "ctw"
      ]
    },
    "disabledPackages": [
      "metrics",
      "fuzzy-finder",
      "tree-view",
      "vim-mode",
      "vim-mode-plus",
      "vim-mode-plus-ex-mode",
      "ex-mode"
    ]
  },
  "editor": {
    "fontSize": 13
  }
}

Installed Packages
# User
haskell-grammar, v0.4.0
highlight-selected, v0.11.2
language-babel, v2.24.4
language-ini, v1.16.0
language-lua, v0.9.4
language-ocaml, v1.1.2
language-thrift, v1.0.2
linter, v1.11.14
linter-lua, v1.0.2
merge-conflicts, v1.4.4
nuclide, v0.158.34712877
tool-bar, v1.0.0

# Dev
No dev packages

This looks like an issue with Nuclide – feel free to reopen there.


Can't find functional component with shallowMount

Subject of the issue
If I mount my component using shallowMount, I can't find functional components inside it.
Steps to reproduce
https://github.com/Djaler/vue-test-utils-functional-components-shallow-mount

Clone repo and install dependencies (npm install)
Run tests (npm run test)

Expected behaviour
Icon component should be found and both tests should pass
Actual behaviour
Icon component not found in both cases

I will have to verify but I believe this is a known limitation, at least with Vuetify's functional components, due to how they are composed. This may (or may not) be the case for all functional components, because they do not have an instance (vm) and are just compiled to regular HTML elements.
The way I've generally handled this is using a data-test selector. Another (potential) problem could be shallowMount - since you stub out the VIcon, you are trying to match VIcon component against a stubbed component, not the original VIcon.
Lots of potential issues, I am not sure which one is the cause here.
Potentially related issues:

https://github.com/vuejs/vue-test-utils/issues/919
https://github.com/vuejs/vue-test-utils/issues/1272

I have tried to solve this many times before and had no luck, I'm sorry but I don't know if I will be able to look into this one. Vuetify and shallowMount have cost me many hours.
If you find a work-around, please post here so others can benefit.

I find a way how to fix find by component constructor (first case in my example). The cause of the issue was the fact that original VIcon component used in tested component is differ from component imported in test. That's because of strange vuetify setup. (check this commit https://github.com/Djaler/vue-test-utils-functional-components-shallow-mount/commit/b4aa8177ad3f917c11a5cb09b0bf9dca35bfbb90)

Also, I have a fix for second case in my example - find component by name. Check this #1817

Fixed in #1817

Can you release this, please?

https://github.com/vuejs/vue-test-utils/releases/tag/v1.1.4

is this fix applied to vue test utils version 2 (for vue3) as well?

It should work with VTU v2 just fine, please file an issue in that repo if it does not.


Added toggle AP keybinding

Keybind is empty by default (let the player decide what key they want)
Additional placement is enabled by default (to keep it working as it is now)
~Added a config option to change that (needs a better description!!!! (help))~ I think this is understandable
Keybind is part of the Misc category, could make a mod specific category but I don't see the point of that for only 1 keybind

I looked at how your implementation works and while it wasn't the best I did go ahead and do my own implementation. The only code I borrowed from this was for the actual setup of the network handling, and even then it's fairly different in the final product, but I figured you would want to know at least.
Keybind has been implemented as of:
Forge 1.16.5: https://github.com/FirEmerald/AdditionalPlacements/commit/48baf88333cd5e629aab52f29e77461cd2d8b76f
Forge 1.18.2: https://github.com/FirEmerald/AdditionalPlacements/commit/b55dc749aacfd5a936a88b07bd23b8af61410c91
Fabric 1.18.2: https://github.com/FirEmerald/AdditionalPlacements/commit/9f943d38b28b35636d1296601b90255efc6cad6e
Forge 1.19.2: https://github.com/FirEmerald/AdditionalPlacements/commit/248131bb610d9a5ea9b602c4ed07a22ae20925ce
Fabric 1.19.2: https://github.com/FirEmerald/AdditionalPlacements/commit/5de479f40ee260d87e09d3040b71c3b2abddc965
Forge 1.19.4: https://github.com/FirEmerald/AdditionalPlacements/commit/cf623a5b5689dcfef4f564b8c329d7a0874fc68e
Forge 1.20.1: https://github.com/FirEmerald/AdditionalPlacements/commit/e11e53a1067e85179e383430700e3d39834babf7
Fabric 1.20.1: https://github.com/FirEmerald/AdditionalPlacements/commit/c7eb138c16e44870b097795d1424d227940c39a4
Forge 1.20.2: https://github.com/FirEmerald/AdditionalPlacements/commit/edb6c47a0cb9b91c920479c71aa40348cb4d4127
Fabric 1.20.2: https://github.com/FirEmerald/AdditionalPlacements/commit/736f8a5d5aaa881dabdf599deda30d1d6b606616


Fix cosmos SQL template tests failing due to KeyVault secret failure

Fix #697
As part of bicep refactor, KeyVault was migrated from a resource to a bicep module. keyVault.Name now refers to the module name, whereas keyVault.outputs.keyVaultName is the actual KeyVault name created.

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-csharp-sql
Remote: azure-samples-staging
Branch: pr/762
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql -b pr/762

View Changes | Compare Changes


Dev code revision

I and @J-Jullaphong reformated our code to follow the coding standard we used.

Look good. It ready to merge.

Looks great! Very well done!


Update Chinese Translation for Etterna 0.66.1 & Widely Enhance General Translation Support

Planning on translating ColorConfig next.
Also formalized some translations to make everything consistent.
For those who are interested in what I did for consistency
不考慮翻譯 No Translations for these

BPM
NPS
COMBO 連擊，但是擊的顯示有問題 (Can be translated but '擊' isn't displayed correctly)
CPU
StepMania
遊戲模式類 Gamemode related
成績類 Score related
考虑不翻译MSD難度相關 Maybe MSD/difficulty related

Tabs

General 信息
MSD 譜面難度
Scores 分數
Search 搜索
Profile 個人資料
Filters 篩選
Goals 目標
Playlists 歌單
Packs 曲包
Tags 書籤

Mods

modifier	特效
attack		干擾，為了和特效區分開
Receptor	判定區
notefield	下落區
Appearance	按鍵顯示
Sudden		突現
Hidden		消失
Blind		盲打

General

Click 點擊->點此，因為擊有顯示問題
Exit		離開
offset		偏移値
on			開
off			關
Course		組曲
Group		曲包
Autoplay	自動遊玩
profile		個人資料
UI			用戶界面
option		選項
server		服務器
random		隨機
preference	個人偏好選項
package		整合包
window		窗口
fullscreen	全屏
noteskin	按鍵樣式
arrow/note		按鍵
Combo Break	斷連
Replay		回放

Sorts

Preferred	喜愛
Favorites	收藏

Scores

PB			個人最佳
High Score	最好成績

Difficulty, used old 3.95 standard

Beginner	習
Easy		樂
Medium		踊
Hard		激
Challenge	鬼
Edit		編

RadarValues

Air			雙鍵
Chaos		變化
Freeze		長鍵
Stream		流動
Voltage		密度

Taps		按鍵數
Jumps		雙鍵數
Hands		多鍵數
Holds		長鍵數
Mines		地雷數
Rolls		連鍵數
Lifts		離鍵數
Fakes		假鍵數

MSD

Overall			綜合
Stream			單鍵
Jumpstream		雙鍵
Handstream		多鍵
Stamina			耐力
Jackspeed		速疊
Chordjack		大疊
Technical		技巧

FailTypes

Immediate 立即結束
ImmediateContinue	繼續遊玩
FailAtEnd			歌曲結尾
Off	關

Custom Gameply

I went ahead and set up the ability to translate basically everything on SelectMusic and the Pack Downloader. I think it's about time the game could be fully translated. There's still a bit to do but that hits most of the bases.
Still to do are the abilities to translate the help (F12) page and the customize gameplay info.
Also need to add a translation string for the chat overlay.
Also need to add a translation string for the Select Profile title in the top left.
Also need to add translation strings for Asset Settings.
Also need to add a translation string for the Player Options title in the top left.
Also need to find a way to easily translate difficulties.

At this point all that needs to have translation support added that I am aware of is:
Color config
Tiny gameplay stuff
Customize Gameplay Explanations
Tip screen (F12)

All that remains is:
Color config
Difficulties (we may save this for the future)

Asset Settings & FFWD/Rewind button still need translation support.
Will look into these tomorrow.

epic
As a note for testing which you may or may not have noticed: some strings do not reload when changing language unless you restart the game. The reason for this is because they are sitting in scripts. Particularly, the strings that follow this behavior are the skillset and radar value strings. If you switch languages while testing (though you shouldn't need to do it at this point) use Ctrl+F2 to reload scripts.
Everything looks good so far.

Missing support for now (As to my knowledge):
Color Config

Color Config Done.
Need to check for undisplayable characters and missed strings.

Found some Strings in cpp files, will try to look into those later.

Name Playlist when creating a New Playlist. Link.
Added chart message header when adding a new chart to a playlist. Link.
Multiplayer login screen. Type Username, Login. Also the option explanation is incorrect becuase it reuses the one for Exit. Link.
Username and Missing/Empty username or password in the following prompt.
Create Room and Create a new room in lobby. Link.
Tab names for Lobby.

Modifier translations may be tough to do. The string that shows here is the string that the game saves and parses to load your mods for every play. Localizing this could get messy. It might have to stay untranslated for a very-distant-in-the-future rewrite.
I've added translation support for the other stuff mentioned, though.
Also fixed the errant explanations on the login screen. It seems like the way we hid it is by just giving it a blank translation.
Also, I don't think it is a good idea to translate the "Missing/Empty username" string. At least for now. The reason for this is that this string is actually sent in the json response when you try to login to the etterna multi server. We should probably have it send a code instead and produce a string based on that code. Translating the string directly is probably not a good idea because that string could change at any given moment independent of the game.

I thought we can just change the display, like spliting the modifiers then joining them together. Everything that should be translated is in OptionNames.

If splitting a string by commas is doable easily in Lua (and I'm 99% sure it is) then we can probably do it that way. We would just have to make sure that if no translation is found it doesn't return a blank. Like for the case of noteskins, there is basically no way to have those translated.

I know I should add a new global function for mod translations somewhere...... Is there a Util lua class?

It might fit as a function in the fallback scripts files such as 00 utility or 02 utilities.

Seems like note skins with special characters (space, comma, etc.) in their names will not be loaded correctly, so if that's not a bug then I don't need to fix that.

I think this is good for merge besides one possible thing that might be necessary to do.
The judgments' names are still hard coded in the fallback scripts 10 Texts.lua file. These can be translated as well, if you would like. However it might be better to leave them like this so that we have a solid standard across the game. If translating them is not necessary, then this seems finished. Just needs to be tested a bit to make sure random little things don't cause errors.

Let's leave the judgments out for now. We don't really have typical translations for them. I'd also like to modify color config translations tonight.

Yes, the color config translations can be changed to whatever you want in order to properly describe what each category and option does. It won't affect the actual game.
I will wait for you to say it is ready to merge and then I will test things before merging.

Done I think

Ready for merge after I redo a few of the translation things from the Lua side of things to keep loading the strings consistent and easy to mess with.
Performance impact with this pr seems relatively minor, definitely adds to Screen load time. The impact might be negligible after first load. If testers think it is bad, we will have to find a solution (load every string and distribute them in a more intelligent way than what is being done)


Foreign Fields of List allways null?

Hey there,
When trying to call a Foreign Field out of a MasterDialog, it's allways returning null values for all Foreign Fields in DetailEditor. I guess I'm missing something simple.
So here is my MasterDetailRelation:
		[DisplayName("Modules"), MasterDetailRelation(foreignKey: "Id"), NotMapped]
		public List<ModuleRow> ModuleList
		{
			get { return Fields.ModuleList[this]; }
			set { Fields.ModuleList[this] = value; }
		}
		public partial class RowFields { public RowListField<ModuleRow> ModuleList; }

And if I'm debugging into the MasterRetrieve method and calling the Entity all Foreign Fields give me null value.
Thanks in Advance for any hint

use [MinSelectLevel(SelectLevel.List)] on top of the foreign fields in ModuleRow.cs

Thank you very much, that solved my problem.


pager: updated demo to fix pageChanged event

Very small change to fix the demo code for pageChanged event on pager component.

Thanks!


AP-3442: Changes to the Receptor CLI and fix all compile issues

Current dependencies on/for this PR:

main

PR #6   👈

This comment was auto-generated by Graphite.


fix(module/subnet_sets): Change default value for nacl_associations variable

Description

The change sets the default value for the nacl_associations variable from null to {} (an empty map).
Motivation and Context

Currently, the default null value causes Terraform's plan to fail in case no value for the variable is provided - the module (aws_network_acl_association resource) expects nacl_associations to be iterable (a map of strings), but when the user does not intend to associate any network ACLs with any subnet and skips the variable altogether, it throws an Invalid for_each argument error.
The user has to explicitly set a nacl_associations variable to an empty map to avoid errors.
By changing the default value from null to an empty map, the resource creation is skipped without any required workarounds from users.
How Has This Been Tested?

The subnet_sets module was deployed without setting any explicit value for nacl_associations variable. The plan and apply did not report any errors when the default value was set to an empty map.
Screenshots (if appropriate)

Error related to the nacl_associations being null:

Types of changes

Bug fix (non-breaking change which fixes an issue)

Checklist

[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] All new and existing tests passed.

/validate paths="modules/subnet_set examples/combined_design"


WARN "could not create Dir using" message when the project is run from Reflections

When the project is run with gauge, the following warning message appears:
17:04:27.017 [ForkJoinPool.commonPool-worker-1] WARN org.reflections.Reflections -- could not create Dir using com.thoughtworks.gauge.scan.ClasspathScanner$1@35e07ec4 from url file:/Library/Java/JavaVirtualMachines/jdk-17.0.5.jdk/Contents/Home!/jdk.zipfs. skipping. java.lang.NullPointerException: Cannot invoke "java.io.File.isDirectory()" because "file" is null 	at com.thoughtworks.gauge.scan.ClasspathScanner$1.createDir(ClasspathScanner.java:48) 	at org.reflections.vfs.Vfs.fromURL(Vfs.java:103) 	at org.reflections.vfs.Vfs.fromURL(Vfs.java:95) 	at org.reflections.Reflections.lambda$scan$2(Reflections.java:176) 	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) 	at java.base/java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1707) 	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) 	at java.base/java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:290) 	at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:754) 	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) 	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) 	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) 	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) 	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) 17:04:27.017 [ForkJoinPool.commonPool-worker-5] WARN org.reflections.Reflections -- could not create Dir using com.thoughtworks.gauge.scan.ClasspathScanner$1@35e07ec4 from url file:/Library/Java/JavaVirtualMachines/jdk-17.0.5.jdk/Contents/Home!/java.compiler. skipping. java.lang.NullPointerException: Cannot invoke "java.io.File.isDirectory()" because "file" is null 	at com.thoughtworks.gauge.scan.ClasspathScanner$1.createDir(ClasspathScanner.java:48) 	at org.reflections.vfs.Vfs.fromURL(Vfs.java:103) 	at org.reflections.vfs.Vfs.fromURL(Vfs.java:95) 	at org.reflections.Reflections.lambda$scan$2(Reflections.java:176) 	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) 	at java.base/java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1707)
I have shared only a few of the WARNs. I see many WARN messages like this one.
Is Gauge not compatible with java version 17?
Some of the versions I use:
Java: 17.0.5
Gauge: 1.5.6
Gauge java: 0.10.3
Spring boot: 3.1.5
gauge-maven-plugin: 1.6.1
maven-compiler-plugin: 3.11.0
Note: WARN messages do not prevent me from running my tests

Hi @AhmetRufai The issue is not related to gauge or Java version you’re running on. And as you’ve described it shouldn’t affect running of gauge tests.
This is to do with the reflections dependency and reported issue here https://github.com/ronmamo/reflections/issues/80
There are a couple of workarounds mentioned in the thread above but the simplest is change the log level for reflections package  https://github.com/ronmamo/reflections/issues/80#issuecomment-369310174
Or if you want to disable all the logs you can simply add this nop dependency to your maven project.
<dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-nop</artifactId>
    <version>2.0.9</version>
    <scope>test</scope>
</dependency>

Thank you so much @haroon-sheikh

Thank you so much @haroon-sheikh


Sprite Glow not Glowing? (Unity 2021.3.24f1)

Having an issue with the sprite glow package on a sprite in my game. I can get the outline to appear, but no lighting is given off from it.
Expected behavior
Should glow on the surrounding area
Screenshots

Environment (please complete the following information):

Unity version: 2021.3.24f1
OS: Windows 11

Additional context
I do have URP in the scene and it does work

Check the readme for troubleshooting steps. If it won't help, check the example project, it has URP setup.


Document straight-register-repo-modification

The function straight-register-repo-modification is public, so it should be documented in the README.

Looks like this was addressed in 9ddf5fa3b749ba9a34d02ddcc225387b40272199
Safe to close?

Whoopsie-daisy. Thanks!


This tutorial may cover "Linear Mixed Models in Linguistics and Psychology: A Comprehensive Introduction"

Check where I cover
https://vasishth.github.io/Freq_CogSci/basic-concepts-illustrated-using-a-two-level-factor.html

Done by #60d72b1


Lift: Join Observer and Subscription into Subscriber

All tests working.
There is a LOT that can be improved in this, I think.
Things to look at: Subject and ConnectableObservable. I hacked my way through these, they work, but I think they require review. @trxcllnt please have a look.
... also, I feel like we're about to have a few PRs that are trampling on one another? I hope not.

Wrong branch....


kitchen-docker not working with InSpec

$ b kitchen list
Instance        Driver  Provisioner  Verifier  Transport  Last Action
default-ubuntu  Docker  ChefSolo     Inspec    Ssh        Verified
$ b kitchen verify
-----> Starting Kitchen (v1.4.2)
-----> Verifying <default-ubuntu>...
$$$$$$ Running legacy verify for 'Docker' Driver
       Preparing files for transfer
       Transferring files to <default-ubuntu>
       Finished verifying <default-ubuntu> (0m0.00s).
-----> Kitchen is finished. (0m0.48s)

This is probably an issue with the dynamic SSH port shenanigans. Will investigate when I get a chance. The docker driver spawns sshd on a random port via docker port remapping.

I think this is fixed now.


Cannot verify contracts on polygonscan

Component
Forge
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
forge 0.2.0 (6d94a10 2022-11-04T12:50:41.208303Z)
What command(s) is the bug in?
forge verify-contract --chain-id=137 0x9ddc69d076c67c7e5deeaa1dd39666f2c4a5a7b1 src/Counter.sol:Counter
Operating System
macOS (Apple Silicon)
Describe the bug
Deployed the contract which comes via forge init on polygon mainnet
Trying to verify contract on polygonscan, via 2 methods
Fails with "Invalid API Key" when using polygonscan api key
forge verify-contract --chain-id=137 0x9ddc69d076c67c7e5deeaa1dd39666f2c4a5a7b1 src/Counter.sol:Counter
Start verifying contract `0x9ddc69d076c67c7e5deeaa1dd39666f2c4a5a7b1` deployed on polygon

Submitting verification for [src/Counter.sol:Counter] "0x9DDc69D076c67C7E5DeEaA1Dd39666f2c4A5A7B1".
Encountered an error verifying this contract:
Response: `NOTOK`
Details: `Invalid API Key`

Fails with "Etherscan could not detect the deployment" using etherscan api key
forge verify-contract --chain-id=137 0x9ddc69d076c67c7e5deeaa1dd39666f2c4a5a7b1 src/Counter.sol:Counter
Start verifying contract `0x9ddc69d076c67c7e5deeaa1dd39666f2c4a5a7b1` deployed on polygon

Submitting verification for [src/Counter.sol:Counter] "0x9DDc69D076c67C7E5DeEaA1Dd39666f2c4A5A7B1".

Submitting verification for [src/Counter.sol:Counter] "0x9DDc69D076c67C7E5DeEaA1Dd39666f2c4A5A7B1".

Submitting verification for [src/Counter.sol:Counter] "0x9DDc69D076c67C7E5DeEaA1Dd39666f2c4A5A7B1".

Submitting verification for [src/Counter.sol:Counter] "0x9DDc69D076c67C7E5DeEaA1Dd39666f2c4A5A7B1".

Submitting verification for [src/Counter.sol:Counter] "0x9DDc69D076c67C7E5DeEaA1Dd39666f2c4A5A7B1".

Submitting verification for [src/Counter.sol:Counter] "0x9DDc69D076c67C7E5DeEaA1Dd39666f2c4A5A7B1".
Error:
Etherscan could not detect the deployment.

hey @ankitchiplunkar, regarding the second error, did you attempt to verify right after deployment? also, have you tried rerunning the command since you opened the issue?

have not retried after opening it. will try again later
On Thu, 22 Dec 2022 at 11:47, Roman Krasiuk @.***>
wrote:

hey @ankitchiplunkar https://github.com/ankitchiplunkar, regarding the
second error, did you attempt to verify right after deployment? also, have
you tried rerunning the command since you opened the issue?
—
Reply to this email directly, view it on GitHub
https://github.com/foundry-rs/foundry/issues/3861#issuecomment-1362744175,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABNBUDS3WCI7XLGYRRQOCM3WOQ5WLANCNFSM6AAAAAASYU2ISQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Regards
Ankit Chiplunkar

I've run across this recently as well. Etherscan has different domains and api endpoints.
For Polygon, you have to use the polygonscan.com domain. You need to sign-up there and get an API key. Then, you can pass that API key and a specific verifier url for the right block explorer.
forge verify-contract --verifier-url https://api.polygonscan.com/api/ ADDRESS PATH_TO_CONTRACT $POLYGONSCAN_KEY

Polygon Mainnet: https://api.polygonscan.com/api/
Polygon Mumbai: https://api-testnet.polygonscan.com/api/
You can find this info in the Polygonscan docs. Similar for other chains.
Whether Foundry should be updated to have verification "just work" for all the supported chains on a default block explorer is a different question.

king @Oighty, thanks for the pro tip. I had everything right but the verifier url 😭

hmm, we should have the polygon specific urls configured by default:
https://github.com/gakonst/ethers-rs/blob/0116130b879760e63a3b571cbbd5d7a65992aa18/ethers-core/src/types/chain.rs#L254-L257

@ankitchiplunkar @mattsse This works if you add the polygonscan key at the end of the command. It seems you need the polygonscan key even if it is set in your foundry.toml. This issue may be relevant.

+1 thanks @larryob works for me by passing in the key at the end, even though i added an [etherscan] section

@ryanio It would be very helpful if you could provide your foundry.toml file and the command that you were using and what was unexpected, not clear to me what should be improved otherwise.

@mattsse yes for sure thanks, hope this helps:
foundry.toml:
[etherscan]
polygon = { key = "${POLYGONSCAN_API_KEY}" }

Result:
> forge verify-contract $ADDRESS $LOCATION --chain polygon
Start verifying contract `0x000000008924d42d98026c656545c3c1fb3ad31c` deployed on polygon

Submitting verification for [src/clones/ERC721SeaDropCloneFactory.sol:ERC721SeaDropCloneFactory] "0x000000008924D42d98026C656545c3c1fb3ad31C".
Encountered an error verifying this contract:
Response: `NOTOK`
Details: `Invalid API Key`

> forge verify-contract $ADDRESS $LOCATION --chain polygon $POLYGONSCAN_API_KEY
Start verifying contract `0x000000008924d42d98026c656545c3c1fb3ad31c` deployed on polygon

Submitting verification for [src/clones/ERC721SeaDropCloneFactory.sol:ERC721SeaDropCloneFactory] "0x000000008924D42d98026C656545c3c1fb3ad31C".
Contract source code already verified

tysm will debug!

ah oh no I did a foundryup and now the working example above no longer works for me 🤔  can't get it working in any way now
➜  forge verify-contract $ADDRESS $LOCATION --chain polygon $POLYGONSCAN_API_KEY
error: unexpected argument 'JHX2YWJSK5XHTNFS4RPEM18JC2TJIZK2RD' found

---

➜  forge verify-contract $ADDRESS $LOCATION --chain polygon
Start verifying contract `0x000000008924d42d98026c656545c3c1fb3ad31c` deployed on polygon
Error:
ETHERSCAN_API_KEY must be set

➜ echo $ETHERSCAN_API_KEY
JHX2YWJSK5XHTNFS4RPEM18JC2TJIZK2RD (modified from my original key to not leak)

➜  forge verify-contract $ADDRESS $LOCATION --chain polygon --etherscan-api-key $POLYGONSCAN_API_KEY
Start verifying contract `0x000000008924d42d98026c656545c3c1fb3ad31c` deployed on polygon
Error:
ETHERSCAN_API_KEY must be set

➜  ETHERSCAN_API_KEY="JHX2YWJSK5XHTNFS4RPEM18JC2TJIZK2RD" forge verify-contract $ADDRESS $LOCATION --chain polygon
Start verifying contract `0x000000008924d42d98026c656545c3c1fb3ad31c` deployed on polygon
Error:
ETHERSCAN_API_KEY must be set

@mattsse it is fixed already? I am not able to verify contract on mumbai, getting:
Encountered an error verifying this contract:
Response: `NOTOK`
Details: `Invalid API Key`

when run:
forge verify-contract --compiler-version v0.8.18+commit.87f61d96 --verifier-url https://api-testnet.polygonscan.com/api/ $contract ./src/MyERC.sol:MyERC ${POLYGONSCAN_API_KEY} --chain mumbai

@tkowalczyk try passing the key to the cmd with --etherscan-api-key, it was changed to that recently

--etherscan-api-key

Thank you @ryanio now it is working.

I am getting this same error on the Polygon Amoy testnet chain:
forge verify-contract --chain-id 80002 --verifier-url https://api-testnet.polygonscan.com/api --num-of-optimizations 1000000 --watch --compiler-version v0.8.25+commit.b61c2a91 0x941c53F20794C632bB1397FfbE7e976bd8a75F9C script/Deploy.s.sol:ERC1967Proxy --etherscan-api-key <POLYSCAN_API_KEY>
Start verifying contract `0x941c53F20794C632bB1397FfbE7e976bd8a75F9C` deployed on amoy

Submitting verification for [script/Deploy.s.sol:ERC1967Proxy] 0x941c53F20794C632bB1397FfbE7e976bd8a75F9C.

Submitting verification for [script/Deploy.s.sol:ERC1967Proxy] 0x941c53F20794C632bB1397FfbE7e976bd8a75F9C.

Submitting verification for [script/Deploy.s.sol:ERC1967Proxy] 0x941c53F20794C632bB1397FfbE7e976bd8a75F9C.

Submitting verification for [script/Deploy.s.sol:ERC1967Proxy] 0x941c53F20794C632bB1397FfbE7e976bd8a75F9C.

Submitting verification for [script/Deploy.s.sol:ERC1967Proxy] 0x941c53F20794C632bB1397FfbE7e976bd8a75F9C.

Submitting verification for [script/Deploy.s.sol:ERC1967Proxy] 0x941c53F20794C632bB1397FfbE7e976bd8a75F9C.
Error:
Etherscan could not detect the deployment.

I am able to verify on https://www.oklink.com/, but not polyscan.
I looked at this file and it doesn't seem to have Amoy in it.
Any idea what the problem is?

@tommyrharper Have you tried using https://api-amoy.polygonscan.com/api instead of https://api-testnet.polygonscan.com/api ?

@tommyrharper Have you tried using https://api-amoy.polygonscan.com/api instead of https://api-testnet.polygonscan.com/api ?

@josechifflet Now that I use your suggested verifier url, the old error goes a way, but I get a new one:
Details: `Fail - Unable to verify. Unable to locate a contract with the name 'script/Deploy.s.sol:ERC1967Proxy', did you specify the correct Contract Name?`
Contract failed to verify.

This is strange, as the specified contract script/Deploy.s.sol:ERC1967Proxy, which is the declared as an openzeppelin import in that deploy script file:
script/Deploy.s.sol:
import {ERC1967Proxy} from
    "lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/proxy/ERC1967/ERC1967Proxy.sol";

Works when I am using the  oklink verifier address: https://www.oklink.com/api/explorer/v1/contract/verify/async/api/polygonAmoy.
Seems absurd that the same command should fail by that error when it works with a different verifier url.


Accept digits at the start of attribute names

Is your feature request related to a problem? Please describe.
Yes, some of my XML files are not fully parsed. Parsing stops when an attribute name begins with a digit.
Describe the solution you'd like
A less strict parsing mode would be nice.
Describe alternatives you've considered
Using a regex to fix attribute names before parsing.
Additional context
XML attributes should not start with digits according to some (unofficial) sources I found, but in practice not all tools adhere to that.
Example:
<physics_shape_rotation 00="1" 01="0" 02="0" 10="0" 11="1" 12="0" 20="0" 21="0" 22="1"/>

Oh, totally missed that!
It just says <?xml version="1.0" encoding="UTF-8"?> at the top. It's from a game. But I managed to fix it with some simple search and replace.
Thanks for replying! Great library! 👍

Happy to help and thanks!


[20.03] xonotic: split glx, sdl, dedicated, data (#83461)

Motivation for this change
Cherry picked from master. Original PR: #83461. Original description below.

This has many advantages:

Each variant can be installed without pulling in the dependencies of the
other variants, which makes it possible to build an SDL variant
without X11 dependencies
Hydra can now build binaries without downloading 1GB of data, so users
do not have to build them on their own machines
Users do not have to redownload 1GB of data after each dependency
update

Includes the following fixes:

Add dependency on libGL for GLX variant as it will fail in some
environments otherwise
Pass -j and -l to make to enable parallel building
Quote homepage URI and use https
Add a .desktop file and icons

(cherry picked from commit 90354cd12784d7b48b074ac011a08a1ac00d0309)
Things done

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

[ ] 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 nixpkgs-review --run "nixpkgs-review wip"
[ ] 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)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Too late to backport, i think.


slim image no longer includes gcc by default

Will be moving the annotator to a JS only implementation which doesn't require anything running on the local machine. Closing this.


flightsql: add support for more flight sql methods

we should probably enumerate which methods we want to add here.


fix(chat): fix clip icon appearance (Issue #2063)

Description:
If the user application has the "Max. attachments count" field equal to 0, then the clip icon in the chat should not be displayed, it is displayed if it is a number or empty (if empty it takes the maximum integer value)
Issues:

Issue #2063

Checklist:

[x] the pull request name complies with Conventional Commits
[x] the pull request name starts with fix(<scope>):, feat(<scope>):, feature(<scope>):, chore(<scope>):, hotfix(<scope>): or e2e(<scope>):. If contains breaking changes then the pull request name must start with fix(<scope>)!:, feat(<scope>)!:, feature(<scope>)!:, chore(<scope>)!:, hotfix(<scope>)!: or e2e(<scope>)!: where <scope> is name of affected project: chat, chat-e2e, overlay, shared, sandbox-overlay, etc.
[x] the pull request name ends with (Issue #<TICKET_ID>) (comma-separated list of issues)
[x] I confirm that do not share any confidential information like API keys or any other secrets and private URLs

/deploy-review

/deploy-review


August 2021 Endgame Recovery 2

[x] Create a milestone <Month> <Year> Recovery owner
[x] Bump the version number owner
[x] 🔖candidate issues
[x] Assign candidate issues to the recovery milestone team
[x] Review the candidate issues, and if they pass the review assign them to the recovery milestone team
[x] All candidate fixes are peer reviewed and pushed to main and then cherry-picked into the release branch team
[x] Initiate insiders build from main
[x] Issues are tested in the insiders team
[x] Build stable for all platforms from release branch owner
[x] Issues are verified on stable build and the verified label is added owner
[x] Check https://github.com/Microsoft/vscode/compare/release/<x.y> to ensure no other commits have been made in the release branch owner
[x] Update the release notes and include a link to a query for the fixed issues @gregvanl
[x] Sanity check of installable bits (server instructions)

[x] Windows 32 bit @rzhao271

[x] signed installer 32-bit
[x] signed user installer 32-bit
[x] zip 32-bit
[x] server 32-bit

[x] Windows 64 bit @alexr00

[x] signed installer 64-bit
[x] signed user installer 64-bit
[x] zip 64-bit
[x] server 64-bit

[x] Windows ARM64 @bpasero

[x] signed installer ARM64
[x] signed user installer ARM64
[x] zip ARM64

[x] macOS

[x] Universal @jrieken
[x] Intel @jrieken
[x] Intel server @jrieken
[x] Apple Silicon @jrieken

[x] Linux x64

[x] deb @aeschli
[x] rpm @aeschli
[x] archives @aeschli
[x] snap (sudo snap install --classic --dangerous <file>.snap) @aeschli

[x] Linux server @chrmarti

[x] x64
[x] x64 Alpine
[x] ARM32
[x] ARM64

[x] Publish website @gregvanl
[x] Publish stable build owner
[x] Create an official release owner

[x] Create a tag: git tag <x.y.z> release/<x.y>
[x] Push the tag: git push origin <x.y.z>
[x] Create a GitHub release: Open the GitHub tags, and click far right ... > Create Release. Use the correct title and description from our release notes. Example

Why was it re-released 22 hours ago by @sandy081 ?
https://github.com/microsoft/vscode/releases/tag/1.60.2

I mistakenly deleted and hence recreated that. Sorry about that.


Replaced async with asynckit

Dropped support for<EMAIL_ADDRESS>Cleaned up code and tools.

Coverage increased (+1.5%) to 97.861% when pulling 1749b78d50580fbd080e65c1eb9702ad4f4fc0c0 on alexindigo:master into 158443da3b2ce221f0a06ccb3b8ab8c56b68b034 on form-data:master.


Update mongodb-tools

Hello, is someone able to update mongodb-tools to the newest version? E.g. r3.3.11.
I tried, but couldn't manage to properly set up GOPATH for go2nix.
Cheers
/cc @kamilchm

Hi, I can look at it tomorrow. Could you provide a list of steps you tried with go2nix?

Thanks, I tried this:
git clone git@github.com:mongodb/mongo-tools.git
cd mongo-tools
nix-shell -p go2nix go
source ./set_gopath.sh
./build.sh
go2nix save
# => Current dir mongo-tools is outside of GOPATH(...). Can't get current package name

Closing this for the time being because I don't need mongo-tools any more. Can reopen if anyone would like to pick it up.


Token cache clear command not working

Oh huh, yeah sorry @iamwyza looks like the command isn't currently hooked up to do anything.
@aaomidi - do you know why this was commented out in https://github.com/microsoft/azuredatastudio/pull/8483? https://github.com/microsoft/azuredatastudio/blob/master/extensions/azurecore/src/account-provider/azureAccountProviderService.ts#L73
Originally posted by @Charles-Gagnon in https://github.com/microsoft/azuredatastudio/issues/9350#issuecomment-598313312

Workarounds:
Windows
Run the following command:
 Remove-Item -LiteralPath "$Env:appdata/azuredatastudio/Azure Accounts" -Force -Recurse

Linux
TBA
MacOS
TBA

For those struggling with this issue on linux, the config for azure data studio is typically found at ~/.config/azuredatastudio. Removing this directory (rm -rf ~/.config/azuredatastudio) will resolve the issue, but will also remove all config/settings


Fix nonce equality check to use .eq

Resolves https://github.com/thehubbleproject/hubble-contracts/issues/629

FYI @ChihChengLiang @kautukkundan will merge after CI passes.


fleetd,main: make github.com/coreos/fleet go-getable

So far it hasn't been possible to do "go get github.com/coreos/fleet" because there was no main.go in the top source directory. Create main.go, a simple wrapper for fleetd to make it "go-getable".
This is a preparation for https://github.com/coreos/fleet/issues/1665, as goaci requires a go-getable package.

LGTM if everything else continues to work!


template functions

Once #8 is in we need some basic templating functions, e.g.:

extract certificates/keys from pkcs12 (#22)
basic transformations (e.g. via sprig)

done with #69


PHP version requirement

Hehe, readme says "works with 7.0+"
  Problem 1
    - This package requires php 7.1.0 but your PHP version (7.1.12) does not satisfy that requirement.

Running following, will do for now
composer require nunomaduro/laravel-console-menu --ignore-platform-reqs

@danki I may have fixed that on the latest version. Please re-try. If you have any problems please provide me the full output.

@danki Any news on this?

Beware, future version of cli-menu has a PR plan for PHP 7.2 as minimum version.  We may be stuck in compatibility mode unless this PR gets rejected
https://github.com/php-school/cli-menu/pull/78/commits/8294946bab0ad661be6506d4f98e7dff68f9bb52

Hey @mikeerickson.
If they do that, they must release a major version. So that is not a problem. Do you mind of closing this issue?


Typified an always throwing method as noreturn

autotester errors: std.exception.bailOut!(OutOfMemoryError).bailOut without side effects discards return value of type noreturn; prepend a cast(void) if intentional.
Isn't discarding noreturn supposed to be ok?

This looks like a bug to me, however, the implementation of noreturn is incomplete at the moment so I would wait before actually using it. cc @WalterBright

https://github.com/dlang/dmd/pull/12430 fixes this.

dlang/dmd#12430 was merged, however this is still failing.

Error message is still the same as last time. Perhaps the test just have not been redone since the DMD pr. I try an empty commit,

Still failing, but seems to be something unrelated this time.

Rebased. Let's see what happens this time.

This pull request introduced a (minor) regression:
https://issues.dlang.org/show_bug.cgi?id=22235

Aww, I wonder if I should wait a few releases before applying a new feature in Phobos next time? It could have been something more serious.


Add etcd3 reference cluster using rkt and Ignition

I eventually got https://github.com/coreos/coreos-baremetal/pull/315 to work. You might look at that to come up with a container example to save others from trial and error here.


Bad examples of PUSH and PUT in Quickstart

The quickstart guide had these examples:
>>> r = requests.post("http://httpbin.org/post")
>>> r = requests.put("http://httpbin.org/put")

With PUSH and PUT you almost always want to include some data. Without it they become fairly meaningless.

That's certainly true, though with the quickstart guide we're generally trying to err on the side of not providing too much extraneous information. Nevertheless, if you'd like to open a pull request giving both of those some data (a simple bytestring will do), I'd be happy to merge that. =)

@Lukasa I have opened a pull request for this.

Thanks @shagunsodhani. I got busy and didn't notice this.


Address missing decimal places for absolute densities

This hopefully fixes the problem mentioned in #22.
@p3t3rix You were right, , and . seem to be the most commonly used decimal separators, at least according to the standard, so I just added . as another possible separator to the regex.
As you also mentioned, there might be other problems, e.g., values >= 1000, where digit grouping might come into play. I would argue that this should not be a problem, as the density is given as parts per thousand, so unless you find a chunk which entirely consists of a single ore, you should not get 1000 ‰.

Thanks, i will publish a bugfix release with it to hopefully close #22


Add noodles and htsget-rs

Thanks --- there were a few duplicate entries so I merged manually.  I think I kept everything!


Input Wrappers: first pass

Includes:

Text, Confirm, Integer and Float input wrappers
Generic input wrapper
Tests
Samples
Json
Factory registration

Pending:

Schemas
Cheatsheet
Choice prompt
Datetime prompt
Details on retry vs invalid. How much to defer to wrapped prompt vs customize

@tomlm first pass on inputs. Note that I didn't implement choice because it is a bit more involved and want to make sure the overall approach is fine.


Can you help me detecting when connecting to lobby ?

Hey,
First of all thank you for this tool it's very useful.
I want to detect when I'm connecting to the chat in champ-select. I don't have much knowledge, but I found a few things on the internet and they work for everything but what I want.
I am trying to use MutationObserver API to detect when an element of class chat-message is created, so upon arriving in the champ-select I run this in the console :
function listenForChatMessages() {
  var targetNode = document.getElementById('chat-messages-frame').contentDocument.body;
  var config = { attributes: true, childList: true, subtree: true };
  var callback = function(mutationsList) {
    for(var mutation of mutationsList) {
        console.log(mutation)
      if (mutation.type === 'childList') {
        var newNodes = mutation.addedNodes;
        for (var i = 0; i < newNodes.length; i++) {
          var node = newNodes[i];
          if (node.classList && node.classList.contains('chat-message')) {
            //Do something here
            console.log("New chat message element detected!");
          }
        }
      }
    }
  };
  var observer = new MutationObserver(callback);
  observer.observe(targetNode, config);
}

And then I send a message to see if it caught it, and it didn't.
I tried using the MutationObserver in league-loader for capturing other things and it did work, here specifically it won't.
I hoped you could help me, not necessarily using MutationObserver, but anything that can detect when I'm connected to the chat in champ-select will do.
The code example is just one of about ten other ways I tried to do it but that didn't work, I'm running out of ideas. I even tried using ChatGPT to generate code, and it did, and again it worked for everything but for the chat messages :(
Thank you !

You should subscribe to LCU webscoket to detect it.
Please refer to LCU Websocket in README to do that in your plugin.
Here is an API to get the current phase.
GET /lol-gameflow/v1/gameflow-phase

The "ReadyCheck" result means ready to accept matchmaking found.
And "ChampSelect" means you're in champ-select phase.

You should subscribe to LCU websocket to detect it. Please refer to LCU Websocket in README to do that in your plugin.
Here is an API to get the current phase.
GET /lol-gameflow/v1/gameflow-phase

The "ReadyCheck" result means ready to accept matchmaking found. And "ChampSelect" means you're in champ-select phase.

I managed to send the GET request and it worked. So I think I should send a GET Request every 1 second to detect whenever I get into a champ select.
Lastly I would need to know when someone send a message, if you have any idea

You should subscribe to LCU websocket to detect it.
Please refer to LCU Websocket in README to do that in your plugin.

This will solve your problem.

The websocket's onmessage callback will give you which API is called and its data.
ws.onmessage = async message => {
  const data = JSON.parse(message.data)
  console.log(data)

  const api = /* extract the data to get API */
  if (api === '/lol-gameflow/v1/gameflow-phase') {
    // todo
  }
}

You should subscribe to LCU websocket to detect it.
Please refer to LCU Websocket in README to do that in your plugin.

This will solve your problem.
 The websocket's onmessage callback will give you which API is called and its data.
ws.onmessage = async message => {
  const data = JSON.parse(message.data)
  console.log(data)

  const api = /* extract the data to get API */
  if (api === '/lol-gameflow/v1/gameflow-phase') {
    // todo
  }
}

Oh, there's been a misunderstanding.
When I said I sent a GET request and that it worked, I meant that I tried :
async function acceptMatchFound() {
  await fetch('/lol-matchmaking/v1/ready-check/accept', {
    method: 'POST'
  })
}

The issue I had with the subscribe() function is that it wouldn't send back anything else than the initial response :

After this when I connected to a champ-select, or when someone sent a message in champ-select, it wouldn't tell me(I put a console.log() inside it printing "yay", as you see it gets triggered once but then it doesn't anymroe)

I'm sorry, the event name JsonApiEvent was wrong.
The correct name is OnJsonApiEvent.
-ws.onopen = () => ws.send(JSON.stringify([5, 'JsonApiEvent']))
+ws.onopen = () => ws.send(JSON.stringify([5, 'OnJsonApiEvent']))

I'm sorry, the event name JsonApiEvent was wrong. The correct name is OnJsonApiEvent.
-ws.onopen = () => ws.send(JSON.stringify([5, 'JsonApiEvent']))
+ws.onopen = () => ws.send(JSON.stringify([5, 'OnJsonApiEvent']))

Yay, it works <3 Thank you man


Fix up elfeed-show-next/prev

These functions expected #'elfeed-search-show-entry would move forward one
line. However, when elfeed-search-remain-on-entry is set to t, it won't, so we
need to do it manually.

Good catch, thanks!


[kinetis target] fix issues if no cores was found

On target run into low power mode, there will raise fatal exceptions from the kinetis_target.py even if set allow_no_cores = true.
This PR will check dp.aps before use it in check_mdm_ap_idr and check_flash_security and is_locked.

/morph test


Allow treating stdin as a tar archive

This is a work in progress, but I'm planning to try to use this to stream a google takeout (which outputs multiple tar.gz archives, so I plan to concatenate them, un-gzip them, and pipe to rustic). This will allow me to backup my entire google takeout to backblaze without needing to store anything locally.
Similar to restic/restic#2226

Hi @Dr-Emann
Just had a short look at this PR, but I'd say the general direction is perfectly right!
I also already thought about adding Traits for reading sources, where sources should provide a method to list files and a Reader to actually read the file content.
This could be implemented for a tar archive as well as for e.g. remote sources like an rclone source.
I think we should take the time within this PR to properly design and implement these traits for local sources and then for tar sources.

Have to go back to the drawing board a little. It seemed to work, at first, but I noticed something in the debug logging output that really sucks:
Tar is just an unordered collection of entries, so you can get entries like:
file takeout/folder_a/file7
file takeout/folder_b/other_file
dir  takeout/folder_a/
file takeout/folder_a/file_1

Which causes the directory creation to be way off in rustic

Ok, this is a problem - the archiver expects directory entries to come ordered.
I already thought about changing the archiver code a bit:

give the listed files (and the readers to read the contents) to a file archiver which will store the contents and return a tree entry.
process the tree entries in a tree archiver

I had parallelization in mind (the file archiver needs no order and therefore file contents of different files can be processed in parallel). This is of course only true if you can also access the file readers in parallel (which most likely is not the case for tar archives).
But once the above is changed, we could use it for tar archives by processing the files (sequentially) and collect() the dir entries. Then sort the collected dir entries before processing them with the tree archiver.
I think it might be good to have the following properties in the Source trait:

Can file reading be parallelized (true for local source, false for stdin and tar source)
Do the dir entries come ordered (true for local source, n/a for stdin and false for tar souce)

@Dr-Emann Can you have a look at #425?
I copied the traits you are using here and reworked how the archiver is working into an Iterator approach.
I think if you start at top of 425, you can simply add to the ReadSource trait something like const IN_ORDER: bool and if this is set to false first collect all items after archiving the files, then sort by path and finally save the items in trees.
The drawback would be that instead of sequentially processing the trees and saving them when finished, all items need to be saved in a Vec which could potentially increase memory usage of rustic. But if the items come out-of-order, this is the only way to solve it.
Actually I'm not completely finished with #425 and would highly appreciate a foreign review.


926 compute alternatives doesnt appear to be working

The linked issue was a result of an analysis period that didn't cover the span of the analysis years. The saving issue was part of that. This PR does not address messaging at all.


MMM-KeyBindings

Hey,
can't get the keybindings up and running with my Amazon remote.
If I habe a look into the chrome dev console it looks like this:
MMM-OnScreenMenu.js:430 Uncaught TypeError: Cannot use 'in' operator to search for 'ArrowUp' in undefined     at Class.validateKeyPress (MMM-OnScreenMenu.js:430)     at Class.notificationReceived (MMM-OnScreenMenu.js:105)     at sendNotification (main.js:95)     at Object.sendNotification (main.js:498)     at Class.sendNotification (module.js:368)     at Mousetrap.bindGlobal (MMM-KeyBindings.js:142)     at f (mousetrap.min.js:5)     at c.h._handleKey (mousetrap.min.js:7)     at c.handleKey (mousetrap.min.js:10)     at HTMLDocument.d (mousetrap.min.js:5)
Here is my config.js:
`
{
module: 'MMM-OnScreenMenu',
position: 'bottom_right',
// Valid positions: 'top_right', 'top_left', 'bottom_right', 'bottom_left'
config: {
touchMode: true,
enableKeyboard: true,
menuItems: {
monitorOff: { title: "Turn Off Monitor", icon: "television", source: "ALL" },
restart: { title: "Restart MagicMirror", icon: "recycle", source: "ALL" },
refresh: { title: "Refresh MagicMirror", icon: "refresh", source: "ALL" },
reboot: { title: "Reboot", icon: "spinner", source: "ALL" },
shutdown: { title: "Shutdown", icon: "power-off", source: "ALL" },
},
enableKeyBindings: true,
keyBindingsMode: "OSM",
keyBindings: {
Up: "ArrowUp",
Down: "ArrowDown",
Select: "Enter",
Close: "Return",
Menu: "Menu"
},
kbMultiInstance: true,
keyBindingsTakeFocus: "Menu"
        }
	}

`
Any suggestions ?
Cheers

Try changing enableKeyboard: true, to enableKeyboard: false, if you have enableKeyBindings: true.  They are mutually exclusive--if you have MMM-KeyBindings then all keyboard functions are handled by that module and 'enableKeyboard' in this module will get in the way.
Note to self: I need to clean up error handling & config options.

I'd like to jump in on this issue.
I've set up MMM-KeyBindings and MMM-OnScreenMenu. Below is my current config. While I'm able to control the OSM with a Keyboard (connected via USB to my raspi), I'm not able to control OSM with my connected Amazon Fire TV Remote. The keypress from the Amazon remote control is registered as seen in the log (see below config).
What is wrong, please help :)
config.js
{
    module: 'MMM-KeyBindings',
    config: {
        enableKeyboard: true,
    },
},
{
    module: 'MMM-OnScreenMenu',
    position: 'bottom_right',
    /* Valid positions: 'top_right', 'top_left', 'bottom_right', 'bottom_left' */
    config: {
        touchMode: true,
        menuItems: {
            monitorToggle: { title: "Toggle Monitor", icon: "television", source: "ALL" },
            openDevTools: { title: "Open Dev Tools", icon: "laptop-code", source: "ALL" },
            restart: { title: "Restart MagicMirror", icon: "recycle", source: "ALL" },
            refresh: { title: "Refresh MagicMirror", icon: "refresh", source: "ALL" },
            reboot: { title: "Reboot", icon: "spinner", source: "ALL" },
            shutdown: { title: "Shutdown", icon: "power-off", source: "ALL" },
        },
        enableKeyBindings: true,
        keyBindingsMode: "OSM",
        keyBindings: {
            Up: "ArrowUp",
            Down: "ArrowDown",
            Select: "Enter",
            Close: "Return",
            Menu: "Menu"
        },
        keyBindingsTakeFocus: "Menu"
    },
},

dev console log
clock received a module notification: KEYPRESS from sender: MMM-KeyBindings
module.js:154 calendar received a module notification: KEYPRESS from sender: MMM-KeyBindings
newsfeed.js:344 newsfeed - received notification: KEYPRESS
newsfeed.js:403 newsfeed - unknown notification, ignoring: KEYPRESS
module.js:154 clock received a module notification: KEYPRESS from sender: MMM-KeyBindings
module.js:154 calendar received a module notification: KEYPRESS from sender: MMM-KeyBindings
newsfeed.js:344 newsfeed - received notification: KEYPRESS
newsfeed.js:403 newsfeed - unknown notification, ignoring: KEYPRESS
module.js:154 clock received a module notification: KEYPRESS from sender: MMM-KeyBindings
module.js:154 calendar received a module notification: KEYPRESS from sender: MMM-KeyBindings
newsfeed.js:344 newsfeed - received notification: KEYPRESS
newsfeed.js:403 newsfeed - unknown notification, ignoring: KEYPRESS

I'd like to jump in on this issue.
I've set up MMM-KeyBindings and MMM-OnScreenMenu. Below is my current config. While I'm able to control the OSM with a Keyboard (connected via USB to my raspi), I'm not able to control OSM with my connected Amazon Fire TV Remote. The keypress from the Amazon remote control is registered as seen in the log (see below config).
What is wrong, please help :)
config.js
{
    module: 'MMM-KeyBindings',
    config: {
        enableKeyboard: true,
    },
},
{
    module: 'MMM-OnScreenMenu',
    position: 'bottom_right',
    /* Valid positions: 'top_right', 'top_left', 'bottom_right', 'bottom_left' */
    config: {
        touchMode: true,
        menuItems: {
            monitorToggle: { title: "Toggle Monitor", icon: "television", source: "ALL" },
            openDevTools: { title: "Open Dev Tools", icon: "laptop-code", source: "ALL" },
            restart: { title: "Restart MagicMirror", icon: "recycle", source: "ALL" },
            refresh: { title: "Refresh MagicMirror", icon: "refresh", source: "ALL" },
            reboot: { title: "Reboot", icon: "spinner", source: "ALL" },
            shutdown: { title: "Shutdown", icon: "power-off", source: "ALL" },
        },
        enableKeyBindings: true,
        keyBindingsMode: "OSM",
        keyBindings: {
            Up: "ArrowUp",
            Down: "ArrowDown",
            Select: "Enter",
            Close: "Return",
            Menu: "Menu"
        },
        keyBindingsTakeFocus: "Menu"
    },
},

dev console log
clock received a module notification: KEYPRESS from sender: MMM-KeyBindings
module.js:154 calendar received a module notification: KEYPRESS from sender: MMM-KeyBindings
newsfeed.js:344 newsfeed - received notification: KEYPRESS
newsfeed.js:403 newsfeed - unknown notification, ignoring: KEYPRESS
module.js:154 clock received a module notification: KEYPRESS from sender: MMM-KeyBindings
module.js:154 calendar received a module notification: KEYPRESS from sender: MMM-KeyBindings
newsfeed.js:344 newsfeed - received notification: KEYPRESS
newsfeed.js:403 newsfeed - unknown notification, ignoring: KEYPRESS
module.js:154 clock received a module notification: KEYPRESS from sender: MMM-KeyBindings
module.js:154 calendar received a module notification: KEYPRESS from sender: MMM-KeyBindings
newsfeed.js:344 newsfeed - received notification: KEYPRESS
newsfeed.js:403 newsfeed - unknown notification, ignoring: KEYPRESS

Do you found a solution for this issue? i have exactly the same problem.


Clearer overall Handbook navigation

Story
No response
Description
As a:
Team Member / interested third party
I want to:

See an overview of all the pages in the handbook
Be able to browse the whole handbook in an easy order

So that:

I can quickly find the information that's relevant to me
I know what is and isn't in the handbook at a glance

Noticed when going through the handbook for the first time, I ended up navigating the markdown files on disk instead of on the website since the hierarchy isn't particularly clear right now (the manual table of contents + on this page sections).

@Pezmc Do you want a user friendly sitemap: https://developers.google.com/search/docs/crawling-indexing/sitemaps/overview?

I don't think something fully automated fills this gap; but something halfway between a true sitemap and the current table of contents would probably work (as well as making the "on this page" section less confusing).

Agree with this - the biggest confusion with the handbook imo is the "On This Page" widget often reads like a Table of Contents, but actually, the ToC is often embedded in the page.

Not going to get done in 1.2, shifting to 1.3

Just to throw in an idea, a search tool would be very useful.
I'm often trying to find something in the handbook which I know will contain a specific term but I can't navigate my way to it. As @Pezmc said I often just pull main to my laptop then use my file explorer to search the content.
Being able to search for a string would give me confidence that I'd either read the relevant part of the handbook or that there isn't anything covering that topic.

Just to throw in an idea, a search tool would be very useful.

Agree - I've found PostHog's handbook and it's really easy to navigate (and search). Have asked in their Slack what they use.

@ZJvandeWeg interesting take from PostHog re: our upcoming hires - "Everyone Codes": https://posthog.com/blog/a-non-coders-thoughts-on-everybody-codes-culture

part two of PostHog's onboarding/everyone should code: https://posthog.com/blog/a-non-coders-thoughts-on-everybody-codes-culture-part-two

More insight from PostHog:

Progress made today - have auto-generated side navigation created. Optional "titles" can be given to all pages in the Handbook md file too.

Need to work on:

consistent ordering
styling
expanding/minimising navigation options

May also introduce the concept of navGroup for the top level folders which may offer better grouping, still TBD


Cannot handle multilevel URI's

I would like to handle requests such as:
get("api/buildings")
and
get("api/buildings/details?id=1")
But this seems not to be working.
I'm restricted to:
get("api/buildings")
and
get("api/buildingdetails/1")
The info in the help is very limited on that.

Multiple segments is clearly a fundamental requirement but in the author's defense they stipulate this is only a toy library and "not for production".  They also note that they will break at-will versus using semantic versioning?  Anyway, he's at least honest about limitations.
You can actually change the property names to strings, but you'll get "unknown ID fruits" or an error to that effect if you add a key "/produce/fruits/citrus" for example.
produce/
produce/fruits
produce/fruits/citrus
It's unfortunate because it's relatively being more generally useful. I think I will start from scratch and add a simple key-value lookup where key is URL and value is JSON response.   So essentially you add an interceptor (easy and baked into Angular HTTP) that does a look-up of the URL on a dictionary.  Something like that.


Qt version

🐛 Bug

Hi I tried to install napari in ubuntu 20.04.3.
I think I correctly followed the instruction from napari installation
But, when the installation is done, I run napari in my console and I got this error message :
User napari was tested with QT library '>=5.12.3'. The version installed is 5.9.7. Please report any issues with this specific QT version at https://github.com/Napari/napari/issues.
Kindly help me. I will be highly grateful to all of you.
Thank you!
Best

Did you install it from conda or pip as both versions are in instruction?
Could you please paste information output of napari --info command (from terminal)

I got the same message too.
I am also getting warnings about Scipy and numpy versions.
I installed with conda. OS is Windows.
I am not sure if there are other problems or not, but it won't start.

C:\Users\Hiroki\anaconda3\envs\napari\lib\site-packages\scipy\__init__.py:146: UserWarning: A NumPy version >=1.16.5 and <1.23.0 is required for this version of SciPy (detected version 1.23.2
  warnings.warn(f"A NumPy version >={np_minversion} and <{np_maxversion}"
C:\Users\Hiroki\anaconda3\envs\napari\lib\site-packages\napari\_qt\__init__.py:53: UserWarning:

napari was tested with QT library `>=5.12.3`.
The version installed is 5.9.7. Please report any issues with
this specific QT version at https://github.com/Napari/napari/issues.
  warn(message=warn_message)
c
WARNING: pyqt5 already imported, cannot switch to pyqt5
WARNING:vispy:pyqt5 already imported, cannot switch to pyqt5
napari: 0.4.14
Platform: Windows-10-10.0.19044-SP0
Python: 3.9.13 (main, Aug 25 2022, 23:51:50) [MSC v.1916 64 bit (AMD64)]
Qt: 5.9.7
PyQt5: 5.9.2
NumPy: 1.23.2
SciPy: 1.7.3
Dask: 2022.9.0
VisPy: 0.11.0

OpenGL:
  -   File "C:\Users\Hiroki\anaconda3\envs\napari\lib\site-packages\vispy\app\application.py", line 263, in _use
  -     self._backend = self.backend_module.ApplicationBackend()

Screens:

Plugins:
  - console: 0.0.4
  - scikit-image: 0.4.14
  - svg: 0.1.6

napari was tested with QT library >=5.12.3`.
The version installed is 5.9.7. Please report any issues with
this specific QT version at https://github.com/Napari/napari/issues.
warn(message=warn_message)
QObject::moveToThread: Current thread (0x2d031aa5a70) is not the object's thread (0x2d035d5c640).
Cannot move to target thread (0x2d031aa5a70)
qt.qpa.plugin: Could not load the Qt platform plugin "windows" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: direct2d, minimal, offscreen, windows.`

In the conda virtual environment, no error occurred when installing with pip.

Which command did you use for install napari in conda?
In general you have outdated napari version (0.4.14 instead of 0.4.16) and totally outdated qt.
Did you install napari in main conda environment?

conda install -c conda-forge napari
I saw a solution to the problem of 0.4.16 not being installed with this command somewhere else, so now I'm using
conda install -c conda-forge napari=0.4.16
However, I still have the same problem.
On the other hand,
if I use
pip install "napari[all]",
The problem no longer occurs, so it has been resolved to a point.

@hiroalchem mase on my experience it looks like you try to install napari in base anaconda environment. And part of programs shipped by default in anaconda requires outdated Qt. And because of this conda decided to not upgrade Qt.
When you install PyQt5 from pip it may broke your conda environment tools (like Spyder).

@Czaki No, I am working in a newly created virtual environment with conda. However, what came to mind with your suggestion is that I could have simply specified a version such as pyqt5 and installed the new version. I did not check carefully. I will try it again properly later.

I am seeing this in an Ubuntu 22.04 aarch64 VM with no 3D acceleration (UTM 3.2.4 running on macOS 11.2.3, Apple Silicon).

hello, have you already tried this command pip install napari[all] instead of pip install napari?

He cannot use all as there are no qt5 wheels on pypi.
It looks like the real error message is hidden, as one of the imports in lines 32 or 33 fails in a silent way.
https://github.com/vispy/vispy/blob/fcc0139ba9c4e7dc655a663c075e3973f1c73e25/vispy/app/backends/_pyqt5.py#L30-L33
his comes from warning: pyqt5 already imported, cannot switch pyqt5

Thanks for the tip @Czaki
It had to do with QtTest not being available in this line. After removing it from the import, napari can start without issues.
Reported to conda-forge: https://github.com/conda-forge/pyqt-feedstock/issues/126

I'm going to close as this is an upstream issue.


Instance restarts while cloning

I am cloning a repository. While running clone(), the docker instance I am running my code on, gets restarted. I have added some logs and it seems to me that restart happens when calling
r.fetchAndUpdateReferences
More precisely, the restart happens in UpdateObjectStorage in this if:
if pw, ok := s.(storer.PackfileWriter); ok {
	error := WritePackfileToObjectStorage(pw, packfile)
	return  error
}

WritePackfileToObjectStorage returns with no error, but my logs after the
	error := WritePackfileToObjectStorage(pw, packfile)

is not being printed and instance gets restarted.

This was caused due to not having enough memory in the container. I changed cloneOptions (no-recurse-submodules, no-tags, single-branch) and the issue was fixed.


stop on Distributed Training

When I try to test Distributed Training, my program seems like stop, Can you give me some hits?
../mxnet/tools/launch.py -n 2 -H hosts --sync-dir /tmp/mxnet python train_mnist.py --kv-store dist_sync
output and stop:
2016-01-12 16:53:34,701 INFO rsync /home/kevin/train/ -> <IP_ADDRESS>:/tmp/mxnet
2016-01-12 16:53:34,850 INFO rsync /home/kevin/train/ -> <IP_ADDRESS>:/tmp/mxnet
1 I run it on my server:<IP_ADDRESS>,
2 mkdir ~/train and copy sync file just like: http://mxnet.readthedocs.org/en/latest/aws.html
3 my hosts file in ~/train is
<IP_ADDRESS>
<IP_ADDRESS>
4 and test ssh 3 server each other is ok
5 I run<IP_ADDRESS>:/tmp/mxnet and <IP_ADDRESS>:/tmp/mxnet on local is ok

Hi Junran,
I have the same issue as you reported. Have you resolved the problem ? and Can I ask how to resolve it ?

same question +1,  any solution or magical function calls to stop it ?


Fix #446: Polyline rendering on web

This fixes Polylines failing to render on web, as described in #446 with --dart-define=FLUTTER_WEB_USE_SKIA=false.
The true root cause is that canvas.saveLayer does not work, see flutter issue #48417. This works around that problem by using different blend modes, which works in most cases, but it is not a perfect fix. Overlapping translucent polylines with borders render incorrectly at the point of overlap. This seems rare enough to me.
On platforms where canvas.saveLayer does work, the fix has no effect. So overlapping translucent polylines with borders will continue to work correctly (tested with Android).
While I was in there, I fixed the border size for dotted lines and changed them to use paths. Large border sizes can cause the dots to overlap, and if they are translucent that results in stronger coloring where the circles overlap, which doesn't look right. Paths handle these kinds of overlaps.

I can confirm that this works (below a small extract of gps tracks with many many points) and removes big blocker for web:

Thanks @hlin079g6 !

Looks good, thanks for the explanation!


Hosts file not read

System: Windows 10
I have four dummy websites in different domains (hosta, hostb, hostc, hostd... taken from your gocrawl project).
In %WINDIR%\system32\drivers\etc\hosts I added the following lines:

<IP_ADDRESS> hosta
<IP_ADDRESS> hostb
<IP_ADDRESS> hostc
<IP_ADDRESS> hostd

I created a simple server in Go that assigns each host a different IP address then serves the host files on that IP address, some sample output from the console:

2016/09/22 12:33:33 Host hostd listening on port 43665
2016/09/22 12:33:33 Host hostc listening on port 43664
2016/09/22 12:33:33 Host hosta listening on port 44137
2016/09/22 12:33:33 Host hostb listening on port 43662

I open a web browser to hosta:44137 and am able to see that the files are served correctly.
My issue is that when I try to create a GoQuery document, it either fails to create the document:
doc, err := goquery.NewDocument("hosta:44137")

"2016/09/22 12:48:25 Unable to create a new document for hosta:44137"

or it attempts to go to the internet directly instead of noticing the host mapping:
doc, err := goquery.NewDocument("http://hosta:44137")

"Network Access Message: The website cannot be found."
"Explanation: The IP address for the website you requested could not be found."
"Error Code 11001: Host not found"

Again, opening a web browser and navigating works as expected, but it does not work from Go.

What does work is:
doc, err := goquery.NewDocument("http://<IP_ADDRESS>:44137")
but then I don't get to test what I want, which is to test that my code only accesses websites under a specific domain.

I think the behavior I was experiencing was with the http Server that I setup... closing the issue until I can figure out something more definitive about the issue (and if it actually has anything to do with goquery)

Still experiencing the issue when trying to get text from the dummy webpage:
2016/09/22 16:05:02 hostb:49970
2016/09/22 16:05:02 http://hostb:49970
2016/09/22 16:05:02
X
Network Access Message: The website cannot be found
Explanation: The IP address for the website you requested could not be found.
Try the following:

    Refresh page: Search for the page again by clicking the Refresh button. The timeout may have occurred due to Internet congestion.

Check spelling: Check that you typed the Web page address correctly. The address may have been mistyped.
Access from a link: If there is a link to the page you are looking for, try accessing the page from that link.
If you are still not able to view the requested page, try contacting your administrator or Helpdesk.
Technical Information (for support personnel)

    Error Code 11001: Host not found

Background: This error indicates that the gateway could not find the IP address of the website you are trying to access. This is usually due to a DNS-related error.
Date: 9/22/2016 8:05:01 PM [GMT]
Server: <<My Company's internal DNS server>>
Source: DNS error

I created a sample project to demonstrate this issue
All that's needed is to add:
<IP_ADDRESS> hosta
to your hosts file

Hello Sean,
I don't have a Windows box around, but it works fine on my macbook with a caddy server. Regardless of what's going on, though, it has nothing to do with goquery, if you look at NewDocument, it is just a helper function that calls the stdlib's http.Get() function and then creates the goquery document from the response. Goquery itself doesn't make network calls.
I'd suggest you try it out with a simpler setup - I looked at your sample project and there was a lot going on in there, I just started caddy on a given port (https://caddyserver.com/, could also be nginx or whatever) and added the hosta entry in my /etc/hosts file. You should then try a simple http.Get("http://hosta:<port>") and see what you get (and make sure to check any error).
Hope this helps,
Martin

That is helpful and http.Get() returns a 502 so it's got to do with my setup. Thanks for the response.


[Executor] Refine exec line in script executor

Description
Refine exec line in script executor.
All Promptflow Contribution checklist:

[x] The pull request does not introduce [breaking changes].
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.
[ ] Create an issue and link to the pull request to get dedicated review from promptflow team. Learn more: suggested workflow.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

Add more detailed description for this change.


Replace pop-ups with foldable sections

Maybe it's a matter of taste but I find the generated documentation a little too pop-up happy :smile:
Indeed, I think it would be easier to read if the method details were in foldable sections instead of pop-ups. Consider the case when you compare two methods: you have to go back and forth between pop-ups while, if foldable sections where used, you could see both information sections on the same page.
Thanks for considering this :smile_cat:

Yeah, this has been discussed multiple times before. I'm hoping to get a designer to make new default templates and this will definitely be part of the brief. Until then I'm not going to modify the default templates, sorry.

Uh, OK. Strange you don't keep it open as an enhancement request...

You can add it to #89, that would be a lot easier for me.


to use your pretrained models, what should the classe feed into _fasterRNCC should be?

Cause I don't know the order of MSCOCO classes while you train the model, can you provide a file contain the classes's order?

Check this out. Found here.