Unit Tests Fail With Could not load file or assembly errors when using Entity Framework Core 2.0

Description
After upgrading my projects to use Entity Framework Core 2.0 most of my unit tests are failing with various assembly errors. Some of the unit tests use the Entity Framework Core InMemory provider to mock database data.
System.IO.FileLoadException: Could not load file or assembly 'Microsoft.EntityFrameworkCore, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'
System.IO.FileLoadException: Could not load file or assembly 'Microsoft.Extensions.Logging.Abstractions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'
System.IO.FileLoadException: Could not load file or assembly 'System.ValueTuple, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
Steps to reproduce

Create a project that uses Entity Framework Core 2.0 for data access
Create a test project that uses Entity Framework Core 2.0 InMemory provider to mock the data access for testing
Use the memory provider to verify data in a unit test
Unit test fails with below error

System.IO.FileLoadException: Could not load file or assembly 'System.ValueTuple, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
Expected behavior
UnitTests should pass
Actual behavior
Unit tests fail with below error
System.IO.FileLoadException: Could not load file or assembly 'System.ValueTuple, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
Environment
Visual Studio 2017 15.3.3
Project Console Application targeting .net 4.7 framework
Test Project with NuGetPackages

@bigswede74: Could you help us with a project repro please?

Hello AbhitejJohn,
Attached is a sample project.
HelloWorld.zip

Thanks Brad. Will get back on this.

Hello @AbhitejJohn
Any movement on this issue?
Thanks

@bigswede74: Looks like a .Net issue reported at https://github.com/dotnet/standard/issues/476 and https://github.com/aspnet/EntityFrameworkCore/issues/9046. The workaround with bindingredirects worked for me on the repro you shared.

@AbhitejJohn Where do the bindingredirects go, in the app.config for the test project?

@AbhitejJohn the problem with this fix is when you add the app.config file to a test project the tests disappear from the text explorer and are no longer discoverable.
see issue
https://developercommunity.visualstudio.com/content/problem/32282/test-explorer-doesnt-populate-with-tests.html

@bigswede74: That's odd. That issue seems to be talking about a stale config file. This config file Appconfig.zip works for me. Can you give it a shot please?

@AbhitejJohn when adding the app.config file you sent I now just get 2 errors for the same assembly.
System.IO.FileNotFoundException: Could not load file or assembly 'System.ValueTuple, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified. --->
System.IO.FileNotFoundException: Could not load file or assembly 'System.ValueTuple, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified..

@AbhitejJohn the assembly redirect worked.


Live

Test PR

Docs Build status updates of commit 7f5e3ad:
:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Test PR


42596: IllegalStateException copying Elispot assay data to study

Rationale
Issue was introduced during a refactor, which resulted in an error always being thrown even if there was data for the run ID.
Related Issue

https://www.labkey.org/home/Developer/issues/issues-details.view?issueId=42596

yes I did consider that but I wasn't sure if the contract of the method was to fail if we returned no data for any of the runs passed in or only if we found no data for any of the runs. The previous implementation handled only a single run at a time.

Ah, I missed the outer for() loop. Your approach seems good. I don't think we have a formal contract defined but if we can't find a match for every run, there's probably something very wrong.


Unable to retrieve authentication token

Storage Explorer Version: Version: 1.15.1
Build Number: 20200902.2
Platform/OS: Windows
Architecture: x64
Regression From:  worked before
Bug Description
Unable to retrieve child resources.
Details:
["Error:Unable to retrieve authentication token."]
Steps to Reproduce
open application
Expected Experience
able to connect to multiple storage accounts
Actual Experience
not able to connect to personal azure account
Additional Context
on vpn at work, having issues connecting to portal.azure.com which is persistent:
you were identified as a customer using Azure Policy with Guest Configuration who may not have been able to see the latest compliance results.

Can you go to Settings -> Services -> Disks, uncheck the checkbox and then restart? That should unblock you (assuming you don't need to work with disks).
Also, please check the account panel for any accounts which are asking you to re-enter your credentials, and if there are any, then do so.

Closing due to lack of response


Customize component heading level and remove extra empty lines

Thanks a lot for fixing the issues described in #1! I just tested it along with headers and footers and it works great!
Currently, I have a project called ci-templates and the README at the project root contains general explanations on how to include templates and components, lists templates and then the components.
For the component, I currently link to the source and provide a description of the component. Following that comes to the input table.
The use of the header and footer works great. There's two small issues I have:
I would like to have the components as a level 3 heading because I have a level 2 heading for templates and one for components, would it be possible to configure this?
The other issue is that all my files have an empty line (newline) at the end which causes redundant newlines after the header, after the component header, and after the component (before the footer). Would it be possible to remove them?
I also have two small ideas, and will just note them here instead of bombarding you with more issues (I can also create them separately if you prefer):

add another column in the table called "Required" which denotes whether an input is required. For example, I have inputs with default: "" which from the output IMHO is not clear that they are optional
add a snippet with the YAML to include this component somewhere

I've published a new release, adding a component-header-level flag to set the header level.
Additionally I've also cleanup some whitespace in the tempalte, especially around the HEADER/FOOTER files.
For the required column I've opened #3
Regarding the YAML snippet, I currently maintain that as part of the HEADER file on each component, and include the required fields there as well. eg.
include:
  - component: gitlab.com/<orga>/<project>/kaniko-build-publish@<VERSION>
    inputs:
      image_name: <YOUR_FANCY_IMAGE>
      image_tag: <SOMETHING_USEFUL_NOT_LATEST>

Thanks a lot! Works like a charm now :)


Add a parameter list to EnumElementDecl

This models, but does not plumb through, default arguments.
SE-0155 Requirements:

[ ] Ban case Foo(), rewrite to case Foo(Void)
[ ] Labels in associated value clauses are part of the case name
[ ] Case name overloading on distinct full names
[ ] Default arguments in associated value clauses
[ ] Consistent pattern matching behavior

Further requirements

[x] Model associated value clause as a parameter list
[ ] Type check default argument expressions and contextualize closures within
[ ] Teach SILGen to emit TupleShuffleExprs into inject_enum_* operands

:sail


Tensorboard not displaying scalars

The notebook example with Tensorboard amazon-sagemaker-examples/sagemaker-python-sdk/tensorflow_resnet_cifar10_with_tensorboard/tensorflow_resnet_cifar10_with_tensorboard.ipynb is not displaying scalars or images. Only the graph and projector are displayed.
If one run is terminated and a new one is started (using the same base_job_name so it starts from the previously saved checkpoint) by running again:
estimator.fit(inputs, run_tensorboard_locally=True)
then the scalars and images of the previous run are displayed on Tensorboard but they are not updated as training continues.

This issue if duplicated here https://github.com/aws/sagemaker-python-sdk/issues/26


Add integration tests for Sql-database-projects' context menu

Add tests to verify the context menu for database projects is generated correctly.
Something similar to objectExplorer tests(https://github.com/microsoft/azuredatastudio/blob/main/extensions/integration-tests/src/test/objectExplorer.test.ts#L47).

Closing older engineering-focused issues.  Please reactive if this is still tracking planned work.


update by kok

fix a bug in alpha.rb
add coder kok
add job of PM
add a story in the begin

哇 文案写的真好


fix issue with rendered daemonsets and deployments not being created properly

Signed-off-by: Alex Price<EMAIL_ADDRESS>

/cc @stevesloka
@awprice thanks for your PR, I'd really appreciate it if you would create an issue to describe the problem that you found. Please don't comment here, I want people to be able to search issues, not prs, if they encounter similar bugs.

@davecheney No worries. I've created an issue and updated this PR to reference it.

Thank you.


About scroll to defined item

Hi,
I am using the 0.28 version.
I want to know if there is a method that can control the carousel scroll to the item we defined.
I found that the example seems not work.
I change
.jcarouselControl({scroll: $('#jcarousel1 li').last()});
to
.jcarouselControl({scroll: $('#jcarousel1 li').eq(8)});
but it changes nothing.
Please give me some idea... THANKS!!!

If you're using jcarouselControl, you're probably on the master branch and not the  0.28 tag. What you've posted is not an issue, it is a question.
In its current state, the scroll method takes a number not a jQuery object in order to jump to a given slide:
.jcarouselControl({scroll: 8});

oh, thanks for your help!!
I also have another question.
I found that .jcarouselControl({scroll: 8}); this method can be completed when the given slide is not visible...
If I want one of visible items slide to the left, what shd i do?
Thanks a lot!


Changes to PIXI.RenderTexture.frame not corretly updating RenderTexture

Expected Behavior
According to docs one can move around the section a RenderTexture cuts out of its BaseTexture with .frame. So when I have a 1024x1024 BaseTexture and my RenderTexture is 512x512 I'll see the upper left quarter. With setting frame.x = 512 one should see the upper right quarter of the image.
Current Behavior
The texture is limited to the initial 512x512 pixel, "moving" the seeable window around using frame does not update the image, but "smears" it's corner pixel around. Calling _updateUvs() will sometimes break the texture, darken it or fall back to a static, smeared version of the texture. Changing frame outside of render loop shows that the original texture won't get removed, but the new "moved" one gets drawn on top of it.
Possible Solution

A call to _updateUvs() should clear the old texture before redrawing.
The section of the base texture of which RenderTexture copies its texture out must be moveable, so the texture has to be re-initialized with the new set section.

Steps to Reproduce
I've made a minimum example in the style of the official pixi examples: https://codepen.io/anon/pen/gdgJmY?editors=0010
In case the image won't load one can use any other 200x200px test picture.
Environment

pixi.js version: 4.8.1
Browser: Opera 54, Firefox 60
Device: Desktop, Mobile

I think you mistook how RenderTexture works. Line 14 - you render 100x100 pixels. line 21 - you move the window out of those 100 pixels.

According to docs:

The frame specifies the region of the base texture that this texture uses. Please call _updateUvs() after you change coordinates of frame manually.

It clearly states that one can move this window. Whats the point of frame in the first place if you are not able to do so?


Updating contacts via the API continuously re-display "× Content of the page is outdated..."

Hi Oro Team,
We are updating about 100k contacts via the API in the background and the notification continiously appear and disapear.

Content of the page is outdated, please refresh the page Customers/ Contacts"

Current behaviour

Expected behaviour
If the notification is already visible,  leave it visible, and do not  show it multiple times.
How to reproduce
Update many contacts via the API.

Thank you for reporting the issue.
(Internal ID - BAP-15023)


Fix orca and re-add liblouis

Motivation for this change
Orca was broken because of the gobject-introspection issue (56943). Adding it to the propagatedBuildInputs makes it runnable again. It can't connect to the d-bus but I guess that should work if you have your other braille tools set up properly.
Also libluois was removed as a dependency because it had previously been broken - now it works again and we can use it as a dep here :)
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

It can't connect to the d-bus but I guess that should work if you have your other braille tools set up properly.

Not sure what you mean by the dbus not working?
Otherwise LGTM.

Looks like liblouis is broken in stable, but the strictDeps fix needs backporting.

That's why I split it into two commits :)
Please cherry-pick d65f602f356b3b81cce14941dffc7e0ae65c90c3 onto stable.

Hmm, I am getting the following in console on Orca startup:
** (gst-plugin-scanner:25871): CRITICAL **: 22:34:14.805: Couldn't g_module_open libpython. Reason: /nix/store/kimimvhimclyfzlncpg36zjni3wn70nq-python3-3.7.3/lib/python3.7/config-3.7m-x86_64-linux-gnu/libpython3.7m.so: cannot open shared object file: No such file or directory

** (gst-plugin-scanner:25871): CRITICAL **: 22:34:14.809: Couldn't g_module_open libpython. Reason: /nix/store/kimimvhimclyfzlncpg36zjni3wn70nq-python3-3.7.3/lib/python3.7/config-3.7m-x86_64-linux-gnu/libpython3.7m.so: cannot open shared object file: No such file or directory

Probably unrelated.

Hmm, I am getting the following in console on Orca startup:
** (gst-plugin-scanner:25871): CRITICAL **: 22:34:14.805: Couldn't g_module_open libpython. Reason: /nix/store/kimimvhimclyfzlncpg36zjni3wn70nq-python3-3.7.3/lib/python3.7/config-3.7m-x86_64-linux-gnu/libpython3.7m.so: cannot open shared object file: No such file or directory

** (gst-plugin-scanner:25871): CRITICAL **: 22:34:14.809: Couldn't g_module_open libpython. Reason: /nix/store/kimimvhimclyfzlncpg36zjni3wn70nq-python3-3.7.3/lib/python3.7/config-3.7m-x86_64-linux-gnu/libpython3.7m.so: cannot open shared object file: No such file or directory

Probably unrelated.

I've been seeing that a lot for python gtk applications.

Alright, works with strictDeps = false.
Please backport 507873f352ef4c71a94fedb25b26e8c9a83bc111 to stable.

nit: could you change the commit message to match what's being done (eg. set strictDeps = false).

Sure, had left it because it still kind of does that. But I see that that's confusing.

Hmm, I am getting the following in console on Orca startup:
** (gst-plugin-scanner:25871): CRITICAL **: 22:34:14.805: Couldn't g_module_open libpython. Reason: /nix/store/kimimvhimclyfzlncpg36zjni3wn70nq-python3-3.7.3/lib/python3.7/config-3.7m-x86_64-linux-gnu/libpython3.7m.so: cannot open shared object file: No such file or directory

** (gst-plugin-scanner:25871): CRITICAL **: 22:34:14.809: Couldn't g_module_open libpython. Reason: /nix/store/kimimvhimclyfzlncpg36zjni3wn70nq-python3-3.7.3/lib/python3.7/config-3.7m-x86_64-linux-gnu/libpython3.7m.so: cannot open shared object file: No such file or directory

Probably unrelated.

I think that might be because gst-python doesn't have python as a buildInput. You could try that. But yes, seems to be unrelated.

Cherry-picked in b12b1e2f42841b47b3d1e2e44078dd5b18f6d78f


chore: bump greptime-proto to latest(8365873)

I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
Bump greptime-proto to latest version
Checklist

[ ]  I have written the necessary rustdoc comments.
[ ]  I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

Oh, I realized I didn't add FlushTableExpr to DdlRequest, So We need to wait for the PR(https://github.com/GreptimeTeam/greptime-proto/pull/12) to be merged, then I will update the current PR.

Please rebase upstream develop and the clippy check should pass.


WIP: fix agent label on custom host

need https://github.com/rancher/types/pull/472

https://github.com/rancher/rancher/issues/12691


[Automation] Generate Fluent Lite from newrelic#package-2022-07-01

[Automation] Generate Fluent Lite from newrelic#package-2022-07-01

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


rimraf is not recognized as an internal or external command

When running npm run build in the backend/functions folder the error
'rimraf' is not recognized as an internal or external command, operable program or batch file. is thrown. Full error below.
PS D:\Code\Clients\FilledStacks\boxtout\src\backend\functions> npm run build

> functions@ prebuild D:\Code\Clients\FilledStacks\boxtout\src\backend\functions
> npm run clean

> functions@ clean D:\Code\Clients\FilledStacks\boxtout\src\backend\functions
> rimraf lib/

'rimraf' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! functions@ clean: `rimraf lib/`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the functions@ clean script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\User\AppData\Roaming\npm-cache\_logs\2021-02-15T13_29_18_968Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! functions@ prebuild: `npm run clean`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the functions@ prebuild script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!
I just had to run npm install


Restrict Internet Archive source to scans only

We have been using the Wayback Machine sometimes to create a stable link to a transcription if it has gone down in the past, e.g. Lyrical Ballads. The logic to categorize sources on the website lumps all Internet Archive sources as scans. It should only treat an IA source as a scan if it has the /details path (this is also consistent with our lint rule for Internet Archive paths).

Thanks!


Rainfall plot assumes MAF rows are ordered on start position

I have found that Rainfall plot gets a lot of NA values from the diff function when the chromosomal positions in the original MAF are not ordered. Is it possible that the MAF data could be ordered this way before running the function? I am not sure it is safe to assume the users will always have sorted MAFs.

Hi ,
Chromosomes are ordered according to Chromosome name (after removing prefix if any and converting to numeric) followed by position, before running diff function (here) I am not sure why NAs are generated. Does input maf has missing values ?

You're right. I must have modified my MAF object after loading it. I seem to recall I was modifying the tumor_sample_barcode in place. This probably caused the issue and should not affect users if they don't modify the MAF object.


chore(atomic): upgraded tailwind to v2.2.2 and nested result template css

https://coveord.atlassian.net/browse/KIT-776
tailwindcss/nesting was missing until I upgraded to 2.2.2.

I could remove the non-atomic package-lock files. They were updated because I did npm run setup.


Open TSC Meeting - Feb 6th 2020

Agenda

What
Who
Where

Nullable clarifications from v3.0.3 missed in #1977
@tedepstein
https://github.com/OAI/OpenAPI-Specification/pull/2115

Is there a meeting link for this?

@stevendearborn I think it's the same every week https://zoom.us/j/975841675

Action: Ron is going to prep 3.0.3 release.
Action: Mike is going to check for approved PRs against 3.0.3


DOCS-321 - Alt text for security articles

Purpose of this pull request
This pull request adds and updates alt text for these articles:

https://help.sumologic.com/docs/security/
https://help.sumologic.com/docs/manage/security/
https://help.sumologic.com/docs/manage/users-roles/

Select the type of change

[ ] Minor Changes - Typos, formatting, slight revisions
[x] Update Content - Revisions, updating sections
[ ] New Content - New features, sections, pages, tutorials
[ ] Site and Tools - .clabot, version updates, maintenance, dependencies, new packages for the site (Docusaurus, Gatsby, React, etc.)

Ticket (if applicable)

Thanks for the review, @kimsauce!


FX-2265: User can filter artworks within an artist series

The type of this PR is: Enhancement

This PR resolves FX-2265
Description
This PR adds the ability to filter the artworks on the artist series view. On the way, I had to make a couple of adjustments to existing components.
Full list of changes is:

Converts the top-level ArtistSeries view to be a FlatList. This is both because my understanding is that FlatLists are slightly more performant (especially given the artist series view has components far below-the-fold), and because FlatLists provide helpers for understanding the placement of components on the screen-- this made it possible for us to conditionally render the Filter button.

Caveat: It's possible you can achieve something similar with a ScrollView, but I didn't see anything obvious in my research.

Using the existing filter components, adds the ability to filter the artworks on the artist series view.
Slightly adjusts the spacing around the FilterArtworksZeroState component, which was somewhat specific to the existing uses but didn't work for artist series.

Zero state for Artist Series:

Zero state for Collections:

Full gif of behavior:

PR Checklist (tick all before merging)

[X] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[X] I have added tests for my changes, or my changes don't require testing, or I have included a link to a separate Jira ticket covering the tests.
[X] I have documented any follow-up work that this PR will require, or it does not require any.
[X] I have added an app state migration, or my changes do not require one. (What are migrations?)

Looks great, feel free to merge whenever you're ready!


Revert "Refactoring Gold to enable both Luci & Cirrus support"

Reverts flutter/flutter#49815
This is breaking engine tests when they run framework tests on luci.

I have checked Cirrus and it appear that all of the checks have passed, although they are not reflected here: https://cirrus-ci.com/build/6066763053924352
I am not sure yet what the submit-queue check is, I have not seen it before.
fyi @fkorotkov

@Piinks this is the same thing that branch builds have a different set of tasks than PR builds. But the GH status should've been updated to neutral. Let me check if this change was deployed.
The submit queue check is coming from here https://github.com/cirruslabs/gh-submit-queue. I'll check why GH reports WIP as failing for master branch.

@fkorotkov Thanks for checking it out! I think this is ok to land then since checking Cirrus directly it looks like all the other checks have passed.

@Piinks sounds good. The change was not deployed and I've triggered a deploy now.

fyi @cyanglaz @blasten @kjlubick
This was reverted after breaking dart luci bots. I should be able to re-land after making a recipe change. There are a lot more repos running fluter tests on luci than I thought. 😜

Fixed WIP reporting in https://github.com/cirruslabs/gh-submit-queue/commit/6f03db6c858c4497eb90e4284c20348d8e5a7dee


Fixed hindi number to english number word in number recognition of eg…

…gquiz

PR checklist
Status

Is issue created in GitHub?[No]

Is code analysis task executed and issues resolved in the Java/Kotlin code?
Yes

Is code analysis task executed and issues resolved in the CPP/native code?
Yes

Is the version code set in the AndroidManifest.xml or build.gradle file to 1 more than the version which has already been published?
NA

Is code commenting done properly for the changes made?
Yes

Is correct variable naming convention followed?
Yes

Is auto formatting shortcut Ctrl+Alt+Shift+L executed in all files?
Yes

Are the message strings used in the application taken from strings.xml file?
No

Are the permissions which are not required removed from AndroidManifest.java file?
NA

Is the uses-feature tag used for only must have feature in AndroidManifest.java file?
NA

Are the generated files correctly configured in .gitignore?
Yes

Are the release signing configurations removed from the gradle files?
NA

Is commented code removed from all files?
Yes

Are updated images compressed (< 100 KB)?
NA

Ensured there are no typos in any string. For example: Variable/method names, hardcoded strings, commit messages, PR titles, issues, code comments?
Yes


No connectivity between nodes after node IP changes

Uploading cilium-sysdump-20240320-163138.zip…
Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
If the node IP changes, Cilium loses connectivity between nodes until the cilium-agent is restarted. This happens to our edge clusters when a DHCP server misbehaves or when a static IP needs to be changed (often to take advantage of a new firewall configuration.
Repro:
# setup
curl -LO https://raw.githubusercontent.com/cilium/cilium/1.15.2/Documentation/installation/kind-config.yaml
kind create cluster --config=kind-config.yaml
cilium install --version 1.15.2 --set enableRuntimeDeviceDetection=true
cilium status --wait

# inside worker node: remove hardcoded node-ip, so kubelet can pick it up from the default ipv4 route
docker exec -it kind-worker /bin/bash
sed -i "s/ --node-ip=[^ ]*//" /var/lib/kubelet/kubeadm-flags.env
systemctl restart kubelet
sleep 10

# once kubelet has restarted, change the IP
ip addr flush dev eth0
ip addr add <IP_ADDRESS>/24 dev eth0
ip route add default via <IP_ADDRESS> dev eth0
exit

# wait for node to be updated
kubectl get nodes -o wide -w
# ctrl+c when you see the new IP

then, go back to the host to test connectivity:
cilium connectivity test
[...]
⌛ [kind-kind] Waiting for pod cilium-test/client3-868f7b8f6b-7nkcf to reach DNS server on cilium-test/echo-same-node-6698bd45b-zb77k pod...
connectivity test failed: timeout reached waiting for lookup for localhost from pod cilium-test/client3-868f7b8f6b-7nkcf to server on pod cilium-test/echo-same-node-6698bd45b-zb77k to succeed (last error: error with exec request (pod=cilium-test/client3-868f7b8f6b-7nkcf, container=): context deadline exceeded)

Cilium Version
cilium-cli: v0.16.3 compiled with go1.22.1 on linux/amd64
cilium image (default): v1.15.2
cilium image (stable): v1.15.1
cilium image (running): 1.15.2
(also repros on 1.16.0-pre.0)
Kernel Version
6.6.13-1rodete3-amd64 #1 SMP PREEMPT_DYNAMIC
Kubernetes Version
Client Version: v1.29.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.29.2
Regression
No response
Sysdump
No response
Relevant log output
No response
Anything else?
I had a look for possible places that the old state exists - it seems like StateDB gets updated but other places do not:
$ netstat -ntlp | grep cilium-agent | grep 192
tcp        0      0 <IP_ADDRESS>:4240        <IP_ADDRESS>:*               LISTEN      1160/cilium-agent
$ kubectl -n kube-system exec -it cilium-tc44g -- cilium-dbg statedb node-addresses
Address         NodePort   Primary   DeviceName
<IP_ADDRESS>    false      true      cilium_host
<IP_ADDRESS>   true       true      eth0
$ kubectl -n kube-system exec -it cilium-tc44g -- cilium-dbg node list
Name                           IPv4 Address   Endpoint CIDR   IPv6 Address   Endpoint CIDR   Source
kind-kind/kind-control-plane   <IP_ADDRESS>    <IP_ADDRESS>/24                                  custom-resource
kind-kind/kind-worker          <IP_ADDRESS>    <IP_ADDRESS>/24                                  local
kind-kind/kind-worker2         <IP_ADDRESS>    <IP_ADDRESS>/24                                  custom-resource
kind-kind/kind-worker3         <IP_ADDRESS>    <IP_ADDRESS>/24                                  custom-resource

Cilium Users Document

[X] Are you a user of Cilium? Please add yourself to the Users doc

Code of Conduct

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

Node IP changes require agent restart at the moment. There've been similar issues reported previously - https://github.com/cilium/cilium/issues/15406.

Let's close this as a duplicate of https://github.com/cilium/cilium/issues/15406.


Metadata errors are cached in MetadataCache

If there is a (transient) error while resolving the metadata document, this error is cached forever.
I've already written an unit test to verify this and I'm currently working on a fix and would open a PR as soon, as this fix is ready.
We found this in one of our unit tests, which validates that the service returns a 401 if no credentials are sent. If this test is executed first, all subsequent tests fail with the same error.
This error was introduced in 4.28.0.

@zivillian Actually the change in metadata resolution had a serious impact on performance, because metadata cache is no longer in active use: there is always a call to metadata endpoint. I am checking how to fix it.

@object: Is there anything I can do to help fixing this? Do you have any detail like an issue, test case, version, etc.?

Well, details are simple: metadata cache does not serve it's purpose, there is always a network call to obtain metadata from the service, and it causes major performance problem for scenarios with multiple instances of ODataClient.

This seems to be one of the issues: https://github.com/object/Simple.OData.Client/issues/494#issuecomment-401749147 I'll comment there if I find anything.

Yes, I start getting complaints about performance drop, and I now seem to
understand what is the actual reason.
On Fri, Jul 13, 2018, 20:55 zivillian<EMAIL_ADDRESS>wrote:

This seems to be one of the issues: #494 (comment)
https://github.com/object/Simple.OData.Client/issues/494#issuecomment-401749147
I'll comment there if I find anything.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/object/Simple.OData.Client/issues/435#issuecomment-404922710,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPY3n5sloPLJtdnhW8iXctKmx1rxpj6ks5uGO08gaJpZM4P8Tnk
.


Theme for Material-ui (The real from callemall. Not materialize)

Hi. I try to make a theme for https://github.com/callemall/material-ui but i don't understand your instructions.
Do you have some examples for the changes? I don't understand your instructions (I'm a newbie in javascript).
Thanks and congratulations for your plugin

Have you tried using the Materialize package as a starting point? Should be fairly trivial to swap out the html with components from Material UI.

Yes. I tried but i don't understand how i can make these changes.
Probably is my mistake because i'm a beginner in Javascript. But do you have a more simple guide?

I only came across this yesterday so am pretty fresh with the codebase. I only know about what's documented and from skimming the materialize adaptor, but decided to shelve this until it's more stable. Mainly https://github.com/studiointeract/accounts-ui/issues/60 is a blocker for me, but if you put some code up I can assist you

You can use parts of my code.
https://github.com/lawrentiy/accounts-material/commit/650f29b751913e5439b459d9c5d8b2d1b5b69f72#diff-5a82d163aa6ac406a2219cef65f60760
It`s not clean. But the main part - redefinition for Button, Field, Field classes.
I added some logic for login using phone, but I have no time to cut it from main.jsx.
Welcome for questions!

I just created a package that uses callemall/material-ui.
You can check it here: https://atmospherejs.com/zetoff/accounts-material-ui
It would be great if you can test it and suggest improvement. So far it works for all my cases.

@timbrandin could you add this one: https://atmospherejs.com/zetoff/accounts-material-ui
to the list of packages?

@PolGuixe Will test soon. To add your package to the list just submit a PR and then @timbrandin can just merge in

This seems to be linked already! great work!


"GetSetConfigVariables"-equivalent for SWS

There are some nice things in SWS that can be set via UI.
For instance, I can set a startup-action, autocolors, nudge and fades, etc.
Problem is, you can set many of them only via UI. So I would ask for a Get/Set-function, that allows you setting the values via ReaScript at runtime.
a function like
boolean retval, string value = reaper.SWS_GetSetConfigVariable(boolean is_set, string configfile, string section, string key, boolean persist)
which allows setting a value, located by its config-file-entry.
So, if I want to set a new fade-in-time, as set in SWS Extension Command Parameters, I write the following:
´retval, value = reaper.SWS_GetSetConfigVariable(true, "Xenakios_Commands.ini", "XENAKIOSCOMMANDS", "1.2345", false)´
Which updates the internal value for it to 1.2345. And when I set persist=true, it also updated the config-file at the same time.
Another way would be to have an action, which forces rereading all set config-values, so I could set them in the config-files and run the action to update it.
That way, I could have dynamically set nudging/fade/etc-settings, depending on how I need them.
Currently I would need to restart Reaper for a change of these values.

Totally agree. I just spent hours trying to figure out why I can't write to the sws-autocoloricon.ini file.
As an example, consider adding an AutoColor entry. This test assumes you already have some entry, and will simply add an entry:
swscolorini = 'sws-autocoloricon.ini'
inipath = reaper.get_ini_file()
ini_path = inipath:gsub("(.+)([/\\])(.+)$", "%1%2"..swscolorini)
fileptr = io.open(ini_path)
if fileptr then
   SWScontent = fileptr:read("*a")
   fileptr:close()
   reaper.ShowConsoleMsg('SWS Auto Color Icon Ini before:\n'..SWScontent..'\n')
   cnt = string.match(SWScontent, "AutoColorCount=(%d+)")
   if not cnt then cnt=1 else cnt=tonumber(cnt)+1 end
   sec="SWS"
   key="AutoColor "..cnt
   val="0 Guitars 16744448 \"\" \"\" \"\""
   reaper.BR_Win32_WritePrivateProfileString(sec, key, val, ini_path)
   key="AutoColorCount"
   val = tostring(cnt)
   reaper.BR_Win32_WritePrivateProfileString(sec, key, val, ini_path)
   fileptr = io.open(ini_path)
   if fileptr then
      SWScontent = fileptr:read("*a")
      fileptr:close()
      reaper.ShowConsoleMsg('SWS Auto Color Icon Ini after:\n'..SWScontent..'\n')
   end
end

This will write successfully to the file, but Reaper does not see the changes - they get discarded upon opening the SWS Auto Color Layout window or restarting Reaper.
So I think there really needs to be a way to modify some of these ini files in code.


[issue-1337] Update web-runner v1.1.31 for mobile app - Add support i18n for T&C popup's label

Pull request for issue #1337

Not planned


Ingest MR data

@jovo
Not sure where this is on the priority stack for @gkiar, but was the other issue open from the big issues of issues.

i think after @gkiar does a successful knn run on the m2g data, this would be the top priority.
@gkiar does that sound right? if so, please add appropriate milestone.

added milestone.

Define successful? :P I agree, though.
--
Greg Kiar<EMAIL_ADDRESS>On Fri, Jun 10, 2016 at 7:13 AM, William Gray<EMAIL_ADDRESS>wrote:

added milestone.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/neurodata/ndpaper/issues/55#issuecomment-225156114,
or mute the thread
https://github.com/notifications/unsubscribe/AEqDWFKYFB-M6I1QgGrp1BeuP--NZFHsks5qKUbAgaJpZM4Iykne
.

success = 1 DTI or fMRI scan ingested, link to viz (either using RESTful call or ndviz) posted in this issue.

@jovo - clarify priority here please?
Are we allowed to use console in the short term?

we always always always always do the simplest thing first.
if that's console, then yes.

clarify priority here please?  i understood your requirements were not to use the console.  this makes an initial version achievable quickly.
@gkiar - put a sample data set of your choice somewhere?

requirement: one MR dataset ingest any possible way you want.
note: this is not a @willgray activity, it is a @gkiar activity.
@willgray is very busy with case studies and does not have time for this
until case studies are completely finished.
On Wed, Jun 15, 2016 at 11:15 PM, William Gray<EMAIL_ADDRESS>wrote:

clarify priority here please? i understood your requirements were not to
use the console. this makes an initial version achievable quickly.
@gkiar https://github.com/gkiar - put a sample data set of your choice
somewhere?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/neurodata/ndpaper/issues/55#issuecomment-226378048,
or mute the thread
https://github.com/notifications/unsubscribe/AACjciDojEi0ZgzJxTx5Nl1i3iBnl65Pks5qML-5gaJpZM4Iykne
.

--
the glass is all full:  half water, half air.
neurodata.io, jovo calendar
https://calendar.google.com/calendar/embed?src=joshuav%40gmail.com&ctz=America/New_York

thanks.  I'll aim for ~end of july if not solved prior.

@gkiar - this is done?

Yes, actually the entire KKI2009 dti dataset, with the token "KKI2009dti"

if you don't mind - send me the info and we'll stick in the table for the ndpaper?
I need the stuff for Table 1 (image data).  I can be more specific or draft if you don't have time.

Reference Paper:
Modality:  MR
Species:  H. sapiens
Bits:
Projects:
Channels:
Time Steps:
Gigavoxels:
Resolutions:
Gigabytes:
@alexbaden

I'm going to have to script it. Give me 36 hours.

Reference Paper:
Modality:  MR
Species:  H. sapiens
Bits: 8
# Projects:  1
# Channels:  42
# Time Steps: 1
# Gigavoxels: 62.23
# Resolutions: 1
# Gigabytes: 57.96

That what you need?
@gkiar if you can spot check this at some point, that would be great! No rush.

reference paper is:  Bennett. A. Landman, Alan J. Huang, Aliya Gifford, Deepti S. Vikram, Issel Anne L. Lim, Jonathan A.D. Farrell, John A. Bogovic, Jun Hua, Min Chen, Samson Jarso, Seth A. Smith, Suresh Joel, Susumu Mori, James J. Pekar, Peter B. Barker, Jerry L. Prince, and Peter C.M. van Zijl. “Multi-Parametric Neuroimaging Reproducibility: A 3T Resource Study”, NeuroImage. (2010) NIHMS/PMC:252138 doi:10.1016/j.neuroimage.2010.11.047
@gkiar - once you are happy with this (spot check), close and I'll add to the ndpaper

Oh - and thanks - @alexbaden  -  you beat your estimate by a factor of ~3x!


Prepare & deliver workshops for challenge 3

After a discussion with @MBadea17 and @andreaarmanni we think that we should have 2 workshops for the predict-eth 3:

[x] one on the 31st of January
[x] one on the 14th of February(last week of the challenge)

Done!


compose box:Add a reply button.

Fixes #5578

Does the reply button disappear when the window gets too narrow? I didn't seem to see that on a first pass. Just make sure to look at Steve's comments on #6001

@lonerz in compose.css, I added this code to hide reply button in mobile-view
@media (max-width: 700px) {
    #compose_buttons .compose_reply_button {
        display: none;
    }
}

And it works fine for me, as you can see in this screenshot

@gnprice @rishig We may want to just test-deploy this.

@shreyanshdwivedi You can tell your mentor I've approved this PR, so they can approve the task.  We'll probably test-deploy it first, before actually merging to master.

I reassigned this to @gnprice so he can test-deploy.

@shreyanshdwivedi Can you post a screenshot for this in the "normal" case?

@showell I am not doing this for GCI so I dnt have any mentor :smile:

oh, haha, sorry...thanks for the screenshots

Great, thanks @shreyanshdwivedi! I think we should just not have the Reply button when there is nothing to reply to.

@showell instructed me to have the Reply button as a reactive solution instead of just hiding it. Also, when I tried to just hide it by changing some js code, it shows its glimpse for 1 second before hiding. @rishig and @showell you both can tell me what final change is needed

Just to be clear, I view the "reactive" solution as sub-optimal, but I told @shreyanshdwivedi to proceed with that for now.  We are gonna test-deploy this soon, so we'll probably get more solid feedback that we should just hide it, but it's mostly a corner case.  I am pretty sure hiding the button is fairly straightforward, with possible corner cases like deleting messages being kind of a pain.

Deployed this on chat.zulip.org a couple of hours ago; we'll see what the feedback looks like!

(Wow, I didn't even notice this was deployed.)

@shreyanshdwivedi @lonerz Merged after a successful test deploy! Thanks to both of you.
@rishig @brockwhittaker We should follow up on this and tidy up the styling a bit.  The no-messages-in-view experience is also less than ideal.


Add content from drafts to their final location

What
Update the pieces of content drafted for this release with their final version:

update the "Unreleased" section with the drafted release notes (internal)
update the browser-support.md with its final drafted content (internal)
replace all links to the Frontend Docs preview (release-5-0--govuk-frontend-docs-preview.netlify.app) with links to the live site (frontend.design-system.service.gov.uk)
replace all links to the Design System preview (release-5-0--govuk-design-system-preview.netlify.app) with links to the live site (design-system.service.gov.uk)

Why
To make sure that the content is up to date before the release
Who needs to work on this
Developers
Who needs to review this
Developers
Done when

[ ] Changelog is up to date
[ ] Browser support docs are up to date
[ ] Links to preview sites point to live site

To limit the time spent reviewing the release PR, I've put it as its own issue. If we prefer spending a little more time reviewing and doing that while we update the CHANGELOG as part of https://github.com/alphagov/govuk-frontend/issues/4515, that works as well.


[Request] Switch Still Removal Functions

Right now the recipe removal for the Still is Output Fluid, InputFluid which is not quite sensible. Switch it to InputFluid, OutputFluid, Jared!

Seems to be already doing it? Strange.


About Labeling images

Please what it is the tool of labeling used to train the model?

labelme?
I use an open dataset (DOTA). @Imane-art


feat: add zipkin

What this PR does:
layotto add zipkin feature
Which issue(s) this PR fixes:
#593

community meeting:
No need to support kafka reporter. We can focus on the http reporter in this PR


added consumer-rules.pro for consumer proguard rules

Includes consumer-rules.pro for:
https://github.com/saket/cascade/blob/80fcf2dab77b0413b3bb420600b5fb947080417b/cascade/src/main/java/me/saket/cascade/toolbar.kt#L122
and
https://github.com/saket/cascade/blob/80fcf2dab77b0413b3bb420600b5fb947080417b/cascade/src/main/java/me/saket/cascade/toolbar.kt#L134

Fixes for :  #31

Thank you! Is there a good way to verify this using tests?

Not one that I know of currently, If you can think of something, do let me know.


edattendsource code for self referral missing

SNOMED code for Referred by self<PHONE_NUMBER>105) is missing from the feature map, needed for edattendsource to pass validation
Code is in the Emergency care attendance source simple reference set

@quindavies , can you provide some more details regarding all the columns that fail validation because the code lists are incomplete, please? And the cause and steps to mitigate as discussed earlier, please?
@dfleming9 , email coming your way to address this using the terminology server.
In the meantime, we may have to ignore validation errors on SNOMED columns.

@quindavies , can you provide some more details regarding all the columns that fail validation because the code lists are incomplete, please? And the cause and steps to mitigate as discussed earlier, please?
@dfleming9 , email coming your way to address this using the terminology server.
In the meantime, we may have to ignore validation errors on SNOMED columns.

Sure, columns listed below
edattendsource
edchiefcomplaint
eddiag
edinvest
edrefservice
edtreat
Cause is the Snowstorm API in nhsdd_generator.py which is an old version so not all codes in the current refset are being pulled through
Steps we're looking at are using a different API (NHS Terminology Server - FHIR APIs)

Got a call arranged in the morning with @quindavies to work it through. Can I just make sure that the authoritative source of validation rules is HDRUK Data Processing V1? because this doesn't include<PHONE_NUMBER>105 it includes<PHONE_NUMBER>00100 ('instead'). My reading of the ECDS_ETOS_v4 is that<PHONE_NUMBER>105 is valid from 1st of October 2022 onwards and<PHONE_NUMBER>00100 is valid from (1st of Sep 2017-31st of March 2023) ... so I think both codes could legitimately appear in the data in the study period (I think<PHONE_NUMBER>000106 should also be checked for the same reason because it was valid from the 1st of October 2022 as well)

This emphasises the importance of:

a good knowledge of SNOMED codes
robust validation of data to ensure that we don't miss an entire cohort of patients in the analysis simply by missing one or more codes because of quirks around time periods when these codes are valid/invalid and different codes for very similar concepts with some appearing in a refset and others not.

@dfleming9 , HDRUK DATA Processing V1 is indeed the authoritative source and along with the other Sheffield docs has proven invaluable - but it does have some issues that need addressing which we should feedback to the Sheffield team at the next analyst meeting.
GitHub is proving invaluable in keeping track of some of these issues (and discussing them).


Add license

Since the project is public, licensing would make other developer to fork and contribute to the project.

@astroparam Thank you and done :)


Unintentional creaking change in formatter in 1.2.0

https://github.com/ruby/rake/pull/262

Released as 1.2.1.


Appease Spotless

What
Apply spotless to main

Why
main wasn't passing the linter check which was affecting other PRs

Test Plan
N/A
Demo
N/A

How
Release immediately to not block other PRs

#292  👈
main

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

Join @devinmorgan and the rest of your teammates on  Graphite

Merge activity

Jul 23, 12:41 PM EDT: @devinmorgan merged this pull request with Graphite.


Not getting any nearby device

Hello Omer
I am trying to run your code in 3 devices with different uuid and username but none of device showing near by device. what could lead to problem?
Thanks

Try the fix described in issue #25 and issue #21.


Multi instance using the same module

When doing multi instance with the same module, the module name is appended with "_" surfix. Code like:
m = Module("top")
param = []
port = []
m.Instance("counter","i0",param,port)
m.Instance("counter","i1",param,port)
print(m.to_verilog())
The result likes:
module top
(
);
counter
i0
{
};
counter_
i1
{
};
endmodule
I can't figure out why there is a "_" at the end of reference name for the second instance declaration.
Anyone has clue to this?
Thanks a lot!

This happens when you have two instances of objects with the same name, then Veriloggen treats them as two different modules as they have the same name. It adds an underscore to differentiate in Verilog.
m = Module("top")
param = []
port = []
counter = Module("counter")
m.Instance(counter,"i0",param,port)
m.Instance(counter,"i1",param,port)
print(m.to_verilog())

Multiple creation of module with the same module name causing a "_" appended at the end.

I'm now considering to disable this behavior that append _.

This issue has been resolved in 06b349032999548abd7520618cc41c773ad76c50 .


Lib only works for GET args

https://github.com/bungle/lua-resty-reqargs/blob/master/lib/resty/reqargs.lua#L86
ngx.var.content_type seems to always be nil.

Good catch! Thanks!

Well, I'm still not sure. Can you give me a full example? I mean, how do you think it should work. If your browser is not sending content-type header, how do

@lordnynex I submitted one patch, is this:
https://github.com/bungle/lua-resty-reqargs/commit/b023f4c7cc83ba699b3c6c8924943144cbffc4dd
what you were looking at?

What comes to this:
http://nginx.org/en/docs/http/ngx_http_core_module.html#var_content_type
aka $content_type being always nil. That seems strange if you do pass the Content-Type header.

@bungle I'm realizing that this bug is weird and probably invalid. For whatever reason it's always nil in my tests outside of reqargs. But the issue that caused me to dive into the code to see why post was not populated was my own stupid issue where I was posting invalid JSON.
Long story short, I think you can close this bug as invalid, because the lib appears to work. The line I linked, if it was a valid bug, means POST would never work regardless of content type. I'm a little stumped here.

@lordnynex, great, but I think you pointed me to one obvious flaw (not related to your issue). Have you checked the latest master, and if yes, does it cause any problems. I mean, should I still revert to the old code. It feels that the original code was a bit opinionated. But the commit I made is not 100% bc compatible. I still it right thing to do (e.g. not to default application/x-www-form-urlencoded unless asked for it. It is the most common way to send parameters though).


MIECD Compartments view on due in 2 weeks and 1 week

[ ] Compartments categorization "0 Total Pregnancies due in 2 weeks" and "0 Total Pregnancies due in 1 weeks" have data but the figures on the compartments are not showing.

A fix for this is already available here: #131


Example of dict for the access token

Coverage remained the same at 84.395% when pulling 9db08417fe0d9f1ab5e40fa7a857893f79a50f22 on Gustry:patch-1 into 08a30b6ea05c5351f346aa6f2106536ce5bc2c9e on supersaiyanmode:master.


[Scope Change] Table - "Vendor Bill Header" 12181

Describe the request
Please remove the scope OnPrem for procedure AssistEdit in Vendor Bill Header table. This does not make any sense because the function can be used also in the BC Online version.
Thanks in advance,
Simone Laboranti
Additional context
I need to use this function in a extension.
Internal work item: AB#559840

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 28339.


Build core JS SDK layer

A proposal for SDK changes with following goals require us to make core changes in the way the SDK is authored today:

Allow extensibility of telemetry types.
Compliance with common schema 3.0 (will provide a link soon).
Allow customers to override filtering, sampling.

Overall these changes will also allow us to converge with some internal SDKs.

Shipped beta. closing issue.


Cant get variables to work

Hi,
I'm running a very simple query with a variable, but when execute the schema I get an error that the variable isn't declared, but I pass it in a Hash.
[1] pry(#<Cruise::App>)> query_variables
=> {"channel_id"=>"1"}
[2] pry(#<Cruise::App>)> query_string
=> "{\n channel(id:$channel_id) {\n  id\n }\n}"
[3] pry(#<Cruise::App>)> Schema.execute(query_string, variables: query_variables)
=> {"errors"=>[{"message"=>"Variable $channel_id is used by  but not declared", "locations"=>[{"line"=>2, "column"=>13}]}]}
[4] pry(#<Cruise::App>)> GraphQL::VERSION
=> "0.17.2"

For completeness sake here's my action code. The query comes from a graphiql instance I've set up myself (possible source of errors, but the values arriving in ruby do look ok).
post :index do
  query_string = params['query'] || ""
  query_variables_string = params['variables']
  query_variables = query_variables_string ? JSON.parse(query_variables_string) : {}
  content_type :json
  Schema.execute(query_string, variables: query_variables).to_json
end

Am I doing anything obviously wrong here which I'm to blind to see? What's a good way to further debug this?
Thanks

Figured out the issue. Had to pass the variable in the query. With an updated query it worked:
query($channel_id: ID!) {
 channel(id: $channel_id) {
   id
 }
}

@stigi , thanks this works for the playgroud, but can't get apollo client useQuery to pass the variables, I can't build the query like that because it throws an error
 const GET_GREETING = gql
{
query($localityShortName: String! $stateShortName: String! $countryShortName: String!){ extinguishersByLocality(
localityShortName: $localityShortName
stateShortName: $stateShortName
countryShortName: $countryShortName
) {
price
branch {
name
company {
name
}
}
}
}
}
;


canvas id ignored when using node-canvas

I have the following code.  When I run without node-canvas installed, I can find both the div and canvas by id.  When I run with node-canvas installed, I can no longer find the canvas by id.
var jsdom = require('jsdom').jsdom;

var html = '

';
var dom = jsdom(html);
console.log(dom.getElementById('mydiv') !== null);

html = '<canvas id="mycanvas"></canvas>';
dom = jsdom(html);
console.log(dom.getElementById("mycanvas") !== null);

+1
Over 12 months since this issue was opened.
@domenic perhaps you could point us in the right direction as to what is blocking this?

@jpswade what's blocking this is that you haven't submitted a pull request to fix this.

@domenic I haven't submitted a pull request because I am not versed in this project. Please advise.

@jpswade you know about as much about the canvas code as I do. Otherwise, for general guidelines, please read CONTRIBUTING.md.

@jpswade Take a look or try #1025.  It very well may fix your issue.
@domenic I'm still watching for node-canvas to release an update so that we can close that.


Docs: What is DSM?

The code and docs all mention DSM but don't expand that acronym or reference what it is.
I did a search and I'm fairly sure it stands for Design Structure Matrix or Dependency and Structure Modeling.
It'd be nice if the README included a sentence or two explaining how "dependenpy implements D...S...M... (DSM) and exposes tooling and interfaces to work with these models." (or similar) It would also be nice if it hyperlinked to a good resource on the topic (maybe Wikipedia).

Definitely! Thanks for the feedback.
For a bit of history, dependenpy was initially implemented as a security-related research project, and Design Structure Matrices were kinda fancy so I suppose it looked good on paper. Nowadays I would just get rid of the term and simply use "matrices", since that's what dependenpy generates. The concept of DSM is probably better used in other tools that actually check or enforce the composition of such matrices (like archan, which does just that).


--csvfile option does not work

Hey!
First of all, great tool to find the potential recombinants. Made my life easy.
I needed to parse the output of sc2rf only to get the potential recombinant sequences and the breakpoints of it. I see the --csvfile option in the README. But, it must not have been included in the sc2rf python executable. I get this error.
sc2rf.py: error: unrecognized arguments: --csvfile output.csv
Any idea if I could get the ouput in the way I need?

Updated it now. Have that option. Thanks

Ok, fine! I was just writing an answer with some more questions to understand your situation. So I'll close this now.


Demo Down (lookup.dbpedia.org)

Hello there,
Love DBpedia Lookup. I'm actually using as part of my research on entity linking pipelines as one of the interlinking components.
Unfortunately, the DBpedia Lookup demo seems to be down. Are there plans on bringing it back up?
Here a sample query (from https://www.dbpedia.org/resources/lookup-linking/) I tried out and which didn't work:
https://lookup.dbpedia.org/api/search?type=City&query=Berlin
All the best for the project & wishing great end of year!
KMDN

I am wondering about this issue, too.

Yep. Same here!


D1 support

This adds wrangler d1 subcommand, that's been being tested on the wrangler@d1 tag:
wrangler d1

🗄  Interact with a D1 database

Commands:
  wrangler d1 list            List D1 databases
  wrangler d1 create <name>   Create D1 database
  wrangler d1 delete <name>   Delete D1 database
  wrangler d1 backup          Interact with D1 Backups
  wrangler d1 execute <name>  Executed command or SQL file

Flags:
  -c, --config   Path to .toml configuration file  [string]
  -h, --help     Show help  [boolean]
  -v, --version  Show version number  [boolean]

At the moment it uses a prerelease version of miniflare, "2.8.2-d1.0", but that will be released properly soon and I'll update this PR.

We've found fixtures to be really great. Might be a bit of effort to set up with a sqlite file, but if there's going to be a chunky refactor for when it D1 GA's, it very well might be worth it.


pull request for e2e test at 11/11/2016 21:56:11

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

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


Test suite should ensure no jobs are left dangling in the queue

One option, which will be available once "map options" are available: mark each job with a special custom flag in its classad, then look for that with a condor_rm at the end of the session.

Implemented by https://github.com/JoshKarpel/htmap/commit/a319791e0b66757eee7988f35759492b6604c161


Remove honeypot forms

According to this, I should be able to remove the static forms.

Will merge this as part of other work.


Address MELPA comments (update summary and use derived-mode-p)

Hi, I saw there were a few outstanding issues on https://github.com/melpa/melpa/pull/9217 / https://github.com/copilot-emacs/copilot.el/issues/120 and they seemed easy enough to address except for: You should depend on (emacs "29.1") if you need `python-ts-mode'. which as suggested by the melpa maintainer, seems like a false positive to me.
Hope this is helpful, thanks!

Thank you!


Config temperature range warning

I've managed to install this project on my ESP 32 S2 Mini. I'm using POW-HVM3.2H-24V-N
In logs I'm getting one warning.
[W][esp-idf:000]: I (996404) tsens: Config temperature range [-10°C ~ 80°C], error < 1°C

I assume the problem is that support for the S2 mini is still in development in ESPHome. The documentation for the chip indicates these errors for the same temperature ranges: esp32s2 docs

Try rebuilding with the latest version of ESPHome.
You might also try building firmware with "type: arduino" instead of "esp-idf": ESPHome docs
You can simply disable the internal_temperature sensor.


Changing the value of publicPath property at runtime is NOT overriding the path of fonts files placed in static folder

Environment
System:
OS: macOS 13.0
CPU: (4) x64 Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
Memory: 4.10 GB / 24.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 14.16.0 - /usr/local/bin/node
Yarn: 1.22.18 - ~/Documents/Eweev Gitlab Repositories/Qlaim BO/qlaim_bo/node_modules/.bin/yarn
npm: 6.14.11 - /usr/local/bin/npm
Browsers:
Chrome: 111.0.5563.146
Firefox: 92.0.1
Safari: 16.1
Safari Technology Preview: 15.4
npmPackages:
nuxt: ^2.15.7 => 2.15.8
Reproduction

I have my font files placed inside static folder

Inside assets/icons/icomoon/style.css I have the below code to import the fonts from the static folder

@font-face {
  font-family: 'icomoon';
  src:  url('~static/fonts/icomoon.eot');
  src:  url('~static/fonts/icomoon.eot') format('embedded-opentype'),
    url('~static/fonts/icomoon.ttf') format('truetype'),
    url('~static/fonts/icomoon.woff') format('woff'),
    url('~static/fonts/icomoon.svg') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

Inside nuxt.config.js I have the css configuration:

css: [
    "~/assets/icons/icomoon/style.css",
  ],

router configuration:
router: {
  base: process.env.BO_URL_PREFIX  // AND **BO_URL_PREFIX=/admin**
},

And in the build of nuxt.confi.js:
build: {
  publicPath: process.env.PUBLIC_PATH
},

During the build PUBLIC_PATH has /n1/ value.
When running nuxt start the fonts are loaded correctly with http://localhost:3000/admin/n1/fonts/icomoon.6926b55.ttf.
Then when updating PUBLIC_PATH to /n2/ and re-running nuxt start the js files path is updated correctly but the font files path is not updated to http://localhost:3000/admin/n2/fonts/icomoon.6926b55.ttf. And instead it is still pointing to http://localhost:3000/admin/n1/fonts/icomoon.6926b55.ttf with a 404 not found error
Describe the bug
The problem is that when changing the value of publicPath property at runtime, it is NOT overriding the path of fonts files placed in static folder. The aim is to have dynamic router base that can be changed without having to rebuild the app, and for this I wanted to use publicPath inside build of nuxt.config.js that is supposed to override all the paths of the files of an app that has already been built
Additional context
No response
Logs
No response

You would use app.basePath/app.cdnURL or app.assetsPath (defaults to /_nuxt/) to do this at runtime.

@mahfouzhseineweev Would you provide a minimal reproduction? I'll happily take a look.


Add machinelearning release branch to CI

@mmitche
/cc @shauheen - FYI

@mmitche - any thoughts on merging this?
I'm not sure why the CI checks fail.  Is that my fault?

Not your fault, merging


Ingest Liquor Licenses

Why not?
https://data.nsw.gov.au/data/dataset/liquor-licence-premises-list

moved to https://github.com/AKST/Australian-Address-Boundaries-Land-Property-Price-Database/wiki/Other-datasets-to-Explore


Improve visibility of the status of custom resources on Kubernetes to quickly identify failed resources

Is your feature request related to a problem?
An improvement on the visibility of the status of the ACK custom resources on Kubernetes will be very helpful to identify failed resources fast and debug why they have failed.
In GCP config-connector when kubectl get is ran there is visibility on the status of the resource. For example:
kubectl get pubsubtopics

NAME                                                              AGE    READY   STATUS        STATUS AGE
pubsubtopic.pubsub.cnrm.cloud.google.com/int-pubsub-1             334d   True    UpToDate      145d
pubsubtopic.pubsub.cnrm.cloud.google.com/int-pubsub-2             329d   False   Updating      1s
pubsubtopic.pubsub.cnrm.cloud.google.com/int-pubsub-3             13d    False   UpdateFailed  13d
...

While, in ACK even with the -o wide flag we do not get any more useful information on the resource. For example:
kubectl get buckets -o wide

NAME                         AGE
my-ack-s3-bucket-us-east-1   37d
my-ack-s3-bucket-us-west-2   37d
...

Describe the solution you'd like
We would like to have visibility on what the status of the resource is when all the resources are listed using a kubectl get command. Alternative solutions which provide a quick and easy way to check the status of all resources would also be viable.
Describe alternatives you've considered
We could run a kubectl describe on every single resource to check its state but this quickly becomes unfeasible when managing an environment with thousands of resources. Our scale can go above 10,000 resources in some environments.

@daniduhnev1 we just released a new sns and sqs topics improving the kubectl prints. PTAL and let us know if this works!


[Memory Leak] - remove the retrydue date in compare operation in the ShardManager, leading to memory leak, w…

This fix, remove the retrydate in the comparator on the retryQueue.
When the message is retried, a new date is settedup on failures, and this duplicate the entry in the retryQueue, leading to memory leaks in entries in the queue.
Even if the current comparator sort the queue using it, it is not currently used is practice in the development
Checklist

[X ] Documentation (if applicable)
[ ] Changelog

Closing as no reply and I really don't see where the implied memory leak is.


Multiple Amazon CloudFront distributions pointing to the same bucket

Hi @steffeng ! And first, thanks a lot for this. I have had my eyes on deploying this for a while, I am glad to finally have the opportunity!
I have yet another question about using this for multiple distributions (FYI we have about 15 now, going to have about 30).
I checked #8 and #12, but this is different: I don't care about partitioning the data by distribution (like in #8), or group the entire S3 data structure under subfolders (like in #12).
According the the FAQ:

Q: How can I use the sample application for multiple Amazon CloudFront distributions?
Deploy another AWS CloudFormation stack

What about pointing multiple CF distributions to the same bucket's new/? Skimming the code, I did not see any obvious reason why it would be an issue, but the FAQ answer above makes it sound like the only way is to deploy another stack...
What am I missing? Will it work, or will it break something?

Hi @yemartin. Sorry for the late response. Indeed, that should work as long as the volume of logs can still be processed within 15 minutes and you don't need the partitions to run the queries. Can you please share your experience so I can evolve the FAQ here?

Hi @steffeng, and great timing: after testing it in staging for a while, we just started using this multi-distributions setup in production yesterday!
We are currently pointing five of our CloudFront distributions to the same new/, and it is working like a charm.
About performance: we have some moderate traffic, with sustained peaks at 30 requests per second. And the lambda functions are performing well: TransformPartFn completes in about 5 seconds, while CreatePartFn and MoveNewAccessLogsFn run in under 2 seconds. So we have a very comfortable margin to 15 minutes.
If we need logs of a single distribution, we filter by host. With only 24 hours of data, it is too early to tell if not having per-distribution partitions will be an issue or not.
I am not sure what else to tell you. Is there anything else you would like to know about our experience?

Thanks @yemartin for your feedback and the idea in the first place. I added it to the FAQ in the README.


Generated deploy preview url mismatches with netlify preview url

Hello,
I am currently using the wait-for-netlify-action within a Github actions CI to generate the deploy preview URL of a relatively new project ( 3 merged PRs ) after which tests are run against the deployed preview.
Expected Behavior
wait-for-netlify-action should generate the URL of the preview deployed from the pull request after the deployed preview returns a 200 status code.
Current Behavior
wait-for-netlify-action is generating a preview URL that mismatches with the netlify preview deploy URL. The pull request number appears to be what breaks the generated URL.
I.e wait-for-netlify-action generates 9 as the pull request number, however, the pull request number on Netlify is 4. This leads to the Url unavailable, retrying error and eventually a timeout error.
The affected repository can be found here.
See attached screenshot.

@vickywane - That's really odd, I haven't seen that before. I wonder if it is related to this new feature they shipped today?
https://www.netlify.com/blog/2021/05/19/next-generation-deploy-previews-plus-netlify-acquires-featurepeek/

Ok, the way the action gets the ID is from GitHub PR ID. The pull request ID does seem to match as expected (9). But for some reason, Netlify seems to be using a different deploy preview URL. I'm not sure why and I, unfortunately, don't think that's there's any way of correctly that from within the action. 😞


Update cassandra-blueprint.yaml

Update cassandra blueprint.
Change Overview
Fixing problem where snapshots were not getting cleaned up. Added nodetool command to cleanup snapshots.
Pull request type
Please check the type of change your PR introduces:

[ ] :construction: Work in Progress
[ ] :rainbow: Refactoring (no functional changes, no api changes)
[ ] :hamster: Trivial/Minor
[x] :bug: Bugfix
[ ] :sunflower: Feature
[ ] :world_map: Documentation
[ ] :robot: Test

Issues

#K10-5821

#Tests
Test 1 -

Deployed cassandra and added sleep time in blueprint. While taking backup I deleted actionset.
I triggered backup process again and it worked as expected.

Test 2 -

Manually triggered snapshot in cassandra pod via kubectl using command "nodetool clearsnapshot".
Later triggered backup via cassandra blueprint. I got error "Snapshot cassandra-1 already exists".
Later I added triggered backup with new cassandra-blueprint and process completed without any error.

@chaitanya-baraskar This doesn't seem to have the correct commits. It's actually showing the GitHub actions changes. Could you rebase and correct this?

@pavannd1 on it.. Let me close this PR and raise new one.


Update GAPICs for Spanner

This updates the GAPICs for Spanner, which are slightly older, and picks up updated comments.
This also updates links in the Video intelligence GAPIC.

Before merging this, can we confirm the system tests all pass? Changes look unrelated, but I'm still going to confirm. Hold it for a bit please. :)

system suite looks good.


Two small issues with unicodeCodePoint escape sequence in literal strings

Incorrect regex
Regex here (in constant evaluator):
https://github.com/tact-lang/tact/blob/b119b7baac9f8bfa61484757bd226def0d858ab4/src/constEval.ts#L607
Doesn't match the grammar:
https://github.com/tact-lang/tact/blob/b119b7baac9f8bfa61484757bd226def0d858ab4/src/grammar/grammar.ohm#L286
As it allows more than six hexadecimal digits to be specified, while grammar allows from 1 to 6. In that regex on top, the + has to be replaced with {1,6}.
Weird bug with specifying from 1 to 6 zeros
The following:
dump("\u{00000}"); // any number of zeros between 1 and 6 does this

...leads to this ugly error message:
/playground/build/Playground/tact_Playground.code.fc:25:22: error: undefined function `__gen_slice_string_dbbc7025e89eb9b1ec9e8e2c7a2db6869dbb50fba21bf374c86529dc311cede9`, defining a global function of unknown type
      __tact_debug_str(__gen_slice_string_dbbc7025e89eb9b1ec9e8e2c7a2db6869dbb50fba21bf374c86529dc311cede9(), "File contracts/playground.tact:69:9");
                       ^

Same goes for "\u0000" and "\x00" too.
P.S: The maximum valid Unicode code point is U+10FFFF, which makes dump("\u{110000}") (and bigger) fail with an RangeError — that error can be handled a bit more gracefully :)

good catch! can you make a quick PR to resolve this?

The problem is in comments that Tact produces for string constants. I think we have three options:

remove these comments completely from generated code
escape all special characters (probably via escape() js function)
forbid null character in strings constants

The last option seems the simplest. Also, we could probably replace null characters with empty spaces. But escaping all special characters may be a more safer option going forward not to introduce unexpected crazy vulnerabilities with unicode code points manipulations

Escaping in the generated comments for strings sounds like the best option to me


Automatic image security scanning or Scan All / Multi

What would you like to be added:
Automatic image security scanning - either an option to do automatically do it for every image periodically or a button to scan all etc.
Why is this needed:
Security scanning is nice but with a lot of images it's very tedious to scan one image at a time. My initial expectation was it did this automatically. It also defeats some of the intent as it's not entirely useful to have up to date vulnerabilities but then require manually scanning one at a time.
Also the security scanning is featured in release notes and websites and shows screenshots and such but not how to actually access and use the feature.
Environment you are Lens application on:

Kubernetes distribution: EKS
Desktop OS: Mac OS 12.6 (21G115)

Hi, the manual scanning feature is described here:
https://docs.k8slens.dev/main/extensions/images/#manual-scanning
As for the automatic scanning you can install the operator following these steps:
https://docs.k8slens.dev/main/extensions/images/#automated-scanning-with-the-trivy-operator-tool

Thanks. It'd be helpful if pages like this referenced those docs: https://k8slens.dev/security.html?utm_source=app&utm_medium=banner&utm_campaign=6&utm_content=welcome_banner_03.html


[ Feature Request ]

Is your feature request related to a problem? Please describe.
I want to provide a Simplified Chinese translation of the content, how should I do it?

Describe the solution you'd like
add Simplified Chinese translation

Describe alternatives you've considered
-

Additional context
No response

https://github.com/Equal-UI/Equal/blob/510627f286856fc9396680ce4128df5747981e65/docs/pages/index.vue#L15C17-L15C17
As you can see, there are extracted vue-i18n string used in the docs, and the respective string as the key in the language.json file. You can do the same for all other text content in the docs too.

Well, it looks like this.
However, the current structure may be changed. I will submit a version first, and if there is no problem, I will make large-scale revisions.


flutter windows app can't luanch on windows10 .help me

error log

[  +23 ms] Building Windows application... (completed in 79.8s)
[+4225 ms] Error waiting for a debug connection: The log reader stopped unexpectedly, or never started.
[        ] Error launching application on Windows.
[   +1 ms] "flutter run" took 91,615ms.
[   +3 ms]
#0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:687:9)

#2      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:1161:27)

#3      AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#4      CommandRunner.runCommand (package:args/command_runner.dart:209:13)

#5      FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)

#6      AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)

#8      run.. (package:flutter_tools/runner.dart:62:9)

#9      AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#10     main (package:flutter_tools/executable.dart:94:3)

[ +207 ms] ensureAnalyticsSent: 205ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1

flutter doctor -v

Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
[√] Flutter (Channel stable, 2.10.5, on Microsoft Windows [Version 10.0.17763.2803], locale zh-CN)
• Flutter version 2.10.5 at C:\Users\Administrator\Documents\flutter\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 5464c5bac7 (2 weeks ago), 2022-04-18 09:55:37 -0700
• Engine revision 57d3bac3dd
• Dart version 2.16.2
• DevTools version 2.9.2
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn

[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at C:\Users\Administrator\AppData\Local\Android\sdk
• Platform android-31, build-tools 31.0.0
• Java binary at: D:\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

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

[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.1.6)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.1.32421.90
• Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.1)
• Android Studio at D:\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)

[√] Connected device (2 available)
• Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.17763.2803]
• Chrome (web)      • chrome  • web-javascript • Google Chrome 100.0.4896.127

[√] HTTP Host Availability
• All required HTTP hosts are available

! Doctor found issues in 1 category.

I found the problem is caused by bitsdojo_window plugin. When I remove this, it works normally.


Calling STRLEN() to compute ml_line_textlen when not needed

Problem:  Calling STRLEN() to compute ml_line_textlen when not needed.
Solution: Use 0 when STRLEN() will be required and call STRLEN() later.

might be worth a try. I guess it depends how often ml_get_buf_len() is actually called and how often we have to re-calculate the strlen() then. Let's see if @basilisk0315 can check the call to strlen for this pr here.

@chrisbra Sorry for being a slow. What is it you want me to do?

@basilisk0315 you have been doing some analysis on how often strlen() was performed. can you compare against this PR please?

I have had a look at this PR and I think it looks good. The strlen() in ml_get_buf_len() will only be called if the buffer actually has text properties which is then the only reliable way to determine the string's length. If the buffer has text properties the behaviour will be back to what it was before these changes (ie calling strlen()).
A small optimisation could be to change line 2806 in memline.c to this:
if (buf->b_has_textprop && buf->b_ml.ml_line_len >= sizeof(textprop_T))
This would mean we would only be calling strlen() on lines where there is a possibility of text props.
It's a shame the text props don't have a record of how many there on the line. I have a couple of ideas of how this info could be stored in the line. This would probably require some relatively invasive surgery which might not be palatable and so might not be worth pursuing. I don't know.
Overall I think the change is a good solution.

A small optimisation could be to change line 2806 in memline.c to this: if (buf->b_has_textprop && buf->b_ml.ml_line_len >= sizeof(textprop_T))

It can be > actually, because there is always a NUL byte.

thanks. Let me merge it then.


ImportError: cannot import name X from Y

JPype1 version 1.2.1
OpenJDK 16.0.1, Windows 10, Python 3.9
I am trying to run the following python code:
import os
import jpype.imports

print("cwd: %s" % os.getcwd())
jpype.startJVM("-ea", "--enable-preview", classpath=["target/classes"])

from java.lang import System
from test import Test

print(System.getProperty("java.class.path"))
Test()
exit(1)

I get this output:
cwd: C:\Users\Gili\Documents\myproject
Traceback (most recent call last):
  File "C:\Users\Gili\Documents\myproject\src\main\python\mypackage\__init__.py", line 8, in <module>
    from test import Test
ImportError: cannot import name 'Test' from 'test' (C:\Python39\lib\test\__init__.py)

where C:\Users\Gili\Documents\myproject\target\classes contains test\Test.class.
I've spent hours trying to debug this and I can't figure it out. If I invoke java -cp target/classes test.Test from command-line it works just fine.

Okay. So if I replace from test import Test with Test = jpype.JClass("test.Test")  then the code runs.
Any idea why the import is failing?

Generally speaking imports should be in a tld.   The defined tld for Java are "mil", "com", "org", "net", "gov",  and "edu".  Importing in others are only supported if there is not a conflict with Python.  There are a few common ways to get conflicts such as you are describing.   Installing a Python package with the same name, having a script with the same name, or having a directory with the same name.
So you have one of ...

A site package named test.
A script called test.py in your PYTHON_PATH
A directory called test in your PYTHON_PATH

In the case of conflicts you can force using a particular Java (bypassing the Python search) by using jpype.JClass('test.Test').

I took the code directly from the "Getting Started" guide and it does not work. Take a look at this testcase:
testcase.zip
If I run from org.pkg import MyClass I get:
Traceback (most recent call last):
  File "C:\Users\Gili\IdeaProjects\jpype\src\__init__.py", line 15, in <module>
    from org.pkg import MyClass
ImportError: cannot import name 'MyClass' from 'org.pkg' (unknown location)

If I replace this line with jpype.JClass("org.pkg.MyClass") it works fine. Can you reproduce this on your side?

I, for one, cannot reproduce this. If I run python -m src from the testcase folder, I get this output:
cwd: d:\temp\testcase
jvmpath: C:\programs\Java\bin\server\jvm.dll
jvmStarted: True
(16, 0, 1)
target/classes
Hello world

This is with JPype 1.2.1, Java 16.0.1, Python 3.9.4 on Windows 10.

@John-Hennig You are right. If I run from command-line I get the same output, but when I run the same command-line from inside IntelliJ it fails. I am scratching my head trying to figure out what is different.
Are you able to test with IntelliJ on your end?

Here is the output I get from command-line:
C:\Users\Gili\IdeaProjects\jpype>python\Scripts\python.exe C:/Users/Gili/IdeaProjects/jpype/src/__init__.py
cwd: C:\Users\Gili\IdeaProjects\jpype
jvmpath: C:\Program Files\Java\jdk-16.0.1\bin\server\jvm.dll
jvmStarted: True
(16, 0, 1)
target/classes
Hello world

and from IntelliJ:
C:\Users\Gili\IdeaProjects\jpype\python\Scripts\python.exe C:/Users/Gili/IdeaProjects/jpype/src/__init__.py
cwd: C:\Users\Gili\IdeaProjects\jpype
jvmpath: C:\Program Files\Java\jdk-16.0.1\bin\server\jvm.dll
jvmStarted: True
(16, 0, 1)
Traceback (most recent call last):
  File "C:\Users\Gili\IdeaProjects\jpype\src\__init__.py", line 15, in <module>
    from org.pkg import MyClass
ImportError: cannot import name 'MyClass' from 'org.pkg' (unknown location)

Process finished with exit code 1

I figured it out. I don't have PYTHONPATH set from command-line but IntelliJ sets it to:
C:\Users\Gili\IdeaProjects\jpype;C:\Users\Gili\IdeaProjects\jpype\src\test\java;C:\Users\Gili\IdeaProjects\jpype\src\main\resources;C:\Users\Gili\IdeaProjects\jpype\src\main\java;C:/Users/Gili/IdeaProjects/jpype/target/classes;C:\Users\Gili\AppData\Roaming\JetBrains\IntelliJIdea2021.1\plugins\python\helpers\pycharm_matplotlib_backend;C:\Users\Gili\AppData\Roaming\JetBrains\IntelliJIdea2021.1\plugins\python\helpers\pycharm_display
I'll play around with IntelliJ and hopefully I'll be able to figure this out. Closing this issue.

I'm going to go out on a limb and say I think I know what is going on.
IntelliJ seems to insist on setting PYTHONPATH to:
C:\Users\Gili\IdeaProjects\jpype;C:\Users\Gili\IdeaProjects\jpype\src\test\java;C:\Users\Gili\IdeaProjects\jpype\src\main\resources;C:\Users\Gili\IdeaProjects\jpype\src;C:/Users/Gili/IdeaProjects/jpype/target/classes;C:\Users\Gili\AppData\Roaming\JetBrains\IntelliJIdea2021.1\plugins\python\helpers\pycharm_matplotlib_backend;C:\Users\Gili\AppData\Roaming\JetBrains\IntelliJIdea2021.1\plugins\python\helpers\pycharm_display

For the most part this is harmless but it turns out that the presence of C:/Users/Gili/IdeaProjects/jpype/target/classes in the value triggers the aforementioned exception to be thrown.
https://jpype.readthedocs.io/en/latest/userguide.html#importing-java-classes says:

Python always imports local directories as modules before calling the Java importer.

So am I right in thinking that in this case Python sees the target/classes directory and treats it as a Python module instead of calling the Java importer?
I wish I could figure out how to instruct IntelliJ to not add this directory to PYTHONPATH. It seems to set it no matter what I try. I even tried declaring my own PYTHONPATH environment variable, and it appended to it :(

Yeah, not much I can do with the priorities of imports.   Python doesn't call 3rd party importers until all of the default methods have failed.   So JPype can't import until after the others have been scanned and found to be missing.
The order as far as I am aware is

Preloaded modules
Local script as module
Local directory as module
System directory as module  (PYTHONPATH)
3rd party plugins.

My suggestions are use one of the following solutions.

Use JClass('test.Test') to get to the class.
Use JPackage('test').Test  to access the hidden package.
Use jpype.imports.registerDomain('mytest', alias='test') to make rename your Java package to avoid a conflict.
Abuse the import system using sys modules to preload java package test so that your preferred package rules over local.  As the first priority is always preloaded this can work when there are conflicts.

As the last one is not obvious, here is some sample code...
import jpype
import jpype.imports
import sys
jpype.startJVM()
sys.modules['test']=jpype.JPackage('java')  # Preload `test` with a Java package
from test.lang import String  # This should fail because I have both a `test` and `test.py`, but preloaded modules are first priority always.

Please note that option 4 will cause problems with reimport as a change in those directories is likely to cause it to drop existing reload and scan again.

Thank you. Just to close off on this topic, when I was researching Java-Python bridges the number one complaint I read about jpype was that it's always difficult to get imports working correctly (and when something fails it's not obvious why).
To that end, I wish https://jpype.readthedocs.io/en/latest/quickguide.html would have clarified earlier on that if you run into any import problem stop banging your head and instead try using the JClass syntax right away. If that works then your problem is likely caused by PYTHONPATH containing the Java class directory.

Getting started is always the worst.     Thus first time users thus have to navigate the problems of both which at times feels like working your way through a Dark Soul level.  That said once you navigate the problem cases it works well.  So it is just what happens when you inherit the baggage of two languages.
Though I am not sure if I agree with that statement that if JClass works that means it is PYTHONPATH problem in general.
Fundamentally importing is

Deciding if a modules isn't found to call the JPype 3rd party import hooks.
Looking through with Jar reflection and Jar file system handles to find the package and class to load.
Calling JClass to wrap the Java class to make it into a Python class.

The problem you gave was a failure at step one.     But that is only one possible failure mode step 1.  The known places where JClass works and imports fail are:  class is not public, class has module permission problems (JNI can access, but Java cannot), security manager issues, PYTHONPATH conflict with file or directory, class is in jar file which lacks a directory listing, jar with invalid directory listing, multiple jars providing the same package, class is in jar file with MR directory on older JVM, conflict in customizer (rare), a dynamic class loader (rare), and maybe four others that I can't recall right now.   Once in a while there is an issue that I simply can't solve because it is so site specific I simply can't replicate  the conditions.   In almost all cases they were problems in which an assumption has been violated that only someone very familiar with Python or Java would ever think of.
Unfortunately, as my company prohibits installation of certain IDEs (including IntelliJ), this issue was not one that I could assist with.

Speaking only for myself, I think JPype is great when Java-to-C bindings don't exist but I don't really want to bind to Python in the long run if I can avoid it.  I am far from an expert on this topic but two problems that come to mind are garbage collection and the global interpreter lock. I suspect the further you go down this road, the more leaky abstractions you'll run into which will force users to dig into the C, Python code when some problems occur (e.g. memory leaks).
Ideally, I want both the Java and Python bindings to invoke the same low-level C/C++ code under the hood and let Java and Python provide a higher-level API on top.

Well if your implementation is C under the hood, then certainly you may want to just implement direct Python and Java binds.  C++ is perhaps a bit worse as it adds another control path with exceptions that really pumps up the difficulty to both Java and CPython.  JPype is intended for the case in which the code is written in Java and access from Python is required.  Other tools are certainly better for other situations.
However, JNI and CPython APIs are no walk in the park.  Memory leaks, resource management, and threading are not insignificant problem.   Even using JNI for well over 10 years, there are still mysteries when it comes the API interactions.  A single missed frame statement or forgetting to hold a reference the right way and it all crashes and burns.   CPython is even rougher as you add a whole other dimension of reference counting errors which JNI mercifully abstracted away.   The crash often won't land close enough to the initial injury to even know where to start debugging.  So unless you have control of the C interface to make it easy to add hooks that support the requirements of multiple languages (or your API is trivial), justifying writing more than one language binding from scratch may not be worth it.   You wouldn't believe the number of times I have pounded my head wondering why they just didn't give a callback with a closure option on an interface or some way to involve something that doesn't require dancing around implementing fake objects because the interface requires accessing one member of some huge structure.   To summarize,  language binds are always a lot of work and most projects can't afford the cost of maintaining more than one.
JPype has solved "most" of the problems of getting Python to call Java as well as a number of speed optimizations when sharing data.  But there are still edge cases such as cyclic references.   Java doesn't have a general method to handle foreign references (other RMI but that doesn't appear to work for local) and Python has no methods to cooperate with a second garbage collector.   Thus there will always be rough spots.

@Thrameos Sorry, the above comment was actually meant for https://github.com/pytorch/pytorch/issues/58973
I assume that in the case of PyTorch (and TensorFlow) the bulk of the code is implemented in C with a Python API layered on top. In that case, it sounds better to build a Java binding on top of the C API instead of building Java on top of Python on top of C...

No problem.  It really depends on what the C looks like.  If is a wrapper over mostly C code then adding another Java wrapper likely works.  If it is code like Numpy where Python is integral to the code then a reverse bridge may be a better option.

@cowwoc I had the exact same problem. I solved by navigating to the run configuration of my Python script and entering "-E" (without quotes) in the "Interpreter options" field. This option disables the PYTHONPATH env variable that Intellij seems to insist on setting, see here:
https://docs.python.org/3/using/cmdline.html#cmdoption-e


Add support for most.js and rxjs

I think I will investigate this once cycle unified is released, as I think it will be a fair bit easier then.

How about when Unified release candidate versions are out? which is soon

Yep, not having the rxjs RC was what stopped me when I tried earlier.
On 8/02/2017 9:58 PM, "André Staltz"<EMAIL_ADDRESS>wrote:

How about when Unified release candidate versions are out? which is soon
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/cyclejs/time/issues/8#issuecomment-278269348, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAYUHf4Pc1Bw3JgOYLLpU0zCc_2om444ks5raYOdgaJpZM4L6dL9
.

Actually @cycle/rxjs-run 4.0.0-rc.5 is out already.

#9 The test suite is now passing with xstream, rxjs and most. Stuck getting the typings set up.

I have released v0.5.0 with support for rxjs and most.
For rxjs users:
import {timeDriver, mockTimeSource} from '@cycle/time/rxjs';

For most users:
import {timeDriver, mockTimeSource} from '@cycle/time/most';

Types specific to each stream library are included for TypeScript users.


RFM - Malwarebytes

Current Maintainer

[ ] I am the maintainer of the package and wish to pass it to someone else;

I DON'T Want To Become The Maintainer

[X] I have followed the Package Triage Process and I do NOT want to become maintainer of the package;
[X] There is no existing open maintainer request for this package;

Checklist

[X] Issue title starts with 'RFM - '

Existing Package Details
Package URL: https://chocolatey.org/packages/malwarebytes
Package source URL: https://github.com/aronovgj/choco-auto
Date the maintainer was contacted: 12/11/2019
How the maintainer was contacted: via Disqus; via "Contact maintainers" link; via github issue on their github repo for chocolatey packages.

I use this so I'll pick it up. Will send a request shortly.

New version has been pushed.


Adding support for ES5

@beardface
Adding compliance for ES5 versioned queries. Looks at esVersion and chooses between old ES2 query or ES5 query templates.

:+1: LGTM!


chore(master): release 1.6.0

:robot: I have created a release beep boop
1.6.0 (2023-01-04)
Features

update pnpm (b495892)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wayofdev/docker-node/releases/tag/v1.6.0 :sunflower:


Refactor plugin to use latest version of IF

This plugin in its current state is not compatible with the current version of the Impact Framework.  See: https://github.com/Green-Software-Foundation/if/blob/7011a2c7563cdfe4c09664e86c923ef83922cf1b/Refactor-migration-guide.md for specifics.  Update this plugin so that it is compatible with the latest version of IF.

Some clarifying questions:

Is the Plugins section the relevant section from the migration guide?
Is src/lib/datadog-importer/index.ts the file that needs to be updated?

Yes to both!  The sample-input.yml file, and possibly the sample-output.yml file, needs to be updated as well, but that could be done as part of another issue.

Was able to get around to this myself, assigning me as the assignee


Update re2 library to 2018-10-01

This fix updates re2 library to the latest release of 2018-10-01
Signed-off-by: Yong Tang<EMAIL_ADDRESS>

Ping @gunan to take a look.


unclear relation naming

The relations between the ActiveRecords have unclear names
E.g.
//LanguageTranslate.php

public function getId0() {
    return $this->hasOne(LanguageSource::className(), ['id' => 'id']);
}
public function getLanguage0() {
    return $this->hasOne(Language::className(), ['language_id' => 'language']);
}

I would expect:
public function getLanguageSource() {
    ...
}
public function getLanguage() {
   ...
}

Is this done with a specific reason?

The function cannot be called getLanguage due to a name conflict.
Thanks for the comment.


[WFRP4e System] Rest and Recover Wound functionality

Rest and Recover Wound functionality doesn´t sum automatically the wounds in the character.From: Jaime Traperowfrp4e: 3.1.0wfrp4e-core: 1.1

The intention is to drag and drop the wounds value from chat onto your character.


[Introspection] ID = RelationField can't be handled by PrismaModels

error: Error validating model "atTopicSettings": Invalid ID field. ID field must be one of: Int @id or Int @id @default(`Integer`) for Int fields or String @id or String @id @default(`cuid()`|`uuid()`|`String`) for String fields..
  -->  schema.prisma:249
   |
248 | model atTopicSettings {
249 |   akID                       AttributeKeys @id
250 |   akTopicAllowMultipleValues Boolean       @default(true)
   |

Lined 249 is the problem

Problem
It is relatively common to have a single field that is both a foreign key and primary key, especially for 1:1 relations.
https://stackoverflow.com/questions/10982992/is-it-fine-to-have-foreign-key-as-primary-key
Example:
model User {
  username: String @id
  info: UserInfo
}

model UserInfo {
  user: User @id @relation(references: username)
  ...
}

Decision
Allow relation fields to be used as @id fields when the relation is set up in such a way that the id is stored on that model (such that there is an underlying database column).
All the normal rules apply to the field with the @id attribute.

Temporary Guardrail
If a field is both an id and a relation, remove the relation, such that the field becomes a scalar id.
We can release Photon with this guardrail in place.


Fix tabs vs spaces

There was a mix of tabs and spaces in some files. I have changed
files to be consistent with either all spaces or all tabs. I based
the change on what was more common in the individual file.
Signed-off-by: Charlie Gracie<EMAIL_ADDRESS>

thanks for the great work @charliegracie