blade-formatter: init at 1.41.1

Description of changes
A formatter for Blade templates from Laravel PHP framework.
https://github.com/shufo/blade-formatter
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

1 package built:

blade-formatter

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/2737

Things done:

applied suggestions
changed from mkYarnPackage to buildNpmPackage
added an update script
updated from 1.38.2 to 1.41.1

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

1 package built:

blade-formatter

Just a few additional notes.

meta.mainProgram = "blade-formatter"; (so that it can be used with lib.getExe pkgs.blade-formatter instead of lib.getExe' pkgs blade-formatter "blade-formatter"
format with nixfmt-rfc-style (seems to be the new trend)

Tested basic blade file and worked as expected.
<x-layout> <x-slot:heading>Job</x-slot:heading>
{{ $job->title }}

Salary: {{$job->salary}}
 @can('edit', $job)
 <x-button href="/jobs/{{ $job->id }}/edit">Edit Job</x-button>
 @endcan </x-layout>

<x-layout> <x-slot:heading>Job</x-slot:heading>

{{ $job->title }}

Salary: {{ $job->salary }}
 @can('edit', $job)

 <x-button href="/jobs/{{ $job->id }}/edit">Edit Job</x-button>

    @endcan
</x-layout>

Oops, fumbled meta.platforms :confounded:

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

1 package built:

blade-formatter

Congrats on the round PR number btw :tada:  :tada:  :tada:


Updating meeting policies

Updating the doc to reflect the behaviour in Teams Browser clients

@mkbond007: This one should probably go to you...


Fix Blast Help Text

This happened to one of our viewers today.
devchatterbot: Use "!blast [choice]". Replace [choice] with one of: {choiceText}```

The `{choiceText}` should be replaced with the available options.

I'll have a look at this

Ok I've got the bot running and stuff but can I ask what the blast function is supposed to be doing here? I see a database table created at runtime with the name BlastTypes. When I add a new row, I'm told Id can't be blank so I'm guessing this should actually be written to through the app since it's not automatically incremented unless I'm mistaken? Should that have some kind of setting populated at initial run?


Question: Any interest in putting together a premium version for sale on SugarKubes?

Hi @akveo-private , congrats on the traction! Would you be interested in putting together a premium version of this RN starter to sell on SugarKubes? It's a code and container marketplace I'm putting together.

@wrannaman  i have paid for your react-native-starter project , but I am not invited yet.
My paid email address is<EMAIL_ADDRESS>

@tianlinzx Sorry about that! I'll figure out what's going on right now. You can message me at andrew at sugarkubes.io


Add more formulas

Hi,
would it be possible to add the following formulas?
        def NOT_EQUAL(left: Any, right: Any) -> str:
            return "{} != {}".format(left, right)

        def LESS_EQUAL(left: Any, right: Any) -> str:
            return "{}<={}".format(left, right)

        def GREATER_EQUAL(left: Any, right: Any) -> str:
            return "{}>={}".format(left, right)

        def NOT(value: Any) -> str:
            return "NOT({})".format(value)

Feel free to read our contribution guidelines and submit a pull request!

See #329 for a proposed fix.


dirty fix for fast fingers on volume buttons

On my thinkpad if I press the volume buttons in rapid sequences it stucks on a certain value unless I press the opposite volume buttons. I dont know if you encountered this problem; if yes, this very dirty trick will hopefully do the job. Also, before adopt this solution it needs some testing because I use and tested it on a different dwm configuration without dwmblocks and with slightly different bindings.
A cleaner solution could consist in:

setting a specific repeat-rate or repeat-delay for the volume buttons in dwm/xinput/X, or
setting a sort of sensistivity-to-repeat in wireplumber , or
intercept the key pressed in some magic acpid rule.

I dont know if these solution are viable, but I struggled searching for them and ended with this fix on my installation.

That was a mistake, was working on a dwl codebase that binds dedicated thinkpad volume buttons and didnt realize here the code refers to minus and equal buttons.
I remember that when I used LARBS still I had problems with my thinkpad volume buttons; I dont find where they are bindend.


EZPF mods submitting scores with misses

I played C Type using EZPF, and submitted a score with a 100. I actually got a medal from it.
I played again a couple times and the EZPF mods were pretty inconsistent when it came to restarting. Some notes I could consistently miss or get 50's on, That includes both slider ends and full misses. I submitted another score with a miss shortly after.
The PF mod on its own seems fine, but I've tried EZPF on other maps and it seems consistent, though I've yet to check with another install.

Arch Linux, flatpak, 2024.1208.0

Wrong repository, and also duplicate (https://github.com/ppy/osu/issues/20511)


cat rmbt_init.sql | psql rmbt -1 error

Hello!
I'm getting an error while running
cat rmbt_init.sql | psql rmbt -1
ERROR:  syntax error at or near "SELECT"
LINE 7: SELECT pg_catalog.setval('public.test_server_uid_seq', 86, t...

this is the last line in the rmbt_init.sql file.
how I can fix it?

Hello,
the latest commit should have fixe the error.

Thank you.
Now it works correctly


ignore flake8 whitespace check enforced by black

cc @pfmoore

Cool! Amusingly I did search for mentions in the code of that warning, but I looked for W503 rather than E503 and missed them. Otherwise I might well have just added a noqa comment and not said anything...


Fix JSON patch move, add operations & related tests.

Current implementation of JSON Patch doesn't follow RFC6902. NUnit do not do assert statements because conditions are wrong.
I fixed this stuff in PR.

Move operation works (this time correct object is removed after copy ;))
Add and Insert operations are fixed (add is a different thing than insert in .net)
Unit tests pass.

Code for patching still needs some fixes, maybe I'll find some time later to tweak things up.

This is good.  I'm going to push some changes to update the version & readme, then I'll merge.
Thanks!

check out v11.0.3 soon!  thanks for the help.


Option for placeholder "Slots"

Let's say I'm building a scheduling system; each list comprises of some number of people (Let's say five for a day). It would be very cool to have an option for placeholders. e.g. something like
MM. DD: <Person 1> <Person 2> <Person 3> <Person 4> <EMPTY SLOT>
MM. DD: <Person 1> <Person 2> <EMPTY SLOT> <EMPTY SLOT> <EMPTY SLOT>
MM. DD: <Person 1> <Person 2> <Person 3> <EMPTY SLOT> <EMPTY SLOT>
MM. DD: <EMPTY SLOT> <EMPTY SLOT> <EMPTY SLOT> <EMPTY SLOT> <EMPTY SLOT>

Or something to that effect. Or is this already a thing and I just can't figure it out.
Should it be possible with something like this?

<template>

{{ item }}

SLOT

</template>

I'm trying to get something like this to work

Works if you add this to your config
  draggable: (el) => {
    return !el.classList.contains("no-drag");
  },


HLS: address bits lost when using hls memcpy to copy only one 512bits word

Today I found a bug maybe in Vivado HLS
If using
memcpy(buf, (snap_membus *t) (din_gmem + (input_address >> ADDR_RIGHT_SHIFT)), BPERDW);

//ADDR_RIGHT_SHIFT = 6
//BPERDW = 64

to transfer only 1 BPERDW, HLS synthesis result shows:
signal p_s_reg_151 : STD_LOGIC_VECTOR (63 downto 0);
...
tmp_2_fu_240_p4 <= p_s_reg_151(37 downto 6);

p_s_reg_151 (63 downto 0) has the correct full width address, but I don't know why tmp_2_fu_240_p4 will cut higher bits and send the address to m_axi_host_mem_ARADDR, and finally go to ah_cea.
Simulation on bb x86 server happen to pass, because higher bits (higher than bit37) are zero accidently.
When running on Power server,  higher bits lost will cause PSL bad context error and timeout.
(Last time I thought it was because SNAP hadn't developed the part of ah_cch stuff and didn't know it is because of bad address. )
The confusing part is:
If use this memcpy statement to copy more than 1 word, since it goes to a burst and may be handled by some different logic, the address is tranferred correctly.
Most of our SNAP example cases are copying data block, so we didn't see the problem in hls_memcopy, hls_hashjoin, hls_intersect, and even the first part of code of hls_bfs.
I remember in the very beginning, there are functions "read/write_single_word...."  Are they from Xilinx guys?  They are necessary. We need them come back.  And they can perform properly on the address bits.

Lisa opened problem CR-978469
Waiting for fix

Received from Lisa@Xilinx that this issue will be fixed in Version 2017.4

This bug has been confirmed as corrected by Xilinx in release Vivado HLS 2017.4
Closing the issue


Project 1 Feedback from Team Zilean

System design is good and efficient. Also, dockerizing microservice is a commendable task and it works properly. Having user and session logic in one microservice is good but could have made 2 microservices out of it. Actually, both ways are correct but we went with the later one.  Below are some observations from our side.
Pros:

UI looks great
Error validation works properly for every page

Cons:

UI doesn't have pagination.

Thanks
Team Zilean

System design is good and efficient. Also, dockerizing microservice is a commendable task and it works properly. Having user and session logic in one microservice is good but could have made 2 microservices out of it. Actually, both ways are correct but we went with the later one. Below are some observations from our side.
Pros:

UI looks great
Error validation works properly for every page

Cons:

UI doesn't have pagination.

Thanks Team Zilean for the feedback,
The reason for choosing to maintain user data and session logic in same microservice is to save the effort of maintaining two microservices for the related data, as both modules will anyway remain independent during user session, and can communicate to one another without making network calls, when needed.

I agree with Tanu but I think the professor suggested that we should develop user and session microservice differently because that is a scalable design because if in the future you have millions of users then it will distribute load properly

Excellent work and architecture design is good.
Frontend is not stable. It is displaying an error page that is poorly designed.
Doker's effort is commendable.
I think you could have developed asynchronous communication as now your system cannot handle multiple requests efficiently.

I think you could have developed asynchronous communication as now your system cannot handle multiple requests efficiently.

We kept this in mind and tested RabbitMQ for asynchronous communication between API Gateway and Plotting Service since those are the most heavy lifters, but due to lack of our knowledge in it we were not able to pursue it. Either way its a good point from a point of scalability, which we'll definitely try to achieve the next time.
I agree with the scalable thing, but multiple network calls can  simultaneously make the system very slow and both the data are very inter-related. Professor mentioned we can have two micro services as to show internal communication among them but we are fulfilling the same purpose among gateway and other services.

Thanks for your feedback Rushikesh and Aishwarya!


Potential typo in binding logic

Potential typo in binding logic.
https://github.com/chipsalliance/UHDM/blob/cc1014efefe245d40600edc837ab3a77905aaeb4/templates/ElaboratorListener.cpp#L302
netMap.emplace(gsa->VpiName(), gs); should be netMap.emplace(gs->VpiName(), gs);
With the logic in place, only the last gen_scope will be in the container.
Similarly here -
https://github.com/chipsalliance/UHDM/blob/cc1014efefe245d40600edc837ab3a77905aaeb4/templates/ElaboratorListener.cpp#L701
https://github.com/chipsalliance/UHDM/blob/cc1014efefe245d40600edc837ab3a77905aaeb4/templates/ElaboratorListener.cpp#L1246
I tried fixing these but it affects the following test cases unexpectedly, generating binding issues.

ComplexHierPath
GenModHierPath
GenScopeFunc
GenScopeHierPath2
GenerateBlock
GenerateRegion
HierPathBeginBlock
HierPathInterfBlock
HierPathTfArg
ImplicitGenBlock

There is only one element in the container at all times.
It is a 1-1 relation in the UHDM implementation.
The standard has a vector but we don't use that.


Relation update

Coverage decreased (-3.5%) to 89.781% when pulling 288dbc2bcfe9a887ea033e79406aefeba807cada on relation-update into b4cb5c3e72334a96483b182f50ace11fd2486ec6 on master.


Documentation inconsistency: captureException() and captureError() used interchangeably

captureException() used on https://docs.getsentry.com/hosted/clients/node/ and captureError() used on https://docs.getsentry.com/hosted/clients/node/usage/
Even though they're aliased, it'd be nice if the docs just used captureException() consistently, like the JS client docs do -https://docs.getsentry.com/hosted/clients/javascript/usage/

5b9aa469e548afc5d2498780e522f9be2a35b605
Thanks for pointing this out, Chad. 🍻

Chad? :)


[BUG] Vista online queries don;t work through astroquery

Describe the bug
Astroquery has the wrong URL for the vista server (It has horus.roe.ac.uk which no longer works, should be vsa.roe.ac.uk). Logging before we forget.

Opened a PR upstream (https://github.com/astropy/astroquery/pull/3033) to fix this issue


Properly do all kubeVersions in the integration tests

If we always return at each iteration, we'll only ever test the first version.
Seems like a typo or silly mistake.

Can one of the admins verify this patch?

ok to test

LGTM


fix Subsequent variable declarations bust

When building locally, some of us received the following error:
$ npm run build

><EMAIL_ADDRESS>build /Users/kevin/Developer/mark43/aws-azure-login
> tsc

node_modules/@types/node/globals.d.ts:72:13 - error TS2403: Subsequent variable declarations must have the same type.  Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(reason?: any): AbortSignal; timeout(milliseconds: number): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'.

72 declare var AbortSignal: {
               ~~~~~~~~~~~

  node_modules/typescript/lib/lib.dom.d.ts:2071:13
    2071 declare var AbortSignal: {
                     ~~~~~~~~~~~
    'AbortSignal' was also declared here.

Found 1 error in node_modules/@types/node/globals.d.ts:72

npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR<EMAIL_ADDRESS>build: `tsc`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      /Users/kevin/.npm/_logs/2023-05-01T20_54_14_537Z-debug.log

Adding the following changes fixes the bust.

Since Azure is going away, we don't need this anymore.

My mistake, re-opening.

hey @kevinheins and @clayvan, do you know why this pr was closed? I'm facing the same issue currently trying to get access to gov high. fysa @jordanMark43

Nevermind, ryan changed the process and now this wasn't an issue for me: https://mark43.atlassian.net/wiki/spaces/PLAT/pages/3612999968/Onboarding+to+FedRAMP


codegen: drop unused informer packages

Signed-off-by: spacewander<EMAIL_ADDRESS>Please provide a description of this PR:
The informers are no longer in used.

Hi @spacewander. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

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

/ok-to-test


FE-265: Fix user permissions radio button shadow

Scope & Purpose
On user permissions screen, shadow on radio button indicates the default value, but it doesn’t show up when there are special characters in the collection/db name. Fixed by using CSS.escape.
before:

after:

[x] :hankey: Bugfix

Checklist

[x] Tests

[x] Manually tested

[x] :book: CHANGELOG entry made
[x] Backports

[x] Backport for 3.11: https://github.com/arangodb/arangodb/pull/18935

Related Information

[x] GitHub issue / Jira ticket: https://arangodb.atlassian.net/browse/FE-265

[ ] https://jenkins01.arangodb.biz/job/arangodb-ANY-jslint/29030/


Fix typos in models/ and modules/

One I want to double check:
neddedConnectOnMsg() should be neededConnectOnMsg() (i.e. nedded is not an intentional abbrevation of something), correct?

LGTM

LGTM


Revert "fix decoder for nested item where all attributes are absent"

Reverts zio/zio-dynamodb#536
Reverted so that a release with breaking ZIO AWS can be made first, and a separate release will be made for this decoder fix

😢


helm3 mixin usage, including upsert behavior; added vitesse resources; bump to v0.1.8

@phillipgibson  can you change it so we only need one approver?

Sure.


az aks install-cli failing

Describe the bug
azure cli installed successfully but unable to install aks cli: error message: Olivi@MacBook-Air ~ % sudo az aks install-cli
Password:
The detected architecture of current device is "arm64", and the binary for "arm64" will be downloaded. If the detectiton is wrong, please download and install the binary corresponding to the appropriate architecture.
No version specified, will get the latest version of kubectl from "https://storage.googleapis.com/kubernetes-release/release/stable.txt"
Downloading client to "/usr/local/bin/kubectl" from "https://storage.googleapis.com/kubernetes-release/release/v1.28.3/bin/darwin/arm64/kubectl"
The command failed with an unexpected error. Here is the traceback:
IncompleteRead(52033877 bytes read, 3329837 more expected)
Traceback (most recent call last):
File "/opt/homebrew/Cellar/azure-cli/2.53.0/libexec/lib/python3.10/site-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
File "/opt/homebrew/Cellar/azure-cli/2.53.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 663, in execute
raise ex
File "/opt/homebrew/Cellar/azure-cli/2.53.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 726, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/opt/homebrew/Cellar/azure-cli/2.53.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 697, in _run_job
result = cmd_copy(params)
File "/opt/homebrew/Cellar/azure-cli/2.53.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 333, in call
return self.handler(*args, **kwargs)
File "/opt/homebrew/Cellar/azure-cli/2.53.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
return op(**command_args)
File "/opt/homebrew/Cellar/azure-cli/2.53.0/libexec/lib/python3.10/site-packages/azure/cli/command_modules/acs/custom.py", line 1595, in k8s_install_cli
k8s_install_kubectl(cmd, client_version, install_location, base_src_url, arch=arch)
File "/opt/homebrew/Cellar/azure-cli/2.53.0/libexec/lib/python3.10/site-packages/azure/cli/command_modules/acs/custom.py", line 1773, in k8s_install_kubectl
_urlretrieve(file_url, install_location)
File "/opt/homebrew/Cellar/azure-cli/2.53.0/libexec/lib/python3.10/site-packages/azure/cli/command_modules/acs/custom.py", line 1871, in _urlretrieve
f.write(req.read())
File<EMAIL_ADDRESS>line 482, in read
s = self._safe_read(self.length)
File<EMAIL_ADDRESS>line 633, in _safe_read
raise IncompleteRead(data, amt-len(data))
http.client.IncompleteRead: IncompleteRead(52033877 bytes read, 3329837 more expected)
To check existing issues, please visit: https://github.com/Azure/azure-cli/issues
Related command
az aks install-cli
Errors
Olivi@MacBook-Air ~ % sudo az aks install-cli
Password:
The detected architecture of current device is "arm64", and the binary for "arm64" will be downloaded. If the detectiton is wrong, please download and install the binary corresponding to the appropriate architecture.
No version specified, will get the latest version of kubectl from "https://storage.googleapis.com/kubernetes-release/release/stable.txt"
Downloading client to "/usr/local/bin/kubectl" from "https://storage.googleapis.com/kubernetes-release/release/v1.28.3/bin/darwin/arm64/kubectl"
The command failed with an unexpected error. Here is the traceback:
IncompleteRead(52033877 bytes read, 3329837 more expected)
Traceback (most recent call last):
File "/opt/homebrew/Cellar/azure-cli/2.53.0/libexec/lib/python3.10/site-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
File "/opt/homebrew/Cellar/azure-cli/2.53.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 663, in execute
raise ex
File "/opt/homebrew/Cellar/azure-cli/2.53.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 726, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/opt/homebrew/Cellar/azure-cli/2.53.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 697, in _run_job
result = cmd_copy(params)
File "/opt/homebrew/Cellar/azure-cli/2.53.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 333, in call
return self.handler(*args, **kwargs)
File "/opt/homebrew/Cellar/azure-cli/2.53.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
return op(**command_args)
File "/opt/homebrew/Cellar/azure-cli/2.53.0/libexec/lib/python3.10/site-packages/azure/cli/command_modules/acs/custom.py", line 1595, in k8s_install_cli
k8s_install_kubectl(cmd, client_version, install_location, base_src_url, arch=arch)
File "/opt/homebrew/Cellar/azure-cli/2.53.0/libexec/lib/python3.10/site-packages/azure/cli/command_modules/acs/custom.py", line 1773, in k8s_install_kubectl
_urlretrieve(file_url, install_location)
File "/opt/homebrew/Cellar/azure-cli/2.53.0/libexec/lib/python3.10/site-packages/azure/cli/command_modules/acs/custom.py", line 1871, in _urlretrieve
f.write(req.read())
File<EMAIL_ADDRESS>line 482, in read
s = self._safe_read(self.length)
File<EMAIL_ADDRESS>line 633, in _safe_read
raise IncompleteRead(data, amt-len(data))
http.client.IncompleteRead: IncompleteRead(52033877 bytes read, 3329837 more expected)
To check existing issues, please visit: https://github.com/Azure/azure-cli/issues
Issue script & Debug output
Olivi@MacBook-Air ~ % az aks --debug
cli.knack.cli: Command arguments: ['aks', '--debug']
cli.knack.cli: init debug log:
Enable color in terminal.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x1013de4d0>, <function OutputProducer.on_global_arguments at 0x101473490>, <function CLIQuery.on_global_arguments at 0x1014dc940>]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Modules found from index for 'aks': ['azure.cli.command_modules.acs']
cli.azure.cli.core: Loading command modules:
cli.azure.cli.core: Name                  Load Time    Groups  Commands
cli.azure.cli.core: acs                       0.034         7        54
cli.azure.cli.core: Total (1)                 0.034         7        54
cli.azure.cli.core: Loaded 7 groups, 54 commands.
cli.azure.cli.core: Found a match in the command group table for 'aks'.
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x101f8ad40>]
cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to '/Users/Olivi/.azure/commands/2023-10-24.11-40-22.aks.34664.log'.
az_command_data_logger: command args: aks --debug
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument..add_subscription_parameter at 0x101fa36d0>]
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument..add_ids_arguments at 0x1020792d0>, <function register_cache_arguments..add_cache_arguments at 0x1020793f0>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
urllib3.connectionpool: Starting new HTTPS connection (1): app.aladdin.microsoft.com:443
urllib3.connectionpool: https://app.aladdin.microsoft.com:443 "GET /api/v1.0/suggestions?query=%7B%22command%22%3A+%22aks%22%2C+%22parameters%22%3A+%22%22%7D&clientType=AzureCli&context=%7B%22versionNumber%22%3A+%222.53.0%22%2C+%22errorType%22%3A+%22MissingRequiredSubcommand%22%2C+%22correlationId%22%3A+%22352fc351-5fb5-4417-a355-99232324c3f0%22%2C+%22subscriptionId%22%3A+%22d5355c01-8312-4d20-99b4-87e78719d67c%22%2C+%22eventId%22%3A+%228ab48334-f97a-4584-b15e-38cc5861d549%22%7D HTTP/1.1" 200 None
cli.azure.cli.core.command_recommender: "--admin" is an invalid parameter for command "aks".
cli.azure.cli.core.command_recommender: "--name" is an invalid parameter for command "aks".
cli.azure.cli.core.command_recommender: "--resource-group" is an invalid parameter for command "aks".
cli.azure.cli.core.azclierror: NoneType: None
cli.azure.cli.core.azclierror: the following arguments are required: _subcommand
az_command_data_logger: the following arguments are required: _subcommand
Examples from AI knowledge base:
az aks list
List managed Kubernetes clusters. (autogenerated)
az aks get-credentials --admin --name MyManagedCluster --resource-group MyResourceGroup
Get access credentials for a managed Kubernetes cluster. (autogenerated)
az aks install-cli
Download and install kubectl, the Kubernetes command-line tool. Download and install kubelogin, a client-go credential (exec) plugin implementing azure authentication. (autogenerated)
https://docs.microsoft.com/en-US/cli/azure/aks#az_aks_list
Read more about the command in reference docs
cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x101f8af80>]
az_command_data_logger: exit code: 2
cli.main: Command ran in 0.672 seconds (init: 0.093, invoke: 0.579)
telemetry.main: Begin splitting cli events and extra events, total events: 1
telemetry.client: Accumulated 0 events. Flush the clients.
telemetry.main: Finish splitting cli events and extra events, cli events: 1
telemetry.save: Save telemetry record of length 3717 in cache
telemetry.main: Begin creating telemetry upload process.
telemetry.process: Creating upload process: "/opt/homebrew/Cellar/azure-cli/2.53.0/libexec/bin/python /opt/homebrew/Cellar/azure-cli/2.53.0/libexec/lib/python3.10/site-packages/azure/cli/telemetry/init.py /Users/Olivi/.azure"
telemetry.process: Return from creating process
telemetry.main: Finish creating telemetry upload process.
Olivi@MacBook-Air ~ %
Expected behavior
To be able to locally manages my aks cluster
Environment Summary
Olivi@MacBook-Air ~ % az --version
azure-cli                         2.53.0
core                              2.53.0
telemetry                          1.1.0
Dependencies:
msal                            1.24.0b2
azure-mgmt-resource             23.1.0b2
Python location '/opt/homebrew/Cellar/azure-cli/2.53.0/libexec/bin/python'
Extensions directory '/Users/Olivi/.azure/cliextensions'
Python (Darwin) 3.10.13 (main, Aug 24 2023, 22:36:46) [Clang 14.0.3 (clang-14<IP_ADDRESS>.1)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Olivi@MacBook-Air ~ %
Additional context
No response

Thank you for opening this issue, we will look into it.

@oliviao12345, this error occurs because you have poor internet connections. As the error message said, you have downloaded about 52MB of data, and there are still about 3MB of data that have not been downloaded.
Workarounds would be

Rerun the command to see if it succeeds.
Download the binary by yourself. In your case, this should be 1.28.3 for darwin-arm64 (https://storage.googleapis.com/kubernetes-release/release/v1.28.3/bin/darwin/arm64/kubectl).

I'll add a retry to this piece code as a fix.

Getting a 503 error on windows using the command az aks install-cli.  Problem has persisted for the past 18 hours.
urllib.error.HTTPError: HTTP Error 503: Service Unavailable
> az aks install-cli
The command failed with an unexpected error. Here is the traceback:
HTTP Error 503: Service Unavailable
Traceback (most recent call last):
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 233, in invoke
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 663, in execute
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 697, in _run_job
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 333, in __call__
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/acs/custom.py", line 1590, in k8s_install_cli
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/acs/custom.py", line 1734, in k8s_install_kubectl
  File "urllib\request.py", line 216, in urlopen
  File "urllib\request.py", line 525, in open
  File "urllib\request.py", line 634, in http_response
  File "urllib\request.py", line 563, in error
  File "urllib\request.py", line 496, in _call_chain
  File "urllib\request.py", line 643, in http_error_default
urllib.error.HTTPError: HTTP Error 503: Service Unavailable
To check existing issues, please visit: https://github.com/Azure/azure-cli/issues

@bandwiches, the 503 error you met is also caused bad network condition. As you said, this problem has been present for the past 18 hours, so adding retry will most likely not fix the issue. BTW, the download address is from Google Storage (if you didn't set profile to azure china cloud).

@FumingZhang I see the link in your previous post and I agree that the download address is Google Storage, but I disagree that 503 is a "bad network connection".  503 is a server side "service unavailable" response and it fails immediately when using az aks install-cli command, but the direct links works like a charm. Tells me that there is somethig
Workaround

Install kubectl
az login
az account set --subscription ...
az aks get-credentials ...

AZ Version
> az version
{
  "azure-cli": "2.52.0",
  "azure-cli-core": "2.52.0",
  "azure-cli-telemetry": "1.1.0",
  "extensions": {}
}

Full AKS Debug
> az aks install-cli --debug
cli.knack.cli: Command arguments: ['aks', 'install-cli', '--debug']
cli.knack.cli: __init__ debug log:
Enable color in terminal.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x00000176FF875240>, <function OutputProducer.on_global_arguments at 0x00000176FF9C3EB0>, <function CLIQuery.on_global_arguments at 0x00000176FFC0D240>]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Modules found from index for 'aks': ['azure.cli.command_modules.acs']
cli.azure.cli.core: Loading command modules:
cli.azure.cli.core: Name                  Load Time    Groups  Commands
cli.azure.cli.core: acs                       0.036         7        54
cli.azure.cli.core: Total (1)                 0.036         7        54
cli.azure.cli.core: Loaded 7 groups, 54 commands.
cli.azure.cli.core: Found a match in the command table.
cli.azure.cli.core: Raw command  : aks install-cli
cli.azure.cli.core: Command table: aks install-cli
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x0000017682294430>]
cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to '..redacted..\2023-10-27.14-32-27.aks_install-cli.17424.log'.
az_command_data_logger: command args: aks install-cli --debug
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument.<locals>.add_subscription_parameter at 0x00000176822970A0>]
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument.<locals>.add_ids_arguments at 0x00000176822ED090>, <function register_cache_arguments.<locals>.add_cache_arguments at 0x00000176822ED1B0>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x00000176FF9C3F40>, <function CLIQuery.handle_query_parameter at 0x00000176FFC0D2D0>, <function register_ids_argument.<locals>.parse_ids_arguments at 0x00000176822ED120>]
cli.azure.cli.command_modules.acs.custom: The detected architecture of current device is "amd64", and the binary for "amd64" will be downloaded. If the detectiton is wrong, please download and install the binary corresponding to the appropriate architecture.
cli.azure.cli.command_modules.acs.custom: No version specified, will get the latest version of kubectl from "https://storage.googleapis.com/kubernetes-release/release/stable.txt"
cli.azure.cli.core.azclierror: Traceback (most recent call last):
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 233, in invoke
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 663, in execute
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 697, in _run_job
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 333, in __call__
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/acs/custom.py", line 1590, in k8s_install_cli
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/acs/custom.py", line 1734, in k8s_install_kubectl
  File "urllib\request.py", line 216, in urlopen
  File "urllib\request.py", line 525, in open
  File "urllib\request.py", line 634, in http_response
  File "urllib\request.py", line 563, in error
  File "urllib\request.py", line 496, in _call_chain
  File "urllib\request.py", line 643, in http_error_default
urllib.error.HTTPError: HTTP Error 503: Service Unavailable

cli.azure.cli.core.azclierror: The command failed with an unexpected error. Here is the traceback:
az_command_data_logger: The command failed with an unexpected error. Here is the traceback:
cli.azure.cli.core.azclierror: HTTP Error 503: Service Unavailable
Traceback (most recent call last):
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 233, in invoke
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 663, in execute
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 697, in _run_job
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 333, in __call__
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/acs/custom.py", line 1590, in k8s_install_cli
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/acs/custom.py", line 1734, in k8s_install_kubectl
  File "urllib\request.py", line 216, in urlopen
  File "urllib\request.py", line 525, in open
  File "urllib\request.py", line 634, in http_response
  File "urllib\request.py", line 563, in error
  File "urllib\request.py", line 496, in _call_chain
  File "urllib\request.py", line 643, in http_error_default
urllib.error.HTTPError: HTTP Error 503: Service Unavailable
az_command_data_logger: HTTP Error 503: Service Unavailable
Traceback (most recent call last):
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 233, in invoke
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 663, in execute
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 697, in _run_job
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 333, in __call__
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/acs/custom.py", line 1590, in k8s_install_cli
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/acs/custom.py", line 1734, in k8s_install_kubectl
  File "urllib\request.py", line 216, in urlopen
  File "urllib\request.py", line 525, in open
  File "urllib\request.py", line 634, in http_response
  File "urllib\request.py", line 563, in error
  File "urllib\request.py", line 496, in _call_chain
  File "urllib\request.py", line 643, in http_error_default
urllib.error.HTTPError: HTTP Error 503: Service Unavailable
To check existing issues, please visit: https://github.com/Azure/azure-cli/issues
cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x0000017682294670>]
az_command_data_logger: exit code: 1
cli.__main__: Command ran in 0.739 seconds (init: 0.248, invoke: 0.491)
telemetry.main: Begin splitting cli events and extra events, total events: 1
telemetry.client: Accumulated 0 events. Flush the clients.
telemetry.main: Finish splitting cli events and extra events, cli events: 1
telemetry.save: Save telemetry record of length 6939 in cache
telemetry.main: Begin creating telemetry upload process.
telemetry.process: Creating upload process: "C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe C:\Program Files\Microsoft SDKs\Azure\CLI2\Lib\site-packages\azure\cli\telemetry\__init__.pyc C:\Users\redacted\.azure"
telemetry.process: Return from creating process
telemetry.main: Finish creating telemetry upload process.

I also meet the similar question when I try to use the underline command on macbook2.The url is invalid,how can I change this command to install kubectl?
(base)  az aks install-cli
The detected architecture of current device is "arm64", and the binary for "arm64" will be downloaded. If the detection is wrong, please download and install the binary corresponding to the appropriate architecture.
No version specified, will get the latest version of kubectl from "https://mirror.azure.cn/kubernetes/kubectl/stable.txt"
Downloading client to "/usr/local/bin/kubectl" from "https://mirror.azure.cn/kubernetes/kubectl/v1.29.2/bin/darwin/arm64/kubectl"
Connection error while attempting to download client (HTTP Error 404: Not Found)

Hey @hai-xin, it seems that the mirror in china cloud is no longer maintained. The workaround is to install kubectl and kubelogin (if necessary) by yourself

https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/
https://azure.github.io/kubelogin/install.html#homebrew


Fix pros::Motor capitalization in 2_configuration.md

Summary

At the end of each cpp code block where motors were set, pros::motor was used instead of pros::Motor. (pros::motor is invalid, pros::Motor is proper)
Motivation

Fix the Docs
Test Plan

Reading the PROS docs.
Additional Notes

Download the template for this pull request:

[!NOTE]
This is auto generated from Add Template to Pull Request

via manual download<EMAIL_ADDRESS>via PROS Integrated Terminal:

curl -o<EMAIL_ADDRESS>https://nightly.link/LemLib/LemLib/actions/artifacts/1492264139.zip;
pros c fetch<EMAIL_ADDRESS>pros c apply<EMAIL_ADDRESS>rm<EMAIL_ADDRESS>

LGTM


why the accuracy is worse than GAT reported ?

The accuracy is -1.7%(citeseer dataset) and -0.5%(pubmed dataset) worse than the paper published in the GAT method, why so much?

I cannot really reproduce this. CiteSeer produces an accuracy around 72.5 for me.
Note that you might need to increase the number of epochs and add some techniques as early stopping.

I cannot really reproduce this. CiteSeer produces an accuracy around 72.5 for me.
Note that you might need to increase the number of epochs and add some techniques as early stopping.

Thanks for your reply，I reproduced this result by runing example codes in https://github.com/rusty1s/pytorch_geometric/tree/master/benchmark/citation, with 10 runs and early_stopping, however, the average accuracy of Citeseer is always arround 70.8, and 78.5 for Pubmed, just as that reported in pyG paper https://arxiv.org/pdf/1903.02428.pdf. Have you updated the model or changed somewhere in GAT_conv ?

I see. I personally think this is due to a slightly different early stopping model, but it's nonetheless worth digging into.


Explore better ways to announce new features in app

In FL, we observed that users were not aware of new features that had been released, especially those that are not very obvious (like printing).
We want to explore better ways to announce new feature in the app.

Closing as a duplicate https://app.zenhub.com/workspaces/design--content-606220c7d2cca40016b49274/issues/cdcgov/prime-simplereport/1358


Zoom user EXE or system MSI - install behavior.

Brief description of your issue
Hi team,
I'm having an issue with Zoom and a few other apps (like Cisco.WebexTeams and other), when it will install/upgrade from different sources, EXE or MSI depending on if it's a new or existing install.

Steps to reproduce
Install Zoom on new system under user context - will install from EXE for that user only.
Install Zoom on new system under system context - will install from EXE for system user only.
Install old version of Zoom using MSI under system context, the upgrade using winget.exe under system context - will upgrade from MSI.
Install Zoom on new system under user context - will install from EXE for that user only, then if you have remediation running as system will not see it as installed.
Also, if you try to --force the upgrade, as I did even if not recommended (having some hash issues), on systems with MSI install under system context it will upgrade from EXE and will mess things up completely.
Expected behavior
I presume different IDs for Zoom install from MSI and system context and Zoom install for user from EXE would fix that issue, as this way we can package all the scripts for install, detection and remediation for MSI or EXE.
Actual behavior
So far we did user SCCM to push Zoom using MSI under system context.
I've created a Win32 app on Intune side to install Zoom.Zoom using winget and also running basically same script under remediation as system for both deployments. Works fine to upgrade existing machines, but once you try to install it on a new machine it fails. This is due to the fact that for existing MSI install, it will download the MSI and install it for all users under system context, but for new install it will redirect to the EXE install, which does install Zoom under user profile instead of all users. Not what you need for an enterprise level, as you don't have much control over it. For some reason the app ID are the same for EXE and MSI install (Zoom.Zoom), but the app Name is different (Zoom for EXE and Zoom (64-bit) for MSI). This does create issues when running remediation under system user, it will always update it for system user only and consider it updated, even if it's not the case. Also, you need different install apps for existing install/upgrade and new, as the winget.exe path is different.
Would be good to have different IDs for MSI (system) and EXE (user) install.
Also, when I try to uninstall Zoom from system user it doesn't work, will say Successfully uninstalled, but still there.
Attaching screenshots for clean zoom install, upgrade existing MSI install and system uninstall.

Environment
Windows Package Manager v1.5.1572
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.1848
System Architecture: X64

Winget Directories
------------------------------------------------------------------------------------------------------
Logs                               %TEMP%\WinGet\defaultState
User Settings                      %LOCALAPPDATA%\Microsoft\WinGet\Settings\defaultState\settings.json
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled

I think I just got it, I need to user "--scope machine". Now I just need to figure out how to cleanup system user profile, as it still sees zoom as installed.


Documentation additions and fixes

Summary

This PR adds various fixes and clarifications to the documentation.

Adds the add_component method to api.special_endpoints.ActionRowBuilder
Adds nox and towncrier requirements to CONTRIBUTING.md
Adds docstrings to the remaining undocumented GatewayBot methods

Checklist

[x] I have run nox and all the pipelines have passed.
[ ] I have made unittests according to the code I have added/modified/deleted.

Related issues

N/A

LGTM, would like to get a second view of Snab too :+1:


Add guideline for dev DNS server

With the deprecation of path-style URLs this year I think it's important to figure out how to make developing without path-style access as frictionless as possible.

@kherock in issue #624
In order to facilitate the configuration of the development environment, it is worth noting that in many cases it is sufficient to use DNS services such as xip.io to support host-based path which point to localhost. For example, using following domain bucketname.s<IP_ADDRESS>.1.xip.io., bucketname.s<IP_ADDRESS>.1.nip.io., bucketname.127-0-0-1.org.uk., bucketname.vcap.me. or bucketname.localhost.tv.

I didn't realize those services existed! That basically solves everything. I'm sure there will be some people asking about ways to avoid resolution for external services, so I'd like to also see if I can create some examples with docker-compose + network aliases.

This is only required for local use. For a public service, you can trivially configure the corresponding willdcard DNS record yourself.
Everyone can also run a similar service on their own using own domain, because it does not require any special functionality of the DNS server. Then there is no need to rely on untrusted public services.
I understand that Docker makes it easier in terms of service discovery, but this seems to me another problem a little bit outside the application, but in the case of free resources worth documenting.


FR: Support Hover Editor

Is your feature request related to a problem? Please describe.
I see that Hover Preview has been implemented in #14 but Hover Editor doesn't work for links on Breadcrumbs.
Additional context
v4.2.35-beta

Nvm. I didn't realize that the core Hover Preview can edit now!


Synonym for Π not accepted when checking split

The following code is not accepted:
module streamsAsFunctions where

import nat

Stream (A : U) : U = nat -> A

cons (A : U) (x : A) (xs : Stream A) : Stream A =
  split
    zero  -> x
    suc n -> xs n

Error message:
Resolver failed: Pi type expected in cons at (7,1)

The code is accepted if the codomain Stream A is expanded into nat -> A.

Thanks!  This should be fixed now.


Return-Path header is not added to received emails

I was trying to test if the return-path was added correctly with mailcatcher, but I think the smtp-server did not add the Envelope From sender as return-path header when receiving the mail. Might be a nice feature to add this header, as I think most smtp-servers are expected to do so.

Mailcatcher does not modify the headers or body of email messages at all by design, it just catches the literal message body received over smtp and stores it for you. The envelope details are as in the From field in the interface, and are also available via the api.

(The received from header is added for MUAs which don’t have access to envelope details, but mailcatcher does.)


{ServiceBus} Change expiration version to next breaking change window

Description

Manually merge dev into release
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

We should fast-forward release to dev, instead of creating a squash merge commit. Otherwise, we won't be able to fast-forward release next time.


HDDS-1471. Update ratis dependency to 0.3.0. Contributed by Ajay Kumar.

+1, Thanks for getting this done. Appreciate it.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
90
Docker mode activated.

_ Prechecks _

+1
@author
0
The patch does not contain any @author tags.

-1
test4tests
0
The patch doesn't appear to include any new or modified tests.  Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

0
mvndep
332
Maven dependency ordering for branch

+1
mvninstall
1097
trunk passed

+1
compile
1063
trunk passed

-1
mvnsite
68
hadoop-ozone in trunk failed.

+1
shadedclient
3374
branch has no errors when building and testing our client artifacts.

+1
javadoc
231
trunk passed

_ Patch Compile Tests _

0
mvndep
23
Maven dependency ordering for patch

+1
mvninstall
392
the patch passed

+1
compile
965
the patch passed

+1
javac
965
the patch passed

+1
mvnsite
246
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
xml
3
The patch has no ill-formed XML file.

+1
shadedclient
684
patch has no errors when building and testing our client artifacts.

+1
javadoc
153
the patch passed

_ Other Tests _

-1
unit
274
hadoop-hdds in the patch failed.

-1
unit
1683
hadoop-ozone in the patch failed.

+1
asflicense
52
The patch does not generate ASF License warnings.

8375

Reason
Tests

Failed junit tests
hadoop.hdds.scm.block.TestBlockManager

hadoop.ozone.ozShell.TestOzoneShell

hadoop.ozone.client.rpc.TestSecureOzoneRpcClient

hadoop.ozone.client.rpc.TestCommitWatcher

hadoop.hdds.scm.pipeline.TestNode2PipelineMap

hadoop.ozone.om.TestOzoneManager

hadoop.ozone.container.TestContainerReplication

hadoop.ozone.client.rpc.TestOzoneRpcClientWithRatis

Subsystem
Report/Notes

Docker
Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-777/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/777

Optional Tests
dupname  asflicense  compile  javac  javadoc  mvninstall  mvnsite  unit  shadedclient  xml

uname
Linux 6392affc92e1 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / 3758270

maven
version: Apache Maven 3.3.9

Default Java
1.8.0_191

mvnsite
https://builds.apache.org/job/hadoop-multibranch/job/PR-777/1/artifact/out/branch-mvnsite-hadoop-ozone.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-777/1/artifact/out/patch-unit-hadoop-hdds.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-777/1/artifact/out/patch-unit-hadoop-ozone.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-777/1/testReport/

Max. process+thread count
3632 (vs. ulimit of 5500)

modules
C: hadoop-hdds hadoop-ozone U: .

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-777/1/console

Powered by
Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

/retest

@anuengineer thanks for review, committed to trunk and 0.4


from_raw_sql without static strings

I would like to use from_raw_sql to populate a struct, the query needs to take in two parameters.  I can't seem to find the combination that works.  I can pass in the string "select substring(code,1,3) as agency, substring(subcode,4,8) as agent from table where field=@p1" but cannot figure out what i need to put in the args to get the query to work.  I am using Mssql.  Thanks for the help!

hey @waywardcoder here is a working example from one of a test
use welds::WeldsModel;
#[derive(Debug, WeldsModel)]
pub struct Product {
    #[welds(primary_key)]
    pub id: i32,
    pub active: Option<bool>,
    pub description: Option<String>,
    pub name: String,
    pub price_1: Option<f32>,
    pub price_2: Option<f32>,
}

#[tokio::test]
async fn should_be_able_to_run_raw_sql() {
    //setup
    let conn = get_conn().await;

    // Go run a query from the database.
    let sql = "SELECT * FROM welds.products where id < @p1";

    use welds::connections::Param;
    let args: Vec<&(dyn Param + Sync)> = vec![&9000];
    let all = Product::from_raw_sql(sql, &args, &conn).await.unwrap();

    assert_eq!(all.len(), 6);
}

I was unaware but from_raw_sql is setup to get a &Vec not a slice. That can be cleaned up to make it easier to use. I will see what I can do.
If this isn't what you are looking for let me know. I want to help get you going.

Here is an example from one of the tests. however it uses a static str
use welds::WeldsModel;
#[derive(Debug, WeldsModel)]
#[welds(schema = "welds", table = "Products")]
pub struct Product {
    #[welds(primary_key)]
    pub id: i32,
    pub active: Option<bool>,
    pub description: Option<String>,
    pub name: String,
    pub price_1: Option<f32>,
    pub price_2: Option<f32>,
}

#[tokio::test]
async fn should_be_able_to_run_raw_sql() {
    //setup
    let conn = get_conn().await;

    // Go run a query from the database.
    let sql = "SELECT * FROM welds.products where id < @p1".to_owned();

    use welds::connections::Param;
    let args: Vec<&(dyn Param + Sync)> = vec![&9000];
    let all = Product::from_raw_sql(&sql, &args, &conn).await.unwrap();

    assert_eq!(all.len(), 6);
}

I wasn't aware but from_raw_sql want a &Vec not a slice. I am going to fix this to make it simpler to use.
If you REALLY want a not static str this is possible you are looking for something like this.
    //setup
    let client = get_conn().await;

    // Go run a query from the database.
    let sql = "SELECT * FROM welds.products where id < @p1".to_owned();
    let args: Vec<&(dyn Param + Sync)> = vec![&9000];

    use welds::connections::Param;
    use welds::state::DbState;
    use welds::Row;

    let mut rows: Vec<Row> = client.fetch_rows(&sql, &args).await?;
    let data: Result<Vec<Product>, _> = rows.drain(..).map(Product::try_from).collect();
    let mut data = data?;
    let products: Vec<DbState<Product>> = data.drain(..).map(DbState::db_loaded).collect();

This is perfect and works!  thank you for the quick response and complete example!


Is the loss function in the code not as comprehensive compared to the loss function described in the paper?

I currently have a question regarding the loss function calculation in my code. It seems that only the L1 loss has been calculated, but the loss in the paper is described as follows. Could you tell me if I need to add the feature_loss, l1_loss, and smooth_loss together with specific weights?

It seems that your input points (h4p/h4p1/h4p2) number are half of needed

Should each batchsize(h4p/h4p1/h4p2)have (divide +1) * (divide +1) * 2*2 points, and why?

sorry the "The input for h4p is [bs, 4]" confused me。 But it's "[bs, 8]" in your description later, which is the correct size. Come on, the correct size should always be (divide +1) * (divide +1) * 2.

I currently have a question regarding the loss function calculation in my code. It seems that only the

has been calculated, but the loss in the paper is described as follows.

Could you tell me if I need to add the feature_loss, l1_loss, and smooth_loss together with specific weights?And also, does the content within the following red area not yet reflected in the network?

Originally posted by @Jerry-bear in https://github.com/JirongZhang/DeepHomography/issues/51#issuecomment-1987563638

After reviewing previous issues, I now understand that the code implements an Oneline mode, whereas the paper mentions a Doubleline mode. If I want to switch to the Doubleline mode, do I need to manually write the missing loss functions?

Hi ~ This is a regularization term in the Doubleline mode, but I don't think it is essential

Hi ~ This is a regularization term in the Doubleline mode, but I don't think it is essential

So, I just need to subtract the L1 loss from the original loss, right?


create the "editing design" data in the admin config

Use Case
the design of the Editing Design subpage needs data to render
Acceptance Criteria
the fields to add all the data needed should be visible in the admin CMS
for example: http://localhost:8000/admin/#/collections/disease-cell-line/entries/AICS-104/index
the data should all be wrapped in an object called "editing design"
there should be a list objects with the labels matching the left side of the info table in the design and the data field blank
there should be a list of "infographics" or "diagrams" that are objects containing a "title" (which can be prefilled to what it is in the design), an image, and a caption.
Details
the whole object should be collapsed on the CMS admin site by default so the data for all 6 subpages isn't overwhelming long
widget reference: https://decapcms.org/docs/widgets/#object
collapsed: if added and labeled true, collapse the widget's content by default

two notes:

we went with "diagrams" so we should keep it consistent.
we can't have default titles without then having to make things "optional" in order to submit the data, so it's better to go without a default title


gRPC file generated for python gives error

Please answer these questions before submitting your issue.
Should this be an issue in the gRPC issue tracker?
Yes.
What version of gRPC and what language are you using?
gRPC Version: 1.7
Language: Python
What operating system (Linux, Windows, …) and version?
Windows 10
What runtime / compiler are you using (e.g. python version or version of gcc)
python 2.7
What did you do?
I generated gRPC files for python and the run a client using the generated python file.
What did you expect to see?
It should run normally
What did you see instead?
The generated python file gave an error even before the start of the execution
I tried to find the issue and the issue was with an enum that I used. Here is how this issue can be reproduced.
Here is the proto file
syntax = "proto3";
package Service;

service MmvGrpcService
{
    rpc Func1(Details) returns (Details) {}
}

message Details
{
  StatusEnum Status=1;
}

enum StatusEnum
{
    None = 0;
    Futuristic = 1;
    New = 2;
}

Then I generated the python files using the following command
python -m grpc_tools.protoc -I . --python_out=. --grpc_python_out=. mmv.proto
Then when I try to use the mmv_pb2.py file in any code It gives this error:
  File "mmv_pb2.py", line 54
    None = 0
SyntaxError: cannot assign to None

I think the reason is None is a keyword in python used for Null
As soon as I replace None with something else like NA, It works!!

Seems like a similar thing as https://github.com/grpc/grpc/issues/13810 where the GRPC codegen has no mechanism to use those names. (on some languages a easy workaround would be using fully qualified names for everything)

gRPC mostly relies on the protoc code generator from google/protobuf. I encourage you to file a bug on their issue tracker for the most expedient resolution. The pb2.py file is entirely generated by protoc and gRPC plugin does not have much say in what gets generated there.

@cw-pratik Since there's now an issue on the protobuf tracker, I will mark this issue as closed here for now as it can be singularly tracked there. Please ping this issue if there is still additional work necessary on the gRPC plugin side after a resolution is reached on protoc side.


Checkboxes and async loading of children

Hi,
I am loading a tree with multiple levels with checkboxes (+4000 nodes) and I use async loading.
First I got an error but after monkey patching the method setIsSelected it works.
TreeNode.prototype.setIsSelected = function (value) {
  if (this.isLeaf || !this.children) {
    this.treeModel.setSelectedNode(this, value);
  } else {
    this.treeModel.setSelectedNode(this, value);
    this.children.forEach((child) => child.setIsSelected(value));
  }
  return this;
};

But when I'm trying to check only node paths fully loaded gets selected. Any workaround for this?
UPDATE
Was able to make it work by adding this.
Object.defineProperty(TreeNode.prototype, 'isSelected', {
  get: function () {
    if (this.isLeaf || !this.children) {
      return this.treeModel.isSelected(this);
    } else {
      return some(this.children, function (node) {
        return node.isSelected;
      });
    }
  },
  enumerable: true,
  configurable: true
});

PS:
Great component all and all!

@isaklafleur thanks, yes.  I solved the performance issue by using the selectedLeafNodeIds in the tree model.

Hi @wendelstam, Could you tell me how you have made monkey patching for setIsSelected method? Where should I replace the method?

You should just be able to include it anywhere so it is just executed prior to you using the tree component @omid-nazifi, I think I just included it before me component class when I tested it.
(Have since then moved to using Teleriks Treeview component i.e. a paid alternative). Still really like this project though.

Sorry, I don't understand where is it exactly. Did you add it out of your component? How does it call? I mean how does app recognize it instead of original method?
Could you display me by example,  If it is possible?

@omid-nazifi dont have the code left but I just added it before to the component class definition i.e. like a "global" const (outside the class) so it is just defined once.
In production i would probably have refactored it so it was in a separate ts/js file loaded individually by ng-cli/webpack. But as long as it's defined after the tree component is loaded I think you should be good. Did not test it alot since I found other things for our project that required a different tree view component (lack of some for us important features not bugs).
Object.defineProperty(TreeNode.prototype, 'isSelected', {
  get: function () {
    if (this.isLeaf || !this.children) {
      return this.treeModel.isSelected(this);
    } else {
      return some(this.children, function (node) {
        return node.isSelected;
      });
    }
  },
  enumerable: true,
  configurable: true
});

@Component({...})
export class MyComponent {
....
}

Thanks you @wendelstam
It was a great note. :-)

Hi @isaklafleur @klteograss,
Could you help me how you solved low performance by selectedLeafNodeIds when checkbox is selected?
Thank you

Did you try to work with the tri-state checkbox aswell?
Cannot get it to work properly, and don't have any clue why it does not work

I hope after I merge your PR it will help - I made a commit for you to
review. Thanks
On Thu, Dec 6, 2018 at 7:37 PM Philipp Huber<EMAIL_ADDRESS>wrote:

Did you try to work with the tri-state checkbox aswell?
Cannot get it to work properly, and don't have any clue why it does not
work
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/500tech/angular-tree-component/issues/531#issuecomment-444960864,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA2SSkO7WDfuRRl5oOzcM5QO1MCKjIVmks5u2VXhgaJpZM4Rao2k
.

Published in 8.0.2


[5.3] SILCombine: Fix update of substitution map when substituting opened opaque archetypes

When performing the substitution of the 'concrete' type that happens to
be an opened archetype we need to force the substitution to actually
call the conformance remapping function.
rdar://62202282
SR-12571
master PR: #31349

@swift-ci Please test

Build failed
Swift Test OS X Platform
Git Sha - 01cf738ba8ff9c047da8158e83711772a07dba3d

Unrelated
‘’’
Failing Tests (1):
lldb-api :: lang/swift/expression/no_calculator/TestSwiftNoProcess.py
‘’’

@swift-ci please test osx

@swift-ci please test os x


Added ability to customize default admin credentials on deployment

Description
Added two new environment variables called DEFAULT_ADMIN_EMAIL and DEFAULT_ADMIN_PASSWORD that are used in creating the default owner user.  DEFAULT_ADMIN_PASSWORD is mandatory in case REQUIRE_USER_AUTHENTICATION is set to True.
Replaced all references of admin.com to example.com as admin.com is a valid domain and could cause issues in prod.
How Has This Been Tested?
Manually tested.

[ ] Test A
[ ] Test B

Checklist

[ ] The PR is tagged with proper labels (bug, enhancement, feature, documentation)
[ ] I have performed a self-review of my own code
[ ] I have added unit tests that prove my fix is effective or that my feature works
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] If new documentation has been added, relative paths have been added to the appropriate section of docs/mint.json

cc:
@adelcast

Hi @PopaRares , do you want to continue on this PR?

Hi @PopaRares , do you want to continue on this PR?

Hi. I've been caught up in some other work so I wasn't able to work on this. The project I've been working on last year has been closed, so this is no longer necessary for us, but if you still think this is useful, I could continue on it; I just need to figure out why the tests fail and I think we're good.

Hi @PopaRares , i think this feature is still useful to us. Will you still have time to complete it?


Same channel name checking for the !class command

Currently, it is possible to create a class channel with the same name as one already made. Mods have to delete the new channel and it's just overall not ideal.
Proposed solution:
Add in a check during the class creation process that checks if there's another channel with the same course number and instructor name. If there is one, then direct the user to that channel with a link. Otherwise the process can continue as normal.

!class command has been moved to SockBot, so this feature will not be implemented here.


net/http:  GOAWAY reported as http.http2GoAwayError instead of http2.GoAwayError

What version of Go are you using (go version)?

go version go1.11.1 windows/amd64

What operating system and processor architecture are you using (go env)?
go env Output
set GOARCH=amd64
set GOBIN=
set GOCACHE=...\Local\go-build
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=C:\go
set GOPROXY=
set GORACE=
set GOROOT=C:\Go
set GOTMPDIR=
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set GCCGO=gccgo
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=...\go.mod
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=...\AppData\Local\Temp\go-build204600086=/tmp/go-build -gno-record-gcc-switches

What did you do?
Get an URL, and try to read the body:
response, err := http.Get(task.currentURL)
response.Body.Read()

The server occasionaly closes the connection with GOAWAY, probably when overloaded with requests - the sample app scrapes many urls in short period of time.
What did you expect to see?
Error that could be caught by the code and potentially handled (retry GET):
if e, ok := err.(http2.GoAwayError); ok {
                        ...
}

The http2.GoAwayError struct I found on the github in other issues.
What did you see instead?
Error was not recognized by above assert, instead it was passed to general error handler. Reflection on the error gave this data:
http.http2GoAwayError <- typeof name
http2: server sent GOAWAY and closed the connection; LastStreamID=1999, ErrCode=NO_ERROR, debug=""

It seams that error is of type http.http2GoAwayError which is internal package's struct and cannot be used in my code.
My HTTPS server  (nginx)  upgrades connections from HTTP to HTTP/2, so maybe the issue is when connection from http.Get is upgraded under the hood to HTTP/2 and the code does not translate the error codes appropriately?
Btw. Error reporting is not the best go's feature - it is hard to know what types of error can be returned to handle them accordingly. And the docs do not always tell everything either. The GOAWAY error I got from testing, though I wrote error handling.

@bradfitz

I think you mean to say that http2GoAwayError should be exposed. I will re-title the issue appropriately.

@agnivade Not sure exactly what should be the solution, but there should be a way to "catch" this error.
Why is the http2.GoAwayError not returned in this case? Looks like the perfect candidate for this situation and it is already exposed.
Btw, the posiibility to return package-specific error to other packages seems somewhat wrong.

Oh my bad, I thought you wanted to expose the error. The original issue title was correct then.

This is an unfortunate side effect of how we bundle http2 into net/http. There really are two distinct types, copies of each other: http.GoAwayError and net/http.http2GoAwayError. We're not going to export the latter.
But this isn't even an error that's meant to be acted on: the server sends those during graceful shutdown but shouldn't be interrupting existing requests in flight. If the GOAWAY last_stream_id is less than the one we just sent, the Transport will already reschedule it onto a different/new connection. The only time you should be seeing this if the response body was already partially sent/consumed and the server just closed the connection un-gracefully.
But that's no more interesting than a server that just had its http server crash or otherwise closed its TCP connections ungracefully. If it's important to you, retry. Why is this specific error interesting? If it is, we could add an func IsGoAwayError(err error) somewhere, or a func asking a more interesting question, because it's not clear what a user is really asking with "Is this a goaway error?".
Could you explain more about why you care about this error in particular?

The only time you should be seeing this if the response body was already partially sent/consumed and the server just closed the connection un-gracefully.

That's probably my case. I send multiple requests to low performance server at one time (scrapper). It seems that when nginx feels overloaded it just sends goaway in the middle of response - which effectively means that I get no useful response.
But this is really not important - tha case is that sometimes TCP connection returns error instead of useful response - developer should have opportunity to handle it I suppose.
I should retry you say, and it is precisely what I do. But when should I retry?
I react to http.Get errors, which all should be of type *url.Error - ok, it works. Then it occurs, that request is not really finished after call to Get - because reading response.Body is the real request execution, network action, etc. - and it can return error too (which  is this case). godoc's for response.Body do not indicate what type of error to expect - by trial and error I am handling those: *net.OpError and *http2.GoAwayError, but as we agreed, the latter never occurs in this case - not in this form at least.
So what, you say, catch all errors - well, as you may expect, different errors rquire different actions. **And what's more important is that ** http.http2GoAwayError **is not implementing interfaces for other expected errors, like ** *net.OpError``.
So in effect, I can react to this specific error either via if err != nil which is very big cannon (especially when you use error for application specific errors during processing of some task, which is nice feature of go), or the workaround that I use know:
if reflect.TypeOf(r.GetError()).String() == "http.http2GoAwayError"

In conclusion - I do not want to react precisely to http.http2GoAwayError (but I should have possibility if I needed to), but I want to catch all network / http  errors during request in simple type assertion - to retry.

@Miosss, I'm going to close this as a duplicate of #9424 then, which is about errors & error handling in the HTTP client. Feel free to add your requirements there.


Add an exit code to the verify command

The command now exit with a code != 0
when differences are found...

Case mismatch : 100 //Could be normal on ntfs that is case insensitive
Files missing: 101 //Could be normal if some files are ignored during clone/ fetch with regex
Content mismatch: 102 //Absolutely not normal :(

:+1: Nice!


Remove unused

Unless I'm mistaken, it is not necessary to keep those lines

Resolved in https://github.com/skyekiwi/skyepass-vault/commit/4bf0636d9ea2836226fd8ccfd90ab83f3774cd2c


toLayouts() question

I have a question about the output of content in templates using the toLayouts() function.
Here is a super simple example use case of the plugin.
Notice below how the content of the gallery block in the English translation is empty.
In the panel your plugin is looping through the layouts/columns/blocks and uses the original or the translation correctly in the layouts field.
However, when using toLayouts() the plugin has no effect on the output of the field (I get an empty gallery block).
Is this expected behavior?
Original German, gallery block can not be translated, text block can be translated
Layout:[{
    "attrs":[],
    "columns":[{
        "blocks":[
            {"content":{"images":["file:\/\/pUItlwkKx2BPwkZg"]},"id":"92a42692-4713-4fb0-af51-87e34c8e9910","isHidden":false,"type":"gallery"},
            {"content":{"text":"
Some text DE<\/p>"},"id":"d7d234c2-04fc-4404-9dc3-f4c2236e8171","isHidden":false,"type":"text"}
        ],"id":"b861ad97-48ca-4801-9aa7-5be1dd5116c4","width":"1\/1"
    }],"id":"35edf6df-f948-4bf8-a17c-eb32a4cdc7b9"
}]

English translated layout, only text block has been translated
Layout: [{
    "attrs":[],
    "columns":[{
        "blocks":[
            {"content":[],"id":"92a42692-4713-4fb0-af51-87e34c8e9910","isHidden":false,"type":"gallery"},
            {"content":{"text":"
Some text EN<\/p>"},"id":"d7d234c2-04fc-4404-9dc3-f4c2236e8171","isHidden":false,"type":"text"}
        ],"id":"b861ad97-48ca-4801-9aa7-5be1dd5116c4","width":"1\/1"}
    ],"id":"35edf6df-f948-4bf8-a17c-eb32a4cdc7b9"
}]

Hello, I haven't investigated looping the blocks a lot yet.
Right now there's no sanitisation options/methods for parsing content, everything is done on storing the data, then it's simply retrieved by native functions (Cms/Field namespace). So the native toLayout method should work; if not, does your content files get written correctly ? It could be broken, I haven't used this for a while.
However, on the panel side (Form/Field namespace), the panel parses content on retrieval, that's why it could work there.


[Bug] Timezones edit (server) profile crashes discord

Addon
Timezones
What happened?
Discord crashed (with the "OOPS" screen) when I try to edit my (server) profile
What Discord version do you have this issue on?
Stable
Logs
No response
Code of Conduct

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

Check other plugins, it doesn't crash with this plugin
also try to go into profiles thru settings
ctrl+shift+i for console and errors (logs)
it will show plugin name or file name of plugin that crashed in error msg

When we disable THIS plugin, we can access the (server) profile page.
When looking into the dev logs this is the only thing that is a warning and that showed up during/after the crash:
TypeError: Cannot read properties of undefined (reading 'css')
    at l (3ffb2a2fe2c3a8b21d01.js:5385:90)
    at $i<PHONE_NUMBER>73cf26a001.js:199:815)
    at Sa (3ffb2a2fe2c3a8b21d01.js:1779:54)
    at gu (3ffb2a2fe2c3a8b21d01.js:1833:146)
    at Ic (3ffb2a2fe2c3a8b21d01.js:1826:89)
    at mc (3ffb2a2fe2c3a8b21d01.js:1826:17)
    at hc (3ffb2a2fe2c3a8b21d01.js:1825:867)
    at oc (3ffb2a2fe2c3a8b21d01.js:1822:642)
    at uc (3ffb2a2fe2c3a8b21d01.js:1823:49)
    at Fi (3ffb2a2fe2c3a8b21d01.js:1762:577)
    at 3ffb2a2fe2c3a8b21d01.js:1820:555

P.s. I have used (server) profile in my messages, because when we go to the server profile editor AND/OR to the profile editor, discord crashes!


fixFixed the bug that the iceberg reader did not perform position delete when reading the orc file without a predicate.

Proposed changes
fix this bug:
Scenario : iceberg table uses orc storage format
sql : select * from iceberg_orc;
When executing this sql, position delete filter is not performed.
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

LGTM


error when runing tutorials: 01-vector-add.py in triton-linalg/triton/python

hi,
i build triton-linalg base on the readme successfully,but when i try to run the 01-vector-add.py in triton-linalg/triton/python, got the error:

(triton_linalg) root@31d7a76feafa:/workspace/projs/triton-linalg/triton/python/tutorials# python3 01-vector-add.py
Traceback (most recent call last):
  File "/workspace/projs/triton-linalg/triton/python/tutorials/01-vector-add.py", line 23, in <module>
    import triton
  File "/workspace/projs/triton-linalg/triton/python/triton/__init__.py", line 8, in <module>
    from .runtime import (
  File "/workspace/projs/triton-linalg/triton/python/triton/runtime/__init__.py", line 1, in <module>
    from .autotuner import (Autotuner, Config, Heuristics, autotune, heuristics)
  File "/workspace/projs/triton-linalg/triton/python/triton/runtime/autotuner.py", line 9, in <module>
    from ..testing import do_bench, do_bench_cudagraph
  File "/workspace/projs/triton-linalg/triton/python/triton/testing.py", line 7, in <module>
    from . import language as tl
  File "/workspace/projs/triton-linalg/triton/python/triton/language/__init__.py", line 4, in <module>
    from . import math
  File "/workspace/projs/triton-linalg/triton/python/triton/language/math.py", line 1, in <module>
    from . import core
  File "/workspace/projs/triton-linalg/triton/python/triton/language/core.py", line 9, in <module>
    from ..runtime.jit import jit
  File "/workspace/projs/triton-linalg/triton/python/triton/runtime/jit.py", line 12, in <module>
    from ..runtime.driver import driver
  File "/workspace/projs/triton-linalg/triton/python/triton/runtime/driver.py", line 1, in <module>
    from ..backends import backends
  File "/workspace/projs/triton-linalg/triton/python/triton/backends/__init__.py", line 50, in <module>
    backends = _discover_backends()
  File "/workspace/projs/triton-linalg/triton/python/triton/backends/__init__.py", line 45, in _discover_backends
    backends[name] = Backend(_find_concrete_subclasses(compiler, BaseBackend),
  File "/workspace/projs/triton-linalg/triton/python/triton/backends/__init__.py", line 23, in _find_concrete_subclasses
    raise RuntimeError(f"Found 0 concrete subclasses of {base_class} in {module}: {ret}")
RuntimeError: Found 0 concrete subclasses of <class 'triton.backends.compiler.BaseBackend'> in <module 'triton_lin' from '/workspace/projs/triton-linalg/triton/python/triton/backends/triton_linalg/compiler.py'>: []

how to solve it?

We have not yet provided a complete Triton compilation process. The repository currently only supports converting Triton IR to Linalg IR. The path from Linalg IR to the actual backend kernel has not been provided. We will offer a compilation process based on the Cambricon backend in future updates. If you need support for other backends, please feel free to submit a PR.
In the current state of Triton-Linalg, you can test the conversion from TT IR to Linalg IR using the triton-linalg-opt as described in the README.

We have not yet provided a complete Triton compilation process. The repository currently only supports converting Triton IR to Linalg IR. The path from Linalg IR to the actual backend kernel has not been provided. We will offer a compilation process based on the Cambricon backend in future updates. If you need support for other backends, please feel free to submit a PR.
In the current state of Triton-Linalg, you can test the conversion from TT IR to Linalg IR using the triton-linalg-opt as described in the README.

it means that I have to work with those step:

git clone triton and build with the commit id given by triton-linalg
git clone triton-linalg and build in an venv
run then demo and get the ttir
run the triton-linlg-opt stand-alone base on readme

am I right?

Yes. Your understanding is correct.

We have not yet provided a complete Triton compilation process. The repository currently only supports converting Triton IR to Linalg IR. The path from Linalg IR to the actual backend kernel has not been provided. We will offer a compilation process based on the Cambricon backend in future updates. If you need support for other backends, please feel free to submit a PR.
In the current state of Triton-Linalg, you can test the conversion from TT IR to Linalg IR using the triton-linalg-opt as described in the README.

it means that I have to work with those step:

git clone triton and build with the commit id given by triton-linalg
git clone triton-linalg and build in an venv
run then demo and get the ttir
run the triton-linlg-opt stand-alone base on readme

am I right?

Yes. Your understanding is correct.

thanks! >U<


implement DeriveIden in sea-orm only

PR Info

Closes https://github.com/SeaQL/sea-orm/issues/1473

Dependencies:

Dependents:

New Features

[ ]  Using DeriveIden now does not require dependency on sea-query

Bug Fixes

[ ]

Breaking Changes

[ ]  DeriveIden now has a different implementation.

Changes

[ ]

I want to make sea-query-derive an optional dependency. I will do it in another PR

Hi. I know you guys are working on this.
How long do you think it will take to deploy?
I can't build now... If it takes time to deploy, is there a way to bypass it?
I think need a clear policy on versions and dependencies.

Hey @plasticbox, as a temporary workaround, please import the sea_orm::sea_query into scope.
use sea_orm::sea_query::{self};

Hey @plasticbox, as a temporary workaround, please import the sea_orm::sea_query into scope.
use sea_orm::sea_query::{self};

I put that in table #[derive(Iden)].
But still I get this message and it won't build.

Hey @plasticbox, as a temporary workaround, please import the sea_orm::sea_query into scope.
use sea_orm::sea_query::{self};

[dependencies.sea-orm-migration]
version = "0.11.0"
[dependencies.sea-orm-migration]
version = "~0.10.1"
I lowered the sea-orm-migration version to 0.10 and the build returned to normal.
I disabled the FunctionCall usage code that was added in version 0.11.

@plasticbox I believe the build error you saw has been resolved now. If not please open a new thread with details of the error.


Update rggen-verilog-rtl submodule

I've update rggen-verilog-rtl to replace recursive function call with recursive module instantiation because some EDA tools do not support recursive function call.
upate detail: rggen/rggen-verilog-rtl#7
This PR is to import this change to your project.

Codecov Report

Merging #2 (705aa37) into master (0ffcbaf) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #2   +/-   ##
=======================================
  Coverage   88.49%   88.49%
=======================================
  Files           8        8
  Lines         730      730
=======================================
  Hits          646      646
  Misses         84       84

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Thanks @taichi-ishitani, =)


update requirements

Hi
the title "Use Azure Databricks Container Services on a cluster to access files in Repos" is not relevant anymore, but you should replace it by the fact that you need to activate the Files in Repos feature from the admin console and restart the databricks clusters before it works.

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

ID: 9a76459d-ec14-ce1d-7869-3ccebdea815c
Version Independent ID: 9a76459d-ec14-ce1d-7869-3ccebdea815c
Content: Work with notebooks and project files in Azure Databricks Repos - Azure Databricks
Content Source: databricks/repos/work-with-notebooks-other-files.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

@tdekelver-bd
Thanks for your feedback! We will investigate and update as appropriate.

@tdekelver-bd
Thanks for your feedback! We have assigned the issue to author and will provide further updates.

Thanks for your dedication to our documentation. Unfortunately, we have been unable to review your issue and apologize for the delayed response. The requested updates have not yet been made. The timeline for resolution varies based on resourcing. We've created an internal work item (DOC-7196) to incorporate your suggestions. We are closing this issue for now, but feel free to comment here as necessary.
#please-close


Investigate ghost sessions while launching spark_connect

It is possible that spark_connect might leave an Spark application running; this usually involve error conditions while launching spark_connect, but users have reported reconnect failures since a Spark instance is already running in a bad state.
Most likely, there might be cases where the sparklyr backend does not terminate itself in some error conditions. There shouldn't be any code paths that leave the sparklyr backend alive after the r session ends.

The sparklyr backend has been refactored for the spark_apply() work and a few exception handling cases covered, I have not seen this behavior for a really long time, closing.


Migrate from BackAndroid to BackHandler

Hello!
BackAndroid is deprecated now and because of this I updated code.
Please check my PR.

#1333 #1371 All with no backward compatibility

@nihgwu oh … I think that I need to close my PR. :)


Fix extraneous bracket in notebook

--force is needed, otherwise it uses the cached dataset and the /data folder does not work as expected

fyi @saikat-royc see the change where I add --force


roc dev crashes with called Option::unwrap() on a None value

% roc dev test.roc
thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', crates/compiler/mono/src/ir.rs:5714:56
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

app "aoc-2022"
    packages { pf: "https://github.com/roc-lang/basic-cli/releases/download/0.1.2/3bKbbmgtIfOyC6FviJ9o8F8xqKutmXgjCJx3bMfVTSo.tar.br" }
    imports [
        pf.Stdout,
        pf.Task.{ Task },
        Json,
    ]
    provides [ main ] to pf

main = Stdout.line fx

fx =
    when Str.fromUtf8 (Encode.toBytes [] Json.toUtf8) is
        Ok str -> str
        Err _ -> crash "unable to encode state to Json"

The same result passing a number like 0.
fx =
    when Str.fromUtf8 (Encode.toBytes 0 Json.toUtf8) is
        Ok str -> str
        Err _ -> crash "unable to encode state to Json"

this isn't specifically a roc dev issue, roc run has the same problem.

Same problem as https://github.com/roc-lang/roc/issues/4478 - if we don't know the exact type to encode, we don't compile as a void layout yet. We know how to fix that but are unlikely to in the near term because it hides larger bugs in abilities.
Closing in favor of https://github.com/roc-lang/roc/issues/4478


Wrong chainspec for Sepolia testnet

Describe the bug
Inside bin/reth/src/util/chainspec.rs line 77:
"sepolia" => serde_json::from_str(include_str!("../../res/chainspec/mainnet.json"))?,

The sepolia matcher takes in mainnet.json as chainspec instead of sepolia.json
Steps to reproduce
https://github.com/paradigmxyz/reth/blob/main/bin/reth/src/util/chainspec.rs#L77
Node logs
No response
Platform(s)
Linux (x86)
Code of Conduct

[X] I agree to follow the Code of Conduct

I can fix together with #771


Elan not installing on Raspian (x32 and x64)

I am using a raspberry pi, and currently switched to 64bit OS; however, this problem remains on the 32bit.
Following the install guide:
$ curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh
> info: downloading installer
> curl: (22) The requested URL returned error: 404
> elan: command failed: curl -sSfL https://github.com/leanprover/elan/releases/download/v1.0.8/elan-aarch64-unknown-linux-gnu.tar.gz -o /tmp/tmp.h0SU5jG1M1/elan-init.tar.gz

Edit: Using sudo changes nothing.

Neither Lean nor elan officially support ARM


Create README.md

Description

[X] I have added a folder(Named it as my GitHub user id)
[X] I have added a Readme.md file inside the folder
[X] I understand the GitHub Forking Concept fully

Hey  I have forked this repo and this is  my first pull request.


If multiple login flows are initiated from multiple tabs, state is invalid and login fails

Issue and Steps to Reproduce
oidc-client saves state for login requests in sessionStorage under oidc.state.${configurationName} key. This causes issues in following scenario:

Tab A with app is opened and login is initiated. State "AAA" is saved to session storage. Browser is redirected to IDP login page.
Tab B with the same app is opened and login is initiated. State "BBB" is saved to session storage, overwriting state "AAA". Browser is redirected to IDP login page.
On Tab A, user puts username and password and tries to log in. Browser is redirected back to app. State "BBB" is retrieved from session storage and compared with state from response. Login fails because state "BBB" was in session storage, but state "AAA" was received from response.
If user tries to continue login on Tab B, it works, because state "BBB" is both in session storage and in request.

This can be reproduced on oidc-client demo app (https://black-rock-0dc6b0d03.1.azurestaticapps.net/) using above steps.
Versions
7.22.4
Expected
If login is initiated from multiple tabs, completing it on each tab should succeed.
Actual
If login is initiated from multiple tabs, completing it is succeeding only on last tab that initiated login flow.
Additional Details
Possible solution might be reusing exiting state from session storage. Or creating unique state session storage entry for each initiated login flow.

Thank you @krzempekk that a good issue !
To be able to reproduce it is the most difficult part thank you :)
I'am in Holiday (3 weeks) I do not know when I will be able to fixed it!

Thanks @guillaume-chervet for the response!
No worries, enjoy your holidays :D. It's not a blocker for us, just wanted to report this.

I have seen similar behavior, but I don't think I can reproduce it outside of a service worker context; in principle each tab should have its own session storage. There is some behavior to copy session storage when cloning a tab in the browser; but that would not explain this issue I think (since the value from the original tab should only be editable from the same tab). @krzempekk are you able to reproduce this without a service worker?

@guillaume-chervet What are you thinking in terms of a solution? Here are my thoughts:
If this is indeed only related to the service worker, what could be done is generate a tabId which is stored in session storage. Then, when calling setState, or setNonce, (and getState, getNonce), we also send the tabId from the storage to the service worker, which will in turn set e.g. currentDatabase.state[tabId] = state.
The service worker only checks the nonce; the state is checked in the oidc client.
The nonce check in the service worker is done during a fetch, so I am not confident we can get a tabId of the tab that initiated the fetch. It seems like the only solution is to check all the available nonces for one that matches.

@guillaume-chervet I have made some progress on this issue (I think), as well as made some changes in the examples/react-oidc-demo package to make sure the existing tests are passing. I have not created any new tests to cover the functionality. I am going on holiday though, so this will be somewhat of a commit-and-run.
If you were going to look into this issue, it could be a starting point.
https://github.com/meesvandongen/oidc-client/tree/tab-specific-state-nonce

Thank you very much @meesvandongen iI am very busy these days. May you run a draft pullrequest to be able to see the change easily? Event if it is not finished yet.

Hello @meesvandongen @guillaume-chervet ! Any updates on this issue?


URL failing validation

In the wsus-offline-update package, the projectSourceUrl is failing validation.
However, I can access it in both Firefox and Chrome.
I am removing it as a workaround for the moment.

@TheCakeIsNaOH apologies for not getting back to you about this until now!
Looking at the site, I am going to say that this was being caused by a time out issue, and it would appear that this has now passed validation successfully.
As such, I am going to close off this ticket.


chore: rename dev_dependencies to dev-dependencies in interchain token

AXE-6533

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.56%. Comparing base (270bd85) to head (5a6351e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #63      +/-   ##
==========================================
- Coverage   98.61%   98.56%   -0.05%
==========================================
  Files          29       29
  Lines        2023     2023
==========================================
- Hits         1995     1994       -1
- Misses         28       29       +1

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


App keep calling this

Starting today, I observed this instruction is repeating every second, while testing Angular apps locally.
ZoneDelegate.prototype.invokeTask = function (targetZone, task, applyThis, applyArgs) {
return this._invokeTaskZS ?
this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt, this._invokeTaskCurrZone, targetZone, task, applyThis, applyArgs) :
task.callback.apply(applyThis, applyArgs);        <--
};

This is not an issue, every async operations in angular will finally call this method, such as you have a setInterval(..., 1000), it will call this function every second.

Thank you


Exception on Java8

pSignature = URLDecoder.decode(pSignature, StandardCharsets.UTF_8);  // SecurityUtils.Class
should by
pSignature = URLDecoder.decode(pSignature, StandardCharsets.UTF_8.name());
refer: https://stackoverflow.com/questions/6138127/how-to-do-url-decoding-in-java
Could you add support for Java under java 10 and release a new paddle-verifier? Which is really helpfull.

I ran into the same issue on Java 8

Fixed.
See pull req #5
Closing this issue.