Removing two or more entity with byte[] PK will throw exception

When entity model have byte[] PK, removing two or more entity from context and SaveChanges will throw exception.
Exception message: System.InvalidOperationException : Failed to compare two elements in the array.
---- System.ArgumentException : At least one object must implement IComparable.

Stack trace:
at System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer)
   at System.Collections.Generic.List`1.Sort(Int32 index, Int32 count, IComparer`1 comparer)
   at Microsoft.EntityFrameworkCore.Update.Internal.CommandBatchPreparer.BatchCommands(IReadOnlyList`1 entries)+MoveNext()
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(DbContext _, ValueTuple`2 parameters, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IReadOnlyList`1 entriesToSave, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
   at efcore_test2.UnitTest1.Test1() in C:\Users\suzuki\Documents\Projects\efcore_test2\UnitTest1.cs:line 44
--- End of stack trace from previous location where exception was thrown ---
----- Inner Stack Trace -----
   at System.Collections.Comparer.Compare(Object a, Object b)
   at Microsoft.EntityFrameworkCore.Update.Internal.ModificationCommandComparer.Compare(ModificationCommand x, ModificationCommand y)
   at System.Collections.Generic.ArraySortHelper`1.SwapIfGreater(T[] keys, Comparison`1 comparer, Int32 a, Int32 b)
   at System.Collections.Generic.ArraySortHelper`1.IntrospectiveSort(T[] keys, Int32 left, Int32 length, Comparison`1 comparer)
   at System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer)

Steps to reproduce
models:
    public class Blog
    {
        [Key]
        public byte[] Name { get; set; }
    }

operation:
                // ctx.Blogs have two or more entities
                foreach (var blog in ctx.Blogs)
                {
                    ctx.Remove(blog);
                }
                await ctx.SaveChangesAsync(); // This will fail with ASP.NET Core 2.1

full example: https://gitlab.com/suzuki_ds/efcore_test2
Expected behavior
delete two row from DB.
Actual behavior
await ctx.SaveChangesAsync() will throw exception.
Further technical details
EF Core version: Microsoft.AspNetCore.App 2.1.2
Database Provider: Microsoft.EntityFrameworkCore.Sqlite 2.1.1
Operating system: Windows 10 Pro 1803
IDE: Visual Studio 2017 15.7.5

Just ran into this myself. Glad to see it's being addressed. It's a bit of a project killer 😄

My (crude) workaround:
using (var tx = await ctx.Database.BeginTransactionAsync())
{
    foreach (var blog in ctx.Blogs)
    {
        ctx.Remove(blog);
        await ctx.SaveChangesAsync();
    }
    tx.Commit();
}

Thanks. In my case, though, the problem arises when multiple child records are being deleted when deleting a single parent record—all of which have byte[] primary keys. Too many child tables for me to manually code ☹ This seems like a pretty critical bug. I hope it gets fixed sooner rather than later.

I just found SetValueComparer. Sorry for the chatter.

I found better workaround.

define my own IComparer<ModificationCommand> that can handle byte[], by extending ModificationCommandComparer
replace ICompare<ModificationCommand> with defined implementation.

https://gitlab.com/suzuki_ds/efcore_test2/commit/a275603bcc7f9ef7c3795ef4ba51b82da8aaf091
I think I should handle null case, but it worked with that test case.

THANK YOU! My custom comparer didn't fix the problem, but your solution did. Now I can move forward!

I found better workaround.

define my own IComparer<ModificationCommand> that can handle byte[], by extending ModificationCommandComparer
replace ICompare<ModificationCommand> with defined implementation.

https://gitlab.com/suzuki_ds/efcore_test2/commit/a275603bcc7f9ef7c3795ef4ba51b82da8aaf091
I think I should handle null case, but it worked with my test case.

I didnt have an issue with something as complex as bytearray but it was using your comparer allowed me to find the culprit class where I needed to implement the comparer.
Thanks

I'm running into this issue as well. Not with deleting objects but with updating existing ones which happen to also have byte[] as PK. Does anyone have a copy at the above gitlab commits so I can have a gander?
I can't see how to subclass or add to the config the subclass of the ModificationCommandComparer. Googling it I just find a bunch of people going "Ah yeah, turns out C# can't compare byte[]. Changed it to an int/string and now it works!", but changing it isn't an option at this point.

Here's the code I used to make things work:
https://github.com/AbstractPlay/api-aws/blob/master/sln/abstractplay/MyModificationCommandComparer.cs

Thanks @Perlkonig, that helped a heap!


Make BGP prefix checking less flaky

Currently it's failing because the Await check before the Get wait for any prefix rather than the prefix Get is looking for. This makes some of the checks fail intermittently when multiple prefixes are checked at the same time.

this test is still failing on the presubmit

this test is still failing on the presubmit

Yeah I'm not sure what's going on, the test consistently passes locally. Will dig through the logs.


Feature: Versioned tags

Allow tags to be versioned so thay can present different results depending on the version choosed
Suggested structure:
[tag-name]
keywords = ["tag-name", "alias", "another-alias"]
content = """
Put your tag content here!
"""
content-v13= """
Optional
Put your tag content here!
"""

If content-v13 is not present, it will use the normal content for both versions
Probably needs a better and and more expandable implementation!

Is it really needed?

The fact that tags are base of support and some times we use tags not designed for that version which may confuse the user more, and this adds the flexibility to fix this.

But really need, I would say No


Constrain which audio/video files can be added

[Problem]: VSCode Webview supports only a few of audio/video types. Input which takes file needs to constrain what type can be attached.
[Solution]: Add to input acceptable types of files.
[Issue]: #333
Signed-off-by: Wojciech Szczepanski<EMAIL_ADDRESS>

@korneliakobiela
Would you review the PR, please?


clustermesh: fix a few issues in the new mcs api service controller

Please ensure your pull request adheres to the following guidelines:

[ ] For first time contributors, read Submitting a pull request
[x] All code is covered by unit and/or runtime tests where feasible.
[x] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[ ] If your commit description contains a Fixes: <commit-id> tag, then
please add the commit author[s] as reviewer[s] to this issue.
[x] All commits are signed off. See the section Developer’s Certificate of Origin
[x] Provide a title or release-note blurb suitable for the release notes.
[ ] Are you a user of Cilium? Please add yourself to the Users doc
[x] Thanks for contributing!

This commit does 3 small fixes:

Use the correct upstream MCS-API controller. The controller used
is now the ones that sync the service IP to the ServiceImport resources.
The rest of the controllers are Cilium specific and will (or already is)
be implemented soon.
Also add a shortcut on creation to save a delete/recreate on
of the derived service if there is no ServiceImport and the local is
headless.
Fix the watch on Services to also issue a reconcile if the locally
exported Service has changed

Related to #27902
Fix a few issues with the newly added MCS-API controllers

CC: @giorio94

@MrFreezeex Hi, thanks for your clarification!

As the derived service is already the aggregated/conflict resolved version we need to somehow have a way to find which cluster has what property before aggregating them, this is maybe a bit unclear in this PR because this part is not present yet. The aggregation/conflict resolution will be in another controller whose job is to create ServiceImport.

Ok, then my next question is we could get this disaggregated information from ServiceExport + the actual exported service. Then why do we need to introduce this new annotation?

Ok, then my next question is we could get this disaggregated information from ServiceExport + the actual exported service. Then why do we need to introduce this new annotation?

I second Yutaro's comment, here. It would be nice to have a diagram (maybe linked to the original issue) which depicts the flows you are thinking about, both in terms of what users would do, and what Cilium will automatically do. That would help a lot in being able to properly review this PR (and the follow-ups), as we are otherwise missing the context about the next steps, and it becomes difficult to provide useful comments.

@giorio94 @YutaroHayakawa @joamaki thanks for the feedback, I will try to create a dedicated CFP issue with some schema of what the ServiceImport auto creation is doing in more details and present a few other alternatives so that we can choose one that make sense with all the info at hands :+1:.

/test

Hi! Since we are having a separate discussion for how data should be shared across clusters to allow automatic ServiceImport creation I dropped the second commit about that and only kept the first one which brought a few fixes. I wanted to keep same PR so that the assigned reviewers don't change (although now it should probably be a sig-clustermesh only change), hopefully that's ok :pray:.

/test

/ci-e2e

/ci-runtime

Jussi's concern has been addressed, and his review is no longer strictly required, given that all changes are clustermesh-related only now. Marking as ready to merge to unblock.


DNN listeners are now available also in earlier versions of SQL Server

The article currently says "The DNN listener feature is currently only available starting with SQL Server 2019 CU8 on Windows Server 2016 and later." Similar statements are also mentioned in the "Prerequisites" and "Limitations" sections.
However, the article https://support.microsoft.com/en-gb/topic/kb4578579-improvement-availability-group-listener-without-the-load-balancer-in-sql-server-2016-2017-and-2019-81d27666-5c58-ad47-c83c-48ab7a5d959d says that the distributed network name (DNN) listener is now available also in SQL Server 2017 CU 25 and SQL Server 2016 SP3.

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

ID: 09c4a98a-0eb4-4c74-b846-a3525f189122
Version Independent ID: 1793a59e-4902-ad28-626a-94ae762b5f7f
Content: Configure DNN listener for availability group - SQL Server on Azure VM
Content Source: articles/azure-sql/virtual-machines/windows/availability-group-distributed-network-name-dnn-listener-configure.md
Service: virtual-machines-sql
Sub-service: hadr
GitHub Login: @MashaMSFT
Microsoft Alias: mathoma

@rsocol -  Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can update the document accordingly.

Hi @rsocol , thanks for contacting Microsoft! We've updated the documentation to identify versions where the DNN is supported.

Hope that helps and please let us know if we can help further in the comments.
Thanks again for reaching out and I hope you have a wonderful rest of your day!
Masha from the SQL Docs team
#please-close


Best way of accessing invalid values with progressive enhancement in mind

In the context of using input with type="state" and invalid values with progressive enhancement in mind, is there a way of getting these (invalid) values to pass it for instance as defaultValues in RHF (in that way, the form can be filled with the values during server rendering even if javascript is disabled)?
actions.ts
"use server"

export const subscribeToNewsletterAction = createServerAction()
  .input(zNewsletterValues, {type: "state"})
  .handler(async ({input: {email}}) => subscribeToNewsletter(email))

newsletter-form.tsx
"use client"

export default function NewsletterForm() {
  const [[data, error], action, pending] = useActionState(subscribeToNewsletterAction, [null, null])

 const form = useForm<NewsletterValues>({
    mode: "onTouched",
    resolver: zodResolver(zNewsletterValues),
    defaultValues: ... // error?.values or similar
  })

For now, my workaround is to create an extra function like the one in custom state when I can access formData directly and pass it through:
actions.ts
"use server"

const subscribeToNewsletterZSA = createServerAction()
  .input(zNewsletterValues, {type: "state"})
  .handler(async ({input: {email}}) => subscribeToNewsletter(email))

export const subscribeToNewsletterAction = async (
  _prev: NewsletterState,
  formData: FormData
): Promise<NewsletterState> => {
  const [data, error] = await subscribeToNewsletterZSA(formData)
  if (data) return [data, null]
  const values = Object.fromEntries(formData.entries()) as NewsletterValues
  return [null, {...error, values}]
}

Hi, thank you for this suggestion. I am on board with this. This will most likely be merged in with shapeError.
Here is a quick update of what it will look like:

This was incredibly tricky to get the types to align, but there is progress! The problem here is that most people will likely put their shape errors function in procedures. In doing that, there is no way to actually type the errors correctly with the correct zod schema. Why? Because the zod schemas will most likely get defined in the actions -- which the procedure doesn't have types for.
It was incredibly important for me that even if you define shape error in a procedure, your errors will still be typed based on the final schema defined in your action. Happy to report, it is (somewhat) working! As you can see in the image, the final error type is a combination of the procedure input and action input -- even though the procedure never has access to the action types. Users will need to use a typedData object when passing forward these types.
Looking for feedback before it gets merged!

Yes, I understand what you mean, types at that level can be really tricky 😄 but the result looks really promising. Awesome job!

Give it a shot with<EMAIL_ADDRESS>Documentation

Hello @IdoPesok ,
I just wanted to show you the code, it works perfectly! Thank you so much.
actions.ts
"use server"

export const formAction = createServerActionProcedure()
  .experimental_shapeError(({err, typedData}) => {
    const values = Object.fromEntries(Object.entries(typedData.inputRaw).filter(([name]) => !name.startsWith("$ACTION")))
    if (!(err instanceof ZSAError)) return {code: "INTERNAL_SERVER_ERROR" as const, errors: {root: {type: "INTERNAL_SERVER_ERROR"}}, values}
    const {code, inputParseErrors, message} = err
    const errors = {
      root: {type: code, message: message ?? inputParseErrors?.formErrors?.[0]},
      ...Object.fromEntries(Object.entries(inputParseErrors?.fieldErrors ?? {}).map(([name, errors]) => [name, {message: errors?.[0]}])),
    }
    return {code, errors, values}
  })
  .handler(() => {})
  .createServerAction()

export const subscribeToNewsletterAction = formAction
  .experimental_shapeError(({ctx: {code, errors, values}}) => (code === "CONFLICT" ? {code, errors} : {code, errors, values}))
  .input(zNewsletterValues, {type: "state"})
  .output(z.boolean())
  .handler(async ({input: {email}}) => {
    const code = await subscribeToNewsletter(email)
    if (code !== "SUCCESS") throw new ZSAError(code)
    return true
  })

newsletter-form.tsx
"use client"

export default function NewsletterForm() {
  const [[success, failure], action, pending] = useActionState(subscribeToNewsletterAction, [null, null])

  const form = useForm<NewsletterValues>({
    mode: "onTouched",
    resolver: zodResolver(zNewsletterValues),
    defaultValues: failure?.values ?? defaultNewsletterValues,
    errors: failure?.errors,
  })

Awesome -- happy to hear!! Code looks great.


Not connect to socket io server on android

Hi there, I couldn't get it to connect on the Android phone. It works fine in Unity editor. Scripting backend IL2CPP api Compatibility level .Net Framework. I also use server-side codes in another react native application. I don't think there is a problem on the server side. Socket versions Unity side v1.0.0 , server side v4.1.3. I opened a project from scratch and pulled the unity side to v1.1.3 and the server side to v4.5.4, but it still didn't work. I would be glad if you can help.

try upgrading unity;
see https://github.com/itisnajim/SocketIOUnity/issues/36

@itisnajim I am using the unity 2021.3.30f1 LTS version but I am not able to connect to the server on mobile devices, it's connecting fine with the editor.
Any help is highly appreciated.

try these:
https://github.com/itisnajim/SocketIOUnity/issues/60

it's not connecting with il2cpp in unity android

Anyone found a fix for this? Cant get it to work on android on 2021.3.8f1

@ScottasM update your Unity to 2022.3.10f1 or Change and try between the Faster (smaller) builds option/ Faster runtime option at player setting for Android. Faster runtime option might work.

@devalvitec Nope, still not working. Updated the unity version, tried changing the build options.

Im also building with il2cpp if that matters

what are the error exactly you are getting ?

@devalvitec Im getting no errors, nothing happens. Not even the OnError gets called.

Okay, after 4 days of this torture i fixed it.
for any other lost souls out there here what was wrong :
Apparently android didnt trust my ssl certificate, and didnt print anything to logcat, so when i added all the events like OnReconnectFail, OnRecconectAttempt and etc. i finally saw the error.
what i had to do was :
cat certificate.crt ca_bundle.crt > chained.pem to generate the chained.pem file for android to trust
and then in my flask socketio app i changed the path to point from certificate.crt to chained.pem

@ScottasM
I've deployed my solution on cloud run so your solution can't be applied
The library must provide a way to set supported TLS encyrption like this
https://stackoverflow.com/questions/68268113/how-can-unity-connect-with-secure-websocket-based-on-node-js/68280594#68280594

@ScottasM
I've deployed my solution on cloud run so your solution can't be applied
The library must provide a way to set supported TLS encyrption like this
https://stackoverflow.com/questions/68268113/how-can-unity-connect-with-secure-websocket-based-on-node-js/68280594#68280594

Try this if solve your issue:
https://github.com/doghappy/socket.io-client-csharp/issues/94

i fix after doing this
o SocketIOOptions, i set AutoUpgrade to false.
now on my looks like this:
socket = new SocketIOUnity(uri_url, new SocketIOOptions         {             AutoUpgrade = false,             EIO = 4             ,             Transport = SocketIOClient.Transport.TransportProtocol.Polling         })         {             JsonSerializer = new NewtonsoftJsonSerializer()         };


Feature/issue 84 manual 2.6

[skip CI]
Summary:
Updated CmdStan Interface guide for 2.6.

added L-BFGS call skeleton
updated version numbers, this time with macro
updated dates
cleaned up typos
added getting started Bernoulli example to CmdStan source repo and also linked example-models repo

Intended Effect:
Bring doc up to date.
How to Verify:
Build and proofread.
Side Effects:
None.
Documentation:
Yes.
Reviewer Suggestions:
Anyone.

Jenkins, retest this please.


adding make icon script instead of doing it inside make charts

Extracting the logic of download icons from make charts to a separate command

@diogoasouza In the future, every PR should be linked / associated to a GH issue, or least, we should have a PR template to provide context, motivation, acceptance criteria, etc...


ArangoDB: Chathistory

Steps to replicate microservice:

Set environment variables:

export ARANGODB_HOST=localhost
export ARANGODB_PORT=8529
export ARANGODB_USERNAME=root
export ARANGODB_PASSWORD=test
export DB_NAME=OPEA
export COLLECTION_NAME=ChatHistory
export PYTHONPATH={Path to base of directory}

Setup docker network

docker network create chathistory-network

Start ArangoDB server with network

docker create --name arango-vector \
  --network chathistory-network \
  -p 8529:8529 \
  -e ARANGO_ROOT_PASSWORD=test \
  jbajic/arangodb-arm:vector-index-preview

Create Chathistory service

# From the repository base directory
docker build -t opea/chathistory-arango-server:latest -f comps/chathistory/arango/Dockerfile .

Start Chathistory service

docker run -p 6012:6012 \  --network chathistory-network \
  -e http_proxy=$http_proxy \
  -e https_proxy=$https_proxy \
  -e no_proxy=$no_proxy \
  -e ARANGODB_HOST=host.docker.internal \
  -e ARANGODB_PORT=${ARANGODB_PORT} \
  -e DB_NAME=${DB_NAME} \
  -e COLLECTION_NAME=${COLLECTION_NAME} \
  -e ARANGODB_USERNAME=${ARANGODB_USERNAME} \
  -e ARANGODB_PASSWORD=${ARANGODB_PASSWORD} \
  opea/chathistory-arango-server:latest

The Readme file should include the curl commands to run (replacing host_ip with localhost)

@ajaykallepalli Hello there, I'm relatively new to using Github at this level, but I hope you can help, it looks as though you did a bunch of work but closed this before it could be merged, could you let me know what the story is?

Hi @chickenrae, new to this as well. Meant to open this PR on the ArangoDB main branch but instead opened it on the OPEA branch instead. Will be doing an internal review before creating a PR for OPEA. Sorry for any confusion.


Parallel

I would appreciate if you don't throw away my commit history when you merge; it causes lots and lots of merge errors for me and we're merging into a specific branch anyway, which you can squash when you merge it into master. So please, just merge it, don't squash it.

I just push the button.  They've changed the default to Squash and merge.  I will be more careful.

The PR compiles; you can merge it as is if you want, by reverting your previous commit first, I think...

I still get a huge number of build errors.

I want Parallel support also, so I am going to continue the effort I had started a long time ago and see where that leads.

This branch does compile. If you'd please set up Travis I can prove it to you.
Also, the waiting branch is not ready to be merged, that was a separate PR.
I can only assume the above screenshot is not of the waiting branch.

Please take this the right way; I'll ensure my PR works, you don't have to... This is my main point.
If you'd enable Travis I can ensure they work without you having to download the code and try to compile it, which would free up your time and make it easier for me to work with this repository.
Also, you may want to consider not merging straight away; since the PR is linked to a specific branch, you can push to the same branch I PR from. That way we don't run into merge conflicts and we can cooperate better.
Also, on the same note, unless I state a PR ready to be merged or worked on, it's probably not. Sorry about confusion there.

I get similar errors on with or without the Waiting branch.  I only accepted it because I thought maybe it would have fewer errors.
No wait:

With with:

I will work on getting travis setup today.  Unfortunately, even if it builds on Travis, it doesn't build on my machine, and if it doesn't build on my machine I can't contribute to my own project which is obviously a problem.
"Also, parallel support is complete, so it's a bit absurd that you're saying you're going to continue your old work after all the days I've spent on this."
I don't want to throw any work away.  Me working on the same problem but on a different branch lets me flush out ideas I have also.

The Logging errors is from not running ./build.sh.

I am on windows, and I did run build.cmd.
Here are the travis reports: https://travis-ci.org/lefthandedgoat/canopy/builds/353120735

I have most things building on windows now.

I have everything building now, but basictests fail here:
https://github.com/lefthandedgoat/canopy/blob/AddSupportForParallelWithHaf/src/Canopy/Canopy.fs#L125-L128
I tried using this method to set the _globalcontext with no luck:
https://github.com/lefthandedgoat/canopy/blob/AddSupportForParallelWithHaf/src/Canopy/Canopy.fs#L104

I’ll try it out. Are all things failing or just one test? How are you running it, what command line, and what browser?
--

On Sunday, Mar 18, 2018 at 4:31 AM, Chris Holt<EMAIL_ADDRESS>(mailto:notifications@github.com)> wrote:
I have everything building now, but basictests fail here:
https://github.com/lefthandedgoat/canopy/blob/AddSupportForParallelWithHaf/src/Canopy/Canopy.fs#L125-L128
I tried using this method to set the _globalcontext with no luck:
https://github.com/lefthandedgoat/canopy/blob/AddSupportForParallelWithHaf/src/Canopy/Canopy.fs#L104
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub (https://github.com/lefthandedgoat/canopy/pull/417#issuecomment-373970271), or mute the thread (https://github.com/notifications/unsubscribe-auth/AALyW91z9NjvxdcLj8-0K9M-rjvSN2NIks5tfdVGgaJpZM4Snbdh).

Get latest on this branch and from OSX run sh build.sh and it should fail with this error
Unhandled Exception:
System.InvalidOperationException: No global context configured yet
  at Canopy.Core+ContextModule.getContext () [0x00054] in <5aaf235cd45c0b6da74503835c23af5a>:0
  at Canopy.Core+ContextModule.mutateNoLock[us] (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] callback) [0x00001] in <5aaf235cd45c0b6da74503835c23af5a>:0
  at Canopy.Core+ContextModule.mutate[us] (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] callback) [0x0000f] in <5aaf235cd45c0b6da74503835c23af5a>:0
  at Canopy.Core.startWithConfig (Canopy.CanopyConfig config, Canopy.Types+BrowserStartMode mode) [0x0000f] in <5aaf235cd45c0b6da74503835c23af5a>:0
  at <StartupCode$basictests>.$main.main@ () [0x00102] in <5aaf23601c4dc10ea74503836023af5a>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: No global context configured yet
  at Canopy.Core+ContextModule.getContext () [0x00054] in <5aaf235cd45c0b6da74503835c23af5a>:0
  at Canopy.Core+ContextModule.mutateNoLock[us] (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] callback) [0x00001] in <5aaf235cd45c0b6da74503835c23af5a>:0
  at Canopy.Core+ContextModule.mutate[us] (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] callback) [0x0000f] in <5aaf235cd45c0b6da74503835c23af5a>:0
  at Canopy.Core.startWithConfig (Canopy.CanopyConfig config, Canopy.Types+BrowserStartMode mode) [0x0000f] in <5aaf235cd45c0b6da74503835c23af5a>:0
  at <StartupCode$basictests>.$main.main@ () [0x00102] in <5aaf23601c4dc10ea74503836023af5a>:0

@haf I've been following this pull request. It really concerns me that all these changes were made without running the test suite. Is there any way we can maybe split this pull request up into smaller/more focused pull requests?

@amirrajan No

Why didn't you send the PR in the first case? Or help out while I was working on it?

Don't have a need for parallel at the framework level (I use separate processes to control parallelization). Hope you get the full test suite running w/o failures 👍

@amirrajan Thanks


Delete test that checks underlying DV's PVC won't trigger VM start

Signed-off-by: Alex Kalenyuk<EMAIL_ADDRESS>
What this PR does / why we need it:
Follow up for #4277 basically, we probably just forgot to remove this one;
We definitely allow and start the VM if someone chose to use a DV's underlying PVC.
This is "accidentally" passing because we use Eventually instead of Consistently.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

/cc @awels

Yeah, we don't care if you use the PVC or the DV both should have the same effect on allowing to start a VM if the DV (or its underlying PVC) is populated.


verify sha256sum on linux installation

The dependency agent download is insecure so you need to check the file hasn't been modified.

@gorzilla : Thanks for your contribution! The author, @mgoedtel, has been notified to review your proposed change.

@gorzilla - To avoid confusion with your proposed change, I would suggest changing the string representing the SHA hash with a placeholder so that the reader understands they need to modify it with the most recent SHA256 hash published in the article, and add a sentence to make that point.  Once you get that corrected, I'd be happy to approve it.  Thanks!

@gorzilla Would you make the recommended updates to your pull request? Thanks.

#please-close as this PR has not been active since I provided feedback.


Validate Functionality of Providers within Group Resource

There has been a concern from one of the clients I am working with, that either there is a bug or a bad documentation about the Providers within the Group Resource.
I have opened an issue in chef-docs to start the conversation about this topic:
https://github.com/opscode/chef-docs/issues/329
The code that the customer is using is this:
            13: group node['mq-server']['group'] do
            14:   gid node['mq-server']['gid']
            15:   provider Chef::Provider::Group::Groupadd
            16:   action :create
            17: end

And the error he is getting is:
 Chef::Exceptions::Group
  -----------------------
  you must override set_members in #<Chef::Provider::Group::Groupadd:0x0000000374c9c8>

For more output of the error look this gist: https://gist.github.com/afiune/5e49f53f20e203df9d82

has this been resolved? seeing the same thing on rhel6.7 and chef12.7.2

provider Chef::Provider::Group::Groupadd

that line is invalid.  the class being referenced there is only used to inherit from.  the aix, gpasswd, suse or usermod group providers are the ones that must be used.
if there's docs somewhere which still have that they are incorrect.
the provider line in general should never be used, since it causes errors like this.


Update crawler set up instructions in readme

As we discussed in today's meeting, @danielgoldelman still needs to update the readme on how to set up the crawler. @JoeChampeau and I will review these instructions and update/add to the set up instructions when necessary.

Alright, I was able to get the crawler working. Not sure what @jjeancharles and @danielgoldelman had to do, but for me, I also had to:

Install Firefox Nightly and modify the binary in local-crawler.js to reference the Windows path. Running the crawler on regular Firefox doesn't throw any errors, but it seems to prohibit installing unsigned extensions (which I didn't realize initially). It looks like there's a commented out line that sets the binary to "firefox.Channel.NIGHTLY" which, I assume, gets the program to check the default installation path for Nightly. If we could get this to work instead of needing to set the path manually, that'd be nice.
Super minor thing, but npm install needs to be run for both the 'slenium-crawler' directory and 'rest-api' directory. There are probably scripts that can be put in the parent package.json to streamline this into a single command.
Regarding the MySQL setup, the user that's made needs to be assigned the authentication protocol 'mysql_native_password' and, then, it has to be granted all privileges on the table 'entries.'


DatePicker Range: calendar anchored to the bottom when inline=true

Title line template: [Title]: DatePicker Range: calendar anchored to the bottom when inline=true
Detailed description
When inline = true and static = true, the calendar is displayed at the bottom of the page. The calendar used to display under the range input selection. I think it's because the flatpickr instance is being added in the body document instead of inside the .bx--date-picker div.

Is this issue related to a specific component?
Yes. DatePicker

What did you expect to happen? What happened instead? What would you like to see changed?
The calendar should display below the range input.

What browser are you working in?
Chrome and Firefox

What version of the Carbon Design System are you using?
8.18.8

What offering/product do you work on? Any pressing ship or release dates we should be aware of?
Watson Business Solutions - Expert Assist.

Steps to reproduce the issue
See https://codepen.io/kwchan/pen/mxNLWQ
Additional information

Thanks @kwchan22 for reporting this issue! Seems that the Flatpickr's dropdown is located upon our hidden <input> instead of what we show as the UI. We'll see if we can make a reasonable workaround. Meanwhile if you have any insights feel free to contribute a fix!

I have come up with some workaround, but given the inline mode is for "sticking" date picker, I'd like to see whether our designers think it should be supported or not (CC @carbon-design-system/design). Here's what it looks like:

Akira could you elaborate more on what you mean by "sticking". I'm not following along.

@tay-aitken Thank you for asking - Regular date picker is shown only when the <input> gets focus. The inline mode shows date picker always - That's why I meant by "sticking". Also the inline mode makes date picker takes up the space in the form - Meaning if there is another form item next to the <input> the date picker goes in-between the <input>s.

@tay-aitken We can remove the gap. BTW another important thing to note about the inline mode is that the form element (e.g. <input>) next to the date picker input should be next to the calendar widget, instead of having calendar widget override such next form element - Otherwise there is no way for user to see such next form element because of inline mode’s “always-open” nature. Here’s the FlatPickr’s documentation about inline mode: https://flatpickr.js.org/examples/#inline-calendar


Investigate PKCE

Tip from Twitter: https://twitter.com/mooreds/status/1508159348198891526

Nice. My only suggestion would be to add in PKCE; this is not strictly required but is recommended in the security BCP, sec 2.1: https://tools.ietf.org/id/draft-ietf-oauth-security-topics-05.html

I asked for examples and Dan replied: https://twitter.com/mooreds/status/1508252174240792576

This is in node (and from my employer, FusionAuth), but it illustrates the PKCE parameters: https://fusionauth.io/learn/expert-advice/oauth/modern-guide-to-oauth#authorization-code-grant
For python, I have used the pkce module, which is MIT licensed so could be useful to review: https://github.com/RomeoDespres/pkce

Auth0 docs: https://auth0.com/docs/get-started/authentication-and-authorization-flow/authorization-code-flow-with-proof-key-for-code-exchange-pkce
Also https://auth0.com/docs/api/authentication#authorization-code-flow-with-pkce

Before starting with this flow, you need to generate and store a code_verifier, and using that, generate a code_challenge that will be sent in the authorization request.
GET https://YOUR_DOMAIN/authorize?
  audience=API_IDENTIFIER&
  scope=SCOPE&
  response_type=code&
  client_id=YOUR_CLIENT_ID&
  redirect_uri=https://YOUR_APP/callback&
  code_challenge=CODE_CHALLENGE&
  code_challenge_method=S256

It looks like authlib implements that here: https://github.com/lepture/authlib/blob/1735d03bef698c1cac5c2fb8e8adeadc559abe1d/authlib/oauth2/rfc7636/challenge.py

https://datatracker.ietf.org/doc/html/rfc7636 is the most relevant RFC.
The attack this defends against involves the attacker stealing the ?code= parameter and using it to gain their own access code. Since datasette-auth0 implements the pattern where the code can only be exchanged for an access token by including the client_secret this isn't a current vulnerability - but it seems like it's a worthwhile defence-in-depth thing anyway.

Here's my understanding of the RFC:

Client creates a random token, called a code_verifier
Client generates the base64 of the SHA256 hash of that, calls it the code_challenge
That code_challenge hash is sent to the server as part of the /authorize? query parameters. The server stores that somewhere before returning the ?code= code to the client=
When the client exchanges that code= to gain an access token, one of the things it sends to the server is the original code_verifier string - the server can then hash that and compare it to the stored value, hence proving that the client is the same client that began the process

I should add to the TIL once I've built this: https://til.simonwillison.net/auth0/oauth-with-auth0

https://github.com/simonw/datasette-auth0/issues/4#issuecomment-1080213258 is correct.
You dohave the option of sending the challenge text in the clear with code_challenge_method=plain, but usually the challenge is hashed as an additional layer of security.


RuntimeError when prompting Qwen2-VL with multiple images

System Info
Target: x86_64-unknown-linux-gnu
Cargo version: 1.80.1
Commit sha: 8f326c97912a20d20cddb6ba61bf1569fa9a8601
Docker label: N/A
nvidia-smi:
Fri Dec 13 13:39:33 2024
   +-----------------------------------------------------------------------------------------+
   | NVIDIA-SMI 550.127.05             Driver Version: 550.127.05     CUDA Version: 12.4     |
   |-----------------------------------------+------------------------+----------------------+
   | GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
   | Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
   |                                         |                        |               MIG M. |
   |=========================================+========================+======================|
   |   0  NVIDIA A100 80GB PCIe          On  |   00000000:31:00.0 Off |                    0 |
   | N/A   36C    P0             44W /  300W |       1MiB /  81920MiB |      0%      Default |
   |                                         |                        |             Disabled |
   +-----------------------------------------+------------------------+----------------------+
   |   1  NVIDIA A100 80GB PCIe          On  |   00000000:98:00.0 Off |                    0 |
   | N/A   33C    P0             40W /  300W |       1MiB /  81920MiB |      0%      Default |
   |                                         |                        |             Disabled |
   +-----------------------------------------+------------------------+----------------------+
   |   2  NVIDIA A100 80GB PCIe          On  |   00000000:CA:00.0 Off |                    0 |
   | N/A   36C    P0             42W /  300W |       1MiB /  81920MiB |      0%      Default |
   |                                         |                        |             Disabled |
   +-----------------------------------------+------------------------+----------------------+

   +-----------------------------------------------------------------------------------------+
   | Processes:                                                                              |
   |  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
   |        ID   ID                                                               Usage      |
   |=========================================================================================|
   |  No running processes found                                                             |
   +-----------------------------------------------------------------------------------------+
xpu-smi:
N/A

{
  "model_id": "/storage/proj/llm/hf-transformers-models/qwen2/Qwen2-VL-7B-Instruct/",
  "model_sha": null,
  "model_pipeline_tag": null,
  "max_concurrent_requests": 128,
  "max_best_of": 2,
  "max_stop_sequences": 4,
  "max_input_tokens": 9000,
  "max_total_tokens": 9100,
  "validation_workers": 2,
  "max_client_batch_size": 4,
  "router": "text-generation-router",
  "version": "3.0.0",
  "sha": "8f326c97912a20d20cddb6ba61bf1569fa9a8601",
  "docker_label": null
}

Information

[ ] Docker
[X] The CLI directly

Tasks

[X] An officially supported command
[ ] My own modifications

Reproduction

Start TGI with Qwen2-VL model (tested with Qwen2-VL-7B-Instruct, but the bug should be present with all Qwen2-VL models
Prompt the model with input which contains at least two images (tested with Open WebUI frontend and openai compatible api)

Resulting runtime error:
File "text-generation-inference/server/text_generation_server/models/custom_modeling/qwen2_vl.py", line 459, in get_position_ids
        text_pos_ids = torch.arange(text_length, device=d)
    RuntimeError: upper bound and larger bound inconsistent with step sign

Expected behavior
The process should not throw runtime error. Qwen2-VL should work fine with more than one image inputs. Inputs with only one image work fine.

Here is oneliner curl command that can be used to replicate the bug:
curl http://<IP_ADDRESS>:3000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen2-vl",
    "messages": [
      {
        "role": "user",
        "content": [
          {
            "type": "image_url",
            "image_url": {
              "url": "https://upload.wikimedia.org/wikipedia/commons/6/63/Wikipedia-logo.png"
            }
          },
          {
            "type": "text",
            "text": "What'\''s in this image?"
          }
        ]
      },
      {
        "role": "assistant",
        "content": "The image depicts the logo of Wikipedia, a free online encyclopedia."
      },
      {
        "role": "user",
        "content": [
          {
            "type": "image_url",
            "image_url": {
              "url": "https://upload.wikimedia.org/wikipedia/commons/6/63/Wikipedia-logo.png"
            }
          },
          {
            "type": "text",
            "text": "Is this the same image?"
          }
        ]
      }
    ],
    "max_tokens": 300,
    "temperature": 0.1
  }'

Without the fix this query crashes the server with RuntimeError: upper bound and larger bound inconsistent with step sign error.


BUG: Testnet, interface broken after connecting wrong Native Address.

Describe the bug
After connecting an invalid Native Address, the interface is stuck, ie can't reconnect, no error given in interface.
To Reproduce
1: Click Connect
2: Select Native Wallet
3: Select a non existing address
4: Try to reconnect with an exosting.
Expected behavior
Error message should be provided to the user, interface should be reset for a new connection attempt.
Screenshots
Error: No address associated with doublewabbit     at m.<anonymous> (vendor.99856eba.js:300:9289)     at Generator.next (<anonymous>)     at c (vendor.99856eba.js:300:1794)
No information is given to the user.
Environment Used

OS: OSX
Browser Chrome

Soft Refresh of Browser Window, does not help.

Hard refresh of Browser Window, does not help.

Restarting Browser, does not help.

This is fixed.

Tested, and working as expected. Interface not broken, able to reconnect.

Description
Reverse Test, Connecting an Existing Account fails - Uncertain if this is an environment issue or not.
Clearing Cache enables Connection.
Reproduce
1: Connect an existing EVM account with Anchor
2: Navigate away from Page
3: Try to Reconnect
Console Log Error
ESR:
Launched external handler for 'esr:gz2QPUjDQACFja0idHHwZxG5QaGKvaTNpW2sSxWp0lRBA7qV83olR2Iu3J0KoghugpsoOCkIDq7SUTq61KmuCu6Cg5OL-O_68d774GnDVz0j0c7hwM1on3vU7B5_fnhvBJL7l_Ze-vh16ix20N_RBs5FZ0dnwVMqkpO6TtYgDonHBQxY6OvIRrlcHpMUsutGCpl1K5W3cSZlZmtpSpBRwxkzHv-KtrT_tVirdP16ev-8_9a4HSzqS-2Vl92BE-fp8a5ndqHVXOo914rfDudLYUITIjAt-JakwhU4lBEX6hNnoAUqfJsFAdYtaIBkBRMWKi69ApgPFQ3AJwCLy2AVpI1q2qrmxkAxigK6QtfKTOmWmYNmFiTLc27FmQAB8ykoUeLzMTDjCb5OdduGBkR5hGAegWVcx4L9trok4RHtdWnAJcEhcKlUIVUJiddptUY3GaGalhBUbYiwGmHlDf0dqH6SUP1WIeP6Bw'.
Detected alien instance of checksum256, this usually means more than one version of @greymass/eosio has been included in your bundle.
vendor.99856eba.js:114 ReferenceError: evmAccount is not defined     at c.ualLogin (1.fece6f5a.js:1:7157)
Clearing Cache unlocks Connect Button
After signing, the Wallet Modal is still open.

Description
Reverse Test, Connecting an Existing Account fails - Uncertain if this is an environment issue or not.
Clearing Cache enables Connection.
Reproduce
1: Connect an existing EVM account with Anchor
2: Navigate away from Page
3: Try to Reconnect
Console Log Error
ESR:
Launched external handler for 'esr:gz2QPUjDQACFja0idHHwZxG5QaGKvaTNpW2sSxWp0lRBA7qV83olR2Iu3J0KoghugpsoOCkIDq7SUTq61KmuCu6Cg5OL-O_68d774GnDVz0j0c7hwM1on3vU7B5_fnhvBJL7l_Ze-vh16ix20N_RBs5FZ0dnwVMqkpO6TtYgDonHBQxY6OvIRrlcHpMUsutGCpl1K5W3cSZlZmtpSpBRwxkzHv-KtrT_tVirdP16ev-8_9a4HSzqS-2Vl92BE-fp8a5ndqHVXOo914rfDudLYUITIjAt-JakwhU4lBEX6hNnoAUqfJsFAdYtaIBkBRMWKi69ApgPFQ3AJwCLy2AVpI1q2qrmxkAxigK6QtfKTOmWmYNmFiTLc27FmQAB8ykoUeLzMTDjCb5OdduGBkR5hGAegWVcx4L9trok4RHtdWnAJcEhcKlUIVUJiddptUY3GaGalhBUbYiwGmHlDf0dqH6SUP1WIeP6Bw'.
Detected alien instance of checksum256, this usually means more than one version of @greymass/eosio has been included in your bundle.
vendor.99856eba.js:114 ReferenceError: evmAccount is not defined     at c.ualLogin (1.fece6f5a.js:1:7157)
Clearing Cache unlocks Connect Button
After signing, the Wallet Modal is still open.

I also noticed that we have a dependency in package.json to ual-anchor 1.0.0 whereas the latest is 1.1.4 ?

This should be fixed now.

Tests
1: Connecting Valid Account - OK
2: Connecting InValid Account - OK ( Produce a human readable Error )
None of these break the connection or connecting reattempt feature.
3: Navigating back and forth, also cross-site - OK
4: Closing Browser and ReOpening - OK
Connection is persistent for #3 and #4


AI SDK testing and ARM template-less projec tcreation.

A fork of this branch https://github.com/ZhidaLiu/azure-sdk-for-python/tree/user/zhili/sdkDefaultRG
The purpose is to account for cases where someone who only has the developer role for an AI resource/workspace hub tries to make a project/lean workspace beneath it. The developer role technically provides sufficient permissions to do this, but since normal workspace creation flow in the SDK requires ARM template deployment permissions (which the dev role doesn't have), the attempt fails.
This PR adds a check to see if a workspace creation request was for a project and failed due to permissions issues. If that's the case it tries again using the workspace dataplane API (whose restclient files are also added in this PR).
 Other tests include AI resource and connection tests in the AI SDK.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-ai-ml


New header error

I've been using this script for months and now I get this:
Header part (111028490) from {'intAccount': 111028490} must be of type str or bytes, not <class 'int'>
in the buyorder function

My unofficial fix is available here: https://github.com/lolokraus/DegiroAPI/issues/56#issuecomment-1358245698


Pinger problem

Hi, thanks for adding new item!
Sadly it's bugged, i mean whenever i try to purchase it typing "pinger" store moves by one and for example asks me to buy shotgun which is next in line. I disabled shotgun mod, tried again and now it doesn't let me buy it. When typing "pinger" and pressing enter, nothing happens.
Screen shots aint necessary, i think i explained that problem well. Thanks!

This was caused by a bug with LethalLib, LethalLib 0.11.2 should fix it, which i just pushed to thunderstore.

This was caused by a bug with LethalLib, LethalLib 0.11.2 should fix it, which i just pushed to thunderstore.

Thank you very much <3


An alternative way to pass customized parameters into eCPI

For addressing issue 163.
@maximilien It's ready for review. Thanks.

See pending review comment. If you are OK then separate optional to required config properties. The optional ones should have sensitive defaults.
Finally, don't forget to update tests. Optional config should have test to verify both default and when a value is passed in.
Thanks,
Max

@mattcui you have not addressed my comments and this fails due to conflict. Please update and I'll take a look

@maximilien Yes, I need to add these properties as feature options after the feature flag function code in JQ's PR is merged, updating my code now...

@maximilien updated code, please review. Thanks.

@mattcui various issues here. Please address before I can take a look again.

@maximilien These options are all optional, I set the default value in Validate function, and also verified the default value if it's not set in the UT. Please help review or let me know if anything I missed. Thanks.

@mattcui you are missing many UTs and see my last comment. Please address and I will review one more time. Thx

Also, let's try to use the new Github review tool (upper right on top of page) to hopefully facilitate these discussions. Thx

@mattcui again, I don't see where you have addressed my changes. Perhaps we need to have a chat after the scrum and go over each?

@mattcui see my submitted reviews. Please address each so we can move further. Thanks.

@maximilien I didn't see any new comments, I think I already addressed all of your current comments, please help check. Thanks.


pull request for e2e test at 12/16/2016 04:15:20

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Repurpose DENO_DIR to deno's user home

Would be better to change DENO_DIR to use deno's user home instead of /deno-dir/?
Eventually, this is not an issue with the image, but something I'm facing with GitLab CI (and probably some other solutions) that it complains about caching folders outside the build (or user's home) sub-directory.

What did you have to set DENO_DIR to for gitlab-ci?

The original file was like this:
default:
  cache:
    key: $CI_COMMIT_REF_SLUG
    paths:
      - $DENO_DIR/
  image: docker.io/hayd/alpine-deno:1.7.2 # https://hub.docker.com/r/hayd/alpine-deno/

stages:
  - verify

format:
  stage: verify
  rules:
    - if: $CI_COMMIT_BRANCH == "master"
    - if: $CI_MERGE_REQUEST_ID
  script:
    - deno fmt --check

Removing the cache key it's all I needed to remove the warnings and make the pipeline works without failing. I think setting DENO_DIR to /home/deno/.cache/deno (the defaults) makes sense and should probably fix this.

cc @lucacasonato for an opinion on this one.

This makes sense to me, especially now that we store origin data (localStorage) in DENO_DIR.


Ex Nihilo Sequentia Hammer need soul infused rods to craft, Impossible to progress past the hammer quest.

All the hammer of Ex Nihilo Sequentia need Soul infused rod to be craft making it impossible to progress. What i can see from DELTA-HOTFIX1 is that all hammer have the recipe with the forge:rods tag in the craft so making it possible with wood stick but in the DELTA-HOTFIX2 the recipe only have soul infused rod and the forge:rods tags dissapear.

should be fixed now, hotfix soon


No walkabout children present

if you put "raise exception" inside the child wlakabout draw loop, nothing happens. the hat is not being drawn.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/24040130-no-walkabout-children-present?utm_campaign=plugin&utm_content=tracker%2F7646105&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F7646105&utm_medium=issues&utm_source=github).

Resolved in 0.2.15.


Mnemonic wallet seed not valid

Hi,
I keep having an error message 'mnemonic wallet seed not valid' while trying to scan my wallet.  While my backup phrase seems to be correct (12 words... what other checks could be done?).  The fact that is my phrase is made of french words, containing some accented characters (e.g. 'é').  Could be the origin of the error?  Otherwise, any idea of the origin?
Thanks for feedback.
Olivier

For spanish the accents are a problem, try matching your words with the french word list: https://github.com/bitcoin/bips/blob/master/bip-0039/french.txt

Thanks for the list with the words.
Help me to see where was my mistake!
It works...

Glad to help!


CSR1000v - UTM QEMU kernel panic - not syncing

**I searched both GitHub and multiple web searches.  If you find a link to a solution, please let me know.
Describe the issue
Clean install of Cisco CSR1000v ISO.  This is a "unix" intel based VM.  Hard drive is 8G, memory is 4K, Cores = 2, Forced
Initial GRUB menu is shown, followed by the image validation process which passes.

(https://github.com/user-attachments/assets/90aba6ce-957e-459a-9213-78f0710f05fb)
(https://github.com/user-attachments/assets/0265b17d-da47-4532-a94a-3585e0b3ff36)

Once the install starts:
- PC Q35 fails after validation page, reboots directly to GRUB
- PC i44FX fails after validation page, displays kernel panic, then reboots to GRUB
I read on another thread Multicore was needed, but it did not seem to make a difference.
Configuration

UTM Version: 4.5.4 (100) - From Apple Store
macOS Version: 15.1 (24B83)
Mac Chip (Intel, M1, ...):  Apple M1 Max

Crash log

Debug log
debug.log
Upload VM
config.plist.zip
Let me know what other information you need...

Anything I can provide to help with this ticket?  Any new information you need?

Can you try 4.6.2?

I was going thought some of the different processor types and most panic.
I found "Intel Xeon Processor (Skylake.......) (skylake-server-v5) makes it though the install process.  I did not make it through the post install boot, not sure if it hung or was exceptionally slow (install speed was fine).
Yes, I will install it and give it a try later today and provide more testing feedback.


feat: [GM-19] [BE] Design the get user endpoint proto

CI failed, it's not related to your change, but could you please help fix it in this PR? I guess it should not be complex.

CI failed, it's not related to your change, but could you please help fix it in this PR? I guess it should not be complex.

fixed


Accept headers on schema

It seems turms doesn't allow arbitrary headers in the schema specification:
https://the-guild.dev/graphql/config/docs/user/schema#passing-headers
I do see bearer token is allowed, but the Shopify API uses a different header.
Here's what I tried:
projects:
  default:
    schema:
      - https://laserkaltest.myshopify.com/api/2022-10/graphql.json:
        headers:
          X-Shopify-Storefront-Access-Token: redacted
    documents: graphql/**/*.graphql
...

Right, so far we don't support this (neither stiching together the schema with multiple files), Shouldn't be too hard to implement though, will work on a PR this weekend. Any other configuration that you are missing?

Hard to tell at this point, but I don't think so. Thanks for considering this.

#52 Brings support for all supported schema urls :)


Fix issue of reading importpath command argument

gen-grpc-tamplate command was not able to read import path argument (-i) properly if its different and it gives an error while creating json.
Example:
node ./node_modules/.bin/gen-grpc-tamplate -i ~/go/src/grpctest ~/go/src/grpctest/v1
So this commit fix this issue.

@swapnilfarande
Thanks for the PR.


Introduce different matching modes

SnapshotMatchRule - introduce a pluggable matching mechanism
Specified via SnapshotConfig
3 Implementations:

string equality machting, the way it was before
Strict matching via JSONAssert
Lenient matching via JSONAssert

The default behavior is string equality machting
Replace raw snapshot string with SnapshotData and SnapshotDataItem

used to separate the "real" JSON from the raw snapshot data; without it, JSONAssert failed

AFAIS related https://github.com/json-snapshot/json-snapshot.github.io/issues/9
PS: @andrebonna i messed up the formatting here and there..if you have eclilpse, maybe publish you formatting rules; then i can import then and reformat it..

Hi @grimsa thank you very much for your review.
Regarding streams, I agree they are often more expressive.
However, that's just my five cents, If you prefer them in your project I'm fine with that.
I'm going to change the PR accordingly youy comments, but I'm not sure if I get to it this week.
But it's on my list :-)

hi @grimsa, weekend after weekend passes without me getting to work through your 2nd review (which i appreciate a lot!)
but it's still on my todo-list an i'll get to it.


Kivy garden launch failure on windows 10

Versions

Python: 3.6.4 (64bit)
OS: Windows 10
Kivy: 1.10
Kivy installation method: pip3

Description
After installing kivy-garden with pip3 launching garden fails
Code and Logs
running command:
garden install resizable_behaviour
-> results in error:
python.exe C:\Program Files\Python36\Scripts\garden install resizable_behaviour
python.exe: can't open file 'C:\Program': [Errno 2] No such file or directory
Workaround is to launch the script manually:
python.exe "C:\Program Files\Python36\Scripts\garden" install resizable_behavior
seems to be just couple of " " missing from the garden launcher

Sounds like string quote problem, and garden doesn't like the space in 'Program Files'.
Have you tried it with a virtualenv in a directory that doesn't contain spaces?
Also, you probably want to report it instead at: https://github.com/kivy-garden/garden/issues

That fixes it allright! Thanks!


Add SECURITY.txt

Vulnerabilities can be reported via https://github.com/nikitastupin/clairvoyance/security/advisories

ab693726803a4486d315677a765b5d72bba478ac


[BUG]ModuleNotFoundError: No module named 'torchrl._torchrl'

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior.
Please try to provide a minimal example to reproduce the bug. Error messages and stack traces are also helpful.
Please use the markdown code blocks for both code and stack traces.
import torchrl

Traceback (most recent call last):
  File ...

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
System info
Describe the characteristic of your environment:

Describe how the library was installed (pip, source, ...)
Python version
Versions of any other relevant libraries

import torchrl, numpy, sys
print(torchrl.__version__, numpy.__version__, sys.version, sys.platform)

Additional context
Add any other context about the problem here.
Reason and Possible fixes
If you know or suspect the reason for this bug, paste the code lines and suggest modifications.
Checklist

[ ] I have checked that there is no similar issue in the repo (required)
[ ] I have read the documentation (required)
[ ] I have provided a minimal working example to reproduce the bug (required)

Thanks for this @jiagpaopao
Can you provide more context? How you installed the lib, what machine you're using, what you have tried to debug it (if anything).
Thanks

Thanks for this @jiagpaopao感谢您的@jiagpaopao Can you provide more context? How you installed the lib, what machine you're using, what you have tried to debug it (if anything).你能提供更多的背景信息吗？你如何安装库，你正在使用什么机器，你试图调试它（如果有的话）。 Thanks 谢谢

I'm an idiot...I forget to read "read me",now I know why,thanks.

v0.2.0 now includes wheels for M1!
Feel free to reopen if issues persist


Deployment Error

I am trying to deploy this app on our test tenant. I am deploying using Global Admin account and I got error when I tried to deploy when I clicked on Review + Create button, I am getting following error:
{"code":"InvalidTemplateDeployment","details":[{"code":"SpecialFeatureOrQuotaIdRequired","message":"The subscription does not have QuotaId/Feature required by SKU 'S0' from kind 'QnAMaker' ."}],"message":"The template deployment 'Microsoft.Template-20230202100845' is not valid according to the validation procedure. The tracking id is '3e3d6e82-dd0aa0'. See inner errors for details."}
After doing some internet searches I figured it has to do with the QnA Maker which is going to be retired in 2025 and also the referred pricing plan S0 is not available anymore. But the Qna Maker Sku only has two options S0 and F0 both of which are throwing same error.
Please help so we can deploy and test this App and if users like it deploy to production.

Hi, I have the same problem, maybe could find a solution?


fix: custom plugin handling

Fix #350

:tada: This PR is included in version 6.15.1 :tada:
The release is available on:

GitHub release
v6.15.1

Your semantic-release bot :package::rocket:


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_a5flt5tl27/clone/recipe/meta.yaml:15: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_a5flt5tl27/clone/recipe/meta.yaml:25: missing_wheel: For pypi packages, wheel should be present in the host section
INFO: /tmp/abs_a5flt5tl27/clone/recipe/meta.yaml:54: invalid_url: https://pint.readthedocs.org/ : URL domain redirect pint.readthedocs.org ->  pint.readthedocs.io
Errors were found


Bulk labelling from Grid

Allow users to select multiple items and label them all in one click. for eg Select 10 items and assign them category c1

Relative github issues:
https://github.com/heartexlabs/label-studio/issues/1239
Relative slack questions:
1 https://label-studio.slack.com/archives/CQ8LYPPJS/p1632468259281800?thread_ts=1632468259.281800&cid=CQ8LYPPJS
2 https://label-studio.slack.com/archives/C01Q5G6NMKR/p1621256207188200?thread_ts=1621256207.188200&cid=C01Q5G6NMKR
3 https://label-studio.slack.com/archives/CQ8LYPPJS/p1612781014326200?thread_ts=1612781014.326200&cid=CQ8LYPPJS
4 https://label-studio.slack.com/archives/CQ8LYQ0J2/p1609756561389100?thread_ts=1609756561.389100&cid=CQ8LYQ0J2

+1 for this feature...it would be most useful!
Another relative Slack question to add to @makseq's list:
https://label-studio.slack.com/archives/CQ8LYPPJS/p1637932002429400

@uriel-tannen @shaileshj2803 I've implemented some experimental functionality for this: you have to add EXPERIMENTAL_FEATURES=true at Label Studio startup. After this you will be able to use the 'Propagate Annotations' action in the Data Manager. Note that it can be unstable and works well only for choices (you may use it for other types of labeling at your own risk).

Thanks @makseq - I'll test this out. Are these experimental features in the Master branch?

@uriel-tannen Yes, they are in the master

Hi, I think I might have asked a relevant question https://label-studio.slack.com/archives/C01Q5G6NMKR/p1647355469784679
Any updates on the features? is it still experimental?
Thanks

@Dario-Mantegazza Yes, it's available as experimental feature, but it's easy to enable.

Hi @makseq, Thanks for the reply.
I tried the functionality and since all my samples are images with the same resolution and my annotation is a label for the whole image I think I'm in the "stable usage", unfortunately, I get some errors and it doesn't work. Would it be useful if I send you more information or it is an expected instability due to the experimental status of the functionality?

@Dario-Mantegazza Sure, please send more info us. The best is to have video with your screen here.


@mmcky Review of Paper

This PR is my review of the paper with some suggested edits.
I have also added more links throughout. I have read a few JOSS articles and I find links really helpful as in the PDF download you can click on them and they take you to a resource.

[ ] Also I included a link to the documentation site at the end by perhaps that should be up in the summary for quick reference
[ ] Need to finalise the affiliations

I also think we should specify
conda install -c conda-forge quantecon

as we have control over this channel.
It appears we aren't currently available in the latest anaconda default channel for python=3.10

thanks @Smit-create for your help putting this together.

Nice work @mmcky , many thanks.


chore: Bump version to v2 for examples code in README

Description

chore: bump version to v2 for example module database_migration_service

Motivation and Context

keep example code up to date

Breaking Changes

none

How Has This Been Tested?

[x] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[ ] I have tested and validated these changes using one or more of the provided examples/* projects

[ ] I have executed pre-commit run -a on my pull request

Thanks @chenrui333 !

This PR is included in version 2.1.0 :tada:


Stop /[index-page-uid]/[index-page-uid] rendering

Currently, /get-involved/get-involved is a valid path*. We could have a special condition that stops that from rendering.
*The "Get involved" page document is tagged with the get-involved tag, the logic currently allows for that.

in prod


Harmony helper newly broken? (connection refused)

HABridge can no longer communicate with either of my Harmony Hubs.  The IP addresses have not changed - they are fixed in DHCP and both servers respond to pings on those addresses and I verified those addresses using the Harmony Android app, (which is still working fine).  I also cannot connect to the hubs any longer from from Vera via the Vera Harmony plugin.  This happened sometime recently - it was working last week and has been working for years.  I am using HABridge 5.2.1 (just upgraded) and the Harmony Hub software version is 4.15.206.  I have restarted the hubs and HABridge to no avail.  HABridge continues to work with Vera scenes and devices.  Here is the error (basically it is 'connection refused' and it is the same with both of my hubs)  Is this just me or is it happening to everyone?
2018-12-17 13:32:43,936 [main] INFO  com.bwssystems.HABridge.plugins.harmony.Har
monyServer - setup initiated ....
2018-12-17 13:32:44,951 [main] ERROR com.bwssystems.HABridge.plugins.harmony.Har
monyHome - Cannot get harmony client (Family Room) setup, Exiting with message:
Failed communicating with Harmony Hub
java.lang.RuntimeException: Failed communicating with Harmony Hub
at net.whistlingfish.harmony.HarmonyClient.connect(HarmonyClient.java:19
3)
at net.whistlingfish.harmony.HarmonyClient.connect(HarmonyClient.java:11
8)
at com.bwssystems.HABridge.plugins.harmony.HarmonyServer.execute(Harmony
Server.java:111)
at com.bwssystems.HABridge.plugins.harmony.HarmonyServer.setup(HarmonySe
rver.java:68)
at com.bwssystems.HABridge.plugins.harmony.HarmonyHome.createHome(Harmon
yHome.java:236)
at com.bwssystems.HABridge.plugins.harmony.HarmonyHome.(HarmonyHom
e.java:40)
at com.bwssystems.HABridge.HomeManager.buildHomes(HomeManager.java:54)
at com.bwssystems.HABridge.HABridge.main(HABridge.java:79)
Caused by: org.jivesoftware.smack.SmackException$ConnectionException: The follow
ing addresses failed: '<IP_ADDRESS>:5222' failed because: /<IP_ADDRESS> except
ion: java.net.ConnectException: Connection refused: connect

yea not just you,
I'm having the same problem, been working fine till now.
I also have firmware 4.15.206.
Could it be that logitech did something in the last firmware update?

Same to me on my Raspberry Cannot get harmony client (Harmony HomeGMJPR) setup, Exiting with message: Failed communicating with Harmony Hub

See closed issue1034, which was pointed to 1017, which points to 945, the second 2 of which appear to be unrelated and thus, likely the need to re-open 1034, so as to prevent repeated posts.
Logitech appears to have disabled the necessary port in their latest firmware update.

https://www.reddit.com/r/homeassistant/comments/a6u6ep/psa_harmony_hub_firmware_v415206_breaksremoves/

Duplicate to #945 and that link has updates as well. Looks like logitech will bring back the API.

Logitech made a statement that this API change is intentional. They have closed port 5022 for good and I doubt that they will bring this back. But, there is still port 8088 open with Websockets which could be used instead.

Logitech have just made an update on the item. See: https://community.logitech.com/s/question/0D55A00008D4bZ4SAJ/harmony-hub-firmware-update-fixes-vulnerabilities
Use should be possible again.

Has anyone had success with the method from the link that @glsf91 posted.  I downloaded the latest My Harmony application for windows, but am unable to bring up the "tool" with the hot-keys mentioned in the instructions.

Just updated my Elite hub to 210, enabled Internet for the hub again and everything is up and running again. Nice to see that there seem to be a lot more customers using this as Logitech expected....

+1

@simondsmason follow this Logitech guide here: https://community.logitech.com/s/question/0D55A00008D4bZ4SAJ/harmony-hub-firmware-update-fixes-vulnerabilities

Thanks - it took me a while to realize that I had to plug the PC directly into the Harmony Hub, not the HA extender that I also have with it.  After that everything downloaded and updated and my bridge is back up and running.  Thanks.

New firmware has XMPP support added back.
https://community.logitech.com/s/question/0D55A00008OsX3CSAV/update-to-accessing-harmony-hubs-local-api-via-xmpp
This issue should be closed.

FYI: Mine showed "enabled" by default. Needed to cycle it disable/enable to get things going again.

This is now fixed in V5.2.2


(BOLT-635) Expose async API for Bolt Executor, use in apply

Exposes queue_execute and await_results as async components of the
Executor.
queue_execute can be used to create a list of promises for results of
batched execution of targets across transports.
await_results waits on a list of promises and aggregates them into a
ResultSet.
These are used together to make apply compile and apply manifest
blocks in parallel.
Applying a notify resource across 3 nodes resulted in ~150% speedup
(12.5s to 5s).

CLA signed by all contributors.

Added a test for the compile concurrency implementation.

In order to test this out I did some benchmarking.
Setup

Install puppet agent on 10 rastasheep/ubuntu-sshd docker nodes
write following plan:

plan test (TargetSpec $nodes) {
  return apply($nodes) {
    notify { "hello ": }
  }
}

First I measure using the execution times that bolt reports. I ran the plan above against the 10 targets 3 times each with parallel and sequential apply implementation.
seconds       mean      stddev
parallel:     5.2         0.67
sequential:   11.4        0.18

Next I used a benchmarking tool that @MikaelSmith found.
https://github.com/Gabriel439/bench
Parallel
time                 6.110 s    (5.002 s .. 6.929 s)
                     0.995 R²   (0.993 R² .. 1.000 R²)
mean                 6.282 s    (6.086 s .. 6.463 s)
std dev              227.2 ms   (192.4 ms .. 243.6 ms)
variance introduced by outliers: 19% (moderately inflated)

Sequential
time                 24.19 s    (22.79 s .. 25.45 s)
                     1.000 R²   (0.998 R² .. 1.000 R²)
mean                 24.15 s    (24.03 s .. 24.38 s)
std dev              221.6 ms   (9.449 ms .. 280.7 ms)
variance introduced by outliers: 19% (moderately inflated)

Having not really dug in to how the benchmarking tool executes it seems like we can safely say running in parallel is at least twice as fast as sequential.


Update cloudknox-ui-remediation.md

Updates to make the doc consistent to the current UX.

@marcelodiiorio : Thanks for your contribution! The author(s) have been notified to review your proposed change.


cnzz should be optional

This line should be removed.
https://github.com/iTimeTraveler/hexo-theme-hipaper/blob/18a98e969b0fb34549caf2019d9c275381aecabf/layout/_partial/after-footer.ejs#L17

Hi Michael. Thank you for your advice, we've been noticed this after a check.
We'll fix this bug in the coming merges.
Once we fixed this bug, we'll close this issue so that let you know.


Feed from wordpress site

Newsbeuter version (copy from newsbeuter -v):
XDG: configuration directory '/home/rpietro/.config/$
ewsbeuter' not accessible, using '/home/rpietro/.new$
beuter' instead.
newsbeuter 2.9 - http://www.newsbeuter.org/
Copyright (C) 2006-2010 Andreas Krennmair
newsbeuter is free software and licensed under the M$
T/X Consortium License.
Type `newsbeuter -vv' for more information.
Compilation date/time: Dec  7 2015 04:47:17
System: Linux 4.9.24-1-MANJARO (x86_64)
Compiler: g++ 5.3.0
ncurses: ncurses 6.0.20170128 (compiled with 6.0)
libcurl: libcurl/7.53.1 OpenSSL/1.0.2k zlib/1.2.11 li
bpsl/0.17.0 (+libicu/58.2) libssh2/1.8.0 (compiled wi
th 7.46.0)
SQLite: 3.18.0 (compiled with 3.9.2)
libxml2: compiled with 2.9.2
Steps to reproduce the issue:

here is my .newsbeuter/urls file
https://www.cronweekly.com/feed

the link doesn't generate a feed.

I also tried placing the file under config/newsbeuter, and a number of variations of the link to indicate that it was a rss or xml, but nothing worked. Any thoughts on what I might be doing wrong?

It's not clear to me what "the link doesn't generate a feed" mean. You have to press r or R to fetch the URLs; Newsbeuter won't do it automatically (unless you have auto-reload set to yes, in which case Newsbeuter will re-fetch the URLs from time to time).
A second, less likely guess is that you've bumped into #180. In that case, you should add another feed so that Newsbeuter doesn't remove everything from its database every time you close it. Two feeds are enough.

I've just built 2.9 and tested—after pressing r, I can see 10 items in the feed.


Refreshing ammo deletes the modifications

But I want my INFINITE RANGE TORPEDO
So fix this later

This ONLY happens with the Rastrub, as far as I can tell, and maybe other weapons like it


Scope flexibility

Coverage decreased (-2.8%) to 97.181% when pulling a39d608fe9fb161e282eeea45018df2b276184a2 on Interfolio:scope_flexibility into e431469374adb47f276f5e74025fc9d0a53659a6 on sonodar:master.

I am very thankful that you are strong in improving my code.
And I am checking the difference of the code.
Test credentials was broken. please master branch rebase to your branch.


No clear search field button

As the subject says and probably just an oversight or future addition, there is no clear search field button like in earlier versions.

Can you attach an image of the button in the earlier versions?  I don't see one.
afaik, it's always been a input field and the search executes as you type.

Here ya go;
https://www.dropbox.com/s/hfmg0hm2kvozfzu/Screenshot 2015-04-29 08.20.16.png

What do you see now?
http://i.imgur.com/N7S9A85.png
This is my screen which has the search filter.

I see the searchbox then my username for the google account and thats it, there is no option to choose xbox or psn on my version. I only have destiny on ps4 though if that makes any difference.

Can you send me a screen shot of the app?  Does the name match your PSN Account?  I only show the drop down when you have multiple platforms to choose from in Destiny.  If you only have your PSN account associated with Bungie.net, then that is all you will see in DIM.

Yes the name matches my PSN account.
https://www.dropbox.com/s/8s9mnzrba3g7wki/Screenshot 2015-04-29 08.41.42.png

Only one exotic missing from my collection, Jellyhorn ;)

I'm gonna close this issue then.  Not having the drop down is an expected behavior.  Feel free to reopen it if there is a problem with swapping platforms.
I just got my Thunderlord last week.  Felt good.
Good hunting.

The drop down wasn't the issue, the X button to clear the search field was the issue ;)

I'm using normalize.css which makes all browsers behave the same.  Sometimes that means that they must have the lowest-common features.  This removed the clear button from the search field.  I'll add it back.

Fixed and added to the branch.


farcaster-core upgrade

shall be built on top of #92

Core have been updated since and is in the process now with #120, closing that as it is handled.


Enables user impersonation

fixes #143

This looks good, but in the interest of making it a non-breaking update, I'll make the param optional.

FYI - I've just a published a new version of this module which is a complete rewrite using Google's V4 Sheets API (v3 is being deprecated on March 3, 2020).
Docs available here - https://theoephraim.github.io/node-google-spreadsheet
I'll add impersonation support and docs this week.
Thanks! 😄


Add a "Name" asg tag by default?

EC2 instances are being spun up without a name with the default config if "asg_additional_tags" is not set.

good idea, can you do a PR for this please?

fixed by https://github.com/simple-machines/ansible-template/commit/c9db1ad6875904ed8a25eb0a1f1f9140d2b63269


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v4.0 to before v5.15.13",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=5e33f6fdf735cda1d4580fe6f1878da05718fe73",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=ebef2aa29f370b5096c16020c104e393192ef684"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "5e33f6fdf735cda1d4580fe6f1878da05718fe73",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "ebef2aa29f370b5096c16020c104e393192ef684",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "usb: gadget: f_fs: Clear ffs_eventfd in ffs_data_clear.\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.15.13 by commit ebef2aa29f370b5096c16020c104e393192ef684, it was introduced in version v4.0 by commit 5e33f6fdf735cda1d4580fe6f1878da05718fe73. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2022-1000055


Registering first-level Aliases

Instead of having to use /emote use [emotename], it would be nice to have /[emotename]

This would require a hack of the CommandMap and injection of the commands, I don't really like the way it would be done. Marking it as invalid


[Snyk] Fix for 6 vulnerabilities

Snyk has created this PR to fix 6 vulnerabilities in the maven dependencies of this project.
Snyk changed the following file(s):

jena-fuseki2/jena-fuseki-webapp/pom.xml

Vulnerabilities that will be fixed with an upgrade:

Issue
Score
Upgrade

Stack-based Buffer Overflow SNYK-JAVA-COMGOOGLEPROTOBUF-8055227
  124
org.apache.jena:jena-text:  4.9.0-SNAPSHOT -> 5.2.0  No Known Exploit

Denial of Service (DoS) SNYK-JAVA-ORGECLIPSEJETTY-8186142
  112
org.apache.jena:jena-fuseki-core:  4.9.0-SNAPSHOT -> 5.0.0  No Known Exploit

Improper Validation of Syntactic Correctness of Input SNYK-JAVA-ORGECLIPSEJETTY-8186141
  62
org.apache.jena:jena-fuseki-core:  4.9.0-SNAPSHOT -> 5.0.0  Proof of Concept

Improper Validation of Syntactic Correctness of Input SNYK-JAVA-ORGECLIPSEJETTY-8186158
  62
org.apache.jena:jena-fuseki-core:  4.9.0-SNAPSHOT -> 5.0.0  Proof of Concept

Denial of Service (DoS) SNYK-JAVA-ORGECLIPSEJETTY-8186168
  50
org.apache.jena:jena-fuseki-core:  4.9.0-SNAPSHOT -> 5.0.0  No Known Exploit

Denial of Service (DoS) SNYK-JAVA-ORGECLIPSEJETTY-8186167
  40
org.apache.jena:jena-fuseki-core:  4.9.0-SNAPSHOT -> 5.0.0  No Known Exploit

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Denial of Service (DoS)

Checkmarx One – Scan Summary & Details – 4a1b6496-d8d9-4d76-a219-a90e14ab170a
New Issues

Severity
Issue
Source File / Package
Checkmarx Insight

Use_of_Cryptographically_Weak_PRNG
/jena-arq/src/main/java/org/apache/jena/sparql/expr/E_Random.java: 34
Attack Vector

Fixed Issues

Severity
Issue
Source File / Package

Host Namespace is Shared
/docker-compose.yaml: 20

Improper_Restriction_of_Stored_XXE_Ref
/jena-iri/src/main/java/org/apache/jena/iri/impl/BuildViolationCodes.java: 35

Improper_Restriction_of_Stored_XXE_Ref
/jena-iri/src/main/java/org/apache/jena/iri/impl/BuildViolationCodes.java: 39

Improper_Restriction_of_Stored_XXE_Ref
/jena-iri/src/main/java/org/apache/jena/iri/impl/BuildViolationCodes.java: 38

Networks Not Set
/docker-compose.yaml: 20


Things I don't understand

I don't understand <fill in what you don't here>

Even though I have been shown examples of sql and database, I feel like I do not have a firm grasp on the topic as I haven't practiced intensively with it.


Custom userstamp attribute not associated with stamper class

created_by.name is generating a NoMethodError - undefined method `name' for 1:Fixnum:
where name is an attribute of my user class.

Please provide sample code.

This sounds like the created_by association isn't properly created. Do you have a sample project that demonstrates this?


ITMS-90078: Missing Push Notification Entitlement

Every time I compile the ios app I have to change manually the entitlements to add the Push notification entitlement. There are some way to do it through the plugin?

This is working correctly, what is the problem is that other plugins are not behaving nicely overwriting these settings.
In my case it was cordova-plugin-googleplus which was installing the entitlements via a hook, I createad a PR for that particular problem here:
https://github.com/EddyVerbruggen/cordova-plugin-googleplus/pull/652
I suggest you look into the plugins folder and search for other plugins that are messing around with entitlements configuration (search for entitlement keyword).
For cordova-plugin-firebasex this is the configuration used:
https://github.com/dpa99c/cordova-plugin-firebasex/blob/master/plugin.xml#L100

As @pghoratiu suggests, this issue is caused by conflicts with other plugins.
In isolation, the entitlements management of this plugin works correctly.
Closing as there is no solution this plugin can implement that will prevent other plugins interfering with its entitlement settings.


[BUG] highpri examples are broken

Description / Steps to reproduce the issue
Tested with nrf52840-dk/highpri but probably all examples of highpri are broken.
./tools/configure.sh nrf52840-dk/highpri
make -j

output on 12.7-RC:
Elapsed time: 160 seconds

  basepri[80]: 920 (1%)
  basepri[e0]: 78764 (99%)
  Handler:     79684 (100%)
  Thread:      0 (0%)

The correct output should be like this:
Elapsed time: 160 seconds

  basepri[80]: 920 (1%)
  basepri[e0]: 78767 (99%)
  Handler:     44 (0%)
  Thread:      79643 (100%)

Broken with 0561b55860f655a863dabc653e5db7b213d8abff
After this commit we have lose the ability to distinguish in the highpri handler if we are in thread or interrupt context.
When we revert this commit, highpri examples works again:
Elapsed time: 160 seconds

  basepri[80]: 459 (1%)
  basepri[e0]: 39383 (99%)
  Handler:     22 (0%)
  Thread:      39820 (100%)

ping @hujun260 @xiaoxiang781216
On which OS does this issue occur?
[OS: Linux]
What is the version of your OS?
Arch Linux
NuttX Version
nuttx-12.7.0-RC0, master
Issue Architecture
[Arch: arm]
Issue Area
[Area: Kernel]
Verification

[X] I have verified before submitting the report.

@GUIDINGLI

@raiden00pl could you try https://github.com/apache/nuttx/pull/13606?

hi, please review the patch #13895
The case want to determine if a interrupt with higher priority the interrupt preemption occurred,
but up_interrupt_context indicates that we self inside interrupt/handedr mode.
so this should be usage problem, and we should update the case, and make it less confused.

backport https://github.com/apache/nuttx/pull/14395


[Snyk] Upgrade @types/node from 18.17.11 to 18.18.5

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade @types/node from 18.17.11 to 18.18.5.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 14 versions ahead of your current version.
The recommended version was released 22 days ago, on 2023-10-12.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Hey @chiragsalian, do we need checklists on these? Also performance tests look to be failing?

sorry, im not sure why snyk keeps making PRs for me. I thought it would have stopped by now. Closing


delete connection.py and tests/test_connection.py

since we're not using these any more

Would you mind assigning this to @jennkimerson ?

@ktdreyer Just reassigned this issue to @jennkimerson

This issue should also involve removing psycopg2 from the requirements.txt file


Is there any updates of GetX ?

I really like GetX and do most projects with GetX CLI. I also send you email but not get any update on it
From last One year of no updates and no communication from the developer @jasonlaw  can you Please update it ASAP or let me know when you will go for release 5.0.0?
Thank You

I am coding the new update right now.

Thank you for update brother

will getx updates come in future . i have seen some videos on youtube . developers are saying that there is no any update from one years . getx developers has closed getx . is that true . ?

@RohitSadioura  some haters sprate wrong information @jonataslaw working hard for new update . And in documention clearly mentioned getx alive till flutter is alive so don't worry about it

some are saying that Getx is not good for big applications . is that true ?
they said if you want to build a big application then you will have to use Bloc or riverpod
From: "Alok Dubey" @.>
To: "jonataslaw/getx" @.>
Cc: "RohitSadioura" @.>, "Mention" @.>
Sent: Monday, July 3, 2023 5:45:04 PM
Subject: Re: [jonataslaw/getx] Is there any updates of GetX ? (Issue #2834)
[ https://github.com/RohitSadioura | @RohitSadioura ] some haters sprate wrong information [ https://github.com/jonataslaw | @jonataslaw ] working hard for new update . And in documention clearly mentioned getx alive till flutter is alive so don't worry about it
—
Reply to this email directly, [ https://github.com/jonataslaw/getx/issues/2834#issuecomment-1618132464 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/AVJ6KHKZXAF223TD22XGEPDXOKZURANCNFSM6AAAAAAZ27N72Y | unsubscribe ] .
You are receiving this because you were mentioned. Message ID: @.***>

@RohitSadioura. what do you mean when talking about big application?
If you will use BLoC or Riverpod then even small amount of screens will looks like big application. Also,  GetX as state management is the best. Even 4.6.5
Tried to work with it in app with 40+ screens (without dialogs). No runtime problems, adding new functionality is seamless, no bloats. Is 40 screens big enough for you? Typical online store app has 20+ screens, banking app - up to 100 screens. Of course, these screens contain mostly dynamic data, fetching from server or local storage. Also, I'm working with realtime, so app can receive notification at any time and rebuild stored data.
Problem in another - if you have any doubts about GetX, because it has no any updates for a long time - it means that you don't paying attention at RC of GetX. An inattentive programmer will have trouble working using any framework. So maybe you really should use something another, to avoiding adding new issues here, like "I'm adding GetX to my pubspec.yaml but my app still not work as I dream"
BLoC and Riverpod - excellent state managements. As said people, who using it. There is a lot of side packages for bloc that trying to make using it easier, and some of them are almost has no bugs. You think, if app updating very often, this is sign of good code? Maybe. I don't know, my GetX was not updated for an year - and still working best. Maybe, I just forget how wonderfull is awaiting breaking changes because maintainers forgot to turn on his brains earlier. And your app will be the big app using BLoC aor Riverpod - you must import a lot of packages and code generators to make your work with them slightly less painfull. Riverpod also very good if you plan maintain and modify your app never. Because every new feature in your app will increase your pain exponential. But many people using it, and their apps are big. As man who ate only fastfood. Of course, both solutions wants just 30% more lines of code than GetX and readability of this code far more better than ASM or even C++, so you truly can use it. Probably. Also, you will learn something new, for example, BLoC architecture (is it used somewhere outside of BLoC package?), or singleton (funny moment - GetX has singleton deep inside, and some developers blame it, but same time hail Riverpod that enforce you to use singleton), instead of using old-school and wide used CLEAN or MVVC architecture.
GetX is boring comparable BLoC or Riverpod - you just using it, without studying hours of youtube videos.
So, think twice. Maybe, GetX is not yours, because some developers won't use it, who have a lot of free from paid work time to record videos.

It seems that haters can do anything.  Look at this. https://pub.dev/packages/getxx

It seems that haters can do anything. Look at this. https://pub.dev/packages/getxx

I know some people like this, but truly don't understand their motivation - they spent a lot of time for hate, they subscribing to the GetX topics all around the internet just for blaming.  This people really sick, have damaged psychics and I wonder why exactly GetX was choosen as a target. Maybe secret is in some existential inner conflict - they just can't imagine that something can do better and faster than they do, and this thought kills them from the inside.
Very interesting phenomenon.
By the way, try to look to the holywar against the Flutter - still a lot of articles where Flutter presented like slow and unmature solution that can be used only for MVP and extra small projects, and Dart language as dying relic.
So, maybe haters are just miserable creatures with very poor minds.
But as I always said - end user wants working app, and no matter that technology is inside.
Of course, if GetX will have 5.0 version it will be very nice to raise popularity. Many packages has updates that only contains changes in readme or dependency, and there is no any question from masses - package is up-to-date.
So it will be good to publish somelike 4.7 version with some small fixes, for example - remove this 'dialog made by 3 lines of code' and make documentation of all extensions that GetX had.
On the other side, GetX is heavy competitive advantage for solo developers and small teams, so maybe it's good that a lot of people trying learn to bloc )))

RohitSadioura
I will prove it to you that Getx can work on big project, because I'm using GetX as the fast and easy state management library

I am coding the new update right now.

Is there a release plan? Thank you.

I am coding the new update right now.

Can you please keep pushing the code on github. So that we'll be motivated to still use this plugin.

I think the author has reservations, when 5.0.0 is released, it will scare you

Something news of update?

@jonataslaw brother please give any update

I am coding the new update right now.

@jonataslaw Any update for release 5.0?

I am coding the new update right now.

Hey Sir, please reply when actually you'll update please. 🙁

I am coding the new update right now.

Thanks for that, any news where is it comming? or do you have like a Twitter (X) or Social media account to now more about it?
Happy coding :D

To be honest, an update was almost ready, so the new version of Flutter broke the new update. But today I fixed some fixes, and I'm optimistic. We'll have a version 5 soon (once I fix RouterOutlet).

Thanks for the answer. Flutter updates had broken my code twice in the past 2 years haha. So, I completely get it.
It is good to know the project isn't dead tho.
Happy coding bro 👍🏻

Thank you @jonataslaw for reply

It is good to know the project isn't dead tho.

That's the good news for us, It is more delightful to read from the developer, that the GREAT library is not ready to be put into its final resting place :) Once again thank you, Sir @jonataslaw for sharing your wisdom.

Thanks for the replay @jonataslaw 👍

I just started learning flutter and was looking for state management libraries, this one looks promising and awesome. Hope it doesn't die, cause as soon as I'm good with flutter I'm coming back to contribute.

GetX is like Svelte in the JS ecosystem. Simple, beautiful.... elegant
It was love-at-first-sight and always will it be.

I guess this issue can be closed now....
get: ^4.6.6 released

we are with you.

I am one of the biggest promoter of GetX https://youtu.be/7dAt-JMSCVQ. I just love it.

I am one of the biggest promoter of GetX https://youtu.be/7dAt-JMSCVQ. I just love it.

I just love your channel!
Thank you for your contribution spreading knowledge throughout the community!

I am one of the biggest promoter of GetX https://youtu.be/7dAt-JMSCVQ. I just love it.

I just love your channel! Thank you for your contribution spreading knowledge throughout the community!

Thank you so much We owe to you. You made such a simple yet powerful tool. I always use it in our big projects. Recently I am planning to release one using Getx and clean architecture.
I would really appreciate if you also put the link of  the tutorial on your your pub.dev getx section(I saw you put other youtubers link on "Articles and Video section) so that people can find Getx easily with complete tutorial.

It's so funny see so many people relying their project on this "framework" 😂

so?

I am one of the biggest promoter of GetX https://youtu.be/7dAt-JMSCVQ. I just love it.

I just love your channel! Thank you for your contribution spreading knowledge throughout the community!

Thank you so much We owe to you. You made such a simple yet powerful tool. I always use it in our big projects. Recently I am planning to release one using Getx and clean architecture. I would really appreciate if you also put the link of the tutorial on your your pub.dev getx section(I saw you put other youtubers link on "Articles and Video section) so that people can find Getx easily with complete tutorial.

I would be happy to list your videos in our readme. Could you make a PR by inserting your videos in it?

Thank you. Here's the list
GetX beginners guide
https://youtu.be/uki8BS7xEug
Complete project food delivery app
https://www.youtube.com/watch?v=7dAt-JMSCVQ

I am one of the biggest promoter of GetX https://youtu.be/7dAt-JMSCVQ. I just love it.

I just love your channel! Thank you for your contribution spreading knowledge throughout the community!

Thank you so much We owe to you. You made such a simple yet powerful tool. I always use it in our big projects. Recently I am planning to release one using Getx and clean architecture. I would really appreciate if you also put the link of the tutorial on your your pub.dev getx section(I saw you put other youtubers link on "Articles and Video section) so that people can find Getx easily with complete tutorial.

I would be happy to list your videos in our readme. Could you make a PR by inserting your videos in it?

Hi Jonataslaw,
How are you doing? I wanna invite you to my channel for short talk. Recently we crossed 100k subs. I wanna invite you for GetX talk and tips about it.
My fans would be very happy to see you there. Let me know if you have time.
Recently we also introduced Flutter multi vendor food delivery app https://youtu.be/NHlVuQpy8B4.
Thanks,
Dylan Ahmed

https://pub.dev/packages/refreshed


Instrumenting pages by numbers

Measuring numbers such as "page view", "unique user", "conversion rate" and "A/B test" on pages helps us to know our sustainable improvements for pages are actually good or bad for users.
Right now the pages are a kind of alpha version. So, the timing to start this task is after the pages will be mature and give users a cohesively designed experience.
This ticket is related to https://github.com/FNNDSC/website/issues/5#issuecomment-687125211 and https://github.com/FNNDSC/website/issues/6#issuecomment-687141547 .
In my humble opinion, we can be still ethical not controlled by numbers. The numbers are not really the highest priority for the pages.

@jbernal0019 could you add Team-19 to Projects in this ticket to add it to Kanban?

I am asking the recommended analysis tools here.
https://github.com/theopensourceway/guidebook/issues/85

I got the great answer here https://github.com/theopensourceway/guidebook/issues/85#issuecomment-735777505 .
The introduced https://chaoss.community/ is worth to take a look.


Testing infrastructure

Signed-off-by: Mihai Budiu<EMAIL_ADDRESS>This pilfers some code from the Python testing script.
Currently the testing script just runs the compiler on the p4 file.
All files like tests/*.p4 will be tested.
As the README says, tests can be run using make check-of using the p4c testing infrastructure.

My rebases went wrong, I will close this and resubmit.