Error: Failed to launch the browser process

While installing the application for the first time, using Windows 11.
I get the following error:
Failed to launch the browser process! spawn C:\Users\Amitx\AppData\Roaming\caspion\win64-843427\chrome-win\chrome.exe ENOENT TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

From the Puppeteer troubleshooting:
he most common cause is a bug in Node.js v14.0.0 which broke extract-zip, the module Puppeteer uses to extract browser downloads into the right place. The bug was fixed in Node.js v14.1.0
Is there a way for me to update my node.js version?
Or is it the packaged electron that needs to be updated? assuming the issue would be resolved using Node.js v14.1.0
Note: Notice this happens in the Old UI, because New UI doesn't respond when clicking הפעל

render.log
'''
[2023-03-31 11:35:46.432] [info]  Welcome to caspion log
[2023-03-31 11:35:46.434] [info]  Version: 1.11.4
[2023-03-31 11:35:46.801] [info]  Vue started
[2023-03-31 11:35:57.976] [info]  Starting to scrape from Sun Feb 19 2023 00:00:00 GMT+0000 (Greenwich Mean Time) to today
[2023-03-31 11:35:58.340] [info]  Download Chrome: 0%
[2023-03-31 11:35:59.332] [info]  Download Chrome: 1%
[2023-03-31 11:35:59.697] [info]  Download Chrome: 2%
[2023-03-31 11:36:00.058] [info]  Download Chrome: 3%
[2023-03-31 11:36:00.423] [info]  Download Chrome: 4%
[2023-03-31 11:36:01.093] [info]  Download Chrome: 5%
[2023-03-31 11:36:01.709] [info]  Download Chrome: 6%
[2023-03-31 11:36:02.355] [info]  Download Chrome: 7%
[2023-03-31 11:36:02.945] [info]  Download Chrome: 8%
[2023-03-31 11:36:03.331] [info]  Download Chrome: 9%
[2023-03-31 11:36:03.692] [info]  Download Chrome: 10%
[2023-03-31 11:36:04.060] [info]  Download Chrome: 11%
[2023-03-31 11:36:04.420] [info]  Download Chrome: 12%
[2023-03-31 11:36:04.782] [info]  Download Chrome: 13%
[2023-03-31 11:36:05.142] [info]  Download Chrome: 14%
[2023-03-31 11:36:05.504] [info]  Download Chrome: 15%
[2023-03-31 11:36:05.865] [info]  Download Chrome: 16%
[2023-03-31 11:36:06.230] [info]  Download Chrome: 17%
[2023-03-31 11:36:06.594] [info]  Download Chrome: 18%
[2023-03-31 11:36:06.955] [info]  Download Chrome: 19%
[2023-03-31 11:36:07.321] [info]  Download Chrome: 20%
[2023-03-31 11:36:07.683] [info]  Download Chrome: 21%
[2023-03-31 11:36:08.049] [info]  Download Chrome: 22%
[2023-03-31 11:36:08.528] [info]  Download Chrome: 23%
[2023-03-31 11:36:08.889] [info]  Download Chrome: 24%
[2023-03-31 11:36:09.298] [info]  Download Chrome: 25%
[2023-03-31 11:36:09.660] [info]  Download Chrome: 26%
[2023-03-31 11:36:10.025] [info]  Download Chrome: 27%
[2023-03-31 11:36:10.386] [info]  Download Chrome: 28%
[2023-03-31 11:36:10.748] [info]  Download Chrome: 29%
[2023-03-31 11:36:11.109] [info]  Download Chrome: 30%
[2023-03-31 11:36:11.470] [info]  Download Chrome: 31%
[2023-03-31 11:36:11.831] [info]  Download Chrome: 32%
[2023-03-31 11:36:12.210] [info]  Download Chrome: 33%
[2023-03-31 11:36:12.572] [info]  Download Chrome: 34%
[2023-03-31 11:36:12.934] [info]  Download Chrome: 35%
[2023-03-31 11:36:13.295] [info]  Download Chrome: 36%
[2023-03-31 11:36:13.769] [info]  Download Chrome: 37%
[2023-03-31 11:36:14.135] [info]  Download Chrome: 38%
[2023-03-31 11:36:14.495] [info]  Download Chrome: 39%
[2023-03-31 11:36:14.857] [info]  Download Chrome: 40%
[2023-03-31 11:36:15.220] [info]  Download Chrome: 41%
[2023-03-31 11:36:15.583] [info]  Download Chrome: 42%
[2023-03-31 11:36:15.976] [info]  Download Chrome: 43%
[2023-03-31 11:36:16.356] [info]  Download Chrome: 44%
[2023-03-31 11:36:16.722] [info]  Download Chrome: 45%
[2023-03-31 11:36:17.091] [info]  Download Chrome: 46%
[2023-03-31 11:36:17.454] [info]  Download Chrome: 47%
[2023-03-31 11:36:17.817] [info]  Download Chrome: 48%
[2023-03-31 11:36:18.183] [info]  Download Chrome: 49%
[2023-03-31 11:36:18.544] [info]  Download Chrome: 50%
[2023-03-31 11:36:19.020] [info]  Download Chrome: 51%
[2023-03-31 11:36:19.380] [info]  Download Chrome: 52%
[2023-03-31 11:36:19.742] [info]  Download Chrome: 53%
[2023-03-31 11:36:20.108] [info]  Download Chrome: 54%
[2023-03-31 11:36:20.469] [info]  Download Chrome: 55%
[2023-03-31 11:36:20.830] [info]  Download Chrome: 56%
[2023-03-31 11:36:21.191] [info]  Download Chrome: 57%
[2023-03-31 11:36:21.566] [info]  Download Chrome: 58%
[2023-03-31 11:36:21.928] [info]  Download Chrome: 59%
[2023-03-31 11:36:22.318] [info]  Download Chrome: 60%
[2023-03-31 11:36:22.679] [info]  Download Chrome: 61%
[2023-03-31 11:36:23.042] [info]  Download Chrome: 62%
[2023-03-31 11:36:23.403] [info]  Download Chrome: 63%
[2023-03-31 11:36:23.766] [info]  Download Chrome: 64%
[2023-03-31 11:36:24.249] [info]  Download Chrome: 65%
[2023-03-31 11:36:24.610] [info]  Download Chrome: 66%
[2023-03-31 11:36:24.972] [info]  Download Chrome: 67%
[2023-03-31 11:36:25.333] [info]  Download Chrome: 68%
[2023-03-31 11:36:25.739] [info]  Download Chrome: 69%
[2023-03-31 11:36:26.104] [info]  Download Chrome: 70%
[2023-03-31 11:36:26.465] [info]  Download Chrome: 71%
[2023-03-31 11:36:26.833] [info]  Download Chrome: 72%
[2023-03-31 11:36:27.196] [info]  Download Chrome: 73%
[2023-03-31 11:36:27.558] [info]  Download Chrome: 74%
[2023-03-31 11:36:27.920] [info]  Download Chrome: 75%
[2023-03-31 11:36:28.287] [info]  Download Chrome: 76%
[2023-03-31 11:36:28.648] [info]  Download Chrome: 77%
[2023-03-31 11:36:29.038] [info]  Download Chrome: 78%
[2023-03-31 11:36:29.483] [info]  Download Chrome: 79%
[2023-03-31 11:36:29.846] [info]  Download Chrome: 80%
[2023-03-31 11:36:30.221] [info]  Download Chrome: 81%
[2023-03-31 11:36:30.582] [info]  Download Chrome: 82%
[2023-03-31 11:36:30.943] [info]  Download Chrome: 83%
[2023-03-31 11:36:31.305] [info]  Download Chrome: 84%
[2023-03-31 11:36:31.672] [info]  Download Chrome: 85%
[2023-03-31 11:36:32.033] [info]  Download Chrome: 86%
[2023-03-31 11:36:32.400] [info]  Download Chrome: 87%
[2023-03-31 11:36:32.761] [info]  Download Chrome: 88%
[2023-03-31 11:36:33.123] [info]  Download Chrome: 89%
[2023-03-31 11:36:33.485] [info]  Download Chrome: 90%
[2023-03-31 11:36:33.846] [info]  Download Chrome: 91%
[2023-03-31 11:36:34.212] [info]  Download Chrome: 92%
[2023-03-31 11:36:34.575] [info]  Download Chrome: 93%
[2023-03-31 11:36:34.936] [info]  Download Chrome: 94%
[2023-03-31 11:36:35.298] [info]  Download Chrome: 95%
[2023-03-31 11:36:35.660] [info]  Download Chrome: 96%
[2023-03-31 11:36:36.072] [info]  Download Chrome: 97%
[2023-03-31 11:36:36.433] [info]  Download Chrome: 98%
[2023-03-31 11:36:36.909] [info]  Download Chrome: 99%
[2023-03-31 11:36:37.270] [info]  Download Chrome: 100%
[2023-03-31 11:38:38.973] [info]  Starting to scrape from Sun Feb 19 2023 00:00:00 GMT+0000 (Greenwich Mean Time) to today
[2023-03-31 11:38:40.657] [info]  Starting to scrape from Sun Feb 19 2023 00:00:00 GMT+0000 (Greenwich Mean Time) to today
'''

general.log
[2023-03-31 11:31:39.584] [info]  Welcome to caspion log
[2023-03-31 11:31:39.587] [info]  Version: 1.11.4
[2023-03-31 11:31:39.787] [error] Attempted to register a second handler for 'showSaveDialog'
[2023-03-31 11:31:39.788] [debug] UnhandledRejection Error: Attempted to register a second handler for 'showSaveDialog'
    at IpcMainImpl.handle (node:electron/js2c/browser_init:193:337)
    at C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6767153
    at Array.forEach (<anonymous>)
    at Object.t.registerHandlers (C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6767131)
    at m (C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6646721)
[2023-03-31 11:31:39.825] [error] UnhandledRejection Error: Attempted to register a second handler for 'showSaveDialog'
    at IpcMainImpl.handle (node:electron/js2c/browser_init:193:337)
    at C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6767153
    at Array.forEach (<anonymous>)
    at Object.t.registerHandlers (C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6767131)
    at m (C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6646721)
[2023-03-31 11:35:44.908] [error] Attempted to register a second handler for 'showSaveDialog'
[2023-03-31 11:35:44.908] [debug] UnhandledRejection Error: Attempted to register a second handler for 'showSaveDialog'
    at IpcMainImpl.handle (node:electron/js2c/browser_init:193:337)
    at C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6767153
    at Array.forEach (<anonymous>)
    at Object.t.registerHandlers (C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6767131)
    at d (C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6647193)
    at async C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6647568
[2023-03-31 11:35:44.909] [error] UnhandledRejection Error: Attempted to register a second handler for 'showSaveDialog'
    at IpcMainImpl.handle (node:electron/js2c/browser_init:193:337)
    at C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6767153
    at Array.forEach (<anonymous>)
    at Object.t.registerHandlers (C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6767131)
    at d (C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6647193)
    at async C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6647568
[2023-03-31 11:35:45.894] [error] Attempted to register a second handler for 'showSaveDialog'
[2023-03-31 11:35:45.895] [debug] UnhandledRejection Error: Attempted to register a second handler for 'showSaveDialog'
    at IpcMainImpl.handle (node:electron/js2c/browser_init:193:337)
    at C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6767153
    at Array.forEach (<anonymous>)
    at Object.t.registerHandlers (C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6767131)
    at d (C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6647193)
    at async C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6647568
[2023-03-31 11:35:45.895] [error] UnhandledRejection Error: Attempted to register a second handler for 'showSaveDialog'
    at IpcMainImpl.handle (node:electron/js2c/browser_init:193:337)
    at C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6767153
    at Array.forEach (<anonymous>)
    at Object.t.registerHandlers (C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6767131)
    at d (C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6647193)
    at async C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6647568
[2023-03-31 11:36:04.028] [error] unexpected end of file
[2023-03-31 11:36:04.029] [debug] Error: unexpected end of file
    at Zlib.zlibOnError [as onerror] (node:zlib:190:17)
[2023-03-31 11:36:04.029] [error] Error: unexpected end of file
    at Zlib.zlibOnError [as onerror] (node:zlib:190:17)
[2023-03-31 11:36:04.029] [error] unexpected end of file
[2023-03-31 11:36:04.030] [debug] Error: unexpected end of file
    at Zlib.zlibOnError [as onerror] (node:zlib:190:17)
[2023-03-31 11:36:04.030] [error] Error: unexpected end of file
    at Zlib.zlibOnError [as onerror] (node:zlib:190:17)
[2023-03-31 11:39:48.289] [error] Attempted to register a second handler for 'showSaveDialog'
[2023-03-31 11:39:48.290] [debug] UnhandledRejection Error: Attempted to register a second handler for 'showSaveDialog'
    at IpcMainImpl.handle (node:electron/js2c/browser_init:193:337)
    at C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6767153
    at Array.forEach (<anonymous>)
    at Object.t.registerHandlers (C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6767131)
    at d (C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6647193)
    at async C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6647568
[2023-03-31 11:39:48.290] [error] UnhandledRejection Error: Attempted to register a second handler for 'showSaveDialog'
    at IpcMainImpl.handle (node:electron/js2c/browser_init:193:337)
    at C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6767153
    at Array.forEach (<anonymous>)
    at Object.t.registerHandlers (C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6767131)
    at d (C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6647193)
    at async C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6647568
[2023-03-31 11:39:50.707] [error] unexpected end of file
[2023-03-31 11:39:50.708] [debug] Error: unexpected end of file
    at Zlib.zlibOnError [as onerror] (node:zlib:190:17)
[2023-03-31 11:39:50.708] [error] Error: unexpected end of file
    at Zlib.zlibOnError [as onerror] (node:zlib:190:17)
[2023-03-31 11:42:00.041] [info]  Checking for update
[2023-03-31 11:42:00.049] [info]  Generated new staging user ID: ccc04b87-682f-50a5-90de-803a83f9d5e6
[2023-03-31 11:42:02.112] [info]  Update for version 1.11.4 is not available (latest version: 1.11.4, downgrade is disallowed).
[2023-03-31 11:44:35.383] [error] unexpected end of file
[2023-03-31 11:44:35.383] [debug] Error: unexpected end of file
    at Zlib.zlibOnError [as onerror] (node:zlib:190:17)
[2023-03-31 11:44:35.383] [error] Error: unexpected end of file
    at Zlib.zlibOnError [as onerror] (node:zlib:190:17)
[2023-03-31 11:44:37.766] [error] Attempted to register a second handler for 'showSaveDialog'
[2023-03-31 11:44:37.767] [debug] UnhandledRejection Error: Attempted to register a second handler for 'showSaveDialog'
    at IpcMainImpl.handle (node:electron/js2c/browser_init:193:337)
    at C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6767153
    at Array.forEach (<anonymous>)
    at Object.t.registerHandlers (C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6767131)
    at d (C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6647193)
    at async C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6647568
[2023-03-31 11:44:37.767] [error] UnhandledRejection Error: Attempted to register a second handler for 'showSaveDialog'
    at IpcMainImpl.handle (node:electron/js2c/browser_init:193:337)
    at C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6767153
    at Array.forEach (<anonymous>)
    at Object.t.registerHandlers (C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6767131)
    at d (C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6647193)
    at async C:\Users\Amitx\AppData\Local\Programs\caspion\resources\app.asar\background.js:2:6647568

I found a workaround if someone has encountered the same issue:

go to download the latest chromium, for me it was this . But use the following link. to find the latest chrome release look for the file LAST_CHANGE
download and extract chrome-win.zip
in the Caspion application use the settings and provide the path to chrome: C:\Users<USERNAME>\Downloads\Win_x64_1124624_chrome-win\chrome-win\chrome.exe
Make sure to replace  with your windows username.

I think we are using the latest v14 version, as you can see here:
https://github.com/brafdlog/caspion/actions/runs/4061787331/workflow#L42
I will try to upgrade the node version anyway.


Cartoon

Related Issues or bug

Differentiate cartoon images from real human faces. #929

Fixes: #929
Proposed Changes

I have added a python script that differentiates Human and Cartoon Faces based on an index.
The methodology includes smoothing/cartoonifying the given image, taking hsv of the original and the smoothed images and then subtracting the smoothed image from the original image. Taking the mean of this subtraction gives us the index based on which it is decided whether it's a cartoon face or a human face.The index should be high for non-smooth original (natural scene) images and low for smooth original (cartoony) images.

Additional Info

I have added test images in the Assets folder to try the script.

Thanks! I'll make those changes

@akshitagupta15june I have made the changes. I have made a proper readme and added proper information. I have also added the requirements.txt file


UnhandledPromiseRejectionWarning (node) / Uncaught (in promise) (browser) when passing text as undefined

node code:
  try {
    slide.addText([{text: undefined, options: {breakLine: true}}], {x:1, y:1, w: 1, h:1})
  } catch (e) {
    console.log('this will not be invoked')
    console.error(e)
  }

Fails with:
(node:63649) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().

Example to reproduce in browser:
Fiddle: https://jsfiddle.net/6ayzoxh2/
Clearly this is an error on my side, and I should not pass the undefined text, but it would be cool if your code would throw, then I could handle it

We're getting hit by this as well.
The problem indeed is that one cannot even catch this exception at all, so all our "defensive coding" didn't help.
I'm right now looking into this, and a very initial hunch is that the whole save code is failing to properly reject the involved promises.

Note that the error only happens when actually writing the output, not at the time you call addSlide.
I agree that it would be useful to know which slide had the issue, but that seems like a lot of error checking that would need to be added.
The TypeScript definitions define that text must not be null/undefined, so if you use TypeScript and have proper types everywhere in your app there's a good chance that you'll be able to catch the error at development time rather than at runtime.

This is fixed thanks to Pull #695


[turtlebot3_drive] Fix init() usage

Apply the same fix to turtlebot3_drive.

cc @ROBOTIS-Will friendly ping. This is a trivial fix and hope we can get it in soon. Thanks!


Accordion custom AccordionToggle

We have a requiremenets with accordion where we have to add some other components in accordion toggle header and it looks like there is max-width set to some variable. Can we remove it and change it toflex-grow: 1;?

@karelhala thanks for filing!  what are you trying to put into the accordian?

I would like to insert absolutely anything in there, I would expect that the AccordionToggle for instance level with user icon
<button class="pf-c-accordion__toggle pf-m-expanded" aria-expanded="true">

        Custom title

</button>

Would look like this

Just a flex-grow: 1; and some padding would be sufficient I guess (we want to be able to add anything in the header not only level layout).

@tlabaj making you aware of @karelhala 's response here.


Doki theme slows down settings

Describe the bug
When the doki theme is installed, opening the settings takes more than 1 minute.
Also, all others plugins were disabled.
To Reproduce
Open the settings
Expected Behavior
Opening the settings shouldn't take more than 5 seconds.
Environment
IntelliJ IDEA 2022.1 (Ultimate Edition)
Build #IU-221.5080.210, built on April 12, 2022
Runtime version: <IP_ADDRESS>+1-b2043.25 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.10.0-13-amd64
GC stands for G1 Young Generation and G1 Old Generation.
Memory: 978M
Cores: 8
Current Desktop: KDE
Plugin version: 78.0-1.0.7
But it works fine in windows 8.1
Investigation
After reading thread dumps, it seems that the slowdown comes from the loading of the fonts
in ThemeSettings#createConsoleFontComboBoxModel. I tried to benchmark the FontInfo#getAll
function, and surprise, it executes in 3 sec. So, I don't know the problem...
Log + thread dumps:
idea.log
threadDump.zip

Thanks for providing all of the supporting information and investigation. I'll have some time to look into this in a bit.
Is the issue that the entire settings menu dialog takes 1 minute to show up or just when the Doki Theme Settings is opened?

It takes 1 minute to show the settings dialog. The Doki Theme Settings takes between 1-5 seconds to load, but others settings like Apparence or Font use the same amount of time to load.

Thanks for the follow up. I'll probably have time this weekend to take a look at this issue. I'll see if it misbehaves on my Ubuntu machine. If not, I might be able to try something hacky (if I can't reproduce the issue)

Hey! I wasn't able to replicate the issue. However, you said the settings is not slow if the Doki Theme isn't installed. So I am just going to take one of the font combo boxes from the JetBrains SDK.

:point_up: This one more specifically.
doki-theme-jetbrains-78.1-1.0.9.zip
Could you please download & manually install the plugin zip above and let me know that fixes the issue for you? If it doesn't work, I have one more trick up my sleeve.

Yes, the ui is not anymore frozen when opening the settings. But, now it frozes when I open Doki Theme Settings.
It seems that the call to FontInfo.get loads all fonts.
However, it seems that FontComboBox allow String as value. So, it's unnecessary to create a FontInfo object and removing the FontInfo.get should work.

Cool, thanks for the insights!
I'll try that, and I might also try to load the combo box on a separate thread and not the UI thread. Like what the font combo box does
https://github.com/JetBrains/intellij-community/blob/0e2aa4030ee763c9b0c828f0b5119f4cdcc66f35/platform/platform-impl/src/com/intellij/ui/FontComboBox.java#L124

Aight, Round Two
doki-theme-jetbrains-78.1-1.0.9.zip
I just put getting the FontInfo off of the UI thread. Setting the selected font looks like it is dependent on having all of the other fonts loaded. So I figured if I get the font info, after it is done, the combo box should be loaded 🤷

Nice, it works now!
It produces this:

Replacing the message with Loading fonts would be very cool! But I don't know if it's possible ;(

Replacing the message with Loading fonts would be very cool!

🤔 What does this combo box do?

There is only the current font:

Huh, does it not eventually load all of them or does it just stay with just one?

Thank you for providing that information.

Replacing the message with Loading fonts would be very cool! But I don't know if it's possible ;(

So it is probably possible. However, is it worth the effort to fix it, not at the moment (I've got some other stuff that I want to start working on). I'll also save you from having to be my tester, since I cannot replicate the issue.
Since the slow settings issue is fixed, I'll call that fixed.  Thanks for taking the time to report the issue and providing the necessary details!


Add blog post "A deep dive into faster semantic sparse retrieval in OpenSearch 2.12"

Description
Add blog post A deep dive into faster semantic sparse retrieval in OpenSearch 2.12
Issues Resolved
https://github.com/opensearch-project/project-website/issues/2792
Check List

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the BSD-3-Clause License.

Hi @natebower, I just modified the blog post according to the comments.

I had to guess at a lot of revisions/articles/etc. and am not confident in the quality of this post, even with my edits committed. I think I was able to improve it quite a bit, but I'm certain there are still errors present throughout. I would strongly recommend that this be reviewed by a technical writer and re-edited by me prior to publication. Thanks!

The blog post has gone through several turns of reviews and approved by PM and SDM, I believe we won't conduct major changes to the blog content. For the concerns on "quality", could you please help clarify whether the concerns are for the content perspective or other perspectives like wordings, grammars etc?

Hi @natebower, I just modified the blog post according to the comments.

I had to guess at a lot of revisions/articles/etc. and am not confident in the quality of this post, even with my edits committed. I think I was able to improve it quite a bit, but I'm certain there are still errors present throughout. I would strongly recommend that this be reviewed by a technical writer and re-edited by me prior to publication. Thanks!

The blog post has gone through several turns of reviews and approved by PM and SDM, I believe we won't conduct major changes to the blog content. For the concerns on "quality", could you please help clarify whether the concerns are for the content perspective or other perspectives like wordings, grammars etc?

My understanding is that @kolchfa-aws was initially asked to support this blog post, given that she wrote the documentation for the feature/functionality, so I’d like for her to review this prior to a second editorial review by me to ensure both quality/accuracy of the content and alignment of messaging between the documentation and the blog post. Thanks!

@natebower Thank you for reviewing! I addressed all your comments. @zhichao-aws If you want to read it over one more time, please do. Otherwise, this blog is ready. cc @pajuric

@nateynateynate @krisfreedain - The blog is ready to push live. With Kris and Nate Boot out of office, are you able to help get this live @kolchfa-aws @natebower, please.


Feature/weko upgrade version

I'm closing this PR since it's quite old and the module has been heavily refactored in the mean time.


[Rules] Reorganized folders and files

What

Added the following top level folder categories:
-- apt
-- generic
--hacktool
--malware
--ransomware

These folders are then broken down the following operating systems:
-- linux
-- macos
-- multi (multiple operating systems affected)
-- windows

All yara rules have now been moved to their own individual files within the respective operating system folders

Why

This update improves the ability to understand where gaps are by operating systems and by category type.
Easier to manage

Testing

Locally and waiting on CI before I seek approval.

@mime-frame @austinbyers PTAL the updated folder structure and advise of any changes.  Thanks!

@fusionrace lets get rid of the generic folder, since it's generic, there's 0 rules in it and I'm not sure how we'd quite use it. I'm also thinking we remove the apt folder since APT's use both private and public tools and it's easy to get confused. Ex: rules/public/malware/windows/malware_windows_moonlightmaze_cle_tool.yara - MoonlightMaze is APT.

Working on the path issue.

@austinbyers finally... figured that out.  Please approve when ready.  Thanks!


How to stop whole page scrollable.

I'm trying to divide my screen in two and put my contents in two separate container. Now in one container there will be more than 10 TextFields. These Fields will be added dynamically with a button click event. Now, I want to make this portion scrollable. In the second container there will be some buttons. But I don't want scroll in that portion and I want to keep the style freeze.
Here is a preview before textboxes.

When TextFields are added in the first container it also affect the second container. Here is the preview.

Besides, if I don't keep page.scroll = 'adaptive' the scroll does not happen anywhere. But I've added scroll for the first column.
text_box_column = Column([Text("THIS IS COL 1")], scroll='adaptive')

The whole code:
import flet
from flet import (Column, ElevatedButton, Text,
                 TextField, Page, Container,
                 Row, colors, alignment)

def main(page: Page):
    def gen_text_box(e):
        text_fileds = []
        for i in range(10):
            text_fileds.append(TextField(label=f'Text Box {i}', value=i))

        text_box_column.controls = text_fileds
        gen_text_box_btn.visible = False
        page.update()

    gen_text_box_btn = ElevatedButton("Generate TextBoxes", on_click=gen_text_box)

    # param column
    text_box_column = Column([Text("THIS IS COL 1")], scroll='adaptive')

    page.add(Row([
        Container(content=text_box_column,bgcolor=colors.AMBER, expand=True),
        Container(content=Column([Text("THIS IS COL 2"), gen_text_box_btn]),bgcolor=colors.AMBER, expand=True)
    ]))
    page.scroll = 'adaptive'
    page.update()

flet.app(name="Flow", target=main)

OS: Windows 10
Python Version: 3.10.0

I wrote an example for the column scroll.
The result: https://youtu.be/ooDiZAiIVUo
This issue can be closed.
@ipritom

Thank you @pouralijan .
So, from your example I've figured out the problem.
I don't need page.scroll = 'adaptive'.
Adding expand=True in the row would have solved the problem.

You're welcome @ipritom, Exactly you should remove the page.scroll = 'adaptive' and add expand=True in the Row(...).


Addon doesn't work after 0.1.40 update

Addon Version
v0.1.40
World of Warcraft Version
Wrath
Describe the bug
Error during initial loading of the interface. Addon does not work after that. Reproduced on only one of the characters (WoW version Cata)
Message: ...erface/AddOns/BetterBags/frames/classic/currency.lua:129: table index is nil
Time: Mon May  6 13:48:51 2024
Count: 1
Stack: ...erface/AddOns/BetterBags/frames/classic/currency.lua:129: table index is nil
[string "@Interface/AddOns/BetterBags/frames/classic/currency.lua"]:129: in function `GetCurrencyItem'
[string "@Interface/AddOns/BetterBags/frames/classic/currency.lua"]:147: in function `Update'
[string "@Interface/AddOns/BetterBags/frames/classic/currency.lua"]:269: in function `Create'
[string "@Interface/AddOns/BetterBags/frames/classic/bag.lua"]:261: in function `Create'
[string "@Interface/AddOns/BetterBags/core/init.lua"]:205: in function <Interface/AddOns/BetterBags/core/init.lua:189>
[string "=[C]"]: ?
[string "@Interface/AddOns/BetterBags/libs/AceAddon-3.0/AceAddon-3.0.lua"]:66: in function <...AddOns/BetterBags/libs/AceAddon-3.0/AceAddon-3.0.lua:61>
[string "@Interface/AddOns/BetterBags/libs/AceAddon-3.0/AceAddon-3.0.lua"]:523: in function `EnableAddon'
[string "@Interface/AddOns/BetterBags/libs/AceAddon-3.0/AceAddon-3.0.lua"]:626: in function <...AddOns/BetterBags/libs/AceAddon-3.0/AceAddon-3.0.lua:611>

Locals: self = <table> {
 iconIndex = <table> {
 }
 fadeOut = AnimationGroup {
 }
 iconGrid = <table> {
 }
 currencyItems = <table> {
 }
 loaded = false
 frame = BetterBagsCurrencyFrame {
 }
 fadeIn = AnimationGroup {
 }
 content = <table> {
 }
}
index = 1
info = <table> {
}
item = <table> {
 count = FontString {
 }
 frame = Frame {
 }
 icon = Texture {
 }
 name = FontString {
 }
}
(*temporary) = <table> {
}
(*temporary) = nil
(*temporary) = <userdata>
(*temporary) = <function> defined @Interface/AddOns/BetterBags/frames/classic/currency.lua:116
(*temporary) = "table index is nil"
getCurrencyInfo = <function> defined @Interface/AddOns/BetterBags/frames/classic/currency.lua:69

Steps to reproduce

Start the game with enabled addon

I cant use the addon after this update either, nothing happens when i press B

Fixed in .41, which is going out now.


Ct.crypto.asn1.x509 can no longer be downloaded

I used PIP install to download ct.crypto.asn1.x509 and found that the download address was 404
Error message:
Could not install packages due to an EnvironmentError: 404 Client Error: Not Found for url: https://pypi.org/simple/ct-crypto-asn1-x509/

@eyalk5

Please use the provided install script to install it. I haven't seen such a line there.

Olen asentanut sen ohjekirjan mukaan, mutta kun suoritan komentosarjan, se osoittaa, että "ct.crypto.asn1.x509" puuttuu. Käytän sitten pip install ct.crypto.asn1.x509, mutta se kehottaa minua olemaan moduulia
  PS: Yllä olevat ovat kaikki google-käännöksiä

@eyalk5

Sorry, my translation is wrong.
The following is correct
I have installed it according to the manual, but when I run the script, it shows that "ct.crypto.asn1.x509" is missing. Then I use pip install ct.crypto.asn1.x509 but it prompts me that there is no module
PS: The above are all google translations
@eyalk5

You haven't use install.sh which uses the method :
wget https://github.com/google/certificate-transparency/archive/master.zip


Corrupted keystore

Accounts from this keystore were unable to unlock.

debug in-progress.

keystore passed all validation checks. only issue was the latest created account's password was unknown (this account was not one of the accounts from genesis). it just happened that that last account in the list was being used consistently as the only test candidate during testing.


Documentation update for Piecewise

This PR provides a fairly comprehensive set of edits and additions to the Piecewise documentation. Highlights include:

separate doc for creating service accounts used by Piecewise
new doc on post-installation and administration tasks
better separation of how to deploy for development using Vagrant to a local VM and how to deploy to a remote production web server or VM over SSH
new doc on advanced customization tasks like editing form fields and how/when to use ISP re-writes
clearer formatting of sub-sections on the fairly long, config.md doc
renaming docs files using lowercase

This content can be previewed in the docs on the master branch of my fork:
https://github.com/critzo/piecewise/blob/master/README.md
https://github.com/critzo/piecewise/tree/master/docs

Since this documentation update is fairly broad, we elected to merge changes and review afterward.


Add support for varargs.

According to microsoft/win32metadata#917 and https://github.com/microsoft/win32metadata/issues/33 , the win32 metadata doesn't recognize the varargs declarations, which gives much inconvenience. This PR adds simple dll-import support for varargs, and generate C# code with undocumented keyword __arglist.

Sorry for the delay in reviewing this. It generally looks correct to me but has a couple fixups that would be good to include.
There should ideally be some handling for a variadic function pointer as well. C# doesn't support them, but ClangSharp still needs to generate something (likely just a diagnostic indicating it couldn't be handled and falling back to void*).


panic: internal error on xcaddy build

I tried with different plugins and only with this do I get:
`panic: internal error: can't find reason for requirement on github.com/google/pp<EMAIL_ADDRESS>goroutine 1 [running]:
cmd/go/internal/modget.(*resolver).updateBuildList.func1({{0x276a210, 0x17}, {0x                   1822570, 0x22}})
/usr/local/go/src/cmd/go/internal/modget/get.go:1760 +0x10c
cmd/go/internal/modget.(*resolver).updateBuildList(0x1bda280, {0x71f020, 0x181c0                   98}, {0x0, 0x0, 0x0})
/usr/local/go/src/cmd/go/internal/modget/get.go:1765 +0x498
cmd/go/internal/modget.(*resolver).applyUpgrades(0x1bda280, {0x71f020, 0x181c098                   }, {0x0, 0x0, 0x0})
/usr/local/go/src/cmd/go/internal/modget/get.go:1312 +0x2fc
cmd/go/internal/modget.runGet({0x71f020, 0x181c098}, 0xa090c8, {0x1818080, 0x2,                    0x2})
/usr/local/go/src/cmd/go/internal/modget/get.go:351 +0x444
main.invoke(0xa090c8, {0x1818068, 0x5, 0x5})
/usr/local/go/src/cmd/go/main.go:225 +0x400
main.main()
/usr/local/go/src/cmd/go/main.go:179 +0x974
2023/02/09 10:30:54 [FATAL] exit status 2`
I tried on Go 1.20, 19.5, 19, and 18.1 nothing changed, so its maybe this plugin?

Discussion, for reference: https://caddy.community/t/xaddy-on-raspberry-b-build-with-plugin-wol/18821/13
There's a bug in go get that's causing a panic on certain dependencies. It's frustrating. I think a workaround is to have plugins bump their minimum Caddy version to v2.6.3 to have their dependencies in sync.

Also FYI @dulli, please consider registering your plugin on https://caddyserver.com/download by making an account on the website and claiming your module ID. That way, your plugin will have more visibility and users will be able to find it easily :blush:

Yep, confirmed that fixes it, running xcaddy build v2.6.3 --with github.com/dulli/caddy-wol@main works now. Thanks!
(The @main shouldn't be necessary, Go is caching the latest commit locally so I had to tell it a specific branch to force it to try the latest commit, since it just got merged)

Perfect, thanks for the quick pull request!
And also thank you for the heads-up about the plugin registry, I was wondering how to enter the module there but didn't find anything in the docs and then didn't have the time to further investigate back when I created this. No idea why I just didn't try to create an account though 😄

Thank you for the quick fix 😊 looking forward to seeing the plug in on the caddy website.


Mattermost Desktop (Windows, client 5.1.0) crashes when changing screen resolutions

I confirm (by marking "x" in the [ ] below: [x]):

[x] This is not a troubleshooting question. Troubleshooting questions go here: https://docs.mattermost.com/install/troubleshooting.html.
[x] This doesn't reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
[x] I have read contributing guidelines.

Summary
When changing Mattermost location between multiple monitors, if it crosses a monitor/desktop that is a different resolution, the application crashes silently. Also will crash silently if previous resolution is not the same as before (changing monitor setup).
Environment

Operating System: Windows 10
Mattermost Desktop App version: 5.1.0
Mattermost Server version: 6.6.1 (on-premises server)

Steps to reproduce
Have a Windows 10 desktop with multiple monitors, set to different resolutions (e.g. #1 set to 1920x1080, #2 set to 3840x2160). Drag desktop client window from one screen to the other; somewhere between, the application will pause, then silently crash (no unhandled exception or other messages). Happens whether application is maximized and moved with mouse; un-maximized and moved with mouse; maximized and moved with Windows+left/right arrow keys; un-maximized and moved with Windows+left/right arrow keys.
Verifying monitor resolution issue: If all monitors are set to the same resolution (e.g. 1920x1080) then it can be moved in between monitors with no issues, with mouse or keyboard movements.
Expected behavior
Able to move client between multiple monitors at varying resolutions with no crash. This has worked on previous versions, back to at least 5.0.4 (last version I had before updating to 5.1.0).
Observed behavior
No messages are given, and no relevant log entries look to be present in main.log. Note that the main.log attached has had server and user ID info redacted manually by me prior to upload.
Possible fixes
Unknown
main.log.bugreport.txt

@jgilliam17 @lindy65 Are you able to reproduce this?

I tried connecting my macbook to external monitor and was able to move desktop app around between two screens of different resolutions without a crash.
I'll need a little bit of time to get a second monitor and check on win10.

Tested on Win10, desktop app v5.1 and v5.0.4 using 2 monitors; 1st monitor resolution set at 2460x1080 and second at 1024x768
Able to move maximized/unmaximized app window using a mouse and/or keyboard shortcuts without experiencing a crash.
Noting here that I had to adjust the size of the app afterwards, when going from larger to smaller monitor and vice versa  - I believe this is expected. @devinbinnie can correct me here if I'm wrong.

@amyblais - I don't have an external monitor to test this

I can confirm this same behavior, Windows 11, using 3 of the same monitors. Just switching monitors does this to me, I don't even need different resolutions.

Is there an uncaughtException file in your Mattermost settings folder where you found the logs? (should be one level up)

Would that be in AppData\Roaming\Mattermost\logs? if so, there's no such file, and main.log does not contain any related exceptions.
If there's some sort of debugging you need me to do, this is very repeatable. Just let me know what you need from me to get you the debug info you need.

Actually, I have several in the folder above logs, but none are even remotely related to the time period in question

@tjdownes It's likely an Electron issue then related to your specific setup. Could you try on a different Windows machine (or VM) and see if you can still reproduce?

Could you try on a different Windows machine (or VM) and see if you can still reproduce?

I'm not aware of any way to virtualize a multi-display setup. Do you have any documentation or suggestions on how to do that?
FYI, this is a pretty standard configuration. Nothing special here. 2060 RTX with studio drivers, Windows 11.

I tested a couple of other Electron apps yesterday, using 18.0.1 and 18.0.3 and could not produce the same issues with those apps.

Could you try on a different Windows machine (or VM) and see if you can still reproduce?

I'm not aware of any way to virtualize a multi-display setup. Do you have any documentation or suggestions on how to do that?
FYI, this is a pretty standard configuration. Nothing special here. 2060 RTX with studio drivers, Windows 11.

I think VirtualBox will allow it. It might be better to try another machine.
I'm also using an NVIDIA card but with the GeForce drivers. Shot in the dark, but perhaps updating yours could help?

perhaps updating yours could help?

I updated them yesterday :) Realistically the studio drivers should be more stable than the game-ready drivers, since the game-ready drivers are built on top of the studio drivers.
I've got a couple of teammates using MM with multiple monitors on Windows, so I will have them test it today and report if they have the same issues. I'll see if I can get my laptop connected to my monitors for testing as well.

Got the notification today that 5.1.1 was available. I just downloaded and installed, and the crashing is no longer present between screens of varying resolutions. Looks like it could probably be closed at this point. Thanks so much for fixing that!

@tjdownes Are you seeing the same thing?

@tjdownes Are you seeing the same thing?

YES! Thanks for the fix. It also fixed a bug I had not yet reported, where typing / to do actions resulted in a similar crash.

Great! I'll close this issue then.


License confusion

First of all: Nice package!
Here on Github, this package has 2 licenses:

Apache license
MIT license for a limited set of files

All C# files have an Apache license header - which is fine for me as this allows commercial use.
However, when you include the package via Nuget, there is a license.txt stating that the whole package is under AGPL, which poses some problems when the library is used for a server-side application like the one I have in mind.
Why is the Nuget license different? I would favor if this was brought into line, e.g. by removing or replacing license.txt with an Apache license in the Nuget package.

I made the license change in 888a901beefb7d77b2a5deda6690dcef41bb3ecb. But I haven't made any nuget since then.
I'll try to make some time to do this in next few days.

But the Nuget version is identical to Github with regard to the source code and version (<IP_ADDRESS>, that is).

I usually change assembly version (and nuget version) just before making a release. That's why it has the same version.
I haven't developed this project for quite a while and since then I've started a new one ASN1Net which combines BER Reader and DER Writer into one library. I also wanted to try different approach to parse ASN1 (substreams instead of placing parsed objects on stack). Sadly I'm not satisfied with the (Reader part of) ASN1Net project either and I haven't had time to finish it.

I guess when you need to have an ASN.1 writer, you should support DER as well, for ASN1Net.Reader there should be no difference since anything that is being read could be DER or BER but given BER being the more general format, it can read either type.
I found it quite hard to dissect certain kind of certificates (or to be more specific: extended attributes), especially the content of qcStatements from EIDAS certificates. When I tried that using Java, I stumbled over BouncyCastle. However this library being very feature-rich, it is also badly documented and hard to employ correctly, so I looked for something simpler when we switched to C#.
Given an ETSI specification and ASN1Net.Reader, it was much easier to get at the neccessary information than with BouncyCastle, so for my application, it will suffice. I admire the simplicity of ASN1Net.Reader for this purpose, as my application is also security-related: The easier it is to understand, the less likely there is a hidden flaw.

I'm glad that this library was helpful to you. I'm working with BouncyCastle quite often and it is like guess your method kind of library 😄 So that was the reason why I've implemented my own ASN.1 reader/writer library.
New nuget should be online any time now so this issue should be resolved. I'm closing the issue for now.


The link broken for the notes

For ja-jp page, there is the note saying the contents are not supported in the language you use, and the English version is here which should have the link to the English page. Currently, the link is broken. Though I informed the cx the URL for English page, they requested to add the hypertext. Thank you..

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

ID: 08222316-75a2-004c-01ce-b07f2f80da32
Version Independent ID: 3b76f6cc-b11d-03fe-4ef0-1f1afc31bc83
Content: Share VM images with Shared Galleries - Azure Virtual Machines
Content Source: articles/virtual-machines/shared-image-galleries.md
Service: virtual-machines
Sub-service: imaging
GitHub Login: @axayjo
Microsoft Alias: akjosh

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

#reassign: @mimckitt

#reassign: @mimckitt

@Sara-Nicolini seems this is a localization issue. Assigning to you for your team to triage.
#reassign: @Sara-Nicolini

@Sara-Nicolini seems this is a localization issue. Assigning to you for your team to triage.
#reassign: @Sara-Nicolini

#please-close It looks like the ja-jp page is working, so I believe this is fixed. Thanks!


Added a new getGroupGames function

I noticed there wasn't any convenient way to get the games owned by a group, so I made a function for it.

getGroupGames should be using this function as it uses cursors. There is an example of this here.

getGroupGames should be using this function as it uses cursors. There is an example of this here.

Thanks. Changed the function to work with that.

Closed by #345


Backdrop overflows tourAnchor element if it's resized when page not scrollable

Setup:

Show backdrop
Set page not scrollable

I have two scenarios when backdrop isn't placed well:

If I want to add border 2px for class .touranchor--is-active to highlight the element - bottom backdrop class overflows the element
If my tourAnchor change size (for example menu that can be collapsed/expanded) backdrop is not updated

It would be great if we can track element resize and update backdrop position.
Seems that page resize isn't triggered in this case.

Hi, @hakimio.
Have added a PR on how it can be fixed, what do you think?
https://github.com/hakimio/ngx-ui-tour/pull/80

@mivanyna I think your use of ResizeObserver would break SSR apps, debouncing might be necessary to avoid calling setBackdropPosition() too often and it might be a good idea to only call setBackdropPosition() once when both window and the target element resizes. Might be a good idea to wrap ResizeObserver usage with an rxjs Observable to be able to use rxjs operators.

@hakimio,  please feel free to apply the necessary changes.
Otherwise, I'll take a look tomorrow maybe or in monday.

No rush. Do it whenever it's convenient for you.

How do you add new dependencies to the project?

Btw, that library uses the same ResizeObserver, one difference is it run callback using zone:
observer = new ResizeObserver(entries => {
                ngZone.run(() => {
                    subscriber.next(entries);
                });
            });

https://github.com/ng-web-apis/resize-observer/blob/master/projects/resize-observer/src/services/resize-observer.service.ts
And fails to install, I assume because of angular version 12

Yes, it still uses ResizeObserver but it checks if it is supported to avoid breaking SSR apps.
Anyway, it's meant to be used inside components because it's injecting ElementRef. In our case we want to use it in another service, so it might be best if we would just implement our own version of the service.

And fails to install, I assume because of angular version 12

It accepts any Angular version >= 12.

@mivanyna I have released a new version. See if it works as you wanted.

Thank you very much! Will check!

Remember to star the project if you like it ;)


Removing crash issue

Updated code to remove possibility of Python script crashing if a command line parameter does not have '=' in it.  Also, reduces the number of loops down to 1 instead of 2 - yes, number of lines of code is not as concise but alas.
BUT, before committing to merging, need to decide if we wish to go on with script if a parameter does not have '=' in it and assume all appropriate parameters are still inputted, OR do we wish to raise an error if the such a possibility arises.

Looks good to me, ready to merge or still working?

Yes, ready to merge. The transition to argparse will be a bigger involvement and should be tracked in a new branch since it will rip this stuff out.  Also will transition to using log module for better messaging in this script in a different branch.

:ship:


Integrate API Documentation

via swagger

is this set up anywhere? I don't know swagger.

@tsingh777 Assigning this one to you. Aiming to have this complete by the end of June


also fix nil panic in lease and add tests for #84729

adds a commit on top of #84737. Adds a test and fixes another panic in leaselock.
If you are happy with this, please merge with the "Rebase and merge" option (third option in screenshot), then I'll lgtm/approve #84737 .

I don't see the Merge menu shown above.


UnknownHostsException

I am using browsermob standalone service, and using its REST API from Java.
I post to the service /proxy//hosts the json of the hosts i want to remap.
I get a 200 response from the post
However when i actually then use a browser pointed to a remapped host i get the UnknownHostsException in browsermob and nothing in the browser.
Please advise if this is an issue...
Below is the java code i use:
//Setup the proxy host remapping
private void setupProxy() throws Exception {
log.debug("Remapping proxy hosts");
try {
Map<String, String> toremap = BrowserMobConfig.getRemappedHosts();
log.debug("There are " + toremap.size() + " hosts to remap");
//TODO the request to remap hosts is not part of the client we are using
//We have to do the request ourselves
Gson gson = new Gson();
String json = gson.toJson(toremap);
log.debug(json);
StringEntity postString = new StringEntity(json);
HttpPost request = new HttpPost(new URIBuilder().setScheme("http")
.setHost(_proxy.getAPIHost())
.setPort(_proxy.getAPIPort())
.setPath("/proxy/" + _proxy.getProxyPort() + "/hosts")
.build());
request.setEntity(postString);
request.setHeader("Content-type", "application/json");
request.setHeader("Accept","application/json");
CloseableHttpClient HTTPclient = HttpClients.createSystem();
CloseableHttpResponse response = HTTPclient.execute(request);
StatusLine status = response.getStatusLine();
int rtncode = status.getStatusCode();
response.close();
log.debug("Status code after POST'ing remapped hosts : " + rtncode);
} catch (Exception e) {
log.error(e.getMessage());
throw e;
}

Solved
Added entries to host file and enabled native fallback


Java6 fix

Sorry guys, I screwed that one up :(
I'm not sure why but the JVM seems to load all classes which are used in a (static) method. That makes it not safe to just check the threadLocalRandomPresent flag and access ThreadLocalRandom right away. Maybe it has to do with some JIT magic? BTW making the flag final did not help either.
I noticed that in the integration tests for stagemonitor: https://travis-ci.org/stagemonitor/stagemonitor-integration-tests/jobs/222501692#L700. Tested the fix locally with Java 6.

Codecov Report

Merging #138 into master will increase coverage by <.01%.
The diff coverage is 66.66%.

@@             Coverage Diff              @@
##             master     #138      +/-   ##
============================================
+ Coverage     35.99%   35.99%   +<.01%
  Complexity      589      589
============================================
  Files            93       93
  Lines          6301     6303       +2
  Branches       1046     1046
============================================
+ Hits           2268     2269       +1
- Misses         3854     3855       +1
  Partials        179      179

Impacted Files
Coverage Δ
Complexity Δ

...jaeger/utils/Java6CompatibleThreadLocalRandom.java
71.42% <66.66%> (-3.58%)
3 <0> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 16bf7a5...4091bce. Read the comment docs.

Hey @raphw, could you explain us the magic?

The JVM is really free to load a class referenced within an executed method at any time it wants to. The concept of optional types is not know to the runtime. Reflection would probably be the best way to guard against eager loading but there is a runtime impact. As for your solution, it should work with HotSpot but it would generally be safer to move code to a dispatcher class which is discarded in case Java 7 is not available.

Thanks a lot for you quick answer!

it would generally be safer to move code to a dispatcher class which is discarded in case Java 7 is not available.

How would that look like? Do you have an example for this approach which is used in some OS project?

it would generally be safer to move code to a dispatcher class which is
discarded in case Java 7 is not available.
How would that look like? Do you have an example for this approach which
is used in some OS project?

I've used a Platform class (idea stolen from okhttp), which has a Java6
variant once via reflection you know which to keep.

Have a look at these dispatchers which do the same job in Byte Buddy: https://github.com/raphw/byte-buddy/blob/master/byte-buddy-dep/src/main/java/net/bytebuddy/dynamic/loading/ByteArrayClassLoader.java

@yurishkuro I think this should be good enough. Or should I reiterate?

Nice! Are you planning to do a bugfix release? Otherwise, when is 0.19.0 scheduled?


Add a method allowing to remove header

Hi,
Is it possible to add a method allowing to remove header from response (and request).
Regards,

Already fixed in master branch. Waiting for a release.


Circuit breaker: allow to fallback to another service

Is your feature request related to a problem? Please describe.
I use spring cloud gateway with circuit breaker to route requests to service A. But when service A is down/unavailable and circuit breaker is open I want to route this request to another service (service B). At this moment I don't have such an opportunity. The only routing I can perform when circuit breaker is open is to service A to another path.
Describe the solution you'd like
Allow to pass other web-service in method  config.setFallbackUri(). At this moment even if I pass: config.setFallbackUri("http://serviceB:9090/api/my-route") only "/api/my-route" is taken.
Describe alternatives you've considered
Dont have ones.
Additional context
This is my code that doesn't work:
    @Bean
    public RouteLocator gatewayRoutes(RouteLocatorBuilder builder) {
        return builder.routes()
                .route(r -> r.path("/api/users")
                        .filters(filterSpec -> filterSpec
                                .circuitBreaker(config ->
                                        config.setFallbackUri(URI.create("http://serviceB:9090/api/backup-users")).setName("defaultCustomizer").addStatusCode("500")))
                        .uri("http://serviceA:8080/api/users"))
                .build();
    }

This is not working because every time serviceA returns 500, the spring cloud gateway tries to route request to "http://serviceA:8080/api/backup-users which is wrong because this is and endpoint in serviceB.  The method  config.setFallbackUri(URI.create("http://serviceB:9090/api/backup-users")) skips ""http://serviceB:9090" and take only the path part: /api/backup-users and tries to route to http://serviceA:8080/api/backup-users which returns 404.

If you created a route to service B with a path predicate of /backup-users does that work?

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.


Heredocs

I think I want to include heredocs... the format should be similar to Markdown:
test ```
    one
    two
    three
    ```

It should start with 3 or more backticks, followed by a newline (or EOL comment), followed by the (possibly tabbed) data, followed by closing backticks of the same count.
The amount of tabs to remove should be determined by how much the closing fence is tabbed.  I.e.,
test ```
        one
        two
        three
    ```

This should only remove four spaces from each line, because the closing fence is 4 spaces over.

I think I'm just going to reject this.
It would be nice if substitution could work inside a heredoc... but what would that look like?
"""
${foo}
"""

Then you need an escape sequence for the $... then you need an escape sequence for the escape...
Using single quotes this way won't work either, since double-single-quotes represents a single quote.
It's much more simple to just do:
test "" ~
    "one"   ~ "\n" ~
    "two"   ~ "\n" ~
    "three" ~ "\n"

There's more to type, but nothing new to learn, more explicit newlines, same escape sequences as before, and concat is optimized at compile-time to jam everything together already.

(also, if the idea here is that you want to embed a text file into the source itself -- we already have embed, hello!)


What is the taxonomy to be used for a component which is a library ?

Hi,
I'd like to identify some components which are libraries (say a .a file).
How can i indicate this with the taxonomy ?
Is it via the CgroupType ?
https://www.keil.com/pack/doc/CMSIS/Pack/html/element_taxonomy.html#CgroupType
It is not clear to me if there is a standard Cgroup for this kind of components ?
Thanks & Regards,
Fred

Hi Fred,
the taxonomy is there to provide "Semantic" to the component, however whether a component content is a library or a set of source modules and header files is captured by the file's element attribute category.
E.g.: in case of the Keil RTX5 component (Cclass="CMSIS", Cgroup="RTOS2", Csub="Keil RTX5") we initially provided a library. Later we have decided to offer the component as source code. Therefore we introduced a Cvariant="Source" and a Cvariant="Library" but this did not impact the rest of the component identification.
Does that answer your question?

Hi Joachim,
so the idea is not to indicate a component as a library but more a file into a component right ?
https://www.keil.com/pack/doc/CMSIS/Pack/html/pdsc_components_pg.html#FileCategoryEnum
So to identify if a component is a library I go down to the file level ?
Is that the approach you would recommend ?
Thanks & Regards,
Fred

Hi Fred,
correct. You need to specify the type of file(s) within a component and identify a library there in any case. (The build tools need to know whether the file needs to be passed to the linker or the compiler).
I would strongly discourage e.g. inventing a Cclass="Library" to tell the user that the component contains a library. This should be irrelevant to the user.

Can we close this item or does someone feel that it needs more discussion?

As the submitter, I agree to close this point.


Parallel Task

The docs in Parallel states:

parallel task will succeed if all the children succeed, fail if one of the children fail.

but that doesn't seem to be the case. I have this:
Parallel<Brain> parallel = new Parallel<>();
parallel.addChild(new TaskA());
parallel.addChild(new TaskB());

I would expect parallel to stop if TaskA fails, but that doesn't happen. Is it a bug or am i misunderstanding something?
Full example

Parallel task waits until all children have finished before it will succeed or fail, see https://github.com/libgdx/gdx-ai/issues/12#issuecomment-135551857

I see. Perhaps the docs on the task could be reworded to avoid potential confusion.

Read my answer on the other thread. Let's keep discussing there.


Fix list merge function

The merge function intends to override generic blocks when they are redefined in user config files.  However, there was no validation avoiding a named block to be defined more than once in a single file.
if I have a block such as:
import_variable "whatever" {
   ...
}

import_variable "external" {
    ...
}

import_variable "whatever" {
   ...
}

I understand that the second whatever block will override the content of the first one as it does if there is a block named whatever in the more context specific user files (i.e. leaves). But it is not the case when the duplicated block is defined in the same config file.
Note that there are a lot of changed files because I changed the base file and used go generate to replicate the changes

Remove Glide from the makefile
Change build step in the makefile to call go generate

Pull Request Test Coverage Report for Build 526

23 of 101 (22.77%)  changed or added relevant lines in 10 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.3%) to 55.916%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

config/generated_hooks.go
11
14
78.57%

config/generated_extra_args.go
9
14
64.29%

config/extension_base_list.go
0
14
0.0%

config/generated_approval_config.go
0
14
0.0%

config/generated_extra_command.go
0
14
0.0%

config/generated_import_files.go
0
14
0.0%

config/generated_import_variables.go
0
14
0.0%

Totals

Change from base Build 513:
-0.3%

Covered Lines:
3313

Relevant Lines:
5925

💛  - Coveralls


Constrain around incompatible typing_extensions

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

This should no longer be necessary after https://github.com/conda-forge/openff-interchange-feedstock/pull/48, though it's not necessarily a bad idea to double guard against the bad combination of
  - python==3.9
  - pydantic==1.10.7
  - typing_extensions==4.6.0

Just coming back from time off - I think this is unnecessary as of the pydantic 0.10.8 release earlier today, right? At this time I'm slightly against this pin because it tries to fix an incompatibility which 1) has now been fixed in prod and 2) is outside our ecosystem.

If we don't have this constraint, we should add in one like pydantic >=0.10.8


proper implementation of float and double parsers from text representation

right now we use recognize_float then call .parse::<f64>() on the recognized input, which means the data is parsed twice. It is necessary because parse() assumes it has the full input, and will not return remaining input data if there is some after the number. This is the main reason for serde being faster than nom on JSON benchmarks: serde constructs the number as it is parsing it.
We need a float parser that does that.

What about parsing something like 0.01f32 as seen in rust?

@pickfire not really in scope. Anyone can implement that by writing terminated(float, tag("f32"))

nom 5 will now use the lexical-core crate to parse float since 40f20aa070c


A catbuffer-generator should be used to avoid duplicated structures

Things like EntityDTO are already described in a catbuffer-schema.
We could avoid this redundancy by generating parts of the OpenAPI spec from the schemas using an openapi-generator. In this way we keep a single source of truth.
As a bonus, that would import the docs too \o/

This issue is related to https://github.com/symbol/catbuffer-schemas/issues/2
I did a bit of search, catbuffer schemas don't match the mongo collections completely, and the open API spec follows the mongo schema, not the catbuffer schemas.  You will have mismatches as described in the schema issue

Ah, nice to see there's already some research into this!
I'll continue the discussion there.

Maybe we can generate the basic types or some entities while leaving the mismatched ones manually created. Also, there is information not found in catbuffer that can appear in open API, for example, the meta fields.


Move NPM stats higher up the page [JS]

Remember: "outcomes over input"

Moved up. New order is:

Onchain
(soon) Dependents
Packages
Github
(later) Funding


add license for source code.

thanks to @jellonek.
fixed #3

@jellonek I'd like retain original license and add modifications copyright. I'm not very familiar with licensing. thanks!


How to fix map wobbles during scrolling

Ionic version:

[x] 4.x
I am working on ionic 4 app.in my application Map section on venue page wobbles when moving at the moment if i scroll quick enough the map follows the screen and appears sticky. I dont know how to fix this issue. Any help would be appreciated..

[ ] bug report
[ ] feature request

Current behavior:

Expected behavior:

Steps to reproduce:

**
loadMap() {
const location = new LatLng(this.venue.latitude, this.venue.longitude);
    this.map = GoogleMaps.create('map_canvas', {
        camera: {
          target: location,
          zoom: 18,
          tilt: 0
        }
    });

    const marker: Marker = this.map.addMarkerSync({
        title: this.venue.name,
        snippet: this.venue.strapline,
        position: location,
        animation: GoogleMapsAnimation.BOUNCE
    });
}:

**

Other information:

Ionic info:

insert the output from ionic info here

You might need to disable scrolling on whatever container the map is in. I am going to close this as this is more of a support question. For further help with this, I recommend posting on our forums or our slack. Thanks!


Update AWS deployment guide prerequisites

Name and Version
dial-2.7.0
What is the problem this feature will solve?
Help configure Secrets Manager
What is the feature you are proposing to solve the problem?
Add https://secrets-store-csi-driver.sigs.k8s.io/
What alternatives have you considered?
No response

https://github.com/epam/ai-dial-helm/pull/100


feat(handlers): add createIntegration()

Please describe the changes this PR makes and why it should be merged:
Status

[ ] Code changes have been tested against the Discord API, or there are no code changes

Semantic versioning classification:

[x] This PR changes the library's interface (methods or parameters added)

[ ] This PR includes breaking changes (methods removed or renamed, parameters moved or removed)

[ ] This PR only includes non-code changes, like changes to documentation, README, etc.

This endpoint cant be used by bots and DD doesnt support self bot usage

This endpoint cant be used by bots and DD doesnt support self bot usage

@itohatweb If this endpoint is already in constants lets already remove that plz

@itohatweb If this endpoint is already in constants lets already remove that plz

Gonna remove it

Gonna remove it


docs: best practices

@tobySolutions
Please describe the changes this PR makes and why it should be merged:
Status

[ ] Code changes have been tested against prettier, or there are no code changes
[ ] I know how to update typings and have done so, or typings don't need updating

Semantic versioning classification:

[ ] This PR changes the codebase

[ ] This PR includes breaking changes (methods removed or renamed, parameters moved or removed)
[ ] This PR changes the internal workings with no modifications to the external API (bug fixes, performance improvements)

[ ] This PR only includes non-code changes, like changes to documentation, README, etc.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 34 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.4%) to 39.264%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/compiler/react.ts
0
34
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.4%

Covered Lines:
816

Relevant Lines:
2182

💛  - Coveralls

Thanks, Aiden!! I'm on it.

I made a lot of updates to the "Thinking in Million.js" and "Rules of Blocks" pages @aidenybai. Can you please review this? Also, I need help with completing the "Unexpected behavior" section of the "Rules of blocks"
Thanks!!

Good job @aidenybai! 🚀🚀🚀.

Awesome!! Almost done, I guess?


create place holder for navbar and add alt text to each link

as title

Done. I placed only navbar in index and use an iframe to load all other html files.


Chromedriver not working on Linux anymore

Since the Raspi compatibility, the Chromedriver binary for Linux is 32 bit ARM only and cannot be run on x86_64 anymore.

#42 supporting both architectures again, already merged into master

#43 @plorenz-etes  pls test

I suppose that is related to the bug, or did I make a mistake? On Ubuntu 20.04

I suppose that is related to the bug, or did I make a mistake? On Ubuntu 20.04
@philippweinmann I changed the driver some minutes ago, pls verify if your master branch is up to date :) If thats the case, we might have to include a download for the linux drivers.

Works fine now, thanks!
The error reported by @philippweinmann was the same I got before.

@JuliusJacobitz Works great now! Thanks :)


fix broken links and reorganize build from source page

Description
This PR fixes broken links and updates the build from source page.
Preview
http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-12962/2/install/build_from_source.html
Comments
The examples now use cmake. Reviewers please verify that the switches' names didn't change for things like opencv and cuda and cudnn between cmake and make.

@aaronmarkham Thanks for the contribution!
@mxnet-label-bot [pr-awaiting-review]

@lebeg - Are the cmake flags in the examples alright? Should there be some others?

I am wondering this if the build instructions are tested in CI to make sure we are aware of any breakage and users aren't surprised and frustrated.

can you please share a screenshot on how the install selection will look like?

@nswamy ping!

@aaronmarkham have you tested the cmake flags in the doc?
Anything else the community can help with?

I pulled the flags from the cmake PR. I haven't tested the variations. It would be great if the community provided tested/recommended cmake flags for the doc.

I had offline discussion with @aaronmarkham and expressed a concern, I am noting here that we suggest to use make in some places, now we seem to be making this decision to advise our users to use CMake instead. I am not saying this is bad, but that we should make it consistent across.
For example Scala still uses make, if we start migrating to CMake and any new feature or flag is introduced in cmake files and forget to maintain in both the places, it will lead to inconsistency in performance/features, etc.,
Should we have discussion on dev@ and make a concerted effort to move to CMake ? WDYT?

@lebeg is that the command we run in CI?

@nswamy we had already discussions about this and moving to cmake exclusively is the way forward. At the time we are running both make and cmake in CI: runtime_functions.sh

Here is a link to an old discussion: https://github.com/apache/incubator-mxnet/issues/8702

Discussion on @dev

Thanks for sharing the links. I agree we should move to cmake still doesn't address the inconsistency that can arise, I am assuming you'll start a separate effort to deprecate Make.


indenta:0.0.1

I am submitting

[x] a new package
[ ] an update for a package

Description: Fix the indentation of the first paragraph in typst.

I have read and followed the submission guidelines and, in particular, I

[x] selected a name that isn't the most obvious or canonical name for what the package does
[x] added a typst.toml file with all required keys
[x] added a README.md with documentation for my package
[x] have chosen a license and added a LICENSE file or linked one in my README.md
[x] tested my package locally on my system and it worked
[x] excluded PDFs or README images, if any, but not the LICENSE

[ ] ensured that my package is licensed such that users can use and distribute the contents of its template directory without restriction, after modifying them through normal use.

Thank you :)


Bug: EditorState is corrupted in next.js

I have developed a very simple editor for which I am trying to set the initial state. I am running the same experiment in both, a Create-React-App (CRA) and in a Create-Next-App (NextJS) environment.
I should also note, that it is not directly a next.js problem. If you create a new next.js project and set things up there it works. I have a standalone CRA + storybook based component library. Everything works in there. But as soon as I package it up and import the editor in a NextJS environment, that's where I see this corrupted Lexical Editor State.
i.e. import { MyEditor } from '@mycompany/molecules'

The component that works perfectly in the CRA environment, throws an error on the NextJS environment.

Lexical version: 0.8.1
Steps To Reproduce
Not that easy to reproduce, but ask me what I should try, I will do and post a screenshot in here. In case you still want to here's how to reproduce

npx create-react-app molecules && cd molecules
Create a simple editor component where you pass the initialEditorState as a function to the editorConfig
You will observe that the initialEditorState function executes successfully in the CRA environment
You are happy with the editor and want to make it available to your other apps. So you build (with rollup) and publish the component library to a npm registry.
You then import the editor in your other projects and try to render your editor with an initialEditorState function i.e. <MyEditor initialEditorState={initialEditorState} />
Error message "Unable to find active editor state" will be thrown

The expected behavior
The first and second screenshot should look identical. Instead in the second screenshot I am left with a somewhat corrupted editor state.

Also what is the initialEditorState you're passing in?

@acywatson here is my initialEditorState function. This is actually working if I render this component in my local storybook environment. Only after packaging and importing into a next.js app I get this corrupted editor state. Will try to set up a reproduction repo.

The initialEditorState function is directly passed to editorConfig.editorState like so.

I don't think this has anything to do with editor state being corrupted. Somehow that initialEditorState function is not being invoked in an editor.update callback.
As a quick test, try just taking that editor that gets passed into initialEditorState and calling update on it, then doing the rest of your logic. What are you doing with initialEditorState inside of EditorVivaldi component?

Ok I was able to setup a reproduction repo. I am not doing much in initialEditorState yet, because I can't get it running in the first place. But my goal is to prepopulate the editor exactly like in the Lexical Playground. The error persists whether or not the initialEditorState logic is put inside editor.update(() => { // here }). And just to be clear, in the Lexical Playground too, the logic is directly placed inside the initialEditorState function.

This is the repo with the error message! Inside this next.js app I am trying to import and render MyEditor.
https://codesandbox.io/p/sandbox/amazing-bohr-3k6s80?file=%2Fsrc%2Fpages%2Findex.tsx
https://github.com/soosap/my-app
This is the link to the repo of my custom lexical editor that is packaged up using rollup.
https://codesandbox.io/s/github/soosap/my-editor?file=/src/components/MyEditor/MyEditor.tsx
https://github.com/soosap/my-editor

And just to be clear, in the Lexical Playground too, the logic is directly placed inside the initialEditorState function.

Right, but that's because that function is called inside an editor.update in the implementation of LexicalComposer. I couldn't tell if that's also happening in "MyEditor", because I couldn't see the implementation of that component.

@acywatson oh okay now I understand, sorry. Yes that’s right, the logic is called inside an editor.update environment. It’s passed directly to editorConfig.editorState.

Well, one thing that might be an issue is that lexical is a dependency of my-editor, but not of my-app. It should probably be a peerDependency of my-editor and a dependency of my-app. I'm not sure this is the issue, but this doesn't sound like a Lexical-specific problem so far.

Hi @acywatson, I can't believe it - you were right :D The missing peer dependency was the problem here. Lesson learned! Thanks for the pointers.


Add profiles.json schema to doc folder

Summary of the Pull Request
Updated the JSON schema referenced in #1003
Adding it to our repo so we can reference it in the profiles.json file

References
#1003

PR Checklist

[ ] Closes #xxx
[x] CLA signed. If not, go over here and sign the CLA
[ ] Tests added/passed
[ ] Requires documentation to be updated
[x] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

notes from use: source is allowed in profile, globals is not required (all globals objects can be merged with the root optionally), and name or guid are the only truly required fields for Profile as of #754.

and key bindings fail to validate for \ and | and all symbols; suggest widening \w to [^+\s] (all characters that are not plus) or space

For the key bindings, ^(?<modifier>(ctrl|alt|shift)\+?((ctrl|alt|shift)(?<!\2)\+?)?((ctrl|alt|shift)(?<!\2|\4))?\+?)?(?<key>[^+\s]+?)?(?<=[^+\s])$ works (needs escaping again)

@bitcrazed i'm dismissing your review because you left one comment and it's since been fixed.


Normalize workman-layout.workman 2.0.0

null
Microsoft Reviewers: Open in CodeFlow

@wingetbot waivers Add Validation-Executable-Error


Use INormalizationLayer for GroupNorm

Description
Using INormalizationLayer has higher performance than the break-down implementation. Also resolved the issue mentioned by @cehongwang at https://github.com/pytorch/TensorRT/pull/3014#discussion_r1683881650.
Break-down implementation:
Min=8.936863899230957 ms, Mean=9.042274608612061 ms, Max=9.334688186645508 ms

INormalizationLayer:
Min=7.136256217956543 ms, Mean=7.218872976303101 ms, Max=7.480256080627441 ms

Checklist:

[x] My code follows the style guidelines of this project (You can use the linters)
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas and hacks
[ ] I have made corresponding changes to the documentation
[ ] I have added tests to verify my fix or my feature
[x] New and existing unit tests pass locally with my changes
[ ] I have added the relevant labels to my PR in so that relevant reviewers are notified

@HolyWu I think this PR is almost good to go. Can you rebase/merge again? thanks


CTRL-Enter for sending new email does not work anymore

Hi,
I just updated to the latest version and now CTRL-Enter for sending new email does not work anymore. I also do not see the shortcut in the Help pop-up anymore.
Was this option removed by accident or for some reason? I would like it back if that's okay with you :)

What do you think to add this option as checkbox to the admin panel?

What do you think about this setting + a timer to allow to cancel sending?


axisFormat has disappeared ...

As reported on the forum, the axisFormat (that controls the format of the left time axis in the agenda modes) has disappeared.  It was in the versions that were committed on February 27, 2015, but missing in the version committed on March 2, 2015.
It looks as if this was an oversight, rather than an intentional omission, as there is no mention of it having been dropped.  For anyone used to seeing times in 24-hour format, this is a useful configuration option that is fully supported by the underlying fullcalendar widget.
If I get a chance, I will try to add these back in myself and create a pull request.
Thanks,
John

Thanks @shott, your fix is available in https://github.com/mendix/Calendar/releases/tag/v4.2.2


Initial implementation of gcp.serverless.Function

Implemented gcp.serverless.Function in a way similar to aws.serverless.Function.
Limitations for now:

HTTP-only, I haven't spend time on looking at other triggers yet
Handler has no proper type definition. Might want to use express types? Should be adapted for other triggers too

Any feedback welcome!

BTW - one question for @CyrusNajmabadi - should we put this in this package, or in a gcp-serverless package?  What's our plan for the corresponding functionality for AWS and Azure (I think we are inconsistent across those two currently?).

BTW - one question for @CyrusNajmabadi - should we put this in this package, or in a gcp-serverless package? What's our plan for the corresponding functionality for AWS and Azure (I think we are inconsistent across those two currently?).

I don't think we have a plan per-se.  It's worth deciding now since any changes in the future would be more breaking changes.  I think my overall preference would be:

Keep the core cloud packages very simple.  So pulumi/aws/pulumi/azure/pulumi/gcp are effectively just the projections of those cloud provides into Resources that users can use, without much special logic in them at all.
Logic around bridging hte gap between JavaScript functions and Cloud Lambdas/FunctionApps/etc. can go in pulumi/***-serverless.  so pulumi/aws-serverless/pulumi/azure-serverless/pulumi/gcp-serverless.
Logic to help easily connect Resources and expose things like cloud-triggers also stays in those same packages, and should feel very much like it it fits the patterns and terminologies of those respective Cloud providers.  So, for example, serverless.s3.onObjectCreated(bucket, ...) (in the AWS lib), or serverless.storage.onBlobEvent(account, ...), etc. etc.

Effectively, keep the core libraries simple without much actual custom logic.  Put all the logic for lambdas/functions/triggers/connections in one package.
Does that seem reasonable to use @lukehoban ?

@mikhailshilkov I opened https://github.com/mikhailshilkov/pulumi-gcp/pull/1 to show what using overlays would look like. I think that if we get that in, we're good to merge on this.
The conversation @lukehoban and @CyrusNajmabadi are having at the end of this PR is a longer-term discussion we need to have (and frankly looks like we're leaning towards doing precisely what your PR does). Either way, shouldn't hold up getting this very good work landed so people can use GCP functions more easily!

Either way, shouldn't hold up getting this very good work landed so people can use GCP functions more easily!

Agreed - let's get this in once we've integrated the overlay changes, and then we can tackle the factoring as part of reviewing this factoring across AWS, Azure and GCP.

LGTM! Seems there are conflicts, if you want to resolve them, happy to merge as soon as you're ready! We finish our major release today so looks like this will be part of it 😁🎉


fix: remove OIDC auth from Http Api

Issue #, if available:
N/A
Description of changes:
OIDC and OAuth2 are the same authorization on the backend and the configuration for both is practically the same. This was causing some confusion for customers (and for us), so we decided to remove OIDC and only support the OAuth2 strategy for GA for Http Apis.
Description of how you validated changes:
Local and cloud testing
Checklist:

[x] Write/update tests
[x] make pr passes
[x] Update documentation
[ ] Verify transformed template deploys and application functions as expected
[ ] Add/update example to examples/2016-10-31

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #1491 into develop will increase coverage by 0.02%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop    #1491      +/-   ##
===========================================
+ Coverage     94.1%   94.12%   +0.02%
===========================================
  Files           78       78
  Lines         4900     4921      +21
  Branches       988      989       +1
===========================================
+ Hits          4611     4632      +21
  Misses         134      134
  Partials       155      155

Impacted Files
Coverage Δ

samtranslator/model/api/http_api_generator.py
92.27% <ø> (+0.06%)
:arrow_up:

samtranslator/model/apigatewayv2.py
93.93% <100%> (-0.8%)
:arrow_down:

samtranslator/model/eventsources/push.py
90.78% <0%> (ø)
:arrow_up:

...translator/plugins/api/implicit_rest_api_plugin.py
100% <0%> (ø)
:arrow_up:

samtranslator/model/sam_resources.py
94.29% <0%> (ø)
:arrow_up:

samtranslator/plugins/globals/globals.py
99.05% <0%> (ø)
:arrow_up:

samtranslator/plugins/api/implicit_api_plugin.py
98.24% <0%> (+0.01%)
:arrow_up:

...translator/plugins/api/implicit_http_api_plugin.py
97.43% <0%> (+0.94%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ef92c3f...4dbc15a. Read the comment docs.

Codecov Report

Merging #1491 into develop will increase coverage by 0.02%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #1491      +/-   ##
===========================================
+ Coverage    94.10%   94.12%   +0.02%
===========================================
  Files           78       78
  Lines         4900     4921      +21
  Branches       988      989       +1
===========================================
+ Hits          4611     4632      +21
  Misses         134      134
  Partials       155      155

Impacted Files
Coverage Δ

samtranslator/model/sam_resources.py
94.29% <0.00%> (ø)

samtranslator/model/eventsources/push.py
90.78% <0.00%> (ø)

samtranslator/plugins/globals/globals.py
99.05% <0.00%> (ø)

...translator/plugins/api/implicit_rest_api_plugin.py
100.00% <0.00%> (ø)

samtranslator/plugins/api/implicit_api_plugin.py
98.24% <0.00%> (+0.01%)
:arrow_up:

samtranslator/model/api/http_api_generator.py
92.27% <0.00%> (+0.06%)
:arrow_up:

samtranslator/model/apigatewayv2.py
93.93% <0.00%> (-0.80%)
:arrow_down:

...translator/plugins/api/implicit_http_api_plugin.py
97.43% <0.00%> (+0.94%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ef92c3f...4dbc15a. Read the comment docs.

Codecov Report

Merging #1491 into develop will increase coverage by 0.02%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop    #1491      +/-   ##
===========================================
+ Coverage     94.1%   94.12%   +0.02%
===========================================
  Files           78       78
  Lines         4900     4921      +21
  Branches       988      989       +1
===========================================
+ Hits          4611     4632      +21
  Misses         134      134
  Partials       155      155

Impacted Files
Coverage Δ

samtranslator/model/api/http_api_generator.py
92.27% <ø> (+0.06%)
:arrow_up:

samtranslator/model/apigatewayv2.py
93.93% <100%> (-0.8%)
:arrow_down:

samtranslator/model/eventsources/push.py
90.78% <0%> (ø)
:arrow_up:

...translator/plugins/api/implicit_rest_api_plugin.py
100% <0%> (ø)
:arrow_up:

samtranslator/model/sam_resources.py
94.29% <0%> (ø)
:arrow_up:

samtranslator/plugins/globals/globals.py
99.05% <0%> (ø)
:arrow_up:

samtranslator/plugins/api/implicit_api_plugin.py
98.24% <0%> (+0.01%)
:arrow_up:

...translator/plugins/api/implicit_http_api_plugin.py
97.43% <0%> (+0.94%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ef92c3f...4dbc15a. Read the comment docs.

Added an explicit error in latest commit.

Codecov Report

Merging #1491 into develop will increase coverage by 0.02%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #1491      +/-   ##
===========================================
+ Coverage    94.10%   94.13%   +0.02%
===========================================
  Files           78       78
  Lines         4900     4925      +25
  Branches       988      990       +2
===========================================
+ Hits          4611     4636      +25
  Misses         134      134
  Partials       155      155

Impacted Files
Coverage Δ

samtranslator/model/apigatewayv2.py
93.93% <0.00%> (-0.80%)
:arrow_down:

samtranslator/model/sam_resources.py
94.29% <0.00%> (ø)

samtranslator/model/eventsources/push.py
90.78% <0.00%> (ø)

samtranslator/plugins/globals/globals.py
99.05% <0.00%> (ø)

...translator/plugins/api/implicit_rest_api_plugin.py
100.00% <0.00%> (ø)

samtranslator/plugins/api/implicit_api_plugin.py
98.24% <0.00%> (+0.01%)
:arrow_up:

samtranslator/model/api/http_api_generator.py
92.40% <0.00%> (+0.18%)
:arrow_up:

...translator/plugins/api/implicit_http_api_plugin.py
97.43% <0.00%> (+0.94%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ef92c3f...ea60b27. Read the comment docs.

Codecov Report

Merging #1491 into develop will increase coverage by 0.02%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop    #1491      +/-   ##
===========================================
+ Coverage     94.1%   94.13%   +0.02%
===========================================
  Files           78       78
  Lines         4900     4925      +25
  Branches       988      990       +2
===========================================
+ Hits          4611     4636      +25
  Misses         134      134
  Partials       155      155

Impacted Files
Coverage Δ

samtranslator/model/apigatewayv2.py
93.93% <100%> (-0.8%)
:arrow_down:

samtranslator/model/api/http_api_generator.py
92.4% <100%> (+0.18%)
:arrow_up:

samtranslator/model/eventsources/push.py
90.78% <0%> (ø)
:arrow_up:

...translator/plugins/api/implicit_rest_api_plugin.py
100% <0%> (ø)
:arrow_up:

samtranslator/model/sam_resources.py
94.29% <0%> (ø)
:arrow_up:

samtranslator/plugins/globals/globals.py
99.05% <0%> (ø)
:arrow_up:

samtranslator/plugins/api/implicit_api_plugin.py
98.24% <0%> (+0.01%)
:arrow_up:

...translator/plugins/api/implicit_http_api_plugin.py
97.43% <0%> (+0.94%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ef92c3f...ea60b27. Read the comment docs.


Add found global configuration files to pixi info

Problem description

would be nice to see the config file here if it exists and is used.

That should already be the case, actually.

i'm using the latest build from #988 (https://github.com/prefix-dev/pixi/pull/988/commits/208f38a9385ce286fdffebd4d15eef3f893dfd35)


Use hyphen as default for member names when converting Eloquent attributes

The JSON API spec recommends that member names use the lower case characters a-z and the hyphen - as the only allowed characters for member names. This is also the default being adopted by other libraries that implement the spec, e.g. Ember Data.
The recommendation is made here:
http://jsonapi.org/recommendations/#naming
Make this the default implementation for this library, by changing EloquentSchema::keyForAttribute() and AbstractSortedSearch::columnForField() methods.
Applications not following this recommendation can keep the old behaviour by overloading these methods.

Closing as this is available via Componser on the v0.5.x-dev release


upgrade tests to docker

Codecov Report

Merging #62 into dev will decrease coverage by 3.4%.
The diff coverage is 100%.

@@           Coverage Diff            @@
##            dev      #62      +/-   ##
========================================
- Coverage   100%   96.59%   -3.41%
========================================
  Files         8       14       +6
  Lines       247      588     +341
========================================
+ Hits        247      568     +321
- Misses        0       20      +20

Impacted Files
Coverage Δ

features/environment.py
100% <100%> (ø)

features/steps/constants.py
100% <0%> (ø)

features/steps/general.py
94% <0%> (ø)

features/steps/connection-mode.py
98.36% <0%> (ø)

features/fixtures.py
90% <0%> (ø)

features/steps/return_types.py
91.11% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f9b1d32...a89097e. Read the comment docs.

Codecov Report

Merging #62 into dev will not change coverage.
The diff coverage is n/a.

@@         Coverage Diff         @@
##            dev    #62   +/-   ##
===================================
  Coverage   100%   100%
===================================
  Files         8      8
  Lines       247    247
===================================
  Hits        247    247

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f9b1d32...c83e06b. Read the comment docs.


Dropping an index should not wait for cursors

FerretDB version
v1.5.0-1-gcbd9e06a
Backend
PostgreSQL
Environment

OS: Ubuntu 22.10 x86_64
Deployment: v1.5.0-1
Deployment details: 23.0.3

What did you do?
I am too not sure what's happening here exactly but it seems an open cursor will prevent drop indexes from acquiring an exclusive lock on the table. The below message is also logged after some time has passed:
LOG: skipping analyze of "block_forever_d2f00f6f" --- lock not available

On MongoDB if a cursor's waiting on documents and an interleaving drop index happens that dropped an index depended on by the query, the next getMore will get a QueryPlanKilled error.
See repro #3004.
What did you expect to see?
not to block, show dbs does not work but some commands do I suspect one's that are able to acquire a lock.
What did you see instead?
It just blocks forever

That seems to be fixed now


 Who runs it?

Request description
Is the quality and standard of the Apache project so low?
Environment

your ShardingSphere-Operator Version
Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version

Please submit a new issue if you have any good suggestions.


Move optimizer libraries to extra requirements

Given the nature of the repo, I believe it should be possible (and well worth the effort) to write code such that there is no need to install all the optimizers that it supports in order to run it and only install the ones that are needed. This is of particular relevance now that I'm including Dragonfly code in the development branch. I believe that if we shift the respective imports to the respective 'run' methods, it should suffice.

Another alternative is to move each optimizer to its own module and import the modules only when needed.

Sounds good! Iike the second idea more. Is this okay for you? But to be honest I don't have a particular reason for this approach :smile:
Then I would do it as soon as possible.

Commit 3be78ee4640c9f4a32471b85e02040ea169889c4 includes the desired changes.

I think this would be necessary if you don't want to install and set up dragonfly just in order to avoid import errors. Likewise, I would prefer to avoid installing SMAC unless I actually need to use it.


[Gally]: master <- dev

Automatically created by Git-Ally

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


not working after majave 10.14.6 supplemental update

Karabiner-Elements 12.5.0 not working after installing the Mojave 10.14.6 supplemental update.
Do I need to install the beta version?

Please restart your macOS.
https://pqrs.org/osx/karabiner/help.html#stopped-working-after-macos-update

Thx! It worked!


When deploying to heroku, I can see a package named "actionmailer"

Are you mailing you all the picture that happen to be converted ?
Thanks.

No - ActionMailer is a dependency of Rails, as you can see from the Gemfile.lock. Nowhere in the code any ActionMailer reference is used. You can do a search.


Select editor font

It would be great if there was an option to select the font and base font size of editor.

Thanks for you fast implementation of this feature!
I tested it, and it's great. But I noticed that the font of h1 and h2 elements are different. And when I put a link, the font and font size of link look different from regular text.

I mean there are some inconsistencies in text editor. It would be great if font and font size of different parts in editor were more consistent.
Adding an option for selecting monospace font is great too.
Thanks for your great effort

@mjnaderi: That's partly due to how the original implementation of the highlighter highlights things. I'm planning to force those to not change their font size and family to ensure that it's consistent.
It should be done around today to Sunday, because 4th of July weekend.

@mjnaderi: Also, the screenshot you're showing for the link shows the link part as italicized. I don't think that's what you meant by it changes size, but, the h# ones are the ones that don't have sizes consistent with the rest of the highlighted text. I got the not forcing font size and family in highlighter done, just need to push it.

Closing since it's implemented in commit (unless further feedback is given).