bug/undocumented [mis?]feature in SELECT with the record id field name

queries that explicitly ask for @rid return a field "@rid" with a wrong (negative) value AND a field called "rid" with the correct record indentifier.
i can see how it might be due a generation of a virtual record, but it is the case, i never saw it in the documentations.
Example:
select @rid, @this.toJSON("fetchPlan:in_stringOf.out.NameString:1"),  out_originatedFrom.in, out_taggedWith.in from [#11:0, #11:1]

results:
result": [
            {
                "@type": "d",
                "@rid": "#-2:0",
                "@version": 0,
                "rid": "#11:0",
                "this": "{\"formalName\":\"Mizrahi\",\"creationTime\":\"2015-02-09 00:00:00\",\"status\":\"Undecided\",\"in_stringOf\":[{\"weight\":1,\"out\":{\"string\":\"Mizrahi\",\"normalizeString\":\"mizrahi\",\"origin\":\"testProgram\",\"creationTime\":\"2015-02-09 00:00:00\",\"language\":\"en\",\"out_stringOf\":[\"#19:0\"]},\"in\":\"#11:0\"}],\"out_originatedFrom\":[\"#18:0\"],\"out_taggedWith\":[\"#17:0\"]}",
                "out_originatedFrom": [
                    "#12:0"
                ],
                "out_taggedWith": [
                    "#14:3"
                ],
                "@fieldTypes": "rid=x,out_originatedFrom=e,out_taggedWith=e"
            },
            {
                "@type": "d",
                "@rid": "#-2:1",
                "@version": 0,
                "rid": "#11:1",
                "this": "{\"formalName\":\"Mizrahi\",\"creationTime\":\"2015-02-09 00:00:00\",\"status\":\"Undecided\",\"in_stringOf\":[{\"weight\":1,\"out\":{\"string\":\"Mizrahi\",\"normalizeString\":\"mizrahi\",\"origin\":\"testProgram\",\"creationTime\":\"2015-02-09 00:00:00\",\"language\":\"en\",\"out_stringOf\":[\"#19:1\"]},\"in\":\"#11:1\"}],\"out_originatedFrom\":[\"#18:1\"]}",
                "out_originatedFrom": [
                    "#12:0"
                ],
                "@fieldTypes": "rid=x,out_originatedFrom=e"
            }
        ],
        "notification": "Query executed in 0.013 sec. Returned 2 record(s)"
    }

it can be worked-around if you do   select @rid as @rid.......

the @rid of the result when you use a projection is a temporary document, so the RID is temporary.


wip - seed cluster with generated/saved blockchain

Adds a SeedingCopycatClient that tries to replay journal entries in sequence, and a SeeingCopycatClientSpec that demonstrates that it's broken :)
It will sometimes work if I only try to submit a single operation, although that also fails sometimes for reasons unknown.  However, I suspect my future chaining code might be broken;  it basically folds over the list of JournalEntries and creates a flatMap chain of futures, short-circuiting if one returns Xor.Left.

are we abandoning this?


setFlatpickrDate leads to onChange being called with empty array

I am using the helper in my tests like this:
setFlatpickrDate('[data-test-date-field]', new Date('2120-12-12 01:00:00'), true);

I can then observe that the callback provided as onChange gets called, however the argument contains an empty array. I would expect it to contain the date provided by setFlatpickrDate. Is there anything wrong with my expectation?

@st-h hmm, that seems correct. If flatpickr's onChange is called, I would expect this to be working. Do you perhaps have some time to debug?

Sorry about the noise. Today I was revisiting this issue and I can no longer reproduce it 🤷♀


Fix doc build (a bit)

Me again. Yes, I am on a tear today.
When sphinx 1.8 came out (back in, er, 2018), the api changed add_javascript to add_js_file. I have updated the conf.py to reflect this and set a minimum requirement in docs_requirements.txt (although I can't imagine the latter being an actual problem).
Now I get a fair number of errors when I run sphinx-build but they are of the fixable type rather than of the oops-sphinx-exploded type.
Also I added a section to the CONTRIBUTING.MD about how to build the docs locally. I set the build output to that specified in doc/Makefile (which is _build) although I couldn't get make or make help to actually do anything.
Finally, I added the build output to .gitignore.

Thanks for this. I admit I haven't been paying attention to the doc builds recently, so noting that sphinx changed and it got broken is greatly appreciated.


Cleanup Rules Swift: Fix the issue in short circuit rule

Short circuit cleanup rules were not running properly in case of multiple cleanups that were caught as statements instead and were causing the rules to not replace the nodes properly.
This PR adds the specific nodes in query to solve the issue for short circuit if statements.

In general this PR makes sense to me. But I do not understand the PR description.


eks: support for Kubernetes version 1.23

Describe the feature
I want to upgrade eks cluster to 1.23. AWS_CDK has already fixed the issue please refer https://github.com/aws/aws-cdk/releases/tag/v2.49.0
Use Case
Upgraded EKS cluster to latest
Proposed Solution
Please upgrade the dependent aws-cdk version from 2.43  to v2.49.0
Other Information
No response
Acknowledgements

[ ] I may be able to implement this feature request

CDK version used
2.43.0
EKS Blueprints Version
1.3.0
Node.js Version
v18.7.0
Environment details (OS name and version, etc.)
mac os

BTW. EKS 1.24 is now available. Should we create a separate issue for its support or should we keep this issue open?

@armujahid current version of CDK does not have this support ootb.
The approach that you could take is to pass the version as KubernetesVersion.of("1.24").
We can apply a change to use 1.23 kubectl layer which I assume will be compatible after testing for all versions above 1.21.
In the meanwhile you can subclass the GenericClusterProvider (or any other provider) and override the protected getKubectlLayer(scope: Construct, version: eks.KubernetesVersion) : ILayerVersion | undefined method to return something like return new KubectlV23Layer(scope, "kubectllayer23"); if version is 1.24 and above.

@vumdao issue related to blueprint v1.24 support  is currently open and is in their roadmap.


[FEATURE] Team Home Suggestion

Is your feature request related to a problem? Please describe.

Add config option to enable cooldown for using '/team home'
Add config option to modify cooldown time usage.
Add config option to enable cost per '/team home' command usage.
Add config option to set cost to create team home using '/team sethome'.
Add a new command to delete team home.
Separate permission for '/team home' & '/team sethome' to betterteams.home & betterteams.sethomes
Add a new command for server admins to teleport to any team homes.

Describe the solution you'd like

New permission to bypass '/team home' cooldown.     - betterteams.home.bypass
New command to delete team sethome using '/team removehome' or '/team delhome'  - betterteams.removehome
New command for server admins to teleport to team homes using '/team home (team)'     - betterteams.admin.home

Describe alternatives you've considered
I wanted to use cmi's built in cooldown/warnup command feature but I'm afraid it might not work.
Additional context
None

All ideas here will be added in version 3.0.9

Cost and cooldown of plugins will be available to modify for all /team commands in the file betterteams/team.yml. This file is created when the plugin first launches on version 3.0.9.
Added /team delhome
Added /teama home
/team sethome, /team unban and /team demote have all been separated from their partner commands.

The system of command cooldowns and pricing has been improved for the next update. In the next update, only when a command is successful will it trigger the cooldown and price.


NETOBSERV-1703 Add enrichment in packet capture

Description
This PR allows pcap parsing to generic map. Check CLI implementation for usage.
Dependencies
https://github.com/netobserv/network-observability-cli/pull/61
Checklist
If you are not familiar with our processes or don't know what to answer in the list below, let us know in a comment: the maintainers will take care of that.

[ ] Will this change affect NetObserv / Network Observability operator? If not, you can ignore the rest of this checklist.
[X] Is this PR backed with a JIRA ticket? If so, make sure it is written as a title prefix (in general, PRs affecting the NetObserv/Network Observability product should be backed with a JIRA ticket - especially if they bring user facing changes).
[ ] Does this PR require product documentation?

[ ] If so, make sure the JIRA epic is labelled with "documentation" and provides a description relevant for doc writers, such as use cases or scenarios. Any required step to activate or configure the feature should be documented there, such as new CRD knobs.

[ ] Does this PR require a product release notes entry?

[ ] If so, fill in "Release Note Text" in the JIRA.

[ ] Is there anything else the QE team should know before testing? E.g: configuration changes, environment setup, etc.

[ ] If so, make sure it is described in the JIRA ticket.

QE requirements (check 1 from the list):

[X] Standard QE validation, with pre-merge tests unless stated otherwise.
[ ] Regression tests only (e.g. refactoring with no user-facing change).
[ ] No QE (e.g. trivial change with high reviewer's confidence, or per agreement with the QE team).

@eranra & @KalmanMeth you might be interested by this PR :eyes:

/lgtm

/ok-to-test

/label qe-approved


grunt test not functioning

On a newly generated project, grunt test doesn't run the tests and just goes to the Waiting... message (as if I had run grunt serve). It will capture a file change and come back to the Waiting... message, but it still doesn't run the tests. We have replicated this issue on linux and mac. Here is the terminal output:
$ grunt test
Running "clean:dist" (clean) task
Cleaning .tmp...OK
Running "clean:server" (clean) task
Running "concurrent:test" (concurrent) task

Warning: There are more tasks than your concurrency limit. After this limit
is reached no further tasks will be run until the current tasks are
completed. You can adjust the limit in the concurrent task options

Running "copy:styles" (copy) task

Done, without errors.

Execution Time (2014-11-06 22:10:32 UTC)
loading tasks  11ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 37%
copy:styles    18ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 60%
Total 30ms

Running "copy:vendor" (copy) task

Done, without errors.

Execution Time (2014-11-06 22:10:35 UTC)
loading tasks  12ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 36%
copy:vendor    19ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 58%
Total 33ms

Running "compass:dist" (compass) task
directory .tmp/styles
    write .tmp/styles/main.css (0.004s)

Running "compass:server" (compass) task

Done, without errors.

Execution Time (2014-11-06 22:10:33 UTC)
compass:dist     1.3s  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 56%
compass:server  958ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 43%
Total 2.2s

Running "copy:fonts" (copy) task
Copied 4 files

Done, without errors.

Execution Time (2014-11-06 22:10:37 UTC)
loading tasks  10ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇ 26%
copy:fonts     27ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 71%
Total 38ms

Running "autoprefixer:dist" (autoprefixer) task
Prefixed file ".tmp/styles/main.css" created.
Running "karma:unit:start" (karma) task
Running "watch:karma" task
Running "watch" task
Waiting...

Looks like even if the tests run, they're broken.  No matter which sample app I generate, it seems that the example tests always asserts the following:
scope.pets.should.have.length(4);
...which doesn't seem to exist in all of the different generated project types (tabs, sidemenu, etc)

I have the same problem that tests are always green even they are incorrect. Removing comma does not solve the problem. Could you please share your solution?

@borNfreee I changed the assertion in question to:
scope.friends.should.have.length(4);
Which works with the tabs version of the app.  The assertions should be different based on the app template, or, they should all use the 'pets' objects.

@jrodenbostel thanks I've found an issue.
Could you please elaborate on terminology. After fresh install of the project, what is the describe function? is it Jasmine? if no, what is it?
As I understand this generator uses Chai as a default assertion library. Is that correct?

I'm seeing similar issues, however on my fresh install I don't have anything inside the /test directory other than a .jshintrc. I thought the generator included some demo tests?


Add checkstyle for Java code

A checkstyle task can ensure that our documentation covers all of our public interfaces and do other nice quality-assurance checks.
An example implementation: https://github.com/mapzen/android/commit/c2c2eafce8cfb84c23f5fce9928bada5e67e4046

Not a priority. Closing.


Job class not found if using namespace

When using namespaces, the job class is not found.
I have tried Resque::enqueue('default', 'My\Job', $args); but still no luck.
Any ideas?

my My_queue.php in libraries folder in code ignitor and include it on autoupload.php as well and still getting the issue the
i have tried this
Resque::enqueue('default', 'My\queue', $timeslot);
Resque::enqueue('default', 'My_queue', $timeslot);
Resque::enqueue('default', 'application\libraries\My_queue', $timeslot);
Resque::enqueue('default', 'application\libraries\My_queue', $timeslot);
Resque::enqueue('default', 'application/libraries/My_queue', $timeslot);
i have use all thhis while enqueing in queue but still not find my_queue job class
please guide me thanks

You have to either tell Composer to load the file using PSR-4 instead of PSR-0, or rename the class so it doesn't have an underscore (_) in it.  The second approach will probably work better.
Don't mix \\ and _ in your class names.

@danhunsaker  I HAVE renamed the class and it class name now class name is without underscore and still getting the same error no luck
and i am using PSR-4

You've restarted the worker(s) after renaming?  Does the class autoload correctly in other parts of your application?  Sometimes Composer needs to regenerate the autoload.php in order to find everything, and you have to restart all your code for the changes to be picked up - have you tried doing that?


contact is for people not on slack

closes  #454

wording is of course debatable. but imo we get too many questions via e-mail from people already on slack. usually questions that could easily answered by anyone in #general.


Revert "Upgrade antlr from 4.7 to 4.13.1"

Reverts apache/beam#33016
It breaks https://github.com/apache/beam/actions/workflows/beam_PreCommit_Java.yml?query=event%3Aschedule

R: @shunping

We had back and forth in upgrading antlr before - #14787


guild list order

It appears to only update the first guild in my list, from what I can tell so far.  ROD is fourth...  Been pondering dropping those three guilds anyway as they are pretty much completely inactive now...

I'm in 3/5 guilds, and I see all 3 listed.  The settings menu will show all 5 guild slots regardless of whether you're in them.  Questions:

What does it show in the settings menu for the other slots?
If the guilds are listed, what do you have the rule and method set to for the other guilds?

A screenshot would be nice, but just a text description of the settings shown works too.


Windows torchvision-0.11.1 CUDA-10.2 wheel packages are not bundled with nvjpeg dll

🐛 Describe the bug
Steps to reproduce:

Download TorchVision 0.11.1 windows wheel from https://download.pytorch.org/whl/cu102/torchvision/
Unpack the binary
Run dumpbin /dependents image.pyd to make sure it depends on nvjpeg64_10.dll:

C:\Users\circleci\Downloads\torchvision>dumpbin /dependents image.pyd
Microsoft (R) COFF/PE Dumper Version 14.00.24245.0
Copyright (C) Microsoft Corporation.  All rights reserved.

Dump of file image.pyd

File Type: DLL

  Image has the following dependencies:

    api-ms-win-crt-heap-l1-1-0.dll
    api-ms-win-crt-runtime-l1-1-0.dll
    api-ms-win-crt-filesystem-l1-1-0.dll
    api-ms-win-crt-stdio-l1-1-0.dll
    libpng16.dll
    nvjpeg64_10.dll
    c10.dll
    torch_cpu.dll
    cudart64_102.dll
    c10_cuda.dll
    MSVCP140.dll
    KERNEL32.dll
    VCRUNTIME140_1.dll
    VCRUNTIME140.dll
    api-ms-win-crt-string-l1-1-0.dll
    api-ms-win-crt-environment-l1-1-0.dll

  Summary

        2000 .data
        3000 .pdata
       2E000 .rdata
        1000 .reloc
        1000 .rsrc
       3C000 .text

Noticesthat nvjpeg64_10.dll is missing from the archive

This causes torchvision.io.read_image  fail on Windows
Versions
0.11.1 win+cu102
cc @peterjc123 @nbcsm @guyang3532 @maxluk @gunandrose4u @mszhanyi

Hi,
I just installed torchvision==0.11.1+cu102 on Windows 7 and get this "nvjpeg64_10.dll is missing" error window. Where can I find this dll manually and fix the blocking problem? Thank you!

nvjpeg64_10.dll can be downloaded from https://developer.nvidia.com/cuda-10.2-download-archive

nvjpeg64_10.dll can be downloaded from https://developer.nvidia.com/cuda-10.2-download-archive

Thanks!
A bit curious, I've installed CUDA 10.2 already.

nvjpeg64_10.dll can be downloaded from https://developer.nvidia.com/cuda-10.2-download-archive

Hi, which directory do I place this dll? As I previously have cuda-10.2 installed and its directory does already contain this dll.  Thank you!

I had the same problem and this is the only page I found,
Python/Pytorch does not search the path Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin for some reason, despite the path being specified in the environment, therefore causing dll error.
I couldn't find a proper solution and instead made hardlinks to the missing dlls in the Python\Lib\site-packages\torch\lib folder using mklink /H cmd command.
I am sure there must be a better way but I couldn't figure it out.

I also have this problem, and I fix it by manually add cuda path using os.add_dll_directory.
I think it's related to #4787? Although #4893 claimed to fix it.
Looks like the problem is _get_extension_path only add the package folder as dll directory but not any other path, but adding all path to dll directory doesn't seem to be the right way.

Same problem. Thanks to @puyebu, I was able to figure out a temporary solution. The complete command I used (running as administrator) was:
> mklink /H nvjpeg64_10.dll "c:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin\nvjpeg64_10.dll"

I have the same problem, and I figure it out by checking the system environment path, there should be a ';' between path and other paths

I had this problem today.
After installing cuda10.2 on windows server2012 r2 with pip install torch==1.10.1+cu102 torchvision==0.11.2+cu102 torchaudio==0.10.1, it comes up with the missing nvjpeg64_10.dll popup.
My temporary solution is to copy nvjpeg64_10.dll to "Python\Lib\site-packages\torch\lib".
I'm not sure if there is a better solution.


I want to set the window to full screen, how to do it ?

I want to set the window to full screen, how to do it ?
Now I have an winform app on windows developped by .net framework, I want to refactoring it with .net core and avalonia. But I encounter a problem that can not set the window to full screen.

HasSystemDecorations=false and WindowState=Maximized

HasSystemDecorations=false and WindowState=Maximized

Thank you very much for your reply, I set the property according to your reply, the title is hide, but the windows' task bar cannot hide. Can make the task bar hide also?

@hccoo try setting your Window's Topmost property in addition to the prior properties.

@jmacato  Thank you very much. Now I

@danwalmsley sorry if I'm wrong, but isn't that just borderless, not fullscreen?

In recent releases there is now WindowState.FullScreen to do this.


Update rancheros.ipxe

When booting from EFI the initrd kernel parameter is required to avoid a panic.
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

We have not officially supported EFI, I need to do some testing to verify if there are other problems.


Turtlebot3 waffle pi [Noetic]- OpenCR Test Failure

ISSUE TEMPLATE ver. 0.4.0

Which TurtleBot3 platform do you use?

[ ] Burger
[ ] Waffle
[ *] Waffle Pi

Which ROS is working with TurtleBot3?

[ ] ROS 1 Kinetic Kame
[ ] ROS 1 Melodic Morenia
[ *] ROS 1 Noetic Ninjemys
[ ] ROS 2 Dashing Diademata
[ ] ROS 2 Eloquent Elusor
[ ] ROS 2 Foxy Fitzroy
[ ] etc (Please specify your ROS Version here)

Which SBC(Single Board Computer) is working on TurtleBot3?

[ ] Intel Joule 570x
[ *] Raspberry Pi 3B+
[ ] Raspberry Pi 4
[ ] etc (Please specify your SBC here)

Which OS you installed on SBC?

[ *] Raspbian distributed by ROBOTIS
[ ] Ubuntu MATE (16.04/18.04/20.04)
[ ] Ubuntu preinstalled server (18.04/20.04)
[ ] etc (Please specify your OS here)

Which OS you installed on Remote PC?

[ ] Ubuntu 16.04 LTS (Xenial Xerus)
[ ] Ubuntu 18.04 LTS (Bionic Beaver)
[ *] Ubuntu 20.04 LTS (Focal Fossa)
[ ] Windows 10
[ ] MAC OS X (Specify version)
[ ] etc (Please specify your OS here)

Specify the software and firmware version(Can be found from Bringup messages)

Software version: [x.x.x]
Firmware version: [x.x.x]

Specify the commands or instructions to reproduce the issue.
OpenCR Setup:[RPI]

    export OPENCR_PORT=/dev/ttyACM0
    export OPENCR_MODEL=waffle_noetic
    rm -rf ./opencr_update.tar.bz2 && wget https://github.com/ROBOTIS-GIT/OpenCR-Binaries/raw/master/turtlebot3/ROS2/latest/opencr_update.tar.bz2
    tar -xjf ./opencr_update.tar.bz2 && cd ~/opencr_update && ./update.sh $OPENCR_PORT $OPENCR_MODEL.opencr

Only one actuator was working when I tried pressing SW2 button from OpenCR HW.
Then I tried Setup DYNAMIXELs using Ardunino by following below link, https://emanual.robotis.com/docs/en/platform/turtlebot3/faq/#setup-dynamixels-for-turtlebot3
Now I'm getting the below error from Ardunino serial port when i tried to setup motor,
1. setup left  motor
2. setup right motor
3. test  left  motor
4. test  right motor
>> Do you really want to setup ? y/n : yes
setup.... left
Find Motor...
    ... SUCCESS
    [ID: 1 found at baud: 1000000]
Setup Motor Left...
[RxPacketError] Hardware error occurred. Check the error at Control Table (Hardware Error Status)!
[RxPacketError] Hardware error occurred. Check the error at Control Table (Hardware Error Status)!
[RxPacketError] Hardware error occurred. Check the error at Control Table (Hardware Error Status)!
[RxPacketError] Hardware error occurred. Check the error at Control Table (Hardware Error Status)!
[RxPacketError] Hardware error occurred. Check the error at Control Table (Hardware Error Status)!
    ok

@ROBOTIS-Will Any suggestions?

@nullbyte91
During the motor setup, make sure to supply 12V power to OpenCR and turn on the switch, and connect only one DYNAMIXEL at a time.
Thank you.

@ROBOTIS-Will  Thank you so much, It worked.


Question: Confirming Cognito User

Hello,
I am running this command listed in the readme
aws cognito-idp admin-respond-to-auth-challenge --user-pool-id <> --client-id <> --challenge-name NEW_PASSWORD_REQUIRED --challenge-responses NEW_PASSWORD=<>,USERNAME=<>,userAttributes.name=<> --session “output_of_previous_command"

It prompts me in bash (on MAC) after I run this command and I am not sure what to put in the prompts. Any help you can give about this would really help me.
Thanks!
Dan

pls try:
aws cognito-idp admin-respond-to-auth-challenge --user-pool-id "change to user pool id" --client-id "change to user pool id" --challenge-name NEW_PASSWORD_REQUIRED --challenge-responses NEW_PASSWORD="change to new password",USERNAME="change to cognito user",userAttributes.name="change to cognito user" --session "change this to session variable from previous cmd"


x/vgo: package download process is stuck in an infinite loop when trying to go-get an appengine url

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.10 darwin/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN="/Volumes/Repositories/go/bin"
GOCACHE="/Users/jlorenzini/Library/Caches/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/jlorenzini/go"
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/8w/7ndx_j6s36x9hm9dns67j21s3hynqn/T/go-build282875283=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

created an empty go.mod file.
ran vgo build.

What did you expect to see?
vgo download all the package dependencies and then compile the binary.
What did you see instead?
vgo build command never completes. It seems effectively stuck in an infinite loop. It looks like tries to import all the packages required by my module, then it prints this.
FindRepo: Get https://appengine?go-get=1: dial tcp: lookup appengine: no such host
FindRepo: Get https://appengine/cloudsql?go-get=1: dial tcp: lookup appengine: no such host
FindRepo: Get https://appengine_internal?go-get=1: dial tcp: lookup appengine_internal: no such host
FindRepo: Get https://appengine_internal/base?go-get=1: dial tcp: lookup appengine_internal: no such host

And then starts the importing process all over again.

Certainly the loop should be stopped.


Set version constraint for IQKeyboardManager pod

We want all versions up to but not including 5.0. This means the user won't be inadvertently upgraded to a version with a breaking change. Closes #2.

Thanks! I just pushed version 1.0.1 with this commit out to npm.


Add multi zone clarification for Ingress

This change is

Is this change only relevant to version 1.4? Can you please target the pull request to the release-1.4 branch?

It's valid for 1.4 onwards, still put it in release-1.4? or put it here and cherrypick it there/some variant of the same?

If it's valid for 1.4 onwards, it needs to be in release-1.4 to avoid being published early.

right but it also needs to be in HEAD (meaning this pr goes in) so I don't again need to check it into release-1.5 and so on right? i will open another against 1.4

No, it won't need to be checked into subsequent release branches, because all of release-1.4 will be merged into master en masse on launch day. No need for a separate PR.

I'm going to assume there's something I'm missing and just open the 1.4 pr (merging 1.4 into HEAD will clobber 1.5 changes in HEAD right). Let me know if that's not what you meant.

Why are there 1.5 changes in master at all?

Because you can't check in doc changes for 1.5 in the 1.4 branch? (say I'm done with a new 1.5 feature and have already started doc int it, or im just fixing a bug for 1.4.1 but it won't be in the 1.4 release etc)

we usually check into master and cherrypick into a branch, but we can probably get away with something else if the velocity of changes is low (as im expecting the prs to be in docs repo)

Anything that gets pushed to HEAD is published live to the website. Nothing should go into that branch unless you want people to see it right now. Please do not publish changes for releases that do not exist to master.

Oh, so docs website is just latest version and I can't get to 1.2 docs through it? I assumed docs website was just pointing at latest branch and I could do /docs/1.2/foo and get to the 1.2 branch etc

No, GitHub pages limits us to publishing that which is merged into master. Anything that had to do with versioned docs in the past was generally done by creating dummy organizations and cloning the repo out to them. This was contributing to our massive SEO problems.
We've addressed this by staging via Netlify now.

Oh, hmm, thanks for the clarification. Not having versioned docs is a github pages dealbreaker but that's just my opinion. I heavily use eg: https://docs.docker.com/v1.9/engine/userguide/labels-custom-metadata/ vs https://docs.docker.com/v1.11/engine/userguide/labels-custom-metadata/ because of the rate of changes between releases, and I guess I just expected it to work


add Mariatta video on Sponsor page

:books: Documentation preview en :books:: https://pymc-data-umbrella--203.org.readthedocs.build/en/203/

:books: Documentation preview es :books:: https://pymc-data-umbrella-es--203.org.readthedocs.build/es/203/

:books: Documentation preview pt :books:: https://pymc-data-umbrella-pt--203.org.readthedocs.build/pt/203/

do we want participants to watch the video or do we want prospective sponsors to do so?

It's more so for the participants.

I would put it in https://pymc-data-umbrella.xyz/en/latest/about/index.html or https://pymc-data-umbrella.xyz/en/latest/sprint/index.html. The sponsors page has very little traffic and I don't see it being very participant oriented

I would put it in https://pymc-data-umbrella.xyz/en/latest/about/index.html or https://pymc-data-umbrella.xyz/en/latest/sprint/index.html. The sponsors page has very little traffic and I don't see it being very participant oriented

Moved it to the event page:
https://pymc-data-umbrella.xyz/en/latest/2023-03_sprint/index.html


Missing rollback documentation

http://capistranorb.com/documentation/getting-started/rollbacks/#

Is this for real?  I've used capistrano for years, specifically because I tell people "rollbacks are seamless", and then today, when the dreaded scenario of the deploy going bad actually happened, deploy:rollback failed me big time.  It appeared to work, but the code definitely wasn't rolled back, and then add to that the fact that every single solution on the internet was incompatible with Capistrano 3, I was left standing with a giant bag of rocks and a documentation page that makes it look like I chose an amateur hour gem to handle my code's production level deployments.  Thanks a lot guys.

Closing this as a duplicate of https://github.com/capistrano/documentation/issues/124.

It appeared to work, but the code definitely wasn't rolled back

This sounds like a bug. If you have more details on this, please open a separate issue so that we have a place to start troubleshooting. Thanks.


Auto Commenting feature for PR Merged

Is your feature request related to a problem? Please describe.
Yes, the feature request is related to a problem. When pull requests (PRs) are merged in a project, it is often important to provide consistent feedback or notifications to the contributors. Currently, this process can be manual and time-consuming, leading to inconsistent communication and delayed acknowledgments. This can frustrate both maintainers, who have to remember to comment, and contributors, who might feel their efforts are not promptly recognized.
Describe the solution you'd like
To enhance our communication and acknowledgment process, we're implementing an auto-commenting feature for specific events within our project repository. This feature will automatically generate comments under the following circumstances:
PR Merged: Upon the successful merging of a pull request (PR), an auto-comment will be added to the corresponding issue, indicating that the PR has been merged and expressing gratitude to the contributor for their valuable contribution.
What problem is this feature trying to solve?
This feature aims to solve the problem of inconsistent and delayed communication following the merging of PRs. By automating the commenting process, it ensures that contributors receive timely feedback and acknowledgments. It also reduces the administrative burden on maintainers, allowing them to focus more on code reviews and other critical tasks.

@TAHIR0110 @sanjay-kv  Please assign this issue to me

I would like to work on this issue. Please assign it to me.

@suhanipaliwal i have already raised this issue  please work on some other issue
Thank you!

assigned


Performance small audio clips

The performance on long audio files is just fantastic.
However, I want to process a large amount of files <30 seconds, and here the performance is much lower.
Is there a way to optimise this as well? Maybe by padding to 30 seconds, and loading in batches?

Hey @peregilk - that's a great question. If you know all of the audio files are less than 30s, then you probably don't need to worry about using the Flax Whisper Pipeline (since we don't need all the chunking logic).
What you can do instead is load up all of the audio files, pre-process them using the feature extractor, and then pass them in batches to the Flax Whisper model to be transcribed in parallel. There's an example that you can follow here: https://github.com/sanchit-gandhi/whisper-jax/blob/main/benchmarks/run_pmap.py
I would remove entirely the max/min tokens logic (this was just to compare the inference speed on a per-token basis to PyTorch) and set your batch size as required.

Thanks @sanchit-gandhi. I was not able to get this to run. I am having core dumps when I load FlaxWhisperForConditionalGeneration from transformers. When using FlaxWhisperForConditionalGeneration from whisper_jax the models loads, but I am getting this error:
ScopeParamShapeError: Initializer expected to generate shape (4, 3, 80, 1280) but got shape (3, 80, 1280) instead for parameter "kernel" in "/model/encoder/conv1".

Here is the code I am running on a v4-8:
https://github.com/NbAiLab/nb-whisper/blob/main/transcribe/transcribe.py


ffmpeg.FS is not a function

Describe the bug
Unable to use ffmpeg.fs function
TypeError: ffmpeg.FS is not a function
I'm using React + Vite + ReduxToolkit
To Reproduce
Loading FFMPEG
I load FFMPEG in a hook, and store the instance in a redux slice
  const loadFfmpeg = async () => {
    console.log("Loading Ffmpeg")
    const ffmpegInstance = new FFmpeg();
    const baseURL = 'https://unpkg.com/<EMAIL_ADDRESS>    ffmpegInstance.on('log', ({message}) => {
      console.log(message);
    });
    // toBlobURL is used to bypass CORS issue, urls with the same
    // domain can be used directly.
    await ffmpegInstance.load({
      coreURL: await toBlobURL(
        `${baseURL}/ffmpeg-core.js`,
        "text/javascript"
      ),
      wasmURL: await toBlobURL(
        `${baseURL}/ffmpeg-core.wasm`,
        "application/wasm"
      ),
    });
    console.log("Ffmpeg loaded")
    return ffmpegInstance;
  }

  const initFfmpeg = async () => {
    // if (ffmpegLoaded) {
    //   console.log("ffmepg already loaded.")
    //   return;
    // }

    dispatch(setFfmpegLoading());
    const ffmpegInstance = await loadFfmpeg();
    dispatch(setFfmpeg(ffmpegInstance))
    dispatch(setFfmpegDoneLoading())
  };

And this is how I'm using it
    await loadFfmpeg();
    dispatch({ type: "reset" });
    const { file, duration } = currentData;
    const url = URL.createObjectURL(file);
    await ffmpeg.writeFile("input.webm", await fetchFile(url));
    ffmpeg.FS('mkdir','/thumbnails');

Expected behavior
I expect ffmpeg.FS to exist and not throw and error
Actual behavior
ffmpeg.FS is not a function
This is despite the fact that I can look at the source and see
export interface FFmpegCoreModule {
  /** default arguments prepend when running exec() */
  DEFAULT_ARGS: string[];
  FS: FS;
  NULL: Pointer;
  SIZE_I32: number;

and also interface FS has this
export interface FS {
  mkdir: (path: string) => void;
  rmdir: (path: string) => void;
  rename: (oldPath: string, newPath: string) => void;
  writeFile: (path: string, data: Uint8Array | string) => void;
  readFile: (path: string, opts: OptionReadFile) => Uint8Array | string;
  readdir: (path: string) => string[];
  unlink: (path: string) => void;
  stat: (path: string) => Stat;
  /** mode is a numeric notation of permission, @see [Numeric Notation](https://en.wikipedia.org/wiki/File-system_permissions#Numeric_notation) */
  isFile: (mode: number) => boolean;
  /** mode is a numeric notation of permission, @see [Numeric Notation](https://en.wikipedia.org/wiki/File-system_permissions#Numeric_notation) */
  isDir: (mode: number) => boolean;
  mount: (fileSystemType: FSFilesystem, data: WorkerFSMountConfig, path: string) => void;
  unmount: (path: string) => void;
  filesystems: FSFilesystems;
}

mkdir, rmdir, and a few others don't exist, but rename, writeFile, and readFile do exist.
Desktop

OS: Linux
Browser: Microsoft Edge
Version: 128.0.2739.54 (Official build) (64-bit)

Ok so I just found out it should be ffmpeg.FS.mkdir
and also found out that there is ffmpeg.createDir


Embedded PDF view

Codecov Report

Merging #730 (7d4ec7a) into main (80c7861) will increase coverage by 2.04%.
The diff coverage is 81.25%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main     #730      +/-   ##
==========================================
+ Coverage   77.41%   79.45%   +2.04%
==========================================
  Files          28       28
  Lines         983     1032      +49
  Branches       38       39       +1
==========================================
+ Hits          761      820      +59
+ Misses        216      206      -10
  Partials        6        6

Impacted Files
Coverage Δ

judgments/views/edit_judgment.py
55.05% <44.44%> (-1.93%)
:arrow_down:

judgments/views/full_text.py
65.95% <65.95%> (ø)

judgments/models.py
86.79% <100.00%> (+0.08%)
:arrow_up:

judgments/tests/test_judgments.py
100.00% <100.00%> (ø)

judgments/tests/test_models_judgment.py
100.00% <100.00%> (ø)

judgments/tests/test_unlock.py
100.00% <100.00%> (ø)

judgments/tests/tests.py
100.00% <100.00%> (ø)

judgments/urls.py
100.00% <100.00%> (ø)

judgments/views/unlock.py
86.66% <100.00%> (+0.95%)
:arrow_up:

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


Passing state to template

I am trying to create a simple POC whereby it demonstrates passing props to the template?  Does anybody have a sample I can reference which demonstrates using state (and props)
var React    = require('react');
var repeatRT = require('../templates/user-list.rt');

var repeat = React.createClass({
  getInitialState: function () {
    return {
      users: ['One', 'Two', 'Three', 'Four']
    };
  },
  render: repeatRT
});

and here is the template

{user}

This is built using webpack... when rendering the page, console produces error that 'cannot read property 'users' of undefined, which leads me to believe there is issue passing along state

Note:  My issue seems to be an issue with ES6 classes.   When I changed to an ES5 (React.class) it works fine.

what ES6 code are you using?
If you have something like this
class Repeat extends React.Component {
    render = require("../templates/user-list.rt");
}

then you need to bind the function:
class Repeat extends React.Component {
    render = require("../templates/user-list.rt").bind(this);
}

Alternatively, you can use this other syntax (not sure if it works with Babel):
class Repeat extends React.Component {
}
Repeat.prototype.render = require("../templates/user-list.rt");

EDIT: sorry I was wrong, binding is not necessary because React calls the render() function with the correct this, so it must be something else.

@nippur72 your third example fixed it for me.
More here.


Node.js application - simple server example

I'm submitting a ...
[ ] bug report
[X] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project

Summary

Thanks for the tool! Great work!
If I choose Node.js application type during installation I have a library example in src folder.
What do you think about generate simple web server as example in src if user select Node.js application type?

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

yea, I was thinking something similar - maybe an "express" option instead?
on a side note, I have a much more "C# / Java / es6" version of most of the demo classes... Any way I could integrate these? or should I do a different repo or? (meaning they're all "export class / interface" instead of exporting individual functions...)

@ilyaztsv @chadbr I'd be very happy to take a PR for adding an express option! Even if the PR is just for the actual code, I'm happy to integrate it in the CLI.

@bitjson thanks for the reply!
I'll try to do it as soon as have enough time.
Do you prefer express example of may be koa? 😄

Interesting -- after looking at my comments I failed to mention I am doing expess web api's only...
I'll take a crack also (slim down my current solution stack...) -- and we can compare / improve?
Thanks, Chad

No problem :) I am planning to create PR at Saturday or Sunday.


eth1 use virtualbox dhcp

When CoreOS are launching they use the virtual box dhcp before setting static addresse. So we have multiple addresse on the card. The one used is 192.168.X.X and not <IP_ADDRESS> (for the master). It can be solved by disabling dhcp option in virtualbox.
I think it can be solved with something like that:
VBoxManage dhcpserver remove --netname HostInterfaceNetworking-vboxnet0
but i don't really know where can I put it...

There is another problem when trying to connect to master using kubectl with connection refused but it can be due to this issue so I aml not opening another issue

@MCyprien yes, you need to disable whatever DHCP server you may have running. This is something related to each provider and host configuration. I'll add something to the docs about it.
The command you refer to should be run on your host once and doesn't need to be put into any of the files in this repository.


⚠ Bofrost.fr has degraded performance

In 2811a4c, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1154 ms

Resolved: Bofrost.fr performance has improved in 1e520d8 after 9 minutes.


post front end release notes somewhere

and provide link to Jane to add to blog post
need this prior to release

I've added release notes:
https://gist.github.com/sebworks/7a6f8ddce88a2377624165cfc32e56f5


Lambda invoke module import error

Hi
i'm actually trying to use basic functions (Python/Nodejs) from sam with sample functions sam local invoke HelloWorldFunction -e event.json but here is my errror :
{"errorMessage": "Unable to import module 'main'"}
The Handler naming is good : main.handler
I've been trying to run lambda in different ways, reinstalling sam, debug but i can't figure out what happens..
For your information, i run it with Windows 10 / sam 0.2.2. Do you have a piece of answer ?
Thanks !

Hi @TCreuillenet, can you paste the contents of your main.js file, or provide a reproducable test case so that we can investigate further?

You should set the CodeUri to a directory that contains your node_modules directory. SAM CLI will mount the directory pointed by CodeUri into the Docker container. It doesn't have any smarts to detect your node_modules or transpile Typescript to JS.
Closing this issue as a dupe of #125


feat: add init script to initialize a working devenv with a specific Home Assistant version

Related Issues

Closes #124

Proposed Changes:

This change ensures fixtures are aligned with the installed Home Assistant version to perfectly reproduce the core project testing environment. Specifically:

Previous fixtures are removed as we don't need to maintain them anymore
Added download_fixtures.sh script that downloads all fixtures and tests helpers for a given Home Assistant version
Added init script that gather together all steps in a single command
Documentation is updated to retrieve automatically the latest version of Home Assistant via GitHub API

Testing:

Follow the README.md instructions to initialize the devenv.
Extra Notes (optional):

n/a
Checklist

[x] Related issues and proposed changes are filled
[x] Tests are defining the correct and expected behavior
[x] Code is well-documented via docstrings

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
597

Relevant Lines:
629

💛  - Coveralls


run-gnu-test.sh: accept "run-root" as first param

This PR fixes a "file not found" error if run-root is passed to run-gnu-test.sh.

oups, thanks


add vizro-ai customize return call

Description
WIP, wait for PR: https://github.com/mckinsey/vizro/pull/441 to be merged
changed from separate call method to return all output in a dictionary, the missing ones will be none in the returning dictionary
Screenshot
Notice

[ ] I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":

I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.
I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorized to submit this contribution on behalf of the original creator(s) or their licensees.
I certify that the use of this contribution as authorized by the Apache 2.0 license does not violate the intellectual property rights of anyone else.
I have not referenced individuals, products or companies in any commits, directly or indirectly.
I have not added data or restricted code in any commits, directly or indirectly.

closed for now and will be resolved with new PRs.


Update ms.service values

Updates include:

Replaced ms.service=big-compute with azure-java in 2 files.
Replaced ms.service=functions with azure-functions in 2 files.
Replaced ms.service=cdn with azure-cdn in 3 files.
Replaced ms.service=redis-cache with cache in 3 files.

@kexugit
@danieljurek
This PR is ready for review and merge.
Thank you

#assign:danieljurek


Made optional attributes optional in setters type hinting

Description
Changes
Tests
Known Issues
Notes
Checklist

[ ] My name is on the list of contributors (CONTRIBUTORS.md) in the pull request source branch.
[ ] I have updated the documentation to reflect my changes.

@InnocentBug what are your thoughts on this?

lists cannot be optional and instead the user must give an empty list to wipe that field. This must be communicated clearly in the documentation so the user is not left wondering

@InnocentBug what are your thoughts on this?

I think that is OK.
Not highest priority if you ask me though.

lists cannot be optional and instead the user must give an empty list to wipe that field. This must be communicated clearly in the documentation so the user is not left wondering

not entirely true.
we can handle this like in the constructors.
If a None gets passed in the the function (the optional part), we convert it after into an empty list.

implemented everything for this PR better in this PR and it is already merged, so closing this one


Cant't import third package moment

import moment from 'moment';

cause error:
ReferenceError: moment is not defined

But if I write code as:
import moment from 'moment/moment';
or
import moment from 'moment/moment.js';

No error happened.
node: 9.5.0
npm: 5.6.0
babel: 7.0-beta40
jest: 22.4.2
moment: 2.20.1
How can I fix this problem?

I can't reproduce this. Please create a full reproduction we can pull down and test.


Input program is consumed twice

Once by EvidenceExtractor that only extracts the evidences, and then by synthesizer.Visitor that places synthesized code in the program. Both of them do the same checks, and consume the same program. Make this more efficient by passing what's needed to the synthesizer (the environment, location/block to place the code, etc.) from EvidenceExtractor itself, now that they run on the same JVM. In fact, EvidenceExtractor should be moved to the synthesizer package.

Fixed in 64f7c84


Stop building Kubernetes 1.26 images

Kubernetes 1.26 is now EOL (https://kubernetes.io/releases/#release-v1-26).

Nothing to test here - merging.


Intrinsic Function !Join does not work on DependsOn property

Hey Guys,
I have the following SAM configuration, which works quite well so far:
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: "Fancy Description"

Mappings:
  Constants:
    ServerlessService:
      Version: 0.0.1

Globals:
  # Sets global settings for ALL Lambda functions
  Function:
    Runtime: nodejs6.10
    Timeout: 30
    Handler: index.handle

Resources:
  ServerlessService:
    Type: AWS::Serverless::Api
    Properties:
      StageName: test
      DefinitionBody:
          'Fn::Transform':
            Name: 'AWS::Include'
            Parameters:
              Location: s3://<ServerlessService-S3-Bucket>/swagger.yml

  ServerlessServiceDefaultUsagePlan:
    Type: AWS::ApiGateway::UsagePlan
    DependsOn: ServerlessServicetestStage
    Properties:
      ApiStages:
        - ApiId: !Ref ServerlessService
          Stage: test
      Description: Default Serverless-Service Usage Plan
      Quota:
        Limit: 5000
        Period: MONTH
      Throttle:
        BurstLimit: 40
        RateLimit: 20
      UsagePlanName: serverless-service-default-plan

  ServerlessServiceFunction:
    Type: AWS::Serverless::Function
    Properties:
      CodeUri: ../packages/lambda/functions/serverlessServiceFunction
      Events:
        ProxyApiRoot:
          Type: Api
          Properties:
            RestApiId: !Ref ServerlessService
            Path: /path/with/{params}
            Method: POST

Please notice, that its only working, because I'm using the undocumented "feature" (or should I say hack?) as recommended here.
So have a closer look at this part:
ServerlessServiceDefaultUsagePlan:
    Type: AWS::ApiGateway::UsagePlan
    DependsOn: ServerlessServicetestStage
    Properties:
...

Note, that the Resource ServerlessServicetestStage seems to be newly created by SAM (or what ever) and is never specified in the yaml file. Its very unintuitive to come up with this Resource name! Its really not nice, but as long as it works I don't complain.
But here is my issue: as I want to make the stage test at least a bit more flexible I tried to utilize the !Join intrinsic function.
  ServerlessServiceDefaultUsagePlan:
    Type: AWS::ApiGateway::UsagePlan
    DependsOn: !Join
      - ''
      - - 'ServerlessService'
        - 'test'
        - 'Stage'
    Properties:
    ...

Which fails with
Failed to create the changeset: Waiter ChangeSetCreateComplete failed: Waiter encountered a terminal failure
 state Status: FAILED. Reason: Template format error: DependsOn must be a string or list of strings.

The ultimate goal is to achieve this:
  ServerlessServiceDefaultUsagePlan:
    Type: AWS::ApiGateway::UsagePlan
    DependsOn: !Join
      - ''
      - - 'ServerlessService'
        - !Sub ${StageName}
        - 'Stage'
    Properties:
    ...

It seems that !Join does not work on DependsOn.
I have the feeling that I'm failing to do a dirty workaround of an even dirtier workaround. What am I missing? What is the cleanest way to have a parameter like this:
Parameters:
  StageName:
    Description: API Stage Name
    Type: String
    Default: test

And use !Sub ${StageName} where a Stage Name is needed?
I read #32 and #97. Both got closed without a proper solution of the issue that a UsagePlan is depending on an APIGateway. Help is very appreciated.

SAM will never change the resource naming structure

I also found out, that the logical ID of a stage is the concatenation logicalIdOfRestApi+stageName+"Stage".
However since today I experience, that the naming structure has changed to logicalIdOfRestApi+"Stage".
This is why the following works for me. My Api has the logical name Api and I use DependsOn with ApiStage:
...
Parameters:
  ApiKeyId:
    Description: "The ID of an existing ApiKey"
    Type: String
  ApiName:
    Description: "The Name of the Api"
    Type: String
  StageName:
    Description: "The stage to be deployed to"
    Type: String
    Default: production

Resources:
  FooFunction:
    Type: AWS::Serverless::Function
...

  Api:
    Type: AWS::Serverless::Api
    Properties:
      Name: !Ref ApiName
      StageName: !Ref StageName
      DefinitionBody:
        swagger: "2.0"
        schemes:
        - "https"
        paths:
          '/scaled':
            get:
              responses: {}
              x-amazon-apigateway-integration:
                uri: !Sub arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${FooFunction.Arn}/invocations
                passthroughBehavior: "when_no_match"
                httpMethod: "POST"
                type: aws_proxy
              security:
                - api_key: []
        securityDefinitions:
          api_key:
            type: "apiKey"
            name: "x-api-key"
            in: "header"
        x-amazon-apigateway-api-key-source : "HEADER"

  ServiceUsagePlan:
    Type: "AWS::ApiGateway::UsagePlan"
    DependsOn: ApiStage
    Properties:
      ApiStages:
        - ApiId:
            Ref: Api
          Stage: !Ref StageName
  ServiceUsagePlanKey:
    Type: "AWS::ApiGateway::UsagePlanKey"
    DependsOn: ServiceUsagePlan
    Properties :
      KeyId: !Ref ApiKeyId
      KeyType: API_KEY
      UsagePlanId:
        Ref: ServiceUsagePlan
...

Workaround
This seems to work.
  TaskService:
    Type: AWS::ECS::Service
    #DependsOn: !If [WaitBeforeECSService, 'TaskServiceWaitCondition', !Ref 'AWS::NoValue']
    Metadata:
      DependsOn: !If [WaitBeforeECSService, !Ref 'TaskServiceWaitCondition', !Ref 'AWS::NoValue']


Add callback for GIF rendering completion

Currently createPartyImage returns before the image has fully rendered,
this can cause invalid image output when the outputStream is immediately
read, especially for larger input images, such as animated GIFs
These changes add a callback which is fired when the gif finishes rendering,
as defined by the end event

Is it just me or is the indentation not right in the GitHub preview?


HTTPCLIENT-2318 - Enhance PoolingHttpClientConnectionManager with isShutdown State Check.

This PR addresses the issue described in HTTPCLIENT-2318 by enhancing the PoolingHttpClientConnectionManager. It introduces an isShutdown method for clear state checking and refines the close method for improved resource management, aiming to improve usability and reliability without affecting backward compatibility.

@arturobernalg Curiously enough I found this commit 6ba9b4ac you contributed in the past. Could you please make sure all 3 conn manager implementations are consistent?


Error: Cannot read property 'rowCount' of undefined for google spreadsheets that contain Chart sheets

Using a multi-tab spreadsheet that contains a chart as one of the tabs:

Example code:
function getCells(worksheet) {
  const { title, index } = (worksheet || {})._rawProperties
  try {
    await worksheet.loadCells()
    console.log(worksheet.rowCount)
  } catch (ex) {
    console.warn('Get cells failed for worksheet:', { title, index }, 'Error:', ex.message, ex)
  }
}

Throws an error in GoogleSpreadsheetWorksheet.js:131:32:
Get cells failed for worksheet: { title: '20x20 Time Analysis', index: 13 } Error: Cannot read property 'rowCount' of undefined TypeError: Cannot read property 'rowCount' of undefined
    at GoogleSpreadsheetWorksheet.get rowCount [as rowCount] (/Users/john/Local/google-spreadsheet-to-json/node_modules/google-spreadsheet/lib/GoogleSpreadsheetWorksheet.js:131:32)

Expected behaviour:

Not throw a "Cannot read property" error
Throw an error related to the type of spreadsheet
or: return 0 for rowCount

Trying to recreate this, but I don't see how to make the chart take up the entire tab?


ERR_REQUIRE_ESM When using ESM with --watch

Prerequisites

[x] Checked that your issue hasn't already been filed by cross-referencing issues with the faq label
[x] Checked next-gen ES issues and syntax problems by using the same environment and/or transpiler configuration without Mocha to ensure it isn't just a feature that actually isn't supported in the environment in question or a bug in your code.
[x] 'Smoke tested' the code to be tested by running it outside the real test suite to get a better sense of whether the problem is in the code under test, your usage of Mocha, or Mocha itself
[x] Ensured that there is no discrepancy between the locally and globally installed versions of Mocha. You can find them with: node_modules/.bin/mocha --version(Local) and mocha --version(Global). We recommend that you not install Mocha globally.

Description
mocha works when using ESM. mocha -w doesn't.

Steps to Reproduce
<EMAIL_ADDRESS>
type is module in package.json
run mocha -w

Expected behavior: Watch mode works, like with commonjs
Actual behavior:

Log:
Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: /home/runner/mocha-bug/test/index.js
require() of ES modules is not supported.
require() of /home/runner/mocha-bug/test/index.js from /home/runner/mocha-bug/node_modules/mocha/lib/mocha.js is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules.
Instead rename index.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from /home/runner/mocha-bug/package.json.

    at new NodeError (internal/errors.js:322:7)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1102:13)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at require (internal/modules/cjs/helpers.js:93:18)
    at /home/runner/mocha-bug/node_modules/mocha/lib/mocha.js:417:36
    at Array.forEach (<anonymous>)
    at Mocha.loadFiles (/home/runner/mocha-bug/node_modules/mocha/lib/mocha.js:414:14)
    at Mocha.run (/home/runner/mocha-bug/node_modules/mocha/lib/mocha.js:1015:10)
    at Object.run (/home/runner/mocha-bug/node_modules/mocha/lib/cli/watch-run.js:263:22)
    at FSWatcher.<anonymous> (/home/runner/mocha-bug/node_modules/mocha/lib/cli/watch-run.js:184:14)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
yarn test

Reproduces how often: 1 (Every time)
Versions

The output of mocha --version and node_modules/.bin/mocha --version: 9.2.2
The output of node --version: v16.13.2
Your operating system

name and version: Repl.it, but I think it's not specific to Linux
architecture (32 or 64-bit): Repl.it, but I think it's not specific to Linux

Your shell (e.g., bash, zsh, PowerShell, cmd): bash?
Your browser and version (if running browser tests):
Any third-party Mocha-related modules (and their versions):
Any code transpiler (e.g., TypeScript, CoffeeScript, Babel) being used (and its version):

Additional Information

duplicate of #4831


Logs reporting errors in renaming.

I am seeing sporadic errors in the renaming during autopilot.  I cannot get it to fail when I test but I have seen logs say:
Rename-Computer : Fail to rename computer '*' to '' due to the following exception: The user
name or password is incorrect.
and
Rename-Computer : Fail to rename computer '' to '' due to the following exception: The
specified server cannot perform the requested operation.

Logs are showing RunAs User: SYSTEM
RenameErrorLogs.txt
RenameErrorLogs1.txt


[GH-17956] migrate status_filter to styled component

Summary
This will migrate webapp/src/components/backstage/playbook_runs/playbook_run_list/status_filter.scss to styled-components
This also touches these components since they shared some styling from status_filter.scss:
webapp/src/components/backstage/playbook_runs/playbook_run_list/playbook_run_list.tsx
webapp/src/components/backstage/playbooks/playbook_run_list/playbook_run_list.tsx
webapp/src/components/checklist_item.tsx
webapp/src/components/profile/profile_selector.tsx
webapp/src/components/team/create_playbook_team_selector.tsx
webapp/src/components/team/team_selector.tsx
Ticket Link
Fixes: https://github.com/mattermost/mattermost-server/issues/17956
Checklist
- [ ] Telemetry updated
- [ ] Gated by experimental feature flag
- [ ] Unit tests updated

Hello @maliur,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

@maliur Thanks for the PR! I noticed you opened as a draft. Should we wait for some more changes or would you like a review now?

Forgot to open it but it should be open for review now :)


Refactor vector editor properties

Follow-up to https://github.com/godotengine/godot/pull/75534#issuecomment-1549481806
The change I mentioned would require a tweak in all vector property classes and I didn't feel like doing the same thing 4 times, so I did a complete refactor. Instead of 6 classes that repeat literally the same thing there is only 1 now. The new class can handle any Vector with 2 or more components .-. Also, as a bonus, Vector4 now supports linking too.
Supersedes #75534
Closes #68165
Closes #73432

This needs a rebase.

Rebased. I'm not convinced about the suggestion. It makes the code easier to read, but doesn't simplify the logic, which is convoluted and inefficient. I'll try to do something about it, but it's also something that can be done in a follow-up PR. For now I left a TODO comment.
The exact problem is that ratios are packed in an array that looks something like [ xy, yx, zy, yz, zx, zy] (I don't remember the exact order now xd), so it needs some advanced index magic to correctly map it. Of course the order is arbitrary, I just crammed all ratios into a single array and needed some way to do so. Maybe it can be changed to a HashMap or something.

The exact problem is that ratios are packed in an array that looks something like [ xy, yx, zy, yz, zx, zy] (I don't remember the exact order now xd), so it needs some advanced index magic to correctly map it. Of course the order is arbitrary

@KoBeWi You can try something like this:
int n = component_count
int m = n - 1

// Updating sliders.
// slider[i].value = slider[j].value * ratios[k]
// (calculating k from i, j)
int j = changed_value_index
for i in n:
	if i == j:
		continue
	int k = m * j + ((i - j + n) % n) - 1
	slider[i].value = slider[j].value * ratio[k]

// Updating ratios.
// ratios[k] = slider[i].value / slider[j].value
// (calculating i, j from k)
for k in ratios.size(): // ratios.size() == n * m
	int j = k / m
	int i = (j + 1 + (k % m)) % n
	ratios[k] = slider[i].value / slider[j].value

It should result in ratios orderings (yx means y / x):

[yx,  xy],
[yx, zx,  zy, xy,  xz, yz],
[yx, zx, wx,  zy, wy, xy,  wz, xz, yz,  xw, yw, zw].

Something is wrong with linked values. I'm not sure if it's new to this PR or if it's a pre-existing issue, but it's an issue nonetheless. If you have a vector with components which have different signs, things get weird.
Sometimes the value and the sign of each component get in sync:
https://github.com/godotengine/godot/assets/11782833/b5c9b04e-0895-465d-8976-0ba2872149c6
https://github.com/godotengine/godot/assets/11782833/35b9d12a-2994-4d53-b297-f1721036d6e0
And sometimes it's only the values, but the signs are appropriately different:
https://github.com/godotengine/godot/assets/11782833/09de4cce-5012-4f4c-9aeb-bf48f2bf019f
It's a bit harder to test with non-integer vectors, as they are much slower to change, but they are not immune to the issue:
https://github.com/godotengine/godot/assets/11782833/ee5940b9-c2bd-4b3b-a7d7-b86984bc4250

Note that it doesn't matter which component you drag, though initially I thought it did matter. What matters is how many times you cross the 0 threshold, and how the big numbers are (the bigger, the longer it takes them to sync).

Other than that bug, everything seems to be working fine, and I'm sure that code is way better to maintain now :)

Okay, a correction. I only noticed this with negative numbers at first, so I assumed it was related, but indeed the only problem is that I was crossing the negative-positive boundary. The issue is repeatable even if you start with both positive numbers but a ratio different from 1:1. Crossing the 0 value with one of the components (maybe a few times) breaks the ratio.
KoBeWi says this is because when 0 is involved we can't have a valid ratio between components, which is reasonable. Perhaps we could cache the last valid ratio and use that?

@YuriSizov Currently in EditorPropertyVectorN::_update_ratio if any of the sliders has zero value then all ratios will be set to 1.0. I think this should be changed and be resolved per component.
When dragging/changing value of a non-zero component, then all components can be scaled properly according to the ratios (at the start of the change), including the zero ones (they'll remain zero). So for (x, y, z) changing e.g. non-zero x to new_x would result in new_x * (1, y/x, z/x). Like for (1, 0, 2) changing x to 3 would result in (3, 0, 6). That's correct and expected and should be made like that.
The question is what the behavior should be when dragging/changing value of a zero component. I don't think there's an obvious expected behavior, it's rather a matter of making an arbitrary choice.

According to the ratios what would be correct is setting other non-zero components to infinities. It might be not desired though. :thinking: E.g. for (1, 0, -2, 0) changing y to 3 would result in (INF, 3, -INF, 3) (could be argued it should result in(INF, 3, -INF, 0) instead).
Another possibility would be to totally ignore linking for zero values. So for (1, 0, -2, 0) changing y to 3 would result in (1, 3, -2, 0) (or keep only the zeros linked so result would be (1, 3, -2, 3):laughing:).
Maybe some other possibilities...

The decision on the behavior is needed before the implementation of course. :upside_down_face:
Also it should be ensured that e.g. when dragging the value in the inspector the _update_ratio is called only when the drag starts/ends. Haven't checked if it's currently like that but calling it in the middle of the drag could likely cause issues when going through zero (because of the different behavior), like the one mentioned in https://github.com/godotengine/godot/pull/77135#issuecomment-1568379310.

I like what you suggest and I like the idea of ignoring the ratio when starting the change from a zeroed component.

I added tooltip and moved the properties to a new file.
I still did not touch the ratio logic. The bug you mentioned already existed before and this PR makes it easier to fix (as you need to do it only once xd).

I opened a report for that problem: https://github.com/godotengine/godot/issues/77687

Thanks!


Create profile_card.html include.

This file is needed for Auziro profiles in Tech@Auth0 blog posts.

Merging as temporary fix while waiting on styl change process.


HDDS-10357. Implement granular metrics for OM sortDatanodes

What changes were proposed in this pull request?
To be merged once https://github.com/apache/ozone/pull/5391 is in.
The patch implements granular metrics around KeyManagerImpl#sortDatanodes method. The following metrics have been introduced:

sortDatanodesLatencyNs: KeyManagerImpl#sortDatanodes call latency in nanoseconds.
sortDatanodesSortByDistanceCostLatencyNs: NetworkTopology#sortByDistanceCost call latency in sortDatanodes.
sortDatanodesResolveNodeLocationLatencyNs: KeyManagerImpl#resolveNodeLocation call latency in sortDatanodes (for non-datanode host reads).
numSortDatanodesCalls: Number of KeyManagerImpl#sortDatanodes calls.
numSortDatanodesNonDatanodeHostReads: Number of non-datanode host reads in sortDatanodes (number of KeyManagerImpl#getOtherNode calls).

What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-10357
How was this patch tested?

The metrics have been tested manually on a cluster with the Ozone services running.
Green Git CI: https://github.com/tanvipenumudy/ozone/actions/runs/8137480673/

@kerneltime, @muskan1012 could you please take a look at the patch? Thanks!


[cf]-fixed-links-to-streaming-docs

Description
I deleted the destination redirect json item for streaming sources and destination links not working
How Has This Been Tested?
All the links are working on mintlify dev env, see photos of some sources

[ ] Test A
[ ] Test B

Checklist

[X] The PR is tagged with proper labels (bug, enhancement, feature, documentation)
[X] 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
[X] I have made corresponding changes to the documentation

cc:

@colefreeman Actually, the docs had issues deploying to mintlify. Please resolve.

I was actually getting that error in the logs...I was just looking at the dev env on localhost, added back the destinations and no errors, these should be the correct destinations.

@johnson-mage

@colefreeman Did you create a new PR? This PR was already merged so we need a new PR.


This project is still alive?

Nice project, it's project is still alive?
I see that there have been no uploads or news for a while ... the project seems valid and I am very interested ....

Hi,
No. This project served as a proof-of-concept for our journal paper. I'm not actively maintaining it.
You are welcome to fork the project and improve it if you want.

Hi,
No. This project served as a proof-of-concept for our journal paper. I'm not actively maintaining it.
You are welcome to fork the project and improve it if you want.

Hi,
No. This project served as a proof-of-concept for our journal paper. I'm not actively maintaining it.
You are welcome to fork the project and improve it if you want.

tnx for the quick reply, pity, it seemed like a great start ... if I find time I play a little and see ... in the meantime, thanks ;)


fix the problem that the web page may get wrong results prefixed with…

fix the problem that the web page may get wrong results prefixed with "> "，the problem occurs when multiple commands are sent to otbr-agent continuously and quickly .

Superseded by #1671


Add pre-stop hooks for containers that expose ports

This pre-stop hook will simply wait for 5 seconds. In order to achieve this in the most general way, a configmap is mounted as a volume that has a very simply binary that sleeps for 5 seconds. It is done this way because this should work for any container images, including scratch.

Putting this up for review. I tested it with a scratch image and it worked. I'm still in shock.

https://github.com/acorn-io/manager/pull/1517 should be merged first so we can use the mirrored image.

In addition to the above mentioned changes, I:

Made it so that the ConfigMap is only stored in memory once for apps with multiple containers that needed it. That is, the ConfigMap was only created once, but it was stored in memory for the apply multiple times.
Changed the location of the binary from /usr/local/bin to /.acorn/sleep
The repo I created for the sleep binary gets the size of the binary down to 5K for amd64 and 7k for arm64.

Re-requesting reviews for these reasons.


Versions since v2.0.0 are absent on Galaxy

https://galaxy.ansible.com/ui/standalone/roles/andrewrothstein/etcd-cluster/ has v2.0.0 as the last version

https://galaxy.ansible.com/ui/standalone/roles/andrewrothstein/etcd_cluster/versions/ shows all versions.


Making environment reset deterministic

Is there any way to make the env.reset() method deterministic?

Hi @srinivasansuraj, thank you for your interest in EvoGym.
If you are using any one of the baseline environments, the env.reset() method should be deterministic for all of them except Catcher-v0.
If you are creating your own environment the env.reset() method will return the state of the simulation deterministically to however it was defined in the .init() method. Specifically, it will be returned to the state defined in the EvoWorld instance used to initialize your environment.
If you are calling .reset() on an EvoSim object then the result will always be deterministic (returns the simulation to time t=0).
Please let me know if you have any further questions!


[BUG]: Android left rewind notification moves playback forward instead of backwards (on sample project and using npm)

Version
6.0.0
What platforms are you having the problem on?
Android
Architecture
Old architecture
What happened?
Open the example/basic app.
Start playing video, click rewind on notif control, observe forward progress on video.
Reproduction
https://github.com/TheWidlarzGroup/react-native-video/tree/master/examples/basic
Reproduction
Step to reproduce this bug are:
showNotificationControls={true}

Open your app
Play a video
Drag down the notifications
Tap the Rewind button

Actual:
5. Observe the progress bar moving forward
Expected:
5. Observe the progress bar moving backward

fix will be included in 6.1.0


Only see multi-color boot screen

After I installed the software, I altered the payload.dd file to say GUI SPACE instead of r because I have a mac. After I rebooted with it plugged into my mac I got nothing. So I plugged in the HDMI cable and used the same USB cable into my mac. All that happened was I saw the multi-colored boot screen for several minutes after plugging it in. Is there a way to fix this? Thank you in advance.

Hello,
Changing to GUI + Space makes sense to open the Spotlight yes.
It sounds like the system isn't booting into Rasbian at all.
Did you use the ISO listed in the ReadMe?

So I used the ISO you linked in and when it booted I changed the locales, wifi country, keyboard layout, and enabled ssh. I then tried to enable wifi on my Pi Zero W but there was no option in sudo raspi-config. I then edited the wpa_supplicant.conf file myself and added in the network. When I type ifconfig it only shows the interface lo and wlan0 is not included. Should I update the Raspi Zero to enable wifi?

I haven't tried this on a Pi Zero W - in theory you don't need WIFI for this to work.
When I was setting up the PI I used a USB to USB micro adaptor to a USB hub (for keyboard) then an ethernet to USB adaptor.
Due to the kernal in the listed ISO being required, I don't think there is a WIFI work around.

Will you ever update this so it'll work with the current kernal? I'd really like to use wifi.


 Just have a issue currently where some addons like perma prop, awarn3 and some more wont work with your addon. Is there a solution to this or do i need to find replacements?
Kindest Regard SaxGuy.
[ERROR] addons/thirdperson/lua/thirdperson/sh_thirdperson.lua:164: attempt to call field 'RegisterCategory' (a nil value)
1. v - addons/thirdperson/lua/thirdperson/sh_thirdperson.lua:164
2. unknown - lua/includes/modules/hook.lua:84
VCMod: Sent API key to player LT Sax 1C58. 99 keys left.
VCMod: Initializing player LT Sax 1C58.
[The Epic Sax Guy|2|STEAM_0:0:79946296] Lua Error:
[ERROR] addons/awarn3/lua/includes/sh_awarn3.lua:89: attempt to call field 'RegisterPermission' (a nil value)
1. RegisterAdminModPermissions - addons/awarn3/lua/includes/sh_awarn3.lua:89
2. unknown - addons/awarn3/lua/includes/sh_awarn3.lua:102

Hey Sax!
xAdmin should work with things like PermaProp, aWarn and all that other ULX native stuff by default. It uses the same classes as ULX so there should be (For the most part) backwards compatibility.
Your issue might be with another addon, that is stopping xAdmin from loading and as a result upsetting the whole flow of your server's load process. Are there any other errors your server is getting on start? Try booting the server and watching the console for the first error to pop up, that is normally the culprit.

Seems like it is my thirdperson script that scuffs it all. https://www.gmodstore.com/market/view/thirdperson-an-advanced-third-person-suite
However awarn still wont read the usergroup
`[ERROR] addons/awarn3/lua/includes/awarn3_permissions.lua:34: attempt to call method 'xAdminHasPermission' (a nil value)

CheckPermission - addons/awarn3/lua/includes/awarn3_permissions.lua:34
DrawElements - addons/awarn3/lua/includes/awarn3_vgui.lua:212
OpenMenu - addons/awarn3/lua/includes/awarn3_vgui.lua:105
func - addons/awarn3/lua/includes/awarn3_vgui.lua:163
unknown - lua/includes/extensions/net.lua:32`

This is happening because this script has decided to have the exact same name and variables as xAdmin, a premium script that is completely unrelated on gmodstore. Any scripts that add support for xAdmin and don't have a workaround for this specific admin mod will encounter this error as the addon will mistake this script for the gmodstore one.

That explains it! Thank you guys for the help.


feat: initial testing for github actions

@all-contributors please add @leroychan for LINE channel and GitHub Actions

@all-contributors please add @leroychan for plugin ✨


Add profile image validation

I added validation for image size and format for the profile images in active storage. Until now it is mentioned, but the image is nevertheless uploaded, because active storage has no build in image validation. So, now an error is shown if the image is bigger then 1 MB or not an image format ... the only thing is, the error message is not really readable (do you see the white text inside the picture?)

Do I have to do sth about that? I can see sth white but the black text says it all, or?

I don't know, how the error messages should look like at speakerinnen and I don't change anything in the frontend, but I guess the headline message "The form contains 1 error ..." is not in an appropriate form ;)

@sabrina-ulbrich should be good to go now


Publish GoogleAutoConfiguration as auto-configuration class

I noticed that the GoogleAutoConfiguration is not automatically discovered. However auto configuration works when using @Import(GoogleAutoConfiguration.class). As far as I can tell this is because the org.springframework.boot.autoconfigure.EnableAutoConfiguration property is not defined in the project. Originally it was defined in 7bd39f378201df2a47fbe0c7c90361e03c24f779 in the spring-social-google/src/main/java/META-INF/MANIFEST.MF, but this file seems to have been deleted.
This PR attempts to bring back this config item.

Would be great to have that in. Just took me an hour to even take into consideration that this might be missing...


Enhance SQL error message

When executing a SQL statement, it can have error.
Example: exec my_stored_proc '2017-07-121'
The parameter must be a date.
Here, there will be an error when auto convert of the varchar to a date type by the server (or jdbc driver?).
In DBEaver I get the following error:

When searching on Internet for the 22001 error, I can retrieve more explanation
example http://www.sqlerror.de/db2_sql_error_-433_sqlstate_22001.html
It can be usefull to have in detail the description of ths SQL error code number like this :

Note that in Sybase Workspace sql client, I get another error message which is more explicit (but don't konw how they can have this error message from the server; and it's related to the https://github.com/serge-rider/dbeaver/issues/1788 already opened):

Msg 247, Level 16, State 1:
Server 'FOX2_PAR_TST_SQL', Procedure 't_report_open_hedging_positions_CL_p',
Arithmetic overflow during implicit conversion of VARCHAR value '2017-07-078' to a DATETIME field .

This might be a good addition to existing SQL context help (supported for MySQL).


Reporting Demo

This contains the proposed changes for Displaying reports. However, restoring the 'COVID' dashboard link affects the routing such that i was not able to have both links appearing and functional at the same time.

Thanks @TrevorAntony,  please look at the build failures

@TrevorAntony following our sync earlier here is some feedback we talked about, let me know if you need any assistance

Cover at least 90% of the width for the filtering section
Try to display the button on the same line as the filters
Remove the green background in the table header
Use SWR to fetch the report
Translate the column headers

I have updated the PR

@TrevorAntony let's close this

closed. But i wont delete the branch for now
On Fri, 26 Jul 2024 at 09:28, kyampeire Hadijah @.***>
wrote:

@TrevorAntony https://github.com/TrevorAntony let's close this
—
Reply to this email directly, view it on GitHub
https://github.com/UCSF-IGHS/openmrs-esm-ohri/pull/1910#issuecomment-2252063374,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOXLNJTIH3CSX3XUYJKFP6TZOHT7LAVCNFSM6AAAAABLKU475WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJSGA3DGMZXGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


Feature Request: ES256

Hello there,
First of all thanks for the great work on this library. I'm finding it very useful.
I'm using it to sign in with Apple and it requires that the algorithm is ES256.
Do you have any plans to add this to the library?
Thanks

Hi @nathanqueija ,
I would like to implement the ES256 algorithm as well, but unfortunately I have not seen a library for deno which generates this encryption.
The good news is that there has been a lot of progress in the deno environment lately, so I guess it is just a matter of time.
I hope this answers your question.

Thanks for the response @timonson .
Yeah, it makes sense. I don't know any libraries that can generate this encryption.
I'll keep looking for it and will let you know if I find something.


using namespace in two dot-sourced .ps1 files causes the namespace named in the other file to be used

This arose from #5942.
Steps to reproduce
UsingTest.psm1
@(
    'fileA.ps1'
    'fileB.ps1'
) |
    % { . "$(Split-Path -Path $MyInvocation.MyCommand.Path)\$_" }

fileA.ps1
using namespace UsingTest.A

Add-Type @'
namespace UsingTest { namespace A {
    public enum MyEnum {
        One = 1,
        Two
    }
}
}
'@

function GetA1 { return [int][MyEnum]::One }

fileB.ps1
using namespace UsingTest.B

Add-Type @'
namespace UsingTest { namespace B {
    public enum MyEnum {
        One = 101,
        Two
    }
}
}
'@

function GetB1 { [int][MyEnum]::One }

Invoke these Commands
Import-Module UsingTest; GetA1; GetB1

Expected behavior
1
101

Actual behavior
101
1

Environment data

> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      6.0.0
PSEdition                      Core
GitCommitId                    v6.0.0
OS                             Microsoft Windows 6.3.9600
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Hi @alx9r - dot sourcing a file results in that file executing in the current scope so any definitions in the dot sourced file will overwrite existing definitions in the current scope. It's like concatenating the two files then executing the result. Later definitions override earlier definitions.

It's like concatenating the two files then executing the result. Later definitions override earlier definitions.

@BrucePay I thought that at first, too.  That explanation, however, is inconsistent with GetB1 returning 1 in the repro.  If it were simply a matter of later definitions overriding earlier definitions, then GetB1 would return 101.


Re-work and improve markdown-link-check workflow

I often get errors on the markdown-link-check workflow (examples here and here).
Sometimes, I need to re-run the workflow several times until it passes.
I'm unsure of the issue since the error doesn't say much.
It'd be great if we could have this working reliably.

1st step might be to get the logs coming through? Can't say I see this that often, but when I have locally, it was usually due to connection time outs. If that is the case we may need to rethink our approach here. Also if we are validating this in the docs hub also we are duplicating efforts.

All PRs are currently broken, which I'd consider often enough for today. 😆


[DISTURBANCE] Fix Report 725204

Fix Report 725204
License
I confirm that this contribution is made under an Apache 2.0 license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

Thanks! I'd been hunting down this issue 😄

That was fast, thanks @31453 Elyse!


Migrate the UI from Golang to React and rework the UI

Currently arewefastyet has a frontend component that has too many responsibilities: serving the UI and managing the different benchmarks. We want to split this component in two. Keep a component in Golang that will continue managing the benchmarks, and create another component in React that will serve the frontend UI of arewefastyet.
The current frontend UI uses Golang HTML template to serve its content, we want to get rid of this in order to have a more dynamic and faster website. Additionally, it will allow us to easily add new features to arewefastyet.
Since the current frontend UI was within the same process as the benchmark manager, we need to introduce an API in the new benchmark manager to enable the new frontend UI to serve content.
This frontend UI should be reusable by the Vreplication Testing Framework (cc @rohit-nayak-ps). Our thinking is that we can share the same UI between the two tools, but no design decision has been made yet.
Pull Request tracker:

https://github.com/vitessio/arewefastyet/pull/326

Hey @frouioui saw this being listed as a LFX project
I am well-versed with both React and Golang and I would love to work on this project for the mentorship period
I have started looking into the codebase and will follow it up with setting the project locally
Let me know if anything else needs to be looked into
Thank you and have a great day

Hi @frouioui, I am interested in learning about this project and want to work on this project under LFX Mentorship.
Please let me know about any materials or resources that I should learn to get a better understanding of the project and its requirements.
Additionally, I propose that along with React/Vite we can use pnpm as package manager and tanstack-query for data-fetching for fast rendering. Although we can use Next js too as it is also known for efficiency but as we want only client side rendering so that is not needed.
I would like to know your views on it.

Hello @frouioui , as a young React developer, I am motivated by the desire to learn and progress in this exciting field.
Participating in your project as part of the LFX mentorship program would be a great opportunity for me, as it would allow me to work alongside experienced developers and contribute to a concrete project using my React skills.
I am ready to make a positive contribution to this collaboration.
Thank you and have a great day

Hey @frouioui
I wanted to show my interest in this project.
I could not find the slack channel for Vitess, can you share please.
Thanks

Hi @frouioui I am a React Developer and a cloud-native enthusiast. I will like to make impactful contribution to the AreWeFastYet project.
Given that this issue was last commented in Nov 2022, has your team come up with a new UI design. What has changed since and how do I get started?

hello @frouioui
I am a very keen React , Next.js , Cloud and a DevOps developer. I am a deep technical enthusiast who believes that learning and contributing is the best principle.  I would like to participate in your project and would like to make meaningful contribution.
I feel working and contributing in your project would be a great opportunity and am really excited to join you .
Please help me in getting started

Hello @frouioui , I am Chisom Promise, a full-stack web developer and has worked extensively with React, Next.js and Typescript.
I am highly interested in participating in this project under your mentorship through the LFX program. I would love to join the online community if any, to share my ideas and understand more about the project.

Hello, @frouioui @rohit-nayak-ps, I am interested in learning about this project and want to work on this project under LFX Mentorship.
Please let me know about any good first steps or resources that I should learn to get a better understanding of the project and its requirements.
I have submitted my application on the LFX portal.

Hello everyone, i saw this project being listed under the LFX Mentorship program and i just wanted to quickly introduce myself. I'm Adarsh i'm a full-stack engineer, I have almost a year of experience working with series A startups and i'm proficient at Next.js, React, JS, TS and i'm currently learning golang. I'd love to contribute to this project as this aligns with my interests and skillsets. I'm currently setup the project and going through the docs and the codebase to better understand the project : )

Hi Maintainers, I am very interested in this project and want to work on this project under LFX Mentorship.
I have 6 months of internship experience in frontend development using React, Redux, Ant Design, SAAS and other frontend development frameworks.
I have submitted my application through the LFX portal with all required details.

Hi @frouioui , I am really Interested in this project and I want to work on this Project under LFX mentorship. I have already published androids apps and websites before, Please guide me about possible first steps to getting started on this project.

Hi @rohit-nayak-ps and @frouioui,
I am extremely enthusiastic about the opportunity to contributing to arewefastyet as the technology stack utilized by Vitess closely aligned with my existing skills and experience. I have successfully set up the project locally and followed its code base.
I have submitted my resume and proposal to LFX.

Hi @rohit-nayak-ps and @frouioui, I am Himanshu, and would love to work and contribute to this project. I am confident I have the skills which are required for this project. I have applied for this project on LFX portal.
Could you guide me how to start from here?

Hello, I'm Seyma👋😊
I am a frontend developer with urban planning background who is detail-oriented, curious and willing to learn new technologies every day. I just graduated from a 5 month Re:Coded frontend web development bootcamp, which is an US-based platform with participants from different countries, and I gained a lot of experience in terms of working as a team as well as technical skills.
I have knowledge about HTML, CSS, JavaScript, React, Bootstrap, Tailwind, Redux Toolkit and responsive design and I continue to improve myself via developing projects. I'm excited to add Golang to my skills. I just applied to the project on LFX portal. I would love to work on this project under LFX mentorship term-2 with your mentorship.
Looking forward to work on this project
Best wishes,
Seyma Demir

i applied in LFX , what i do next

Dear @frouioui,
I hope this message finds you well and filled with enthusiasm for the exciting project ahead. As a frontend developer with a burning passion for web development, I am thrilled to throw my hat in the ring for the "Design and implementation of the new Notary website" opportunity. Allow me to showcase how my skills, enthusiasm, and past accomplishments make me an ideal candidate to contribute to this transformative project.
With my proficiency in HTML, CSS, JavaScript, React, and TypeScript, I have embarked on various noteworthy endeavors that demonstrate my ability to craft compelling web applications. One of my standout projects was a project I collaborated with two other developers to build. It was an Ed-tech SaaS platform, designed to empower users to learn and earn simultaneously. Leveraging the power of React, I developed a feature-rich platform complete with a library, a dashboard, and robust login and signup capabilities. This project not only highlighted my technical prowess but also showcased my commitment to creating engaging, user-friendly experiences that cater to the needs of modern learners.
Furthermore, I have also taken the reins in building the entire frontend of a transaction dashboard. This experience allowed me to deepen my understanding of data visualization, user interaction, and performance optimization, equipping me with valuable skills that I am eager to apply to the Notary project. I thrive on the challenges presented by complex UI implementations and find immense satisfaction in transforming ideas into polished, functional interfaces.
Here's why I believe my inclusion in your team will yield exceptional results:

Enthusiasm and Eagerness to Learn
Team Spirit
Ability to adapt quickly and be resourceful
Strong foundation

I am genuinely excited about the prospect of joining your team for the LFX Mentorship Program and contributing my skills to revolutionize the Notary website.  Thank you for considering my application, and I look forward to the chance to contribute my talents to the success of the Notary project.
Best regards,
Victor Olaoye.

Dear @frouioui,
I hope this message finds you well and filled with enthusiasm for the exciting project ahead. As a frontend developer with a burning passion for web development, I am thrilled to throw my hat in the ring for this opportunity. Allow me to showcase how my skills, enthusiasm, and past accomplishments make me an ideal candidate to contribute to this transformative project.

I have acquired a strong foundation in frontend development, encompassing HTML, CSS, JavaScript, TypeScript and React. Through practical experience, I have honed my skills in crafting seamless user interfaces, implementing responsive designs, and optimizing performance. With this expertise, I am well-equipped to undertake the migration of Vitess' codebase from Golang to React, ensuring a smooth and successful transition.

React has become my go-to framework for its flexibility, reusability, and vast ecosystem of supporting libraries. I have consistently utilized React to build dynamic and interactive applications, and I am passionate about exploring its capabilities further. Additionally, I have encountered various challenges during my development journey, which has honed my problem-solving skills. I am confident in my ability to overcome obstacles and deliver elegant solutions for Vitess' benchmarking tools.

I firmly believe that a well-designed UI is not just visually appealing, but also intuitive and user-friendly. I am dedicated to understanding the needs and expectations of end-users and incorporating their feedback into the design process. By reworking the frontend UI of Vitess' benchmarking tools, I will ensure a seamless and engaging user experience that enhances the productivity and effectiveness of the tools.

I thrive in collaborative environments and value the insights and experiences of fellow team members. I am eager to work closely with the Vitess team, actively participating in discussions, and contributing my expertise while remaining open to learning from seasoned professionals. Together, we can create a harmonious and innovative working environment, where our collective skills and ideas can thrive.

The CNCF's commitment to open-source projects aligns perfectly with my own values and aspirations. I am deeply invested in contributing to the growth and success of open-source initiatives, and I am excited about the prospect of collaborating with Vitess to propel the project forward. My dedication and enthusiasm will be reflected in the quality of my work and my commitment to the community.

In conclusion, I am genuinely excited about the prospect of joining your team for the LFX Mentorship Program and contributing my skills to revolutionize the website.  Thank you for considering my application, and I look forward to the chance to contribute my talents to the success of the project.
Best regards,
Victor Olaoye.

Hello @OlaoyeVic, @DIWAKARKASHYAP, @symys, @Himanshu-370, @SohamRatnaparkhi, @shashankiitbhu, @Shubhamm-V, @adarsh500, @J0SAL, @Chimise, @achiverram28, @ArafatAbdussalam, @VasuDevrani, @kunal00000, @Ciggzy1312 👋🏻
Thank you for your interest and your application. We have selected the application of @Camillemtd, who will be starting with us on June 1st. We invite you all to re-apply for the upcoming terms.
Cheers 👋🏻

Hello, I also submitted an application and would appreciate any suggestions you may have to improve it. I have been rejected twice before, so any constructive feedback would be greatly appreciated.

Closing this as the LFX project has been successfully completed. Congratulations @Camillemtd.


installation failed for version dismatch

hi i had just install a udocker from pip command
pip install udocker

in a venv enviroment
when i use udocker install it just told me the following message
udocker command line interface version: 1.3.1
requires udockertools tarball release : 1.2.8
Error: installation of udockertools failed
Info: downloading layer sha256:59bf1c3509f33515622619af21ed55bbe26d24913cedbca106468a5fb37a50c3
Info: downloading layer sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4

so i guess maybe there is some configuring problem

finally found that its the downloading resetted by firewall