Build Docker Images using GitHub Actions

Goal
This is a work in progress pull request with the goal to

add our docker build setup to our Continuous Integration setup
publish Opendatacam development previews to dockerhub

Status
The following things are implemented in this pull request (or still to be implemented)

[x] Build Opendatacam docker image from local source
[x] Adds docker build to Opendatacam's CI/CD
[ ] Push development build to dockerhub

[ ] Generate Dockerhub API key to use in the action
[ ] Update the action

[ ] Verify the development preview is working by running it on a Jetson device
[ ] Update docker build documentation

Since the build takes approx 20 minutes we could to the following to speed it up. However this might be part of a separate pull request

[ ] Speed up docker build process by using a pre-built https://github.com/opendatacam/darknet

See also
Closes #211

@tdurand @b-g In order to push the development build to docker hub I would need your assistance. You would need to setup a Secret in this repository for the action to access dockerhub.
The required secrets are DOCKERHUB_USERNAME and DOCKERHUB_TOKEN. (See https://docs.docker.com/docker-hub/access-tokens/ how to create tokens).
Let me know when you have added the secrets to the opendatacam repository. Then I will continue with the pull-request.

Looking into it now !

Here is what I have done, let me know if something is missing:
Github actions settings to allow only action from within opendatacam org:

Access tokens on dockerhub

Repository secrets:

Here is what I have done, let me know if something is missing:
Github actions settings to allow only action from within opendatacam org:

That was not what I meant. This setting forbids us to run third party actions in our Workflows (e.g. the docker build action)
Further down on the same page there should be 3 checkboxes regarding tokens and secrets. These you should check.

Access tokens on dockerhub

I don't think those are required. You should be able to safely remove them if you like.

Repository secrets:

Looks good. Thank you

Okay, I reverted to "all actions" and I found the setting, it was under the organization settings and not repository settings, it is unchecked

Should be good now for a test ? Let me know

@tdurand I believe this will disable actions for pull requests coming from forks such as mine. I recommend you select the following settings

This should allow us to run all the tests in pull requests (including testing a successful docker build) but not share the dockerhub secrets with forks. In this case pushing images to dockerhub will not work from pull request, but it will still work on new commits to the main Opendatacam repository using the "push" trigger for the workflow.

Ok ! Done the same:

I've just successfully published the first opendatacam docker image using GitHub actions 🎉 (to my personal Dockerhub account, but still 😎)
I've set up the workflow as follows:

If run as pull request: Build Docker Image but do not publish
If push to Opendatacam development branch: Build docker image and publish as Opendatacam
If push to a forks development branch: Build docker image. If fork has their own DOCKERHUB_USERNAME and DOCKERHUB_TOKEN set, it will publish docker image under the forks credentials. See https://hub.docker.com/u/vsawdoteu/ as an example

I could successfully run vsawdoteu/opendatacam:development-nano on my Jetson Nano. I don't have the necessary hardware to test the other builds but I'm confident they will work as well!

@tdurand The documentation has been updated. Feel free to review. I would like you to do the merge as only you can remove faulty images from dockerhub in case something goes wrong.

@vsaw congrats !! seems pretty clean to me ;-)
the only thing I'm a bit "worried" about is that we will not be very sober in term of disk use on the dockerhub.. do you know if it is possible to just replace the latest development or somehow just erase legacy docker image that will be not tied to a release & not the latest development ?

also building all the image on each commit sounds not very sober in server CPU use , but I guess what we should do now it really respect the feature branches and merge to development real additional features / fixes so it doesn't build the things all the time.

Sorry for beeing picky, is it just that I try to see how to optimize a bit things and not waste too much ressources even if they are free to use 😁
Feel free to merge and let me know if you see something wrong I'm around in the next days.

@vsaw congrats !! seems pretty clean to me ;-)
the only thing I'm a bit "worried" about is that we will not be very sober in term of disk use on the dockerhub.. do you know if it is possible to just replace the latest development or somehow just erase legacy docker image that will be not tied to a release & not the latest development ?

also building all the image on each commit sounds not very sober in server CPU use , but I guess what we should do now it really respect the feature branches and merge to development real additional features / fixes so it doesn't build the things all the time.

Sorry for beeing picky, is it just that I try to see how to optimize a bit things and not waste too much ressources even if they are free to use 😁
Feel free to merge and let me know if you see something wrong I'm around in the next days.

Thanks for the review.
The development images should be overwritten on every new build, so we should not take up to much new space.
As for the CPU usage, there are a few improvements we can do to reduce the build time as mentioned above.
Given the low frequency of pull requests and changes to development I would not limit the execution of the workflow but rather invest into the performance improvements.

Thanks for the review.
The development images should be overwritten on every new build, so we should not take up to much new space.
As for the CPU usage, there are a few improvements we can do to reduce the build time as mentioned above.
Given the low frequency of pull requests and changes to development I would not limit the execution of the workflow but rather invest into the performance improvements.

The development images should be overwritten on every new build, so we should not take up to much new space.

Great !

As for the CPU usage, there are a few improvements we can do to reduce the build time as mentioned above.
Given the low frequency of pull requests and changes to development I would not limit the execution of the workflow but rather invest into the performance improvements.

Yes, let's not worry too much, also right now it is kind of in "heavy" development pace, but it will go down 😉

The development images should be overwritten on every new build, so we should not take up to much new space.

Great !

As for the CPU usage, there are a few improvements we can do to reduce the build time as mentioned above.
Given the low frequency of pull requests and changes to development I would not limit the execution of the workflow but rather invest into the performance improvements.

Yes, let's not worry too much, also right now it is kind of in "heavy" development pace, but it will go down 😉

🙌 well done !

🙌 well done !


Allow x86 contracts to hold tokens and to retrieve their own balance as well as external contract balances

As a contract developer, I want for my contracts to be capable of holding tokens and checking the balance, so that my contracts can be used for financial transactions like escrow, etc.
For this story, it should be possible to use OP_CALL transactions to send tokens to a contract. In this, the AAL should be working properly as well so that if a previous OP_CALL tx is owned by the contract, they should be condensed into a single UTXO the same way as this works for the EVM. As part of this, 3 new system calls should be introduced:

GetBalance - Retrieves the balance (as a 64bit integer) of the current contract
GetBalanceOfAddress - Retrieves the balance of an external contract. This takes a UniversalAddress and returns a 64bit integer.
GetCallValue - Retrieves how much value was sent to the contract as part of the current call. During OP_CREATE this should return 0.

As part of this, also update libqtum so that these syscalls can be used easily.

If storage is required to make this story work, make sure to look at #568. The planned database storage for the AAL UTXO data is txid + vout_number + balance

Add  storage of AAL data in deltaDB and Get* syscall.


Data-Sharing Notification/Permissions

Note: Original Pull Request automatically closed after pull forcing. remerged main history to branch.
Description:
This update addresses issue #103, transferring user data from the Smart Clothing app to the coaching dashboard. Push notifications from the coaching dashboard now work when the app is in the foreground, background, or killed. Expo was updated to version 51, unnecessary dependencies were removed, and app.json was modified.
TODO:

Link for Enabling Notification Permissions:

Add a link in notifications to allow coaches to enable push notifications.
Options: Link to an in-app page or browser mode in the coaching dashboard web app.

Email Notifications:

Implement email notifications using free services like SendGrid, Mailgun, or Nodemailer with Firebase Cloud Functions.

1) From Permissions Settings / 2) From Opening Notifications

Android:
Notifications - App Killed

https://youtube.com/shorts/PbtYsmaq_Xw?si=WcyGd8zhnmzl1h_h

Notifications - App Foreground

https://youtube.com/shorts/2wy0wwN3BpM?si=8Japhq0y_dGiJPfw


Fix to use correct API on README

Hi, I just started, followed the readme guide, and found that it causes two trivial errors that depend on the old version. It's very trivial, but I hope it helps.

Both of these are valid for the code that is currently in the as-yet unreleased main branch. Right now there is no "stable" documentation. This is something that will be fixed in v0.8.
Thanks for taking the time to contribute!


CosmosDB contributor access for the billing SPN

Which issue this PR addresses:
Fixes https://msazure.visualstudio.com/AzureRedHatOpenShift/_workitems/edit/7547877/
What this PR does / why we need it:
It automates one of the steps that have to be performed during a new region rollout.
Before this step (adding access to the CosmosDB was done manually.
Test plan for issue:
No unit tests,
action only performed on prod RP deployments. It will require a manual verification on one of the new regions.
Is there any documentation that needs to be updated for this PR?
No docs changes. An additional Azure Resource is deployed automatically instead of manually.

Fixed function name, moved some UUIDs to consts and added comments with explanation.

@mjudeikis Please let me know once this merges so we can take out the manual step from our side. Thanks!

After checking Jim's use case: changing the billingSPID constant changes the role assignment name and the template is applied correctly (the new assignment is created properly, the old one is left as is).
If we change the billingSPID in the future we'll need to add clean up code for the old role assignment, but I don't want to add automatic cleanup of assignments at this stage. We might need the old and the new one to co-exist during the transition.
Azure doesn't allow editing the created assignment in place (the new assignment has to have a new name if SPID or scope changes).

Rebased to new master, added comment near billingSPID definition.

@Makdaam @mjudeikis the UUID used here was wrong.


added video markdown files for each vinemo episode.

Updated podcast page to display episodes.
Fixed some responsiveness in the contact form.

this looks good!


feat: support handling messages with lower minor version

Adds support for processing messages with a lower minor version.
Some notes about the changes:

The static type property on the message classes are now ParsedMessageType containing info about the message type. I've done this to make the info readily available and not have to parse it every time we need this info (would need to be done for every message for each message received). This is how declaring the type now looks. praseMessageType is an utitliy method that makes it easier to created the ParsedMessageType object.

class CustomProtocolMessage extends AgentMessage {
  @IsValidMessageType(CustomProtocolMessage.type)
  public readonly type = CustomProtocolMessage.type.messageTypeUri
  public static readonly type = parseMessageType('https://didcomm.org/fake-protocol/1.5/message')
}

Had to refactor the decorators a bit as it was incorrectly typed which was now causing errors with typescript
Added an e2e test where we send a message with a lower minor version to another agent with a higher minor version.
Added transformations from string values 1 and 0 to n__1 and n__0. See here for the relevant discussion: https://github.com/hyperledger/aries-framework-javascript/pull/690#discussion_r850942240. Other approaches very welcome.

This PR doesn't include handling the error case where we receive a message with a higher minor version. I'll like to address that in a separate PR (should be straightforward, we just have to change the reason in the problem report), but this at least unblocks us now.

Codecov Report

Merging #714 (53312ba) into main (e4504a4) will increase coverage by 0.18%.
The diff coverage is 97.72%.

@@            Coverage Diff             @@
##             main     #714      +/-   ##
==========================================
+ Coverage   86.18%   86.36%   +0.18%
==========================================
  Files         343      343
  Lines        7454     7509      +55
  Branches     1156     1163       +7
==========================================
+ Hits         6424     6485      +61
+ Misses       1029     1023       -6
  Partials        1        1

Impacted Files
Coverage Δ

packages/core/src/agent/BaseMessage.ts
100.00% <ø> (ø)

...re/src/storage/didcomm/DidCommMessageRepository.ts
100.00% <ø> (ø)

packages/core/src/utils/mixins.ts
100.00% <ø> (ø)

packages/core/src/agent/MessageReceiver.ts
77.50% <33.33%> (ø)

packages/core/src/agent/AgentMessage.ts
89.47% <66.66%> (-0.53%)
:arrow_down:

packages/core/src/utils/messageType.ts
97.77% <96.00%> (-2.23%)
:arrow_down:

packages/core/src/agent/Dispatcher.ts
85.45% <100.00%> (+2.12%)
:arrow_up:

packages/core/src/index.ts
100.00% <100.00%> (ø)

...rc/modules/basic-messages/messages/BasicMessage.ts
100.00% <100.00%> (ø)

...ges/core/src/modules/common/messages/AckMessage.ts
100.00% <100.00%> (ø)

... and 36 more

Continue to review full report at Codecov.

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

Per discussion today on the Aries WG Call, and the RRC 0003 Protocols --- handling a higher minor version is not an error, and an agent should respond with the highest version that the agent does support.  So if you only support OOB 1.0, then you should happily receive an OOB 1.1 and respond with an OOB 1.0 message.  Same for present-proof 2.1 / 2.0.

Interesting, I only allowed to receive a lower version. I'll update it to also support higher versions in that case.

I'll wait with merging this PR until #649 has been merged to not cause more merge conflicts for @NB-MikeRichardson 😄


Added third party extension for packaging type "bundle"

I have added a link to an extension to create images for the packaging type "bundle". See jib issue #2562

Cool! Thanks for adding the link. Could you follow the CLA bot instructions above so that we can merge this?

Never mind. I added it in #58. Thanks for letting us know!


chore(deps): upgrade configuration

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-configuration-k8s-29-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4797

Questions ?
Please refer to the Backport tool documentation


Update to 3.8.1 dotnet sergen servertypings exited with code 134

Hello Everyone,
I recently updated from 3.7.7 (dotnet core 2.0) to 3.8.1 (dotnet core 2.1).
After updating Views files and .Web.csproj file I did the following.
dotnet restore (no issues)
dotnet sergen restore (no issues)
dotnet build (issues)
I get the following error at transforming server typings:
Transforming ServerTypings at: ***/Imports/ServerTypings

Unhandled Exception: Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'Newtonsoft.Json, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=***'
     at ICSharpCode.Decompiler.UniversalAssemblyResolver.ResolveInternal(AssemblyNameReference name)
     at ICSharpCode.Decompiler.UniversalAssemblyResolver.Resolve(AssemblyNameReference name, ReaderParameters parameters)
     at ICSharpCode.Decompiler.UniversalAssemblyResolver.Resolve(AssemblyNameReference name)
     at Mono.Cecil.MetadataResolver.Resolve(TypeReference type)
     at Serenity.Reflection.CecilUtils.FindAttr(IEnumerable`1 attrList, String ns, String name)
     at Serenity.Reflection.CecilUtils.GetAttr(TypeDefinition klass, String ns, String name, TypeDefinition[] baseClasses)
     at Serenity.CodeGeneration.ServerTypingsGenerator.GenerateCodeFor(TypeDefinition type)
     at Serenity.CodeGeneration.CecilImportGenerator.GenerateAll()
     at Serenity.CodeGeneration.ServerTypingsGenerator.GenerateAll()
     at Serenity.CodeGenerator.ServerTypingsCommand.Run(String csproj, List`1 tsTypes)
     at Serenity.CodeGenerator.Program.Main(String[] args)

 warning MSB3073: The command "dotnet sergen servertypings" exited with code 134.

I then tried running dotnet sergen and I get the following error:
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Extensions.PlatformAbstractions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=***'. The system cannot find the file specified.

    at Serenity.CodeGenerator.Program.WriteHelp()
    at Serenity.CodeGenerator.Program.Main(String[] args)

I've also tried creating a new project using serin and I still have the problem with the new project. It has the same errors.
Removed all SDK's and re-installed latest SDK. I also removed all nuget packages and restored from the beginning.
Below is the dotnet --info:
.NET Core SDK (reflecting any global.json):
 Version:   2.1.500
 Commit:    b68b931422

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.13
 OS Platform: Darwin
 RID:         osx.10.13-x64
 Base Path:   /usr/local/share/dotnet/sdk/2.1.500/

Host (useful for support):
  Version: 2.1.6
  Commit:  3f4f8eebd8

.NET Core SDKs installed:
  2.1.500 [/usr/local/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.6 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.6 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.1.6 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

Tried removing all SDK's and clean install 2.1.500 SDK. I also removed all SDK's again and then installed 2.1.403 SDK as below and I am still having the same issue.
.NET Core SDK (reflecting any global.json):
 Version:   2.1.403
 Commit:    04e15494b6

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.13
 OS Platform: Darwin
 RID:         osx.10.13-x64
 Base Path:   /usr/local/share/dotnet/sdk/2.1.403/

Host (useful for support):
  Version: 2.1.5
  Commit:  290303f510

.NET Core SDKs installed:
  2.1.403 [/usr/local/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.1.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

I guess didn't update Serenity.CodeGenerator, just like several others in prior closed issues, check in CSPROJ, DotNetCliToolReference.

Thanks for the reply... Just wanted to update you.
How can I check which version of Serenity.CodeGenerator is being downloaded ??
Below is the .csproj:
<DotNetCliToolReference Include="Serenity.CodeGenerator" Version="3.8.1" />
The first thing I checked was this as I did see it in another issue that was resolved. This was not the case. I also tried the same on my Windows 10 machine and I did not have an issue. I even created a completely new test project to make sure that I did not make a mistake anywhere and even compared files and so on.
Below is the dotnet --info for my Windows 10 machine:
.NET Core SDK (reflecting any global.json):
 Version:   2.1.500
 Commit:    b68b931422

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.18282
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\2.1.500\

Host (useful for support):
  Version: 2.1.6
  Commit:  3f4f8eebd8

.NET Core SDKs installed:
  2.1.202 [C:\Program Files\dotnet\sdk]
  2.1.400 [C:\Program Files\dotnet\sdk]
  2.1.402 [C:\Program Files\dotnet\sdk]
  2.1.403 [C:\Program Files\dotnet\sdk]
  2.1.500 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

I also completely removed all dotnet from my Mac. Removed all user space folders like ~/.dotnet, ~/.aspnet and anything having to do with dotnet in general. Search the entire machine and removed any and all traces of dotnet. I then deleted my project and cloned it again from my repo.
Re-installed DotNet Core SDK 2.1.500 only. I went through and did all the steps to get my project to be able to run.

dotnet restore
npm install (local project directory to install all packages)
dotnet sergen restore (no errors)
dotnet build (errors - same as above)

Still have issues. I'm starting to think this is related to some other problem - possible related to my mac or maybe it's not downloading the correct dotnet cli tools?

Hmm you are building on Mac? OSX?

Ok, looks like OSX, i don't have a OSX at the moment. Your issue is probably due to case sensitivity (not sure if so in OSX), or locations of NuGet packages being different than Windows in OSX.
Not sure if i can solve it atm without a Mac, but please share your .json files (deps.json, runtimeconfig.dev.json, runtimeconfig.json), also find Microsoft.Extensions.PlatformAbstractions.dll file in your pc under some folder like <IP_ADDRESS> and share absolute path to that file.

I will look into the NuGet package locations on my Mac and will post an update.
Location of Microsoft.Extensions.PlatformAbstractions.dll is C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All\2.1.6

Seems like this can't be solved without releasing a new version. For now, please try creating a ".nuget" folder in your home (profile) directory, and a "packages" folder inside it, and copy files from /usr/local/share/dotnet/shared/ there. You might also create a symlink i think

Already a .nuget/packages folders within my home directory. Attached is the directory listing.
Nuget-Packages.txt
If there is a workaround I would be more than happy to use it so I can actually get working again.

You should copy folders for missing packages that build complains, from usr local share dotnet to there.

Thank for your help. In order to Resolve the issue I copied the packages the build complained and everything worked!
From Folder: /usr/local/share/dotnet/sdk/NuGetFallbackFolder/
To: ~/.nuget/packages
Thanks again for the quick workaround!

Hi @volkanceylan  here too it's blocking us.

dotnet sergen g  (without minus sign) // THIS WORK

Minus sign was never supposed to be there :)


Tgate deltadit

I test time of opensora_plan, time now is correct. please double check.
original opendit opensora_plan code has errors. I fixed the bug. The exp of opensora_plan might be redo.


Comma in LoRA filename corrupts hash cache and causes the extension to fail to load

The extension breaks and fails to load if you have a lora with a comma in its filename. As a workaround, don't have commas in lora names. I think the error was on this line, because it splits to more than 3 items:
https://github.com/DominikDoom/a1111-sd-webui-tagcomplete/blob/acb85d7bb1ad7c1854a98de63e05cfc2473eae5d/scripts/model_keyword_support.py#L20
Possibly to reproduce, you have to:

Add a comma to the middle of a lora filename.
Start WebUI with the extension on so it can regenerate the cache.
Restart WebUI so the extension attempts loading the now-incompatible cache.

Yeah, I'll try fixing it by quoting the filenames and ignoring commas there.
If you don't mind me asking, what Loras are you using that have commas in the file name?
model-keyword itself also uses commas in its list, so it should cause problems there too if it were in it.

I edited some filenames myself and added commas. It's a very low priority issue, but I thought I'll report it.

Well, at least under windows quotes are illegal in filenames, so I hope it will be a safer option compared to commas.
Other than that, there's really not much left to do except using some increasingly exotic separator or quote chars, but even then it's not for sure someone couldn't use it.
So I think it makes more sense to draw a line somewhere and just tell Linux users that run into issues to not use quotes in their filenames.

With this it will load and display the loras themselves correctly.
However, adding custom keywords for those files through the model-keyword extension's UI will still not work out of the box, since it will write a line in the format
e3b0c442, test keywords|for|lora, lora with, comma filename.safetensors

So to get it to parse correctly and detect the keywords, you'd have to manually quote the filename part in the lora-keyword-user.txt file.
But for normal use and without trigger word completion it shouldn't cause issues anymore.


”DUMBRĂVENI”, ”Ernea”, ”Șaroș pe Târnave” are listed in the drop-down menu

Description:
When user writes ”DUMBRĂVENI”, ”Ernea”, ”Șaroș pe Târnave” the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "DUMBRĂVENI"

Expected results
The location appears in the drop-down menu as "Oraș DUMBRĂVENI, SIBIU (DUMBRĂVENI)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Ernea"

Expected results
The location appears in the drop-down menu as "Sat Ernea, SIBIU (DUMBRĂVENI)".

Step 5
Write in the search bar "Șaroș pe Târnave"

Expected results
The location appears in the drop-down menu as "Sat Șaroș pe Târnave, SIBIU (DUMBRĂVENI)".


RabbitMQ Splitting

Similar to #2066
Currently in design/planning.
Questions to potential users:

How are you managing your RabbitMQ? (Cloud provider, external provider, if so which?, deployed in k8s)
How can we obtain RabbitMQ credentials for RabbitMQ admin (to create queues)
How is the configuration set from the application side? (queue name, broker, credentials, etc)

We're very much interested in this feature!

We are running Amazon MQ with the RabbitMQ engine
We store RabbitMQ credentials within the Kubernetes cluster as Secrets, these secrets are then mounted onto RabbitMQ clients as environment variables in the pod. e.g.

      spec:
        env:
          - name: RABBIT_MQ_PWD
            valueFrom:
              secretKeyRef:
                name: amazonmq-password
                key: password
                optional: false

For microservices, you can require a secret to exist in the cluster and same namespace as the intercepted service.

We use the Spring RabbitMQ Starter library, which by default generates queues if they do not already exist when attempting to publish or consume from a non-existent exchange/queue.

Example publish code:
private final reactor.rabbitmq.Sender sender;

@Traceable(step = "trigger", inLogLevel = INFO, outLogLevel = INFO)
    public Mono<Void> triggerEvent(final CustomEvent message, final String routingKey) {
        final AMQP.BasicProperties props = new AMQP.BasicProperties().builder()
            .deliveryMode(MessageDeliveryMode.toInt(MessageDeliveryMode.PERSISTENT))
            .headers(/*Set headers here*/)
            .build();

        final OutboundMessage outboundMessage = new OutboundMessage(
            exchangeName,
            routingKey,
            props,
            message.toByteArray()
        );

        return sender.send(Mono.just(outboundMessage)).onErrorResume(e -> Mono.empty());
    }

Example consume code:
@RabbitListener(
        bindings = @QueueBinding(
            value = @Queue(
                value = "my-queue-which-may-or-may-not-exist", durable = "true"),
            exchange = @Exchange(value = "my-exchange-which-may-or-may-not-exist", type = ExchangeTypes.TOPIC),
            key = "my-binding-key"
        )
    )
    @Traceable(step = "subscriber", inLogLevel = Level.INFO, outLogLevel = Level.INFO)
    public Mono<Void> consumeEvent(CustomEvent message, @Headers Map<String, Object> headers) {
        // Code for processing the RabbitMQ `message` and `headers`
    }

Thank you @nabeelpaytrix , This is perfect and will help us a lot building something that can be used on your end.


🐛  Fixes cache miss bug from commit-depth feature

What kind of change does this PR introduce?
Fixes cache miss issue from commit-depth feature #2224
(Is it a bug fix, feature, docs update, something else?)

[x] PR title follows the guidelines defined in our pull request documentation

What is the current behavior?
Currently when commits are greater than 99 and are paged, it causes the CI and SAST checks to throw cache miss informational print messages
What is the new behavior (if this is a feature change)?**
New behavior changes the query that is used when running setupChecks. The new query takes each commit that is held in the handler, (after setup is run, commits should be populated in the handler) and runs the checkSuites query against it, this results in a 1 to 1 relationship with commits in the handler, and the checkRuns. So no cache misses happen.

[x] Tests for the changes have been added (for bug fixes/features)

Which issue(s) this PR fixes
Fixes #2224

Special notes for your reviewer
Does this PR introduce a user-facing change?
For user-facing changes, please add a concise, human-readable release note to
the release-note
(In particular, describe what changes users might need to make in their
application as a result of this pull request.)

Currently when commits are greater than 99 and are paged, it causes the CI and SAST checks to throw cache miss informational print messages

The informational message was added to see how a graphql change would affect the cron. I'm not sure it's a bug to have the message displayed, although I can see how it's annoying from a user perspective.
@azeemshaikh38 is it still worth having the cache miss message? Or hiding it behind a flag/env variable? It's still helpful when evaluating how something might impact the cronjob.

The informational message was added to see how a graphql change would affect the cron. I'm not sure it's a bug to have the message displayed, although I can see how it's annoying from a user perspective.
@azeemshaikh38 is it still worth having the cache miss message? Or hiding it behind a flag/env variable? It's still helpful when evaluating how something might impact the cronjob.

We already have a --verbosity flag for this. Although, I suspect this isn't being used today. Ideally, the behavior should be such that --verbosity has a default value of info and these cache miss messages should only show up when the flag value is set to debug.
We can maybe file a P2 bug for this, but not worth trying to fix it right now.


[BUG] User icon appearing in day component fields in safari

When focusing on empty day component fields, a use icon appears. This is only happening in safari.

This may be caused by the wrong versions or conflicting versions of font-awesome are being loaded. Please verify that you are only loading a single font-awesome library.

We're currently addressing a backlog of GitHub issues, and as part of this effort, some inactive issues may be marked as closed. This isn't a dismissal, but a step toward more efficient tracking.
If you feel the issue is still relevant, please re-open and we'll ensure it gets the attention it deserves. Your understanding is appreciated as we work to enhance our open-source responsiveness.


Aint doesn't work

This code should compile:
Listen to your heart

If your heart aint "rock"
Say "Pick rock, paper, or scissors"

But instead, I get this error:
File "output.py", line 2
    if your_heart aint "rock":
                    ^
SyntaxError: invalid syntax

How come aint doesn't work?

You're right. I'll work on it rn


Sniper vehicle

This pr make it possible to specify a unic code-snippet on each vehicle. This code runs every time this vehicle spawns.
Using this we can attach a weaponbox to sniper quad bike, add some cool stuff and lock it to a profession type.
Would like to hear some opinions on this approach and help to test it in a multiplayer environment.
Test to be performed:

[x] 1. Is the weaponbox attached when using a dedicated server.
[x] 2. Is the weaponbox visible to all players
[ ] 3. Is the weaponbox locked to all players except the sniper team.
[x] 4. Interference with other vehicles without specified "onVehicleSpawn" code.
[x] 5. Is the weaponbox damaged with the vehicle.
[x] 6. Is the weaponbox removed when vehicle is returned/removed

The only way i see to lock the weapon box so that its only accessible for members in right profession is to add a eventhandler to all clients, checking whenever they open the inventory box.
player addEventHandler ["InventoryOpened", {
	params ["_unit", "_container"];
	private [
		"_squadCollection" as SquadCollection,
		"_playerSquad" as Squad,
		"_restrictedTo" as Array // of ProfessionType
	];
	_restrictedTo = _container getVariable ["RestrictedTo", []];
	if (call PublicVariableHandler.SquadCollectionHasValue) then {
		_squadCollection = call PublicVariableHandler.GetSquadCollection;
		_playerSquad = [group player] call _squadCollection.GetSquadByGroup;
		if (!isNull _playerSquad) then {
			if (!(_playerSquad.ProfessionType in _restrictedTo)) then {
				["This weapon box belongs to another profession ", _unit] call Intrusion.Client.ClientMessageHandler.ShowMessage;
				true
			};
		};
	};
}];

At the moment I haven´t think of where to put this EventHandler code.

Tested and ready...


Updating ClientValidator to public

Description
As described in issue #216 , the ClientValidator has been made public so it can be used to validate clients outside of the build step.  As part of this change, that validation step has been removed from 'build'.
Unit tests have been udpated to reflect this change.

Hello @carlosmiguel84 !
Sorry for the delay. I had a vacation :)
Thank you for pull request. Tonight I will watch the pull request and write a feedback

Great job! Thank you @carlosmiguel84


updates dependencies

And just like that, our tutorial got even betterer!! :rocket:

:boom: publish it! :rocket:


Create barebones minimal sample

Create the most simple sample possible.  We may want to consider starting with this:
https://github.com/ChrisGuzak/Win32XamlApp

Totally agree.  Not to mention, the actual sample interface that's created looks like everything went wrong.


Typo in your documentation

elasticPost: sanitize.number, should say elasticPort: sanitize.number,
(Port not Post)!

and the resulting output below it
elasticPost: 9000,

Thank you, fixed it. :)


ATB-1169 Refactoring dynamo-database-service.ts

Proposed changes
ATB-1169
What changed
Split up dynamo-database-service.ts, added helper functions, added unit tests, amended unit tests.
Why did it change
Improve readability and to remove repeated code.
Testing
Passes all unit tests:

Tested through API Gateway, retains functionality
Performs GET through API Gateway:

Correctly adds a record when a message is sent from the ingress queue:

Checklists

[ ] Did not commit any not-required changes to the src/infra/**/samconfig.toml
[x] Tested changes and included test evidence in the PR, if appropriate
[ ] Included all required tags and other properties for any new resources in the SAM template
[ ] Ensured that any new resources in the SAM Template follow appropriate naming conventions
[ ] Ensured that naming of new resources is compatible with deploying multiple stacks with custom stack names during development
[x] Ensured that no log lines include PII or other sensitive data
[x] Implemented unit testing for any new logic implemented, if appropriate
[x] Ensured that all commits in this PR are signed
[x] Ensured appropriate code coverage is maintained by unit tests

Hi @liamquayle - could you uptick @aws-sdk/util-dynamodb from 3.449.0 to 3.450.0 & @aws-sdk/client-dynamodb from 3.449.0 to 3.450.0 -thanks


Unable to update Opset Version due to Batch Normalization

Removing the opset update, these models pass ORT inference, but also require basic ORT optimizations to clean up BatchNormalization Nodes with missing outputs.
Including an update soon to remove the opset version updating and apply basic ORT optimizations for these models. They should now report a PASS.

partially resolved with https://github.com/nod-ai/SHARK-TestSuite/pull/365
There are a few models left commented out that require this change, but for some reason, fixing them seems to cause a test runner crash (OOM) for me locally on import phase. Since those models OOM on import anyway, we need to fix issue https://github.com/nod-ai/SHARK-ModelDev/issues/861 before uncommenting the two remaining models which need the fix.


[pigeon] Enhanced enums fields are coalesced into the next class

Steps to reproduce
Create the following Pigeon file
// pigeon/temp.dart
@ConfigurePigeon(PigeonOptions(
  dartOut: 'pigeon/temp.g.dart',
  dartOptions: DartOptions(),
))
library;

import 'package:pigeon/pigeon.dart';

class MyMessage1 {
  int? field1;
}

enum MyEnum {
  a(1),
  b(2);

  final int myEnumValue;
  const MyEnum(this.myEnumValue);
}

class MyMessage2 {
  int? field2;
}

Run dart run pigeon --input pigeon/temp.dart
Expected results
enum MyEnum {
  a(1),
  b(2);

  const MyEnum(this.myEnumValue)
  final int myEnumValue;
}

class MyMessage1 {
  MyMessage1({
    this.field1,
  });

  int? field1;
  // ...
}

class MyMessage2 {
  MyMessage2({
    this.field2,
  });

  int? field2;
  // ...
}

Actual results
The following excerpt is from the generated Dart code:
enum MyEnum {
  a,
  b,

  // missing myEnumValue
}

class MyMessage1 {
  MyMessage1({
    this.field1,
    required this.myEnumValue,
  });

  int? field1;

  int myEnumValue;  // <-- This shouldn't be here!

  // ...
}

class MyMessage2 {
  MyMessage2({
    this.field2,
  });

  int? field2;

  // ...
}

Code sample
Code sample
Pigeon file:
// pigeon/temp.dart
@ConfigurePigeon(PigeonOptions(
  dartOut: 'pigeon/temp.g.dart',
  dartOptions: DartOptions(),
))
library;

import 'package:pigeon/pigeon.dart';

class MyMessage1 {
  int? field1;
}

enum MyEnum {
  a(1),
  b(2);

  final int myEnumValue;
  const MyEnum(this.myEnumValue);
}

class MyMessage2 {
  int? field2;
}

Screenshots or Video (none)

Screenshots / Video demonstration
[Upload media here]

Logs (none)
Logs
[Paste your logs here]

Flutter Doctor output
Pigeon version 22.7.0
Doctor output
[✓] Flutter (Channel stable, 3.27.0, on Microsoft Windows [Version 10.0.26100.2605], locale en-US)
    • Flutter version 3.27.0 on channel stable at C:\Users\Levi\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 8495dee1fd (2 weeks ago), 2024-12-10 14:23:39 -0800
    • Engine revision 83bacfc525
    • Dart version 3.6.0
    • DevTools version 2.40.2

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at C:\Users\Levi\AppData\Local\Android\sdk
    • Platform android-35, build-tools 35.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0--11572160)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop Windows apps (Visual Studio Build Tools 2022 17.7.1)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools
    • Visual Studio Build Tools 2022 version 17.7.34009.444
    • Windows 10 SDK version 10.0.22621.0

[✓] Android Studio (version 2024.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.10+0--11572160)

[✓] VS Code, 64-bit edition (version 1.95.3)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.102.0

[✓] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.26100.2605]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 131.0.6778.140
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 131.0.2903.112

[✓] Network resources
    • All expected network resources are available.

• No issues found!

This is especially bad if you have two enums with the same field name, such as MyEnum.value, because they can both be combined onto the same class, which then throws errors that a class cannot have two fields with the same name.

Realized I used the wrong template -- I re-filed as #160827


[infra] Create more unique suacelabs tunnel identifiers

Description
Subtask of #2638 (Step 1)
Create more unique tunnel identifiers for better communication between separate github actions and saucelabs
Acceptance criteria
4 tunnels are created rrather than 2
one for each saucelabs run per github action event
(currently 2)

Closing as outdated.


Make Payment Alert/Popup no longer can be opened a second time

Once the make payment button has been pressed and closed it can not be reopened again
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to account/memberbucks/pay page
Click on Make Payment
Click close or anywhere off the alert
Click on Make Payment
Error alert will not open

Expected behavior
Make Payment alert opens
Desktop (please complete the following information):

OS: [Macos]
Browser [chrome]
Version [126.0.6478.127]

When clicked on close the route just needs to be reverted back to /account/memberbucks/transactions instead of /account/memberbucks/pay
I will pull down the code and submit a PR once I find the component :)


Verify schema version without migration scripts?

Is there a way to verify the schema version without validating the migration scripts? (other than querying the table manually)
Use case:
Two applications share the same database schema, but neither of them should contain the migration file. Instead, the files are in a separate DB project. Upon startup, both applications should verify that the schema has a minimum (or exact) version.
Is this already achievable? If not, would it be something you'd like to add?

I think I can just use org.flywaydb.core.Flyway#info


Add PR preview deployment logic

[x] Closes #4
[x] Added logic for preview deployment based on LEAP docs

@jbusecke @IamShubhamGupto: looks like deployment failed. Can you check ?

Hey @LaureZanna yep already tracking this on #24


Add more info on wizard settings

For example, none of the User Experience page settings are explained, and it doesn't appear to mention templates. The article needs a thorough scrub.

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

ID: 2a20a2b3-4bee-2b91-5f23-b6e6fcb23f6e
Version Independent ID: e38ad0a6-cff2-f098-ec97-6fda24d681d1
Content: Endpoint Protection malware definitions - Configuration Manager
Content Source: sccm/protect/deploy-use/endpoint-definitions-configmgr.md
Product: configuration-manager
Technology: configmgr-protect
GitHub Login: @mestew
Microsoft Alias: mstewart

Tracking via internal item


MTG JSON version 5 support

Started with changes from open pull request by user fenhl for MTG JSON version 4 support, but restored the removed APIs with replacements that work with version 5.
Updated the tests to pass with the latest version.  Note that the test changes for 'Sen Triplets' are due to a re-release of the card in the 2020 FMB1 set.  Removed tests related to deprecated 'AllSets-x.json' file.

Hi,
Is there another change from MTGJSON.com that is now not supporting this code?
I get the following errors
When using from_url():
Traceback (most recent call last):
File "/filename.py", line 2, in
db = CardDb.from_url()
File "//venv/lib/python3.7/site-packages/mtgjson/init.py", line 169, in from_url
r.raise_for_status()
File "//venv/lib/python3.7/site-packages/requests/models.py", line 953, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://mtgjson.com/json/AllPrintings.json.zip
Or when using a pre-downloaded file:
Traceback (most recent call last):
File "/filename.py", line 2, in
db = CardDb.from_file('AllPrintings.json')
File "//venv/lib/python3.7/site-packages/mtgjson/init.py", line 159, in from_file
return cls(json.load(inp))
File "//venv/lib/python3.7/site-packages/mtgjson/init.py", line 136, in init
key=itemgetter('releaseDate'))
KeyError: 'releaseDate'
I am new to both JSON and Python so learning as I go.
Thanks for looking into this.


Interpolation between two audio clips?

❓ Questions
I'm curious about using EnCodec to interpolate between audio clips in latent space. However, model.encode(inputs["input_values"], inputs["padding_mask"]) returns discrete integer codes and not a continuous vector representation. Is interpolation possible?

My understanding of the code is the embedding creation and quantization are done together when calling model.encode(), making interpolation challenging. I reimplemented encoding and decoding with embedding generation and quantization broken out as separate steps in my repository at https://github.com/jhurliman/music-interpolation. This is not using the quantization at all so effectively only the SEANet encoder-decoder, but with the ability to use the pre-trained "facebook/encodec_*khz" models.


Cross-compile to JRE 8 by default

If your system JRE is newer than what Burp ships with, the extension will build successfully but Burp will throw errors when attempting to load the JAR. Since this extension doesn't use any features exclusive to newer JREs, compiling to JRE 8 fixes this issue.

Thanks!


Added Toast, Keyboard and backgroundGeolocation

No tests yet, I'll do those next.

Yeah sorry dude not gonna test this.  No longer using angular


Missing Dependencies from requirements.txt

https://github.com/Comcast/xGitGuard/blob/ae109f5f91b2fa58ff9434e0ca6adbfbb3c0162c/requirements.txt
While executing the /xgitguard/models/models.py the library pyyaml is missing
Would you consider adding this to the requirements.txt

@stiliajohny  - Added a simple Pull Request for this. If it gets approved hopefully this should be resolved :).

Added the required dependency in latest code. Thanks.


pypechain: method overloading

using multi-method to do overloading & adding return types on them

Resolved by #28 and 30


Use CMake-Macro to retrieve sub-dir-list

use for robotlist and envlist e.g. for install tags in various packages
See http://stackoverflow.com/questions/7787823/cmake-how-to-get-the-name-of-all-subdirectories-of-a-directory
as suggested by @ipa-mdl in https://github.com/ipa320/cob_robots/pull/573#discussion_r93017007

File globbing might stop CMake from rebuilding as it does not detect changes..
I think we can export the (hand-crafted) robotlist from  cob_hardware_config.
In order to use it, we have to build_depend on cob_hardware_config.
In cob_moveit_config we should install files from the package directory with exclusion rules.

exported lists are used in all related packages....


Add github workflow to run pre-commit hooks on PRs

This PR adds a GitHub Actions workflow to automatically run pre-commit hooks on pull requests, ensuring code quality checks are applied before merging. The workflow includes hooks like check-merge-conflict, check-yaml, trailing-whitespace, and flake8 to catch common issues.
I also ran the pre-commit hooks across the entire codebase, using black for formatting, flake8 for linting, and isort for imports, fixing all related issues and ensuring consistency across the repo.
Lastly, I renamed flaky tests and excluded them from the commit checks to prevent false positives in the CI pipeline.
pre-commit hooks: https://github.com/pre-commit/pre-commit-hooks
black: https://github.com/psf/black
isort: https://github.com/pycqa/isort

Great stuff!
It seems, however, that the pre-commit hook has failed? Is that correct?


BarcodeGeneratorView for Code128 crashes on WinUI

Hi
According to my tests, the following code crashes on WinUI, but it works on iOS:
<zxing:BarcodeGeneratorView
    HeightRequest="100"
    WidthRequest="300"
    ForegroundColor="Black"
    Value="Test"
    Format="Code128" />

P.S.: I'm on .NET 8. But I think it already crashed with .NET 7.

I can confirm that this error is present in .NET 7 and that the control is working on the Android emulator (Android 13.0 - API 33).


Fixed  inside repeat has absolute path instead of relative

#446

Codecov Report

Merging #450 into master will decrease coverage by 0.00%.
The diff coverage is 92.30%.

@@            Coverage Diff             @@
##           master     #450      +/-   ##
==========================================
- Coverage   83.11%   83.10%   -0.01%
==========================================
  Files          25       25
  Lines        3595     3599       +4
  Branches      833      836       +3
==========================================
+ Hits         2988     2991       +3
  Misses        460      460
- Partials      147      148       +1

Impacted Files
Coverage Δ

pyxform/survey_element.py
90.17% <ø> (ø)

pyxform/survey.py
91.37% <92.30%> (-0.15%)
:arrow_down:

Continue to review full report at Codecov.

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

@ukanga, just pinging to check if you're able to look at this Ona-reported issue. :)

Thanks for your review @lognaturel! Just wanted to let you know OpenClinica has slightly delayed deploying the new pyxform version (they use a very old version), and I've heard @gushil may pick this up in a few weeks.

@MartijnR I don't think there's anything in the spec that specifically addresses output in a text translation for labels in secondary instances. It seems wacky but people use it in lieu of #38: https://forum.getodk.org/t/xlsform-index-repeat-calculate-filter-choice-odk-collect-v1-27-crash/27411. Is that supposed to be supported? If so, this PR should generate relative refs for those.

@lognaturel, you're referring to the output below, right? (using the test.xlsx form from that forum thread)
 <instance id="hm_name">
                <root>
                    <item>
                        <filter>1</filter>
                        <label>${name1}</label><!-- uh oh -->
                        <name>1</name>
                    </item>

I tried to figure out a syntax below. Not sure if I succeeded in that, and whether this implementable in pyxform. It wouldn't work in Enketo in the near future. It also wouldn't work for external instances, which to me is a fair argument to not support it all.
It is extremely convoluted xlsform (and xform) syntax indeed. I agree that https://github.com/XLSForm/pyxform/issues/38 would seem so much more sensible.
<itext>
      <text id="a1">
             <value><output value="../name1"></value>
      </text>
</itext>

 <instance id="hm_name">
                <root>
                    <item>
                        <filter>1</filter>
                        <itextId>a1</itextId>
                        <name>1</name>
                    </item>

...

            <itemset nodeset="instance('hm_name')/root/item[filter < ( /data/qb_1 +1)]">
                <value ref="name" />
                <label ref="itext(itextId)" />
            </itemset>
</select>

Oh LOL https://github.com/XLSForm/pyxform/issues/403

Ahhh! I knew I'd seen something fly by related to this but couldn't think of where. Let's not worry about it here and instead try to get #38 which would be really great. So I think this is very close to being ready.

@lognaturel @MartijnR - I can't tell from the discussion above - will this update remove the existing behavior that allowed item references in choice labels? We have used this to very good effect (never in a translated form configuration). It is very helpful for allowing the user to (for example) associate a medication and an adverse event or associate a procedure with a previously identified tumor.
In our experience, the only restriction we found was that we needed some text in the label other than the item reference itself.

Can you please share a minimal XLSForm on #403 that illustrates the pattern you want to use, @pbowen-oc? This PR doesn’t change existing behavior around this so let’s continue the conversation there.

@lognaturel - Thanks, I have added an example file to #403

I took the liberty of renaming the variable that represents the translation form and adding tests for the additional translated columns.  I’ll fix and merge this evening.
Thanks for doing this and for taking my feedback, @gushil!


Enable modifying the date published with free form text

Please allow the date controls to be free form. It's hard to modify a date that is no longer in the current year. You have to go through the control's previous/next button in order to select those dates.

Closing as a duplicate of https://github.com/TryGhost/Ghost/issues/9256


Add flu devices to our database

Description
We need to add flu devices to our database so users can submit flu results in single entry submission.
Use flu devices on the "new flu devices for single entry" tab - https://docs.google.com/spreadsheets/d/1dOh6_AWHwh4cvdXA4a1fPst1mox2RmcsvtIhhcM90I4/edit?usp=sharing
We will also need to update the guidance on the manage devices page re: requesting a device be added:

New copy:

If you don’t see your device, please let us know. Send device information to<EMAIL_ADDRESS>To report COVID-19 or flu tests for devices not in our system, please upload results using a spreadsheet.

upload results using a spreadsheet should link to the bulk uploader.
Acceptance criteria

Add to regular table (manually add devices)
Include device name, manufacturer, model, test length, swab type, supported diseases, LOINC (there are no values for equipment UID and test kit name ID)
Add new disease type for "flu A and B"
Populate both test_ordered_LOINC and test_performed_LOINC with the same value when we only have 1 LOINC
Update guidance on manage devices page and link to uploader

I was able to find LOINC codes we can use for Flu A vs. Flu B instead of the one provided for both, and I updated the spreadsheet (new ones in green) - https://docs.google.com/spreadsheets/d/1dOh6_AWHwh4cvdXA4a1fPst1mox2RmcsvtIhhcM90I4/edit?usp=sharing
This seems like an acceptable way to handle it base off this doc - https://www.cdc.gov/flu/professionals/diagnosis/rtpcr-test-kits.htm

One item on the spreadsheet was not added (I marked it in red).  Specimen type / loinc combo didn't fit our ui model (distinct specimen types per loinc).


[Minor Bug] tsdb bin 0.2.1 file attempts to load "Timescale", not "TimescaleDB"

This seems to be a minor bug that has already been fixed in the current master code, but is still present in the 0.2.1 gem release, at least the one I installed to my system.
Attempting to run the tsdb --console returns the error:
Traceback (most recent call last):
	2: from /usr/local/bin/tsdb:23:in `<main>'
	1: from /usr/local/bin/tsdb:23:in `load'
/var/lib/gems/2.7.0/gems/timescaledb-0.2.1/bin/tsdb:47:in `<top (required)>': uninitialized constant Timescale (NameError)
Did you mean?  Timescaledb

And the corresponding line in the specified bin file is:
if ARGV.index("--console")
  Pry.start(Timescale)
end

Which already appears fixed in the master branch.
If possible, a re-release of a fixed version of 0.2.1 would be greatly appreciated!
For now, I am simply patching this by editing the file myself.

Thanks for reporting it @Xasin! I already fixed it but I need to release a new version! I'll make it soon!
https://github.com/jonatas/timescaledb/blob/master/bin/tsdb#L47


WARN running lsof (cron job)

This doesn't seem to affect functionality (has been happening for a while), but our 1.7.1 hub is showing this in the grid extras logfile:
31 Mar 2015 15:35:07 [main] WARN  seleniumgridextras.ExecuteCommand  - Problems in running lsof -sTCP:LISTEN -i TCP:3000
java.io.IOException: Cannot run program "lsof": error=2, No such file or directory

Cronjob:
*/5 * * * * bash -i -c 'cd /srv/SeleniumGridExtras; java -jar SeleniumGridExtras.jar' >> /srv/SeleniumGridExtras/log/log.out 2>&1

Happy to help diagnose if it's deemed important.  To me, looks like the lsof command has a typo? "-sTCP" should be "-s TCP"  ?

@christrotter This seems like the correct command. What is the operating system you are using? Does it have lsof installed? I verified that command works on my Ubuntu 14.04 LTS and my OSX 10.10.4 (Yosemeti).
Btw, Here is where that command comes from :
https://github.com/groupon/Selenium-Grid-Extras/blob/master/SeleniumGridExtras/src/main/java/com/groupon/seleniumgridextras/PortChecker.java#L122

It's a CentOS 6.5 VM, and yeah, it has lsof installed.  Maybe Java on CentOS/RHEL doesn't like the missing space between 's' and 'TCP'?
  Dunno!

Thanks for the quick response. I can try and debug this some more later.

No worries.  It has yet to affect functionality.

I did a quick install of CentOS 6.5 and downloaded java and Selenium Grid Extras 1.7.1 and I got the same error. Are you running Selenium-Grid-Extras as root? From this post , http://www.linuxquestions.org/questions/linux-newbie-8/lsof-command-not-found-centos-906882/ , someone says lsof is only available to root and if you want other people to use it, to use :
/usr/sbin/lsof /path/to/some/file
If SeleniumGridExtras is not ran as root, can you try to log in with that other user and use the lsof command?
Thank you.

It's running as root.  If I'm logged on as root and do a crontab -e, that's where SGE is executed. (as per the documentation, IIRC)
For giggles, I created a user 'selenium' and tested - got denials.
[selenium@serverName root]$ lsof -sTCP:LISTEN -i TCP
[selenium@serverName root]$ lsof -s TCP:LISTEN -i TCP
[selenium@serverName root]$ lsof
COMMAND     PID      USER   FD      TYPE DEVICE SIZE/OFF     NODE NAME
init          1      root  cwd   unknown                          /proc/1/cwd (readlink: Permission denied)
init          1      root  rtd   unknown                          /proc/1/root (readlink: Permission denied)
init          1      root  txt   unknown                          /proc/1/exe (readlink: Permission denied)
init          1      root NOFD                                    /proc/1/fd (opendir: Permission denied)
kthreadd      2      root  cwd   unknown                          /proc/2/cwd (readlink: Permission denied)
kthreadd      2      root  rtd   unknown                          /proc/2/root (readlink: Permission denied)
kthreadd      2      root  txt   unknown                          /proc/2/exe (readlink: Permission denied)
kthreadd      2      root NOFD                                    /proc/2/fd (opendir: Permission denied)
migration     3      root  cwd   unknown                          /proc/3/cwd (readlink: Permission denied)
migration     3      root  rtd   unknown                          /proc/3/root (readlink: Permission denied)
<snip>

I ran lsof looking for Selenium:
[root@serverName ~]# lsof | grep Selenium
bash       1754      root  cwd       DIR              253,0     4096     654083 /srv/SeleniumGridExtras
bash       1754      root    1w      REG              253,0 27415094     654086 /srv/SeleniumGridExtras/log/log.out
bash       1754      root    2w      REG              253,0 27415094     654086 /srv/SeleniumGridExtras/log/log.out
bash       1754      root  255w      REG              253,0 27415094     654086 /srv/SeleniumGridExtras/log/log.out
java       1765      root  cwd       DIR              253,0     4096     654083 /srv/SeleniumGridExtras
java       1765      root  mem       REG              253,0 54780777     654154 /srv/SeleniumGridExtras/SeleniumGridExtras-1.7.1-SNAPSHOT-jar-with-dependencies.jar
java       1765      root    1w      REG              253,0 27415094     654086 /srv/SeleniumGridExtras/log/log.out
java       1765      root    2w      REG              253,0 27415094     654086 /srv/SeleniumGridExtras/log/log.out
java       1765      root    6r      REG              253,0 54780777     654154 /srv/SeleniumGridExtras/SeleniumGridExtras-1.7.1-SNAPSHOT-jar-with-dependencies.jar
java       1765      root    7w      REG              253,0    30109     655377 /srv/SeleniumGridExtras/log/grid_extras.log
java       1778      root  cwd       DIR              253,0     4096     654083 /srv/SeleniumGridExtras
java       1778      root  mem       REG              253,0 54780777     654154 /srv/SeleniumGridExtras/SeleniumGridExtras-1.7.1-SNAPSHOT-jar-with-dependencies.jar
java       1778      root    6r      REG              253,0 54780777     654154 /srv/SeleniumGridExtras/SeleniumGridExtras-1.7.1-SNAPSHOT-jar-with-dependencies.jar
java       1778      root    8wW     REG              253,0        0     654242 /srv/SeleniumGridExtras/log/grid_hub.log.lck
java       1778      root   10w      REG              253,0 26957375     654098 /srv/SeleniumGridExtras/log/grid_hub.log
java       1778      root   11w      REG              253,0  1780143     655730 /srv/SeleniumGridExtras/log/grid_extras.log.2015-07-13

after I did a sudo yum instal lsof , I did not see that WARN in my grid_extras.log .
When I do yum list | grep lsof , I see:
lsof.x86_64        4.82-4.e16        @base
I did a sudo yum erase lsof , than reran the selenium grid extras jar and I see the exact same warning message as you. I will try to run it the exact same way as you (inside of that crontab).

Closing, since no response back after > 6 months. If still an issue, please respond back or open a new issue. Thanks.


CMake Tools is sending x64 intelliSenseMode for x86 compiler

When using CMake Tools as a configuration provider for vscode-cpptools, I'm seeing that it returns x64 intelliSenseMode for x86 compiler.  'msvc-x86' is expected:
  "intelliSenseMode": "msvc-x64",
  "compilerPath": "C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe",

It looks like the only 2 values it returns are msvc-x64 and clang-x64.  The following is from cpptools.ts, line ~270.
intelliSenseMode: is_msvc ? 'msvc-x64' : 'clang-x64',

The x86 intelliSenseModes are relatively recent additions in cpptools, so this probably predates them.  Though, if the compiler is gcc, gcc intelliSenseMode's should be used.

Closing since this is fixed in CMake Tools Beta2. Please reactivate if you encounter any other symptoms of this issue.


Anaconda Navigator is just not opening up. I have tried using terminal and it still does not open.

Issue Report Checklist

[x] Searched the issues page for similar reports
[x] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[x] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[x] Could not reproduce inside jupyter qtconsole (if console-related)
[x] Tried basic troubleshooting (if a bug/error)

[x] Restarted Spyder
[ ] Reset preferences with spyder --reset
[ ] Reinstalled the latest version of Anaconda
[ ] Tried the other applicable steps from the Troubleshooting Guide

[ ] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
What steps reproduce the problem?

What is the expected output? What do you see instead?
Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

Versions

Spyder version:
Python version:
Qt version:
PyQt version:
Operating System name/version:

Dependencies

PASTE DEPENDENCIES HERE

Hi @taylorpin ! Not sure what could be happening but in case you are trying to launch Spyder maybe creating a new env could help? For that you can run in a terminal something like:
conda create -n spyder-cf -c conda-forge spyder
conda activate spyder-cf
spyder

My guess is something happened with your base environment in which case, if you want to use Anaconda Navigator, probably the simpliest way to fix things could be to reinstall Anaconda
Let us know if the info above helps!

Hello,
I am trying to access jupyter lab and I have tried reinstalling anaconda by moving it into trash, but it is still in the system. How can I reinstall Anaconda?
Thank you,
Thiri

From: Daniel Althviz Moré @.>
Sent: Friday, June 2, 2023 4:39 AM
To: spyder-ide/spyder @.>
Cc: Thiri Han Shwe @.>; Mention @.>
Subject: Re: [spyder-ide/spyder] Anaconda Navigator is just not opening up. I have tried using terminal and it still does not open. (Issue #20988)
Hi @taylorpinhttps://github.com/taylorpin ! Not sure what could be happening but in case you are trying to launch Spyder maybe creating a new env could help? For that you can run in a terminal something like:
conda create -n spyder-cf -c conda-forge spyder
conda activate spyder-cf
spyder
My guess is something happened with your base environment in which case, if you want to use Anaconda Navigator, probably the simpliest way to fix things could be to reinstall Anaconda
Let us know if the info above helps!
—
Reply to this email directly, view it on GitHubhttps://github.com/spyder-ide/spyder/issues/20988#issuecomment-1573596815, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXTHFW3FUDHBZ6ZUCQXAZEDXJHGGLANCNFSM6AAAAAAYXGHSUU.
You are receiving this because you were mentioned.Message ID: @.***>

Oh I see, seems like this then is unrelated with Spyder. There is not much we can help you from the Spyder side but, depending on your OS, maybe following the instructions in the following page could help you: https://docs.anaconda.com/free/anaconda/install/uninstall/

@dalthviz Hi, I have a similar issue, my Anaconda/Spyder/Anaconda Prompt all were working fine until today afternoon until I ran a script in which I got an error and after that neither my Anaconda opens nor Spyder; I have restarted my laptop several times, deleted temp files etc but nothing fixes this issue. Also, the (base) info when Anaconda Prompt is opened isn't showing up.
Can you please advise what I can do to fix this issue? Also, in case I do have to uninstall & reinstall Anaconda; then is there a way I can take a backup of the installed libraries? I don't have the list of installed libraries with me.

Hi @SBK0808 , I think you will need to uninstall and reinstall anaconda :/. To check for your packages before uninstalling and installing, you could try to use the list or env export conda commands from a cmd using directly the conda executable. By using the -n flag with the commands maybe you will be able to get the info from your base env. If you have the CONDA_EXE env var set then you could run something like:

To export the env:
  %CONDA_EXE% env export -n base

To list the packages in the env:
   %CONDA_EXE% list -n base

Closing due to lack of response and due to the issue being related with the Anaconda distribution installation instead of an actual issue with Spyder


Flushing one entity flushes also changes done in not related PersistentCollection

Scenario:

Let's assume a couple of entities with collections in a database
Select two and clean their collections
Flush only one entity
The other entity collection is also flushed - bug

The problem is that PersistentCollection manipulate directly UnitOfWork and changes are flushed even if some another entity is flushed.
Test: https://github.com/simara-svatopluk/doctrine2/commit/200f659d68ad9b8bfb6eee7e048fffe8e909e42c
Important is line 40; fails on 49

flush($foo) is a performance optimisation, not a restriction. Calling flush($foo) is:

deprecated
not endorseable, as it just means "check for changes in $foo, whilst still saving changes computed so far

Thank for an extremely fast response!
Am I able to determine which changes will be persisted and which not? Because detach is (or will be) deprecated too.
The whole use-case is that I'm implementing Repositories from DDD, and in one repository I assume that only one aggregate will be written to database/storage. I do not assume that the whole system state will be persisted.

Am I able to determine which changes will be persisted and which not? Because detach is (or will be) deprecated too.

It is possible to check that during the onFlush event, but I suggest avoiding going down that road.

I do not assume that the whole system state will be persisted.

Then you will need an EntityManager instance per repository ;-)

The whole use-case is that I'm implementing Repositories from DDD, and in one repository I assume that only one aggregate will be written to database/storage. I do not assume that the whole system state will be persisted.

Just to make sure... you're not flushing in the repository, right?

@lcobucci yep, I do. Do You suggest a better place?

I do not assume that the whole system state will be persisted.
Then you will need an EntityManager instance per repository ;-)

This wouldn't help either because all instances of a class will be flushed.

@lcobucci yep, I do. Do You suggest a better place?

@simara-svatopluk IMO repositories should only call persist() or remove(), the flushing should be controlled by an upper layer (the one that handles the transactional part of your software). For example, I use tactician to handle commands/queries and I have a middleware which calls EntityManager#flush().
But regardless of the architecture of your software, the idea of EntityManager#flush() is to commit the unit of work - which means I'm done manipulating my objects for a certain operation, please send everything you got to the database.
And finally, beware: if you're doing multiple flushes for a single operation (a command in my example) and you're not controlling DB transactions explicitly you'll definitely have partial rollbacks when things go wrong (which is not really nice for your DB consistency).

@lcobucci  You made me think, thanks! I'll start from the end...
Transactions - You are right, sometimes inter-aggregates consistency is required.
I understand that EntityManager#flush() means - And now save everything that is handled by UnitOfWork to the database.
And now the most difficult - what is a repository?
For me, a repository is an abstract drawer (interface). I can look for a given entity by identity and entity can be there or not function get($id). I can add a new entity to this abstract drawer function add($entity]. And finally when I find a given entity, I have it in my hands, I can modify this entity and then put it back to the drawer function save($entity)
Since repository is an interface, it has to be implemented somehow, I've already worked with Doctrine, Elasticsearch, Cookie, Redis implementation. So an interface is pretty useful because I don't know the implementation in a domain layer. The problem is with transactions - not all technologies support transactions, but still, we can have a middleware/transaction manager that handle this.
And now all problems together - if I have an entity in my hands, I modify it, but I do not put it back to the drawer, shall it be in fact saved to any database?
Why? When a use-case involves more aggregates, usually I want to save only one. But other aggregates still support changing operations, I can call them accidentally (because I have no idea they change state), and when I call flush(), I have no idea and no control on what was persisted to the database and what was not.
What is a repository for You?

@lcobucci Thanks for Your point of view. I read more about DDD repositories and now I can only agree that their responsibility is not save. Repositories supplement in-memory collections that uses references to objects, and there is no save use case.


Flutter tools should pass package:flutter the Dart DevTools Server url immediately on app startup

Currently there may be issues if the DevTools Server has not started in time and there may also be issues due to needing to wait for the service extension to be registered.
Either flutter tools needs to wait for Dart DevTools to launch (would regress startup performance) or flutter tools needs to always pick the Dart DevTools port so that it knows what port Dart DevTools will launch on before it is launched.
In addition, there is an issue that VM Service extension setting the devtools url will likely not be registered until the first frame is rendered causing 1 frame to possibly generate errors without a valid devtools url to display error messages with.
Possible solution:

Extend the Dart VM Service to allow calling service extensions before they have been registered. When a service extension is registered it will receive the value sent before it was registered.

Fyi @kenzieschmoll @bkonyi

Fyi @kenzieschmoll @bkonyi

https://github.com/flutter/flutter/pull/74859
Illustrated a bug in the current approach to wait for DevTools Server before starting the Flutter app.

https://github.com/flutter/flutter/pull/74859
Illustrated a bug in the current approach to wait for DevTools Server before starting the Flutter app.

Is it really that critical that we have the DevTools URL on app startup?

Is it really that critical that we have the DevTools URL on app startup?

Not critical but nice for consistency. It could be confusing for users if the same error sometimes has extra helpful debugging data but sometimes doesn't.
We need the DevTools URL on app startup to have consistent error display for the first frame and subsequent frames.
The current behavior should result in only error messages from after the first frame(s) linking to DevTools.

Not critical but nice for consistency. It could be confusing for users if the same error sometimes has extra helpful debugging data but sometimes doesn't.
We need the DevTools URL on app startup to have consistent error display for the first frame and subsequent frames.
The current behavior should result in only error messages from after the first frame(s) linking to DevTools.

There's a message that comes up when the DevTools are loaded; messages before that don't have it and messages after that do. That seems pretty self-explanatory. I guess it is also missing from messages immediately after hot restart before we have time to give the app the data, but again that's pretty consistent so would it really be that confusing? I dunno.

There's a message that comes up when the DevTools are loaded; messages before that don't have it and messages after that do. That seems pretty self-explanatory. I guess it is also missing from messages immediately after hot restart before we have time to give the app the data, but again that's pretty consistent so would it really be that confusing? I dunno.

Correct you also have the issue for the first frame after a hot restart.
This isn't that high priority unless we get evidence from analytics that these links to DevTools are being used a lot.

Correct you also have the issue for the first frame after a hot restart.
This isn't that high priority unless we get evidence from analytics that these links to DevTools are being used a lot.


(reprise) mobile: Add no-remote-exec in the Swift tests (#35345)

A temporary fix for https://github.com/envoyproxy/envoy/issues/35316. (and workaround/ Fix #35944)
Risk Level: low
Testing: CI
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

/wait for infrastructure update to see if it resolves

closing as worker update appears to have resolved again

f


Login Error is incorrect when due to a lost internet connection

Prompt should tell the user they are not online.


Purge null linear gradient values before unquoting - #729

Ensure that null list values are removed from gradient list before unquoting, which results in a string containing comma-separated spaces for those items that were null.
Fixes https://github.com/thoughtbot/bourbon/issues/729

This doesn’t seem to work for me.
Taking this input:
@include linear-gradient(to top, #00ff00, #ff0000);

With the current version of Bourbon using LibSass I get this (as noted in the original issue):
background-color: #00ff00;
background-image: -webkit-linear-gradient(bottom, #00ff00, #ff0000);
background-image: linear-gradient(to top,#00ff00, #ff0000, , , , , , , , );

With the changes in this PR, I now get this output:
background-color: #00ff00;
background-image: -webkit-linear-gradient(bottom, #00ff00, #ff0000);
background-image: linear-gradient(to top,#00ff00 #ff0000);

:point_up: This is missing a comma after #00ff00; it’s stripping out all commas except the first.


[BUG] Opensearch worker unable to start in docker: SIGILL

Describe the bug
I'm having an issue starting a new opensearch instance in docker locally. I'm on a brand new Macbook M4 pro. This error shows up using the default docker virtualization settings, I've tried using Docker VVM and toggling Rosetta virtualization but that didn't help. I suspect this might be a docker specific issue because I am able to get Opensearch running using the arm binary natively outside of docker. I'm also not able to repro this issue on a M2 Macbook Air.
Command:
docker run -d \
  -e "DISABLE_PERFORMANCE_ANALYZER=true" \
  -p 9200:9200 -p 9600:9600 \
  opensearchproject/opensearch:latest

Stack trace:
2024-12-02 09:53:33 # A fatal error has been detected by the Java Runtime Environment:
2024-12-02 09:53:33 #
2024-12-02 09:53:33 #  SIGILL (0x4) at pc=0x0000ffff7bd3fc5c, pid=15, tid=16
2024-12-02 09:53:33 #
2024-12-02 09:53:33 # JRE version:  (21.0.5+11) (build )
2024-12-02 09:53:33 # Java VM: OpenJDK 64-Bit Server VM (21.0.5+11-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
2024-12-02 09:53:33 # Problematic frame:
2024-12-02 09:53:33 # j  java.lang.System.registerNatives()V+0<EMAIL_ADDRESS>2024-12-02 09:53:33 #
2024-12-02 09:53:33 # No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
2024-12-02 09:53:33 #
2024-12-02 09:53:33 # An error report file with more information is saved as:
2024-12-02 09:53:33 # /usr/share/opensearch/hs_err_pid15.log
2024-12-02 09:53:33 [0.022s][warning][os] Loading hsdis library failed
2024-12-02 09:53:33 #
2024-12-02 09:53:33 # The crash happened outside the Java Virtual Machine in native code.
2024-12-02 09:53:33 # See problematic frame for where to report the bug.
2024-12-02 09:53:33 #
2024-12-02 09:23:50 /usr/share/opensearch/plugins/opensearch-security/tools/install_demo_configuration.sh: line 64:    15 Aborted                 "$JAVA" -Dorg.apache.logging.log4j.simplelog.StatusLogger.level=OFF -cp "$DIR/../*:$DIR/../../../lib/*:$DIR/../deps/*" org.opensearch.security.tools.democonfig.Installer "$DIR" "$@" 2> /dev/null
2024-12-02 09:53:33 /usr/share/opensearch/plugins/opensearch-security/tools/install_demo_configuration.sh: line 64:    15 Aborted                 "$JAVA" -Dorg.apache.logging.log4j.simplelog.StatusLogger.level=OFF -cp "$DIR/../*:$DIR/../../../lib/*:$DIR/../deps/*" org.opensearch.security.tools.democonfig.Installer "$DIR" "$@" 2> /dev/null

uname -a
Darwin Baileys-MacBook-Pro.local 24.2.0 Darwin Kernel Version 24.2.0: Fri Nov 15 18:56:44 PST 2024; root:xnu-11<IP_ADDRESS>1.1~1/RELEASE_ARM64_T6041 arm64

I do not have issues starting the opensearch dashboard in a separate container.
I'm not really sure how to go about tracking this down, any help would be appreciated. Let me know what additional info I can provide.
Related component
Build
To Reproduce

Install Docker
Run

docker run -d \
  -e "DISABLE_PERFORMANCE_ANALYZER=true" \
  -p 9200:9200 -p 9600:9600 \
  opensearchproject/opensearch:latest

Expected behavior
Opensearch server/worker start successfully.
Additional Details
Plugins
Defaults
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):

OS: OSX
Version: Opensearch latest

Additional context
Add any other context about the problem here.

Possibly related: corretto-21/issues/85

That looks related, yes. I'm on MacOS 15.2 (24C101) so that is likely the issue.

I've tried to apply -XX:UseSVE=0 as the suggested workaround by passing it to OPENSEARCH_JAVA_OPTS env varriable, but it did not work for me. Did you get any luck with it?
This is the command I tried:
docker run -it \
  -e "DISABLE_SECURITY_PLUGIN=true" \
  -e "discovery.type=single-node" \
  -e "OPENSEARCH_JAVA_OPTS=-XX:UseSVE=0" \
  opensearchproject/opensearch:latest

Found the same issue on my M4 Mac with 15.2.
It looks like there's a Java program "org.opensearch.tools.java_version_checker.JavaVersionChecker" which is being run during image startup, but without "OPENSEARCH_JAVA_OPTS" in the command line. So it runs Java without the "-XX:UseSVE=0" prop for that program, causing the docker image to fail with a SIGILL and therefore the image fails to load.
It traces back to this bug: https://bugs.openjdk.org/browse/JDK-8345296 in the JDK.
JavaVersionChecker and all java calls during image startup probably need to be examined to see if they can take in either JAVA_OPTS or OPENSEARCH_JAVA_OPTS so anyone running a M4 Mac with 15.2 can add the prop and get around this. Or the latest version of the docker image needs to be updated with a newer version of OpenJDK to take in the fix.

same issue. any workaround ?

Not sure why, but I was able to get this working with an m4 on os 15.2 using opensearchproject/opensearch:2.9.0 for people still looking for a workaround (Note: both 2 and latest fail for me with the above issue).

@GiuseppeIII opensearch 2.9 has different bundled java version https://opensearch.org/docs/latest/install-and-configure/install-opensearch/index/#java-compatibility
I was able to run the latest version with the variable _JAVA_OPTIONS=-XX:UseSVE=0" (I just added to docker compose file from https://opensearch.org/docs/latest/install-and-configure/install-opensearch/docker/#sample-docker-composeyml)


Deployment group with one server

If I need to deploy to only one server (no database server, no multiple servers), does it make sense to use a deployment group or am I going about it the wrong way?

Thanks for your question. It looks like you're working through an issue with your scenario or implementation, rather than an issue with the documentation. Here are a couple of options where you might consider asking your question:

Azure DevOps on Stack Overflow
Azure DevOps Support Bot


"Open containing folder..." context menu option

About this very issue https://github.com/Microsoft/vscode/issues/15693
How on Mac?
Command palette doesn't have this option
OS: High Sierra
VSCode: Version 1.24.1 (1.24.1)

Use File: Reveal in Finder.


Sensitivity

try adding time-varying test sensitivity

Hi Li, I think you may have opened this pull request incorrectly - this pull request is trying to merge our changes back into the main branch of Covasim (i.e, not one of ours), which I don't think we are quite ready to do yet

Hi @Pie923 @martyn1fyles, intentional or not, it's great to know Covasim is getting some use and please feel free to get in touch if you have any questions, we'd be happy to help!

Hi @cliffckerr , thank you - covasim is a great bit of software. We've been extending it in a few areas and hopefully we can share some code at some point

thank you! this should be a pull to our cloned repo


Shaka API to get the uri of the all the segments of an AdaptationSet

Have you read the Tutorials?
Yes
Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
latest version
Please ask your question
Is there any API to get the uris' of all the segments for a particular AdaptationSet?

You can use player.getManifest() to get the manifest object, then look at all the Variants.  You can use stream.originalId to get the Representation ID.  Note that because of #3096 you won't be able to use getUris in compiled mode.
const manifest = player.getManifest();
for (const variant of manifest.variants) {
  for (const stream of [manifest.video, manifest.audio]) {
    if (!stream) continue;
    await stream.createSegmentIndex();
    for (const ref of stream.segmentIndex) {
      console.log(refs.getUris());
    }
  }
}


refactor(Promises):Refactored most promise chains to async/await

This project uses semver, please check the scope of this pr:

[x] #patch# - backwards-compatible bug fix
[ ] #minor# - adding functionality in a backwards-compatible manner
[ ] #major# - incompatible API change

Changes Unknown when pulling e9fb4c275cf73cdb73e127a9187a7639e09b277d on refactor/async-await into ** on master**.


Tooltip rework

Current dependencies on/for this PR:

master

PR #32   👈

This comment was auto-generated by Graphite.


Direct MP3 Files 127 or More Do Not Fire TrackStartedEvent

Description
We boiled it down to this: Playing an MP3 file directly from the URL will not fire the TrackStartedEvent if it is 127 characters or more longer. This can be a problem for services where they require a token to unlock the MP3 file.
Example:
The following URL fires the TrackStartedEvent (126 characters):
https://filesamples.com/samples/audio/mp3/sample3.mp3?abcdefg=5&AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

The following does not (127 characters):
https://filesamples.com/samples/audio/mp3/sample3.mp3?abcdefg=5&AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

I wonder if this may tie into a possible deeper issue or if it is just affecting the TrackStartedEvent. Does Lavalink use a byte for storage anywhere? Any byte limitations? I'd be willing to take a shot at fixing this in the source, but I've never worked here so I may need some pointers as to what to pay attention to.
Version info
Client used: Victoria 5.1.11, Lavalink <IP_ADDRESS>
Output of java -version:
openjdk 11.0.10 2021-01-19
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.10+9)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.10+9, mixed mode)

spring.log

This sounds very unusual.
Does it just not fire the event or does it not play?
Are you receiving no events at all?

I have been receiving all of the events except for the track started event. It appears to straight up simply not fire the event, though I can't see much using the log file since it doesn't output when the event is fired in the first place. This confused me to haha! 😄

That's ... interesting
Most likely a bug in Lavaplayer yeah

Alright, I will report this issue there


OpenBSD compatibility? How do I get this thinger-ma-jigger working? Maybe not native_messenger issue.

The required version of Nim lang was a few ahead of what was available in the "Current" repository, so I had to install Nim manually, no biggie. Once that was accomplished, the native messenger built like a top, no issues, and even the install script worked without a hitch and setup everything as it should. The problem is that tridactyl is still not recognizing the native messenger is installed and is as configured as it should be, it still says that I need to install the native messenger.
I do suspect that this is one of those specific to OpenBSD issues, which I know little can be done to correct.
Any suggestions on how to get the native messenger fired up?

I'm a little bit confused, you shouldn't need to build the native messenger. The install script downloads a prebuilt binary from this repository.
Have you previously had the python version of the native messenger working on OpenBSD?
Are you using anything like Firejail? You might find some useful info in this issue if you are https://github.com/tridactyl/tridactyl/issues/2406

Have you previously had the python version of the native messenger working on OpenBSD?
-- No
Are you using anything like Firejail? You might find some useful info in this issue if you are tridactyl/tridactyl#2406
-- No Firejail, OpenBSD uses unveil, which is currently enabled to allow all of $HOME in unveil.main.

I am finding out, your plugin is not the only one failing to work on this platform. All plugins that require an external executable fail to work. For Example Sam's Bukubrow and keepassxc browser integration.
I think it would probably be best to bring the issue to the attention of the OpenBSD firefox port/package maintainer, since it seems to be both all plugins of a certain type and a specific to OpenBSD issue.

My guess is that the native manifest location needs to be different on OpenBSD. Unless of course native messengers aren't supported, but I'd expect that to be noted in the port's readme or something of the sort if it were the case.

In which case probably a dupe of https://github.com/tridactyl/tridactyl/issues/1144

@bovine3dom You are correct, appears to be a dupe. My sincere apologies. Thank you for the assistance.


version 0.103.1 doesn't have a corresponding tag

I was trying to review the delta between 0.101.3 to 0.103.1 (promoted by a dependabot PR) and noticed that the tag was missing.

0.200.0 is out now, and its tag is present.
Maybe this should be closed.


"double free or corruption" error when running predict

This error just started happening after I ran some system updates.  Tried latest build with same issue.  Looks to be something external to LightGBM that LightGBM depends on.  Training works, prediction throws this error.
Googling the error, I found that Tensorflow was having a similar issue.  The workaround they used worked in this case.  But, I still wanted to put in this issue to see if it can be resolved without the workaround.
Here is the workaround:
sudo apt-get install libtcmalloc-minimal4
export LD_PRELOAD="/usr/lib/libtcmalloc_minimal.so.4"

Environment info
Operating System: Ubuntu 16.04.2
CPU: Intel
C++/Python/R version: Python 3.5, GCC  5.4
Error Message:
[LightGBM] [Info] Finished loading 911 models
*** Error in `python': double free or corruption (!prev): 0x000000000305c510 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fd51bab37e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x7fe0a)[0x7fd51babbe0a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fd51babf98c]
/home/user/anaconda3/lib/python3.5/site-packages/lightgbm-0.1-py3.5.egg/lightgbm/lib_lightgbm.so(_ZN8LightGBM7Booster7PredictEiiiSt8functionIFSt6vectorISt4pairIidESaIS4_EEiEEPdPl+0x235)[0x7fd4ffe59b55]
/home/user/anaconda3/lib/python3.5/site-packages/lightgbm-0.1-py3.5.egg/lightgbm/lib_lightgbm.so(LGBM_BoosterPredictForMat+0x9d)[0x7fd4ffe5206d]
/home/user/anaconda3/lib/python3.5/lib-dynload/_ctypes.so(ffi_call_unix64+0x4c)[0x7fd51b1d6370]
/home/user/anaconda3/lib/python3.5/lib-dynload/_ctypes.so(ffi_call+0x1f5)[0x7fd51b1d5b15]
/home/user/anaconda3/lib/python3.5/lib-dynload/_ctypes.so(_ctypes_callproc+0x3dc)[0x7fd51b1cd5dc]
/home/user/anaconda3/lib/python3.5/lib-dynload/_ctypes.so(+0x9c43)[0x7fd51b1c5c43]
/home/user/anaconda3/bin/../lib/libpython3.5m.so.1.0(PyObject_Call+0x56)[0x7fd51c9a1236]
/home/user/anaconda3/bin/../lib/libpython3.5m.so.1.0(PyEval_EvalFrameEx+0x66f4)[0x7fd51ca7b314]
/home/user/anaconda3/bin/../lib/libpython3.5m.so.1.0(PyEval_EvalFrameEx+0x9546)[0x7fd51ca7e166]

@txjmb
can you update code from latest master branch ? I think I had fixed it.


Laravel Linter

This pull request includes changes and recommendations for crafting your application "The Laravel Way". Feel free to commit any additional changes to the shift-57817 branch.
Before merging, you need to:

Checkout the shift-57817 branch
Review all pull request comments for additional changes
Thoroughly test your application

If you need help with your upgrade, check out the Human Shifts. You may also join the Shifty Coders Slack workspace to level-up your Laravel skills.

:information_source: Your Laravel application contains 31 classes and 867 lines of code.
Most of your classes are middleware. Your service_providers contain the most lines of code (173 loc) and your models have the highest lines of code per method (6 loc).

:warning: Shift found the following config files differ from the defaults. While you are welcome to customize your configuration, you should leverage ENV variables rather than hardcode values. If you find you're adding a lot of configuration options, consider creating a domain specific config file, such as core.php. Both will make app upgrades and deployments easier.

[ ] config/app.php

:information_source: Shift detected your application only has the default tests. You can quickly start adding tests by using the Test Generator to automatically create the model factories, test classes, and sample tests cases for your Laravel application.

:warning: Laravel uses PSR-4 autoloading for the app/ folder. While you can configure your application to load these files within composer.json, all files under the app folder should be classes with a PSR-4 compliant namespace.
The following PHP files are missing a namespace:

[ ] app/Global/Helpers.php

:information_source: As noted, much of the lint detected above can be automatically fixed using the Laravel Fixer. Save yourself time and clean up your codebase quickly with this new Shift.


Problem marker: cursor pointer in header

cursor: pointer usually means that the element is clickable.

Could you write down the steps you took and what do you expect to happen?


Coverage reports are gone after migrating to github actions

With the migration from travis to Github Actions, somewhere we lost the coverage reports that used to be there for each PR. Can we try to get them back?
Expected Behavior
As soon as you open a PR, there should be a coverage reports explaining what is the difference in coverage with this PR.
Current Behavior

Possible Solution

Steps to Reproduce

Screenshots (if appropriate)
Context

Your Environment

Amunsen version used:
Data warehouse stores:
Deployment (k8s or native):
Link to your fork or repository:

To be honest, that was just noise for me. Maybe I am too much of an extremist, but either we decide they really matter and break builds when they go down, or we better remove them.
My 2 cents :)

That is something really useful in my opinion and give you the idea what you are trying to merge in master.
I am also happy to break the build when they go down certain percentage.


[FEAT]: Collab with Obsidian BRAT?

Description of the unfavorable solution
N/A
Describe the feature you would like to have
N/A
Additional context
It seems like these 2 plugins target similar functionality and are maintained at a similar frequency.
If that's the case, I'd like to suggest that you combine your efforts and move both into a gh org.
You are both MIT licensed, so it seems like you are both are on the same page about IP.

relevant: https://github.com/TfTHacker/obsidian42-brat/issues/83

Discussed at brat


feature one picture changed and font color

I changed picture from feature one and color of link because they were wrong
Fixes #: https://github.com/zero-to-mastery/Keiko-Corp/issues/180
Checklist:
(Add an x between the brackets to check the items)

[x ] I have sumarised what this PR fixes above
[x ] I have provided the issue ID/URL above
[x ] This PR fixes only the issue mentioned above (create seperate PRs for seperate issues)
[x ] I was the first one to claim the issue or I created the issue

Closing this PR due to the age and conflicts. Feel free to resolve and reopen 🙂


Add support for Send

Hi, the use of RefCell will cause it hard to use in async runtime.
It would be nice to enhance this part.

I will try to fix this issue. I am still not very familiar to tokio so I would like to hear you advice about it.

It has been fixed in commit https://github.com/kxxt/aspeak/commit/07ce9c607f923f287cb9cd966574a05b244a03e4 and will land in aspeak v5.0.

Nice to hear that.


Allow disable operators from execution in frontend (Preview)

This PR allows disable operators in the frontend from workflow execution.
Changes include:

add disabledOperators in workflow graph, add related functions and observables
add one button in NavigationBar that disable / enable all highlighted operators
change the operator background color in JointUI as operator is disabled/enabled
change WorkflowValidation logic to handle disabled operators
change PersistWorkflow logic to handle disabled operators
change ExecuteWorkflow logic to only submit enabled operators/links/breakpoints

@Yicong-Huang thanks for the review, updated the code based on your feedback and added some test cases, please check again, also please test it again, thanks.