[TextField] OnPress Behaviour

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Summary 💡
When I click the first one, I want to click the second one. At this time, the first one disappears, and the second one does not appear immediately. I have to click again. I want to realize that the second one appears after only one click. how should this be done
When I click on the first one, I click on the second one. At this time, the first one disappears. I hope the second one will appear immediately.
Examples 🌈

Motivation 🔦
No response
Order ID 💳 (optional)
No response

When I click the first one, I want to click the second one.

So, when you have 2 Selects, you want both Selects to show the list of options when pressing only one of the components. Is this correct? Also, please provide a Codesandbox with your code. You can fork this Codesandbox template: https://codesandbox.io/s/mui-issue-latest-s2dsx

I click the first selection box select1, and then I click the second selection box select2, but the second selection box does not come out, and I need to click again to come out

I hope that when I click the second selection box, it will come out

I want to achieve this requirement

can you help me

That is an expected behaviour. The first click of the first Select opens the dropdown. Another click outside the dropdown (regardless of whether you click on the second Select or other components) closes the dropdown. And another click on the second Select opens its dropdown. To achieve the behaviour you want, I'd suggest passing a function to the onClick event handler of the first Select (the function that opens the dropdown of the second Select).

That is an expected behaviour. The first click of the first Select opens the dropdown. Another click outside the dropdown (regardless of whether you click on the second Select or other components) closes the dropdown. And another click on the second Select opens its dropdown.
To achieve the behaviour you described, you have to use a controlled state for Select. Here is a working Codesandbox: https://codesandbox.io/s/relaxed-haze-3ut9r2?file=/demo.js

thanks , This is a feasible example, but when the second one is clicked, there is no focus, and then can you click on the first one to achieve the same function?


:zap: Don't compile Regex multiple times

Especially for comparing UMBRs, the Regex
was compiled thousands of times, resulting in
120ms of regexp.MustCompile when
merging my personal backup (25k markings).
By taking this out of the function, it only needs
to run once.

Coverage decreased (-0.01%) to 86.19% when pulling ec0435faac38b15d218b8a75202b5dc120e3de95 on umbr_regex_out into 60317dfa6f461c212628f815d9f55b8a7b1eec73 on master.


EDU-904 Wikimedia in resource picker

Closes https://educandu.atlassian.net/browse/EDU-904

Wonderful feature 😍 Nicely done and integrated, this feels like yet another huge game changer for the project!

There would be a few suggestions from my side.

Regarding opening the resource picker having no initial URL set in the input field, then selecting the Wikimedia Commons tab

I think we should better indicate to the user that resources do exist but they need to be searched for
maybe show text and icon similar to this example:

Regarding changing the selection for search file type (image/audio/video/PDF)

when you make a search, then change the search file types, this creates a discrepancy between what you see and what you've actually searched for; for this same reason we introduced the text under the viewer showing the user what results they are viewing at the moment (for which search text)
when on top of this, you then click "load more", you see the screen loading/searching and you're under the impression that a new search, with the given text + search file types, is carried out, but actually the previously selected file types are used for the search, not what you see selected at the moment
I would however not suggest to include the file types in the text under the search results ( "Du siehst x Ergebnisse für den Suchbegriff y") because this would be too much text and when it's too much nobody reads. What I would suggest would be to trigger a new search each time a search type checkbox state changes. This would be then also the same behaviour as with the search input itself, which triggers a search also on click

Regarding the "load more" link, I can imagine it was tricky to think how to integrate that one. My idea would be something like this (with some opacity to the bar, to see underneath a little as you scroll):

Wonderful feature heart_eyes Nicely done and integrated, this feels like yet another huge game changer for the project!

:bow: danke!

Thanks for the valuable input :pray:, I gave the whole tab an overhaul trying to incorporate all suggestions, and I think it is much clearer and more user-friendly now:

Regarding opening the resource picker having no initial URL set in the input field, then selecting the Wikimedia Commons tab

I think we should better indicate to the user that resources do exist but they need to be searched for

We show a message now inviting the user to search

Regarding changing the selection for search file type (image/audio/video/PDF)

when you make a search, then change the search file types, this creates a discrepancy between what you see and what you've actually searched for; for this same reason we introduced the text under the viewer showing the user what results they are viewing at the moment (for which search text)
when on top of this, you then click "load more", you see the screen loading/searching and you're under the impression that a new search, with the given text + search file types, is carried out, but actually the previously selected file types are used for the search, not what you see selected at the moment
I would however not suggest to include the file types in the text under the search results ( "Du siehst x Ergebnisse für den Suchbegriff y") because this would be too much text and when it's too much nobody reads. What I would suggest would be to trigger a new search each time a search type checkbox state changes. This would be then also the same behaviour as with the search input itself, which triggers a search also on click

The elements are now displayed differently on screen and there is a dedicated search button that makes it clearer that the category selection only applies to a new search. For continuing an already started search (i.e. loading more items), I implemented "infinite scrolling", so the user does not have to press another button, it will just load more results as the user scrolls in the grid viewer, making it also clearer that the checkboxes on top only apply to "fresh" searches.

Regarding the "load more" link, I can imagine it was tricky to think how to integrate that one. My idea would be something like this (with some opacity to the bar, to see underneath a little as you scroll):

See Point 2, there's no "load more" link anymore.

Thanks for the valuable input 🙏, I gave the whole tab an overhaul trying to incorporate all suggestions, and I think it is much clearer and more user-friendly now:

Regarding opening the resource picker having no initial URL set in the input field, then selecting the Wikimedia Commons tab

I think we should better indicate to the user that resources do exist but they need to be searched for

We show a message now inviting the user to search

Regarding changing the selection for search file type (image/audio/video/PDF)

when you make a search, then change the search file types, this creates a discrepancy between what you see and what you've actually searched for; for this same reason we introduced the text under the viewer showing the user what results they are viewing at the moment (for which search text)
when on top of this, you then click "load more", you see the screen loading/searching and you're under the impression that a new search, with the given text + search file types, is carried out, but actually the previously selected file types are used for the search, not what you see selected at the moment
I would however not suggest to include the file types in the text under the search results ( "Du siehst x Ergebnisse für den Suchbegriff y") because this would be too much text and when it's too much nobody reads. What I would suggest would be to trigger a new search each time a search type checkbox state changes. This would be then also the same behaviour as with the search input itself, which triggers a search also on click

The elements are now displayed differently on screen and there is a dedicated search button that makes it clearer that the category selection only applies to a new search. For continuing an already started search (i.e. loading more items), I implemented "infinite scrolling", so the user does not have to press another button, it will just load more results as the user scrolls in the grid viewer, making it also clearer that the checkboxes on top only apply to "fresh" searches.

Regarding the "load more" link, I can imagine it was tricky to think how to integrate that one. My idea would be something like this (with some opacity to the bar, to see underneath a little as you scroll):

See Point 2, there's no "load more" link anymore.

Nice, looks super good with the initial search message! And infinite scrolling is also so much better than the "load more" option 👏
One thing I noticed just, when you search for something, then trigger infinite loading a few times, then type in the search field again, the change even seems laggy, takes some time till the text change is visible. Funny because on the initial search the typing is real time 🤔 Don't know if you have any ideas what might be the case there.

Nice, looks super good with the initial search message! And infinite scrolling is also so much better than the "load more" option clap One thing I noticed just, when you search for something, then trigger infinite loading a few times, then type in the search field again, the change even seems laggy, takes some time till the text change is visible. Funny because on the initial search the typing is real time thinking Don't know if you have any ideas what might be the case there.

I switched back to the debounced input in order to avoid the rendering lag on each key stroke.


Suggestion: Invisibility II hides armor and held items

Or maybe Invisibility II hides armor and III held items, whatever. Keep it up great mod.

i don't really have an idea as how to balance this,
translucent armor would be neat but i've done that before and it ends up being very buggy with rendering mods.


[AMBARI-23271] Make HDFS widgets namespace-scoped

What changes were proposed in this pull request?
Widgets on dashboard and HDFS summary page should be namespace-scoped.
How was this patch tested?
Unit tests:
21511 passing (24s)
48 pending

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1209/
Test PASSed.


VS code cant open or install any extentsion

We have written the needed data into your clipboard because it was too large to
Issue Type: Performance Issue
VS code cant open or install any extentsion for unknown reason
VS Code version: Code 1.44.2 (ff915844119ce9485abfe8aa9076ec76b5300ddd, 2020-04-16T16:36:23.138Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4910MQ CPU @ 2.90GHz (8 x 2893)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.88GB (10.67GB free)

Process Argv

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
    0	    96	  6624	code main
    0	    25	  5768	   utility
    0	    69	  6168	   shared-process
    0	    14	  6464	   electron-crash-reporter
    0	   143	  6716	   window (Chap01 - Visual Studio Code)
    0	    11	  2896	     watcherService
    0	    11	 12136	       console-window-host (Windows internal process)
    0	    54	  9416	     extensionHost
    0	   152	 11800	   gpu-process
    0	    65	 11980	   window (Issue Reporter)

Workspace Info
|  Window (Chap01 - Visual Studio Code)
|    Folder (Chap01): 1 files
|      File types: py(1)
|      Conf files:;

Extensions: none
send. Please paste.

Do you seen any errors?
Please follow these steps

Help -> Toggle Developer Tools -> Network
Then check for any network failed requests while browsing and installing the extensions if found all requests fails then its probably a proxy or DNS issue at your end.
To confirm its a DNS issue check if you can access this page https://ms-python.gallerycdn.vsassets.io/extensions/ms-python/python/2019.8.29288/1565127378610/Microsoft.VisualStudio.Services.Icons.Default, if you cannot please try configuring your DNS like pointing to <IP_ADDRESS> as suggested here? https://<IP_ADDRESS>/dns/. Otherwise please contact your network administrator.
If it is not a network issue, please share the logs from the following locations

Help -> Toggle Developer Tools -> Console
View -> Command Pallette... -> Toggle Shared Process -> Console
View -> Open View… -> Log (Shared)
View -> Open View… -> Log (Window)


[sitecore-jss-react][templates/nextjs] Add support for client BYOC imports and import new SitecoreForm component

[x] This PR follows the Contribution Guide
[ ] Changelog updated

Description / Motivation
BYOC components need to be imported into app's Layout in order to be available for use. Initial introduction of BYOC in JSS enabled component auto-import through component-builder.
Moving forward, we want to allow a more controlled approach to BYOC registration and import. This PR adds two points for this:

index.client.ts - for client-only component imports
index.ts - for SSR/hybrid (sever side with client hydration) components

This PR also adds a deafult import for new SitecoreForm BYOC component using this approach.
Testing Details

[ ] Unit Test Added
[x] Manual Test/Other (Please elaborate) Smoke test with XM Cloud

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Added some comments. Looking good so far! thanks a lot guys!


Feature - Manage schedules (3/3)

This is the GUI part of the schedules management with cron, which depends on the https://github.com/mitre/caldera/pull/3025 and https://github.com/mitre/caldera/pull/3026
Linked Merge Requests:
https://github.com/mitre/caldera/pull/3025
https://github.com/mitre/caldera/pull/3026

Adds a schedule view:

Accessible from the navigation menu,
Handles schedule creation / edition / deletion

Hello @uruwhy can you check on this MR?
It's the final part of the schedules management part 😄

Testing now. So far looks great!

This LGTM. I just would like the default string hint for crontab format.

This LGTM. I just would like the default string hint for crontab format.

Hello sorry for the delay and thanks for the commit 😅


Can not run any ghost4 images under linux docker

Issue Summary
My compose config
  mysql8-native:
    container_name: mysql8-native
    hostname: mysql8-native
    image: mysql:8
    ports:
        - "<IP_ADDRESS>:3308:3306"
    volumes:
      - /mnt/docker/database/shared/mysql8.0/etc/mysql/my.cnf:/etc/mysql/my.cnf
      - /mnt/docker/database/shared/mysql8.0/var/lib/mysql:/var/lib/mysql
      - /mnt/docker/database/shared/mysql8.0/var/log/mysql:/var/log/mysql
      - /mnt/docker/database/shared/mysql8.0/var/lib/mysql-files:/var/lib/mysql-files
    restart: always
    environment:
      INIT_TOKUDB: 1
      MYSQL_ROOT_PASSWORD: password
    tmpfs:
      - /tmp

  ghost:
    image: ghost:latest
    container_name: ghost
    hostname: ghost
    restart: always
    privileged: true
    ports:
      - 2368:2368
    depends_on:
      - mysql8-native
    environment:
      # see https://ghost.org/docs/config/#configuration-options
      database__client: mysql
      database__connection__host: mysql8-native
      database__connection__database: ghost
      database__connection__user: ghost
      database__connection__password: ghost
      # this url value is just an example, and is likely wrong for your environment!
      url: https://news.antinomy-collective.org
      # contrary to the default mentioned in the linked documentation, this image defaults to NODE_ENV=production (so development mode needs to be explicitly specified if desired)
      NODE_ENV: production
    volumes:
      - /mnt/docker/services/shared/ghost:/var/lib/ghost/content

Error log
[2022-04-16 16:46:46] ERROR (Code: -97)

(Code: -97)

"There was an error starting your server."
 "Please use the error code above to search for a solution."

 Error ID:
     cd9d5850-bda4-11ec-a989-9d00a94dc17e

 ----------------------------------------

 InternalServerError: (Code: -97)
     at Server.<anonymous> (/var/lib/ghost/versions/4.41.3/core/server/ghost-server.js:116:34)
     at Server.emit (events.js:400:28)
     at emitErrorNT (net.js:1358:8)
     at processTicksAndRejections (internal/process/task_queues.js:82:21)

 [2022-04-16 16:46:46] WARN Ghost is shutting down
 [2022-04-16 16:46:46] WARN Ghost has shut down
 [2022-04-16 16:46:46] WARN Your site is now offline
 [2022-04-16 16:46:46] WARN Ghost was running for a few seconds

Steps to Reproduce

docker -v is Docker version 20.10.10, build b485636
Debian GNU/Linux 11 (bullseye)
docker-compose -v is Docker Compose version v2.4.1
apply my config

Ghost Version
any 4
Node.js Version
bundled in docker image
How did you install Ghost?
cause ghost is cool
Database type
MySQL 8
Browser & OS version
not depent
Relevant log / error output
[2022-04-16 16:46:46] ERROR (Code: -97)

(Code: -97)

"There was an error starting your server."
 "Please use the error code above to search for a solution."

 Error ID:
     cd9d5850-bda4-11ec-a989-9d00a94dc17e

 ----------------------------------------

 InternalServerError: (Code: -97)
     at Server.<anonymous> (/var/lib/ghost/versions/4.41.3/core/server/ghost-server.js:116:34)
     at Server.emit (events.js:400:28)
     at emitErrorNT (net.js:1358:8)
     at processTicksAndRejections (internal/process/task_queues.js:82:21)

 [2022-04-16 16:46:46] WARN Ghost is shutting down
 [2022-04-16 16:46:46] WARN Ghost has shut down
 [2022-04-16 16:46:46] WARN Your site is now offline
 [2022-04-16 16:46:46] WARN Ghost was running for a few seconds

Code of Conduct

[X] I agree to be friendly and polite to people in this repository

help please...
a tried some versions of 4 ghost. and -alpine versions too. Now, I'am using ghost3 but i want to use v4 or v5 after release.
thank you.

very strange support. seriously? i cant to run your engine in docker. and you answered that it is not a bug?
a cant install any 4.x versions. come on.

@matthanley help please?

@stamepicmorg The docker images are provided by docker & the docker community, they are not provided or maintained by us. See https://hub.docker.com/_/ghost. Meanwhile, we do not provide support via GitHub, please use our forum.


React Form Binder: error message flashes on changes

After #1178, when editing a field that has an invalid length, the message flashes, see video.
Screencast from 2023-08-25 16-19-24.webm

I also ran into this. Here's the model I was using:
public class Customer {

    @NotBlank(message = "Name is mandatory")
    private String name;

    @NotBlank(message = "Email is mandatory")
    @Email
    private String email;

    @NotBlank(message = "Phone is mandatory")
    @Pattern(regexp = "^[0-9]{10}$", message = "Phone number must be 10 digits")
    private String phone;

    ....
}

I've also run into this, with client side validators. Happens both with a custom validator, with Min and with Max.


hipcc optimization issue on MI100, gfx908

Hello *,
hipcc compiler seems to be messing up the execution results of a specific add kernel on MI100, gfx908 card.
The results are the same on my RX Vega 56, using -O0 and -O3, and on MI100, using -O0, nevertheless, results are incorrect in the case of using -O3 on MI100.
Please refer to https://github.com/ramin-raeisi/HIP-Optimization-Bug for a ready-to-verify piece of code.
I do appreciate your help and support, I am afraid this should be a bug of the compiler.
Ramin

Hello @ramin-raeisi ,
Thank you for brining this in to notice.
Usually the ideal place to post problems is this repo :  https://github.com/RadeonOpenCompute/ROCm/issues
Let me have a deeper look in to the problem you are facing and get back to you.

@ROCmSupport ,
I look forward to having your assessment result.

@ramin-raeisi
What are the expected results ?  The outputs from gfx900 using O0 and O3 also seem different.
Thanks.

@ROCmSupport, @zjin-lcf
I noticed a small issue in https://github.com/ramin-raeisi/HIP-Optimization-Bug and fixed it, however, it had nothing to do with the optimization problem.
I had also forgotten to mention that I had a similar issue with gfx900 as well and I had to temporarily disable the optimization for the G1_add function using [[clang::optnone]]. Having the optnone for the G1_add function, all the results would be the same for both gfx900 and 908 and equal to the expected values coming from the CUDA version.
Please observe the following branches:

https://github.com/ramin-raeisi/HIP-Optimization-Bug/tree/verified-cuda-hip
https://github.com/ramin-raeisi/HIP-Optimization-Bug/tree/optnone

There are in-line assembly codes in the example for efficiency. I wonder if they may be converted to higher level HIP codes for portability.

Would you please try the following patch to the g1_add.cu?
diff --git a/g1_add.cu b/g1_add.cu
index 7922282..f740027 100644
--- a/g1_add.cu
+++ b/g1_add.cu
@@ -675,7 +675,7 @@ DEVICE Fq Fq_sub_nvidia(Fq a, Fq b) {
asm volatile("v_subb_co_u32 %0, vcc, %0, %1, vcc" : "+v"(a.val[9]): "v"(b.val[9]): "vcc");
asm volatile("v_subb_co_u32 %0, vcc, %0, %1, vcc" : "+v"(a.val[10]): "v"(b.val[10]): "vcc");
asm volatile("v_subb_co_u32 %0, vcc, %0, %1, vcc" : "+v"(a.val[11]): "v"(b.val[11]): "vcc");

asm volatile("v_sub_co_u32 %0, %0, %1" : "+v"(a.val[11]): "v"(0));

asm volatile("v_sub_co_u32 %0, %0, %1" : "+v"(a.val[11]): "v"(0): "vcc");
return a;
}

@changpeng , Would you please provide the patch file, the text here has some issues I think?

Note sure how to attach a file here.
But for "DEVICE Fq Fq_sub_nvidia(Fq a, Fq b)", you just need to change the last line:
minus:  asm volatile("v_sub_co_u32 %0, %0, %1" : "+v"(a.val[11]): "v"(0));
plus:    asm volatile("v_sub_co_u32 %0, %0, %1" : "+v"(a.val[11]): "v"(0): "vcc");

@changpeng , I did the same and verified against -O3, assertion, on which branch did you test?

https://github.com/ramin-raeisi/HIP-Optimization-Bug

You can also try [[clang::optnone]] to Fq_sub_nvidia

I checked both, got assertion for both, what hipcc version have you checked with and what did you get? No assertion?

With -O3. I tried with rocm 5.1 and later I think. What assert did you get (surprise that disable opt for a function will lead to an assert)

HIP version: 5.0.13601-ded05588
AMD clang version 14.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-5.0.2 22065 030a405a181176f1a7749819092f4ef8ea5f0758)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/rocm-5.0.2/llvm/bin

x:<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>, 685174683,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>, 102950736,
y:<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>, 878390733,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>, 962708640, 231501946,
z:<PHONE_NUMBER>, 112054852,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>, 64230541,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>, 431544102,

g1_add: g1_add.cu:1229: int main(): Assertion `flattenResult[i]==cudaExpected[i]' failed.
Aborted (core dumped)

I meant incorrect expected value

I am trying to get a rocm 5.0 to re-verify. Will get back to you soon.

I am using the same compiler but can pass with -O3,
AMD clang version 14.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-5.0.2 22065 030a405a181176f1a7749819092f4ef8ea5f0758)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/chfang/tmp/opt/rocm-5.0.2/llvm/bin
x: 695163763, 838428337, 867136025,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>, 422274527,<PHONE_NUMBER>,<PHONE_NUMBER>, 416975321,
y:<PHONE_NUMBER>,<PHONE_NUMBER>, 670218974,<PHONE_NUMBER>, 392632874,<PHONE_NUMBER>, 798160530,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>, 298035558,
z: 413203031,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>, 485346739,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>, 414846589,
No error

Please verify if your latest commit is d29000b84410a19448b709ccd18c3b09de1706a0

commit d29000b84410a19448b709ccd18c3b09de1706a0 (HEAD -> main, origin/verified-cuda-hip, origin/main, origin/HEAD)
Author: Ramin Raeise<EMAIL_ADDRESS>Date:   Wed Apr 27 14:06:55 2022 +0430

Having your patch done on my Radeon RX Vega 56 machine, it passes! But not on MI100 machine, however I used to have multiple hip versions there, I think I need to go for a clean test and see. I assume you have tested on a MI100 machine, right?

Right. I tested on MI100 and also a vega20 (gfx906) system

I will do a clean test and inform, that was a great catch @changpeng , appreciate that.

@changpeng It is failing on my MI100 machine

@changpeng Another witnessed behavior, hipcc would hang if I add [[clang::optnone]] for all of the assembly functions, this was another weird behavior, could you please verify this on your side?

@ramin-raeisi : it also hangs on my side.
Could not understand it still fails on you MI100 system. is it possible to update your rocm to
5.1 and retry?

Are you sure you are not doing the change on Fr_sub_nvidia(Fr a, Fr b), @ramin-raeisi ?

Are you sure you are not doing the change on Fr_sub_nvidia(Fr a, Fr b), @ramin-raeisi ?

Yes, both, adding"vcc", and [[clang::optnone]] tested

Fr_sub_nvidia or Fq_sub_nvidia?
We need to do for the later Fq_sub_nvidia

Yes, for Fq_sub_nvidia

@changpeng Do you want to debug and troubleshoot this on my MI100 machine?

I can take a quick look. But am busy on other stuffs.

I can take a quick look. But am busy on other stuffs.

We need to ask my colleague to support you, so it might take time, I have already asked him to get in touch in case, thank you.

@changpeng I stumbled into WIP documentation(work in progress) for some intrinsic functions on ROCm website, is there a chance that we could implement these assembly functions using intrinsic functions?

Hey @changpeng

Tried different systems with different amount of GPUs (only gfx908 "MI100")
Tried multiple kernels
Tried ROCM 5.0.2, 5.1.0, 5.1.1(just now)
Tried [[clang::optnone]]
Tried this

O0 works fine, O3 keeps failing just like @ramin-raeisi  said.

Hi, @Eliovp @ramin-raeisi :  Thanks for the triages. It seems the issue on MI100 is different from the issue on other systems. And the patch/workarund I provided only applies to systems other than MI100. Sorry for the confusion.

@ramin-raeisi :  Can you or someone update the main branch with the "vcc" def change?
https://github.com/ramin-raeisi/HIP-Optimization-Bug/blob/main/g1_add.cu

@ramin-raeisi Can you please test with latest ROCm 6.0.2 (HIP 6.0.32831) and check if issue still occurs? Thanks!


Add explicit error when google returns non-OK status

before this we were returning "exceeded query limit" error on any non-OK status from Google, which looks confusing when we are trying to deal with this errors in our app.
This change add separate error class (inherinted from standard error) which simply returns responce from Google if we had non-OK status.
Have place for futher concretezation for error-types (for example, we might have GoogleMapsGeocoderEmptyResponseError or GoogleMapsGeocoderQueryLimitError, but for now it's just a general GoogleMapsGeocoderError which can be handled on the app's side

Coverage decreased (-1.3%) to 98.667% when pulling 1e38ec1f740652b5a5d38c6644e9892ef755d296 on kiote:master into 03a0caad1e2c2baf5dddadee88c39ad7b723da84 on ivanoblomov:master.

omg! Have no idea why coverage might be decreased here, as I've added some tests as well. I'll fix all rubocop complains related to the new code here.

Coverage remained the same at 100.0% when pulling 46e89dd4b98a930407c2fa8eeb0bda4e83d2fbd9 on kiote:master into 03a0caad1e2c2baf5dddadee88c39ad7b723da84 on ivanoblomov:master.

Coverage remained the same at 100.0% when pulling 6e4b4ab8cb89771238c43a03f647977f60059430 on kiote:master into 03a0caad1e2c2baf5dddadee88c39ad7b723da84 on ivanoblomov:master.

okay, now checks from Travis are falling because of the code not related to this PR 😉

Coverage remained the same at 100.0% when pulling bbc79ab8bf47ee74f3d6461a60a16f3b397ed7f2 on kiote:master into 03a0caad1e2c2baf5dddadee88c39ad7b723da84 on ivanoblomov:master.

Coverage remained the same at 100.0% when pulling 831eba608c0f0918811f2307ad9d92bb72801d38 on kiote:master into 03a0caad1e2c2baf5dddadee88c39ad7b723da84 on ivanoblomov:master.

Coverage decreased (-1.2%) to 98.824% when pulling e4ce3f0fffb95b38e7ef928cab851b0f8843329d on kiote:master into 03a0caad1e2c2baf5dddadee88c39ad7b723da84 on ivanoblomov:master.

Coverage remained the same at 100.0% when pulling 44de62b713bc2fafe343ef6e75fb9d83cb7056c4 on kiote:master into 03a0caad1e2c2baf5dddadee88c39ad7b723da84 on ivanoblomov:master.

Coverage remained the same at 100.0% when pulling 3d9608a35e4a4d9f943dbaf60226f3a8a79820d6 on kiote:master into 03a0caad1e2c2baf5dddadee88c39ad7b723da84 on ivanoblomov:master.

this stuff turns to be so noisy, so I prefer to close this and open a new one instead.


update float8 integration after UX changes

Summary:
float8_experimental landed various BC-breaking UX changes last week. This PR updates torchtitan to work with the version of float8_experimental after
https://github.com/pytorch-labs/float8_experimental/pull/332
Test Plan:
with-proxy CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 NGPU=8 CONFIG_FILE="./train_configs/llama3_8b.toml" ./run_llama_train.sh --training.enable_float8_linear --training.compile

Reviewers:
Subscribers:
Tasks:
Tags:

looks like need to fix lint before landing


can we have a conditional probability estimator?

In additional to scipy.stats.gaussian_kde
something like https://www.statsmodels.org/stable/generated/statsmodels.nonparametric.kernel_density.KDEMultivariateConditional.html would be really useful.

is this issue still open?if not,i'd like to work on this

We try to avoid overlap with statsmodels (and other libraries) unless the feature is "sufficiently" fundamental. After five years without follow-up, it doesn't look like this bar is met. @josef-pkt let us know if you think SciPy would be helpful in the space, but in the meantime, I'll go ahead and close this one.

This might not be so difficult to implement for scipy as an add-on to the current kde.
Overall statsmodels kde has a lot of extras like bandwidth estimation, several kernels for continuous data and kernels for non-continuous data (and not connected yet to the current kde framework, kernels for continuous variables with support bounds, x >= 0 or x in [0, 1]).
However, statsmodels uses product kernels for multivariate kde and so does not replicate scipy.stats.
Based on a brief look, the conditional kde is just the ratio of two kde, so it might be worth it to add it to the scipy kde.

Now I remember that we (or at least I) considered this when I was finishing gh-9932, which added a method gaussian_kde.marginal that returns a gaussian_kde instance corresponding with the marginal distribution. So I think you're right, it might make sense to add gaussian_kde.conditional if it can still be represented as an instance of gaussian_kde.

if it can still be represented as an instance of gaussian_kde

I don't think that's possible.
AFAICS, it would need a wrapper function/class that computes two different gaussian_kde.
I don't remember the details. Here is the relevant method for the conditional pdf
https://www.statsmodels.org/dev/_modules/statsmodels/nonparametric/kernel_density.html#KDEMultivariateConditional.pdf
This is a generic implementation, but I doubt that there will be a shortcut implementation for just the multivariate gaussian kernel.

I don't think that's possible.

OK, and now that you mention it, I also seem to remember that was the conclusion. In any case, I wasn't easily able to figure out how to generate it - at least not as easily as the marginal PDF.
And if we can't return a gaussian_kde, then the only thing we could very easily compute is the PDF (and logpdf). This is easy enough for the user to calculate, something like:
joint = stats.gaussian_kde(values)
marginal = joint.marginal[dims]
conditional = joint.pdf(x_and_y) / marginal.pdf(x)

I didn't see a need for a separate method just to perform this one-line calculation.
Unless there is some simplification for the CDF, random variate generation, etc..., I didn't think we should try to provide generic implementations for the same reasons we don't have a generic multivariate infrastructure (pick any). If we do decide that a generic multivariate infrastructure is a good idea, then the conditional PDF can just be plugged into it. In the meantime, the user is welcome to compute whatever integrals they want with a call to one of our multivariate integrators (nquad, cubature, or qmc_quad).
So IIUC, this request is either for a method that calculates the conditional PDF, which is a one-liner, or equivalent to a request for a generic multivariate infrastructure, which is tracked separately (gh-16278). There is also a request for a multivariate ratio-of-uniforms (or other sampling) method (gh-17477).
So unless we find that we can represent the conditional probability distribution as a gaussian_kde, how about I just add something like the code above as an example in the documentation? (And I also need to add the marginal method to the documentation; looks like it's not rendering right now.)

I see you have a nontrivial CDF implementation that is still not just a numerical integral. I suppose we could consider offering a conditional method that returns an instance of a class with pdf, logpdf, and integrate_box methods, if you think that's sufficient.

I think pdf is the main use case.
Statsmodels uses cdf-kernels to compute the kernel cdf. Because of the product kernel, those kernels are univariate.
Multivariate cdf kernel might not be easy (although it's used in current box integral of gaussian_kde).
A function or class for an one-liner (or 5 lines) is useful if it helps to pin down some details that the user does not have to think about.
For example: Should we use the same bandwidth in both kde?
AFAICS, statsmodels uses the same bandwidth. but bandwidth choice in product kernels will be less affected by the multivariate pattern.
I don't know how this really works, so as a user I would prefer a good or reasonable default.
(I never read the references in detail, the book is too thick to go through all of it.)
I guess KDE will not easily fit into a generic distribution framework for parametric distributions.
I don't even know how moments are computed for kde (except brute force integration) and don't remember any usecase.


[stable/gangway] Update to 3.2.0

Signed-off-by: Giacomo Longo<EMAIL_ADDRESS>Also fixes compatibility with k8s 1.16
@rk295
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X] DCO signed
[X] Chart Version bumped
[X] Variables are documented in the README.md
[X] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign @rk295

/ok-to-test

Ping


Emit error when target_clones is used without specifying any features

#[target_clones("x86_64")]
fn foo() {}

Specifying an architecture without a feature doesn't accomplish anything with target_clones.

Additionally, this results in an error:
#[multiversion("x86_64" => foo_avx)]
fn foo() {}

On second thought, maybe this should be a warning, not an error.  I'm not sure it's possible to generate a warning so at a minimum these examples should both compile.


ARROW_5706: [Java] Remove type conversion in getValidityBufferValueCapacity

Related to ARROW-5706.
Now implementation of getValidityBufferValueCapacity is:
(int) (validityBuffer.capacity() * 8L)
Seems no need to convert it to Long then convert it back to Int, just replace with:
validityBuffer.capacity() * 8
VariableWidthVectorBenchmarks#getValueCapacity shows the performance:
Before:
avgt 5 5.731 ± 0.160 ns/op
After:
avgt 5 5.124 ± 0.125 ns/op

+1 LGTM


JS-NG coverage

data

[ ] encryption
[ ] hash
[ ] idgenerator
[ ] inifile
[ ] nacl
[ ] platform

clients

[ ] sshclient
[ ] sshkey

sal

[ ] fs
[ ] hostfile
[ ] nettools
[ ] unix

servers

[ ] gedis_http (should get moved to sdk)
[ ] openresty is it removed?
[ ] rack

Installation

[ ] threesdk (don't test, should get removed.)

tools

[ ] alerthandler
[ ] codeloader
[ ] console
[ ] depsresolver
[ ] git
[ ] highlighter
[ ] syncer
[ ] timer

@abom please clean the list with what is left in ng after reduction

@abom please clean the list with what is left in ng after reduction


Detach data disks

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az vmss disk detach
Errors:
'NoneType' object is not iterable
Traceback (most recent call last):
Temp\pip-install-xo02umyl\knack\knack\cli.py, ln 206, in invoke
azure\cli\core\commands\__init__.py, ln 603, in execute
azure\cli\core\commands\__init__.py, ln 661, in _run_jobs_serially
azure\cli\core\commands\__init__.py, ln 654, in _run_job
Local\Temp\pip-install-xo02umyl\six\six.py, ln 693, in reraise
azure\cli\core\commands\__init__.py, ln 631, in _run_job
azure\cli\core\commands\__init__.py, ln 305, in __call__
azure-cli-core\azure\cli\core\__init__.py, ln 485, in default_command_handler
azure\cli\command_modules\vm\custom.py, ln 2410, in detach_disk_from_vmss
TypeError: 'NoneType' object is not iterable

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az vmss disk detach --resource-group {} --name {} --lun {}

Expected Behavior
Environment Summary
Windows-10-10.0.18362-SP0
Python 3.6.6
Shell: powershell.exe

azure-cli 2.0.71

Extensions:
interactive 0.4.3

Additional Context

We have received your issue. Thanks for your feedback.

This issue is fixed and code merged. It should be involved in version 2.5.0


feat(edgio): support v7 edgio application

🔗 Linked issue
Fixed: https://github.com/unjs/nitro/issues/1405

❓ Type of change

[x] 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
[x] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
The edgio application has been migrated to the v7 platform and the old edgio presets are no longer available, fixed and replaced with the official connector @edgio/nitropack.

📝 Checklist

[x] I have linked an issue or discussion.
[x] I have updated the documentation accordingly.

sorry it was delayed. it might be delayed until 2.10.

Sorry again this PR is delayed. I need to find a chance to properly test this PR and rework it as part of 2.10 refactors. Marking as a draft in meanwhile to indicate status.


Set recon_gain_is_present_flag to 0 when omitting Parameter Block OBUs.

Reported in #40 comment.
Existing test vectors have recon_gain_is_present_flag == 1 when there are multiple layers. Even if the parameter blocks are omitted. Instead in these cases it should be set to 0.

@jwcullen @yeroro @yilun-zhangs,
is it still an open issue or was it already addressed?


[DFT] Extend descriptor.get/set_value for existing dft values

Description
Please include a summary of the change. Please also include relevant
motivation and context. See
contribution guidelines
for more details. If the change fixes an issue not documented in the project's
Github issue tracker, please document all steps necessary to reproduce it.
Fixes # (GitHub issue)
Checklist
All Submissions

[ ] Do all unit tests pass locally? Attach a log.
[ ] Have you formatted the code using clang-format?

New interfaces

[ ] Have you provided motivation for adding a new feature as part of RFC and
it was accepted? # (RFC)
[ ] What version of oneAPI spec the interface is targeted?
[ ] Complete New features checklist

New features

[ ] Have you provided motivation for adding a new feature?
[ ] Have you added relevant tests?

Bug fixes

[ ] Have you added relevant regression tests?
[ ] Have you included information on how to reproduce the issue (either in a
GitHub issue or in this PR)?

@fabiomestre In src/dft/descriptor.cxx line 76-79:
    std::vector<std::int64_t> defaultStrides(rank_, 1);
    for (int i = rank_ - 1; i < 0; --i) {
        defaultStrides[i] = defaultStrides[i - 1] * dimensions_[i];
    }
    defaultStrides[0] = 0;

This seems wrong. I think it should be i > 0
Also the description of the API is inconsistent. On one page is says that it should be a vector of dimensions d. While in another page it says d + 1. I think d + 1 is probably correct since they explain it in detail in that page.

This PR is being merged into Codeplay/OneMKL in https://github.com/codeplaysoftware/oneMKL/pull/6.


groovy update: regenerate

@bilelmoussaoui Please regenerate with the merged version of gir-files and then let's get it in :)

Thanks!


[Bug]: Incorrect indentation when object nested inline on the same line as parent object

Consider the following example:
const a = { b : {},
The current regex pattern for increase the indent does not match the line, so after pressing Enter at the end of the line, there is no indentation. This is a bug.

Need to explore a recursive regex pattern that can capture nested pairs of complete closing braces


implemented KillContainer and DeleteContainer funcs

took help from ctr code
for deleteContainer: https://github.com/containerd/containerd/blob/b5ef9b49aea88175e7275667fa513ed63c0545db/cmd/ctr/commands/containers/containers.go#L185
for killContainer : https://github.com/containerd/containerd/blob/HEAD/cmd/ctr/commands/tasks/kill.go
cc: @adisky @palnabarun

ok tested ✅


Php version requirements?

What is the minimum php requirements for this library?  PHP 54 does not seem to be enough.  Thanks.

@gotaholen1 I was trying on PHP 5+ and couldn't get it working, I had to deploy on a php 7+ environment to get it to work

Thanks, I will give that a try today!

@gotaholen1 i can't say i've tried with any older versions, what specific issue are you getting when trying 5.4?

Let me know if you are still having issues, and i'll re-open

Hi @MartinLenord, can you tell us what's the minimum PHP version for this library?

@oroalej I have not tested it on anything below PHP 7.2


[UNET-Sharing] Invoked function does not exist

In the HoloToolkit example "SharingWithUNET", in the GenericNetworkTransmitter class, line 201:
Invoke("RequestAndGetAnchor", timeToDeferFailedConnections);
Problem is RequestAndGetAnchor function does not exist (probably got renamed but the Invoke part has not been updated accordingly).

well, SharingWithUNET still works despite this. I am able to generate an anchor when server starts, then I can download the anchor when a client joins... I was looking for a way to trigger an event when the anchor is downloaded and came across  this .. has anyone figured out if this RequestAndGetAnchor() was renamed or if it is hidden somewhere ?

From the log of this class it seems it was never implemented when added.


Sticky things for sticky people

Adds a throttle util to complement debounce
Adds a sticky util to make stuff sticky

Jasmine green.

I think it looks really good.
It took me a while to get my head around it and kept noticing things which were kinda dealing with hacks or dealing with our implementation. I think it would probably benefit from a few comments as to why things are why they are.
Otherwise great stuff

Definitely clearer now. Good stuff +1 from me

+1


 A possible implementation is as follows:
class json_error: public runtime_error
{
public:
    enum class errc: unsigned int
    {
        /**/
    };

    errc code() const noexcept
    {
        return code_;
    }

    json_error(errc code) noexcept : code_(code)
    {
    }

    ~json_error() override
    {
    }

    json_error& operator=(const json_error& e) noexcept = default;

    const char* what() const noexcept override
    {
        /**/
        return "";
    }

private:
    errc code_{};
};

Should errc be nested in json_error or at the namespace scope?

Should errc be nested in json_error or at the namespace scope?

I am considering using the latter. The former doesn’t seem to have any particular advantages and may be controversial.

I'll change the enumeration to json_errc at the namespace scoe.
I have to drop the noexcept from the json_errc ctor since the standard doesn't provide a noexcept way to construct the runtime_error object other than copying from an existing runtime_error.

I'll change the enumeration to json_errc at the namespace scoe.
I have to drop the noexcept from the json_errc ctor since the standard doesn't provide a noexcept way to construct the runtime_error object other than copying from an existing runtime_error.

Unused error codes should be removed from the proposal at this time. Also, I'd recommend making the underlying type at least int, to leave plenty of room for possible extensions.

I'll change the enumeration to json_errc at the namespace scoe.
I have to drop the noexcept from the json_errc ctor since the standard doesn't provide a noexcept way to construct the runtime_error object other than copying from an existing runtime_error.

Unused error codes should be removed from the proposal at this time. Also, I'd recommend making the underlying type at least int, to leave plenty of room for possible extensions.

Addressed in 149c3026dbadb549522e257882713945d29e229e.


Initial Generated Yaml file should not need extra editing to be valid

Remove comments and the empty expression value for Filters section

I think this discussion pre-dates when I started working on the OSS stuff, but IIUC we went back and forth between having the model be valid out of the box vs exposing these extra fields and having the customer fill them out.
@sfc-gh-rehuang probably has the most context on this, so we should discuss with her when she's back.


Fix: #747 'Missing circle' issue.

Reference Issue

Fixes #747
What does this implement/fix? Explain your changes.

Any other comments?

@mrbean-bremen
Please merge this PR.


FW 3.2.7 breaks hotspot (former captive portal / former guest portal) SSL certificate

See issues #61 and #62
Not only web frontend and RADIUS server are toasted, but also the captive portal - requiring a third way of implementing the customized certs.

So, during my research today I found out that any custom SSL certificate will break (official confirmation here).
So, no more need to fiddle around with full chain vs. server only certificates. I could say "nice" but would rather prefer an OEM solution.


0 value not being passed into XML

I believe there is a bug with the API which is stopping 0 values being parsed into the XML. For example when I try to update an item using the following code:
`
$item = new QuickBooksOnline\API\Data\IPPItem;
$item->Id = 21;
$item->SyncToken = 0;
$item->Name = 'Test Name';
$item->Description = 'Test Description'
$item->UnitPrice = '9.99';
$item->PurchaseDesc = 'Test Description';
$item->PurchaseCost = '4.99';
$item->Type = 'NonInventory';
$item->SalesTaxCodeRef = 6;
$item->PurchaseTaxCodeRef = 6;
$item->Taxable = true;
$item->IncomeAccountRef = 2;
$item->ExpenseAccountRef = 2;
$resultingItemObj = $dataService->Add($item);
`
It creates the following XML:
`

<ns0:Item xmlns:ns0="http://schema.intuit.com/finance/v3">
ns0:Id21</ns0:Id>
ns0:NameTest Name</ns0:Name>
ns0:DescriptionTest Description</ns0:Description>
ns0:Taxable/
ns0:UnitPrice9.99</ns0:UnitPrice>
ns0:TypeNonInventory</ns0:Type>
ns0:IncomeAccountRef2</ns0:IncomeAccountRef>
ns0:PurchaseDescTest Description</ns0:PurchaseDesc>
ns0:PurchaseCost4.99</ns0:PurchaseCost>
ns0:ExpenseAccountRef2</ns0:ExpenseAccountRef>
ns0:SalesTaxCodeRef6</ns0:SalesTaxCodeRef>
ns0:PurchaseTaxCodeRef6</ns0:PurchaseTaxCodeRef>
</ns0:Item>
`
SyncToken is not included meaning that I get a "Stale Object Error"
If I add SyncToken to the XML and process it using the API Explorer it works fine. I am using 4.0.1.
Thanks

@dsbcourtney I cannot reproduce the same error, can you provide the complete code so I can try? Also, in your code, the $item->Description = 'Test Description' is missing ";" at the end.

@dsbcourtney
It is the XML parser. The SyncToken is Type "String" in the Object, so if you provide:
$item->SyncToken = "0";
it will work.
the
$item->SyncToken = 0;
cannot be worked correctly because int(0) cannot be matched correctly to string(0). It has to be a string.
I would not suggest using the Facade class to do it, like:
$Item = Item::create([
"Id" => 27,
"SyncToken" => 1,
"Name" => "1111Office Sudfsfasdfpplies",
"Description" => "This is the sales description.",
"Active" => true,
"FullyQualifiedName" => "Office Supplies",
"Taxable" => true,
"UnitPrice" => 25,
"Type" => "Inventory",
"IncomeAccountRef"=> [
"value"=> 66,
"name" => "Landscaping Services:Job Materials:Fountains and Garden Lighting"
],
"PurchaseDesc"=> "This is the purchasing description.",
"PurchaseCost"=> 35,
"ExpenseAccountRef"=> [
"value"=> 67,
"name"=> "Cost of Goods Sold"
],
"AssetAccountRef"=> [
"value"=> 65,
"name"=> "Inventory Asset"
],
"TrackQtyOnHand" => true,
"QtyOnHand"=> 100,
"InvStartDate"=> $dateTime
]);
When I map the key to values, I will convert it properly. However, it won't happen when you manually assign the value. The library we are using "XSD2PHP" is pretty old. I need to change it, just didn't find a good candidate.

Thank you. I did think that might be the reason and in the end just used:
$item->SyncToken = strval($SyncToken);
which has worked ok.
Thanks for your help.


Are MRuby tests also run on MRI?

I have a question, are the tests under test/t also run by MRI regularly?
(for example to ensure consistency)
Or is this is not a goal, since mruby is mostly designed from the ISO spec which MRI follows?
In any case, I had a bit of fun and made the test suite under test/t pass with MRI 2.3.0:
$ ruby -v
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]
$ ruby -r ./compat.rb test/mri.rb
....................................................................................................................................................................................................................................
mruby/test/t/hash.rb:342: warning: key "c" is duplicated and overwritten on line 342
....................................................................................................................................................
mruby/test/t/module.rb:288: warning: already initialized constant Test4ConstSet::Const4Test4ConstSet
mruby/test/t/module.rb:285: warning: previous definition of Const4Test4ConstSet was here
...........................?.....................................................................................................................................................
mruby/test/t/syntax.rb:414: warning: circular argument reference - foo
mruby/test/t/syntax.rb:427: warning: circular argument reference - foo
.....................................
Skip: Module#prepend super in alias  super does not currently work in aliased methods
Total: 589
   OK: 589
   KO: 0
Crash: 0
 Time: 0.06 seconds

This requires only a couple changes in the tests, but many fun hacks to simulate mruby's behavior.
The whole changes are visible at https://github.com/mruby/mruby/compare/master...eregon:test_mri.
Interestingly, it revealed that some tests are order-dependent, due to multiple definitions of class Foo.

At the moment tests are only run within mruby itself.

Patch welcome.


Request get

We have Arr::has based Request::has method. Why no sweet Request::get?

It interferes with Symfony methods.


Kuaka Generator is still useless

Maybe Make cost per second higher and boost non sqrt curve

Legit is useless late game


Profil page

Motivation

I added a Profile Page, where the logged in user can see his/her items
Issues closed

./src/pages/details/[id].js
20:4  Warning: Do not use . Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
./src/pages/items/index.jsx
14:5  Warning: React Hook useEffect has a missing dependency: 'fetchData'. Either include it or remove the dependency array.  react-hooks/exhaustive-deps
./src/pages/profile/index.jsx
38:6  Warning: Do not use . Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
Some test failed, you might want to take a look at it


Disable transition when an interim tile is available

This change avoids flickering when a tile that has an interim tile has finished loading.
I am not sure if this is the right fix. @tschaub, can you maybe have a look at this? Thanks!
Fixes #9284.

Unfortunately the patch does not work for me. In fact I am not getting any flooding tiles at all in the WMTS Tile Transitions example (Chromium on Linux).

@thomasmoelhave Maybe the tile server was down when you tried? This is what I'm seeing:

Just a feedback about my tests. CI url works on my side on Chromium, Firefox and Chrome on Ubuntu 18.04 x64

@ahocevar I hope not, we keep a close eye on our tile servers :).
Kidding aside. I was mistaken in my previous comment. I was using Firefox on linux (v65.0 on Ubuntu 18.10), and there I am not seeing that any network requests to ts2 at all.

In Chromium it does, in fact, work.

@thomasmoelhave For me Firefox 65 works. Also, the changes in this pull request do nothing that would affect tile loading. So if the CI example does not work for you on Firefox, then I guess that master won't work either. Can you check?

@thomasmoelhave The WMTS tiles are loaded in http, that's maybe the reason they are not loading.

Strange. Master is also broken for me. I guess this is a separate issue then, it works fine on my colleague's Firefox 65.

Good point @fredj. I looked into it some more and it was my Privacy Badger that killed the requests. Sorry for the confusion.

@tschaub Can you please take a look at this pull request?

Merging this now. If @tschaub finds a better solution, we can revert this later.


event hook added for disconnection of wallet

Reviewed this ticket with @micwallace - merging into staging.
@snowwhitedev, please see the updates made to this PR which can be utilised for Perion. Using the staging branch for the time being.
Thanks guys.


Allow copying of a line from Study to Study

Currently you can only create a new Chapter from a line.

I have some issues when trying to copy part of the line (full line copy seems to work every time so far).
ERROR ON PASTE EVEN THOUGH IT SHOULD WORK
In Chapter 1 I highlighted moves from 7 to 10 in sub-variations 7.0-0

Now in Chapter 3 that has the main line from Chapter 1 copied previously, I try to do paste

I get an error:

NOTHING IS HAPPANING ON PASTE EVEN THOUGH IT SHOULD
In Chapter 1 I highlighted moves from 4 to 12 in sub-variations 4... Bb6

Now in Chapter 3 that has the main line from Chapter 1 copied previously, I try to do paste

but nothing is happening:

All works fine if the user highlights a specific move after which Paste is to work. If nothing is highlighted, add a dialog box "Select the place to Paste moves to" or similar.
Also add annotations to copy/paste as they are missing now


Add carousel with list of talks

Adds the following:

Carousel with talks (implemented by Facebook generic template).
List of mockup talks (soon to be removed).
"More talk info" and "Like the talk" buttons.

The enhancements:

Makes the code of webhook() function more readable.
Removes hooks.py (the creation of it was premature optimization).

The JSON file does not contain all the info about a talk, just enough to display to the user. Supposedly this much info will be retrieved from a database.

Seemss good to me


Nginx worker CPU 100%,  QAT_Engine code deadloop

Environment Information

Nginx version

nginx version: nginx/1.17.3
built by gcc 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
built with OpenSSL 1.1.1c  28 May 2019
TLS SNI support enabled

OpenSSL 1.1.1c
QAT_ENGINE_VERSION: 0.5.42
QAT_DRIVER_VERSION  1.7.l.4.6.0-00025

Issue
Nginx worker CPU usage 100%
 pidstat -u -p 7137 1
Linux 4.15.0-140-generic (chaitin-safeline) 	08/15/22 	_x86_64_	(8 CPU)

11:08:43      UID       PID    %usr %system  %guest   %wait    %CPU   CPU  Command
11:08:44        0      7137   24.00   75.00    0.00    0.00   99.00     2  nginx
11:08:45        0      7137   23.00   78.00    0.00    0.00  100.00     2  nginx
11:08:46        0      7137   27.00   73.00    0.00    0.00  100.00     2  nginx
11:08:47        0      7137   27.00   73.00    0.00    0.00  100.00     2  nginx
11:08:48        0      7137   29.00   71.00    0.00    0.00  100.00     2  nginx
11:08:49        0      7137   24.00   76.00    0.00    0.00  100.00     2  nginx
11:08:50        0      7137   25.00   75.00    0.00    0.00  100.00     2  nginx
11:08:51        0      7137   19.00   81.00    0.00    0.00  100.00     2  nginx
11:08:52        0      7137   27.00   73.00    0.00    0.00  100.00     2  nginx
11:08:53        0      7137   25.00   75.00    0.00    0.00  100.00     2  nginx
11:08:54        0      7137   31.00   69.00    0.00    0.00  100.00     2  nginx
11:08:55        0      7137   22.00   77.00    0.00    0.00   99.00     1  nginx
11:08:56        0      7137   30.00   71.00    0.00    0.00  100.00     1  nginx
11:08:57        0      7137   26.00   74.00    0.00    0.00  100.00     1  nginx
11:08:58        0      7137   26.00   74.00    0.00    0.00  100.00     1  nginx

What I found
After gdb the process, I got stack as below:
(gdb) bt
#0  0x00007f1e3a0e0ef7 in sched_yield () from target:/lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f1e39db48dc in qat_prf_tls_derive (ctx=0x7f1e1802fe70, key=0x7f1e18cc5560 "", olen=0x7ffc1e6961e0) at qat_prf.c:802
#2  0x00007f1e3ad7913b in tls1_setup_key_block () from target:/opt/ssl/lib/libssl.so.1.1
#3  0x00007f1e3ad4228b in ssl3_do_change_cipher_spec () from target:/opt/ssl/lib/libssl.so.1.1
#4  0x00007f1e3ad6eea9 in tls_process_change_cipher_spec () from target:/opt/ssl/lib/libssl.so.1.1
#5  0x00007f1e3ad6b655 in ossl_statem_client_process_message () from target:/opt/ssl/lib/libssl.so.1.1
#6  0x00007f1e3ad6519b in state_machine () from target:/opt/ssl/lib/libssl.so.1.1
#7  0x00007f1e3ad4f424 in SSL_do_handshake () from target:/opt/ssl/lib/libssl.so.1.1
#8  0x000056133748cc18 in ngx_ssl_handshake ()
#9  0x000056133748d0e8 in ?? ()
#10 0x000056133748786d in ?? ()
#11 0x000056133747bfb8 in ngx_process_events_and_timers ()
#12 0x0000561337485e08 in ?? ()
#13 0x0000561337481d72 in ngx_spawn_process ()
#14 0x0000561337486c3b in ngx_master_process_cycle ()
#15 0x0000561337459d66 in main ()

(gdb) info locals
ret = 0
job_ret = 0
prf_op_data = {tlsOp = CPA_CY_KEY_TLS_OP_KEY_MATERIAL_DERIVE, secret = {dataLenInBytes = 48,
    pData = 0x7f1e3726c440 <error: Cannot access memory at address 0x7f1e3726c440>}, seed = {dataLenInBytes = 64,
    pData = 0x7f1e3726c900 <error: Cannot access memory at address 0x7f1e3726c900>}, generatedKeyLenInBytes = 88, userLabel = {dataLenInBytes = 0,
    pData = 0x0}}
generated_key = 0x7f1e3726c540
status = <optimized out>
qat_prf_ctx = 0x7f1e2619ac80
hash_algo = CPA_CY_SYM_HASH_SHA384
key_length = 88
op_done = {flag = 0, verifyResult = CPA_FALSE, job = 0x0, status = -1}
qatPerformOpRetries = <optimized out>
iMsgRetry = 5
ulPollInterval = 10000
inst_num = <optimized out>
tlv = 0x7f1e247deed8
fallback = 0
sw_derive_fn_ptr = 0x0

(gdb) info args
ctx = 0x7f1e1802fe70
key = 0x7f1e18cc5560 ""
olen = 0x7ffc1e6961e0

I check the code of function qat_prf_tls_derive:

op_done.flag is 0
op_done.job is NULL
so the code loop deadly

    do {
        if(op_done.job != NULL) {
            /* If we get a failure on qat_pause_job then we will
               not flag an error here and quit because we have
               an asynchronous request in flight.
               We don't want to start cleaning up data
               structures that are still being used. If
               qat_pause_job fails we will just yield and
               loop around and try again until the request
               completes and we can continue. */
            if ((job_ret = qat_pause_job(op_done.job, ASYNC_STATUS_OK)) == 0)
                pthread_yield();
        } else {
            pthread_yield();
        }
    }
    while (!op_done.flag ||
           QAT_CHK_JOB_RESUMED_UNEXPECTEDLY(job_ret));

From dmesg, nginx used to encounter memory allocation failure problem. Unable to determine if it is related to the infinite loop issue.
[Thu Aug 11 16:53:41 2022] nginx: page allocation failure: order:9, mode:0x14040c0(GFP_KERNEL|__GFP_COMP), nodemask=(null)
[Thu Aug 11 16:53:41 2022] nginx cpuset=ad2dd6b01a97813632775013d27d7fba19aaa8567bb7787a3a4abe2499726d5e mems_allowed=0
[Thu Aug 11 16:53:41 2022] CPU: 4 PID: 4784 Comm: nginx Tainted: G        W  OE    4.15.0-140-generic #144-Ubuntu
[Thu Aug 11 16:53:41 2022] Hardware name: EVOC NET-1825VDN/NET-1825VDN, BIOS 5.12 05/14/2021
[Thu Aug 11 16:53:41 2022] Call Trace:
[Thu Aug 11 16:53:41 2022]  dump_stack+0x6d/0x8b
[Thu Aug 11 16:53:41 2022]  warn_alloc+0xff/0x1a0
[Thu Aug 11 16:53:41 2022]  ? __alloc_pages_direct_compact+0x51/0x100
[Thu Aug 11 16:53:41 2022]  __alloc_pages_slowpath+0xdc5/0xe00
[Thu Aug 11 16:53:41 2022]  __alloc_pages_nodemask+0x29a/0x2c0
[Thu Aug 11 16:53:41 2022]  kmalloc_large_node+0x3b/0x60
[Thu Aug 11 16:53:41 2022]  __kmalloc_node+0x21e/0x2b0
[Thu Aug 11 16:53:41 2022]  mem_ioctl+0x585/0xab0 [usdm_drv]
[Thu Aug 11 16:53:41 2022]  do_vfs_ioctl+0xa8/0x630
[Thu Aug 11 16:53:41 2022]  ? putname+0x4c/0x60
[Thu Aug 11 16:53:41 2022]  ? do_sys_open+0x13d/0x2c0
[Thu Aug 11 16:53:41 2022]  SyS_ioctl+0x79/0x90
[Thu Aug 11 16:53:41 2022]  do_syscall_64+0x73/0x130
[Thu Aug 11 16:53:41 2022]  entry_SYSCALL_64_after_hwframe+0x41/0xa6
[Thu Aug 11 16:53:41 2022] RIP: 0033:0x7f1e3a0f3317
[Thu Aug 11 16:53:41 2022] RSP: 002b:00007ffc1e695bb8 EFLAGS: 00000246 ORIG_RAX:<PHONE_NUMBER>000010
[Thu Aug 11 16:53:41 2022] RAX: ffffffffffffffda RBX:<PHONE_NUMBER>001000 RCX: 00007f1e3a0f3317
[Thu Aug 11 16:53:41 2022] RDX: 00007ffc1e695be0 RSI: 00000000c0507100 RDI:<PHONE_NUMBER>000007
[Thu Aug 11 16:53:41 2022] RBP: 00007ffc1e695be0 R08:<PHONE_NUMBER>000000 R09:<PHONE_NUMBER>000040
[Thu Aug 11 16:53:41 2022] R10:<PHONE_NUMBER>000000 R11:<PHONE_NUMBER>000246 R12: ffffffffffffffff
[Thu Aug 11 16:53:41 2022] R13:<PHONE_NUMBER>000007 R14:<PHONE_NUMBER>000009 R15:<PHONE_NUMBER>000000
[Thu Aug 11 16:53:41 2022] usdm_drv: userMemAlloc:395 Unable to allocate memory slab or wrong alignment:           (null)
[Thu Aug 11 16:53:41 2022] usdm_drv: dev_mem_alloc:600 userMemAlloc failed

Nginx error log:
ioctl_alloc_slab:951 ioctl call for mem allocation failed, ret = -1
[error] SalCtrl_ServiceInit() - : Failed to initialise all service instances
[error] SalCtrl_ServiceEventStart() - : Private data is NULL
[error] SalCtrl_AdfServicesStartedCheck() - : Sal Ctrl failed to start in given time

[error] do_userStart() - : Failed to start services

[error] SalCtrl_AdfServicesStartedCheck() - : Sal Ctrl failed to start in given time

[error] do_userStart() - : Failed to start services

[error] SalCtrl_AdfServicesStartedCheck() - : Sal Ctrl failed to start in given time

[error] do_userStart() - : Failed to start services

[error] SalCtrl_AdfServicesStartedCheck() - : Sal Ctrl failed to start in given time

[error] do_userStart() - : Failed to start services

Need help

I don't know what condition will trigger the deadloop issue?
Is the issue fixed, and which version the issue is fixed.

Can someone comment on the issue. It's produced on our product environment

Can you please see if you can reproduce with latest of everything? There are some similar issues fixed in later version of engine and nginx. (not sure about exact version)
QAT Engine v0.6.15
QAT driver: QAT.L.4.18.1-00001
async mode Nginx : v0.4.7

@Yogaraj-Alamenda Thank you for you reply. Can you help to provide more information about the bug. When will the issue be triggered? So I can reproduce the issue and ensure the latest version can fix the issue.

@Yogaraj-Alamenda BTW, we not use async mode Nginx, we use Tengine, which also provide asynchronous mode OpenSSL.  You can refer to http://tengine.taobao.org/document/tengine_qat_ssl.html

I have the same problem.
I found is show after reload nginx.


Kibana deployment name vs Elasticsearch statefulset name.

For Elasticsearch, the statefulset name seems to follow {clusterName}-{nodeGroup}
Kibana's deployment, however, seems to be kibana-kibana. If I set nameOverride for Kibana, the deployment becomes kibana-{nameOverride}.
I kinda want to see things grouped by cluster name, and while Kibana has no such concept, I would wish for the kibana deployment to be called {nameOverride}-kibana.
Given this is a naming proposal, I'm almost willing to close it immediately myself because naming is hard and maybe nobody will like any one proposal ;)
Thoughts?

So the name comes from the autogenerated templates from the helm create command. In other words it's not something that was thought about.
I totally agree that it makes more sense to switch it around for our use case so that a kubectl get pods shows Elasticsearch and Kibana for the same cluster next to each other.
👍 from me!


Rerunning deploy-mgmt-hub.sh results in 2 errors: unregistration fails and registration gets no agreement

Unregistration problem scenario:
deploy-mgmt-hub.sh   # edge node service agreement formed
deploy-mgmt-hub.sh   # during edge node unregistration it displays the error below
...
The node was not successfully unregistered, please use 'hzn unregister -D' to ensure the node is completely reset. Specific anax API error is: Can't connect to the Horizon REST API to run DELETE http://localhost:8510/node?block=true. Run 'systemctl status horizon' to check if the Horizon agent is running. Or run 'curl http://localhost:8081/status' to check the Horizon agent status. Or set HORIZON_URL to connect to another local port that is connected to a remote Horizon agent via a ssh tunnel. Specific error is: Delete "http://localhost:8510/node?block=true": EOF
...

Registration problem scenario:
deploy-mgmt-hub.sh   # edge node service agreement formed
hzn unregister -f   # to avoid the error above
deploy-mgmt-hub.sh   # no error msg, but no edge node service agreement formed

Tested by multiple users over the last 4 months


fix(#34) Add support for logging unix Timestamp

What kind of change does this PR introduce?

[✖] Bugfix
[✔] Feature
[✖] Code style update
[✖] Refactor
[✖] Build-related changes
[✖] Other, please describe

Does this PR introduce a breaking change?

[✖] No
[✔] Yes

Testing procedure
Case 1

Use --use-unix-ts while running psrecrod
Also try out the plot and log

Review and Merge
Who

[✔] Last approver merges
[✖] Pull request creator merges

Changelog
Note

I havent tested this actually. Probably need unit tests

okey I tested this, works - but I would love to see a unit test on it.

Would you be opposed to just including the timestamp by default as well as the elapsed time? Both have their value and it's not really any more work to include them both.


Update almalinux.md

Update the description of AlmaLinux OS to match our new goals: https://almalinux.org/blog/future-of-almalinux/

Thanks, @marcwrobel! And sorry for the extra work around formatting. I'll know for next time now!


"Required parameter AccessKey is missing" on WebApp with Mount

Plugin name and version
				<groupId>com.microsoft.azure</groupId>
				<artifactId>azure-webapp-maven-plugin</artifactId>
				2.2.0

Plugin configuration in your pom.xml
			<plugin>

				<!-- Make a deploy -->
				<groupId>com.microsoft.azure</groupId>
				<artifactId>azure-webapp-maven-plugin</artifactId>
				<configuration>
					<!-- This looks the way to configure security with 1.13.0 -->
					<!-- https://github.com/microsoft/azure-maven-plugins/wiki/Authentication#authtype -->
					<auth>
						<!-- This parameter is valid only with 1.13.X -->
						<!-- <type>service_principal</type> -->
						<serverId>azure-auth</serverId>
					</auth>

					<!-- This looks the war to configure security with 1.12.0 -->
					<authType>service_principal</authType>
					<authentication>
						<!-- Ensure there is a server with this id in current settings.xml (Local, or CI) -->
						<serverId>azure-auth</serverId>
					</authentication>

					<!-- Disable telemetry as it reports "Failed to parse configuration file: 'unexpected element' ..." -->
					<allowTelemetry>false</allowTelemetry>

					<appServicePlanResourceGroup>${azure.resourceGroup}</appServicePlanResourceGroup>
					<appServicePlanName>${azure.appServicePlanName}</appServicePlanName>

					<resourceGroup>${azure.resourceGroup}</resourceGroup>
					<appName>${azure.appName}</appName>

					<!-- https://github.com/Microsoft/azure-maven-plugins/tree/master/azure-webapp-maven-plugin#supported-regions -->
					<region>francecentral</region>

					<deploymentType>none</deploymentType>
					<!-- subscriptionId for Datasharing -->
					<subscriptionId>${azure.subscriptionId.datasharing}</subscriptionId>

					<!-- https://github.com/microsoft/azure-maven-plugins/issues/1183 -->
					<schemaVersion>v1</schemaVersion>

					<runtime>
						<os>docker</os>

						<!-- Typically 'devdatasharingacr.azurecr.io' or 'prddatasharingacr.azurecr.io' -->
						<serverId>${docker.registry.root}</serverId>
						<registryUrl>https://${docker.registry.root}</registryUrl>
						<!-- Beware this parameter is named 'image' by AzureFunction mvn plugin -->
						<image>${docker.image.qualifiedNameNoTag}:${docker.tag}</image>
					</runtime>

					<appSettings>
						<!-- Ensure environment variables are in upperCase -->
						<!-- https://github.com/docker-library/openjdk/issues/135 -->
						<!-- https://stackoverflow.com/questions/34178556/how-to-set-a-spring-boot-property-with-an-underscore-in-its-name-via-environment -->
						<!-- https://docs.microsoft.com/en-us/azure/app-service/containers/app-service-linux-faq#custom-containers -->
						<property>
							<name>WEBSITES_PORT</name>
							<value>${azure.port}</value>
						</property>
						<property>
							<!-- https://stackoverflow.com/questions/38520638/how-to-set-spring-profile-from-system-variable -->
							<!-- https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-profiles.html#boot-features-profiles -->
							<name>SPRING_PROFILES_ACTIVE</name>
							<value>${azure.spring.profiles.active}</value>
						</property>
						<property>
							<!-- https://docs.microsoft.com/en-us/azure/app-service/containers/app-service-linux-faq -->
							<name>WEBSITES_CONTAINER_START_TIME_LIMIT</name>
							<!-- Default is 230 -->
							<!-- Max is 1800, but 30 minutes might be too slow to wait for a retry -->
							<!-- Sometimes, 180 is enough, sometimes not enough. A priori, it depends on collocated applications -->
							<value>300</value>
						</property>
					</appSettings>
				</configuration>
				<executions>
					<!-- mvn azure-webapp:deploy -->
					<execution>
						<id>deployWebApp</id>
						<phase>deploy</phase>
						<goals>
							<goal>deploy</goal>
						</goals>
					</execution>
				</executions>
			</plugin>

Expected behavior
My WebApp has a mounted storage:

Actual behavior
I get an error:
14:56:16,691 [ERROR] Failed to execute goal com.microsoft.azure:azure-webapp-maven-plugin:2.2.0:deploy (deployWebApp) on project backoffice-server: deploy to Azure Web App with resource creation or updating: create or update Azure Web App (XXX) from config: Status code 400, "{"Code":"BadRequest","Message":"Required parameter AccessKey is missing.","Target":null,"Details":[{"Message":"Required parameter AccessKey is missing."},{"Code":"BadRequest"},{"ErrorEntity":{"ExtendedCode":"01010","MessageTemplate":"Required parameter {0} is missing.","Parameters":["AccessKey"],"Code":"BadRequest","Message":"Required parameter AccessKey is missing."}}],"Innererror":null}" -> [Help 1]
Steps to reproduce the problem
The issue happens since we upgraded from 1.12.0

@blacelle Thanks for your report and really sorry for the late reply, I'm looking into this issue and will update here once there are updates. Really sorry for the inconvenience.

@blacelle Web App Maven Plugin 2.2.2 has been released, which include fix for this issue, could you please try again with the lates version? Thanks for your report and really sorry for the trouble.


Ignore config and lock files

Fixes #14

:tada: This PR is included in version 1.0.0-beta.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Events not getting refreshed on changing location

Describe the bug

The events do not get refreshed on their own when the location is changed.
To Reproduce

The events should get updated as the location is no longer the same
Screenshots

Smartphone Info:

Device
Nokia 6.1 Plus

Android Version
Pie 9.0

Additional context

Would you like to work on the issue?

[x] Yes
[ ] No
Other:

Not able to reproduce this.

Not able to reproduce this.

Are you sure you are on the latest build? I have been able to reproduce on an emulator also

Yes it's reproducible on the latest commits. I think #1296 might have created this issue.

Yes, I made a commit one month back that fixed this issue.

This issue was duplicated in #1349 and then resolved by #1350  so closing it now


Callback URL is missing auth code

Describe the bug
The callback Url sent as part of provider command message is missing auth code data
To Reproduce
Expected behavior
Callback urls must contain an auth code.
Additional context

failed to generate new tokens - therefore the auth code stays empty when running on azure


Merge pull request #1 from halcyon-tech/master

My fork update
Changes
Description of change here.
Checklist

[ ] have tested my change
[ ] updated relevant documentation
[ ] Remove any/all console.logs I added
[ ] eslint is not complaining
[ ] have added myself to the contributors' list in the README

sorry it's a mistake


Fixed ship workflow step check

#526  👈
main

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

Join @CatChen and the rest of your teammates on  Graphite


Dirents with names containing the character 0x59 are not recognized

Any dirent with a name containing a capital Y (0x59) are not displayed at all in Recovery View, and FATXTools does not recover these files. This applies to both directories and files. All other files in the directory are recognized and recover fine. Gaps in the offsets are visible where dirents containing this character have been skipped.
I'm not able to provide an example at the moment, but it should be reproducible elsewhere. Edit any image to use this character in a dirent and it won't display.

FAIL. Nice catch!
https://github.com/aerosoul94/FATXTools/blob/de05bd5b283ed4590f2f06599aea7f97e08a8a75/FATX/Analyzers/MetadataAnalyzer.cs#L21

It should be fixed with this commit.  Thanks a lot! I tested by manually setting "Y" and running metadata analyzer.


TST: Remove QIIME from installation (FTP problem)

Changes Unknown when pulling d35f65290f01dea4beffd21a8130b4634d999be3 on ElDeveloper:avoid-ftp into ** on biocore:master**.

Merge me, please :raised_hands:

:boom: @antgonza, very :boom:


ASC-705 Add unit tests for create_instance

This commit adds unit tests for the create_instance helper.

Thanks @ryan-rs ! Doc strings have been updated.


Fixes #44: setCaret should only set offset to 1 if state.value has length

Fixes #44

@ashleyw Would you be able to do a version bump and publish to npm from latest master please?


Fixes #48

Fixes #48
Adds airlift config to example, and some HTTPS alongside the HTTP
Fixes all the pylint errors on the tests and breaks out the tests into their own pre-commit step to deal with duplicate code.
I am fixing this because the current Azure IOT examples using ESP32SPI connectivity fail without it.
@tannewt I have a question about my fix though as it also gives a pylint error
adafruit_requests.py:656:57:
W0212: Access to a protected member _the_interface of a client class (protected-access)

Am I misunderstanding your suggested fix in #48 ?

Thanks @askpatrickw it looks good! Just disable pylint for the protected access.

Thanks @tannewt I just wanted to be sure.

fyi @brentru as well


Add a demo of picking and moving object.

Click to pick, click again to drop.
When an object is picked, it can be rotated with camera and moved along
radius by finger swipe.
GearVRf-DCO-1.0-Signed-off-by: Guodong Rong
<EMAIL_ADDRESS>

This is a demo for VR Hackathon.
Since GVRMeshEyePointee does not work well with Future, I temporarily use a blocking mesh loading with FutureWrapper to make it working. When GVRMeshEyePointee is modified to be compatible with Future, we can make this demo better with asynchronous mesh loading.

ok, it runs and displays now.  though, it wasn't responding to touches on my screen.  didn't try in a headset yet.

ok, Guodong showed me how it works.  i just wasn't using it right.  Chao, could you do an initial review of the code?  thanks.

OK. I am going to review it soon.

Code seems ok to me. Runs well both with and without Samsung Gear. Can be merged after Guodong removes the .settings folder.

I have removed .setting and the unnecessary permissions.
I also added head tracking indicator per Tom's request. Please review and test it again. Thanks!

Rebased with top of tree.

I think good to go with this. Any objection?

Runs, does what i expect.  Jon, i think he addressed your comments.  Any further comments?

Any further comments?

Nope.


Add check for forwarded headers in redirect URL generation

I'm using GLPI on K8S, and was having trouble getting the RelayState to be passed using https rather than http. To fix this I changed this line in setup.php to:
$returnTo = (isset($_GET['redirect']) ? $_GET['redirect'] : (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) ? $_SERVER['HTTP_X_FORWARDED_PROTO'] : (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http")) . "://" . $realhost . $_SERVER['REQUEST_URI']);
Essentially this adds a check for the protocol in Forwarded Headers. So far it's working in my config(apache, K8S, phpsaml==1.2.1, php==7.4.19, GLPI==10.0.1), but I haven't been able to test in a different configuration. If others can confirm it's working for them, I can open a PR to merge this into main.
Feel free to close this if it isn't compatible with this project's goals.

Hi Adhil0,
Thanks for this suggestion. Currently we have not considered proxied environments because of their complexity and setup flexibility.
I think as a first step we might want to introduce a configuration toggle to make phpSaml evaluate the various proxy headers. For my understanding could you provide us a basic diagram of your setup and the challenge with redirects in that setup?  This will help me understand the logic we need to implement.
Rgrds,

Maybe we could do something similar to the upstream repo:

When the PHP application is behind a proxy or a load balancer we can
execute setProxyVars(true) and setSelfPort and isHTTPS will take
care of the $_SERVER["HTTP_X_FORWARDED_PORT"] and
$_SERVER['HTTP_X_FORWARDED_PROTO'] vars (otherwise they are
ignored).

So as suggested in #120, you could create a UI option in the configuration to toggle $_proxyVars  on and off, which should take care of most of the issues with proxies etc.
For things that remain, the functions in Utils.php could be used. For example, in this particular issue, we could use Utils::getSelfProtocol()
if (isset($_GET['redirect'])) {
	$returnTo = $_GET['redirect'];
} else {
	$returnTo = Utils::getSelfProtocol() . "://"  .  $realhost  .  $_SERVER['REQUEST_URI'];
}

I did not dive into the other issues / repos (yet). So thanks for the research so far. Ill have a look at it and propose a fix in the JIT branch where i am currently working on both the config and JIT rules. Then I will prob need you guys to help me test it. Would that be a problem?
It will be somewhere in here: https://github.com/derricksmith/phpsaml/pull/118 when finished

Sure, I would be willing to help test your changes regarding this issue


Missing Inforamtion

Issue description
Data Flow Section is missleading with reagards to support of CDS Views.

CDS Views are available for the OnPremise connection but the text reads as if they were only available in S/4HANA Cloud

Replicaiton Flow Section is completely missing CDS Views.
Replication Flow Section is missing the aspect what is supported for S/4HANA Cloud vs. S/4HANA OnPremise.
Feedback Type (Optional)
content gaps
Page Title on SAP Help Portal (prefilled)
SAP ABAP Connections
Page URL on SAP Help Portal (prefilled)
https://help.sap.com/docs/SAP_DATASPHERE/be5967d099974c69b77f4549425ca4c0/a75c1aacf951449ba3b740c7e46da3a9.html

Dear Sebastian,
thanks for your feedback. I'm working on it and will send a draft version for a review.
Best Regards,
Conny

Hello Sebastian,
the required changes have been incorporated here quite some time ago.
For CDS views supporting data flows, a link to S/4 op has been added to indicate that also op is supported, and the replication flow section has been enhanced, so I'm closing this issue.
Thank you for your feedback.
Best Regards,
Cornelia (for the UA team)


Delete side effect only @aws-sdk/types import

"Bare" imports that don't name what they are importing are never elided by Typescript and end up in the compiled JS. That doesn't make any sense for this package since it only has types.
I don't know why this was originally added, but it still typechecks without it now so I don't think it's necessary.
Partial fix for #3140

Oh let me check on this with Dax.


Create image of latest schema map

For clarity, this map omits soft-delete nodes and relationships.
Presenting this map statically like this, it's kind of a mess. If you want to view it dynamically, you can run

call db.schema.visualization()

in Neo4j Browser

Sweet, thanks Doug! This is exactly what I was hoping to see. I am making a viewer-friendly schematic for major nodes in ppt now.


L515 unrecoverable illegal HW state error

Required Info

Camera Model
L515

Firmware Version
<IP_ADDRESS>

Operating System & Version
Ubuntu 18.04

Kernel Version (Linux Only)
4.15.0-115-generic

Platform
PC

SDK Version
2.36.0 / 2.38.1

Language
C++

Segment
Robot

Issue Description
The L515 worked fine for a few weeks, but suddenly stopped functioning with the following error when opening Realsense Viewer:
Invalid Value in rs2_get_option(options:0x7f6894000f40, option:Apd Temperature): hwmon command 0x6a( 0 0 0 0 ) failed (response -38= Illegal HW state)
There was no change to the sensor or the environment before this error, although the PC was cycled on / off. The serial number is displayed as ffffffffffffffff. Power cycling, firmware update and recovery have no effect.
It sometimes works briefly after a Hardware Reset, but this has only been observed once.

same problems as me.
Did you solve this problem?

Hi @jlam-rtr and @cja-515
Are you still experiencing this issue?  Do you still have the failing HW with you to try a few things?
Have you changed out the USB cable?  Or tried other computer systems?
Is the device showing up in device manager?
Have you tried the RealSense Viewer of older SDK versions or latest SDK versions?

I have the same issue
depth_sensor1.set_option(rs.option.inter_cam_sync_mode, 1)
RuntimeError: hwmon command 0x19( 1 0 0 0 ) failed (response -38= Illegal HW state)

I have the same issue
depth_sensor1.set_option(rs.option.inter_cam_sync_mode, 1)
RuntimeError: hwmon command 0x19( 1 0 0 0 ) failed (response -38= Illegal HW state)


check controllers for params fixes #1

@dr-dimitru this works for me, though i'm not sure it's entirely right. thoughts?

I'll test, add docs and bump version - later today, thank you for contribution.

@dr-dimitru happy to help. i refactored things a bit since my addition made things somewhat messy.
i've tested and all seems to be working. and specific route settings overwrite controller settings, which is what the user would expect

@chrisbutler could you please add code sample to docs? (sorry I don't have time for it)

@dr-dimitru how's this?


Does OpenXR tools and OpenXR Toolkit work together in Windows 11?

If I open Tools with WMR doesn't  have a problem with the Runtime List. If I open Toolkit by itself I get a Failed to query Version error.
If I have them both open Tools gets an Access Error in the Runtime list???
Windows 11 appears to be the only change I have made to create these problems,

Can you try this from our troubleshooting guide:
https://mbucchia.github.io/OpenXR-Toolkit/troubleshooting.html#missing-visual-c-system-component

try installing https://aka.ms/vs/17/release/vc_redist.x64.exe

Let me know if this works.

Many, many thanks Sir. Bloody marvelous. I have just spent 2 days on trying to resolve these issues and by installing the VC Redist.x64 has fixed both.
Can’t thank you enough for such a quick reply as well as developing such great tools.
Best regards
Warren Goyne - NZ
Sent from Mail for Windows
From: Matthieu Bucchianeri
Sent: Friday, 22 July 2022 2:25 pm
To: mbucchia/OpenXR-Toolkit
Cc: WGoyne; Author
Subject: Re: [mbucchia/OpenXR-Toolkit] Does OpenXR tools and OpenXR Toolkitwork together in Windows 11? (Issue #392)
Can you try this from our troubleshooting guide:
https://mbucchia.github.io/OpenXR-Toolkit/troubleshooting.html#missing-visual-c-system-component
try installing https://aka.ms/vs/17/release/vc_redist.x64.exe
Let me know if this works.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Cool, glad it's working. This thing isn't here on fresh install of Windows, but many apps end up installing it so most people just have it.


Add circular progress when loading layer data

This PR is a proposed solution to close #552

On a loading layer data event, PRISM will display a circular progress to let the user know that data is loading.

As a quick comment, we've been moving away from blocking circular progress indicators to use legend bars instead, see https://github.com/WFP-VAM/prism-frontend/pull/464


bug: Error saying 'enum already exists' when trying to load pre-existing table using stream-maps

Target Version
0.0.14
Python Version
3.12
PostgreSQL Version
Do not know
Operating System
NA
Description

hello team! I'm using stream_maps  (tap-postgres) to drop a column and sync the data into target-postgres. Config:
- name: tap-postgress
  config:
    stream_maps:
      public-table:
        column1_text: column1
        column1: __NULL__
  metadata:
    public-*:
      replication-method: FULL_TABLE
  select:
    - public-table.*

On the target side the table has been created manually (not from meltano) and has all the columns (column1 and column1_text)
When I run the sync meltano run tap-postgres target-postgres it fails with the error that enum already exist (column1 is type ENUM). If I drop the column1 (on target side) the sync works correctly and in the Inserting with SQL logs I can see that the data doesn't have any info regarding column1. column1_text has the data of column1  as it's setup on stream_maps tap side. Is there any configuration I'm missing in order to have column1 column on target side as well or no?

Link to Slack/Linen
https://meltano.slack.com/archives/C069CQNHDNF/p1724772642004549

The trace is
File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context
     self.dialect.do_execute(
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 941,
     cursor.execute(statement, parameters)
 psycopg2.errors.DuplicateObject: type "companycategory" already exists
 The above exception was the direct cause of the following exception:

 Traceback (most recent call last):
   File "/project/.meltano/loaders/target-postgres/venv/bin/target-postgres", line 8, in <module>
     sys.exit(TargetPostgres.cli())
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/click/core.py", line 1157, in __call__
     return self.main(*args, **kwargs)
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/click/core.py", line 1078, in main
     rv = self.invoke(ctx)
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/singer_sdk/plugin_base.py", line 80, in invoke
     return super().invoke(ctx)
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/click/core.py", line 1434, in invoke
     return ctx.invoke(self.callback, **ctx.params)
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/click/core.py", line 783, in invoke
     return __callback(*args, **kwargs)
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/singer_sdk/target_base.py", line 567, in invoke
     target.listen(file_input)
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/singer_sdk/io_base.py", line 36, in listen
     self._process_lines(file_input)
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/singer_sdk/target_base.py", line 307, in _process_lines
     counter = super()._process_lines(file_input)
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/singer_sdk/io_base.py", line 95, in _process_lines
     self._process_record_message(line_dict)
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/singer_sdk/target_base.py", line 371, in _process_record_message
     self.drain_one(sink)
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/singer_sdk/target_base.py", line 512, in drain_one
     sink.process_batch(draining_status)
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/target_postgres/sinks.py", line 85, in process_batch
     temp_table: sa.Table = self.connector.copy_table_structure(
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/target_postgres/connector.py", line 185, in copy_table_structure
     new_table.create(bind=connection)
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/sqlalchemy/sql/schema.py", line 1284, in create
     bind._run_ddl_visitor(ddl.SchemaGenerator, self, checkfirst=checkfirst)
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 2459, in _run_ddl_visitor
     visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/sqlalchemy/sql/visitors.py", line 664, in traverse_single
     return meth(obj, **kw)
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/sqlalchemy/sql/ddl.py", line 938, in visit_table
     with self.with_ddl_events(
   File "/pyenv/versions/3.8.15/lib/python3.8/contextlib.py", line 113, in __enter__
     return next(self.gen)
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/sqlalchemy/sql/ddl.py", line 822, in with_ddl_events
     target.dispatch.before_create(
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/sqlalchemy/event/attr.py", line 497, in __call__
     fn(*args, **kw)
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py", line 852, in __call__
     return getattr(self.target, self.name)(*arg, **kw)
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/sqlalchemy/dialects/postgresql/named_types.py", line 98, in _on_table_create
     self.create(bind=bind, checkfirst=checkfirst)
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/sqlalchemy/dialects/postgresql/named_types.py", line 338, in create
     super().create(bind, checkfirst=checkfirst)
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/sqlalchemy/dialects/postgresql/named_types.py", line 51, in create
     bind._run_ddl_visitor(self.DDLGenerator, self, checkfirst=checkfirst)
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 2459, in _run_ddl_visitor
     visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/sqlalchemy/sql/visitors.py", line 664, in traverse_single
     return meth(obj, **kw)
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/sqlalchemy/dialects/postgresql/named_types.py", line 153, in visit_enum
     self.connection.execute(CreateEnumType(enum))
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1418, in execute
     return meth(
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/sqlalchemy/sql/ddl.py", line 180, in _execute_on_connection
     return connection._execute_ddl(
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1529, in _execute_ddl
     ret = self._execute_context(
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context
     return self._exec_single_context(
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context
     self._handle_dbapi_exception(
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 2355, in _handle_dbapi_exception
     raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context
     self.dialect.do_execute(
   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 941,
     cursor.execute(statement, parameters)
 sqlalchemy.exc.ProgrammingError: (psycopg2.errors.DuplicateObject) type "companycategory" already exists

 [SQL: CREATE TYPE companycategory AS ENUM ('ONE', 'TWO', 'THREE', 'FOUR')]
 (Background on this error at: https://sqlalche.me/e/20/f405)

The type companycategory has been created like
CREATE TYPE public.companycategory AS ENUM (
    'ONE',
    'TWO',
    'THREE',
    'FOUR'
);

column1 in target postgres is companycategory type