jdk11 jdk_compile failures on macos12

56 compiler/aot/* tests failed on test-macincloud-macos1201-x64-1  only  with message:
15:02:26  Preparing compiled binary (0 ms)
15:02:26  Creating binary: libHelloWorld.so.o (9 ms)
15:02:26  Creating shared library: libHelloWorld.so (19 ms)
15:02:26  Exception in thread "main" java.lang.InternalError: ld: dynamic main executables must link with libSystem.dylib for architecture x86_64
15:02:26  	at jdk.aot@11.0.15-beta/jdk.tools.jaotc.Linker.link(Linker.java:142)
15:02:26  	at jdk.aot@11.0.15-beta/jdk.tools.jaotc.Main.run(Main.java:262)
15:02:26  	at jdk.aot@11.0.15-beta/jdk.tools.jaotc.Main.run(Main.java:133)
15:02:26  	at jdk.aot@11.0.15-beta/jdk.tools.jaotc.Main.main(Main.java:89)
15:02:26
15:02:26  Command line: [/Users/jenkins/workspace/grinder_sandbox_new/openjdkbinary/j2sdk-image/Contents/Home/bin/../bin/java -cp /Users/jenkins/workspace/grinder_sandbox_new/aqa-tests/TKG/output_1650394746878/hotspot_custom_1/work/classes/0/compiler/aot/verification/ClassAndLibraryNotMatchTest.d:/Users/jenkins/workspace/grinder_sandbox_new/aqa-tests/openjdk/openjdk-jdk/test/hotspot/jtreg/compiler/aot/verification:/Users/jenkins/workspace/grinder_sandbox_new/aqa-tests/TKG/output_1650394746878/hotspot_custom_1/work/classes/0/test/lib:/Users/jenkins/workspace/grinder_sandbox_new/aqa-tests/TKG/output_1650394746878/hotspot_custom_1/work/classes/0:/Users/jenkins/workspace/grinder_sandbox_new/jvmtest/openjdk/jtreg/lib/javatest.jar:/Users/jenkins/workspace/grinder_sandbox_new/jvmtest/openjdk/jtreg/lib/jtreg.jar:/Users/jenkins/workspace/grinder_sandbox_new/jvmtest/openjdk/jtreg/lib/junit.jar:/Users/jenkins/workspace/grinder_sandbox_new/jvmtest/openjdk/jtreg/lib/testng.jar:/Users/jenkins/workspace/grinder_sandbox_new/jvmtest/openjdk/jtreg/lib/jcommander.jar -ea -esa -Xmx512m -XX:-UseCompressedOops -cp . -XX:+UnlockExperimentalVMOptions -XX:+UseAOT -XX:AOTLibrary=./libHelloWorld.so HelloWorld ]
15:02:26  STDERR:
15:02:26   stdout: [error opening file: dlopen(./libHelloWorld.so, 0x0001): tried: '/Users/jenkins/workspace/grinder_sandbox_new/openjdkbinary/j2sdk-image/Contents/Home/lib/server/././libHelloWorld.so' (no such file), '/Users/jenkins/workspace/grinder_sandbox_new/openjdkbinary/j2sdk-image/Contents/Home/lib/server/.././libHelloWorld.so' (no such file), '/Users/jenkins/workspace/grinder_sandbox_new/openjdkbinary/j2sdk-image/Contents/Home/bin/../lib/jli/./libHelloWorld.so' (no such file), './libHelloWorld.so' (no such file), '/usr/local/lib/libHelloWorld.so' (no such file), '/usr/lib/libHelloWorld.so' (no such file), '/Users/jenkins/workspace/grinder_sandbox_new/aqa-tests/TKG/output_1650394746878/hotspot_custom_1/work/scratch/1/libHelloWorld.so' (no such file), '/usr/local/lib/libHelloWorld.so' (no such file), '/usr/lib/libHelloWorld.so' (no such file)
15:02:26  ];
15:02:26   stderr: []
15:02:26   exitValue = 1
15:02:26
15:02:26  java.lang.RuntimeException: Expected to get exit value of [0]

https://ci.adoptopenjdk.net/job/Test_openjdk11_hs_extended.openjdk_x86-64_mac_testList_1/41/
https://trss.adoptium.net/deepHistory?testId=625744b172761a4c5c12015c

jdk_net with jdk18 failed https://ci.adoptopenjdk.net/job/Test_openjdk18_hs_extended.openjdk_x86-64_mac_testList_1/41/
history shows only fail on macos12
https://trss.adoptium.net/deepHistory?testId=62c11de6250c3c428c63099a

Latest failing builld
https://ci.adoptopenjdk.net/job/Test_openjdk11_hs_extended.openjdk_x86-64_mac_testList_1/55/#showFailuresLink

jdk_net with jdk18 failed https://ci.adoptopenjdk.net/job/Test_openjdk18_hs_extended.openjdk_x86-64_mac_testList_1/41/
history shows only fail on macos12 https://trss.adoptium.net/deepHistory?testId=62c11de6250c3c428c63099a

That looks like a separate failure from the one mentioned in the description, so perhaps it should have its own issue

We would like to take those two machines offline before the issues is fixed (either update the test cases or update machine configuration?) to avoid re-triage again and again. Looks like https://ci.adoptopenjdk.net/computer/test-macincloud-macos1201-x64-1/ is offline due to some other updates.
The interesting thing is both machines are labeled as macos10.10 https://ci.adoptopenjdk.net/label/macos10.10/, which is incorrect. Might be updated from macos10.10 to macos10.12?

Agreed - that's an error. Updated to macos12

The interesting thing is both machines are labeled as macos10.10 https://ci.adoptopenjdk.net/label/macos10.10/, which is incorrect. Might be updated from macos10.10 to macos10.12?

Agreed - that's an error. Updated to macos12

Does the failure show on the aarch64 builds which are on macos11.0.1? The above would suggest that it would affect those too.

Looking at https://ci.adoptopenjdk.net/job/Test_openjdk11_hs_extended.openjdk_aarch64_mac_testList_1/17/testReport/ it looks like those tests are not run on aarch64 so the consistent option would seem to be be to exclude them on the x86-64 platform too.

@sxa those aot tests only run if  VM supports AOT. Does jdk11 arch64 mac support AOT? If no tests will skip.

jdk_net with jdk18 failed https://ci.adoptopenjdk.net/job/Test_openjdk18_hs_extended.openjdk_x86-64_mac_testList_1/41/
history shows only fail on macos12 https://trss.adoptium.net/deepHistory?testId=62c11de6250c3c428c63099a

That looks like a separate failure from the one mentioned in the description, so perhaps it should have its own issue

Yeah these seem to be IP address/socket issues. One is giving Execution failed: main threw exception: java.lang.RuntimeException: invalidhost.invalid should throw UnknownHostException! so this will definitely need separate diagnosis outside this issue.


Yt speed suddenly back to normal?

Checklist

[x ] I'm asking a question
[ x] I've looked through the README and FAQ for similar questions
[x ] I've searched the bugtracker for similar questions including closed ones

Question

WRITE QUESTION HERE
For a long time, like even before the last release, there began a problem with speed in dl from yt. I've read many issues here that said the same, I don't remember exact speeds, but it couldn't achieve speeds higher than 100KB/s I think. I had this problem still about a week ago, and today it's somehow gone. Speeds were higher then 2MB/s. I didn't changed anything in my setup nor in the software itself. Do you know what could happen that solved the issue? Was there a change in yt API or something like that, that could influence these speeds?

And back again to these ~56KiB/s, strange.

Continued in #30976.


Update service-fabric-cluster-fabric-settings.md

I believe the Http Gateway is enabled by default on all Azure Service Fabric clusters. I see below cluster manifest file in a newly created cluster from Azure Portal with HttpGateway enabled by default.
<Section Name="HttpGateway">
  <Parameter Name="IsEnabled" Value="true" />
</Section>

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

I checked the source config file and it looks like HttpGateway is indeed disabled by default. Maybe overridden by whatever deployment template you were using?

Closing PR per request by @erikadoyle.

@erikadoyle , Thank you for checking on this. I did a quick test with SF cluster deployment, I see there was no parameter that's been passed for HttpGateway to be enabled explicitly, however I think this value is updated based on some other internal SF deployment logic cause I always see this HttpGateway param values set to true in all clusters irrespective of what I select on Azure Portal or with ARM template.


Architecture refactor

The reason for this pull request is a ground breaking change in the structure of the java client. The Grakn team asks us to follow their structure if it's possible.

For more clarity the protocol proto files are also changed.
Changed the base of the client from the python to the java client
take over the sources in the Julia files as comments. That should ease to follow which logic should be implemented there.

I posted few comments but given that this is WIP please feel free to merge and fix after.


[bug] Simulation and session servers

Describe the Bug
Cannot run webots server
Steps to Reproduce

cd /usr/local/webots/resources/web/server
sudo server.sh start
server.sh: line 46: ./session_server.py: Permission denied
server.sh: line 51: ./simulation_server.py: Permission denied

The script it also run first the session_server.py and not the simulation_server.py,
as recommended in /usr/local/webots/resources/web/server/README.md

sudo python simulation_server.py config/simulation/local.json

Traceback (most recent call last):
  File "simulation_server.py", line 20, in <module>
    from pynvml import nvmlInit, nvmlShutdown, nvmlDeviceGetHandleByIndex, nvmlDeviceGetName, nvmlDeviceGetMemoryInfo, \
ImportError: No module named pynvml

Switch to python3:

sudo python3 simulation_server.py config/simulation/local.json

  File "simulation_server.py", line 78
    os.chmod(fullname, 0775)
                          ^
SyntaxError: invalid token

edit line 78: to os.chmod(fullname, 775)
run again

sudo python3 simulation_server.py config/simulation/local.json

Traceback (most recent call last):
  File "simulation_server.py", line 20, in <module>
    from pynvml import nvmlInit, nvmlShutdown, nvmlDeviceGetHandleByIndex, nvmlDeviceGetName, nvmlDeviceGetMemoryInfo, \
ImportError: No module named pynvml

Switch back to python 2.7
sudo pip install nvidia-ml-py

sudo python simulation_server.py config/simulation/local.json
'Simulation server running on port 2000 (no SSL)'

going on web browser on localhost:2000
404: Not Found
going on web browser on localhost:1999
Can "Upgrade" only to "WebSocket".
I think the simulation_server.py and session_server.py is only for python 2.7.
but still didn't figure out how to use the server. (and also many bug along the way).
also looking at local.json:
{
  "keyDir": "$WEBOTS_HOME/../resources/web/server/key"
}

There is no key dir inside server.
System

Operating System: ubunu 18.04

The simulation server works fine because we are daily using it.
But we miss some documentation for it.
Currently it works only for Python 2.7, but I will fix it so that it works for Python3 too.
About the dependencies errors, here are listed the required dependencies:
https://github.com/omichel/webots/wiki/Linux-Optional-Dependencies#webots-web-service

server.sh: line 46: ./session_server.py: Permission denied
server.sh: line 51: ./simulation_server.py: Permission denied

We already fixed the execution permissions here: #229.
So they should now work correctly. Is your environment up-to-date?

The script it also run first the session_server.py and not the simulation_server.py,
as recommended in /usr/local/webots/resources/web/server/README.md

It doesn't matter the starting order, and it works correctly independently if the session_server.py is started before the simulation_server.py.

There is no key dir inside server.

Yes, because you have to use your own key specific to your website.

going on web browser on localhost:2000
404: Not Found
going on web browser on localhost:1999
Can "Upgrade" only to "WebSocket".

The simulation server is just a utility that allows your web page to connect to Webots and stream a simulation but it doesn't work by its own.
This means that you have to start it to prepare the Webots environment to receive the streaming requests, but then you also have to build your own web page from which the user can start the simulation.
We also provide the webots.js  library to handle the simulation streaming:
https://github.com/omichel/webots/blob/master/resources/web/wwi/webots.js
If you simply want to stream the current Webots simulation without opening a new Webots instance for each connected user I would suggest you to look at the streaming_server example:
https://github.com/omichel/webots/tree/master/resources/web/streaming_viewer

I want something more simple then streaming_server.
Thanks for your info.


Local pull request success status testing

Docs Build status updates of commit f84b415:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

E2E_DocsBranch_Dynamic/index.md
:white_check_mark:Succeeded
View

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 in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Cannot call device class member from kernel function on HCC platform

I am not sure if this issue is a genuine HIP issue or if it originates in HCC. Because I am only using HCC through HIP, I am reporting this here.
$ hipcc --version

HCC clang version 3.5.0  (based on HCC 0.10.16186-d14f969-7461349 LLVM 3.5.0svn)
Target: x86_64-unknown-linux-gnu
Thread model: posix

The following code does not compile:
#include "hip/hip_runtime.h"

struct Foo
{
	int m_bar = 5;

	__device__ int bar(int a)
	{
		return a+m_bar;
	}
};

__global__ void kernel(hipLaunchParm lp, int a)
{
	Foo foo;
	foo.bar(a);
}

int main()
{
	hipLaunchKernel(HIP_KERNEL_NAME(kernel), dim3(1), dim3(1), 0, 0, 5);

	return 0;
}

test_direct.cpp:16:6: error:  'Foo::bar': no overloaded function has restriction specifiers that are compatible with the ambient context 'kernel'
So, it looks like the compiler either thinks, that foo.bar is not a __device__ function, or it mistakes the kernel for a host function.

Strangely, calling a non-member __device__ function, which in turn calls the member works. So the following code compiles:
#include "hip/hip_runtime.h"

struct Foo
{
	int m_bar = 5;

	__device__ int bar(int a)
	{
		return a+m_bar;
	}
};

__device__ int bar_wrapper(Foo& foo, int a)
{
	return foo.bar(a);
}

__global__ void kernel(hipLaunchParm lp, int a)
{
	Foo foo;
	bar_wrapper(foo, a);
}

int main()
{
	hipLaunchKernel(HIP_KERNEL_NAME(kernel), dim3(1), dim3(1), 0, 0, 5);

	return 0;
}

Hi - we are looking at this.  it does appear to be an issue with HCC.

One of the Parboil bench has this type of code also.

We have a fix for this in hcc:
https://github.com/RadeonOpenCompute/hcc-clang/pull/3


Vite 5 support

Hi!
Is there an update planned for vite 5 and support for unhead #215?

can this use with Vite 5 now?

no :/

+1

Any news here? Would be great to be able to move up to vite 5

We should move to Vite 5. :+1:

Bump :)

Less go

So it appears pretty clear now that this project will not receive further updates.
I'm thankful that have been using this project to rank successfully in production.
However I need to keep my stack up to date with the current build tools (Vite 5)
I'm considering moving to Nuxt 3 just for the SSR part.
Any other alternatives?

In my last project we invested some time and merged vite-ssr into our codebase. We could delete a bunch of stuff we were not using anyways. Now we have the freedom to update vite, ssr, meta how we want.
It has been quite a bit of work, I guess less then moving to nuxt, ...
If you want more control, I can recommend this way. The codebase of vite-ssr is solid.

I just pulled all the pull request and forks into one repo, updated to vite 6, converted to work with esm, upgraded all the dependencies and fixed few bug. "it works for me" so didn't want to put in time to fix the tests, since uvu doesn't work with esm and I'm not familiar with it. Published to npm as @flowtools/vite-ssr , put I don't use react so that side is totally on the lever "it builds at least".
https://github.com/flow-tools/vite-ssr

@xvaara please take a look on this fork of your repo: https://github.com/flow-tools/vite-ssr/compare/master...pierrick-mace:vite-ssr:master


reconcile query/queryAll with new method being spec'd

Saw this today on public-webapps. The plan for the DOM is to use the query/queryAll names for functions that match using "relative selectors".
See here:
http://dom.spec.whatwg.org/#dom-parentnode-query
Note that it does not have the same behavior as querySelector/querySelectorAll.
Offhand it looks polyfillable. However, we will probably want to have the simpler querySelector/querySelectorAll for performance reasons.

I feel like we're in a good place here ... we fixed our name, now awaiting new one to be more widely implemented


Draft: Multiloader Migration

Personally, I know that I'm going to be using this mod a lot within my future projects. These future projects also happen to be Multiloader and Will did express interest in maintaining it this way after the PR goes through. Huge shoutouts to Will for this btw :3
Why is this a draft?
This is a draft because I'm probably going to wait until NeoForge is a hard fork before I bring this PR through, Neo should end up being where most Forge modders will end up moving their mods post Lex Forge/NeoForge split. So I think that it's fair to draft it until the NeoForged team has something out.
I also wish to test this before it's merged. I'll be using the Bovines and Buttercups rewrite as the testing grounds for this PR.
They're also planning on merging Forge registries into vanilla's registries, which means more Common code for us, yippee!

Another detail that I want to figure out is if Will would like the Forge Jar in Jar artifact to be separate to the non JiJ one. (Default behaviour), as I do know how to change this if not.


Exclude readOnly entities from purge / delete mode

Hi. I have several entities with a readOnly mode
/**
 * @Entity(readOnly=true)
 * ...
 */

These are SQL views also ignored by doctrine to not mapped the schema diff
doctrine:
    dbal:
        default_connection: 'default'
        connections:
            default:
                url: '%env(resolve:DATABASE_URL)%'
                schema_filter: '#^(?!view_).*#'

but when trying to insert the fixtures it fails with either :
$ # with --purge-with-truncate
SQLSTATE[42809]: Wrong object type: 7 ERROR:  "view_something" is not a table

or
$ # without --purge-with-truncate
SQLSTATE[55000]: Object not in prerequisite state: 7 ERROR:  cannot delete from view "view_something"
  DETAIL:  Views containing GROUP BY are not automatically updatable.
  HINT:  To enable deleting from the view, provide an INSTEAD OF DELETE trigger or an unconditional ON DELETE DO INSTEAD rule.

any clues ?
Thanks in advance

This probably needs to be fixed in https://github.com/theofidry/AliceDataFixtures. I was not aware there was read-only entities, we probably need to ignore them in the purgers

ok. should I open a new issue referencing this one then ?

Please 👍

As stated in https://github.com/theofidry/AliceDataFixtures/issues/141 closing because it was a schema_filter error. Sorry for the noise.

Hello, is there a way to avoid purging specific tables? Can it be performed using the RefreshDatabaseTrait?


Determining own IP stopped working with https://api.ip.sb/ip

Describe the bug
As of this morning godns started reporting issues with determining my public IP, so it's reverting to the interface IP address instead.
Curiously, changing ip_url to https://api.ipify.org resolves this issue. I can access both URLs from my desktop computer using the same network, and both services seem to provide the exact same response.
I suspect this has something to do with the SSL layer which I unfortunately couldn't confirm by raising godns' log level.
The frequency of this issue

[x] This issue is easy to reproduce.
[ ] This issue is not easy to reproduce.

Steps to Reproduce

Configure "ip_url": "https://api.ip.sb/ip"
Confirm console is reporting errors

Your GoDNS configuration
        {
          "provider": "Cloudflare",
          "login_token": "x",
          "domains": [
            {
              "domain_name": "x",
              "sub_domains": ["x"]
            }
          ],
          "resolver": "<IP_ADDRESS>",
          "ip_url": "https://api.ip.sb/ip",
          "ip_type": "IPv4",
          "interval": 120,
          "socks5_proxy": "",
          "debug_info": true
        }

Expected behavior

GoDNS should be able to determine my public IP using https://api.ip.sb/ip and change the A record accordingly

Screenshots
N/A
Environment (please complete the following information):

DNS Provider: Cloudflare
OS: Docker image timothyye/godns:2.7.1 from hub.docker.com. Deployed to kubernetes (k3s v1.22.6+k3s1)

Additional context
time="2022-03-31T12:58:57+02:00" level=info msg="GoDNS started, entering main loop..."
time="2022-03-31T12:58:57+02:00" level=info msg="Creating DNS handler with provider:Cloudflare"
time="2022-03-31T12:58:57+02:00" level=error msg="get ip online failed. Fallback to get ip from interface if possible."
time="2022-03-31T12:58:57+02:00" level=error msg="Error in GetCurrentIP:failed to get online IP:403"
time="2022-03-31T12:58:57+02:00" level=debug msg="Going to sleep, will start next checking in 120 seconds...\r\n"

Same happened to me, I'm using https://ifconfig.co now.

Updated the default API in the config file and README.


[release](build script) fix build release bug when build multiple version on same machine

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Check the length of null_bit_buffer in ArrayData::try_new()

Signed-off-by: remzi<EMAIL_ADDRESS>Which issue does this PR close?

Closes #1707.
Rationale for this change
The ArrayData::try_new will panic if null_bit_buffer is too short.
What changes are included in this PR?
Check the length of null_bit_buffer before we call new_unchecked in ArrayData::try_new()
Are there any user-facing changes?
No.

I am not sure if this can be removed: https://github.com/apache/arrow-rs/blob/master/arrow/src/array/data.rs#L683-L693
as validate() is a public function.
But if we don't, we will check the length of null_bit_buffer twice.

But if we don't, we will check the length of null_bit_buffer twice.

Maybe in the long term, we should try to remove the null_count field from ArrayData. I don't find why we need this field except making fn null_count() as a const function (Who will call null_count() multiple times on same array?).

we should try to remove the null_count field from ArrayData

Often faster kernel implementations are possible if one can ignore nulls, as such null_count helps to inform this selection. It is also fairly common for a given array to be fed to more than one kernel, e.g. cmp then filter, and as such caching the null count on ArrayData avoids computing it multiple times

Thank you for your explanation @tustvold. I will do some experiments to test how much performance null_count could contribute.


Feature request: add TypeScript types?

Hi all!
Thanks for this great library! :)
Would it be possible to add a declaration file with TypeScript types?

Hi,
Thanks for the kind words! We won't do TS declarations in this repo though. For those who want TS definitions we recommend adding support for our libraries at http://definitelytyped.org/

Hi Adrian, I understand - thank you!


Weird Cert issue when calling webhook from shell

Got an server on the internet with a let´s encrypt certificate for the https-application, running Apache2
Have installed webhook. Set up webhook id and script, tried to call the webhook-id from an application, got cert errors.
When i call the webhook url or webhook-id urls in Browser ( https://my.webhook.server:9000 ) Browser shows my valid let´s encrpt cert (tried multiple Browsers).
But trying with curl, this happens:
root@otherserver:~# curl -vvI https://my.webhook.server:9000
*   Trying XXX.XXX.XXX.XXX:9000...
* Connected to my.webhook.server (XXX.XXX.XXX.XXX) port 9000 (#0)
* ALPN: offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (OUT), TLS alert, unknown CA (560):
* SSL certificate problem: unable to get local issuer certificate
* Closing connection 0
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.`

This is the running service:
root@webserver:/etc/webhook# service webhook status
● webhook.service - Small server for creating HTTP endpoints (hooks)
   Loaded: loaded (/lib/systemd/system/webhook.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2024-02-14 15:00:34 CET; 1s ago
     Docs: https://github.com/adnanh/webhook/
 Main PID: 17522 (webhook)
   CGroup: /system.slice/webhook.service
           └─17522 /usr/bin/webhook -nopanic -hooks /etc/webhook.conf -secure -cert /etc/letsencrypt/live/my.webhook.server/cert.pem -key /etc/letsencrypt/live/my.webhook.server/privkey.pem

Feb 14 15:00:34 webserver.stratoserver.net systemd[1]: Started Small server for creating HTTP endpoints (hooks).
root@webserver:/etc/webhook#

Any idea what is going wrong here?

Could this be of any help? https://community.letsencrypt.org/t/why-does-curl-not-trust-letsencrypt/183585


Separate heat renderer from regular point renderer

Since there is no "heat renderer" anymore, this issue is rendered invalid (get it? ha!)


Add open source license?

Hi @netr0m, this looks like a useful tool! Would you consider adding an open source license so it can be used by others? Thanks

Thanks @rdkr , seems I forgot to add the actual license contents :smile:


json exporting

For presenting and visualization of our work, it would be cool to generate 3d-force-graphs of the computation graphs using
https://github.com/vasturiano/3d-force-graph/
We need
a) functionality to export the computation graph to a json format. This could either be a separate function 1) export_json or 2) a part of gen_code with LangJSON. At the moment I would say option 1) since it would not need the memory management functionality.
b) some javascript that reads the json and encodes operations / coefficients etc graphically in the 3d-force-graph format wanted in that library
Point a) should be rather straightforward if we add dependence JSON.jl following this:
using JSON

nodes=Vector{Any}();
links=Vector{Any}();
for n in keys(g.nodes)
    push!(nodes,Dict("id" => sting(n), "operation" => string(g.operations[n])));
    for (i,n2) = enumerate(g.parents[n])
        d=Dict{String,Any}("source" => string(n),
                           "target" => string(n2),
                          "weight" => string(2);
      push!(links,d)
    end
end
json=Dict("nodes" => nodes, "links" => links);
open("comp_tree.json","w") do f
    JSON.print(f, json)
end

Javascript examples:
https://people.kth.se/~eliasj/watkins-graph-small.html
https://people.kth.se/~eliasj/large-graph.html

More thoughts: One could ask if this functionality should be in the package or somewhere else. The package is now kind of clean in terms of what it can/should do (in the same sense that BLAS and LAPACK are clean). Adding visualizations is yet another feature... On the other hand, generate json seems to be rather little code .

As an intermediate step, I suggest we add the functionality to compute the adjacency matrix.
The standardized way for the function is adjacency_matrix(g).  https://juliagraphs.org/Graphs.jl/stable/algorithms/linalg/#Graphs.LinAlg.adjacency_matrix   (I don't think we should add dependency on Graphs.jl.)
Something like:
function adjecency_matrix(g)
    (nodes,_)=get_topo_order(g)
    # Include the basic fundamental nodes
    pushfirst!(nodes,:I)
    pushfirst!(nodes,:A)
    m=size(nodes,1);
    A=zeros(m,m);
    for (i,n) in enumerate(nodes)
        children=GraphMatFun.get_children(g,n)
        children_idx=map(i-> findfirst(nodes .== i), children);
        # Set all children to value 1.
        A[i,children_idx] .= 1;
    end
    # A will be a sparse non-symmetric matrix with ones and zeros
    return A;
end

Then we can directly use graphplots
julia> using GraphRecipes, Plots
julia> (g,_)=graph_sastre_poly([randn(8);1])
julia> A=adjecency_matrix(g);
julia> graphplot(A, names=["I"; "A"; string.(get_topo_order(g)[1])])


Add Travis CI jobs for build testing several targets

Hitherto, code under the targets directory was not tested and so
its maintenance was sometimes speculative. This commit adds build
testing for several targets to prevent them from bit rotting.
Targets covered by this commit are: ESP8266, Mbed, Mbed OS 5,
NuttX, RIOT, Tizen RT, and Zephyr.
Some issues were revealed and fixed:

ESP8266: added missing include for uint32_t typedef.
Tizen RT: replaced missing str_to_uint with strtol.

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss<EMAIL_ADDRESS>

This PR does NOT want to deal with the above issues but they are left for target maintainers for consideration.

@akosthekiss Please open an issue for them.


event loop

Context
Android event loop
doc: https://developer.android.com/ndk/reference/group/looper#alooper_pollall
OpenXR Event Polling
spec: https://registry.khronos.org/OpenXR/specs/1.0/html/xrspec.html#events
OpenXR Session Lifecycle
spec: https://registry.khronos.org/OpenXR/specs/1.0/html/xrspec.html#session-lifecycle
Summary

[x] Add loop object
[x] Handle android event
[x] Handle OpenXR event

How to check behavior

Build and run with your Oculus Component
Check the following things

In the current main branch, when the app starts, you will see three dots that indicate waiting something. Check that the three dots disappeared.
You can launch the menu with your right controller's menu button.
You will see the following log somewhere

I/ZEN: XrEventDataSessionStateChanged: state XR_SESSION_STATE_IDLE -> XR_SESSION_STATE_READY time=238099981010379

I tried, and following problems are occured:

three dot indicator isn't disappeared
when exit from quest menu (open from menu button on the right controller), client still alive

checked by adb shell ps -A | grep zen

Are you using Oculus Quest 1 or 2?

I'm using Quest 2.

And are there any error message?

On exiting, client leave the message:
D ZEN     : Ignoring event type 40

Did you see this log?
I/ZEN: XrEventDataSessionStateChanged: state XR_SESSION_STATE_IDLE -> XR_SESSION_STATE_READY time=238099981010379

Yes, it's shown correctly.

three dot indicator isn't disappeared

I think it's ok. This should be disappeared if we submit the images to display

when exit from quest menu (open from menu button on the right controller), client still alive

I think it's not good, could you give me logs of this situation?

This is log by 	adb logcat -s ZEN:* OpenXR:*
(launch -> press menu button -> exit)
https://gist.github.com/watasuke102/fe4c803a7785156536a0ca227cecddfc

No log from ZEN? That's odd.
Could you give me full log without filter?
You can open Quest's menu itself, right?

You can open Quest's menu itself, right?

Yes, opening Quest's menu is available.
full log:
https://gist.github.com/watasuke102/4a9932d611ed9d4211b7e5f9c98ca390

Which version of Oculus OpenXR Mobile SDK are you using?

I'm using 42.0

I cannot reproduce your situation.

leave #10


Update to improve plotting

This update improves some plotting visuals and adds a new interactive plot to the Exploring EMIT Reflectance Notebook.

reviewed the commits.


[FEATURE] on startup failure report which system requirement is not met

Is your feature request related to a problem? Please describe.
In case minimum requirements for installation are not met, the system manager prints the following and bails out.
system-manager_1   | ERROR - run.py/run/requirements_check - System does not meet the minimum requirements!
system-manager_1   | Cannot continue...

The actual requirement that is not met is not specified in the error message.
Describe the solution you'd like
The requirements that are not met are logged.
Additional context
system-manager_1   | ERROR - run.py/run/requirements_check - System does not meet the minimum requirements!
system-manager_1   | Cannot continue...

implemented in https://github.com/nuvlabox/system-manager/releases/tag/2.2.0


"git submodule update --init --recursive" gives error

If I run
git submodule update --init --recursive

as described in the docs I get an error:
Submodule 'libwebsockets' (https://github.com/warmcat/libwebsockets.git) registered for path 'libwebsockets'
Submodule 'wineditline' (https://github.com/winlibs/wineditline.git) registered for path 'wineditline'
Cloning into '/tmp/cefdebug/libwebsockets'...
Cloning into '/tmp/cefdebug/wineditline'...
error: Server does not allow request for unadvertised object 20716ad48335bb72e2e7a443a133882241163036
Fetched in submodule path 'libwebsockets', but it did not contain 20716ad48335bb72e2e7a443a133882241163036. Direct fetching of that commit failed.

Hmm, oops, looks like I messed that up somehow. Thanks for filing the issue.
You can do this to workaround it while I fix it:
git submodule update --force --recursive --init --remote
(If you're building on Linux you don't need those modules anyway, they're just for Windows!)

OK, I think I got it with fbaf837bca4b9f513118dfcc6d7b38cf92f84fae.
Thanks Hanno!


Update field validations break saving due null vals

Updates since 1.0.27 have broken updating collections. When upload fields are empty and null values are being sent by admin we get The following fields are invalid: dresscode.images.image1, dresscode.images.image2 - upload fields are in group fields. DB has null values stored.
Though I tried to update DB values to undefined admin still sends null and fails.
When I removed properties from DB altogether then I can save document, however when I set an image save, and then try to remove the image it stops working once again (null values being sent for removal).
As I understood there were changes to field validations in latest updates. I believe null should be considered a valid value.
this PR wasn't the fix https://github.com/payloadcms/payload/pull/1025/commits as bug occurs in<EMAIL_ADDRESS>

@DanRibbens I am still experiencing this issue in version 1.1.1

@MarkAtOmniux we could use some reproduction steps as I'm not seeing the same problem since 1.0.33. I have a strong feeling that yours is a separate issue from this here. It would be very helpful to see a screen recording if this is still happening.
Feel free to open a new issue with those details for us to look into.
Thanks!


setup.bash is missed during creating customer MicroROS static library

Dear man,
I have tried to run below command according to the official document to "create custom MicroROS static library". Unfortunately there is below exception. Just want to know what's the possible reason for this issue?
super@u20base:~/microros_ws$ ros2 run micro_ros_setup build_firmware.sh $(pwd)/my_custom_toolchain.cmake $(pwd)/my_custom_colcon.meta
Crosscompiled environment: cleaning path
/home/super/microros_ws/install/micro_ros_setup/lib/micro_ros_setup/build_firmware.sh: line 65: /home/super/microros_ws/firmware/dev_ws/install/setup.bash: No such file or directory
super@u20base:~/microros_ws$
Thanks a lot!
Rongcai

Here's the documentation for static library generation:
https://github.com/micro-ROS/micro_ros_arduino#how-to-build-the-precompiled-library
The following command generates static libraries (ROS2 humble) for all platforms:
$ docker pull microros/micro_ros_static_library_builder:humble

$ docker run -it --rm -v $(pwd):/project --env MICROROS_LIBRARY_FOLDER=extras microros/micro_ros_static_library_builder:humble

I will try it will docker later.

Currently, I have followed the instructions here https://micro.ros.org/docs/tutorials/advanced/create_custom_static_library/ to do the building.
In the last step,:
ros2 run micro_ros_setup build_firmware.sh $(pwd)/my_custom_toolchain.cmake $(pwd)/my_custom_colcon.meta
I ran into some issues like below:

Appreciate it if someone can tell me  what's the root cause of this issue and how to resolve it.
More details like below:
-- stderr: rcpputils                                                                                [125/1505]│2/rcl_logging/
CMake Warning at /home/super/ros2_galactic/ros2-linux/share/rcutils/cmake/ament_cmake_export_libraries-extras.cmake:116 (message):                     │CODEOWNERS             .github/               rcl_l
Package 'rcutils' exports library 'dl' which couldn't be found                                                                                │ogging_noop/
Call Stack (most recent call first):                                                                                │CONTRIBUTING.md        LICENSE                rcl_l
/home/super/ros2_galactic/ros2-linux/share/rcutils/cmake/rcutilsConfig.cmake:41 (include)                                                            │ogging_spdlog/
CMakeLists.txt:7 (find_package)                                                                                │.git/                  rcl_logging_interface/ READM
│E.md
│super@u20base:~/microros_ws/firmware/mcu_ws$ ls ros
CMake Warning (dev) at /home/super/ros2_galactic/ros2-linux/share/rcutils/cmake/rcutilsExport.cmake:54 (add_library):                                  │2/rcl_logging/rcl_logging_
ADD_LIBRARY called with SHARED option but the target platform does not                                                                               │rcl_logging_interface/ rcl_logging_noop/      rcl_l
support dynamic linking.  Building a STATIC library instead.  This may lead                                                                          │ogging_spdlog/
to problems.                                                                                │super@u20base:~/microros_ws/firmware/mcu_ws$ ls ros
Call Stack (most recent call first):                                                                                │super@u20base:~/microros_ws/firmware/mcu_ws$ ls ros
/home/super/ros2_galactic/ros2-linux/share/rcutils/cmake/ament_cmake_export_targets-extras.cmake:9 (include)                                         │2/rcl_logging/rcl_logging_r
/home/super/ros2_galactic/ros2-linux/share/rcutils/cmake/rcutilsConfig.cmake:41 (include)                                                            ├───────────────────────────────────────────────────
CMakeLists.txt:7 (find_package)                                                                                │# build the dev_ws
This warning is for project developers.  Use -Wno-dev to suppress it.                                                                                │. $(dirname $0)/clean_env.sh
│if [ $RTOS != "host" ]; then
In file included from /usr/include/newlib/dirent.h:39,                                                                                │    pushd $FW_TARGETDIR/$DEV_WS_DIR >/dev/null
from /home/super/microros_ws/firmware/mcu_ws/ros2/rcpputils/src/filesystem_helper.cpp:58:                                             │        colcon build
/usr/include/newlib/sys/dirent.h:10:2: error: #error "<dirent.h> not supported"                                                                        │        set +o nounset
10 | #error "<dirent.h> not supported"                                                                                │        # source dev workspace
|  ^~~~~                                                                                │        . install/setup.bash
In file included from /home/super/microros_ws/firmware/mcu_ws/ros2/rcpputils/src/asserts.cpp:15:                                                       │    popd > /dev/null
/home/super/microros_ws/firmware/mcu_ws/ros2/rcpputils/include/rcpputils/asserts.hpp: In function 'void rcpputils::require_true(bool, const string&)': │fi
/home/super/microros_ws/firmware/mcu_ws/ros2/rcpputils/include/rcpputils/asserts.hpp:98:36: error: exception handling disabled, use '-fexceptions' to e│
nable                                                                                │# Install dependecies for specific platform
98 |     throw std::invalid_argument{msg};                                                                                │                                 107,7         95%
|                                    ^                                                                                ├───────────────────────────────────────────────────
make[2]: *** [CMakeFiles/rcpputils.dir/build.make:66: CMakeFiles/rcpputils.dir/src/asserts.cpp.obj] Error 1                                            │
make[2]: *** Waiting for unfinished jobs....                                                                                │if [ ! -f ${REPOS} ]
In file included from /home/super/microros_ws/firmware/mcu_ws/ros2/rcpputils/src/filesystem_helper.cpp:58:                                             │then
/usr/include/newlib/dirent.h:48:12: error: 'DIR' was not declared in this scope                                                                        │    echo "Error: Repo file $REPOS (expanded from $3
48 | int  dirfd(DIR *);                                                                                │) does not exist"
|            ^~~                                                                                │    exit 255
/usr/include/newlib/dirent.h:48:17: error: expected primary-expression before ')' token                                                                │fi
48 | int  dirfd(DIR *);                                                                                │
|                 ^                                                                                │
/usr/include/newlib/dirent.h:51:17: error: 'DIR' was not declared in this scope                                                                        │pushd $1 >/dev/null
51 | int  fdclosedir(DIR *);                                                                                │if [ -f ros2.repos ]
|                 ^~~                                                                                │then
/usr/include/newlib/dirent.h:51:22: error: expected primary-expression before ')' token                                                                │    echo "Repo-file ros2.repos already present, ove
51 | int  fdclosedir(DIR *);                                                                                │rwriting!"
|                      ^                                                                                │fi
/usr/include/newlib/dirent.h:53:1: error: 'DIR' does not name a type                                                                                │
53 | DIR *opendir(const char );                                                                                │# ROS_DISTRO SPECIFIC
| ^~~                                                                                │@@@
/usr/include/newlib/dirent.h:54:1: error: 'DIR' does not name a type                                                                                │                                 36,1          77%
[0] 0:[tmux]


Add option to exclude pages from the menu

As a github-wiki-sidebar user I want to be able to exclude pages from the generated menu so I can remove irrelevant content from the main menu of my wiki.
Proposed implementation:

in init/tutorial mode provide an exclude pages query as per ordering (comma separated indexes list)
if a page is excludes all subpages are to be excluded as well
ordering enquire should exclude the pages above from the list

One common usage could be to remove the Home.md page from the menu

Implemented in v2.0.0


Update Tellurium wiki

Update Tellurium wiki with build instructions, included packages, etc.

Refer #73

Kiri will investigate 15 Feb 2017

The suggested changes in the issue are implemented. For new suggestions to the wiki, please create a new issue.


Split connection.py to resolve too-many-lines lint error

split connection.py into multiple files to avoid  too-many-lines lint error

Hello, I am interested in doing this issue. Are there any guidelines for how you would like this file split up? Any additional assistance would be appreciated.

hi @katebmckay sorry this issue is actually a duplicate of https://github.com/open-metadata/OpenMetadata/issues/8088

I'll be closing this issue now. You can take a look at what other issues we have labelled as good first issues or for hacktoberfest. Thanks


support pg16

What's wrong?
pg16 is not supported :)

@wuputah Thanks for a great tool, what is the timeframe for supporting PG16? https://www.postgresql.org/about/news/postgresql-16-released-2715/
I'm spinning up a new server and would love to use the latest PG with Hydrate.

Sorry, I don't have an estimate at this time.
Personally, I recommend letting new Postgres releases bake for at least 4 months (to the .2 release, if not 7 months (to the .3 release) before adopting it for production usage. So I would recommend continuing to use PG15 at this time.

Citus 12.1 support PG 16 now ;)

https://www.postgresql.org/about/news/postgresql-161-155-1410-1313-1217-and-1122-released-2749/ :)


Show POST data on embedded iframe

Seems it's possible to redirect the content of a POST request done by a form by using the target field by pointing it to the iframe, so we could do the POST request and embed its content instead of showing it in a new window. Also, doing it that way we could render the request form hidden on the main page, so there's no need to open a new window for this thing too, making the component both fully standalone and transparent to the user.

Or maybe by doing a fetch request and innerHtml with the returned content, we could also use any other method or content type, too :-)

Thanks for the input!
FYI, opening in a new window is necessary most of the time, because most websites have a no-CORS policy or set X-Frame-Options to true.
v0.1.0 supports every kind of requests when you set the newWindow prop to false.

FYI, opening in a new window is necessary most of the time, because most websites have a no-CORS policy or set X-Frame-Options to true.

Interesting point, didn't know about that. In that case, maybe it would be possible to open a minified window and later close it after content is put inside the iframe, or something else...

I added support in v0.2.0 for setting the new window's internal name and features, that way you'll be able to specify the size of the window and so on. Note that browser support can vary a lot.


amqlib version warning

There is a warning:
The installed amqplib library is not supported officially. Proper functionality cannot be guaranteed. Supported versions: ^0.8.0 || ^0.9.0
The package.json file refers to "amqplib": "^0.10.3"
So there is always a warning. Is this a bug and the amqlib only works on 0.9 or does the warning in amqp.js needs to be fixed?
this.checkClientLibVersion("amqplib", "^0.8.0 || ^0.9.0");
Thanks, appreciate the fine work.
Ro

The message means we developed and tested with amqplib with 0.8.x and 0.9.x only.
So the amqplib 0.10 version is released after the lib is developed.
We will test it with 0.10.0 and if it doesn't contain any affected breaking change, we will add 0.10.0 to the supported version list.

Thanks @icebob I enjoy your project and code.

Hey @icebob! What kind of tests you need to perform to be able to affirm that? We've been running with 0.10.x in production for a while now. Let me know if I can help.


histoire:  unstyled tailwind not applying pass-through styles in primevue-nuxt

Hi,
I am kind of stuck figuring out how to solve this and I hope here is the right place to file the issue:
I am trying to use histoire to write stories for our app that uses nuxt3 and primevue-nuxt with unstyled tailwind.
It seems as if nuxt-primevue does not apply the pt-styles configured innuxt.config.ts when histoire assembles the components.
I tried to build a SSCE based on: https://github.com/primefaces/primevue-examples/tree/main/nuxt-unstyled-tailwind
It should run right away and I hope my steps to reproduce the issue are documented well enough, they should be copy-pasteable when using bash:
Step 1:  clone the example repo
git clone git@github.com:primefaces/primevue-examples.git
cd primevue-examples/nuxt-unstyled-tailwind

Step 2: Install histoire
npm install
npm install -D histoire @histoire/plugin-vue @histoire/plugin-nuxt

Step 3: Create histoire config:
cat << EOF >> histoire.config.js
import { defineConfig } from 'histoire'
import { HstVue } from '@histoire/plugin-vue'
import { HstNuxt } from '@histoire/plugin-nuxt'

export default defineConfig({
  plugins: [
    HstVue(),
    HstNuxt(),
  ],
});

EOF

Step 4: Create story:
cat << EOF >> panel.story.vue
<template>
  <Story>
    <Variant title="default">
      <Panel header="Default Preset">

          First panel component uses the global pass through preset from Lara.

      </Panel>
    </Variant>
    <Variant title="manual pt">
      <Panel
        header="Default Preset"
        :pt="pt"
      >

          First panel component uses the global pass through preset from Lara.

      </Panel>
    </Variant>
  </Story>
</template>

EOF

Step 5: Run histoire dev
node_modules/.bin/histoire dev

Now if you open http://localhost:6006 the first Panel will not be styled at all, because it  contains the default classes such as class="p-panel p-component" instead of being unstyled / styled with tailwind.
The classes will only be applied once I import them manually and pass them to the :pt-prop. I attached a screenshot, from top to bottom:

(3) Story without manual :pt
(2) Story  :pt is passed through prop
(1) nuxt-dev example, nuxt-module applies styles correctly

I am closing this, seems like it's just not plug & playable with histoire :)


Feature/more feedback changes

Overview Page:
Two last questions metadata has been updated:

GHG Emissions:

Links from countries should be in the correct order after sorting.
Try: Click on the "country/region" header to sort the links and see if they link to the correct page

Country page:
NDC and LTS section's titles have now a smaller font size as the rest of the sections.

I'm going to merge these changes to staging please take a look when you are back @kfilip94

Hey @Bluesmile82, I've just checked this PR, all good here 😉


Few question, potential issues?

First, ty for this really wonderful plugin, I was able to set it up nicely to work when running lua require'dap'.continue() so I can avoid calling run_this() or the triple instance logistics (A+B+launch() instaces) and it works fairly well.
In case you're interested, my one-small-step-for-vimkind configuration can be found in my config's lua/plugins/dap/lua.lua.
Admittedly I haven't gotten deep into the code of this plugin yet but perhaps there are simple answers for my questions:

Is there an easy way to know when the luafile <file> is done so I can shut down the server? I tried all nvim-dap events and none of them seem to fire when execution is done (e.g. event_terminated, event_stopped, etc), which brings me to the 2nd question/issue:

Running continue when execution is done brings up the Session active, but not stopped at breakpoint prompt which requires to terminate before being able to run the debug configuration again, however sending terminate fails with E5560: vimL function must not be called in a lua loop callback at the call to vim.fn.sign_unplace.

I believe it is an issue with nvim-dap and opened the below PR which solves the issue:
https://github.com/mfussenegger/nvim-dap/pull/486

Is there a way to view lua print statements in the [dap-repl] buffer? when using a double instance setup (A being the DAP server) and running :luafile myscript.lua on A I am able to see the print statements output on the :messages of A but not in the [dap-repl] on B - is that a bug/setup issue or even possible?

I'll answer the questions to the best of my knowledge. It might be too late for you as you may have moved to other things but I'll leave it as a reference, because it's really good questions.
Know programmatically when luafile execution has finished
There is no real way to know it as you have properly diagnosed. The reason is that the debuggee process is the whole neovim instance and not just a script. When the neovim instance itself is terminated, there should be an event but that's all there is to it. I don't really see a way to archieve on per-script basis unless a flag is manually embedded in the script for example.
print statements in [dap.repl]
This is again not implemented. It was mainly because of the technical limitations. I view this as a purely design feature because the output is already visible in the other debuggee instance. I'm assuming it's technically possible to do this. I have hijacked the lua print in one of my other plugin (see carrot.nvim), but the print is modified in another neovim instance, where as in this case, it has to be modified in the debuggee instance itself, I mean the trick is to redefine the print function. And also, it would not support nvim_echo so long story short, it may be possible, I don't see how, but it's currently not worth effort/gain.

In case you're interested, my one-small-step-for-vimkind configuration can be found in my config's lua/plugins/dap/lua.lua.

You might want to check out the new configuration I propose on the README. In the previous proposed configuration, it was kind of tedious to enter a port a debugging sessions is started so the current configuration avoids it by setting it to a fixed port number.

In case you're interested, my one-small-step-for-vimkind configuration can be found in my config's lua/plugins/dap/lua.lua.

You might want to check out the new configuration I propose on the README. In the previous proposed configuration, it was kind of tedious to enter a port a debugging sessions is started so the current configuration avoids it by setting it to a fixed port number.

Does look much simpler indeed, ty @jbyuki will test it out when I get in the mood of trying our debugging again :)


Added in B1+ map visualisation.

Added B1+ map visualisation:

Solves #44
Adding the color bar messes with the vertical spacing a bit, but I have left it as is for the sake of generating it all in one figure.
Everything else has been left untouched
Please review @jcohenadad

My output image looks a bit different than the one in https://github.com/shimming-toolbox/rf-shimming-7t/pull/72#issue-2092834918

Notably, it looks like the subject is not the same. My suspicion is that sub-05 was selected in https://github.com/shimming-toolbox/rf-shimming-7t/pull/72#issue-2092834918 because of https://github.com/shimming-toolbox/rf-shimming-7t/pull/72/commits/56f7cfa572db740b6b131344f92b03fd5fec3ed6.
Indeed, when selecting sub-05, the images match:

Just putting out there for discussion: do we want to show the unmasked B1+ maps?

meh, no. I prefer the masked ones

Updated colormap range:

Adding colorbar legend https://github.com/shimming-toolbox/rf-shimming-7t/pull/72/commits/effbae567673ee3994031ed9ee540e14a6f5556f:

Show mask edge instead 21e5305:

Show mask edge instead 21e5305:

I like this one best!
(I think I did the tresholding on the mask itself because it created a grey, rather than transparent overlay, and that got rid of it).

Further cosmetic tweaking 9228e72:

Show more S-I extent 242e7d2:

@dpapp86 Are we happy with 242e7d2?

Oui.


Feature: custom captcha questions&answers

Adds new captcha type "Custom", which asks for chat-specific questions.
New commands:

/addCustomCaptcha — add custom captcha type question&answer
/viewCustomCaptcha — view custom captcha type questions&answers
/removeAllCustomCaptcha — remove all custom captcha type questions

Localizations are added only for en/ru, en maybe is not quite correct.
Side-addition: WORKERS_COUNT environment option (I have 16 cores and receive too much spam to console when developing, so added it to set WORKERS_COUNT=1 locally). Can be removed, if we cannot add such option.

Oh, accidentally deleted branch.

If someone will merge it into own forks, there is two other useful commits:
https://github.com/Rulexec/shieldy/commit/ce58be6858006d49a922bd3644ec83a798e7ccca (multiple answers support)
https://github.com/Rulexec/shieldy/commit/44e1f5b9227ae286dd42d7b07a2c8b51310a32c2 (bug fix)

What is the status on this PR? What do the maintainers think?

Awesom feature, I've switched to using of your fork because of that, backmeupplz why don't merge it into shieldy? Isn't it maintainde anymore?
Thanks!

@tral I'm not the maintainer anymore, sorry

@backmeupplz OK, thanks for your work so far, but who is the maintainer then? Or is shieldy just not maintained anymore then?


[Feature] Exposing unsafe session token via bindings

Summary
Appsmith already provides authentication and access control out of the box for the platform, it would be great to extend this to an API backend so that authentication for internal tools no longer need to be built.
Motivation
This feature makes the process of building an internal tool faster and more secure. Users no longer have to worry about building their own authentication and access control and can directly leverage appsmith.
Additional Context
The change prosed is as follows

Expose email, roles, and accessToken as fields in the editor and allow users to send these to their backends
Expose a backend API /verify which accepts an accessToken and verifies whether the user is authenticated
Enable restricting APIs based on certain roles

@srijanshetty This is the write-up of what we discussed yesterday. Let me know if it looks good.

@Nikhil-Nandagopal this looks good. Having this would make applications on appsmith secure by default. :lock:

@Nikhil-Nandagopal and @mohanarpit bumping this issues for visibility. Would be nice to know if this is still in design phase and whether I could help somehow :smile:

@srijanshetty we came to a conclusion on how to move forward on this today. We'll expose the accessToken as a param in the appsmith.user object and to verify the accessToken, you can hit our already present /me API
curl --location --request GET 'https://api.appsmith.com/api/v1/users/me'
--header 'Cookie: SESSION={{appsmith.user.accessToken}}'
--header 'Content-Type: application/json'
This API will return the user object which you can use to verify on your end.

This sounds perfect @Nikhil-Nandagopal and @mohanarpit. Will integrate this within a week :smile:

Implementation details:

We get the authenticated user information from this api call you can parse the document.cookie at this level to extract the session token set by the server
We can then set this token with the unsafe__session_token key in this request payload being sent to our redux state along with other user details. This will automatically add this inside the appsmith.user object
If we want to remove this result from the autocomplete hints, we will have to manipulate this function

On further discussion and evaluation of the pros & cons of this implementation, we've decided to change the implementation for this feature. I was the one who suggested the implementation and on further education, I've changed my opinion.
The biggest problems with the suggested implementation are:

Exposing SESSION_ID in the browser is a security risk. Refer SO question.
Since we operate on HTTPS, the JS in the browser cannot read the cookie. This makes the entire implementation moot.

New implementation:

We will add a setting (toggle component) in the API pane which the user has to switch on incase they want the session ID to be sent along with their API invocations being made through Appsmith.
The Appsmith server will honour this setting and stamp all such API calls with the header X-APPSMITH-SESSION-ID to the API calls. This header will contain the session Id of the logged in user initiating the API call.
The user can then read this custom header and make a call to /api/v1/users/me with the Cookie header to verify if the user was really logged in. Curl sample code below:

curl --location --request GET 'https://api.appsmith.com/api/v1/users/me'
--header 'Cookie: SESSION={{appsmith.user.accessToken}}'
--header 'Content-Type: application/json'


cloud_sql_proxy returns errors parsing config when running behind SOCKS5 proxy?

Question
cloud_sql_proxy returns errors parsing config when running behind SOCKS5 proxy.
Additional Context
I am running  cloud_sql_proxy behind ShadowsocksX-NG at MacOS 12.0.1. I have set up a local socks5 proxy using shadowsocksX-NG.

I have tested the socks5 proxy by curl, It seems OK.
➜  ~ curl -x socks5://<IP_ADDRESS>:1086 www.example.com
<!doctype html>

    <title>Example Domain</title>

    <meta charset="utf-8" />
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />

404. That’s an error.

The requested URL /sql/v1beta4/ was not found on this server.  That’s all we know.

Also, I have curled the following URLs as well, only one URL gives me an error:

https://accounts.google.com
https://cloudresourcemanager.googleapis.com/v1beta1/projects
https://www.googleapis.com/auth/cloud-platform
https://dl.google.com/dl/cloudsdk/channels/rapid/components-2.json

➜  curl -x socks5://<IP_ADDRESS>:1086 https://dl.google.com/dl/cloudsdk/channels/rapid/components-2.json
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to dl.google.com:443

After digging into the LibreSSL SSL_connect: SSL_ERROR_SYSCALL issue. I tried socks5h and it returns me the json doc.
➜  curl -x socks5h://<IP_ADDRESS>:1086 https://dl.google.com/dl/cloudsdk/channels/rapid/components-2.json

Therefore, I use socks5h instead of sock5 in order to use the remote DNS server.
➜  ALL_PROXY=socks5h://localhost:1086 cloud_sql_proxy -instances=xxx:us-west1:xxx=tcp:3306
2021/11/24 09:36:00 Rlimits for file descriptors set to {&{8500<PHONE_NUMBER>854775807}}
2021/11/24 09:36:03 Listening on <IP_ADDRESS>:3306 for xxx:us-west1:xxx
2021/11/24 09:36:03 Ready for new connections

It seems that the issue is caused by DNS, then I confirmed it with the following commands.
➜  ~ nslookup dl.google.com
Server:		<IP_ADDRESS>
Address:	<IP_ADDRESS>#53

Non-authoritative answer:
Name:	dl.google.com
Address: <IP_ADDRESS>

➜  ~ nslookup dl.google.com <IP_ADDRESS>
Server:		<IP_ADDRESS>
Address:	<IP_ADDRESS>#53

Non-authoritative answer:
Name:	dl.google.com
Address: <IP_ADDRESS>

<IP_ADDRESS> is my local DNS server.
Since there is often a problem in resolving Google's hostname in China, and developers in China usually need the proxy to connect to Google Cloud, maybe it is better to usesocks5h in the example?

My guess is that the SQLAdmin client we are using isn't repeating ALL_PROXY, but does respect HTTPS_PROXY. I'm going to tag in @enocom to look a little further and see what he finds.

Here's what I found:

All HTTP traffic is configured with http.FromEnvironment which uses HTTP_PROXY and HTTPS_PROXY. This is what the SQL Admin client uses.
All TCP traffic to and from a Cloud SQL instance uses proxy.FromEnvironment which uses ALL_PROXY. This is what the Proxy's default dialer uses.

So in short, the SQL Admin API client requires an HTTPS_PROXY or HTTP_PROXY setting and the dialer itself requires an ALL_PROXY setting.
I'll update the README. In most case, people will probably want to use the same proxy for both ALL_PROXY and HTTPS_PROXY. Note that HTTPS_PROXY and HTTP_PROXY both accept socks5 as a protocol.

Hi @enocom ,
Thanks for your explanation. I have read #1025.
My local DNS server can not resolve Google's IP address correctly possibly due to the Great Firewall of China. Therefore, I am wondering if we can write sock5h somewhere in README.md which could save people time in debugging the DNS resolution issue?

There's an issue to add support for socks5h in Go's net/http package here: https://github.com/golang/go/issues/24135. A related CL suggests that socks5 already does DNS resolution on the server, but I haven't tested this myself.
Based on my reading, the only allowed protocols at the moment are socks5, https and http.

@jackjyq mentioned in their issue that they used it, so I think we're okay to mention it in the README.

Oh, I see. Yes, then we'll add it to the README. I'll update the PR.

Correction: socks5h is supported when using it with ALL_PROXY. My comment about was in reference to HTTPS_PROXY.
https://cs.opensource.google/go/x/net/+/d83791d6:proxy/proxy.go;l=92;drc=d418f374d30933c6c7db22cf349625c295a5afaa

@jackjyq can you confirm if you needed socks5h, or was just HTTPS_PROXY set enough?


Fix injection of predict fn

Coverage increased (+0.8%) to 33.878% when pulling 8a985535ffbf7a8e1f97995f4f783ff60735f126 on fix_injection_of_predict_fn into 1a20a03bef54a161bbfb8e4b80997a4e3addb40f on 0.2-stable.

Coverage increased (+0.8%) to 33.878% when pulling 8a985535ffbf7a8e1f97995f4f783ff60735f126 on fix_injection_of_predict_fn into 1a20a03bef54a161bbfb8e4b80997a4e3addb40f on 0.2-stable.


Calling the Web API with Javascript and jQuery 3463

#3463
Added Include demoing how to query Web Api from clientside
@Rick-Anderson

Review URLs

@isaac2004 can you test the new code with the download code?

@isaac2004  delete images. They don't work in the VS for Mac and the VS code versions.
Could we use a current jQuery version?

@Rick-Anderson updated jQuery Version, cleaned up comment and fixed examples to use ToDo instead of products

@scottaddie  it's probably easier to fix those yourself and do a commit. Are you OK with these changes without anyone testing the code?

Thank you for your help, @isaac2004!

Thanks for cleaning up my mess @scottaddie @Rick-Anderson !!!!


Datepicker in Angular App

Describe the bug
We are using most of the available auro packages for our desktop app, although we just started using auro about three weeks ago. We have been able to use most of the packages, but the datepicker is not working. The errors are:
./node_modules/@aurodesignsystem/auro-datepicker/index.js:1:0-51 - Error: Module not found: Error: Can't resolve './src/auro-calendar' in '/Users/Douglas.White7@alaskaair.com/Dev/RampApp/node_modules/@aurodesignsystem/auro-datepicker'
./node_modules/@aurodesignsystem/auro-datepicker/index.js:2:0-62 - Error: Module not found: Error: Can't resolve './src/auro-calendar-month' in '/Users/Douglas.White7@alaskaair.com/Dev/RampApp/node_modules/@aurodesignsystem/auro-datepicker'
./node_modules/@aurodesignsystem/auro-datepicker/index.js:3:0-60 - Error: Module not found: Error: Can't resolve './src/auro-calendar-cell' in '/Users/Douglas.White7@alaskaair.com/Dev/RampApp/node_modules/@aurodesignsystem/auro-datepicker'
./node_modules/@aurodesignsystem/auro-datepicker/index.js:4:0-55 - Error: Module not found: Error: Can't resolve './src/auro-datepicker' in '/Users/Douglas.White7@alaskaair.com/Dev/RampApp/node_modules/@aurodesignsystem/auro-datepicker'
To Reproduce
Steps to reproduce the behavior:

Go to 'RampApp'
Install monorepo
Run nx serve admin
See error

Expected behavior
Expect to see modal of calendar when clicking on Form field.
Screenshots
src directory is in the root directory in other auro packages, but not in datepicker (see images)

Desktop (please complete the following information):

OS: [e.g. iOS] MacOS
Browser [e.g. chrome, safari] Chrome
Version [e.g. 22]116.0.5845.110

Additional context
From what I can see the src folder is missing from the root directory, and instead it is in the dist folder; where in other packages the src folder is in the root directory and and not in the dist folder.  The error says that './src/auro-several-things' can not be found, and that is b/c src does not exist in the root folder....

VALIDATED: You can see the package internals here https://www.runpkg.com/<EMAIL_ADDRESS>https://github.com/AlaskaAirlines/auro-datepicker/blob/88392438c76c7c069c300d7660eb17b54abf695e/.npmignore#L21-L24
I believe that is was stated in another conversation that the bundled version didn't work either? That's confusing as we are using the @latest bundled version in the doc site. The fix is pretty straight forward, we need to update the .npmignore to be like the linked template.
https://github.com/AlaskaAirlines/WC-Generator/blob/master/template/.npmignore.temp

@Apsistec I have created a PR that I am hoping will address the install issue you are seeing. @jason-capsule42 if you could do a review of this update so that we can test this ASAP would be appreciated.

Nice! Thank you!
Best regards,
Douglas White
<EMAIL_ADDRESS>512.293.1045
From: Dale Sande @.>
Date: Monday, August 28, 2023 at 8:03 PM
To: AlaskaAirlines/auro-datepicker @.>
Cc: Douglas White @.>, Mention @.>
Subject: Re: [AlaskaAirlines/auro-datepicker] Datepicker in Angular App (Issue #146)
You don't often get email from @.*** Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification
[EXTERNAL SENDER]
@Apsistechttps://github.com/Apsistec I have created a PR that I am hoping will address the install issue you are seeing. @jason-capsule42https://github.com/jason-capsule42 if you could do a review of this update so that we can test this ASAP would be appreciated.
—
Reply to this email directly, view it on GitHubhttps://github.com/AlaskaAirlines/auro-datepicker/issues/146#issuecomment-1696621401, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABRD5XY7KMPTOGH5QVFNKXLXXU5UXANCNFSM6AAAAAA4B4UFJQ.
You are receiving this because you were mentioned.Message ID: @.***>

Thank you!


import Sequence from collections.abc

Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working

Looks like this breaks python 2.x compatibility? Could do something like this instead:
try:
    from collections.abc import Sequence
except ImportError:
    from collections import Sequence

Looks like this was fixed in da75fcf01f7f322e846e2ac3e1936aedd766acc8

Fixed in release v0.8.11 on May 15, 2021.


How to attach Fake Video Chrome browser capability to selenoid docker container

Hi,
I am working on WebRTC (video conferencing application) where I will add fake video and audio capability to chrome browser.
NodePackage: https://github.com/JustSittinHere/wdio-selenoid-standalone-service
Capabilities:
        '--autoplay-policy=no-user-gesture-required',
        '--use-fake-ui-for-media-stream',
        '--use-fake-device-for-media-stream',
        '--allow-file-access-from-files',
        '--use-file-for-fake-video-capture=<videoFullPath.y4m>'
        '--use-file-for-fake-audio-capture=<audioFullPath.wav>'

When I run the tests in local, It is playing the video but when run tests on Selenoid Docker containers, Video and Audio are not attached.
Note: I use the exact configuration from the service as mentioned below and logs are not generated. Would be nice if you guide me how to add the logs
services: [
        [
            'selenoid-standalone', {
                pathToBrowsersConfig: './browsers.json',
                skipAutoPullImages: 'false',
                customSelenoidContainerName: 'wdio-selenoid',
                terminateWdioOnError: true,
                selenoidVersion: 'latest-version',
                port: 4444,
                dockerArgs: ['-rm'],
                selenoidArgs: ['-limit', '10'],
            },
        ],
    ],

In Selenoid Container - (Video icon is blocked)

In Local machine

@HarryFree at least you have to use volumes functionality in browsers.json to make your video available inside browser container. https://aerokube.com/selenoid/latest/#_browsers_configuration_file

@vania-pooh Thanks for your message. As instructed, I pass the video and audio in volumes and still i am facing the same issue. Also I tried to pass the chrome browser capability as new path /opt/docker/video/video.y4m, it doesn't work. Could you please point me what I am doing wrong here.
"chrome": {
        "default": "100.0",
        "versions": {
            "100.0": {
                "image": "sskorol/selenoid_chromium_vnc:100.0",
                "port": "4444",
                "path": "/",
                "screen": "1920x1080x24",
                "volumes": [
                    "/Users/automation/resources/videos/video.y4m:/opt/docker/video",
                    "/Users/automation/resources/videos/audio.wav:/opt/docker/audio"
                ]
            }
        }
    },

Sorry my bad. I should send only one and it is working fine.
"chrome": {
        "default": "100.0",
        "versions": {
            "100.0": {
                "image": "sskorol/selenoid_chromium_vnc:100.0",
                "port": "4444",
                "path": "/",
                "screen": "1920x1080x24",
                "volumes": [
                    "/Users/automation/resources/videos:/opt/docker/video"
                ]
            }
        }
    },

@HarryFree so this is resolved?

@vania-pooh Yes, Thank you.

@vania-pooh it stopped working again :(


Terminal tab titles disappear until switch between tabs

Not sure how to repro, but seems to occur when I hide/unhide Panel visibility
https://github.com/user-attachments/assets/e84168c0-444c-4dd9-ac83-1f92070c7f1e
Version: 1.97.0-insider
Commit: 6a5c8cf95aa814b5cb92de617096144b1f45af2d
Date: 2024-12-12T05:04:17.220Z
Electron: 32.2.6
ElectronBuildId: 10629634
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Darwin arm64 24.1.0

I was trying on Windows because the OS shouldn't matter for this. Regardless, passing to @meganrogge as main owner of tabs now

did you toggle/untoggle zen mode? if so, can repro and is a duplicate of #176085

I cannot repro when I toggle panel visibility though on mac

started seeing this recently. maybe need to bisect

@benibenj , git bisect points to this commit: d5746c5593f6afe15e44a9f7877a064df6605d11

Seems like maybe we now need to call layout when the panel is revealed?

Might want to let other view owners know about this change, I see that the debug console used to receive focus on visibility change, but now does not for example.

cc @alexr00 both Ports and Comments now do not get focused when the panel becomes visible.

I don't mean that the views should take focus when they become visible. They layout/views logic tells your view when to be focused. The problem here seems to be that the terminal only renders correctly when it gets focused, which should not be the case. You need to make sure it renders properly when the visibility of the view changes.
I think #236502 should be reverted. It behaved correctly before

I think https://github.com/microsoft/vscode/pull/236502 should be reverted. It behaved correctly before

It did not behave correctly before - it did not move focus to the debug console input box like it should and like it does in VS Code stable. This is an accessibility issue.
Stable:
https://github.com/user-attachments/assets/f19616b8-f2bf-437b-8a07-06ab3b739c6e
Insiders:
https://github.com/user-attachments/assets/9e499cda-4232-46d2-ae54-2ed7dc9b6e40

The problem here seems to be that the terminal only renders correctly when it gets focused, which should not be the case. You need to make sure it renders properly when the visibility of the view changes.

This is not just about rendering. The terminal has historically received focus when the panel becomes visible.

This change really should have had a larger audience before it happened with pings to owners of panel views. Ctrl/cmd+j has been around forever and people depend upon it. Consistency is good, but we must have a roll out plan for something like this that changes such old/core behavior.

The problem here seems to be that the terminal only renders correctly when it gets focused, which should not be the case.

I agree with this, but the main issue @meganrogge is talking about wrt accessibility is the focus part. The layout problem is just another unfortunate affect of this change.

They layout/views logic tells your view when to be focused.

The terminal cannot do this or we would break other things like the Terminal.show(preserveFocus) extension API. At the very least
it's not as simple as just just focusing on visibility, how to get the old behavior back is not obvious to me.

imo we should revert all the changes include the original change and have the discussion about it first. This is also the lowest risk approach since most of us will be offline for most of the time.

@benibenj FWIW the purest in me agrees with you, but I think we've had this behavior for too long and we'd be better off going in the other direction where ctrl/cmd+j shows AND focuses any panel or hides it, similar to the ctrl+` behavior. A bonus of going this route is we could use a conditional keybinding to call a showAndFocus command, so if the user really wanted to just toggle the panel they can unbound the showAndFocus one.

Just to explain why this got decided:
The layout logic had a bug for ages, where it would want to focus the view when toggling the pane. It would call focus() on the view when it was still invisible, hence the view never actually got focus. A handful of views seem to have added hacks to make sure they actually get focus as soon as they become visible. Apparently Debug Console is also one of those, was not aware of that one. https://github.com/microsoft/vscode/blob/acd32b17b837b05a64275c297949753df46dbe6d/src/vs/workbench/contrib/debug/browser/repl.ts#L555-L559
Most views however did not have this. As we noticed this problem, the decision was made to not give focus to the views when toggling the panes to have consistency and not break muscle memory as most views actually did not get focus before. The behaviour would hence change for the least amount of views.

@Tyriar I do agree view you, so I reverted the behaviour back to what we had before and reopened https://github.com/microsoft/vscode/issues/232790. @meganrogge, sorry about the inconvenience. Also, if you think this is an accessibility issue, please comment that in the issue, this help push the opposite change to happen.

Closing now that the change has been reverted, so this should be fixed.

/closedWith d47f63e5dcde69292e29018bd6fbb4bc93ccaaf1


Core Dump with SSSP

This was built using icpc 17.0 and I converted a graph using bin/graph_converter.
When running bin/SSSP with OMP_NUM_THREADS=2 and export KMP_AFFINITY=scatter the output is:
bin/SSSP Knowledge_Repo.graphmat 10
num threads got: 2
Starting file read of Knowledge_Repo.graphmat
Got graph with m=138613	n=138613	nnz=929884
Finished file read of Knowledge_Repo.graphmat, time: 0.013574
Finished setting ids, time: 0.012866
Starting sort
Finished sort, time: 0.091563
Finished setting edge pointers, time: 1.1e-05
Starting build_dcsc
Finished build_dcsc, time: 0.003931
Finished setting ids, time: 0.004313
Starting sort
Finished sort, time: 0.059026
Finished setting edge pointers, time: 1.1e-05
Starting build_dcsc
Finished build_dcsc, time: 0.003771
Completed reading A from memory in 0.176794 seconds.
Completed reading A from file in 0.190481 seconds.
Segmentation fault (core dumped)

I get the following error from the gdb backtraces:
Thread 1:
#0  0x0000000000407619 in void BlockingHypersparse_GEMV<unsigned int, unsigned int, BFSD2, int>(MatrixDC<int> const*, BFSD2 const*, SparseVector<unsigned int> const&, SparseVector<unsigned int>&, GraphProgram<unsigned int, unsigned int, BFSD2, int> const*) ()
#1  0x000000000040633d in void run_graph_program<unsigned int, unsigned int, BFSD2, int>(GraphProgram<unsigned int, unsigned int, BFSD2, int>*, Graph<BFSD2, int>&, int, run_graph_program_temp_structure<unsigned int, unsigned int, BFSD2>*)
    ()
#2  0x00007fe219483413 in __kmp_invoke_microtask ()
   from /packages/intel/17/linux/compiler/lib/intel64/libiomp5.so
#3  0x00007fe219453187 in __kmp_invoke_task_func (gtid=23278576)
    at ../../src/kmp_runtime.c:7055
#4  0x00007fe219452865 in __kmp_launch_thread (this_thr=0x16333f0)
    at ../../src/kmp_runtime.c:5662
#5  0x00007fe219483793 in __kmp_launch_worker (thr=0x16333f0)
    at ../../src/z_Linux_util.c:773
#6  0x00007fe218fb26ba in start_thread (arg=0x7fe146ff4880)
    at pthread_create.c:333
#7  0x00007fe218ce882d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

And thread 2:
#0  __kmp_yield (cond=0) at ../../src/z_Linux_util.c:1918
#1  0x00007fe21942846c in __kmp_wait_template<kmp_flag_64> (
    this_thr=<optimized out>, flag=<optimized out>,
    final_spin=<optimized out>, itt_sync_obj=<optimized out>)
    at ../../src/kmp_wait_release.h:235
#2  kmp_flag_64::wait (this=<optimized out>, this_thr=<optimized out>,
    final_spin=<optimized out>, itt_sync_obj=<optimized out>)
    at ../../src/kmp_wait_release.h:536
#3  __kmp_hyper_barrier_release (bt=bs_plain_barrier, this_thr=0x7fe2189af900,
    gtid=0, tid=416070727, propagate_icvs=426738816, itt_sync_obj=0x0)
    at ../../src/kmp_barrier.cpp:790
#4  0x00007fe2194299d4 in __kmp_fork_barrier (gtid=0, tid=412809472)
    at ../../src/kmp_barrier.cpp:1951
#5  0x00007fe2194527b0 in __kmp_launch_thread (this_thr=0x0)
    at ../../src/kmp_runtime.c:5620
#6  0x00007fe219483793 in __kmp_launch_worker (thr=0x0)
    at ../../src/z_Linux_util.c:773
#7  0x00007fe218fb26ba in start_thread (arg=0x7fe217fda880)
    at pthread_create.c:333
#8  0x00007fe218ce882d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Can you please send the gdb backtrace with the executable compiled with debug enabled?
If you can share the graph file, I can take a look at that. Vertex numbering should start from 1 (sparse matrix mtx format with no comments) and use the graph_converter utility to convert it to binary format.

Thank you for the response. Starting the vertex numbering at 1 fixed the issue!


Update microsoft-365-network-connectivity-principles.md

Updates to Microsoft 365 endpoint category guidance.

Waiting for pandrew1 review before merge.

Sivi needs to review line 166 before merge

Hi Kelley,
I reviewed that line. It looks good. I don't have an option to approve it. Can you tell me what is expected?
Sivi
From: Kelley Vice @.>
Sent: Tuesday, April 16, 2024 12:20 PM
To: MicrosoftDocs/microsoft-365-docs @.>
Cc: Sivi Varghese @.>; Author @.>
Subject: Re: [MicrosoftDocs/microsoft-365-docs] Update microsoft-365-network-connectivity-principles.md (PR #13502)
Sivi needs to review line 166 before merge

Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/microsoft-365-docs/pull/13502#issuecomment-2059773491, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A77F2QCVCCF3AJIXUWU2VG3Y5V2VHAVCNFSM6AAAAABF7E52T6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJZG43TGNBZGE.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

@VargheseSivi @kelleyvice-msft
Changes to microsoft-365-network-connectivity-principles.md replaced the heading "New Office 365 endpoint categories" with "Optimizing connectivity to Microsoft 365 services", which broke links in the four articles shown in the build report. Please update links in other files when they're reported as broken by changes in the file that you've modified, and do not merge PRs with warnings.


"Latte configuration reloaded" on every project open

Describe the bug
When I open a project, it shows this dialog all the time:

I can click Reparse and it dismisses with OK, but it is annoying. Can't it be done automatically?
Environment:

PhpStorm version: 2020.3.3
Plugin version: 1.1.2

To Reproduce
Steps to reproduce the behavior (or attach video):

Open project with Latte files.
Click on Reparse.
Close it.
Open it again.
See the dialog again.

I've tried it with clean nette sandbox and it did as well.

Actually, it's not "all the time", it's just sometimes. But I can not see relation to anything.

I'm experiencing the same behaviour for a long time. I thought it was related to switching between projects with different PHP version (5.6, 7.3). Now we have all project on PHP 7.3 or 7.4 and it still sometimes happen. But it might be just a coincidence.

It's known behaviour, @mesour explained it here https://youtu.be/ErK0kGQbdNY?t=435 during #posobota s02e03.

Thanks. I did not understand it completely, but it is probably something about missing event the plugin can hook onto to trigger reparsing automatically. I'll leave the issue opened until it is resolved or someone decides otherwise.

#167 can possibly fix it?

@dakur no, I tried it and this cause script loop

Resolved in v1.1.4


Various code-generation problems with Eclipse 4.5 Mars

Migrated from Google Code (issue 837)

Before i start building me an ant dev environment, is there some kind of nightly builds?

I tried to build a current lombok-master branch on 15. 7. and it has indeed resolved the issues. I can share the JAR on my Google Drive if anyone is interested, it's just a regular ant build of lombok-1.16.5-SNAPSHOT...  https://drive.google.com/file/d/0B_fqmZtODWL9MnRZcGZ5NC00amM/view?usp=sharing

@ZiziTheFirst  your Jar seem to work for me as well. Phew. Thx for now.

What's the roadmap for the upcoming 1.16.x release? The milestones don't seem to be up to date. Is there an ETA?

@ZiziTheFirst your jar solves the problem. Thx!

I just use ubuntu 14.04 64bit & eclipse mars jdk1.7,but lombok doesn't work at all. I put the @Data annotation on my own class and not see the accessors occurs. so as other annotations too.

Lombok v1.16.6 has just been released and contains several Mars fixes. Can you please verify if this version still contains the problem?

That's great news! I just gave it a spin and indeed I can see the code completion working again. Thanks!

Lombok v 1.16.6 works fine in the problematic cases mentioned - JUnit4 test generation + Generate getters and setters do their job with no errors or warnings.

Here's a problem. When I use Lombok v1.16.6 with ExtensionMethod, there's no content assist.
e.g.
@ExtensionMethod(java.util.Arrays.class)
class Example {
 private void example() {
  long[] values = new long[] { 2, 5, 7, 9 };
  values.copyOf(3).sort();
 }
}

When I press "values.",  there's no content assist.

@riderarcher Can you please file a new bug report for your findings?

I still have those Errors with 1.16.6. Also some other strange bugs... (Add throws to method, Moreunit create test is empty, create class wizard with main-class Checkbox results in error...).
Eclipse-Mars: 4.5.1, Gradle-Dependency: 	    compile 'org.projectlombok:lombok:1.16.6'

We have the same problem with Eclipse-Mars: 4.5.0 with lombok 1.16.6 when we do save. We have some save on actions

Same here- several wizards don't work.
Eclipse-Mars: 4.5.1, Gradle-Dependency: compile 'org.projectlombok:lombok:1.16.6'

Same issues here.
A save participant caused problems.
The save participant 'Code Clean Up' caused an exception: java.lang.ArrayIndexOutOfBoundsException. See the error log for details.
Lombok 1.16.6 with Mars 4.5.1

Same as previous here

I'm also still seeing this error with latest Lombok and latest Mars releases.

same as @michelbetancourt for me

From another thread:

In experimenting with it, the save action setting Format source code > Format edited lines toggles whether it happens. With it enabled, it won't happen if I add and remove a space, but it will happen if I add a new field to the class or even a new comment/new token.

@rspilker - can you re-open this please. Sufficient users are having issues that it is still a problem. I think the difference between it working for some users and not for others is the "Format edited lines" toggle in the Java save actions.

Problem still present with 1.16.8

i am also waiting a fix. Problem still present.

The problem is still present with Eclipse Neon and Lombok 1.16.8.  It appears to be caused by the "Format edited lines" save action.

Yes, same here - confirming - "Format edited lines" is the cause.

Problem still present with 1.16.10 on neon

Problem still present with 1.16.10 on neon, should we open a new issue?

Has been logged under #879


add files in fcmg

the files are not available so add the files

i have fixed this in: 1975f239b3f1119b035982959a616e9d072def91


Support PyTorch1.13 and above

What does this PR do?

This PR will supported PyTorch 1.13.0 and above version quantization. In PyTorch 1.13.0, there is a parameter: example_input in prepare_fx function. So we should specify the dataloader to optimum for static quantization and quantization-aware training.
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Class replacements outside of java.*

Hi,
I noticed that TeaVM does not do class replacements for classes like org.lwjgl.opengl.GL11C if I put a class named org.teavm.classlib.org.lwjgl.opengl.TGL11C in my project. I also found a comment (https://github.com/konsoletyper/teavm/pull/911#discussion_r1580017972) where this seems to be confirmed. Is there a reason why only java.* is considered? I would be able to improve my code if I could override LWJGL's classes this way.

There are several ways to replace lwjgl:

You can just create another jar and replace with it original dependency
You can apply some configuratoin for TeaVM by providing your own META-INF/teavm.properties. See example. Note that this format is ugly and subject of change in some future (see #791).
You can replace classes from within custom plugin.


would this be via a google chrome release?

hi there,
Can anyone advise, How will google disable 3rd party cookies for 1% of users?
Would users know when they get disabled? Will there be a chrome release for this?
Any response much appreciated.
-Venkat

Hello, please see https://developers.google.com/privacy-sandbox/3pcd which should explain more.


Dynamic TTL

Is it possible to set the expiration time during execution of the loader?
Trying to cache some oauth tokens whose expiration time is known when the loader gets them. Not before.

It is such a good and useful enhancement and it would be awesome to have it in this lib.

we even have kotlinx.datetime which should make this simpler to impl for all platforms in commonMain only.

Thanks everyone, I might take a look at this soon.
Can you share a few examples of your use cases and how you think the APIs should look like? Is this a feature you've used in other caching libraries in the past?

Example of method signature:
// mb TTL should be wrapped into properties class for more flexible extending
data class CachingProperties(
   val ttl: kotlin.time.Duration,
   // val someAnotherProp: Any
)

public suspend fun get(
   key: Key,
   props: CachingProperties? = null, // if null - use defaults
   loader: suspend () -> Value
): Value

// OR

public suspend fun get(
   key: Key,
   ttlOverride: Duration? = null, // if null - use defaults
   loader: suspend () -> Value
): Value

Example of usage:
suspend fun cacheToken(key: String, ttl: Duration): Any {
   cache.get(
      key = key,
      config = CacheConfig(ttl = 10.seconds)
   ) {
      //...
   }
}

// OR

suspend fun someFun(key: String, ttl: Duration): Any {
   cache.get(
      key = key,
      ttlOverride = 10.seconds
   ) {
      //...
   }
}

Example of method signature:

public data class LoaderContext internal constructor(
    var expireAfterAccessDuration: Duration,
    var expireAfterWriteDuration: Duration
)

public suspend fun get(key: Key, loader: suspend LoaderContext.() -> Value): Value
// looks like it should be a new 'put' function with 'customizing'
public suspend fun put(key: Key, loader: suspend LoaderContext.() -> Value)

Example of usage:
suspend fun cacheToken(key: String, ttl: Duration): Any {
   cache.put(
      key = key
   ) {
      // by default cache-level configured values are set
      this.expireAfterAccessDuration = 1.seconds
      // ...
   }
}

suspend fun someFun(key: String, ttl: Duration): Any {
   cache.get(key = key) {
      this.expireAfterWriteDuration = 1.seconds
      // ...
   }
}

Is this a feature you've used in other caching libraries in the past?

Using it a lot with Redis

I'd add the feature as part of the builder:
dynamicExpireAfterWrite{ it.expires_in.seconds }


dependency bug with Portable.System.DateTimeOnly

MiniExcel Version
1.32.0
Description
Since #576 there is a dependency bug.
Here it is explicitly checked that this is only included with netstandard2.0. But since MiniExcel is only built for net45 and netstandard2.0 this means that e.g. a net8 project that includes MiniExcel (in this case the netstandard2.0 lib) automatically includes Portable.System.DateTimeOnly.
This could only be prevented cleanly by building MiniExcel in different frameworks.

@MarcelWilke42 Fixed v1.32.1


allow non-null assertion in jsx tagName

Suggestion
🔍 Search Terms
non-null assertion jsx
✅ Viability Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion
allow non-null assertion in jsx tagName
📃 Motivating Example
💻 Use Cases
{
    "compilerOptions": {
        "jsx": "react",
        "strict": true,
        "noUncheckedIndexedAccess": true
    }
}

declare var div :{ [className :string] :() => any };

<div.className! />;

Strangely this is not an error in strict mode
let A: (() => null) | null | undefined = () => null;

<A />


Add ckb-next v0.3.0

Added ckb-next because the old ckb is no longer maintained. New repository: https://github.com/ckb-next/ckb-next
After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[X] brew cask style --fix {{cask_file}} reports no offenses.
[X] The commit message includes the cask’s name and version.

Additionally, if adding a new cask (I also checked these because of the changed repository):

[X] Named the cask according to the [token reference].
[X] brew cask install {{cask_file}} worked successfully.
[X] brew cask uninstall {{cask_file}} worked successfully.
[X] Checked there are no [open pull requests] for the same cask.
[X] Checked the cask was not already refused in [closed issues].
[X] Checked the cask is submitted to [the correct repo].

Also please add a discontinued caveat to the old version, or just remove it.

@reitermarkus I just added the discontinued caveat!


Bitmap examples: call present

See https://github.com/38/plotters/issues/189#issuecomment-996174342

I'd be happy if you want to submit this here: https://github.com/plot-rs/plotters
For reference: https://github.com/38/plotters/issues/341