Command 'glassit.increase' not found

As of this version the extension stopped working causing the error: (command 'glassit.increase' not found) when trying to use the shortcut ctrl+alt+z.

This extension was working for me in VSCode on Ubuntu 22.10, but seems to have stopped working as of a few weeks ago. I believe it happened after I upgraded as @angelzarza said.

@aygharib @angelzarza perhaps you should check the extension logs to see what is going wrong. Ctrl+Shift+P (command palette) > Developer: Show Logs > Extension Host

@PotatoesFall
[info] ExtensionService#_doActivateExtension s-nlf-fh.glassit, startup: true, activationEvent: '*'
[error] Activating extension s-nlf-fh.glassit failed due to an error:
[error] Error: Command failed: pgrep 119
at checkExecSyncError (node:child_process:848:11)
at Object.execSync (node:child_process:922:15)
at Object.execSync (node:electron/js2c/asar_bundle:5:12704)
at activate (/home/angel/.vscode/extensions/s-nlf-fh.glassit-0.2.5/extension.js:55:35)
at Ui.db (/snap/code/119/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:108:14818)
at Ui.cb (/snap/code/119/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:108:14519)
at /snap/code/119/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:108:12519
at async f.n (/snap/code/119/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:94:6818)
at async f.m (/snap/code/119/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:94:6781)
at async f.l (/snap/code/119/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:94:6238)`

Problem's resolved after #46 was merged

@angelzarza Can you close this issue if the problem has been fixed on your end as well?


Avoides allocation with constExpr execution

Previously executConstExpr is called various places, and therefore it was necessary to return interface{}
and that resulted in allocation per call.
This commit avoids the allocation by adding executConstExprI32 which is used by data segment manipulation,
and repurposes executConstExpr solely to global instance initialization.
As a result, this completely removes the allocation around const expr execution, and hence the perf improvement
in the instantiation phrase. The improvement diff is proportionate to the number of data segments and globals.
$ benchstat old.txt new.txt
name                                    old time/op    new time/op    delta
Initialization/interpreter-32             36.0µs ± 1%    36.1µs ± 3%    ~     (p=0.481 n=26+26)
Initialization/interpreter-multiple-32    38.5µs ± 9%    37.9µs ±10%    ~     (p=0.114 n=29+30)
Initialization/compiler-32                28.7µs ± 9%    27.9µs ±10%  -2.94%  (p=0.019 n=30+30)
Initialization/compiler-multiple-32       25.1µs ± 9%    23.9µs ± 6%  -4.69%  (p=0.000 n=30+29)
Compilation/with_extern_cache-32           197µs ± 1%     197µs ± 1%    ~     (p=0.971 n=30+30)
Compilation/without_extern_cache-32       5.89ms ± 1%    5.91ms ± 1%  +0.30%  (p=0.021 n=30+30)

name                                    old alloc/op   new alloc/op   delta
Initialization/interpreter-32              136kB ± 0%     136kB ± 0%  -0.01%  (p=0.000 n=24+30)
Initialization/interpreter-multiple-32     137kB ± 0%     137kB ± 0%  -0.01%  (p=0.000 n=27+27)
Initialization/compiler-32                 137kB ± 0%     137kB ± 0%  -0.01%  (p=0.000 n=26+23)
Initialization/compiler-multiple-32        142kB ± 0%     142kB ± 0%  -0.01%  (p=0.000 n=26+27)
Compilation/with_extern_cache-32          54.6kB ± 0%    54.6kB ± 0%  +0.01%  (p=0.022 n=30+30)
Compilation/without_extern_cache-32       1.99MB ± 0%    1.99MB ± 0%    ~     (p=0.416 n=26+30)

name                                    old allocs/op  new allocs/op  delta
Initialization/interpreter-32               38.0 ± 0%      35.0 ± 0%  -7.89%  (p=0.000 n=30+30)
Initialization/interpreter-multiple-32      57.0 ± 0%      54.0 ± 0%  -5.26%  (p=0.000 n=30+30)
Initialization/compiler-32                  38.0 ± 0%      35.0 ± 0%  -7.89%  (p=0.000 n=30+30)
Initialization/compiler-multiple-32         47.0 ± 0%      44.0 ± 0%  -6.38%  (p=0.000 n=30+30)
Compilation/with_extern_cache-32             982 ± 0%       982 ± 0%    ~     (all equal)
Compilation/without_extern_cache-32        32.6k ± 0%     32.6k ± 0%    ~     (p=0.913 n=30+30)

Compilation/without_extern_cache-32       5.89ms ± 1%    5.91ms ± 1%  +0.30%  (p=0.021 n=30+30)

this must be the noise - this commit doesn't change any code path of compilation.

running fuzzing just in case.

good to go


Question: Hide Side-Drawer Gallery Button

Hi, I've gone through the card settings but can't find anything related to toggling off the side-drawer that popups as an fixed overlay on the frigate card. I already have a dedicated button to access the gallery, so it makes it rather redundant.
How do I go about turning this off? Thanks

I think you mean you want to hide the thumbnail carousel in the live view and possibly the media viewer:
[...]
live:
  controls:
    thumbnails:
      mode: none
media_viewer:
  controls:
    thumbnails:
      mode: none

Works great, thank you!


[UI] Orbs show completed orb stitched to the bottom

Describe the bug
Empty orbs have the completed orb stitched below their texture
To Reproduce
Steps to reproduce the behavior:

Craft any orb
open a double chest
drag the orb up

Expected behavior
Only see the empty orb
Screenshots

Known Pixelmon bug. Nothing to be done on our end :( Closing.


Stack doesnt work as intended.

Hey there, let me be first to write here.
So i got the stack running on Unraid server, its a bit complicated, cos docker compose is not the Unraid official support, but it started and i can login to all containers.
So what i have for now.

Bandwith monitor container ( see only logs:

Prometheus container, no info, connection to Monitor is set i guess (it has domain name connection not set, but i guess localhost is fine)

3)Grafana, as there is no data from 2 of those, i would not see anything there, have zero dashboard
The thing is why monitor is not running as intended or there is some connection error between monitor and prometheus

Mikrotik admin passwords are okay (tried 2 accounts
Mikrotik kid control enabled

Mikrotik doest give any error logs, and monitor also doesnt give any logs.

upd:: Monitor gave error logs at last.

Hi,
I can see that you have set bandwidth_monitor.env on your side. Looks like Docker can't connect to <IP_ADDRESS>. Have you verified manually? I suspect this could be the case here.
Personally I run it on Podman on OMV and I didn't need to configure any networking, it shouldn't require any additional network setup on Docker either.

Hi, I can see that you have set bandwidth_monitor.env on your side. Looks like Docker can't connect to <IP_ADDRESS>. Have you verified manually? I suspect this could be the case here. Personally I run it on Podman on OMV and I didn't need to configure any networking, it shouldn't require any additional network setup on Docker either.

I logged to Monitor console and made a ping to router and it passes through

Have you verified that you have connectivity to WebFig? If you use WebFig with HTTPS you need to change port and protocol. Despite that, there could be something with firewall here.

Have you verified that you have connectivity to WebFig? If you use WebFig with HTTPS you need to change port and protocol. Despite that, there could be something with firewall here.

What version of RouterOS are you using?
As im reading Mikrotik Rest API documents here:
https://help.mikrotik.com/docs/display/ROS/REST+API
To start using REST API, the www-ssl or www (starting with RouterOS v7.9)
I tried to make a terminal command to Mikrotik API

Maybe it is just not the version of my RouterOS?

I see. I’m running my router on version 7.11.2, I’ll add that to the readme.


adde slices.StringsCoalesce

Coverage increased (+0.1%) to 86.808% when pulling 4c58313b6b71d119c2f57590ffd7fa7d745804c2 on dissoupov into c0e5475007e16c7b95f15fc3ec0f813699d37a6d on main.


attach-to-chat 1: components and stories

Some storybook screenshots:

@songgao wouldn't it be better if this acted more like the search for conversation, rather than the inbox browser?

Meta comment: I wonder if it would just be better and simpler to just do like what the mobile share extension does for this. Drop the whole small/big team deal here (its not important for this view), add a search bar, and sort the whole thing on recency (recency gets you what you want 99% of the time with chat). Otherwise, if I want to share into a conversation in the +2 more area (which on my account is +460 more), I have to know to tap there, scroll down to find it and then tap again. In fact, to integrate you could use the same API the mobile share extension uses, and avoid some messy integration with the chat Redux store.
I know this is a design comment, but this seems in the early stages and maybe some stuff could be tweaked.

Is there something on Zeplin for this?

Yeah @songgao implemented pretty much exactly what's in Zeplin: https://app.zeplin.io/project/56b25ffc64fc91773a73aaf8/screen/5a95d343b034942dab54d67a

https://app.zeplin.io/project/56b25ffc64fc91773a73aaf8/screen/5a72122378046f597afa995e


An error has occurred!

Hi,
nice work, thanks so far.
While trying it, I always get this error:
Invalid Termination Status '1': ditto: /Volumes/012-26510 Temp/Applications/Install macOS Monterey.app/Contents/SharedSupport: Operation not permitted
I'm on an Apple Silicon, but need to create an iso for ESXi.
Thanks

Hi @diBarolo,
Am I able to confirm if you are on a M2 MacBook Pro / M2 MacBook Air?
macOS Monterey 12.4 build 21F2092 is specific to Macs with a M2 chip, and I suspect this is why the ISO is not building correctly.
What happens if you try to create an ISO with macOS 12.4 build 21F79?
Note: Assuming I am correct, you can filter out incompatible builds by selecting Only show compatible versions in the bottom one the Mist window.

It might make sense to disable the download button for incompatible builds, considering they'll never work 🤔

:(

similar errors have been popping during my attempts to use MIST to create bootable installers on an external ssd with 9 partitions, could anyone please give me some pointers as to what I'm doing wrong?
I'm 99.9% convinced this is some rudimentary form of user error on my part....
I'm running MIST on a 16'' M2 MacBook Pro running MacOS 14.4.1
in privacy & security settings I allowed MIST full disc and development tools access, after doing this it did succeed in performing the install to the external SSD on several partitions, however I cannot seem to replicate that succes and have been getting errors again since.
*Sorry if this issue is really a novice error, this is my very first post on Github as I'm not a software developer and do not have basic IT skills at the moment, I'm just trying to help a friend by making a few bootable installers for him whose curiosity is being triggered by these errors.

thanks in advance for any and all replies ;)


How to implement pose classification in unity

Description
I noticed Mediapipe Document
https://google.github.io/mediapipe/solutions/pose_classification.html
I would like to know if this can be implemented in unity and how should it be implemented
Example
pose classification repetition Sign Language Detection
https://www.youtube.com/watch?v=doDUihpj6ro
Any help is greatly appreciated

Actually, there is little I can add to the document you shared.
You can train a k-NN classifier with your favorite language (e.g. Python).
Once you have trained it,

you can implement a Calculator to classify poses in C++
or you can implement a pose classifier in C#.

In the latter case, you also need to implement a function to convert pose landmarks to the input format for the k-NN classifier.

thanks
i'm going to learn K-NN and implement a pose classifier in C#.


Is there a way to raise pull request for any high vulnerabilities ? otherwise there are so many pull requests in code base

we have a legacy code base and we want to priorities the clean up of high vulnerabilities one by one but with dependabot its just raising pull request for all the outdated version . Is there a way to identify if we can use dependabot to raise pull request for  dependencies having high vulnerabilities only or other way to tag those pull request with high vulnerabilities

This is not yet supported in the extension.
Related to #161


Modify Mapbox basemap to streets-satellite

We go from this:

to this:

I think it will fit better with the page UI.

looks good


Update to upstream

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 11 committers have signed the CLA.:white_check_mark: alexey-milovidov:x: supervacuus:x: Swatinem:x: MartinDelille:x: Cyriuz:x: getsentry-bot:x: bitsandfoxes:x: xyz1001:x: sapphonie:x: HazAT:x: markushiYou have signed the CLA already but the status is still pending? Let us recheck it.


Out of Memory error.

In startup phase 1, I get the following out of memory error when I run python run.py my_experiment --map MoveToBeacon
Any leads would be appreciated.
The following is my terminal dump.
pygame 1.9.4
Hello from the pygame community. https://www.pygame.org/contribute.html
Version: B55958 (SC2.3.16)
Build: Jul 31 2017 13:19:41
Version: B55958 (SC2.3.16)
Build: Jul 31 2017 13:19:41
Version: B55958 (SC2.3.16)
Version: B55958 (SC2.3.16)
Build: Jul 31 2017 13:19:41
Build: Jul 31 2017 13:19:41
Command Line: '"/home/srikar/StarCraftII/Versions/Base55958/SC2_x64" -listen <IP_ADDRESS> -port 19052 -dataDir /home/srikar/StarCraftII/ -tempDir /tmp/sc-_w582aqm/ -displayMode 0'
Command Line: '"/home/srikar/StarCraftII/Versions/Base55958/SC2_x64" -listen <IP_ADDRESS> -port 23308 -dataDir /home/srikar/StarCraftII/ -tempDir /tmp/sc-y5a4tnsq/ -displayMode 0'
Command Line: '"/home/srikar/StarCraftII/Versions/Base55958/SC2_x64" -listen <IP_ADDRESS> -port 23486 -dataDir /home/srikar/StarCraftII/ -tempDir /tmp/sc-cgnye12m/ -displayMode 0'
Command Line: '"/home/srikar/StarCraftII/Versions/Base55958/SC2_x64" -listen <IP_ADDRESS> -port 18106 -dataDir /home/srikar/StarCraftII/ -tempDir /tmp/sc-h363mdtm/ -displayMode 0'
Version: B55958 (SC2.3.16)
Build: Jul 31 2017 13:19:41
Command Line: '"/home/srikar/StarCraftII/Versions/Base55958/SC2_x64" -listen <IP_ADDRESS> -port 18236 -dataDir /home/srikar/StarCraftII/ -tempDir /tmp/sc-npywv3_g/ -displayMode 0'
Version: B55958 (SC2.3.16)
Build: Jul 31 2017 13:19:41
Command Line: '"/home/srikar/StarCraftII/Versions/Base55958/SC2_x64" -listen <IP_ADDRESS> -port 22720 -dataDir /home/srikar/StarCraftII/ -tempDir /tmp/sc-z9abmp21/ -displayMode 0'
Version: B55958 (SC2.3.16)
Build: Jul 31 2017 13:19:41
Command Line: '"/home/srikar/StarCraftII/Versions/Base55958/SC2_x64" -listen <IP_ADDRESS> -port 23817 -dataDir /home/srikar/StarCraftII/ -tempDir /tmp/sc-146rzc5n/ -displayMode 0'
Version: B55958 (SC2.3.16)
Build: Jul 31 2017 13:19:41
Command Line: '"/home/srikar/StarCraftII/Versions/Base55958/SC2_x64" -listen <IP_ADDRESS> -port 22203 -dataDir /home/srikar/StarCraftII/ -tempDir /tmp/sc-ni7u77ob/ -displayMode 0'
Starting up...
Starting up...
Starting up...
Version: B55958 (SC2.3.16)
Build: Jul 31 2017 13:19:41
Command Line: '"/home/srikar/StarCraftII/Versions/Base55958/SC2_x64" -listen <IP_ADDRESS> -port 19426 -dataDir /home/srikar/StarCraftII/ -tempDir /tmp/sc-b6_448vu/ -displayMode 0'
Starting up...
Starting up...
Starting up...
Starting up...

Starting up...

Starting up...

Starting up...
Version: B55958 (SC2.3.16)
Build: Jul 31 2017 13:19:41
Command Line: '"/home/srikar/StarCraftII/Versions/Base55958/SC2_x64" -listen <IP_ADDRESS> -port 22971 -dataDir /home/srikar/StarCraftII/ -tempDir /tmp/sc-h4xafyee/ -displayMode 0'
Version: B55958 (SC2.3.16)
Build: Jul 31 2017 13:19:41
Command Line: '"/home/srikar/StarCraftII/Versions/Base55958/SC2_x64" -listen <IP_ADDRESS> -port 17209 -dataDir /home/srikar/StarCraftII/ -tempDir /tmp/sc-ykzflkd7/ -displayMode 0'
Version: B55958 (SC2.3.16)
Build: Jul 31 2017 13:19:41
Command Line: '"/home/srikar/StarCraftII/Versions/Base55958/SC2_x64" -listen <IP_ADDRESS> -port 24343 -dataDir /home/srikar/StarCraftII/ -tempDir /tmp/sc-uc2t3v7v/ -displayMode 0'
Startup Phase 1 complete
Starting up...
Version: B55958 (SC2.3.16)
Build: Jul 31 2017 13:19:41
Command Line: '"/home/srikar/StarCraftII/Versions/Base55958/SC2_x64" -listen <IP_ADDRESS> -port 17383 -dataDir /home/srikar/StarCraftII/ -tempDir /tmp/sc-x_hy40yp/ -displayMode 0'
Version: B55958 (SC2.3.16)
Build: Jul 31 2017 13:19:41
Command Line: '"/home/srikar/StarCraftII/Versions/Base55958/SC2_x64" -listen <IP_ADDRESS> -port 16438 -dataDir /home/srikar/StarCraftII/ -tempDir /tmp/sc-_f6l_k8c/ -displayMode 0'
2019-03-21 14:15:28.637558: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
Version: B55958 (SC2.3.16)
Build: Jul 31 2017 13:19:41
Command Line: '"/home/srikar/StarCraftII/Versions/Base55958/SC2_x64" -listen <IP_ADDRESS> -port 19645 -dataDir /home/srikar/StarCraftII/ -tempDir /tmp/sc-omg8b3qj/ -displayMode 0'
Version: B55958 (SC2.3.16)
Build: Jul 31 2017 13:19:41
Command Line: '"/home/srikar/StarCraftII/Versions/Base55958/SC2_x64" -listen <IP_ADDRESS> -port 24530 -dataDir /home/srikar/StarCraftII/ -tempDir /tmp/sc-axjsi41r/ -displayMode 0'
Starting up...
Version: B55958 (SC2.3.16)
Build: Jul 31 2017 13:19:41
Command Line: '"/home/srikar/StarCraftII/Versions/Base55958/SC2_x64" -listen <IP_ADDRESS> -port 16431 -dataDir /home/srikar/StarCraftII/ -tempDir /tmp/sc-b_6uv3uq/ -displayMode 0'
Starting up...
Version: B55958 (SC2.3.16)
Build: Jul 31 2017 13:19:41
Command Line: '"/home/srikar/StarCraftII/Versions/Base55958/SC2_x64" -listen <IP_ADDRESS> -port 22425 -dataDir /home/srikar/StarCraftII/ -tempDir /tmp/sc-2hybgjl3/ -displayMode 0'
Version: B55958 (SC2.3.16)
Build: Jul 31 2017 13:19:41
Command Line: '"/home/srikar/StarCraftII/Versions/Base55958/SC2_x64" -listen <IP_ADDRESS> -port 21173 -dataDir /home/srikar/StarCraftII/ -tempDir /tmp/sc-ep7z7wtq/ -displayMode 0'
Starting up...
Starting up...
Starting up...
Starting up...

Starting up...
Starting up...

Startup Phase 1 complete
Starting up...
2019-03-21 14:15:28.828800: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:964] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-03-21 14:15:28.829287: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1432] Found device 0 with properties:
name: GeForce GTX 1050 Ti major: 6 minor: 1 memoryClockRate(GHz): 1.62
pciBusID: 0000:01:00.0
totalMemory: 3.95GiB freeMemory: 48.69MiB
2019-03-21 14:15:28.829317: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1511] Adding visible gpu devices: 0
Starting up...

Starting up...
 Status: out of memory
Startup Phase 2 complete
Creating stub renderer...
Startup Phase 2 complete
Creating stub renderer...
Startup Phase 2 complete
Creating stub renderer...
Startup Phase 2 complete
Creating stub renderer...
Startup Phase 2 complete
Creating stub renderer...
Startup Phase 2 complete
Creating stub renderer...
Startup Phase 2 complete
Creating stub renderer...
Startup Phase 2 complete
Creating stub renderer...
Startup Phase 2 complete
Creating stub renderer...
Startup Phase 2 complete
Creating stub renderer...
Startup Phase 2 complete
Creating stub renderer...
Startup Phase 2 complete
Creating stub renderer...
Startup Phase 2 complete
Creating stub renderer...
Startup Phase 2 complete
Creating stub renderer...
Startup Phase 2 complete
Creating stub renderer...
Startup Phase 2 complete
Creating stub renderer...
Startup Phase 2 complete
Creating stub renderer...
Listening on: <IP_ADDRESS>:18875 (18875)
Listening on: <IP_ADDRESS>:22203 (22203)
Startup Phase 3 complete. Ready for commands.
Startup Phase 3 complete. Ready for commands.
Startup Phase 2 complete
Creating stub renderer...
Startup Phase 2 complete
Creating stub renderer...
W0321 14:16:02.230587<PHONE_NUMBER>45920 sc_process.py:146] SC2 isn't running, so bailing early on the websocket connection.
W0321 14:16:02.234593<PHONE_NUMBER>45920 sc_process.py:146] SC2 isn't running, so bailing early on the websocket connection.
W0321 14:16:02.622623<PHONE_NUMBER>45920 sc_process.py:146] SC2 isn't running, so bailing early on the websocket connection.
W0321 14:16:02.681355<PHONE_NUMBER>45920 sc_process.py:146] SC2 isn't running, so bailing early on the websocket connection.
W0321 14:16:02.732240<PHONE_NUMBER>45920 sc_process.py:146] SC2 isn't running, so bailing early on the websocket connection.
W0321 14:16:03.222280<PHONE_NUMBER>45920 sc_process.py:146] SC2 isn't running, so bailing early on the websocket connection.
W0321 14:16:03.222583<PHONE_NUMBER>45920 sc_process.py:146] SC2 isn't running, so bailing early on the websocket connection.
W0321 14:16:03.685055<PHONE_NUMBER>45920 sc_process.py:146] SC2 isn't running, so bailing early on the websocket connection.
W0321 14:16:03.812864<PHONE_NUMBER>45920 sc_process.py:146] SC2 isn't running, so bailing early on the websocket connection.
W0321 14:16:03.857660<PHONE_NUMBER>45920 sc_process.py:146] SC2 isn't running, so bailing early on the websocket connection.
W0321 14:16:03.862667<PHONE_NUMBER>45920 sc_process.py:146] SC2 isn't running, so bailing early on the websocket connection.
Startup Phase 2 complete
Creating stub renderer...
Startup Phase 2 complete
Creating stub renderer...
W0321 14:16:04.478714<PHONE_NUMBER>45920 sc_process.py:146] SC2 isn't running, so bailing early on the websocket connection.
W0321 14:16:04.551949<PHONE_NUMBER>45920 sc_process.py:146] SC2 isn't running, so bailing early on the websocket connection.
W0321 14:16:04.553689<PHONE_NUMBER>45920 sc_process.py:146] SC2 isn't running, so bailing early on the websocket connection.
W0321 14:16:04.993700<PHONE_NUMBER>45920 sc_process.py:146] SC2 isn't running, so bailing early on the websocket connection.
Startup Phase 2 complete
Creating stub renderer...
W0321 14:16:05.520868<PHONE_NUMBER>45920 sc_process.py:183] Killing the process.
W0321 14:16:05.521188<PHONE_NUMBER>45920 sc_process.py:183] Killing the process.
W0321 14:16:05.727763<PHONE_NUMBER>45920 sc_process.py:183] Killing the process.
W0321 14:16:05.786274<PHONE_NUMBER>45920 sc_process.py:183] Killing the process.
W0321 14:16:05.837595<PHONE_NUMBER>45920 sc_process.py:183] Killing the process.
W0321 14:16:06.062572<PHONE_NUMBER>45920 sc_process.py:146] SC2 isn't running, so bailing early on the websocket connection.
W0321 14:16:06.081720<PHONE_NUMBER>45920 sc_process.py:146] SC2 isn't running, so bailing early on the websocket connection.
W0321 14:16:06.171552<PHONE_NUMBER>45920 sc_process.py:146] SC2 isn't running, so bailing early on the websocket connection.
W0321 14:16:06.177643<PHONE_NUMBER>45920 sc_process.py:146] SC2 isn't running, so bailing early on the websocket connection.
W0321 14:16:06.327630<PHONE_NUMBER>45920 sc_process.py:183] Killing the process.
W0321 14:16:06.327720<PHONE_NUMBER>45920 sc_process.py:183] Killing the process.
W0321 14:16:06.400193<PHONE_NUMBER>45920 sc_process.py:146] SC2 isn't running, so bailing early on the websocket connection.
Startup Phase 2 complete
Creating stub renderer...
Startup Phase 2 complete
Creating stub renderer...
Startup Phase 2 complete
Creating stub renderer...
W0321 14:16:06.790266<PHONE_NUMBER>45920 sc_process.py:183] Killing the process.
W0321 14:16:06.918255<PHONE_NUMBER>45920 sc_process.py:183] Killing the process.
W0321 14:16:06.924500<PHONE_NUMBER>45920 sc_process.py:146] SC2 isn't running, so bailing early on the websocket connection.
W0321 14:16:06.963078<PHONE_NUMBER>45920 sc_process.py:183] Killing the process.
W0321 14:16:06.967833<PHONE_NUMBER>45920 sc_process.py:183] Killing the process.
W0321 14:16:06.996931<PHONE_NUMBER>45920 sc_process.py:146] SC2 isn't running, so bailing early on the websocket connection.
W0321 14:16:07.069621<PHONE_NUMBER>45920 sc_process.py:146] SC2 isn't running, so bailing early on the websocket connection.
W0321 14:16:07.422630<PHONE_NUMBER>45920 sc_process.py:146] SC2 isn't running, so bailing early on the websocket connection.
W0321 14:16:07.584017<PHONE_NUMBER>45920 sc_process.py:183] Killing the process.
W0321 14:16:07.657401<PHONE_NUMBER>45920 sc_process.py:183] Killing the process.
W0321 14:16:07.658561<PHONE_NUMBER>45920 sc_process.py:183] Killing the process.
W0321 14:16:08.011750<PHONE_NUMBER>45920 sc_process.py:146] SC2 isn't running, so bailing early on the websocket connection.
W0321 14:16:08.099080<PHONE_NUMBER>45920 sc_process.py:183] Killing the process.
Startup Phase 2 complete
Creating stub renderer...
W0321 14:16:09.105360<PHONE_NUMBER>45920 sc_process.py:146] SC2 isn't running, so bailing early on the websocket connection.
W0321 14:16:09.168418<PHONE_NUMBER>45920 sc_process.py:183] Killing the process.
W0321 14:16:09.186958<PHONE_NUMBER>45920 sc_process.py:183] Killing the process.
W0321 14:16:09.276766<PHONE_NUMBER>45920 sc_process.py:183] Killing the process.
W0321 14:16:09.282816<PHONE_NUMBER>45920 sc_process.py:183] Killing the process.
W0321 14:16:09.505211<PHONE_NUMBER>45920 sc_process.py:183] Killing the process.
W0321 14:16:10.029559<PHONE_NUMBER>45920 sc_process.py:183] Killing the process.
W0321 14:16:10.102171<PHONE_NUMBER>45920 sc_process.py:183] Killing the process.
W0321 14:16:10.174578<PHONE_NUMBER>45920 sc_process.py:183] Killing the process.
W0321 14:16:04.024830<PHONE_NUMBER>45920 sc_process.py:146] SC2 isn't running, so bailing early on the websocket connection.
W0321 14:16:10.527849<PHONE_NUMBER>45920 sc_process.py:183] Killing the process.
W0321 14:16:10.800231<PHONE_NUMBER>45920 sc_process.py:146] SC2 isn't running, so bailing early on the websocket connection.
W0321 14:16:11.116753<PHONE_NUMBER>45920 sc_process.py:183] Killing the process.
Startup Phase 2 complete
Creating stub renderer...
W0321 14:16:12.210401<PHONE_NUMBER>45920 sc_process.py:183] Killing the process.
W0321 14:16:12.789056<PHONE_NUMBER>45920 sc_process.py:146] SC2 isn't running, so bailing early on the websocket connection.
Failed to create the socket.
Failed to create the socket.
Failed to create the socket.
Failed to create the socket.
Failed to create the socket.
Failed to create the socket.
Failed to create the socket.
Failed to create the socket.
Failed to create the socket.
Failed to create the socket.
Failed to create the socket.
Failed to create the socket.
Failed to create the socket.
Failed to create the socket.
Failed to create the socket.
Failed to create the socket.
Failed to create the socket.
Failed to create the socket.
Failed to create the socket.
Failed to create the socket.
Failed to create the socket.
Failed to create the socket.
Failed to create the socket.
Requesting to join a single player game
Requesting to join a single player game
Configuring interface options
Configuring interface options
Configure: raw interface disabled
Configure: raw interface disabled
Configure: feature layer interface enabled
Configure: feature layer interface enabled
Configure: score interface enabled
Configure: score interface enabled
Configure: render interface disabled
Configure: render interface disabled
Entering load game phase.
Entering load game phase.
Launching next game.
Launching next game.
W0321 14:16:13.328135<PHONE_NUMBER>45920 sc_process.py:183] Killing the process.
Failed to create the socket.
W0321 14:16:13.905472<PHONE_NUMBER>45920 sc_process.py:183] Killing the process.
Failed to create the socket.
Next launch phase started: 2
Next launch phase started: 2
Next launch phase started: 3
Next launch phase started: 3
Next launch phase started: 4
Next launch phase started: 4
Next launch phase started: 5
Next launch phase started: 5
Next launch phase started: 6
Next launch phase started: 6
Next launch phase started: 7
Next launch phase started: 7
Next launch phase started: 8
Next launch phase started: 8
W0321 14:16:15.894840<PHONE_NUMBER>45920 sc_process.py:183] Killing the process.
Failed to create the socket.
Listening on: <IP_ADDRESS>:21269 (21269)
Startup Phase 3 complete. Ready for commands.
Failed to create the socket.
Failed to create the socket.
Failed to create the socket.
W0321 14:16:39.019435<PHONE_NUMBER>45920 sc_process.py:146] SC2 isn't running, so bailing early on the websocket connection.
W0321 14:16:42.124873<PHONE_NUMBER>45920 sc_process.py:183] Killing the process.
Failed to create the socket.
^Z^[
[1]+  Stopped                 python run.py my_experiment --map MoveToBeacon

Try reducing the number of parallel instances from the default of 32 to something more manageable. This helped for me.


Implement reduce for zippers

https://github.com/netceteragroup/girders-elements/issues/82

Coverage increased (+0.1%) to 83.08% when pulling df19b704b4286feaa4ce865e8c32ce0ce96a7f3a on features/zip-reduce into a06893a13ab62d9e554ecaf65c7659dba3a40f51 on master.

Coverage increased (+0.1%) to 83.08% when pulling 3759e648ec6ef6ee12e61619a706a849b6a21990 on features/zip-reduce into a06893a13ab62d9e554ecaf65c7659dba3a40f51 on master.


libftdi1 dependency error

Hey Phil. I get the following error when installing the Propeller IDE:
Selecting previously unselected package propelleride.
(Reading database ... 85351 files and directories currently installed.)
Unpacking propelleride (from propelleride-0.25.1-0-g5442b03-armhf.deb) ...
dpkg: dependency problems prevent configuration of propelleride:
 propelleride depends on libftdi1; however:
  Package libftdi1 is not installed.

dpkg: error processing propelleride (--install):
 dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils ...
Processing triggers for menu ...
Errors were encountered while processing:
 propelleride

Easily fixed with sudo apt-get install libftdi1 and I reckon if you add it to the end of the sudo apt-get install qt5-default qt5-qmake libegl1-mesa libgles2-mesa here then it should all just work.

D'oh! Thank you! Good spot. I always miss these, despite multiple installations, since I often have libftdi1 preinstalled!


Prism CSS global styles conflict with existing Prism CSS

I noticed that prism's dark theme is used with Redoc and it overrides existing Prism styles on my site. Is there a way Redoc can avoid using injectGlobal?
https://github.com/Rebilly/ReDoc/blob/0d6deff8c8477a72f5d3229aae21c0b705bd801c/src/utils/highlight.ts#L24

Thanks for bug report. I will investigate this. I think I can omit injectGlobal usage!


Key Design of HDFS Architecture

Be sure to visit our Resources Page for tools, resources, and example articles to go over.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
We're looking for the first 2-3 paragraphs of the article that appropriately summarize what your article will be about.
NOTE: We tend to stray away or tend not to publish reviews/comparisons of commercial product offerings.
Proposed title of article
Key Design of HDFS Architecture
Introduction paragraph (2-3 paragraphs):
HDFS (Hadoop Distributed File System) is a big data framework by Apache that needs to have several features of design implemented to work effectively in processing, distibuting and storing big data.
We'll look keenly into the very key features of design  that need to be implemented within HDFS to achieve an effectively functional distributed file system within Hadoop.
Key takeaways:

Brief introduction to Big data Framework
General Design of HDFS architecture
Configuring HDFS Data Storage policies.
Colocation and it's benefits in HDFS

References:
N/A
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

good topic @RuthAMare - approved


Instead of overwriting the profile, providing dbt profiles via dbt task property gives java.nio.file.FileAlreadyExistsException

Feature description
reproducer:
id: dbt_build
namespace: company.team

tasks:
  - id: sync
    type: io.kestra.plugin.git.SyncNamespaceFiles
    url: https://github.com/kestra-io/dbt-example
    branch: master
    namespace: company.team
    gitDirectory: dbt
    dryRun: false

  - id: dbt_build
    type: io.kestra.plugin.dbt.cli.DbtCLI
    containerImage: ghcr.io/kestra-io/dbt-duckdb:latest
    namespaceFiles:
      enabled: true
    taskRunner:
      type: io.kestra.plugin.scripts.runner.docker.Docker
    commands:
      - dbt build
    profiles: |
      my_dbt_project:
        outputs:
          dev:
            type: duckdb
            path: ":memory:"
        target: dev

error:
java.nio.file.FileAlreadyExistsException: /tmp/3a36oa9laKOXOGbZhCdw4R/profiles.yml at java.base/sun.nio.fs.UnixException.translateToIOException(Unknown Source) at java.base/sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source) at java.base/sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source) at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(Unknown Source) at java.base/java.nio.file.Files.newByteChannel(Unknown Source) at java.base/java.nio.file.Files.createFile(Unknown Source) at io.kestra.core.runners.LocalWorkingDir.createFile(LocalWorkingDir.java:163) at io.kestra.plugin.scripts.exec.scripts.runners.CommandsWrapper.lambda$run$0(CommandsWrapper.java:143) at io.kestra.core.utils.Rethrow.lambda$throwConsumer$0(Rethrow.java:50) at java.base/java.lang.Iterable.forEach(Unknown Source) at io.kestra.plugin.scripts.exec.scripts.runners.CommandsWrapper.run(CommandsWrapper.java:141) at io.kestra.plugin.dbt.cli.DbtCLI.run(DbtCLI.java:284) at io.kestra.plugin.dbt.cli.DbtCLI.run(DbtCLI.java:39) at io.kestra.core.runners.WorkerTaskCallable.doCall(WorkerTaskCallable.java:78) at io.kestra.core.runners.AbstractWorkerCallable.call(AbstractWorkerCallable.java:56) at io.kestra.core.runners.WorkerSecurityService.callInSecurityContext(WorkerSecurityService.java:10) at io.kestra.core.runners.Worker.callJob(Worker.java:783) at io.kestra.core.runners.Worker.runAttempt(Worker.java:742) at io.kestra.core.runners.Worker.run(Worker.java:599) at io.kestra.core.runners.Worker.handleTask(Worker.java:284) at io.kestra.core.runners.Worker.lambda$run$7(Worker.java:240) at io.micrometer.core.instrument.internal.TimedRunnable.run(TimedRunnable.java:49) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source)

This is painful to handle and is more global than specific to DBT, this is due to the fact that as of now we have no way to create files from a task that comes on top of namespace files as the namespace files are injected in the taskRunner setup that comes after the task itself started to setup.
So basically rn when a task run with a task runner:

generate any file from the task itself
inject namespace files on top
throw everything in the task runner
run

The issue here is that an error is thrown while in theory the namespace files should override any generated file. However this is not the wanted behaviour and the files generated by the task itself should come on top of namespace files.
To tackle it we should probably separate the taskRunner run into a separate setupFiles then run methods, this way we can:
setupFiles(), generateFilesFromTask(), run()
Unassigning myself for now as I have other things to handle but as said it's more global than DBT.


Incense Encounters Don't Work

Using latest commits for protos
I can do: UseIncense -> GetIncensePokemon() -> IncenseEncounter() and here it complaints and throws "INCENSE_ENCOUNTER_NOT_AVAILABLE"
GetIncensePokemon() returns "INCENSE ENCOUNTER AVAILABLE". I then invoke IncenseEncounter with the fixed64 encounter_id and string encounter_location, but get the INCENSE_ENCOUNTER_NOT_AVAILABLE return.
I did modify my proto for IncenseEncounterMessage to be fixed64 for encounter_id to match the GetIncensePokemon response.
Still doesn't work unfortunately.

encounter_id for the encounter message needs to be int64...even though the encounter_id on the incensePokemon message is fixed64. I had the same issue, but I got it working by reverting the encounter message back to int64.

@prorook thanks, I will give it a try. What's the correct way to transform a fixed64 to an int64 in python? I ask cause I get errors thrown if I don't do a conversion (perhaps because I use an older version of protobuf).

Thank you, got it working after fixing the GetIncensePokemonResponse to PokemonId enum, rather than int32

Actually, it still fails at times...
for large encounter_id type-casting to python's int() doesn't work at times.

How are incense encounters caught without a spawn_point_id?

@RyanHope they are not, you get one from GetIncencePokemon response.

Not according to https://github.com/AeonLucid/POGOProtos/blob/master/src/POGOProtos/Networking/Responses/GetIncensePokemonResponse.proto

@RyanHope it's called "enounter_location"

This is about to be fixed with LureInfo being replaced. Spawn point ids are actually fort ids in this case.


Storybook 8 support

Moves to tsup
Removes unnecessary files, dependencies and peer dependencies
Adds semantic release
General cleanup with linting and ci setup

BREAKING CHANGE: removed all storybook dependencies and react peer dependency, since storybook v7 these are provided by storybook global packages

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Utilizing configuration file

@ElRojo would you mind adding me the rights to push updates ? There are some fixes in readme that I spotted :)
I received my arduino + rfid reader and I'm trying to make it work, so I'm reading the readme attentively!

@ElRojo would you mind adding me the rights to push updates ? There are some fixes in readme that I spotted :)
I received my arduino + rfid reader and I'm trying to make it work, so I'm reading the readme attentively!

Added, go ahead and give it a shot!

Thanks, I could push the little fixes into readme into this branch :)

Thanks, I could push the little fixes into readme into this branch :)

I see them! Thanks for the corrections :) I may merge this branch into main next week. Let me know how your testing goes!

With the code from your conf-file branch, it works great on my MiSTer!
For the non-arcade games, I manually added the qload_rom function into rfid_process.sh (from the snesRFID initial repo) and could run metal slug! I didn't manage to run a SNES game, I suppose it's because it's related to the hierarchy of my SNES games directory (I don't understand yet how the mgl files work).
I see you're working on the neogeo support: is there a reason you want to do it differently than the "qload_rom" original function?

I forgot to say that I couldn't not yet test the "write tag" feature. My arduino is already flashed with javiwwweb's version, I prepared your version with my tag ID, but I didn't manage to compile in Arduino IDE yet (seems broken on Ubuntu, it doesn't find SPI.h...). I hope I'll be able to progress on that.

With the code from your conf-file branch, it works great on my MiSTer!
For the non-arcade games, I manually added the qload_rom function into rfid_process.sh (from the snesRFID initial repo) and could run metal slug! I didn't manage to run a SNES game, I suppose it's because it's related to the hierarchy of my SNES games directory (I don't understand yet how the mgl files work).

Could you show me a screenshot or write out how your SNES files are stored? I would love to solve for this :)

I see you're working on the neogeo support: is there a reason you want to do it differently than the "qload_rom" original function?

The qload_rom function is actually very similar to what I have in the writeMgl fn in rfid_write.sh. I did debate whether to put a processing function similar to qload_rominto the rifd_process.sh file. In the end I decided that I'd prefer to have logic run during "write" or "game addition" time, instead of having it run at a time that I could minimize run-time slightly and just run an echo with the command necessary. I could throw another function into rfid_process.sh; but ¯_(ツ)_/¯. Maybe another time, lol.
mgl files seem tricky at first, but they're actually quite simple. The main reason for using them is that load_core, as you may already know, only loads a core. You can't echo a file like Crash Bandicoot.cue into it as the PSX core won't get loaded and the MiSTer will hang and require a restart (at least in my experience). The mgl files are a small instruction set on where to find the core for a game and the path to the game. It also includes the mount type and index values which you can read about here: https://mister-devel.github.io/MkDocs_MiSTer/advanced/mgl/.
mra files act as a map (very similar to mgl) so that's why they can be echo'd the say way an mgl can.

I forgot to say that I couldn't not yet test the "write tag" feature. My arduino is already flashed with javiwwweb's version, I prepared your version of the .ino file with my tag ID, but I didn't manage to compile in Arduino IDE yet (seems broken on Ubuntu, it doesn't find SPI.h...). I hope I'll be able to progress on that.
So I wrote the conf file myself in the meantime.

Make sure you install the "Easy MFRC522" library on your Arduino IDE by Pablo Sampaio. That will download some dependencies. I may have omitted that from the ReadMe. I'll go check in a bit and add it in if needed. Maybe I'll even do a little YouTube video on how to get this all set up.
I think you'll find the "write" feature really helpful when you have a large stack of cards! The main purpose for this fork was that I will have a large selection of RFID cards that family-members and friends can choose from instead of having to teach them how to navigate the OSD :). Also, since I plan to have many cards, I didn't want to have to manually add each one by copy/pasting a bunch of files! lol.

Thanks for providing me all this information and your help!
SNES
Here is my hierarchy :
ls -l /media/usb0/games/SNES/00-fav/puzzle/
total 489856
-rwxr-xr-x 1 root root    347051 Apr  3  2021 'Goof Troop (F).zip'
-rwxr-xr-x 1 root root    346952 Apr  4  2021 'Goof Troop (U) [!].zip'
-rwxr-xr-x 1 root root   1075029 Feb 28  2021 'Lemmings 2 - The Tribes (E).zip'
[...]

I also have a "Favorites" directory thanks to the "Favorites" script for MiSTer (https://github.com/wizzomafizzo/MiSTer_Favorites) :
ls -l /media/fat/_\@Favorites/
total 96
lrwxr-xr-x 1 root root  24 Sep  3 17:40  cores -> /media/fat/_Arcade/cores
-rwxr-xr-x 1 root root 264 Sep  3 17:41 'Donkey Kong Country (USA) (Rev 2) (MSU1).mgl'
-rwxr-xr-x 1 root root 205 Sep  3 17:52 'Super Bomberman 2 (U) [!].mgl'

All my games are into usb0, not fat.
So I have edited the rfid_write.sh file to have:
rootPath=/media/usb0/

qload_rom
Oh ok, the logic is now inside the arduino code. I hadn't seen that! Seems great for me, no need to do it anymore in the shell scripts then.
Arduino
It's fixed now. I was trying to use Arduino IDE from Ubuntu packages, which seems broken. I now have installed Arduino IDE from the tarball from the official site, and installed the lib "Easy MFRC522", everything is now recognized! It can be noted that, before, I had the lib "MFRC522" (not the "Easy") and it gave compile errors.
So now the arduino can launch the rfid_write.sh when I scan my "write tag"! But it gives errors (see next chapter).
I understand the need to use the "write" function when we have lots of card! I bought 20 tags so I think I'll be happy to easily associate them with the games thanks to the "write tag" feature!
Current problem
When I scan my "write tag", I see in the "screen" process:
bash: rfid_util/rfid_neoGeo_games.sh: No such file or directory
cat: /tmp/STARTPATH: No such file or directory
cat: /tmp/FULLPATH: No such file or directory
cat: /tmp/CURRENTPATH: No such file or directory
cat: /tmp/CURRENTPATH: No such file or directory
cat: /tmp/STARTPATH: No such file or directory
isDirRtn is equal to 0 before statement

Did you already encountered these errors?
For the sourcing of rfid_neoGeo_games.sh, I guess it could be fixed with the absolute path, but I don't understand the other errors.

Hello!
I finally got time to test what you proposed!
With "log_file_entry=1" into the .ini, I no longer get errors and I finally can use the "write tag" feature to associate RFID cards with the games!!! I'm so happy! :)
About the SNES, I also have a "2 subdirectories" hierarchy for the fullset (whereas I previously showed you my directory for favorites), like:
ls -l /media/usb0/games/SNES/S-S/Super*Bomber*

-rwxr-xr-x 1 root root 1048576 Dec 24  1996 '/media/usb0/games/SNES/S-S/Super Bomber Man 2 (Japan).sfc'

I ran Super bomberman 2, then used the write tag, which updated the conf file with:
1589700154	echo load_core "/media/fat/../usb0/games/SNES/S-S/Super Bomber Man 2 (Japan).sfc.mgl" > /dev/MiSTer_cmd

I thought it could work because the path for this mgl file really exists now. But when I scan the RFID tag, it runs the SNES core without loading the game.
Here is what I got into the mgl:
cat "/media/fat/../usb0/games/SNES/S-S/Super Bomber Man 2 (Japan).sfc.mgl"
<mistergamedescription><rbf>_Console/SNES</rbf><file delay="2" type="f" index="0" path="Super Bomber Man 2 (Japan).sfc.sfc"/></mistergamedescription>

I'll try your "find-file" branch edit when I got time again.
I'll keep you informed!

Hello!
I finally got time to test what you proposed! With "log_file_entry=1" into the .ini, I no longer get errors and I finally can use the "write tag" feature to associate RFID cards with the games!!! I'm so happy! :)
About the SNES, I also have a simpler hierarchy for the fullset (whereas I previously showed you my directory for favorites), like:
ls -l /media/usb0/games/SNES/S-S/Super*Bomber*

-rwxr-xr-x 1 root root 1048576 Dec 24  1996 '/media/usb0/games/SNES/S-S/Super Bomber Man 2 (Japan).sfc'

I ran Super bomberman 2, then used the write tag, which updated the conf file with:
1589700154	echo load_core "/media/fat/../usb0/games/SNES/S-S/Super Bomber Man 2 (Japan).sfc.mgl" > /dev/MiSTer_cmd

I thought it could work because the path for this mgl file really was created. But when I scan the RFID tag, it runs the SNES core without loading the game. Here is what I got into the mgl:
cat "/media/fat/../usb0/games/SNES/S-S/Super Bomber Man 2 (Japan).sfc.mgl"
<mistergamedescription><rbf>_Console/SNES</rbf><file delay="2" type="f" index="0" path="Super Bomber Man 2 (Japan).sfc.sfc"/></mistergamedescription>

I'll try your "find-file" branch edit when I got time again. I'll keep you informed!

wow this is actually a very surprising output. I'd bet that card would work if you remove the extra .sfc in the mgl file. Can you try that and let me know if it works?

Okay, @coded-with-claws , I just pushed some changes to this branch (conf-file) that should fix your issue. :)
I know it'll work for SNES, but I'm downloading some ROMs for mega drive etc. and will test those soon.

New tests here!
As you proposed, I manually edited the mgl file to remove the extra ".sfc": didn't work.
So I used the new code in conf-file, clean conf file, re-associate super bomberman 2 to tag: the tag still runs only the core without the game.
I got this mgl written:
cat "/media/fat/../usb0/games/SNES/S-S/Super Bomber Man 2 (Japan).mgl"
<mistergamedescription><rbf>_Console/SNES</rbf><file delay="2" type="f" index="0" path="Super Bomber Man 2 (Japan).sfc"/></mistergamedescription>

If I edit the mgl file to add "S-S/" into the path of the sfc file, it works!
cat "/media/fat/../usb0/games/SNES/S-S/Super Bomber Man 2 (Japan).mgl"
<mistergamedescription><rbf>_Console/SNES</rbf><file delay="2" type="f" index="0" path="S-S/Super Bomber Man 2 (Japan).sfc"/></mistergamedescription>

Then, I copied rfid_write.sh from the find-file branch (I saw it takes into account the renaming of game_list.conf) to my mister.
But it wrote a buggy line into config file:
1589700154	echo load_core ".mgl" > /dev/MiSTer_Cmd

I tried to debug:
find /media/usb0/games/SNES/ -name "Super Bomber Man 2 (Japan).sfc.*" -print

returns nothing
It's because "/tmp/CURRENTPATH" gives "Super Bomber Man 2 (Japan).sfc" which contains the ".sfc" extension.
So we can't find a ".sfc.something" file.
If I remove the dot in the find, it's working (but I dunno if other cores will give the extension everytime):
find /media/usb0/games/SNES/ -name "Super Bomber Man 2 (Japan).sfc*" -print
/media/usb0/games/SNES/S-S/Super Bomber Man 2 (Japan).sfc

So I patched the find command into findIt() but the whole write tag feature still didn't work.
Then I understood: the loop on rootDirs finds that I have three directories existing:
/media/usb0/games
/media/usb1/games
/media/fat/games

The variable gamesDir gets set to the last one, /media/fat/games, which doesn't contains my games (only the bios files).
So I kept only this:
rootDirs=(
  "/media/usb0/games"
)

And it wrote the good conf file and mgl (same content than when I manually fixed)
1589700154	echo load_core "/media/usb0/games/SNES/S-S/Super Bomber Man 2 (Japan).mgl" > /dev/MiSTer_Cmd

cat "/media/usb0/games/SNES/S-S/Super Bomber Man 2 (Japan).mgl"
<mistergamedescription><rbf>_Console/SNES</rbf><file delay="2" type="f" index="0" path="S-S/Super Bomber Man 2 (Japan).sfc"/></mistergamedescription>

BUT when I scan the tag, it does nothing!
In "screen -r", I see that it tries to run the mgl:
Running: echo load_core /media/fat/_Arcade/'Robocop (World revision 4).mra' > /dev/MiSTer_cmd

I don't understand :-O (because it worked previously when I had manually fixed the .mgl file)
By the way, there is a typo on line 97 for SNES zip extension: missing a equal sign ;)
I pushed the fix on find-file branch.

OK I found out!!
There was a typo into the find-file branch, the conf file contained a redirect to /dev/MiSTer_Cmd (uppercase 'C') instead of /dev/MiSTer_cmd, which made the SNES games not launching!
Weirdly enough, it didn't stop the Arcade cores to run, that's was tricky!
I spotted it while comparing the two conf files I obtained with the 2 branches :)
I pushed a fix into find-file branch.
To sum up, find-file branch worked for me with the "findIt()" fix (removing the dot before the * wildcard, but I didn't push a commit because I don't know yet about other cores than SNES" and the rootDirs fix (I don't know yet how this could be generically fixed).

OK I found out!!
There was a typo into the find-file branch, the conf file contained a redirect to /dev/MiSTer_Cmd (uppercase 'C') instead of /dev/MiSTer_cmd, which made the SNES games not launching!
Weirdly enough, it didn't stop the Arcade cores to run, that's was tricky!
I spotted it while comparing the two conf files I obtained with the 2 branches :)
I pushed a fix into find-file branch.
To sum up, find-file branch worked for me with the "findIt()" fix (removing the dot before the * wildcard, but I didn't push a commit because I don't know yet about other cores than SNES" and the rootDirs fix (I don't know yet how this could be generically fixed).

rootDirs=(

  "/media/usb0/games"

)

  findIt() {

    foundGame=$(find "$fullCorePath" -name "$1*" -print) #/media/fat/games/CORE/Game

  }

You're on fire! Nice find!! I have company over this weekend, but I'll try to do some testing tomorrow night, as well.
Thanks so much for all your help 🙌🏻🙌🏻🙌🏻

With pleasure :)
I experimented about the gamesDir so it would handle all games path:
# Use all game dirs
for d in ${rootDirs[@]}; do
  if [ -d "$d" ]; then
    gamesDir+=("$d")
  fi
done

[...]

# Add the corename at the end of each game dir
fullCorePathv2=("${gamesDir[@]/%/\/"$coreName"}")

[...]
# Search in all game dirs
foundGame=$(find "${fullCorePathv2[@]}" -name "$1*" -type f -print) #/media/fat/games/CORE/Game

It worked, but such adaptations would still be needed for all variables using gamesDir:
fullGamePath, coreFullGamesPath (really used?), processedName...

With pleasure :) Thank you for all your work on the RFID feature, it's so great!!
I experimented about the gamesDir so it would handle all games path:
# Use all game dirs
for d in ${rootDirs[@]}; do
  if [ -d "$d" ]; then
    gamesDir+=("$d")
  fi
done

[...]

# Add the corename at the end of each game dir
fullCorePathv2=("${gamesDir[@]/%/\/"$coreName"}")

[...]
# Search in all game dirs
foundGame=$(find "${fullCorePathv2[@]}" -name "$1*" -type f -print) #/media/fat/games/CORE/Game

It worked, but such adaptations would still be needed for all variables using gamesDir: fullGamePath, coreFullGamesPath (really used?), processedName...

After a bit more testing, I am not certain the rootDirs array is necessary. I have removed it and changed some of the logic on the find-file branch. Go ahead and try it out.
I tested it using a USB drive and a nested folder for SNES. I haven't had any issues so-far. It might be fine as-is.
If that branch works, I will likely clean up the ReadMe, merge the find-file branch into main, and then refactor. I am certain that I'm repeating steps and have unnecessary variables all over the place -- but for now, it works. I can always optimize later.

Hello!
I tested the find-file branch with your recent changes, it works great!! For both hierarchies I got for SNES (the "fullset" one with "S-S/..." and the favorites one with "00-favs/...").
FYI, the info in "screen -r":
bash-5.0# bash-5.0# kicking off
1 <- has extension
Super Bomberman 2 (U) [!].smc game in findit
/media/fat/../usb0/games/SNES/00-fav/bomberman_like full core path in findit
/media/fat/../usb0/games/SNES/00-fav/bomberman_like/Super Bomberman 2 (U) [!].smc found game after findit
/media/fat/../usb0/games/SNES/00-fav/bomberman_like/Super Bomberman 2 (U) [!].smc <- fullFoundGamePath hasExtension = 1
/media/fat/../usb0/games/SNES/00-fav/bomberman_like/Super Bomberman 2 (U) [!] <- fullFoundGamePathNoExt

But after then, I got a weird behavior:
After adding a card for SNES Super bomberman 2 then adding another card for The punisher (CPS1): the conf file was updated correctly, but when I scanned the cards to run the games, nothing worked. In "screen -r", no new logs appeared to say that it's trying to run games.
After rebooting the MiSTer, it worked well to run all the games.
Maybe a problem in the arduino code?
Or maybe I tried to scan a new card too early after the loading of a core of the previous card. I thinking of that because I can't open the core menu just after the core loading, it needs a little time to allow the gamepad input to open the menu).
So far, tt seems you got a good version. Personally I think you can do the merge :+1:

Ok, I did some more tests: the problem I talked about indeed appears if I scan a new card just after the core opening for the previous card. The new game doesn't run, and I can scan any other card.
I suspect it's simply an issue due to MiSTer internal code, and it's rather a "testing" issue than a "real life" issue. We are not expected to scan a new card just after scanning a card :)

Ok, I did some more tests: the problem I talked about indeed appears if I scan a new card just after the core opening for the previous card. The new game doesn't run, and I can't scan any other card. I suspect it's simply an issue due to MiSTer internal code, and it's rather a "testing" issue than a "real life" issue. We are not expected to scan a new card just after scanning a card :)
Thanks for having taken time to support loading games on USB and with a deep folder hierarchy 🙏

Interesting. I'll play around with that new-card behavior and try to duplicate it. But Yeah! I think this is a good time to merge! I'm going to make a few more edits tomorrow. on the ReadMe and a clean up some duplicated work; but I'll probably merge this weekend. Thanks for taking the time to test this all out!! This has been really fun!


Maybe remove the canonicalize in FsBackend?

At least under Windows.
In Windows, after a path is "canonicalize"d, it will be converted to the extended length path syntax. See std::fs::canonicalize. The syntax will prepend a special "\\?\" to a path. For example:
    let mut dir = std::env::current_dir().unwrap();
    println!("dir = {}", dir.display()); // prints "dir = D:\repo\rust-playground"

    let dir = dir.canonicalize().unwrap();
    println!("after canonicalize: {}", dir.display()); // prints "after canonicalize: \\?\D:\repo\rust-playground"

FsBuilder canonicalize the root path when building the FsBackend:
https://github.com/apache/incubator-opendal/blob/ead90ca8ff7bd319d65a0e12072f660b7a0d2d72/core/src/services/fs/backend.rs#L138
It will cause the "list" in FsBackend failed easily. Users have to be very carefully constructing the input path argument to make the "list" work (because the "list" will strip_prefix the path with its root). Sometimes it's not an easy job.
The document of the syntax can be found here. It was introduced to resolve the max path length limit (260 chars) in older Windows. However, in newer Windows, the limit can be removed completely (see the same doc). So maybe we can remove the canonicalize in FsBackend?

It will cause the "list" in FsBackend failed easily.

Can you give an example, thanks!

Users have to be very carefully constructing the input path argument to make the "list" work (because the "list" will strip_prefix the path with its root).

I didn't quite understand this. It is intentional that users can only list relative paths under the root directory. Passing an absolute path will always result in an incorrect response.

Hi @MichaelScofield, I hope my comment helped fix your problems. Please let me know if there is anything that still does not meet your expectations.


Remove delete_if

Following the discussion in #9856, Hash#delete_if and Deque#delete_if are duplicates of reject!, and we don't like duplicated functionality 'round these parts.
These methods also have inconsistent interfaces...

Hash#delete_if returns self
Deque#delete_if  returns Bool

My proposal is to...

remove Hash#delete_if and Deque#delete_if
add Deque#reject! to replace Deque#delete_if
Given the inclusion of Deque#reject!, we should intuitively implement Deque#select!

A draft implementation of this proposal can be found here #9878

It certainly makes sense to standardize this and dropping delete_if in favour of reject seems the best solution.
There are some subtle differences in the semantics of each of these methods and they need to be taken into consideration:

Hash#delete_if defers deletion until the iteration. Hash#reject! deletes immediately. Both should equally work (see https://github.com/crystal-lang/crystal/pull/9856#issuecomment-719953816). But there are effects outside of Hash itself. For example, when checking whether an item should be deleted, it might compare it with other items in the hash. If deleted entries still exist, the result may be different as when they're already deleted.
Hash#delete_if always returns self. Hash#reject! returns nil when no entry was deleted. The implementation is very unreliable, though because it just compares size before and after. This can however be fixed by using an actual counter/flag. I'm not sure if change reporting is that useful. It certainly doesn't make much sense to return nilable self because it prevents proper method chaining. The return type should either be Bool for reporting whether ther was a change (for whatever reason you would need that) or non-nilable self to enable method chaining.
Deque#delete_if returns Bool indicating whether an item was deleted. Deque#reject! should probably just return self instead.

I agree with leaving reject and getting rid of delete_if.
But I would leave a deprecation on Hash. It is so widely used I don't want to do a breaking-change without a deprecation cycle. Even if that means keeping it until 2.0.

It's a pity that Hash#reject will not offer a way to determine from its result if an element was removed. Thay is available from in Hash#delete, but on the other side #reject will remove multiple entries. If you need to check if something was removed you can use #size I guess (of course, at some extent, as long as the hash is not shared).

will not offer a way to determine from its result if an element was removed

deleted = false
hash.reject! do |k, v|
  if some_condition
    deleted = true
    true
  else
    false
  end
end

So if you really need that you can do it. There's no need for that method to always take that into account if it's not necessary.


left out the home route changes

this is the homeroute file I forgot to bring from the working copy.  I'm going to work just in the main project from now on, since we got stuff at least baseline working.

let's see if I can merge my own PR


Physical card number on card details page should not be bold

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number:
Reproducible in staging?: needs reproduction
Reproducible in production?: needs reproduction
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @shawnborton
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1706004178145769
Action Performed:
Go to Wallet and then view a connected Expensify Card
Expected Result:
The row for your physical card number should use a regular font weight to match the digital card number above it
Actual Result:
Physical card number is incorrectly using bold weight font
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

View all open jobs on GitHub

@RohanSasne - I'm just a little behind on getting this moved forward. I'm assessing now and will have an update soon.

I actually can't repro this, both card numbers are unbold for me. On Mac/Chrome/Staging

pretty sure this was fixed in https://github.com/Expensify/App/pull/34677

Oh nice, that could very well be it. I just checked my account again and this seems to be fixed, so I will close!


Develop upstream sync 181116

@deven-amd https://github.com/ROCmSoftwarePlatform/tensorflow-upstream/pull/245/commits/6ebab12d2739b645f64e90031a7f8d20f5ca6810 contains Eigen-specific changes required to make this weekly re-sync work.

8 additional failing tests in this round


Add dart fixes for the Material Button deprecation

e.g. to replace FlatButton with TextButton and all the other ones.
/cc @Piinks @HansMuller

In many cases it is sufficient to just replace FlatButton with TextButton, RaisedButton with ElevatedButton, and OutlineButton with OutlinedButton. However migration can be more complicated, see[ flutter.dev/go/material-button-migration-guide.

I've been looking at this as part of https://github.com/flutter/flutter/issues/74908
I do not know yet if we can fully support this kind of transformation. Not all of the arguments of the deprecated classes match or correlate to the new classes.
This could result in a dart fix that partially fixes/partially breaks the users code. 🤔
I've been thinking the same about the deprecated day and month pickers.

flutter.dev/go/material-button-migration-guide.

This should be added to the website with the other migration guides here: https://flutter.dev/docs/release/breaking-changes

This was determined to not be possible. The number of fixes to account for every combination of parameter in the existing button APIs numbered in the hundreds of thousands, and even then would not guarantee a clean migration for users due inherited button theming also changing. These buttons have now been removed from the framework, and additional migration tools (aside from dart fix) are being published for when the changes reach stable.
I feel like we can close this since there is no further action to take here, but please re-open if there is anything else we can do.


Devise token auth tries to send confirmation email even though it is disabled

Hi,
I followed the instructions on disabling the :confirmable option. This is my user.rb file:
class User < ActiveRecord::Base
  devise :database_authenticatable, :recoverable,
         :trackable, :validatable, :registerable,
         :omniauthable
  include DeviseTokenAuth::Concerns::User
end

And when registering a user I get the error:
ActionView::Template::Error (Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true):

You can confirm your account email through the link below:

<%= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token, config: message['client-config'].to_s, redirect_url: message['redirect-url']) %>

Any idea why?
Thanks,
Uri

Ok, so after adding this line:
config.action_mailer.default_url_options = { :host => 'localhost' }

I stop getting the error, but it still sends out the email, so I guess the question still stands.
Thanks

Adding this line to user.rb solves the issues. Not sure if this is the right way to solve it though...
before_save -> { skip_confirmation! }

+1
@uriklar thanks

I have the same issue, though a little different.
I assumed since I didn't need confirmable I didn't require confirmation_token in my model, but I guess I was wrong.
PG::UndefinedColumn: ERROR: column users.confirmation_token does not exist

class User < ActiveRecord::Base

  #devise :database_authenticatable,
  #       :trackable, :validatable, :registerable
  devise :database_authenticatable
  before_save -> { skip_confirmation! }
end

Same problem here.
Seems that devise configuration in DeviseTokenAuth::Concerns::User overrides configuration in the local model User.

I have another problem. I use devise-token-auth alongside devise. So when user registers from website - it sends confirmation email, but it doesn't send when I add devise-token-auth's concern. Any ideas?

@micred Were you able to get around that? I tried overwriting that file in a monkey-patch and removing :confirmable but that didn't work. I tried adding before_save -> { skip_confirmation! } to the user model and that didn't work either.

I saw that the code of the confirmable module simply sets the confirmed_at time to now, so setting that in my User model worked for me.
I'm on Rails 5, so perhaps that had something to do with why skip_confirmation! didn't do the trick.
class User < ActiveRecord::Base
  include DeviseTokenAuth::Concerns::User

  def confirmed_at
    Time.now.utc
  end
end

From the documentation:

Just list the devise modules that you want to include before including the DeviseTokenAuth::Concerns::User model concern.

Sounds like this might be the gotcha for most people here (as it was for me). Don't include the DTA concern at the top of your user class!

@felixyz But that doesn't solve it if you need the confirmation for the web app and not the api.

Including the DTA at the top of my user class did solve the problem for me. Does including the DTA before including the devise modules have any known issues?

Add this to your routes.rb file default_url_options :host => "example.com" will solve this error
@uriklar

Moving include DeviseTokenAuth::Concerns::User before devise :confirmable solved the issue for me.


[FEATURE] Add IAM authentication option / support for SigV4 Signer

If people want to connect to an Amazon OpenSearch Service cluster, they have to figure out how to use this client alongside some third-party signing library and/or the AWS SDK, which is non-trivial due to how we (by design) conceal the underlying HTTP requests that the client makes. We should offer IAM signing as an option, just like the OpenSearch CLI does.
Is your feature request related to a problem?
If you want to use this client with an Amazon OpenSearch Service cluster that has IAM authentication rather than basic authentication, good luck.
What solution would you like?
When initializing the client, accept an AWS IAM credential provider and sign requests automatically.
What alternatives have you considered?
An additional Java signing library for use on top of the client. But given that it would only work with the client, it seems better and easier to just add it to the client.
Do you have any additional context?
https://github.com/opensearch-project/OpenSearch/issues/1400

this is an essential requirement.

Please contribute!

@dblock I solved this problem by writing an implementation of OpenSearchTransport that uses SdkHttpClient from the AWS v2 SDK to send signed requests, instead of the default client.  It seemed more straightforward than the interceptor implementations.
I can contribute it if that's the way you'd like it solved in this library.

@mtimmerm Yes definitely!
Related, I've been trying to resurrect a fork of archived https://github.com/awslabs/aws-request-signing-apache-interceptor in https://github.com/acm19/aws-request-signing-apache-interceptor. Are you saying we would not need an interceptor at all? Do you have a minimal working example?

Yes, that's right -- no interceptor at all, but a new transport implementation.  I'll get my boss to approve contributing it and then put up something for you.
I'm not sure what we're going to do about integration tests, since it will require an AWS OpenSearch cluster to connect to.

PR: https://github.com/opensearch-project/opensearch-java/pull/177
A added integration tests gated by a system property.  They will be skipped unless you specify a target OpenSearch domain.

Since AWS Signature V4 requires a hash of the request payload, does chunked transfer encoding provide any benefit?  If you can calculate the hash, you can calculate the Content-Length.
W.r.t. compressed requests -- my transport does not compress request at the moment.  It would be reasonable to automatically compress requests bigger then 8kB or so, but I don't know how to sign them.  Does your demo work?  Can you compress all requests to OpenSearch service?  If so, then that functionality can be incorporated into the transport.
I would implement compression in the OutputStream that gets passed to JsonpMapper for serialization.  It would start delegating to a ByteArrayOutputStream, and if it gets more than 8K then it would insert a GzipOutputStream in front.  This way we never need to allocate an array as big as the uncompressed request.

Since AWS Signature V4 requires a hash of the request payload, does chunked transfer encoding provide any benefit? If you can calculate the hash, you can calculate the Content-Length.

I could be wrong, but I believe for chunked requests Sigv4 starts by online signing the headers, then incrementally signing every chunk based on the previous chunk's signature. You can know the size of your data ahead of time, e.g. file size. And since you never need to sign the entire content you never need to load it into memory.

W.r.t. compressed requests -- my transport does not compress request at the moment. It would be reasonable to automatically compress requests bigger than 8kB or so, but I don't know how to sign them. Does your demo work? Can you compress all requests to OpenSearch service? If so, then that functionality can be incorporated into the transport.

The code in https://github.com/dblock/aws-sdk-sigv4-demo/blob/master/src/main/java/org/dblock/AmazonOpenSearchServiceSample.java#L45 works. Feel free to add before/later.

I would implement compression in the OutputStream that gets passed to JsonpMapper for serialization. It would start delegating to a ByteArrayOutputStream, and if it gets more than 8K then it would insert a GzipOutputStream in front. This way we never need to allocate an array as big as the uncompressed request.

👍

Closing via #177.

Are the integration tests being run as part of the build process?
There's a PR -- opensearch-project/opensearch-net#66 -- that adds SIGv4 to .NET client. It'd be great if it had the same test coverage as the Java implementation.

Unfortunately we're not. I opened https://github.com/opensearch-project/opensearch-clients/issues/31. We need infrastructure and a login to do that.

Note https://github.com/awsdocs/amazon-opensearch-service-developer-guide/pull/66 that is PRed into the AWS service doc.


Makes pnpm work without breaking docker and repotests. 1 Breaking change

[ ] BREAKING: @types packages are no longer ignored for pnpm projects. With deep validation, it is not possible to rebuild all dependency trees by ignoring specific packages easily
[ ] Due to some legacy baggage, purl cannot be set in parsePkgJson
[ ] Fixes #411

@ajmalab @cerrussell  could you kindly test and review this PR?
@Hritik14 Could you test #411 with this?

@prabhu tested on the same project used in the issue and it seems fixed!


Migrations - RangeError: Maximum call stack size exceeded

I'm running into a very strange error when running Knex migrations.
For context, I'm speaking specifically about running migrations during testing. Before each test, my database is completely wiped and migrations are run. I use the following script:
Bookshelf.knex.raw('DROP OWNED BY scout CASCADE')
            .then(() => Bookshelf.knex.migrate.latest())
            .then(() => Bookshelf.knex.seed.run())

This has been working perfectly for months. Yesterday, I added a new field to one of my tables and suddenly I started receiving the following error:
Knex:warning - migrations failed with error: Maximum call stack size exceeded
Unhandled rejection RangeError: Maximum call stack size exceeded
    at TableBuilder.(anonymous function) [as timestamps] (/Users/jamesdixon/Projects/scout/platform/app/api/node_modules/knex/lib/schema/tablebuilder.js:140:32)
.
.
[repeats literally 1000 times]
    at TableBuilder.(anonymous function) [as timestamps] (/Users/jamesdixon/Projects/scout/platform/app/api/node_modules/knex/lib/schema/tablebuilder.js:140:32)
.
.
at TableBuilder.knex.schema.createTable [as _fn] (/Users/jamesdixon/Projects/scout/platform/app/api/db/migrations/20150807152917_surcharge.js:33:11)
    at TableBuilder.toSQL (/Users/jamesdixon/Projects/scout/platform/app/api/node_modules/knex/lib/schema/tablebuilder.js:71:12)
    at SchemaCompiler_PG.createTable (/Users/jamesdixon/Projects/scout/platform/app/api/node_modules/knex/lib/schema/compiler.js:62:23)
    at SchemaCompiler_PG.toSQL (/Users/jamesdixon/Projects/scout/platform/app/api/node_modules/knex/lib/schema/compiler.js:51:26)
    at SchemaBuilder.toSQL (/Users/jamesdixon/Projects/scout/platform/app/api/node_modules/knex/lib/schema/builder.js:57:43)
    at /Users/jamesdixon/Projects/scout/platform/app/api/node_modules/knex/lib/runner.js:52:32
    at tryCatcher (/Users/jamesdixon/Projects/scout/platform/app/api/node_modules/bluebird/js/release/util.js:16:23)
    at /Users/jamesdixon/Projects/scout/platform/app/api/node_modules/bluebird/js/release/using.js:185:26
    at bound (domain.js:280:14)
    at runBound (domain.js:293:12)
    at tryCatcher (/Users/jamesdixon/Projects/scout/platform/app/api/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/Users/jamesdixon/Projects/scout/platform/app/api/node_modules/bluebird/js/release/promise.js:510:31)
    at Promise._settlePromise (/Users/jamesdixon/Projects/scout/platform/app/api/node_modules/bluebird/js/release/promise.js:567:18)
    at Promise._settlePromise0 (/Users/jamesdixon/Projects/scout/platform/app/api/node_modules/bluebird/js/release/promise.js:612:10)
    at Promise._settlePromises (/Users/jamesdixon/Projects/scout/platform/app/api/node_modules/bluebird/js/release/promise.js:691:18)
    at Promise._fulfill (/Users/jamesdixon/Projects/scout/platform/app/api/node_modules/bluebird/js/release/promise.js:636:18)
    at PromiseArray._resolve (/Users/jamesdixon/Projects/scout/platform/app/api/node_modules/bluebird/js/release/promise_array.js:125:19)
    at PromiseArray._promiseFulfilled (/Users/jamesdixon/Projects/scout/platform/app/api/node_modules/bluebird/js/release/promise_array.js:143:14)
    at Promise._settlePromise (/Users/jamesdixon/Projects/scout/platform/app/api/node_modules/bluebird/js/release/promise.js:572:26)
    at Promise._settlePromise0 (/Users/jamesdixon/Projects/scout/platform/app/api/node_modules/bluebird/js/release/promise.js:612:10)
    at Promise._settlePromises (/Users/jamesdixon/Projects/scout/platform/app/api/node_modules/bluebird/js/release/promise.js:691:18)
    at Async._drainQueue (/Users/jamesdixon/Projects/scout/platform/app/api/node_modules/bluebird/js/release/async.js:138:16)
    at Async._drainQueues (/Users/jamesdixon/Projects/scout/platform/app/api/node_modules/bluebird/js/release/async.js:148:10)
    at Immediate.Async.drainQueues (/Users/jamesdixon/Projects/scout/platform/app/api/node_modules/bluebird/js/release/async.js:17:14)
    at runCallback (timers.js:574:20)
    at tryOnImmediate (timers.js:554:5)
    at processImmediate [as _immediateCallback] (timers.js:533:5)

You'll notice that right after the repeating piece ends, the stack trace points to one of my migrations. Here's the thing, the name of that file changes on every run and whenever I look at those files, there's nothing wrong.
Here's a strange thing: when running my tests, this doesn't seem to occur right away. A few tests are run before failure. When I take a look at the migrations table after the failure, the number of records is never consistent, so it doesn't seem that a specific migration is causing the issue.
Here's the really strange thing: if I remove a single field from ANY one of my 42 migrations, everything works completely fine. If I add a field back to any one of those migrations, regardless of name or type, I see the error again.
It's almost like I've hit some sort of field limit or there is some sort of leak. I'm running v0.12.2, but have tried versions of 0.11.x and 0.10.0 and see the same issue.
I'd post my files if I could, but there's just too many.
Appreciate any help -- this is a doozy.
Thanks!

I was actually just informed by someone else of a similar looking issue and I have been scratching my head as to what might be causing it... Can you confirm the version of node you're seeing the issue in?

Thanks for the quick reply!
I'm seeing the issue on Node 6.7. More than happy to test on other versions if you'd like.

Yeah, since that's the latest would you mind checking if it shows up on the last few versions prior? Thanks!

I should have tested on another version before; my apologies.
That said, I did some testing and can confirm it starts acting up in Node 6.5 and is present in 6.6 and 6.7. Node 6.4 and below seem to work fine.

Hm, we actually encountered these errors as well, it was in one of our tests where we had to migrate back and forth. I'll try to find a commit/issue and supply potentially resourceful information if possible.

Not sure if this is what Tim was referring to, but we had a similar bug on node v6 only in our custom migration system with regard to the isNullable() function. This PR: https://github.com/TryGhost/Ghost/pull/7511 seemed to fix the error.
It would take 6/7 goes through travis to get the our tests to pass. Meaning the problem is also intermittent. Very, very, very odd.

@ErisDS do you know which version of node?

I'm guessing this is an example failure case, where it seems it's failing in node 6.7 - https://travis-ci.org/TryGhost/Ghost/jobs/164642712
The fact that this has just started happening recently makes me think it's potentially an issue related to the v8 bump in node >= 6.5

Yeah that is one example, we see this fail in different ways. Another example is this (copied and pasted before a restart):
https://gist.github.com/ErisDS/a63a989d7c46dfa487a3f8819729bb66
It was all within the last few days, so v6.7

@ErisDS Sounds like what we experienced, but as db latency got higher the problem occurred more predictably.

@tgriesser I'll try to find time to test this (if I can reproduce this predictably) on node v7 (v8 5.5).

I split out the offending code paths so this hopefully shouldn't happen. Also opened a ticket on nodejs about it (and mentioned all of you) if you'd be able to provide any other info that might be helpful. If it is a v8 regression its a bit concerning even if we patched it here.
@jamesdixon Any chance you could npm install from master and see if things are fixed?

@tgriesser I can confirm this appears to be resolved in 0.12.5.
Thanks a ton for looking into this and providing a fix!


Custom table footer

Are there any thoughts on implementing a custom footer? (a fixed row at the bottom of the table)

@vaggouras, there's no any way to do this, but you can add your custom component on the bottom of BootstrapTable.
render(){
    return (
        <div>
            <BootstrapTable data={product}>
                  //....
            </BootstrapTable>
            <CustomComponent />
        </div>
    );

}

Hello @AllenFang is anyone working on this? I'll give it a try!

Hey, I managed to add a footer with this changes.
https://github.com/AllenFang/react-bootstrap-table/compare/master...r1g0:footer?diff=split&name=footer
It is not complete, but it works.  Right now I was thinking that it needs to:
-Receive a footer class
-Have props to show or hide the footer (right now, it always shows)
Do you think of anything else?

hi @r1g0, sorry for lately reply. I thinks your two question is all available to implement base on you changing.
BTW, in v3.0.0, I've planned to make these component more customizable. But just need some time to do it :)

Hi, guys! I'm trying to add footer to react bootstrap table as on attached image. Is it possibe to do it? Could please share links or provide me some information?

@AntonukOM, sorry for long delay,  I'll support it but without any schedule promise

Ok, will be wait for it. Thank you for feedback

Hey there. Any news on these? Or the idea was abandoned?


bora apply stack (update stack) error with 'on_failure' params

Create stack works fine but apply stack (update stack) failed with error:
aws-sdk-core/param_validator.rb:28:in `validate!': unexpected value at params["on_failure"] (ArgumentError)

'on_failure' is not an argument for aws update-stack command but would be good for Bora to not pass this to update-stack.
ruby: 2.4.1p111 (windows)
gem: 2.6.11
aws-sdk-core-2.9.38

Hi @starchx
That's a result of my recent PR #27.
I will have a look - do you have a sample bora.yml that you were using?

This is happening because the filtering out of invalid update attributes in cfn/stack.rb assumes that keys are symbols, whereas the ones passed through from bora.yml are strings. Spec didn't pick it up because it uses symbols too.
Possible fixes:

Make cfn/stack.rb indifferent to strings and symbols (the aws-sdk accepts either, so this is a reasonable approach I think.
Make sure all keys passed in to cfn/stack.rb are symbolized.
Make sure all keys passed in to cfn/stack.rb are stringified.

Reviewing the code in cfn/stack.rb, there are a few other places this could potentially happen too.

I think the other methods in cfn/stack.rb are OK.
Generally we use symbols throughout the code for the params passed into cfn/stack.rb, so possibly the best fix would be to convert any string keys to symbols in cfn_options_from_stack_config.

Fixed by symbolizing the keys being passed into cfn/stack.rb. Released in 1.7.2.

@ampedandwired Awesome! Thanks for the quick fix. bora apply now works.
bora diff still complains the same error though, but less important. It still works.

Ah, sorry about that. Will reopen and fix the diff too.

Fixed in 1.7.3. I'm going to change the way this works a bit and add some integration tests to catch stuff like this in the future.

Fixed in 1.7.3. I'm going to change the way this works a bit and add some integration tests to catch stuff like this in the future.


[crypto-awslc] update aws-lc-sys dependency to align with the latest …

…aws-lc-rs version
Description of changes:
aws-lc-rs doesn't strictly update with aws-lc-sys, so when the versions drift we have to align them
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT license.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 89.52%. Comparing base (f56ef7c) to head (4b965ab).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #141   +/-   ##
=======================================
  Coverage   89.52%   89.52%
=======================================
  Files         173      173
  Lines       31455    31455
=======================================
  Hits        28161    28161
  Misses       3294     3294

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Research and document the changes from CI/CD team to the indexer

Description
@wazuh/cicd team has managed the wazuh-indexer component until now.
We need to study and document the changes performed to OpenSearch to migrate them to this fork.

The tools use by the @wazuh/cicd team to generate the wazuh-indexer packages are stored in wazuh-packages/stack/indexer
In the base/builder.sh file, we can find these changes:
https://github.com/wazuh/wazuh-packages/blob/3d3684125348f32ba98836588c7eea8811fbde5f/stack/indexer/base/builder.sh#L54-L71

Service files comparison
In the base/files folder we can find this files:
files
├── etc
│   ├── init.d
│   │   └── wazuh-indexer
│   ├── sysconfig
│   │   └── wazuh-indexer
│   └── wazuh-indexer
│       ├── jvm.options
│       └── opensearch.yml
├── systemd-entrypoint
└── usr
    └── lib
        ├── sysctl.d
        │   └── wazuh-indexer.conf
        ├── systemd
        │   └── system
        │       ├── wazuh-indexer-performance-analyzer.service
        │       └── wazuh-indexer.service
        └── tmpfiles.d
            └── wazuh-indexer.conf

From those, only these have their OpenSearch analog in the opensearch-build repo:

etc/sysconfig/opensearch
usr/lib/systemd/system/opensearch-performance-analyzer.service
usr/lib/systemd/system/opensearch.service

We'll focus on comparing these first (against v2.9.0 files).
etc/sysconfig/wazuh-indexer

OPENSEARCH_HOME is commented (disabled).
LD_LIBRARY_PATH is missing (probably outdated).
OPENSEARCH_JAVA_HOME has been renamed to JAVA_HOME (probably outdated. Might have unknown consequences). The variable is empty, while in OpenSearch contains the path to Java. In both versions, the setting is commented by default, but the changes are evident.
PID_DIR is commented (disabled).
OPENSEARCH_JAVA_OPTS renamed to WI_JAVA_OPTS.
OPENSEARCH_STARTUP_SLEEP_TIME rename to WI_STARTUP_SLEEP_TIME.

usr/lib/systemd/system/opensearch-performance-analyzer.service
Lots of changes, although it's a short file. Better seen together.
[Unit]
Description=Wazuh-indexer Performance Analyzer
PartOf=wazuh-indexer.service
After=wazuh-indexer.service

[Service]
ExecStart=/usr/share/wazuh-indexer/bin/performance-analyzer-agent-cli
Restart=on-failure
User=wazuh-indexer
Group=wazuh-indexer
Environment=OPENSEARCH_HOME=/usr/share/wazuh-indexer
WorkingDirectory=/usr/share/wazuh-indexer

[Install]
WantedBy=wazuh-indexer.service

[Unit]
Description=OpenSearch Performance Analyzer

[Service]
Type=simple
ExecStart=/usr/share/opensearch/bin/opensearch-performance-analyzer/performance-analyzer-agent-cli
Restart=on-failure
User=opensearch
Group=opensearch
EnvironmentFile=-/etc/sysconfig/opensearch
WorkingDirectory=/usr/share/opensearch

[Install]
WantedBy=multi-user.target

usr/lib/systemd/system/opensearch.service

Changed description and documentation. These changes are expected.
Added Wants=network-online.target After=network-online.target for no apparent reason.
Changed workingDirectory, user, group, execStart and environmentFile. Expected changes.
TimeoutStartSec increased from 75 to 180.
Added several environment variables. The same that were commented in etc/sysconfig/wazuh-indexer. These changes are redundant and should be rolled back.

Environment=OPENSEARCH_HOME=/usr/share/wazuh-indexer
Environment=OPENSEARCH_PATH_CONF=/etc/wazuh-indexer
Environment=PID_DIR=/run/wazuh-indexer
Environment=OPENSEARCH_SD_NOTIFY=true


chore(deps-dev): bump typescript to v4.9.3

Issue
TypeScript 4.9 announcement: https://devblogs.microsoft.com/typescript/announcing-typescript-4-9/
Description
Bumps TypeScript to v4.9.3
Testing
CI

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

We'll revisit this PR after eslint adds support for it in https://github.com/typescript-eslint/typescript-eslint/issues/5688


Ability to identify some user commands from userInput

Description
This commit is a continuation on implementing Natural Language Processing capability of the application, though it is only limited to identify commands that are free of parameters. The parser will only be invoked when the first token of the userInput does not correspond to any of the keywords that matches any of the existing command
This PR aims to fix issue #24
.
Changes in this commit

added switch statements for each intention deciphered from userInput
trained the bot to identify several pre-defined intentions: List, History, Clear, etc.

TO-DO

Allow the parser to identify keywords such as name, phone number or email to be used as parameters.
Update UG/DG regarding this major enhancement

Good job! Keep up the good work man


BUG:Add fav icon

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
Add fav icon
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

please assign me this issue


zsh: command not found: yadr

I'm trying to add my own vim plugins but yadr command is not found.
Is there a way to add plugins without using yadr plugin manager?

@dylanpark The command is not yadr. It is yav. SEE https://github.com/skwp/dotfiles/blob/master/doc/vim/manage_plugins.md

please see doc/vim/manage_plugins.md
you can also simply edit ~/.vim/vundles.vim and add a Bundle whatever/whatever line, such as ~/.yadr/vim/vundles/project.vundle


Rust Crate

Hello, I found this repo on reddit when searching for a cross platform solution to copy files to the users clipboard. I appreciate the work you have done and would like to create a rust crate from the functions you've created. In addition to creating a crate I intend on implementing support for Linux as well. You have not specified a license for this repo, therefore I am seeking your approval prior to following through with my intentions.

MIT license added now, feel free to make improvements you want.


Incorrect EOL while getting changed files

Hello, i'm trying to run pre-commit script and getting error
failed to open stream: Invalid argument in \vendor\sjparkinson\static-review\src\File\File.php on line 174.
After code exploration i found the string that works wrong on my environment.
\vendor\sjparkinson\static-review\src\VersionControl\GitVersionControl.php:78
return array_filter(explode(PHP_EOL, $process->getOutput()));
I'm using window 7 + git bash + portable LAMP server (OpenServer)
In my case explode returns array that contains only one string.
But if i change PHP_EOL by "\n" it works.
Looks like php uses the system EOL while git bash console uses the linux one

Well that's interesting, the reason I used PHP_EOL was to help when running on different platforms.
I'll use \n instead and trim each line.

It can fix the problem. But also, there is another problem with the GIT under windows. With directory separators. The script can make file path and cmd like that: vendor/bin/phpcs --report=json --standard=psr2 C:\OpenServer\userdata\temp/sjparkinson.static-review/cached/vendor/sjparkinson/static-review/src/VersionControl/GitVersionControl.php
I think it's not a bug, but rather a feature of use GIT under Windows

For my reference here's a good SO answer on the EOL issue: http://stackoverflow.com/a/4975441
I guess the path issue is similar because we're using DIRECTORY_SEPARATOR?

Yes, it  is.
I'm still trying to run PhpCodeSnifferReview tool on my windows env, but there is no result.
I got new errors. If I can not fix them, i will try to run this on linux env.

I think we should use this to split lines:
return array_filter(preg_split('/(?:\r\n|\r|\n)/', $process->getOutput()));

It will work with any combination of CR, LF, or CRLF.

Any updates?


Documentation of Deep Breath algorithm

Description
An initial version of the documentation for the Deep Breath algorithm. Especially the "Model evaluation" and "Adaptation into Concept to Clinic" sections still need to be improved!
Reference to official issue
This pull request addresses #27
Motivation and Context
The Deep Breath algorithm provides useful insight into the nodule detection/segmentation process, and how the results can be used to make predictions. This documentation should help evaluate the algorithm and its usage for Concept to Clinic.
CLA

[ ] I have signed the CLA; if other committers are in the commit history, they have signed the CLA as well

Thanks @ask7


Camel 14935 kafka exception

In KafkaConsumer, clear lastProcessedOffset if Exception on partition Revoked

@davsclaus  The code is fine, with the clearing in the finally block.
Can this move forward, please. Thx.

No its not correct, you clear the map even if there is NO exception.

@DariusX is this the same problem in camel-2.25.x branch? If so you are welcome to create a PR against this branch

Yes, same in 2.25.x
Created new PR for that: https://github.com/apache/camel/pull/3884