[Bug] the filed at path '/service_relation_server_resp_time/value{0}/id' was declared as anon null type,

Search before asking

[X] I had searched in the issues and found no similar issues.

Apache SkyWalking Component
OAP server (apache/skywalking)
What happened
All are single deployments, The default H2 database used by OAP. there are some errors When I visit the topology tab page

I found out that it is because the monitored application has no data generated within the set time period.
"The field at path '/service_relation_client_cpm/values[0]/id' was declared as a non null type, but the code involved in retrieving data has wrongly returned a null value. The graphql specification requires that the parent field be set to null, or if that is non nullable that it bubble up null to its parent and so on. The non-nullable type is 'ID' within parent type 'KVInt' The field at path '/service_relation_client_resp_time/values[0]/id' was declared as a non null type, but the code involved in retrieving data has wrongly returned a null value. The graphql specification requires that the parent field be set to null, or if that is non nullable that it bubble up null to its parent and so on. The non-nullable type is 'ID' within parent type 'KVInt'"
"The field at path '/service_relation_server_resp_time/values[0]/id' was declared as a non null type, but the code involved in retrieving data has wrongly returned a null value. The graphql specification requires that the parent field be set to null, or if that is non nullable that it bubble up null to its parent and so on. The non-nullable type is 'ID' within parent type 'KVInt' The field at path '/service_relation_server_cpm/values[0]/id' was declared as a non null type, but the code involved in retrieving data has wrongly returned a null value. The graphql specification requires that the parent field be set to null, or if that is non nullable that it bubble up null to its parent and so on. The non-nullable type is 'ID' within parent type 'KVInt'"
"The field at path '/service_cpm/values[0]/id' was declared as a non null type, but the code involved in retrieving data has wrongly returned a null value. The graphql specification requires that the parent field be set to null, or if that is non nullable that it bubble up null to its parent and so on. The non-nullable type is 'ID' within parent type 'KVInt' The field at path '/service_sla/values[0]/id' was declared as a non null type, but the code involved in retrieving data has wrongly returned a null value. The graphql specification requires that the parent field be set to null, or if that is non nullable that it bubble up null to its parent and so on. The non-nullable type is 'ID' within parent type 'KVInt' The field at path '/service_resp_time/values[0]/id' was declared as a non null type, but the code involved in retrieving data has wrongly returned a null value. The graphql specification requires that the parent field be set to null, or if that is non nullable that it bubble up null to its parent and so on. The non-nullable type is 'ID' within parent type 'KVInt'"
What you expected to happen

is it normal?
How to close this alarm message prompt?

How to reproduce
environment:
OAP+UI   9.0.0
AGENT   8.10.0
Select a time period without requesting data to query，visit the topology tab page
Anything else
Necessarily occur
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

Mostly your OAP server is not working as expected, or down.

Search before asking

[x]  I had searched in the issues and found no similar issues.

Apache SkyWalking Component
OAP server (apache/skywalking)
What happened
All are single deployments, The default H2 database used by OAP. there are some errors When I visit the topology tab page  I found out that it is because the monitored application has no data generated within the set time period.
"The field at path '/service_relation_client_cpm/values[0]/id' was declared as a non null type, but the code involved in retrieving data has wrongly returned a null value. The graphql specification requires that the parent field be set to null, or if that is non nullable that it bubble up null to its parent and so on. The non-nullable type is 'ID' within parent type 'KVInt' The field at path '/service_relation_client_resp_time/values[0]/id' was declared as a non null type, but the code involved in retrieving data has wrongly returned a null value. The graphql specification requires that the parent field be set to null, or if that is non nullable that it bubble up null to its parent and so on. The non-nullable type is 'ID' within parent type 'KVInt'" "The field at path '/service_relation_server_resp_time/values[0]/id' was declared as a non null type, but the code involved in retrieving data has wrongly returned a null value. The graphql specification requires that the parent field be set to null, or if that is non nullable that it bubble up null to its parent and so on. The non-nullable type is 'ID' within parent type 'KVInt' The field at path '/service_relation_server_cpm/values[0]/id' was declared as a non null type, but the code involved in retrieving data has wrongly returned a null value. The graphql specification requires that the parent field be set to null, or if that is non nullable that it bubble up null to its parent and so on. The non-nullable type is 'ID' within parent type 'KVInt'" "The field at path '/service_cpm/values[0]/id' was declared as a non null type, but the code involved in retrieving data has wrongly returned a null value. The graphql specification requires that the parent field be set to null, or if that is non nullable that it bubble up null to its parent and so on. The non-nullable type is 'ID' within parent type 'KVInt' The field at path '/service_sla/values[0]/id' was declared as a non null type, but the code involved in retrieving data has wrongly returned a null value. The graphql specification requires that the parent field be set to null, or if that is non nullable that it bubble up null to its parent and so on. The non-nullable type is 'ID' within parent type 'KVInt' The field at path '/service_resp_time/values[0]/id' was declared as a non null type, but the code involved in retrieving data has wrongly returned a null value. The graphql specification requires that the parent field be set to null, or if that is non nullable that it bubble up null to its parent and so on. The non-nullable type is 'ID' within parent type 'KVInt'"
What you expected to happen

is it normal?
How to close this alarm message prompt?

How to reproduce
environment: OAP+UI 9.0.0 AGENT 8.10.0 Select a time period without requesting data to query，visit the topology tab page
Anything else
Necessarily occur
Are you willing to submit PR?

[x]  Yes I am willing to submit a PR!

Code of Conduct

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

Same error for me, how did you solved this error, thanks a lot.

Same error for me, how did you solve this error, thanks a lot.

@AaronW-BE @lorihen Could you try the latest master at least with this commit of booster UI and see. #8964 it's fixed here.

I used the docker distribudion, version 9.0.0, so still need waiting new version ....

If you are talking about 8963, it is not a blocking issue. This error only shows out when there is no node and line of your topology. Put some services installing agent or export metrics/logs to SkyWalking, it would be fine.
Read the PR's description, before you jump into a conclusion.

Okay, I see. thanks for your reply.


Widget needs to upgrade the botframework-webchat version to 4.15.0

We are getting component governance error with high-security vulnerability flagging from node-fetch v2.6.1. Here's the dependency chain:

I can see the cross-fetch version is upgraded in the botframework-webchat v4.15.0.
Please upgrade the botframework-webchat to 4.15.0.

This has been fixed with latest version of component.


Tilde (~, aka watch) can't take a command?

steps
~about
problem
> ~about
[error] java.lang.IllegalStateException: Error attempting to extract scope from about: Not a valid project ID: about (similar: sbtRoot)
[error] Expected ':'
[error] Not a valid key: about
[error] about
[error]      ^.
[error] 	at sbt.internal.Continuous$.parseCommand(Continuous.scala:386)
[error] 	at sbt.internal.Continuous$.$anonfun$getAllConfigs$1(Continuous.scala:394)
[error] 	at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:237)
[error] 	at scala.collection.immutable.List.foreach(List.scala:392)
[error] 	at scala.collection.TraversableLike.map(TraversableLike.scala:237)
[error] 	at scala.collection.TraversableLike.map$(TraversableLike.scala:230)
[error] 	at scala.collection.immutable.List.map(List.scala:298)
[error] 	at sbt.internal.Continuous$.getAllConfigs(Continuous.scala:394)
[error] 	at sbt.internal.Continuous$.$anonfun$runToTermination$7(Continuous.scala:339)
[error] 	at sbt.std.Streams.use(Streams.scala:104)
[error] 	at sbt.std.Streams.use$(Streams.scala:100)
[error] 	at sbt.std.Streams$$anon$1.use(Streams.scala:117)
[error] 	at sbt.internal.Continuous$.$anonfun$runToTermination$6(Continuous.scala:335)
[error] 	at sbt.EvaluateTask$.withStreams(EvaluateTask.scala:374)
[error] 	at sbt.internal.Continuous$.$anonfun$runToTermination$5(Continuous.scala:335)
[error] 	at sbt.internal.Continuous$.setup(Continuous.scala:269)
[error] 	at sbt.internal.Continuous$.$anonfun$runToTermination$1(Continuous.scala:334)
[error] 	at sbt.internal.Continuous$.withCharBufferedStdIn(Continuous.scala:308)
[error] 	at sbt.internal.Continuous$.runToTermination(Continuous.scala:317)
[error] 	at sbt.internal.Continuous$.$anonfun$continuous$1(Continuous.scala:108)
[error] 	at sbt.Command$.$anonfun$applyEffect$4(Command.scala:144)
[error] 	at sbt.Command$.$anonfun$applyEffect$2(Command.scala:139)
[error] 	at sbt.Command$.process(Command.scala:183)
[error] 	at sbt.MainLoop$.$anonfun$processCommand$1(MainLoop.scala:150)
[error] 	at sbt.MainLoop$.processCommand(MainLoop.scala:162)
[error] 	at sbt.MainLoop$.processCommand(MainLoop.scala:150)
[error] 	at sbt.MainLoop$.$anonfun$next$2(MainLoop.scala:138)
[error] 	at sbt.State$StateOpsImpl$.runCmd$1(State.scala:269)
[error] 	at sbt.State$StateOpsImpl$.process$extension(State.scala:273)
[error] 	at sbt.MainLoop$.$anonfun$next$1(MainLoop.scala:138)

expectation
The command I choose (here about) runs on every file change.
notes
sbt version: 1.3.0-RC1

I am of the opinion that watch shouldn't work with commands because commands can modify state and they also have no file inputs associated with them.

It also can't handle aliases.  For example with a alias cl = clean in .sbtrc:
> cl
[success] Total time: 1 s, completed 31-May-2019 16:04:10
> ~cl
[error] java.lang.IllegalStateException: Error attempting to extract scope from cl: Not a valid project ID: cl
[error] Expected ':'
[error] Not a valid key: cl
[error] cl
[error]   ^.

What is it about modifying state that should make commands inelligible for usage with watch?  Can we reduce the banning to a specific, smaller set of conniving commands?
Also, in my eyes, commands using anything (e.g. tasks) that has file inputs associated to them, use those file inputs transitively.

Yes, there was a different case about aliases that was already resolved: https://github.com/sbt/sbt/issues/4695.

There is no introspection capability in a command that allows one to determine what tasks it may run. The watch system uses the state extensively to determine numerous properties of the watch. If the state changes, we need to update the watch, which means having to add special logic for partitioning the watch commands into commands and tasks and resetting everything between each run if there is a command present.
Since you mentioned aliases, I am guessing that a use case for watching a command is to define a command that aggregates a number of tasks. That use case can be handled by a custom task. Is there  a different use case you have in mind? I have given this a lot of thought in the past and concluded that the semantics of watching commands were not well defined and the maintenance cost / implementation complexity (it's already quite complex) was not worth it .

As a side note, I think that InputTask makes Command somewhat redundant. In fact, in my imaginary sbt 2.0, I'd probably consolidate Task, InputTask and Command into a single Task abstraction.

If you can detail what's off-limits, then I think it's acceptable to say that using watch with commands that touch anything in that off-limits is undefined and unsupported.
Here's a few commands/aliases that I use with watch:

~ ;clean ;compile, so the ; command (multi-command, iirc?)
~ ;clear ;compile, so the clear alias, which is globally defined as alias clear = eval "\u001B[2J\u001B[0\u003B0H"
~ +compile so the +/cross command

Hmm. Cross builds did escape me and do seem important. Just to be clear, I assume you mean alias clear = eval println("\u001B[2J\u001B[0\u003B0H").

Would it be possible to support ~ <non-act-command> by falling back to sbt 1.2-like watch-everything mode?

Just to be clear, I assume you mean alias clear = eval println("\u001B[2J\u001B[0\u003B0H").

No, I wasn't using the println.  It works without.

Ha, I guess that's because the evaluating compiler prints the result.


Implement Inheritance

[ ] give inheritance an actual Name portion
[ ] parse inheritance into CodeLang structure
[ ] inheritance printer

we have inheritance at the unilang level


Docs / job_runner.sh reference previous 0.1.3 jar

I'm not very familiar with gradle, so not sure
if there's a programmatic way to get this to line up

Thank you this has been fixed by another pull request, will try to figure out how to do it automatically


Right-aligned toolbars not sticking

I am having a minor issue where the application is not remembering where I am setting the toolbars once I close the application and come back in. It seems to only happen when moving toolbars to the right side of the header bar.
After I modified the default toolbars to my liking, this is what my setup looked like. This is on my Linux host machine.

Then I moved some bars around to set it how I would like it to look.

I exit the program through File -> Exit, and when I come back, the bars I moved to the right side seem to have reverted.

Within my Windows 7 VM, I'm having the above issue as well, but I'm alsoi not able to move the execution toolbar. When I try to do the move below, it reverts it back when I restart DBeaver.

Unfortunately I can't fix this.
Toolbars behavior controlled by Eclipse framework. Optional toolbars position is lost on restart if toolbar has some initial positioning configuration.
I'll check Eclipse tollbar contributions config one more time, maybe there is some workaround..

It looks like this problem can't be fixed. It will be closed.


Tree-shaked Config is not working anymore

Overview of the problem
Oruga version: 0.8.2
Vuejs version: 3.3.13
Description
Documentation states :

If you use individual imports you can customize each compoment using the Config plugin.

And shows the following example :
import { OAutocomplete, OSidebar, Config } from '@oruga-ui/oruga-next';
[...]

It is working with version 0.7.0, but fails in 0.8.2
Steps to reproduce

Use the documentation code with version 0.7.0 and see that it works
Upgrade to 0.8.2 and see the compilation (with Webpack if that matters) failing with the error above

Expected behavior
Either that the code from the documentation work, or that the documentation show code that works.
Actual behavior
Compilation fails with  Module '"@oruga-ui/oruga-next"' has no exported member 'Config'

The progammatic interface changed a bit.
Try this to access the config plugin while adding the whole oruga plugin:
import { useOruga } from '@oruga-ui/oruga-next';
const config = useOruga().config;

However, if you want to set it up yourself, try:
import { ConfigProgrammatic } from '@oruga-ui/oruga-next';
const options = {.....};
ConfigProgrammatic.setOptions(options);

Does this work for you?
Are there any misleading descriptions in the documentation? A clearer description is welcome :)

ConfigProgrammatic makes it works as expected ! Thanks for the guidance.
Yes the documentation would deserve an update. I'll submit a PR.


Need to verify that updates to target text also update / correct KB

Adapt It Mobile Version: 0.8.5
Severity: 3
Description: This test item came up as a question during the AIM presentation this week.
If a user makes a mistake in the translation of the text, and then goes back to correct the mistake, is the old target text still in the knowledge base? It probably should be removed if the reference count has been decremented to 0 (i.e., the word or phrase is not used in the target text at all), so that it doesn't show up as a "real" suggestion.
Adding this as an issue so that I can make sure the logic is sound in this scenario.

Update on this issue:
It appears that the reference counts are being decremented correctly (now even to -1 to be in sync with Adapt It desktop's behavior). However, I'm not seeing the new value populate properly. Investigating further...


"Runme: Add Runme to recommended extensions" fails on Linux

Likely related to not accounting for fs/path platform specifics. VS Code should have primitives to deal with those.
E.g. on extension v3.1.2 and<EMAIL_ADDRESS>on ubuntu-22.04 on x86_64:

@sourishkrout could you please include the source of the installation?
It could be a Snap, Deb package, or a different source.

I believe it's whatever's bundled with the extension, since this is an
extension feature.
On Wed, Feb 28, 2024 at 5:57 PM Cristian Cepeda @.***>
wrote:

@sourishkrout https://github.com/sourishkrout could you please include
the source of the installation?
It could be a Snap, Deb package, or a different source.
—
Reply to this email directly, view it on GitHub
https://github.com/stateful/vscode-runme/issues/1170#issuecomment-1970058520,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAB5FH24AAOWFQCE54K627TYV6Y6LAVCNFSM6AAAAABD6E2OBSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZQGA2TQNJSGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Fixed and merged @degrammer?

This was a json vs jsonc problem.


Upgrading to Next.js 13

[x] Upgrade deps to Next.js 13
[ ] Adapt new app directory and layout
[ ] Rewrite of data rendering (also data fetching with React server components)
[ ] Rewrite of Loading and Error layout
[ ] ...

Using app directory and layout could help improving page loading significantly, since it can allow dynamicly load large libs like plyr, pdfjs, etc based on specific path. Currently we have to load everything since the website can't know the content for certain path ahead of time.
Would you be interested in accepting PR regarding app directory refactoring, or collabrate on such refactoring in the future? I think the fetch API refactor on API route is the first step towards this goal, since the new data fetching system for server component is built on top of the native fetch() Web API.

one potential objective: app/route in favor of pages/api (available in nextjs 13.1.7, currently in canary)

Would you be interested in accepting PR regarding app directory refactoring, or collaborate on such refactoring in the future?

@aidenlx Certainly, but I don't think I can spare too much time on this project in the foreseeable future. If you are interested, go for it.


Added Keep Tag capability

Added functionality to allow the Tag To Item to create the item, but also keep the tag.

Can you resolve conflicts?


image-layout: remove support for nested index

Signed-off-by: Akihiro Suda<EMAIL_ADDRESS>discussed in https://github.com/opencontainers/image-spec/pull/716

This is from when the "index" was a separate entity from the manifest-list.
Now that they're combined, perhaps it does not make sense, but it is not
disallowed. One might have a "fat manifest" to group various manifests, and
this would be displayed in the index.json as an index itself. A bit
recursive, sure, but not an invalid use-case.
On Wed, Aug 2, 2017 at 5:00 AM Jonathan Boulle<EMAIL_ADDRESS>wrote:

@jonboulle approved this pull request.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/opencontainers/image-spec/pull/718#pullrequestreview-53738054,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEF6U_Cl7tht7zhslxN4OyCR--GsW-5ks5sUDqcgaJpZM4Oqo9l
.

This is a completely valid configuration. As @vbatts said, imagine packing an image with a multi-platform image.
Remember that refs on indexes are only valid when present in index.json. Any referenced indexes would only provide extra platform annotations or non-standard extensions.
@AkihiroSuda If there is a use case I'm misunderstanding here, let me know, but I'm going to close this PR.

@stevvooe but how does that use case involve an index referring to another index? e.g. in the example here it refers to two manifests directly

Remember that refs on indexes are only valid when present in index.json.

not sure what this means, can you link me to some part of the spec that illustrates this?

On Wed, Aug 02, 2017 at 09:16:48AM -0700, Jonathan Boulle wrote:

… but how does that use case involve an index referring to another
index?

Before #546, what we now call “an index” was known as “a manifest
list”.  That schema applies to index.json, but it can also apply to
blobs in CAS.  And content using the
application/vnd.oci.image.index.v1+json media type can reference other
blobs using that same media type.  For example, you might have 1 in
CAS (as sha256:f808ffe92ab277b20078353645cf0cc3c82c28e3), and then an
entry in index.json like:
{
"mediaType": "application/vnd.oci.image.index.v1+json",
"size": 683,
"digest": "sha256:f808ffe92ab277b20078353645cf0cc3c82c28e3",
"annotations": {
"org.opencontainers.image.ref.name": "1.0.0",
}
}

Remember that refs on indexes are only valid when present in
index.json.

not sure what this means, can you link me to some part of the spec
that illustrates this?

I think he's referring to 2:
[org.opencontainers.image.ref.name] SHOULD only be considered valid
when on descriptors on index.json within image layout.
In my example above, that means there's probably no point to setting
org.opencontainers.image.ref.name in
sha256:f808ffe92ab277b20078353645cf0cc3c82c28e3, which is stored in
CAS.

@stevvooe but how does that use case involve an index referring to another index?

I'm not sure I understand the distinction. What does problem does this PR address? Could you elaborate?

not sure what this means, can you link me to some part of the spec that illustrates this?

From https://github.com/opencontainers/image-spec/blob/master/annotations.md#pre-defined-annotation-keys:

SHOULD only be considered valid when on descriptors on index.json within image layout.

I'm not sure I understand the distinction. What does problem does this PR address? Could you elaborate?

The example you gave is "packing an image with a multi-platform image.". That example is illustrated in (the example I linked to](https://github.com/opencontainers/image-spec/blame/710038243d857231f17df1c3f4c10850154bd1f7/image-index.md#L93) which is an image index pointing to two image manifests (i.e. both of mediaType application/vnd.oci.image.manifest.v1+json).
In contrast, the image index example in the image layout document points to one image manifest and one image index (i.e. one of mediaType application/vnd.oci.image.manifest.v1+json and one of mediaType application/vnd.oci.image.index.v1+json).
It is unclear to me and apparently others what the use case of the latter is. Furthermore, it is "soft contradicted" by the guidance in the image index documentation itself which suggests that implementations should be prepared to have indices point to image manifests - https://github.com/opencontainers/image-spec/blame/710038243d857231f17df1c3f4c10850154bd1f7/image-index.md#L35
I don't think refs are relevant to this specific discussion.

On Fri, Aug 04, 2017 at 12:31:59PM +0000, Jonathan Boulle wrote:

It is unclear to me and apparently others what the use case of the
latter is.

Say you want to provide an image-layout providing a Foo 1.0.0 image
for both amd64 and ppc64.  One option is to use per-platform names
(e.g. 1.0.0-amd64 and 1.0.0-ppc64).  That is going to be the most
portable approach, but it's a bit of a pain for the consumer, since
they need to figure out which name to use.
Another option is to use two
application/vnd.oci.image.manifest.v1+json entries in index.json, both
of which have org.opencontainers.image.ref.name set to 1.0.0 but which
have different platform information.  That would work, except that
some implementations may decide to error out [1,2] or pick the first
entry regardless of platform 3 because they can't decide between the
two names.
Another option is to use a single
application/vnd.oci.image.index.v1+json in index.json which has
org.opencontainers.image.ref.name set to 1.0.0.  Then the
implementation can retrieve that index from CAS, and select the
appropriate manifest based on the platform metadata in its manifests
array.  This is the nested-index use case.

Furthermore, it is "soft contradicted" by the guidance in the image
index documentation itself which suggests that implementations
should be prepared to have indices point to image manifests…

Right.  This is the potential portability issue with the nested-index
approach.  Folks who wanted a single name across multiple platforms
will have to pick something that image-spec does not require support
for, and it's up to them whether they want to prefer implementations
that support duplicate names in index.json or implementations that
support nested indexes.

@wking thanks for illuminating. I suppose this is just a rehash once again of the debates in #581 and #588 which I don't have the energy to rekindle.


Supported Android API Level?

Description
What is the least supported Android API Level? Currently I'm using mediapipe_android.aar from releases.
Can I change least supported Android API Level by changing --android_ndk_api_level from python build.py?

What is the least supported Android API Level? Currently I'm using mediapipe_android.aar from releases.

21 (NDK).
The release package was built by the Package workflow.
https://github.com/homuler/MediaPipeUnityPlugin/blob/d2608ea69676db2a798402a42e00abb9684d1252/.github/workflows/package.yml#L52

Can I change least supported Android API Level by changing --android_ndk_api_level from python build.py?

Yes.

What is the lowest NDK level/target SDK level that I can build/run mediapipe?

I think it depends on your Unity version.
At least, this native plugin does not export any java classes nor use the MediaPipe Java API.


Prioritize exact matches over splats

Is there a way to prioritize exact command pattern matches over splats? For example, given the following commands object:
let commands = {
        "hello *person":function () {
            console.log("general")
        },
        "hello there":function () {
            console.log("specific")
        }
    };

For the command "hello there", the library currently prints "general" (i.e., matches the first case). Is there a way to make this work so that it matches the second command since it is a complete match?

No. This isn't currently possible.
Do you have a suggestion on how to implement this in annyang without breaking existing functionality?


Display a banner warning the user that they are using the development version of the app

That was fast! Thank you!

Awesome!  Thank you.


Implement Request.clone

This is fairly straightforward by itself. I threw in a couple of additional commits that clean a few things up.  Let me know if you'd prefer splitting them off, though.
Fixes #84

Looks great. Since there isn't WPT coverage for this, can we add an integration test? For example, porting the cases from https://github.com/fastly/js-compute-runtime/blob/main/integration-tests/js-compute/fixtures/app/src/request-clone.js.

Perhaps we need to update wpt?
https://wpt.fyi/results/fetch/api/request/request-clone.sub.html?label=experimental&label=master&aligned

@JakeChampion we are on a recent WPT, we just don't run html tests.

@tschneidereit if it helps, I added a simple clone test here, which is giving an error just on this line:
deepStrictEqual([...newRequest.headers], [...request.headers], 'newRequest.headers');

with the stdout when that line is enabled (from tests/integration/fetch/stderr.log) reading:
stderr [0] :: Warning: Using a DEBUG build. Expect things to be SLOW.
stderr [0] :: "POST"
stderr [0] :: [-1] Assertion failure: isObjectOrNull(), at
stderr [0] :: /Users/gbedford/Projects/StarlingMonkey/deps/cpm_cache/spidermonkey-debug/76821ccb5a765a81c18400e00f9c7207f1fd9461/spidermonkey-debug/include/js/Value.h
stderr [0] :: :998
2024-07-30T00:10:41.598639Z ERROR wasmtime_cli::commands::serve: [0] :: Error {

I went ahead and pushed up a fix for the headers cloning bug, will land this later today.

Thank you for doing that! <3
Can you say what the fix actually was? That commit for me renders with lots of changes that seem to only change whitespace (even if I set the "ignore whitespace changes" flag) so it's hard to tell what actually changed

Oh, never mind: clicking on the commit in the email notification showed something entirely different from what I get when viewing only this commit in the PR itself 🤷🏻

Yes, I applied clang format by mistake, then pushed up the correction.

Ah, that makes sense!
As does the fix :)


How to visualize the winning rate curve in paper

How to visualize the winning rate through logged? Is there a corresponding code?

The plotting script used in the paper is not part of this package. However, it is straightforward to implement using the matplotlib library.

@samvelyan In which files are the experiment data for each episode saved?


SSL/HTTPS as a feature

Given the importance of SSL in the web today I strongly believe this should be a feature of Javalin, easily enabling SSL without the need to mess with the embedded Jetty server.
Also, we could make Javalin request a letsencrypt certificate automaticaly, enabling any user to trivialy, via a simple boolean option to fully enable ssl (as well as a domain string). This could easily be accomplished via acme4j
Maybe a 5.x milestone? Let me know what you think.

I'm not super comfortable being responsible for anything related to security, which is why I really like delegating this responsibility to Jetty. I'm fine with someone else taking ownership of this, but I wouldn't want it in the Javalin org.

Keeping various 3rd party plugins within the Javalin organization doesn't mean you're responsible for them directly and it's all on you. It never works this way tbh. It's more about gathering all of it in one place to build consistent environment around the project as it's just easier for people to explore it.

I'm inclined to agree with @dzikoysk , but I understand how @tipsy feels as well. Adding it to the org makes it more or less an "official" plugin, which can be interpreted as being more hardened than it might actually be.
However, HTTPS/SSL is a critical bit of serving APIs, so I'd love for it to be a part of the Javalin org due to both discoverability and ease of use.

By moving such projects to organization you're mostly just creating an area to address some side problems officially, but it's also healthier for ecosystem as more people may not only find it out, but also contribute to it. I guess it's all about making a clear policy, like labeling this repos as 3rd party integration.
Speaking of the issue - I don't think it should be a part of main project, because:

You can already configure SSL in Javalin, so it's all about automation (and it's just another topic tbh)
It uses 3rd party library acme4j
It perfectly fits as a plugin

In my opinion every feature enhancement should be considered firstly as a library/plugin and then if it's not possible, we should find out why and try to improve plugin api rather than pulling more and more codebase to the main module, making it harded to maintain.

I guess it's just about labeling thing properly, and making someone other than me the maintainer of the repo.

Lately I've found this library with support for Jetty:

https://github.com/Hakky54/sslcontext-kickstart

Easier to deal with clients for other than KeyStore formats, a little bit related to topic and the way how to simplify SSL management.

@zugazagoitia We have restructured the organization now, if you're interested I can create a repository in the org where you can work on this :)

That would be great! I'm about to graduate so I'll get working on it in a month or two.

Do you have a preferred name? javalin-ssl, javalin-sslutils, javalin-ssltools ? Something differnet?

I believe easier SSL management should be a feature on Javalin, given that Javalin already supports SSL, naming it that way could be kind of misleading. The letsencrypt automatic certificate plugin could be called javalin-acme. Thoughts?

I'm not comfortable having it in the main repo, so we will need to figure out a name for the module 🤔

I'm not comfortable having it in the main repo, so we will need to figure out a name for the module 🤔

No problem, I could implement both functionalities in the same plugin, let's just name it javalin-ssl, it's more direct.

Great, I'll make a repo and promote you to admin !

I think that javalin-ssl is not a right name for a plugin that targets acme which strictly targets letsencrypt, sth like javalin-acme4j/acme should be fine tho. javalin-ssl could be a name for sth like https://github.com/Hakky54/sslcontext-kickstart I've mentioned earlier and aims to support different formats and is a generic utility to simplify SSL experience in general 🤔

I got the impression that it would include both the required jetty stuff for SSL and something for letsencrypt.

I think that javalin-ssl is not a right name for a plugin that targets acme which strictly targets letsencrypt, sth like javalin-acme4j/acme should be fine tho. javalin-ssl could be a name for sth like https://github.com/Hakky54/sslcontext-kickstart I've mentioned earlier that aims to support different formats and is a generic utility to simplify SSL experience in general 🤔

First off I completely agree with the separation of concerns. I also think that acme and ssl should be separate concerns.
I know @tipsy is uncomfortable providing SSL configuration on Javalin, but I don't understand why, could you please elaborate?
I believe SSL should be something native to Javalin, not the certificate management but an abstraction to simply SSL configuration to end users who probably don't want to mess with Jetty (such as myself). A light configuration API that configures Jetty for the user.
SSLContext-kickstart could be implemented in a separate plugin from the acme client, but either way a basic SSL configuration would be a nice to have in Javalin itself.

We've agreed that Javalin builder should not inherit properties from Jetty's server configuration, it makes sense in a way that we won't cover all its properties anyway so it's just better to let user touch it manually. Lately we had a discussion about a standalone builder for Jetty configuration for 5.x, so it could be a place to address this issue, but in general setup of custom Server instance is quite simple.

Sure, and since I'm not aware of design decisions made for Javalin I'll leave it up to you both to decide what you believe it's best.

Hello, will you create this plugin? Thanks

Hello, will you create this plugin? Thanks

I'm working on it here. But don't expect any release before Javalin 5 is done.


Lyrics aren't fetched on the first try

I have a library of about 50k tracks I ran LRCGET on. It found lyrics for most of them which is great.
But when I ran it in the same folder again, lyrics for more tracks were found. I did that several times back-to-back and it always found lyrics for a few more tracks.
Any idea what causes this? Why can't lyrics for all tracks be fetched successfully in one run?

It is expected, you can see my answer in this issue for more explanation: https://github.com/tranxuanthang/lrcget/issues/132#issuecomment-2380089880

I somewhat refuse to believe lyrics for ~30% (about 4k) of my previous undetected songs popped up within 2 hours of the initial fetch

It always downloads lyrics if a track has only plain and not synced lyrics, maybe that is what is happening?

oh does it? weird
not sure how related it is but this also keep happenings when i'm running a scan on a  library where some songs already have their lyrics - multiple lines for the same track

@vlnka

not sure how related it is but this also keep happenings when i'm running a scan on a library where some songs already have their lyrics - multiple lines for the same track

It looks like it's a new bug unrelated to your original post, I'll check this out later today.

I somewhat refuse to believe lyrics for ~30% (about 4k) of my previous undetected songs popped up within 2 hours of the initial fetch

It is actually true, you might get a few more lyrics if you rerun after a couple of days (2 hours is sometimes too short).

It always redownloads lyrics if a track has only plain and not synced lyrics, maybe that is what is happening? I think it would be more clear if it said something like "Plain lyrics already downloaded" for those tracks
It also seems to always redownload even synced lyrics if you download for a specific album

@fineless71 I think it is not related to OP's issue. You can read more in #30

@vlnka

not sure how related it is but this also keep happenings when i'm running a scan on a library where some songs already have their lyrics - multiple lines for the same track

It looks like it's a new bug unrelated to your original post, I'll check this out later today.

I somewhat refuse to believe lyrics for ~30% (about 4k) of my previous undetected songs popped up within 2 hours of the initial fetch

It is actually true, you might get a few more lyrics if you rerun after a couple of days (2 hours is sometimes too short).

It always redownloads lyrics if a track has only plain and not synced lyrics, maybe that is what is happening? I think it would be more clear if it said something like "Plain lyrics already downloaded" for those tracks
It also seems to always redownload even synced lyrics if you download for a specific album

@fineless71 I think it is not related to OP's issue. You can read more in https://github.com/tranxuanthang/lrcget/issues/30

Regarding the issue where multiple lines show up for the same track, I've noticed that as well. Often happens if I scroll in the list while it's scanning. Happy to provide more info or try to recreate the issue if needed


Missing Shared Folders with Chef Provisioner

Describe the bug
Provisioning via Chef fails, complaining of missing shared folders that apparently the Vagrant built-in Chef plugin needs and automatically creates.
Debug output
https://gist.github.com/SeanSith/d789d44c133883451853ef6619f0ff6a
Expected behavior
A Vagrant VM with Ubuntu 24.04 should have been booted with NodeJS installed via the sous-chefs/nodejs cookbook.
Actual behavior
The Vagrant VM is booted, Chef Client is installed, but provisioning fails with the following error message:
Shared folders that Chef requires are missing on the virtual machine.
This is usually due to configuration changing after already booting the
machine. The fix is to run a `vagrant reload` so that the proper shared
folders will be prepared and mounted on the VM.

A vagrant reload --provision does not affect any change. We receive the same error message.
Reproduction information
Versions (please complete the following information)::

Operating system: macOS 15.1.1 (M3 Pro 2023)
UTM version [As seen in About UTM]: 4.6.3 (106)
Vagrant version [output of vagrant version]: 2.4.3
Vagrant flavour [Upstream or Distro]: Homebrew (upstream?)
Vagrant plugins versions (including vagrant_utm) [output of vagrant plugin list]:

vagrant_utm (0.1.1, global)
  - Version Constraint: > 0

Setup

mkdir -p test/cookbooks
cd test
Copy in the Vagrantfile below
git clone https://github.com/sous-chefs/nodejs cookbooks/nodejs
vagrant up --provision

Vagrantfile
Vagrant.configure("2") do |config|
  config.vm.box = "utm/ubuntu-24.04"

  config.vm.provision "chef_solo" do |chef|
    chef.arguments = '--chef-license accept'
    chef.add_recipe 'nodejs::default'
  end
end

I'm attempting to utilize Test Kitchen and Vagrant to test Chef cookbooks, and I believe this is impeding that work.

Hi, thanks for the bug report, I see the issue.
I have tested the Ansible provisioner it works well.
But, as you discovered both chef and puppet provisioners need directory sharing to be set up.
Currently, the plugin only provides a basic directory-sharing option exposed by UTM, which is just choosing the type of share.
However, choosing which directory to share and mounting the shared directory should be done manually, and plugin currently cannot automate this step because UTM does not expose share path.
I see that chef provisioner has synced_folder_type which can be set to nfs.
Let me investigate if I can support nfs backed synced folder without relying on UTM.

Update: Regarding the sync folder via NFS (https://github.com/naveenrajm7/vagrant_utm/tree/nfs)
It requires

NFS client packages in the guest
Root privileges in the host

I want to avoid both for now.
I will now try UTM-compatible methods for directory sharing.

Update:
UTM-compatible methods - WebDav, VirtFS and VirtioFS
Looked at all of them, there are so many things to take care , qemu args, macOS file permissions , host to guest uid gid mapping and more
So for now we added rsync support, which Vagrant gives out of the box and is available in the latest beta version v0.1.2.beta.
One caveat is, vagrant by default picks the sync method it prefers like SMB (not tested), since we are yet to implement default sync method via UTM, we need to force vagrant to pick the simple rsync method. So that means your Vagrantfile will now be
Vagrant.configure("2") do |config|
  config.vm.box = "utm/ubuntu-24.04"
  # Required to avoid SMB sync
  config.vm.synced_folder ".", "/vagrant", type: "rsync"

  config.vm.provision "chef_solo" do |chef|
    chef.synced_folder_type = 'rsync'
    chef.arguments = '--chef-license accept'
    chef.add_recipe 'nodejs::default'
  end
end

I test your steps, it works until a chef error came up , but that's not related to the plugin and I do not know chef.
You can try whenever you can.
You can pick the beta version using
vagrant plugin install vagrant_utm --plugin-version 0.1.2.beta

Thanks for trying plugin.


question about the batch size

Hi, thanks for sharing this great project. I notice that you assert batchsize==1. What's the consideration behind this choice and if I want to increase the batch size, which part should be taken care of? Thanks!

Hi! Indeed the functions "get_tracks_for_queries" and "get_tracks_from_first_to_every_other_frame" used in inference / evaluation scripts only support batch sizes of 1.
The main reason is that there is a similar assertion in CoTracker:
https://github.com/16lemoing/dot/blob/0b6c932552c0f49daaef49bdfbdabb847bcabd09/dot/models/shelf/cotracker_utils/predictor.py#L106

See also this related issue.
https://github.com/facebookresearch/co-tracker/issues/36
A new version of CoTracker has been released yesterday. Maybe this new version supports batch sizes greater than one.

Thanks for your patience and reply. May I ask another question. What is the purpose of this iteration, as _ is not called?
https://github.com/16lemoing/dot/blob/main/dot/models/point_tracking.py#L59

for _ in tqdm(range(N // S), desc="Track batch of points", leave=False):

This part of the code is the computation of initial tracks. N is the total number of initial tracks and S is the number of simultaneous tracks, so N // S is the number of batches of tracks. _ is not used since the order of batches does not matter. Tracks are initialized as follows: half of them at motion boundaries and half of them randomly.

Thanks for your prompt reply. I am still a bit confused. Which logic distinguishes these two types of initialization (at motion boundaries and randomly)?

https://github.com/16lemoing/dot/blob/main/dot/utils/torch.py#L40
The half and half logic seems to be in this function.
If I understand correctly, this line is to compute optical flow for motion boundaries and it only needs to be executed once?
https://github.com/16lemoing/dot/blob/main/dot/utils/torch.py#L40
And to iterate B//S times is to reduce the number of simultaneous tracks in co-tracker, for memory consideration?

If I understand correctly, this line is to compute optical flow for motion boundaries and it only needs to be executed once?

You are right. We do not need to compute the optical flow for every batch but only once.
I have updated the code as follows:
https://github.com/16lemoing/dot/blob/52b3e63afca4e044530818708b7b507982fe3687/dot/models/point_tracking.py#L65-L70

And to iterate B//S times is to reduce the number of simultaneous tracks in co-tracker, for memory consideration?

Yes. The number of simultaneous tracks in co-tracker has an effect on memory and tracking accuracy. You can use the flag --sim_tracks to try different values.

Thank you so much for your patient and detailed answer!

Multi batch is now possible in all training/inference modes. Hope this is useful.

Thanks for your support!


Fix threading bugs

This doesn't fix everything, but I think it fixes all the bits we care about that would keep it from shutting down correctly.

Sorry, I meant to send this to our fork. A lot of this work probably isn't acceptable to your guys, as is.


Use 'ogles_gpgpu' as a Hunter package instead of submodule

After stabilization, originally from https://github.com/elucideye/drishti/issues/192

Currently using GIT_SUBMODULE hunter feature.  This will likely be in co-develoment state for a while.  Closing.


chore(main): release ui5-cc-excelupload 0.12.1

:robot: I have created a release beep boop
0.12.1 (2023-04-07)
Bug Fixes

remove unused imports (#119) (2eea092)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/marianfoo/ui5-cc-excelUpload/releases/tag/ui5-cc-excelupload-v0.12.1 :sunflower:


document new option to write mcmc output

See https://github.com/nmfs-stock-synthesis/stock-synthesis/issues/70 and https://github.com/nmfs-stock-synthesis/stock-synthesis/pull/218 .
As of 3.30.19, there is a new option in the starter file:
2 # MCMC output detail

which will write separate Report and CompReport files for each sample during -mceval (named Report_mce_x.sso and CompReport_mce_x.sso) where x is the number sample and can be one or more digits.
This option is only used when running SS3 with mcmc.

Fix included in 6177cba7090879805699985056630851dbd301f7


Remove linaro

Remove linaro related stuff:

linaro-toolchain layer
meta-optee
unbuildable locale

Remove psplash which breaks mentor's one

looks good to me

Just have done


Suggestion: Snippet response support, helps with HTMX

I am playing around with Emmett on a couple of production products and i use htmx a lot. i found a solution around to response with html snippets and i can add support for it in the framework if it's a good idea.

i also want to add things like an htmx extension that adds full htmx support to make using htmx easy with Emmett as well as the ability to respond with a fragment of the template file like django-template-partials or jinja2-fragments. let me know guys if this is interesting i am happy to work on it.

@gi0baro thank you for your reply. your suggestion makes sense will include it. glad you think it's a good addition will work on it. :)


API - Control hardcoded clipToBounds() modifier

First, I like this library, great job. Second, I saw that you added this feature to the v3 milestone, but it's already 2 years without any progress. Please, merge it so I can use your library as a remote dependency, rather than a locally changed module.

Rather than changing the existing behavior, I think it is better to put an optional parameter clip with default value true (to maintain the current default behavior). How do you feel about it?

In terms of interoperability - yes. Let me redefine it, by introducing an optional clip param.

Done.

Looks good!


how to set vis-network background color?

Hi,
I tried to define the background color of my network graph to be lightgrey. I tried

But it didn't work. Would you please advise?
thanks,
Richard

You need to set the Css classes. I forget which one but have a look with firebug.  this is more of a vis question than for the angular directive I think...
Sent from my iPhone

On 30 Nov 2015, at 20:26, richardxy<EMAIL_ADDRESS>wrote:
Hi,
I tried to define the background color of my network graph to be lightgrey. I tried
But it didn't work. Would you please advise?
thanks,
Richard
—
Reply to this email directly or view it on GitHub.

Thanks. I've set the class for vis-network, and defined the style of that class in the css file. Still no luck. Would you, or anyone, please give an example snippet? Many thanks!

div.vis-network {
  background-color: red;
}


persist the UCD text list

I would be nice to have the UCD list (the one in text format) persisted in the IVOA document repository alongside the Endorsed Note, because it is used in some tooling and it might make it easier to be collected into the vocabularies repo.

I totally agree, and it was in my plans to do this. Thanks for the shortcut :-)


Excalidraw integration?

Will you ever make it work for excalidraw?

You mean embedding drawings in resulting documents like they were embedded in a canvas?
Or maybe converting an excalidraw drawing like a canvas and making a document out of it?

Converting an excalidraw drawing into a document

Excalidraw is much faster than canvas, and has more functionality. And they even have elbow arrows now. Perhaps that could be the way to set heiracy?

sorry, but it can't simply get transferred to handling Excalidraw. This would be something completely different.

close


DropDownButton horizontal content alignment

Wide DropDownButton's render the content including the arrow centered (attempted to use HorizontalContentAlignment to alter behavior but I have no idea if that should work or not). I would like to have the content left aligned and the arrow right aligned.
Is there some way to achieve this?
<Grid>
    <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Width="300">
        <Controls:DropDownButton Content="Country" Margin="5" HorizontalContentAlignment="Left" />
        <Controls:DropDownButton Content="State" Margin="5" HorizontalContentAlignment="Left" />
        <Controls:DropDownButton Content="Event" Margin="5" HorizontalContentAlignment="Left" />
        <Controls:DropDownButton Content="Workflow" Margin="5" HorizontalContentAlignment="Left" />
        <Button Content="Start" Click="Start_Click" Margin="5"
                Background="{DynamicResource AccentColorBrush}" />
    </StackPanel>
</Grid>

Using DropDownButton in this way is clearly not intended. Regular ComboBox makes more sense (at least for my application).


[BUG] OpenShift Local require access to port 443 which is used by another process

General information

OS: Windows
Running CRC on: Desktop with PodmanDesktop

CRC version
CRC version: 2.37.1+36d451
OpenShift version: 4.15.14

CRC status
DEBU CRC version: 2.37.1+36d451
DEBU OpenShift version: 4.15.14
DEBU Running 'crc status'
CRC VM:          Stopped
OpenShift:       Stopped (v4.15.14)
RAM Usage:       0B of 0B
Disk Usage:      0B of 0B (Inside the CRC VM)
Cache Usage:     36.45GB

CRC config
- consent-telemetry                     : no

Steps to reproduce
Start OpenShift Local from Podman Desktop
Expected
OpenShift Local start with on a new port or choose port in configuration
Actual
OpenShift Local start error: Error: failed to expose port :443 -> <IP_ADDRESS>:443: listen tcp :443: bind: An attempt was made to access a socket in a way forbidden by its access permissions.

Logs
Before gather the logs try following if that fix your issue
INFO Starting CRC VM for openshift 4.15.14...
failed to expose port :443 -> <IP_ADDRESS>:443: listen tcp :443: bind: An attempt was made to access a socket in a way forbidden by its access permissions.

Some background is part of https://github.com/crc-org/crc/issues/4124 and it is fixed and will be available on upcoming release 2.38.x which going to happen this week. As of now there is no option in podman desktop, crc extension side to choose a different port so better to use the cli as mentioned in the the original issue.

you can run the command mentioned in this comment: https://github.com/crc-org/crc/issues/4124#issuecomment-2072383036 to choose a different port

Thank you for your help. I will wait for the 2.38 release.


Embedding custom pptx template within executable file

I have written a code that takes several pictures from a folder and collates them into a company-specific PowerPoint template. Within the code, I am indicating the location of the template, which is in the same directory as the .py file. However, upon creating a .exe file it results in an error in the line that specifies the template of the presentation:
template = os.getcwd() + '\\template.pptx'
prs = Presentation(template) ### ERROR OCCURS HERE

Is there a way to embed my own power point template while building .exe file. I have tried putting it into .spec file, by indicating the location of the custom pptx template in datas, which I put into the site-packages as follows:

p = "C:\\Users\\<username>\\AppData\\Local\\Programs\\Python\\Python39\\Lib\\site-packages\\pptx\\templates\\my_template.pptx"

block_cipher = None

a = Analysis(['Pictures_to_Slides.py'],
         pathex=[],
         binaries=[],
         datas=[ (p, '.\\pptx\\templates\\') ],
         hiddenimports=[],
         hookspath=[],
         hooksconfig={},
         runtime_hooks=[],
         excludes=[],
         win_no_prefer_redirects=False,
         win_private_assemblies=False,
         cipher=block_cipher,
         noarchive=False)
pyz = PYZ(a.pure, a.zipped_data,
         cipher=block_cipher)

After doing this the .exe file was  created successfully but again resulted in error at the stage of declaring Presentation("my_template.pptx)
Does anybody have an experience with building custom pptx templates within .exe files?

I have the same issue but on macOS and without the custom template. As soon as I build a binary file to run this in a terminal window, I get these errors:
Traceback (most recent call last):
File "PP_Report_Gen.py", line 184, in
File "PP_Report_Gen.py", line 53, in create_presentation
File "pptx/api.py", line 28, in Presentation
File "pptx/opc/package.py", line 73, in open
File "pptx/opc/package.py", line 157, in _load
File "pptx/opc/package.py", line 186, in load
File "pptx/opc/package.py", line 190, in _load
File "pptx/util.py", line 215, in get
File "pptx/opc/package.py", line 219, in _parts
File "pptx/util.py", line 215, in get
File "pptx/opc/package.py", line 203, in _content_types
File "pptx/opc/serialized.py", line 35, in getitem
File "pptx/util.py", line 215, in get
File "pptx/opc/serialized.py", line 49, in _blob_reader
File "pptx/opc/serialized.py", line 135, in factory
pptx.exc.PackageNotFoundError: Package not found at '/var/folders/4j/3vvncgj534n0lp0g5c1pbgkw0000gn/T/_MEIorqIds/pptx/templates/default.pptx'
[61955] Failed to execute script 'PP_Report_Gen' due to unhandled exception!
It looks like that the pyhton-pptx is looking for a default template. (/pptx/templates/default.pptx)
If you could tell me where this file is located or how I can tell the program where to find it, that would be awesome.

OK, I found the solution:
Iin the folder where I have the python script, I created a new folder called pptxTemplate
In my code I use this to locate the template:
`# Get the path of the template
template_path = os.path.dirname(os.path.abspath(file))
Get the directory of the template
source_folder = os.path.join(template_path, "pptxTemplate")
Construct the path to the image file
template_file_path = os.path.join(source_folder, "ocuair_template.pptx")`
In my def, where I create the PowerPoint, I use this:
# Load the template presentation presentation = Presentation(template_file_path)
When I compile the program I use the following command:
pyinstaller PP_Report_Gen.py \ 	--onefile \ 	--add-data="./pptxTemplate:pptxTemplate" \ 	--target-arch universal2 \ 	-n ppt-generator
Now the program works on both CPUs, Intel and Apple Silicon.
I hope this helps.


Typo fix in stackdriver-exporter/README.md: "for this to exporter to work"->"for this exporter to work"

Line 4: for this to exporter to work->for this exporter to work.
Line 61-68: First letter in capital.

/assign @unguiculus

/assign @timstoop
Hello, This typo is very obvious, Please can you prove it? It's here already one week.
Thanks a lot!

/ok-to-test

/lgtm


allow a boolean false as default value

I think it makes sense to allow a boolean value like false as a default value, so I implemented it :)

Looking at the code it totally makes sense. Let see what @AMHOL have to say about this. Maybe is like this by design

Nope, not by design, thanks :smile:


Display all Pokestops doesn't work

no pokestops are displayed

It looks like it was stripped from the code to make it run faster. You can copy back some of the code from the original PokemonGo-Map repo (like in static\map.js) but there were some changes made (like when checking the actual checkbox value vs the one set in the localStorage).

It's not stripped. I just wasn't implemented. (We didn't branch off from PokemonGo-Maps, they branched off from us.)

I just noticed it's on todo list. sorry. I really like this project, so I'm dumping my ideas :)

@nborrmann I've been working on displaying pokestops, but I've kind of realized that the bulk of the work (especially the html labels) have already been done by people over at https://github.com/AHAAAAAAA/PokemonGo-Map.
What do you think about asking them if it's fine to use their code as reference?

lol they pulled lots of code (especially js) from us as well (without asking). There's even my comments still in their code.
So just go with it I guess. But make sure it's high quality.

Any chance to get this working again?

Loving the speed and simplicity of pogom compared to PokemonGo-Map, but this is one thing I really wish was implemented. Pokestops & lured Pokémon

so there is now way to enable pokestops?


bug fix for #108

Bug fix: Enabling “Flash on page change” gives a black screen on page change. #108. fixed by not drawing anything on canvas after display refresh which essentially clears the screen

Fixed the issue in a slightly different way in 38d6ab80ce868707829dbc81de4170afe3c2f2a5


Deployment troubles since HA 2022.2

Hi,
Since this year I'm struggling to update my HA installation because easycontrols doesn't launch anymore and so far I haven't found the cause for it.
Last (tested) working HA version: 2021.12.9 / easycontrols 0.2.3
The most recent test was with:
HA 2022.3.1 (docker, pulled from tag "ghcr.io/home-assistant/raspberrypi3-homeassistant:stable")
easycontrols release 0.50 (installed as manual deployment in /custom_components)
The integration doesn't load with this error in HA:

Logger: homeassistant.config_entries
Source: custom_components/easycontrols/__init__.py:50
Integration: Helios Easy Controls (documentation, issues)
First occurred: 8:45:09 PM (1 occurrences)
Last logged: 8:45:09 PM

Error setting up entry Helios KWL EC 370W R (KWL) for easycontrols
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 335, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/easycontrols/__init__.py", line 50, in async_setup_entry
    if not is_controller_exists(hass, config_entry.data[CONF_MAC]):
KeyError: 'mac'

Hi @knorp,
Please try to remove the installed device from HA and readd it. The mentioned mac field in the error message related to a breaking change which was introduced in v0.5.0.

Hi,
thanks for the quick response!
Removing the whole integration and re-adding it worked like a charm. With the same name assigned no previous dashboards etc have been impacted by it either.


Add Azure image listing to workflow

Example output: https://github.com/redhatcloudx/rhelocator/actions/runs/3240256203

@FKolwa This looks good, but it would be better to use @miyunari's mkdir -p suggestion to avoid confusion.

@FKolwa This looks good, but it would be better to use @miyunari's mkdir -p suggestion to avoid confusion.

Agreed


feat: update main.yml

#186  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tremarkley and the rest of your teammates on  Graphite


correct whitespace in Epochs implementation

While trying to enable swift-format based linting, these files were
noted to have whitespace errors.  Correct the errors to allow enabling
the linter.

Manually had to do it for now ... trying to split off the changes so that enabling the auto-application of the lint/formatting is done once 5.2 has the needed change backported.


Create seed phrase option on add-key

The problem:
There is currently no way in the CLI to add a seed phrase to an already existing account. As a result, if an account was generated on the CLI, it is not easy to also add it on the web wallet.
The solution:
If add-key is called not with a public key, but with the --seedPhrase option, the key generated by that seed phrase is added to the account

yes my bad, I confused add-key & generate-key when talking about "overwrites".
A few things about your code:

Setting access-key required to false changes the behavior of the command.
It's no more a 2nd arg but an option --access-key. Which means part 1 in README should be edited too (as well as doc pages)

Also, since it's a non-required option, a non-empty check should be added before calling await account.addKey(options.accessKey at line 55 in order to avoid this error

Adding full access key = undefined to example.testnet.
An error occured
TypeError: Cannot read properties of undefined (reading 'borshSerialize')
    at serializeStruct (/private/tmp/near-cli/node_modules/borsh/lib/index.js:302:20)
...

I would not console.log the mnemonic for security reasons (or maybe you wanted to write seedPhrasePublicKey at line 44?)

Otherwise yes I think this improve ux. We could even have an option to auto generate the seed phrase.

Updated the readme, and PR to update the docs: https://github.com/near/docs/pull/1102
Added a non-empty check
Removed seed phrase from console log


Added Random User Generator

Hey Marko,
I have added Random User Generator in the Others section. This tool is great for using fake human avatars in Web Dev projects.
Link: https://randomuser.me/

@NithishKumar-13 Please remove all the formatting added, it'll make a bunch of merge conflicts with ongoing PRs. Thanks!
Closing for now, feel free to reopen.


project requirements

Project 3: Coding Requirements

[ ] Use React for the front end.
[ ] Use GraphQL with a Node.js and Express.js server.
[ ] Use MongoDB and the Mongoose ODM for the database.
[ ] Use queries and mutations for retrieving, adding, updating, and deleting data.
[ ] Use a polished UI.
[ ] Be deployed using Heroku (with data).
[ ] Be interactive (i.e., accept and respond to user input)
[ ] Include authentication (JWT).


MoveFile with Folders

Hello,
In my code, when someone tries to move one folder to another that already exists, with the replace boolean set to false,
he receives NtStatus.ObjectNameCollision, just like in the scenario with files.
When I run my code, and try to do this operation, it just fails, and there is no prompt window that asks me if I want to replace the existing directory.
The operation does work with files, just not with folders.
Maybe I should return a different error code?
Help will be appreciated.

Hi @shlatchz ,
Yes, NtStatus.ObjectNameCollision is the good value to return.
Because of your report, I tested with the mirror and found that MoveFile was not supporting directories :laughing:
So I made it for making your test https://github.com/dokan-dev/dokan-dotnet/commit/0026d1d3b6487554d6209432598ff435309370b3
Unfortunatly, I have also not been able to get a windows prompt.
BUT I made a test with normal NTFS volume and I get also no prompt.
Do you have a exemple where in NTFS volume you get a prompt and not in dokan ?

I just tried moving Directory named "A" to directory "B" that contains a directory named "A" in it,
and I did get a prompt.

I cannot make the test :cry: It seems that in windows 10, he directly merge the two folders.
Otherwise you can use Process Monitor https://technet.microsoft.com/en-us/library/bb896645.aspx
To see what is the answer of the NTFS Volume at the merge time and compare with your code.

Weirdly the bug only happens when I drag (Move) folder "A" to folder "B" (when "A" exists inside "B")
but it doesn't happen when I copy folder "A" to folder "B".
When I copy, I see the message that folder "A" exists in "B".
Procmon shown "Name Collision" in both instances...

I made my test when I drag, could not get the merge message.
Anyway, I don't think it is a dokan issue. Explorer react on the information that you provide.
Maybe there is still a difference, but I cannot tell you which.

You are right. There was an issue when a folder was passed in CreateFile.
Thanks!


Build debian package

Hi @mosquito! Please check this out.
Adding package builds using github actions on every tag. Note, tags should have digit as first symbol.

Thank you for your contribution. I was inspired by your changes, and I suggest looking at how DEBIAN/control generation is implemented in the current repository HEAD.


Bump operator version for 3.6 Beta 2

https://github.ibm.com/IBMPrivateCloud/roadmap/issues/42690
https://github.ibm.com/IBMPrivateCloud/roadmap/issues/42467

/lgtm


Gradients do not exist for variables ['clustering/clusters:0'] when minimizing the loss.

I tried to change to another dataset, but tensorflow came up with the following warning during training and couldn't find a solution. This bothers me a lot.
WARNING:tensorflow:Gradients do not exist for variables ['clustering/clusters:0'] when minimizing the loss.

Are you using single-cell data? scTAG is more suitable for single-cell data with strong sparsity. If not, you can also do some feature selection processing on the data.

Are you using single-cell data? scTAG is more suitable for single-cell data with strong sparsity. If not, you can also do some feature selection processing on the data.
Thanks for your answer! I am using spatial resolved transcriptomics data, which also has strong sparsity. What do you suggest I should check to resolve this warning?
The warning code appears as the gradient update statement: optimizer.apply_gradients(zip(grads, vars))

i think you should compare your model performance with scDeepCluster,  which you cited.  your work add a graph autoencoder module baes the scDeepCluster


Missing step in Windows install instructions

https://github.com/lillian-lemmer/hypatia/wiki/Installation-Instructions#windows
Step 2 should be installing pygame.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/22834059-missing-step-in-windows-install-instructions?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).

That's covered in step 3. I did notice, however, that I don't go over how to install the Hypatia package for Windows.

Okay, this should be resolved, see: https://github.com/lillian-lemmer/hypatia/wiki/Installation-Instructions#3-download-a-file-and-enter-a-command
Does this resolve your issue?


Completed notes should be at the bottom

When a note has been marked as completed, it should automatically move to the bottom of the notebook. Marking it incomplete again should bring it back to its original position.

[ ] Take care of adding notes. They should appear at the top.
[ ] Completed note should stay at the bottom, and when a note is completed it should go to the bottom.


Unable to send whatsapp messages to unknown/unsaved numbers

Dear Members, please help me regarding whatsapp messages send by ALRIGHT ... it starts happens when whatsapp updates themselves
i have a unsaved number and i am trying to send messages but error is returning
2022-11-22 11:54:15,478 - root -- [INFO] >> 4
my code is under

from alright import WhatsApp
messenger = WhatsApp()
messenger.find_user('+923461234567')

i also tried without + sign but unable to send

This error message shows that the number you're trying to find does not have a valid WhatsApp Account.

This Method will only work for numbers with valid account otherwise it will fail

@syedizhar1979

Dear Mr. Kalebu, i am using the valid number on it but it only allows me to send message for those who are already added in my contact list/whatsapp list
so i am trying to clear you once again that on unknown/unsaved your code is not working

you can check this number +923468203866, this is original number of my customer, which is not added in my contact list or whatsapp list
so this is new number/unknown number or unsaved number, where whatsapp is not allowing to send direct message
and giving error

the above whatsapp picture showing that number is exist on whatsapp

i would like to advise you all that please check this alright wrapper code on new/unsaved/unknown whatsapp number, now whatsapp increases the security last week through its new update, please check

Thank you for clarifying and letting us know
We look into and see if there are ways around this
@syedizhar1979  @euriconicacio

@Kalebu i am waiting for this

I encounter the same issue..
Worked 2 weeks ago and now fails to find unsaved contacts

@Kalebu looks like the issue is resolved

@Kalebu yes thanks, issue resolved but what was the issue? you update it or Whatsapp did it by themselves ???

Good to hear this  @syedizhar1979  @matanmoshe
I haven't changed anything, It was an update done WhatsApp  themselves
I will now close this issue


NuGet osx-arm64 package broken

What version of OR-Tools and what language are you using?
Version: 9.5.2237.0
Language: C#
Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP, Gurobi)
N/A
What operating system (Linux, Windows, ...) and version?
MacOS Ventura 13.5
What did you do?
I have been trying to use OR-Tools in a C# .NET project, but when running there is always an error with loading a file/assembly. The error shows up even when trying to run the example project linked to in the install guide.
The example project gives the following error message:
pederlh@Peders-MacBook-Air:~/Repositories/dotnet_or-tools$ dotnet run -c release
/usr/local/share/dotnet/sdk/7.0.302/Microsoft.Common.CurrentVersion.targets(2352,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "/Users/pederlh/.nuget/packages/google.ortools/9.5.2237/lib/net6.0/Google.OrTools.dll", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [/Users/pederlh/Repositories/dotnet_or-tools/project.csproj]
Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'Google.OrTools, Version=9.5.2237.0, Culture=neutral, PublicKeyToken=53dbb1ea090cbef7'. The system cannot find the file specified.

File name: 'Google.OrTools, Version=9.5.2237.0, Culture=neutral, PublicKeyToken=53dbb1ea090cbef7'

In addition, following the guide on building from source also leads to failure, and gives a similar error message
pederlh@Peders-MacBook-Air:~/Repositories/or-tools_arm64_macOS-13.2.1_dotnet_v9.6.2534$ make test
/Library/Developer/CommandLineTools/usr/bin/make run SOURCE=examples/3_jugs_regular/3_jugs_regular.cs
"/opt/homebrew/bin/dotnet" build examples/3_jugs_regular/project.csproj
MSBuild version 17.6.1+8ffc3fe3d for .NET
  Determining projects to restore...
/Users/pederlh/Repositories/or-tools_arm64_macOS-13.2.1_dotnet_v9.6.2534/examples/3_jugs_regular/project.csproj : warning NU1701: Package 'Google.OrTools 9.6.2534' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project.
  Restored /Users/pederlh/Repositories/or-tools_arm64_macOS-13.2.1_dotnet_v9.6.2534/examples/3_jugs_regular/project.csproj (in 1,72 sec).
/Users/pederlh/Repositories/or-tools_arm64_macOS-13.2.1_dotnet_v9.6.2534/examples/3_jugs_regular/project.csproj : warning NU1701: Package 'Google.OrTools 9.6.2534' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project. [TargetFramework=netcoreapp3.1]
/usr/local/share/dotnet/sdk/7.0.302/Microsoft.Common.CurrentVersion.targets(2352,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "/Users/pederlh/.nuget/packages/google.ortools/9.6.2534/lib/net46/Google.OrTools.dll", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [/Users/pederlh/Repositories/or-tools_arm64_macOS-13.2.1_dotnet_v9.6.2534/examples/3_jugs_regular/project.csproj::TargetFramework=netcoreapp3.1]
/Users/pederlh/Repositories/or-tools_arm64_macOS-13.2.1_dotnet_v9.6.2534/examples/3_jugs_regular/project.csproj : warning NU1701: Package 'Google.OrTools 9.6.2534' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project. [TargetFramework=net6.0]
/usr/local/share/dotnet/sdk/7.0.302/Microsoft.Common.CurrentVersion.targets(2352,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "/Users/pederlh/.nuget/packages/google.ortools/9.6.2534/lib/net6.0/Google.OrTools.dll", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [/Users/pederlh/Repositories/or-tools_arm64_macOS-13.2.1_dotnet_v9.6.2534/examples/3_jugs_regular/project.csproj::TargetFramework=net6.0]
  project -> /Users/pederlh/Repositories/or-tools_arm64_macOS-13.2.1_dotnet_v9.6.2534/examples/3_jugs_regular/bin/Debug/netcoreapp3.1/Google.OrTools.3_jugs_regular.dll
  project -> /Users/pederlh/Repositories/or-tools_arm64_macOS-13.2.1_dotnet_v9.6.2534/examples/3_jugs_regular/bin/Debug/net6.0/Google.OrTools.3_jugs_regular.dll

Build succeeded.

/Users/pederlh/Repositories/or-tools_arm64_macOS-13.2.1_dotnet_v9.6.2534/examples/3_jugs_regular/project.csproj : warning NU1701: Package 'Google.OrTools 9.6.2534' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project.
/Users/pederlh/Repositories/or-tools_arm64_macOS-13.2.1_dotnet_v9.6.2534/examples/3_jugs_regular/project.csproj : warning NU1701: Package 'Google.OrTools 9.6.2534' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project. [TargetFramework=netcoreapp3.1]
/usr/local/share/dotnet/sdk/7.0.302/Microsoft.Common.CurrentVersion.targets(2352,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "/Users/pederlh/.nuget/packages/google.ortools/9.6.2534/lib/net46/Google.OrTools.dll", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [/Users/pederlh/Repositories/or-tools_arm64_macOS-13.2.1_dotnet_v9.6.2534/examples/3_jugs_regular/project.csproj::TargetFramework=netcoreapp3.1]
/Users/pederlh/Repositories/or-tools_arm64_macOS-13.2.1_dotnet_v9.6.2534/examples/3_jugs_regular/project.csproj : warning NU1701: Package 'Google.OrTools 9.6.2534' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project. [TargetFramework=net6.0]
/usr/local/share/dotnet/sdk/7.0.302/Microsoft.Common.CurrentVersion.targets(2352,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "/Users/pederlh/.nuget/packages/google.ortools/9.6.2534/lib/net6.0/Google.OrTools.dll", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [/Users/pederlh/Repositories/or-tools_arm64_macOS-13.2.1_dotnet_v9.6.2534/examples/3_jugs_regular/project.csproj::TargetFramework=net6.0]
    5 Warning(s)
    0 Error(s)

Time Elapsed 00:00:03.13
"/opt/homebrew/bin/dotnet" run --no-build --framework net6.0 --project examples/3_jugs_regular/project.csproj --
Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'Google.OrTools, Version=9.6.2534.0, Culture=neutral, PublicKeyToken=37e4c4e778bf1216'. The system cannot find the file specified.

File name: 'Google.OrTools, Version=9.6.2534.0, Culture=neutral, PublicKeyToken=37e4c4e778bf1216'
   at ThreeJugsRegular.Solve(Int32 n)
   at ThreeJugsRegular.Main(String[] args) in /Users/pederlh/Repositories/or-tools_arm64_macOS-13.2.1_dotnet_v9.6.2534/examples/3_jugs_regular/3_jugs_regular.cs:line 278
make[1]: *** [run] Error 134

Few issue here:

Why your platform is MSIL ? (should be osx-arm64 or osx-x64 imho)
ref: https://learn.microsoft.com/en-us/dotnet/api/microsoft.build.utilities.processorarchitecture.msil

Can you give me the output of dotnet --info
you should have something like this

%dotnet --info
.NET SDK:
 Version:   7.0.304
 Commit:    7e794e2806
Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  13.5
 OS Platform: Darwin
 RID:         osx.13-arm64 // NOTICE THE RID HERE
 Base Path:   /usr/local/share/dotnet/sdk/7.0.304/
Host:
  Version:      7.0.7
  Architecture: arm64 // AND ARCHITECTURE HERE
  Commit:       5b20af47d9
.NET SDKs installed:
  7.0.304 [/usr/local/share/dotnet/sdk]
.NET runtimes installed:
  Microsoft.AspNetCore.App 7.0.7 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 7.0.7 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
  None
Environment variables:
  Not set
global.json file:
  Not found
Learn more:
  https://aka.ms/dotnet/info
Download .NET:
  https://aka.ms/dotnet/download

My bad https://github.com/or-tools/dotnet_or-tools is still in v9.5, you can try to change
https://github.com/or-tools/dotnet_or-tools/blob/69a9f11b12cd9f9b6a0579458d5e3d8958870a6c/project.csproj#L45 to set 9.6.* instead

Thanks for the quick reply!

I'm not 100% sure about the MSIL platform, but I think it has to do with the .csproj file using the default Any CPU target platform. If I add

<PropertyGroup>
   <PlatformTarget>x64</PlatformTarget>
</PropertyGroup>

to the project the warning disappears, but the code still doesn't run.
pederlh@Peders-MacBook-Air:~/Repositories/dotnet_or-tools$ dotnet run -c Release
Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'Google.OrTools.BasicExample, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.

https://learn.microsoft.com/en-us/visualstudio/msbuild/errors/msb3270?view=vs-2022
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/output#platformtarget

pederlh@Peders-MacBook-Air:~/Repositories/dotnet_or-tools$ dotnet --info
.NET SDK:
 Version:   7.0.302
 Commit:    990cf98a27

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  13.5
 OS Platform: Darwin
 RID:         osx.13-arm64
 Base Path:   /usr/local/share/dotnet/sdk/7.0.302/

Host:
  Version:      7.0.5
  Architecture: arm64
  Commit:       8042d61b17

.NET SDKs installed:
  6.0.408 [/usr/local/share/dotnet/sdk]
  7.0.202 [/usr/local/share/dotnet/sdk]
  7.0.302 [/usr/local/share/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.16 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 7.0.4 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 7.0.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.16 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 7.0.4 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 7.0.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
  x64   [/usr/local/share/dotnet/x64]
    registered at [/etc/dotnet/install_location_x64]

Environment variables:
  Not set

global.json file:
  Not found

Learn more:
  https://aka.ms/dotnet/info

Download .NET:
  https://aka.ms/dotnet/download

Changing the version number to 9.6.* still doesn't help. When not editing the target platform, I get

pederlh@Peders-MacBook-Air:~/Repositories/dotnet_or-tools$ dotnet run -c Release
/usr/local/share/dotnet/sdk/7.0.302/Microsoft.Common.CurrentVersion.targets(2352,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "/Users/pederlh/.nuget/packages/google.ortools/9.6.2534/lib/net6.0/Google.OrTools.dll", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [/Users/pederlh/Repositories/dotnet_or-tools/project.csproj]
Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'Google.OrTools, Version=9.6.2534.0, Culture=neutral, PublicKeyToken=37e4c4e778bf1216'. The system cannot find the file specified.

File name: 'Google.OrTools, Version=9.6.2534.0, Culture=neutral, PublicKeyToken=37e4c4e778bf1216'

some test locally:

need to use dotnet nuget locals all --clear between test to clear dotnet package cache
note: also use rm -rf bin obj to clean up project

Seems to work with 9.4.*

[0]─[~/work/repo/dotnet_or-tools]-[main]
[^v^]─me@host %dotnet build -c Release
[0]─[~/work/repo/dotnet_or-tools]-[main]
[*v*]─me@host %otool -L  /Users/me/.nuget/packages/google.ortools.runtime.osx-arm64/9.4.1874/runtimes/osx-arm64/native/libortools.9.dylib
/Users/me/.nuget/packages/google.ortools.runtime.osx-arm64/9.4.1874/runtimes/osx-arm64/native/libortools.9.dylib:
	@rpath/libortools.9.dylib (compatibility version 9.0.0, current version 9.4.0)
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1858.112.0)
	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1300.23.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1311.100.3)
[0]─[~/work/repo/dotnet_or-tools]-[main]
[^v^]─me@host %dotnet run -c Release
Number of variables = 2
Number of constraints = 1
Solution:
Objective value = 4
x = 1
y = 1

but fail with 9.5 or 9.6....
[0]─[~/work/repo/dotnet_or-tools]-[main]
[^v^]─me@host %dotnet build -c Release
[0]─[~/work/repo/dotnet_or-tools]-[main]
[^v^]─me@host %otool -L  /Users/corentinl/.nuget/packages/google.ortools.runtime.osx-arm64/9.*/runtimes/osx-arm64/native/libortools.9.dylib
/Users/corentinl/.nuget/packages/google.ortools.runtime.osx-arm64/9.6.2534/runtimes/osx-arm64/native/libortools.9.dylib:
	@rpath/libortools.9.dylib (compatibility version 9.0.0, current version 9.6.0)
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1953.255.0)
	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1300.36.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1319.0.0)
[0]─[~/work/repo/dotnet_or-tools]-[main]
[^v^]─me@host %dotnet run -c Release
Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'Google.OrTools, Version=9.6.2534.0, Culture=neutral, PublicKeyToken=37e4c4e778bf1216'. The system cannot find the file specified.

File name: 'Google.OrTools, Version=9.6.2534.0, Culture=neutral, PublicKeyToken=37e4c4e778bf1216'

still investigating...

Last test using or-tools main branch to build an osx-arm64 "only" package then hacking project RessourcePath to find them
project.csproj:
 <!-- Dependencies -->
  <PropertyGroup>
    <RestoreSources>../../main/export;$(RestoreSources);https://api.nuget.org/v3/index.json</RestoreSources>
  </PropertyGroup>

  <ItemGroup>
    <Compile Include="BasicExample.cs" />
    <PackageReference Include="Google.OrTools" Version="9.7.*" />
  </ItemGroup>

[0]─[~/work/repo/dotnet_or-tools]-[main]
[^v^]─me@host %otool -L  /Users/corentinl/.nuget/packages/google.ortools.runtime.osx-arm64/9.*/runtimes/osx-arm64/native/libortools.9.dylib
/Users/corentinl/.nuget/packages/google.ortools.runtime.osx-arm64/9.7.2996/runtimes/osx-arm64/native/libortools.9.dylib:
	@rpath/libortools.9.dylib (compatibility version 9.0.0, current version 9.7.0)
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1971.0.0)
	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1500.65.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1319.100.3)
[0]─[~/work/repo/dotnet_or-tools]-[main]
[^v^]─me@host %dotnet run -c Release
Number of variables = 2
Number of constraints = 1
Solution:
Objective value = 4
x = 1
y = 1

seems related to:

https://github.com/google/or-tools/issues/3661

Using 9.4.* seems like a quick temp fix 👍🏼

Investigating v9.7
If replacing the google.ortools.dll from the meta package from nuget by the one built locally only for macos arm64, it will works...
pseudo code
# clean all package cache
$ dotnet nuget locals all --clear

$ cd dotnet_ortools # hack project.csproj to use `9.7.*`
$ dotnet run -c Release # this will pull the nuget package

cd ~/.nuget/packages/google.ortools/9.7.2996/lib/net6.0

According to my experience, building a meta package on macos-aarm64 does not help. Still had to swap the dll.

Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'Google.OrTools, Version=9.7.2996.0, Culture=neutral, PublicKeyToken=53dbb1ea090cbef7'. The system cannot find the file specified.
The same issue is on the latest version of Google Or Tools,  I'm using Mac Venture (13.5) with M2 Chip and Visual Studio 2022 with targeting framework 7.
While on the server root directory of the project, the Google.OrTools.dll file exists, but it still says File not found exception.
Any solution ?

I'm using macOS 13.5 (Venture) with an M2 Chip, and I'm working with Visual Studio 2022 and .NET 7. I also have Google OR-Tools version 9.7.2996 installed. I encountered an issue, but I managed to resolve it. Here are the steps I followed:

Change your build settings from x64/x86 to Any CPU.

On the server, within your app service, navigate to the "Configuration" settings. Under "General Settings," locate the "Platform Setting" and switch it from 32-bit to 64-bit.

If the issue still persists, you can manually check if a DLL file exists on your local system at this path: /Users/user/.nuget/packages/google.ortools/9.7.2996/lib/net6.0/Google.OrTools.dll

If the DLL file doesn't exist at that location, you can try deleting the "packages" folder at this path: /Users/user/.nuget/

After deleting the "packages" folder, close your project and then reopen it. The "packages" folder should be recreated automatically, and you should find the DLL file in the specified path.

By following these steps, I was able to resolve my issue.

Need to postpone to v9.9 (or at least didn't find why and how to fix it in a day)
My dev note:
v9.4
%unzip -l google.ortools.9.4.1874.nupkg
Archive:  google.ortools.9.4.1874.nupkg
  Length      Date    Time    Name
---------  ---------- -----   ----
      504  2022-08-11 14:35   _rels/.rels
     2248  2022-08-11 14:35   Google.OrTools.nuspec
  1601536  2022-08-11 12:35   lib/net6.0/Google.OrTools.dll
   727743  2022-08-11 12:35   lib/net6.0/Google.OrTools.xml
  1601536  2022-08-11 12:35   lib/netcoreapp3.1/Google.OrTools.dll
   727743  2022-08-11 12:35   lib/netcoreapp3.1/Google.OrTools.xml
    13822  2022-06-23 14:40   content/bop/bop_parameters.proto
     1763  2022-08-09 09:51   content/constraint_solver/assignment.proto
      988  2022-08-09 09:51   content/constraint_solver/demon_profiler.proto
     6656  2022-06-23 14:40   content/constraint_solver/routing_enums.proto
    27591  2022-06-23 14:40   content/constraint_solver/routing_parameters.proto
     1444  2022-06-23 14:40   content/constraint_solver/search_limit.proto
     3275  2022-06-23 14:40   content/constraint_solver/search_stats.proto
     3851  2022-06-23 14:40   content/constraint_solver/solver_parameters.proto
    24218  2022-06-23 14:40   content/glop/parameters.proto
     3161  2022-06-23 14:40   content/graph/flow_problem.proto
    30232  2022-06-23 14:40   content/linear_solver/linear_solver.proto
    18209  2022-06-23 14:40   content/pdlp/solvers.proto
    17346  2022-06-23 14:40   content/pdlp/solve_log.proto
     4725  2022-06-23 14:40   content/sat/boolean_problem.proto
    34080  2022-06-23 14:40   content/sat/cp_model.proto
     1363  2022-06-23 14:40   content/sat/cp_model_service.proto
    63760  2022-08-09 09:51   content/sat/sat_parameters.proto
     1347  2022-06-23 14:40   content/util/optional_boolean.proto
     6141  2020-04-27 07:55   content/orLogo.png
      647  2022-08-11 14:35   [Content_Types].xml
      731  2022-08-11 14:35   package/services/metadata/core-properties/2bf5c396282845a48b853e4c4ae536e0.psmdcp
     9476  2022-08-16 09:23   .signature.p7s
---------                     -------
  4936136                     28 files

vs v9.7
unzip -l Google.OrTools.9.7.2996.nupkg
Archive:  Google.OrTools.9.7.2996.nupkg
  Length      Date    Time    Name
---------  ---------- -----   ----
      508  2023-08-09 09:07   _rels/.rels
     2336  2023-08-09 09:07   Google.OrTools.nuspec
  1716736  2023-08-09 16:07   lib/net462/Google.OrTools.dll
   806496  2023-08-09 16:07   lib/net462/Google.OrTools.xml
  1716736  2023-08-09 16:07   lib/net6.0/Google.OrTools.dll
   806496  2023-08-09 16:07   lib/net6.0/Google.OrTools.xml
    14109  2023-05-31 15:37   content/bop/bop_parameters.proto
     1832  2023-05-31 15:37   content/constraint_solver/assignment.proto
     1017  2023-02-20 12:20   content/constraint_solver/demon_profiler.proto
     6798  2023-02-20 12:20   content/constraint_solver/routing_enums.proto
    30381  2023-07-28 09:34   content/constraint_solver/routing_parameters.proto
     1483  2023-02-20 12:20   content/constraint_solver/search_limit.proto
     3519  2023-03-01 07:50   content/constraint_solver/search_stats.proto
     3991  2023-02-20 12:20   content/constraint_solver/solver_parameters.proto
    24913  2023-03-01 07:50   content/glop/parameters.proto
     3241  2023-03-01 07:50   content/graph/flow_problem.proto
    31046  2023-05-31 15:37   content/linear_solver/linear_solver.proto
    25874  2023-07-28 09:34   content/pdlp/solvers.proto
    21088  2023-05-31 15:37   content/pdlp/solve_log.proto
     4838  2023-02-20 12:20   content/sat/boolean_problem.proto
    35329  2023-05-31 15:37   content/sat/cp_model.proto
     1401  2023-02-20 12:20   content/sat/cp_model_service.proto
    73588  2023-07-28 09:34   content/sat/sat_parameters.proto
     1381  2023-02-20 12:20   content/util/optional_boolean.proto
     6141  2023-02-20 12:20   content/orLogo.png
      656  2023-08-09 09:07   [Content_Types].xml
      761  2023-08-09 09:07   package/services/metadata/core-properties/d353d211770446bbbf0dd6c3872c018c.psmdcp
---------                     -------
  5342695                     27 files

May have found the bug
https://github.com/google/or-tools/blob/a33bf9a8d80711f4bb80199aa88d64506cfb8812/cmake/dotnet.cmake#L49-L53
When building a Multi-platform package (i.e. -DUNIVERSAL_DOTNET_PACKAGE=ON) we should not set the platform
(or set it to AnyCPU)
https://github.com/google/or-tools/blob/a33bf9a8d80711f4bb80199aa88d64506cfb8812/cmake/dotnet.cmake#L346-L356
https://github.com/google/or-tools/blob/a33bf9a8d80711f4bb80199aa88d64506cfb8812/cmake/dotnet.cmake#L365-L368
On my way to test it...

v9.7 meta package has been built on windows VM to have net462 support for windows (unity) user.

On macos M1 (arm64) using the pet project https://www.or-tools.dev/dotnet_or-tools (using v9.7)
dotnet run or dotnet run -r osx-arm64: will fail
note: playing with ~/.nuget/package and ortools v9.7 v9.8LM I manage to get the error:

Using  dotnet run -r osx-x64 worked even if only a arm64 dotnet-sdk is installed !
note: I thing under the hood rosetta2 compat manage to execute the osx-x64 byte code.

I've created a v9.8LM having only linux-x64 and osx-arm64 runtime and the meta has been built on Linux with /p:Platform=x64
My guess is on unix \p:Platform is simply ignored so when running on osx-arm64 it still work...
note: using dotnet run -r osx-x64 with v9.8LM I got a error wihch is expected since this version only provide osx-arm64 rid.

On my way to create a v9.8WM (only windows-x64 and osx-arm64 rid + meta build on windows) and play with the /p:Platform flag....

v9.8 should be published and may fix this recurring issue...
mostly the fix was:
https://github.com/google/or-tools/blob/43e400c4f2749268d6a53d39be8f019906fd19c9/tools/release/build_delivery_win.cmd#L131

Confirmed, it works! :)

Thx for the feedback, really appreciated ;)