fix: backtick issues in various files

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #56105

These are not curriculum docs, this is the curriculum
Anyway, can you please update the title of the PR to include a scope?

Hi @itsjatinnagar. Congrats on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We are happy to accept these changes and look forward to future contributions. 📝


Broken download link when setting up a server

attempts to download from https://github.com/VSCodium/vscodium/releases/download/1.81.1./vscodium-reh-linux-x64-1.81.1..tar.gz which is wrong in at least 2 places
edit:
the variable DISTRO_VSCODIUM_RELEASE is undefined in the install script
edit2:
after filling it in manually with 23222 it times out and says the server contents are corrupted

@jeanp413 nope, i was using vscodium
ive switched to microsoft vscode since then though


[REQ] Electrum Server

Here is the pretty lightweight Electrum Server:
https://bitcointalk.org/index.php?topic=4589797.0
Do you think can we implement it? That would be great.

what for in the our case?  can you elaborate how it will fit with raspiblitz?
Thanks

If you are using Electrum (https://electrum.org/) as Bitcoin wallet, then you are able to connect to your own Electrum server (by localhost if raspiblitz is on the same network), which is most secure option instead to use unknown Electrum servers, which can store logs, etc.

You may want to use https://github.com/chris-belcher/electrum-personal-server instead, there is numerous project doing this. I don't think that adding electrum on raspiblitz is a good idea, raspberry pi are cheap. I wouldn't merge it in raspiblitz but maybe official project maintainer are interested in the idea?

I have tried running ElectrumX on a couple of arm boards (raspberry 3, odroid XU4, pine64), and it was quite painful. It takes a long time so sync and you will probably run out of memory at some point.

@TheCharlatan thanks for reporting your experience.
The syncing of bitcoind is a pain raspiblitz users are used too ;) .. we have ftp/torrent prepared blockchain downloads to cope with this particular problem. The interesting part is how much extra ressources electrumx server eats up in addition to bitcoind and lnd and could all three run on a small powered arm board like the raspberrypi3+?

I can restart some arm devices end of the week to get a proper gauging, but on my dev environment ElectrumX running in docker eats between 0.5 and 1GB on testnet.

I've run electrumx on low spec virtual server. It was difficult. The syncinc of electrum db on top ofte bitcoin blockhain took long time. So when I did sync I just beefed up the vserver, which is not possible in raspis case...

I have it running on the raspiblitz.
The first sync takes 1,5 days. Every restart takes 2 hours, because it dose a full compaction of the database on every startup.
This are my startup parameters:
cargo run --release -- -vvvv --index-batch-size=10 --jsonrpc-import --db-dir /mnt/hdd/electrs --cookie="raspibolt:PASSWORD" --electrum-rpc-addr=<IP_ADDRESS>:50001

Transferring a fully synced ElectrumX DB to a Raspberry Pi3 works, as long as the Pi stays always online it can keep up with incoming blocks (as far as I recall.) I could even connect to it over Tor from a remote site, although querying took a a little while.
I've since moved to Electrs to test as I can actually sync it fully on the Pi without having to transfer a synced DB.  I haven't tested remotely connecting to it to query yet.

@Emzy AFAIU, full compaction should happen once (after the initial import is over), and since later updates come at a low rate, the "natural" RocksDB auto-compactions should take care of them quite well. Therefore, electrs should skip the full-compaction stage on subsequent restarts (unless there is a bug in the implementation...).

@Emzy AFAIU, full compaction should happen once (after the initial import is over), and since later updates come at a low rate, the "natural" RocksDB auto-compactions should take care of them quite well. Therefore, electrs should skip the full-compaction stage on subsequent restarts (unless there is a bug in the implementation...).
EDIT: found the bug and fixed it at romanz/electrs@1dcc8ac. Thanks for reporting this issue :)

Yes this fixed it!
Starts fast now.

Now let's see what will happen wenn we have a full mempool.
Will the PI handle it.

@Emzy any long term observations? Did it ran stable for you?

Yes, running fine on the PI 3 B+ for over 20 days without restart.

If anybody is at the 35c3 over the next days ... lets meet at the bitcoin assembly, exchange experiences and maybe build a test integration for the RaspiBlitz :) Hope to see you there.

Whould love this feature too (in Services). Keep up the good work. Like already stated, please help to implement it https://github.com/Stadicus/guides/blob/master/raspibolt/raspibolt_64_electrum.md

Results of my last test:
electrs took nearly 2 days to sync and works just fine.
Electrum Personal Server needs a few minutes to generate the addresses from your XPUB key.
After that you can use it, if your Electrum wallet if unused/new.
If you have old transactions in it. It will take about 4 hours to rescan 2 years. The rescan is performed by the bitcoind,  you have to enable the wallet function.
For both options there is no txindex needed.

I will start to test electrs on the Odroid HC1/HC2/XU4. My Rock64 is stable yet. Please share your experiences if you are running a node on DietPi https://github.com/openoms/raspiblitz/issues/26

@Emzy much thanks for runnig these tests :D
So I think we will go with electrum personal server for the v1.1 - providing the xpubkey should be possible to automate in the config script (I hope so). And its fair to assume that there are no transactions older than a year for rescan - because there was no RaspiBlitz a year ago ;)

Got the electrs working on my RPi as well. It is stable once built and the database is ready. Great advantage that it does not require scanning fro every XPUB vs. Electrum Persoanl Server. You can just point your Electrum and open any wallet with full privacy!
Screenshot with htop details: https://twitter.com/openoms/status/1108278035277639680
(should say that everything was maxed out during building the code and the database).
Tutorial and script: https://github.com/openoms/bitcoin-tutorials/blob/master/electrs/README.md
I would vouch for the option to have electrs in the RaspiBlitz (especially for better equipped boards, like the Odroid HC1 and XU4).
With any Electrum server implemented we presume the use of an external Electrum wallet. Might as well not limit to only the given XPUBs.

Big news from AcinQ today, the Eclair wallet is enabled for receiving payments: https://twitter.com/acinq_co/status/1111322747169357824
It is served by an Electrum server and you can set it to be a custom one.
You can test the Electrum Server in Rust by running this one line on your RaspiBlitz terminal:
wget https://github.com/openoms/bitcoin-tutorials/raw/master/electrs/electrs_install_on_RaspiBlitz.sh && sudo chmod +x electrs_install_on_RaspiBlitz.sh && ./electrs_install_on_RaspiBlitz.sh

I get this though when connecting Eclair (my server is working with the Electrum Wallet well):
TRACE - RPC Done
DEBUG - [<IP_ADDRESS>:37421] shutting down connection
ERROR - [<IP_ADDRESS>:37421] receiver failed: invalid request - maybe SSL-encrypted data?: [22, 3, 1, 0, 158, 1, 0, 0, 154, 3, 3, 116, 183, 21, 237, 62, 174, 177, 60, 162, 132, 221, 35, 230, 36, 0, 20, 1, 103, 181, 28, 173, 194, 24, 164, 193, 67, 144, 230, 175, 45, 221, 3, 0, 0, 16, 192, 44, 192, 43, 192, 47, 192, 19, 192, 20, 0, 156, 0, 47, 0, 53, 1, 0, 0, 97, 255, 1, 0, 1, 0, 0, 0, 0, 33, 0, 31, 0, 0, 28, 68, 105, 101, 116, 80, 105, 46, 99, 97, 98, 108, 101, 46, 118, 105, 114, 103, 105, 110, 109, 101, 100, 105, 97, 46, 110, 101, 116, 0, 23, 0, 0, 0, 13, 0, 20, 0, 18, 4, 3, 8, 4, 4, 1, 5, 3, 8, 5, 5, 1, 8, 6, 6, 1, 2, 1, 0, 5, 0, 5, 1, 0, 0, 0, 0, 0, 11, 0, 2, 1, 0, 0, 10]
INFO - [<IP_ADDRESS>:37421] disconnected peer

Will test setting up ssl: https://github.com/romanz/electrs/blob/master/doc/usage.md#ssl-connection

Being able to provide the RaspiBlitz as a social trusted Full Node for friends and family is one of the great goals :) This fits in nicely. I can see the RaspiBlitz that provides to friends and family that just run a thin mobile wallet like eclair the bitcoin info via Electrum and also provides channel capacity and a good route into the rest of the network, so that they dont need much care on channels etc.
@openoms - the SSL ties into this issue, that would plan to have one NGINX server with a Lets Encrypt SSL that forwards to all the other HTTP based services. https://github.com/rootzoll/raspiblitz/issues/255

@openoms please coordinate with @Emzy on which Electrum server will work with the eclair mobile app.

So we are all more on the side of electrs? Maybe the better alternative.
We can also have a torrent for the database?
So there are not a 18+ hours sync time.
I will test the script "https://github.com/openoms/bitcoin-tutorials/raw/master/electrs/electrs_install_on_RaspiBlitz.sh"
I will also test NGINX and Eclair.

I managed to make my electrs (on DietPi, Odroid XU4) serve the Eclair wallet! Works even from the outside with a dynamic DNS.
This pointed to the right directions, soon to be implemented in the electrs readme. https://github.com/romanz/electrs/pull/126/commits/18890b78e3541f9f5a6f58638ba818891c724443
Would like to clarify the security and privacy drawbacks of the setup a bit and start a more detailed guide for the RaspiBlitz. Curious to see how the Raspberry takes the hit.

Many thanks for testing and documentation efforts, much appreciated!
Please let me know if there is anything I can do to help this use-case :)

Thanks @romanz for keeping an eye on us!
I have set up the whole thing electrs, nginx and certbot with systemd services on my two running nodes, Odroid XU4 and HC1. Seen Free Mem 716M / 1994M only with Eclair connected. We might run into issues with the RPI, I am very curious. There is a swapfile set up, so running out of memory would cause a serious slow down, maybe not errors. I will spin up my RPi node as well.
Please have a look and maybe test this script with the RaspiBlitz specific settings: https://github.com/openoms/bitcoin-tutorials/blob/master/electrs/electrs_automation_for_Eclair.sh
(it is completing the previous https://github.com/openoms/bitcoin-tutorials/blob/master/electrs/electrs_install_on_RaspiBlitz.sh)

TODO: https://github.com/openoms/bitcoin-tutorials/tree/master/electrs

TODO: https://github.com/openoms/bitcoin-tutorials/tree/master/electrs

to be optional, right?  Raspiblitz should always default to the minimal install (least RAM resources possible) so to give room for dev's who might want to run their own apps on top of a bitcoin full-node.

@fluidvoice optional correct - something you can switch on/off and see if it works for you.

The intermittent running of electrs seems to be feasible even on the RPi. Great test results here from @Himbeergeld: https://github.com/openoms/bitcoin-tutorials/issues/2#issuecomment-486417803

The Electrs is serving well on the RPi4 4GB and flawless for months on the Odroid HC1 2GB.
Installing Rust and building the Electrs binary from source is a lengthy process, so I suggest we could include those in the SDcard image (build_sdcard.sh) and trigger to build the database build from the Services menu as an option.
I had multiple problems with installing Nginx and Certbot to serve remote SSL connections, mainly because of their many dependencies breaking during setup.
The better option would be to offer a hidden Tor service to connect to remotely: https://github.com/openoms/bitcoin-tutorials/tree/master/electrs#tor-hidden-service
I am thinking that there could be a separate downloadable script with a dialog based GUI (like the rest of the RaspiBlitz menu) to help testing integration.
Other specifics:

electrs should be owned and run by the user bitcoin
needs to copy the RPC password to either the electrs.service file or to config.rs. See

# to preserve settings:
# see https://github.com/romanz/electrs/blob/master/src/config.rs
# sudo nano $HOME/electrs/src/config.rs
# change the lines:
# 73: from: .takes_value(true), to: .default_value("raspibolt:PASSWORD B"),
# 132: from .default_value("Welcome to electrs (Electrum Rust Server)!") to your custom message

The Electrs is serving well on the RPi4 4GB and flawless for months on the Odroid HC1 2GB.

I startet yesterday with testing your 1_electrs_on_RaspiBlitz.sh script from https://github.com/openoms/bitcoin-tutorials/tree/master/electrs
It is using the admin user and is still syncing (PI4 4GB with USB3-HDD). I will test the new one afterwards.

Installing Rust and building the Electrs binary from source is a lengthy process, so I suggest we could include those in the SDcard image (build_sdcard.sh) and trigger to build the database build from the Services menu as an option.

The better option would be to offer a hidden Tor service to connect to remotely: https://github.com/openoms/bitcoin-tutorials/tree/master/electrs#tor-hidden-service

I agree.

I am thinking that there could be a separate downloadable script with a dialog based GUI (like the rest of the RaspiBlitz menu) to help testing integration.
Other specifics:

electrs should be owned and run by the user bitcoin
needs to copy the RPC password to either the electrs.service file or to config.rs. See

# to preserve settings:
# see https://github.com/romanz/electrs/blob/master/src/config.rs
# sudo nano $HOME/electrs/src/config.rs
# change the lines:
# 73: from: .takes_value(true), to: .default_value("raspibolt:PASSWORD B"),
# 132: from .default_value("Welcome to electrs (Electrum Rust Server)!") to your custom message

@emzy I have done some major refactoring making the config file generation safer and introduced the user electrs to run the service.

@Emzy I have done some major refactoring making the config file generation safer and introduced the user electrs to run the service.
The SSL setup got simplified, but it is probably best to use the Tor hidden service to connect: https://github.com/openoms/bitcoin-tutorials/blob/master/electrs/Tor_Hidden_Service_for_Electrs.md

I will test it again. The last version I testet is running electrs with user-id admin.
Tnx for the effort!

I testet 1_electrs_on_RaspiBlitz.sh and 2_electrs_systemd_service.sh and it worked just fine. Great work!
The certbot at 3_Nginx_and_Certbot_for_SSL.sh makes it complicated. You need Dyndns and a port forward working.
Electrum works fine with a self signed certificate. And even cache it. So you are save after the first connect.
I would recommend to have certbot at a option and just use a self signed certificate as default.
What do you think? @openoms

@Emzy thank you for the suggestion, a self signed certificate would make a lot of sense. It still encrypts the communication, but there is no need for a central authority to verify the certificate as we are connecting to a known and trusted RaspiBlitz.
I think all three scripts could be made to one (with certbot and it's requirements removed).
As an extra I could add the automatic setup of a Hidden Service for Electrs too if Tor is enabled on the node already.

Update:
The setup process got hugely simplified
The electrs script is now unified and uses a self signed certificate.
It installs:

Update: https://github.com/openoms/bitcoin-tutorials/blob/master/electrs/electrs_to_RaspiBlitz.sh
The setup process got hugely simplified.
The electrs script is now unified and uses a self signed certificate.
It installs:

Rust
Electrs
Nginx for connecting through SSL with a self-signed certificate
Tor Hidden Service if Tor is active
runs as a dedicated user: electrs

Testet it. Runs fine.
I added a check for an already generated certificate.
And a Tor example.
https://github.com/openoms/bitcoin-tutorials/pull/17

made the script to match the config.scripts style.
Tested on and off, works.
https://github.com/openoms/raspiblitz-extras#electrum-rust-server
I suggest this could be implemented to the SERVICES menu and be part of the 1.4 release.
Only thing that we should somehow separate the menu to avoid recommending this to be run on an RPi3 / 1 GB RAM device.

I had no issues running it on a RPi3. I will do a new test on a RPi3.

PR is now in: https://github.com/rootzoll/raspiblitz/pull/868
@emzy great to hear. No need to restrict the RPi3-s then. Other projects run it on that hardware too. I think memory is an issue with numerous LN channels, but with 1GB RAM one is limited on that anyway.

@openoms I switched to a Raspberry PI 3+ to test electrs again. The initial sync took 2,5 days with a HDD.
Opening an Electrum wallet is slow but works. A wallet with 20 transactions took 15 seconds and one with 100 transactions took 1 Minute.
My LND has only one channel open, maybe that helps.
After the first sync of electrs I had to reboot. Because it was too slow to open a wallet in Electrum. I think something else was saturating the USB2 of the HDD.
I would recommend a PI4 for it, but IP3+ works.

@Emzy great test results, thank you for sharing! Will include them in the related guide.

@rootzoll if the electrs database is already present the install script could move it to the new directory to avoid manual steps or reindexing as mentioned in this tweet: https://twitter.com/rootzoll/status/1209047432237068288?s=20
Whoever used my guide and script( https://github.com/openoms/bitcoin-tutorials/tree/master/electrs) would have the electrs datbase in :  /mnt/hdd/electrs/db owned by electrs:electrs .

Currntly the electrs install script shows too detailed / redundant info. The Hidden Service QR code is accessible from the tor menu and should not be shown at the end of the setup.
Will clear and will show a nice summary in a message box.


Sablier V2

Revision checks

[X] Used smart contracts were audited.
[X] Your Safe App include a manifest.json file at the root with the required data
[X] The app can be loaded as a custom Safe App in the Apps section of https://app.safe.global.
[X] The app auto-connects to the Safe.
[X] You are able to trigger and execute one transaction with a Safe.
[X] RPC requests are optimized (not triggering many requests in a very short time period).

Name/Description
Name: Sablier V2
Description: The token streaming protocol.
Type

New addition

Compatible Networks
- Mainnet
- Goerli
- Gnosis Chain
- Avalanche
- Binance Smart Chain
- Polygon
- Optimism
- Arbitrum

Audit document
https://github.com/sablier-labs/audits
Code for review
https://github.com/sablier-labs/v2-interfaces
IPFS hash/App URL
https://app.sablier.com
Other request
Could you please update the name of the currently existing Sablier Safe app to "Sablier V1"? That will help differentiate both versions, as the current app only works for Sablier V1, while this version only supports Sablier V2. Would also appreciate if you could change the description there to "The token streaming protocol." too. Thank you! 🙏
Team information

- Project logo: https://github.com/sablier-labs/branding/blob/main/icon/svg/icon.svg
- Project landing page: https://sablier.com
- Team or discord contact: @maxdesalle
- Twitter link: https://twitter.com/sablier
- Github link: https://github.com/sablier-labs

@maxdesalle I think the repo is private. Could you invite me?
Thank you!

Hi team! Looks like there is no token list available on gnosis chain at this moment, making a bit difficult to create any stream there. Could you give it a 👀 ?
Thanks!

@maxdesalle I think the repo is private. Could you invite me?
Thank you!

Hey @dasanra, just invited you! Sorry for that, you should have read access now.

Hi team! Looks like there is no token list available on gnosis chain at this moment, making a bit difficult to create any stream there. Could you give it a 👀 ?
Thanks!

Oh, good catch. We had listed the tokens, though, so it's probably an update issue with regards to the token list. Just shared this internally, will investigate!

Are you able to access it @JagoFigueroa? Let me know if we need to give access to other people as well, we would really like it to have the Safe app live ASAP! 🙏

The app is working nicely for me in all chains but not on gnosis chain due to the issue I mentioned a couple of messages back 😢 if you could check that before we list it that would be awesome. Señor Daniel is the one checking the repo 😄
Cheers!

The app is working nicely for me in all chains but not on gnosis chain due to the issue I mentioned a couple of messages back 😢 if you could check that before we list it that would be awesome. Señor Daniel is the one checking the repo 😄
Cheers!

Oh, my bad, meant to tag @dasanra! We are currently at EthCC but will fix the Gnosis Chain token list ASAP, and can do so even after the app is submitted (we use Uniswap's tokenlists specification).

All good and enjoy the conferences! We will give it a final 👀 and come here with confirmation real quick 😄

App should be listed in all chains but gnosis chain now 🎉 Let us know about the token list and we will list it there too! Also, would you like us to unlist Sablier v1?
Cheers!

Wow that was quick, thank you @JagoFigueroa! We will update the Gnosis Chain tokenlist ASAP. Regarding the Sablier V1 app, could you please check the "Other requests" section in my original post? Added it below to make it easier:

Other requests
Could you please update the name of the currently existing Sablier Safe app to "Sablier V1"? That will help differentiate both versions, as the current app only works for Sablier V1, while this version only supports Sablier V2. Would also appreciate if you could change the description there to "The token streaming protocol." too. Thank you! 🙏

My bad! I can see that it was done by @dasanra on the first place 😂

We updated the app with tokens for Gnosis Chain @JagoFigueroa! Let me know if there are any issues.

Awesome, thanks! I see that the app is listed on gnosis chain so I will close the ticket if that is okay 💪


Find in files issue

the behaviour of CMD + SHIFT + F is different from CMD + F, CMD + F will automatically fill the word under cursor into search input field, but find in files will not.
I have to select word under cursor before CMD + SHIFT + F to perform this action, and in my opinion, it's not convenient to use find in file feature.

VSCode Version: Code 1.7.2 (7ba55c5860b152d999dda59393ca3ebeb1b5c85f, 2016-11-21T22:01:10.756Z)
OS Version: Darwin x64 16.1.0
Extensions:

Extension
Author
Version

beautify
HookyQR
0.5.5

vscode-docker
PeterJausovec
0.0.7

unity-debug
Unity
1.0.4

vscode-javascript-snippet-pack
akamud
0.1.5

vscode-eslint
dbaeumer
1.1.0

python
donjayamanne
0.5.5

MagicPython
magicstack
0.5.17

cpptools
ms-vscode
0.9.2

csharp
ms-vscode
1.5.3

mono-debug
ms-vscode
0.11.0

vscode-icons
robertohuertasm
4.0.2

Spell
seanmcbreen
0.8.6

python
tht13
0.2.3

vim
vscodevim
0.4.3

JavaScriptSnippets
xabikos
1.2.0

Material-theme
zhuangtongfa
1.0.3

vscode-proto3
zxh404
0.0.4

Steps to Reproduce:

Works as requested in 1.11.


Add basic buffer utilities

Changes Unknown when pulling f73c10fb14b1696a1ceac9d6a5ce7c25e8aa272e on jg-buffer into ** on master**.

Changes Unknown when pulling f73c10fb14b1696a1ceac9d6a5ce7c25e8aa272e on jg-buffer into ** on master**.


could not find vs if not installed in default path

My vs2015/2017 is not installed in any of $ProgramFiles. And findAnyMSBuildWithCppPlatformToolset.ps1 failed to find any of them. So I have to hard-coded the path in it.
the error output:
Could not find MSBuild with C++ support. VS2015 or above with C++ support need to be installed.
location D:\vcpkg\scripts\findAnyMSBuildWithCppPlatformToolset.ps1:32 : 6

throw <<<<  "Could not find MSBuild with C++ support. VS2015 or above with C++ support need to be
installed."

CategoryInfo          : OperationStopped: (Could not find ...o be installed.:String) [], Run
timeException
FullyQualifiedErrorId : Could not find MSBuild with C++ support. VS2015 or above with C++ su
pport need to be installed.

Thanks for reporting this!
I modified the findAnyMSBuildWithCppPlatformToolset.ps1 script to use the registry to find your VS2015 installation in the branch dev/roschuma/find-vs. Could you try that out and see if it fixes your issue?

@ras0219-msft yes, the new script successfully find the vs.

Thanks!


subpath

Hi!
I created a web app and a redbird reverse proxy app.
Reverse proxy app:
..
var proxy = require('redbird')({port: 80});
proxy.register("<IP_ADDRESS>/web1", "http://<IP_ADDRESS>:3000");
..

Web1 app:
..

Test site 1

..

http://<IP_ADDRESS>:3000
Test site 1 msg is ok.
Image is ok.
=> Web1 app works fine.

http://<IP_ADDRESS>/web1
Test site 1 msg is ok.
Image is 404 because the request url is still http://<IP_ADDRESS>/images.jpg

What is wrong?

I think you should put the source to images to /web1/images.jpg

if i modify the references in source code then how can work it in an another server (same source code) ?

Try this: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base


Avoid using collection as bean type in ManagedBeanTypesTest

Fixes #476
IIUIC, this should fix the problem while retaining the test goal (which is bean types for nested generics).
Is that right @arjantijms ?

I would avoid Iterable too, even if it seems fairly safe.
But yes, this is a proper way to fix this.

Looks good, same remark about Iterable.

I would avoid Iterable too, even if it seems fairly safe.

Looks good, same remark about Iterable.

Alright, alright, my laziness got the better of me :)
I've updated the PR to only use custom interface structure.

Do we treat this (or rather #476) as a challenge?

But just like an implementation detail was updated for the Authentication TCK that didn't effect the test goal itself (which is just testing generics in this case), it could be a general update. Thoughts?

I am not sure we are allowed to put anything but necessary changes and challenge resolutions to 4.0.x releases now.
It's probably safer to leave this for 4.1 - that being said, we should consider just moving main branch to that and creating a separate 4.0 branch for any further maintenance releases. Most work going into CDI now will be related to 4.1 anyway

I added the 4.1 milestone.
Good point about branching @manovotn though. I want to submit the PR for TCK tests for InvocationContext.getInterceptorBindings(), and there are some other outstanding PRs for 4.1 already. So I agree with moving master to 4.1.


what tool you use to visualize the diffusion process?

Hi, I find your protein visualization very beautiful! What tool do you use?

Thank you! I used the Protein Viewer extension for VScode to create that visualization. https://marketplace.visualstudio.com/items?itemName=ArianJamasb.protein-viewer


Tilde in filename gets substituted

issue
My filename looks like tobwen-1.1.0-1~buster_amd64.deb.
When releasing it, the filename gets renamed to tobwen-1.1.0-1.buster_amd64.deb.
remark
The tilde ~ is allowed on URLs and all major OS and filesystems, like Linux, macOS and Windows.
question
Is this a restriction of action-gh-release or ob github?

I've found the same issue occurs with a colon (:) in a filename. It is also being substituted with a period (.), making GitHub Releases unsuitable for hosting Arch Linux repositories that define an epoch parameter in PKGBUILD.

My assests are also having parentheses substituted with periods, which I know go through fine with manual uploads. I'd be somewhat surprised if those were considered "special characters", though the "non-alphanumeric" portion of the docs do suggest that could be possible. If so its quite silly that the endpoint would have limitation that the site UI doesn't.
The documentation could really be more specific, it basically just tells you to contact support. :/

Perhaps also spaces? Files seem to get uploaded as artefacts with spaces in the titles (my title.exe) and then when downloading and running through the action comes out (my.title.exe). It's an accepted character by GitHub, any reason for the substitution?

Hi
I also faced this issue where space are replaced by dot. It's break many things on our side. An update for this is possible/planned ?
Thanks

Same here with parentheses. Is this GitHub restriction?

This was noted in a recent pull request that relaxed the handling of names with spaces https://github.com/softprops/action-gh-release/pull/446#discussion_r1591023630
GitHub doesn't expressly document which characters may get replaced in its documentation but it does document some.

GitHub renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The "List release assets" endpoint lists the renamed filenames. For more information and help, contact GitHub Support.

On possible work around for now is to create an a archive whose name does not contain special characters that contains the file with special characters in its names and use that archive as the release asset


share/ipld: Remove duplicated namespace appended by NMTWrapper

Context
The NMTWrapper in celestia-core prepends to share (leaf nodes) an additional namespace, which is just a copy of real namespaces or the constant parity namespace.
Goal
Optimize data storage and network by removing this additional prepended namespace and automatically prepend it where needed.
Refs
https://github.com/celestiaorg/nmt/issues/55#issuecomment-1118931841

Unfortunately, we cannot implement this(in a clean way without introducing additional complexity).
If we want to cut the additional namespace added by NMTWrapper, then we should add it back once we receive it from the network so that we can properly verify the integrity. Doing this requires namespaceHasher to know from which quadrant the share data is coming, which is not possible


Polyglot not working on item descriptions

I am unable to use polyglot when editing item descriptions.

I think that is intended?

Polyglot only works for Journal entries, not items. Once you gave the item to a player, they would be able to translate the script.
A workaround would be to setup the text on a journal entry and link it in the item description.


[LS] Inconsistency in module prefixes

See attached Screenshot.

It should be file, not file-alpha3

This was due to use of new versioning for modules eg. 1.0.0-alpha3. Will fix it.


Created custom controls: FluentTextBox and FluentPasswordBox

FluentTextBox and FluentPasswordBox is a data entry control that has a default TextBoxRevealStyle and a Windows 10 placeholder and header functionality

Huh, I never knew there was a SecureString. I guess you learn something new every day.

I've used the functionality from the answer on StackOverflow to mimic the PasswordBox, since passwordbox is sealed type and cannot be inherited.

Hi, @fangeles02.
Thanks, for your PR :smiley:
I've checked the code changed.
About FluentPasswordBox
It is interesting that mimicking PasswordBox by using SecureString class.
By the way, do you want to add Header property to PasswordBox?
I think that Header feature can be implemented by AttachedProperty.
        <TextBox Width="120"
                 Margin="10"
                 Text="TextBox"
                 TextWrapping="Wrap"
                 fw:FrameworkElementExtension.Header="Header Text"
                 Style="{DynamicResource ButtonRevealStyle}"/>

(this is very early stage of implementation.)
I wonder that inheritance based approach leads to create many number of subclasses(FluentSlider, FluentComboBox, FluentListBox, and so on)
In this case, we have to maintain Slider's style and FluentSlider class implementation, ComboBox's style and Fluent...etc
I'd like to keep FluentWPF as simple as possible, for suppress the library's maintenace cost and prevent exploding class hierarchy.
As a result, I'd like to omit FluentPasswordBox class.
Related info
I think  attached property based approch is more flexible.
Windows Community Toolkit introduces attached property based way for extending TextBox feature.
https://docs.microsoft.com/en-us/windows/communitytoolkit/extensions/textboxregex
https://docs.microsoft.com/en-us/windows/communitytoolkit/extensions/textboxmask
About FluentTextBox
My opinion is similar to FluentPasswordBox.
PlaceHolderText may be implemented as attached property too.
But, creating these feature as AttachedProperty will be took long time, and PlaceHolder feature is needed.
So that I would like to merge only FluentTextBox class in  your PR, and include next Update of FluentWPF.
When these feature has implemented as attached property, FluentTextBox might be unnnessesory, and I'll probably remove it.
Is it OK?
If it is okay, please remove FluentPasswordBox and commit&push that branch.

Thanks.
Will try to create an attached property for the PlaceHolder and Header, then I will push to another branch 🙂

Hi @sourcechord
I have recreated the placeholder and header properties for TextBox and PasswordBox by using attached properties. Please see #31
Thanks 🙂


sRGB->linear differences between OCIO versions 1 and 2

When upgrading to OCIO 2, we've hit some failures in our internal test suite, comparing images loaded with OIIO/OCIO vs expected results. This seems to be due to precision differences in the sRGB->linear conversion, with 1.0 now yielding 1.0000001192092896 rather than 1.0 exactly. Steps to reproduce :

Use the config from https://github.com/imageworks/OpenColorIO-Configs/blob/master/nuke-default/config.ocio.
Run the following Python snippet, which should fail with an assertion error :

import PyOpenColorIO

config = PyOpenColorIO.GetCurrentConfig()
processor = config.getProcessor( "sRGB", "linear" )
if hasattr( processor, "getDefaultCPUProcessor" ) :
	# OCIO 2
	processor = processor.getDefaultCPUProcessor()

assert( processor.applyRGB( [ 1.0, 1.0, 1.0 ] ) == [ 1.0, 1.0, 1.0 ] )

This fails with OpenColorIO 2.1.1 but passes with OpenColorIO 1.0.9.
Is this a bug, or can we just not expect the same output in the two different versions?

@johnhaddon , it generally is not good practice to use "==" to compare floating-point numbers.  Float values should normally be compared to within some tolerance.  Often this tolerance is based on the notion of an ULP which is basically the difference between adjacent floating point numbers.  (This is lot of info elsewhere on the web about this topic.)
OCIO does not provide double-precision pixel processing, so the values 1.0 and 1.0000001192092896 are, for all practical purposes identical.

Hi @doug-walker, thanks for your reply. I'm aware of the general rule regarding floating point comparisons, but I must admit to being a little surprised at the results for this specific case. It's a simple transform, and I'm not aware of any other implementations with this result (although I've only recently tested OIIO's fallback and OCIO 1). We've added a little wiggle room to our tests now, so feel free to close if my expectations are unreasonable.

In 32-bit floating point 1.0000001192092896 (0x3F800001) is exactly (to double precision at least) one ULP from 1.0 (0x3F800000), which is another way of saying it is the next 32-bit floating point number after 1.0. Depending on what math functions are being used, 1 ULP is not unexpected.


Search for name "Parachains.set_heads" on Kusama fails

https://calamar.app/kusama/search?query=Parachains.set_heads

same for ParaInherent.enter

Requires new squids to be used instead of archives. In progress by Subsquid.

From subsquid (telegram):

Hey! Yes we did several example squids - pls test it
https://squid.subsquid.io/caller-squid/v/bifrost-m-chain-101/graphql
https://squid.subsquid.io/caller-squid/v/gmordie-m-chain-101/graphql
It should help you to

Get the caller of calls/extrinsics
Filter by pallet and event/call names
Search substrings in event/call args (fulltext search)


Copying a dot file such as .htaccess

Laravel Mix Version: 1.2.2
Node Version 6.9.4
NPM Version 3.10.10
OS: Windows

Description:
How to copy a dot file such .htaccess using Mix
Steps To Reproduce:
Previously in Elixir this worked: mix.copy('resources/assets/*.htaccess', elixir.config.publicPath + '/').
However, trying the same in Mix (mix.copy('resources/assets/*.htaccess', publicPath + '/')), gives no matches.
Is there a new syntax to follow?

@u01jmg3
mix.copy('resources/assets/.htaccess', publicPath + '/.htaccess')

Try that. you have to specify the destination file as well for hidden files (or dot files).

Works a treat, thanks


ARIKE: To create an interface for secondary nurses to view patients assigned to them

Is your feature request related to a problem? Please describe.
A secondary nurse needs to be able to see the patients assigned to them
Describe the solution you'd like
When secondary nurse logs in, she should ideally have a section that displays the patient assigned to her, with reason
Additional context
A secondary nurse, not only has general access to all patients within her CHC ad PHCs (roughly 500ish), but she should be separately notified on the new list of patients assigned to her, by a community nurse/physiotherapist/doctor from facilities tagged to her.

#61 and #63 comes as a subcategory of this (maybe self-assign?). I think you should create a generalized space for nurses to view patients that are assigned to them.


Private registry config option should not show in Helm chart installs for non-Rancher charts

It looks like the private registry config options are showing for all Helm charts that can be installed through Rancher catalogs. Because this option is directly configuring a Helm chart value called system_default_registry in its global values, it only applies to Rancher charts. Non-Rancher charts don't have Rancher global values, in which case this setting does nothing and should be hidden.
We need to check for the presence of the system_default_registry in the chart before exposing this input to the user:

I think we originally did this given the chart values file, however NeuVector didn't have the correct entries. They were going to update their chart, though not sure if other Rancher charts have the same issue

Even for NeuVector, we should still hide the chart if that global value is not in the selected chart version. Because configuring the value won't have any effect until they add it.

I think the problem their side was that it was used in one of the chart templates but not defined in values

There's potentially an existing PR in the Neuvector repo to address this but there may be other charts impacted by this.

I spoke with Selvam Thangaraj from the NeuVector team. He said that the NeuVector Helm chart has contained the system default registry in the global values since the v2.7.0 release.
https://github.com/rancher/charts/blob/release-v2.7/charts/neuvector/101.0.1%2Bup2.2.4/values.yaml#L7
No further changes are required to the NeuVector chart in order to allow this fix.

tested and passed on 2.7head 6ee3949
non rancher charts do not offer the option, additionally rancher charts DO still have the optoin.


Generate tables in a markdown compatible format

Since I will be analyzing the issues that should be fixed to make php-semver-checker more useful and correct, I plan on writing down in case analysis issues what the incorrectly suggested changes are.
The current table format does not display well at all in markdown.
Compare
+-------+----------------------------------------------------------+-------------------------------------------------------+---------------------------------+------+
| Level | Location                                                 | Target                                                | Reason                          | Code |
+-------+----------------------------------------------------------+-------------------------------------------------------+---------------------------------+------+
| MAJOR | src/Symfony/Component/Console/Style/SymfonyStyle.php:334 | Symfony\Component\Console\Style\SymfonyStyle::writeln | [public] Method has been added. | V015 |
| MAJOR | src/Symfony/Component/Console/Style/SymfonyStyle.php:343 | Symfony\Component\Console\Style\SymfonyStyle::write   | [public] Method has been added. | V015 |
| MAJOR | src/Symfony/Component/Console/Style/SymfonyStyle.php:352 | Symfony\Component\Console\Style\SymfonyStyle::newLine | [public] Method has been added. | V015 |
+-------+----------------------------------------------------------+-------------------------------------------------------+---------------------------------+------+
to

Level
Location
Target
Reason
Code

MAJOR
src/Symfony/Component/Console/Style/SymfonyStyle.php:334
Symfony\Component\Console\Style\SymfonyStyle::writeln
[public] Method has been added.
V015

MAJOR
src/Symfony/Component/Console/Style/SymfonyStyle.php:343
Symfony\Component\Console\Style\SymfonyStyle::write
[public] Method has been added.
V015

MAJOR
src/Symfony/Component/Console/Style/SymfonyStyle.php:352
Symfony\Component\Console\Style\SymfonyStyle::newLine
[public] Method has been added.
V015

In the best case, it is a matter of playing with the style of the Symfony Console. In the worst, it would require writing a new table generator.

I just gave this a try. This is what's preventing me: https://github.com/symfony/console/blob/master/Helper/Table.php#L261-L276
Note the calls to renderRowSeparator. For valid markdown tables you need to suppress the very first and last separators. The one right after the header has to be kept. The method is public, but it calls private methods..

Unless you have any ideas, I wouldn't mind writing my own implementation. Excluding col/row spans, pretty sure MD doesn't support that anyway.

@nochso You could probably inherit from the TableHelper and rewrite the render function or possibly create a new method like "renderMarkdown" from that same inherited class.


Not working on Android

File is correctly updated with cursor position however it does not scroll to position after closing the file or exiting obsidian. Tested in source view and live view.
Obsidian 1.4.9
Android 13, pixel 6a

I found a way to make this plugin work on Android.

Enable core plugin "worker space"
Enable this plugin
Open file
Save work space for the file you want to have cursor location saved.

From thereon if you make sure to closer that file/work space without changing the work space, like opening another tab, the workspace will be saved to open where you left off.
By themselves neither plugin will save and open the file to the property location, just open the file to the top.
Maybe there's something in this that'll help figure our why the plugin needs a work space saved or maybe a workaround so that it's not needed in the future 🤷♂

Thanks for the useful information

Found more useful info for Android users.
The plugin will remember cursor position without saving a workspace however once you close the file you MUST open it via "see recent files" or search. If you open the file via the file manager it'll open at the beginning of the document.
It seemed odd that the json file was properly being updated but then wasn't triggering the file to the property location. So, for Android, there seems to be a bug, or feature 😄, that resets the cursor position, or ignores the plugin, when the file is opened via file manager 🤷♂

Same issue experienced on Android:
Samsung Tab S8+, Android 13
Obsidian 1.4.16(114)
The cursor position always comes back to line 0.


Add ender tree

[ ] Portal tree

Perhaps it could grow ender pearls as apples similar to how Pam's Harvestcraft does their fruit?  Just a suggestion :)


Update Set-MpPreference.md

rearranged in ascending order using an Excel application commands taken from Windows 11 22H2 Enterprise build no 22621.2361 preview
Proofs

@get-itips, i don't know how to solve conflicts. Will you do it by yourself?

LIke @get-itips Suggested, it is not mandatory to declare these param sets in alphabetical order.

@RAJU2529 I think we should leave the article as-is.


Add Revoke trusted unknown extensions on long-tap on app icon

Describe your suggested feature
Add Revoke trusted unknown extensions on long-tap app icon for fail-safe option when app breaks from some extensions

Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.16.5.
[X] I will fill out all of the requested information in this form.

Instead of this we should focus on making the app not break due to faulty extensions. It'll be nice if you can share details in our discord server.


Process additional (--) parameters before final version parameter.

Fixes issue #1762.
Prior behavior:
nvm install --lts --reinstall-packages-from=8.9.3
Failed with error:
grep: unrecognized option `--reinstall-packages-from=8.9.3'
usage: grep [-abcDEFGHhIiJLlmnOoqRSsUVvwxZ] [-A num] [-B num] [-C[num]]
	[-e pattern] [-f file] [--binary-files=value] [--color=when]
	[--context[=num]] [--directories=action] [--label] [--line-buffered]
	[--null] [pattern] [file ...]
Version '--reinstall-packages-from=8.9.3' (with LTS filter) not found - try `nvm ls-remote --lts` to browse available versions.

Fixed behavior:
nvm install --lts --reinstall-packages-from=8.9.3
Succeeds!
The install command code separates processing parameters into 2 groups.
Main group [-s, -j, --no-progress, --lts, --lts=*, --latest-npm]
Additional group [--reinstall-packages-from=*, --copy-packages-from=*, --skip-default-packages]
The issue is that between processing these groups it was also grabbing a parameter interpreted as a version# to be installed. So when using the --lts flag, where then this version paramter won't be present if any of the params from the additional group where present it grabbed the first one as a version thus giving an error like...

Version '--reinstall-packages-from=8.9.3' (with LTS filter) not found

Also, while this patch will solve the immediate issue, the existing behavior of handling parameters as 2 groups is less than ideal.
It makes mixing the parameters together in order not possible.
For example this would not work (due to having a param from group 2 between params from group 1):
nvm install --lts --reinstall-packages-from=8.9.3 --latest-npm
But this would work:
nvm install --lts --latest-npm --reinstall-packages-from=8.9.3
Parameter order should not matter.
I'm happy with merging this fix as is, since this limitation already existed, but will probably revisit to correct the whole system in the future.

Found complexities not originally accounted for with optional binary compile params. Since there would be 2 optional param groups, this cannot be done without breaking existing use of the command.

I'm going to reopen this; i think this is still worth exploring.

@leebickmtu are you still interested in completing this PR?

@leebickmtu id prefer if you could restore the branch and reopen it; that way i can finish it.


add subdomain_matching param to Map

If server_name is passed to Map.bind_from_environ, and a subdomain is not passed in (as usually it's not possible to know it), it will try to detect the subdomain by removing server_name as a suffix from host. This restricts routing to only the configured server_name, even if we don't have any subdomain-based routing rules.
Move Flask's subdomain_matching param into Map (where host_matching is already). bind_to_environ should not extract a subdomain unless it's enabled.

server_name should also be ignored if host_matching is enabled, it should only be used for subdomain_matching.

default_subdomain should be used if it's set and server_name is not a suffix of Host. Currently "<invalid>" is always used, and I'm not sure this is correct since it causes wildcard subdomain="<name>" rules to still match, even though the comment indicates it should 404. So maybe evaluate removing "<invalid>" as well.


wine{Unstable, Staging}: 3.20 -> 3.21

works with wineStagingWow, didn't test other builds

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

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

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

Closing in favor of #51341
Sorry about that, sometimes we have competing updates


Add sebastinux.com

Website: https://sebastinux.com
This PR is:

[x] Adding a new domain
[ ] Updating existing domain
[ ] Changing domain name
[ ] Removing existing domain from list
[ ] Website code changes (darktheme.club site)
[ ] Other not listed

[x] The domain is in the correct alphabetical order
[x] The following information is filled identical to the data file

I confirm that I have read the FAQ page, particularly the red section about inappropriate content, and I attest that this site is appropriate based on those criteria.

[x] Check to confirm

- domain: sebastinux.com
  url: https://sebastinux.com/
  method: mediaquery
  last_checked: 2023-05-31

Thanks!


Dont use deprecated getName() method on Doctrine Dbal Platform class

Change Log

Added

Fixed

Changed

Deprecated errors from PHPStan

Removed

Support for Doctrine Dbal 2.x

Deprecated

Security

Description
AbstractPlatform::getName is deprecated in Doctrine 3.x. This PR introduces a BC break, because it drops support for Dbal 2.x. Let me know if we should support it both versions: 2.x and 3.x. I'll find a way.
EDIT
This class was added in DBAL 3.2 https://github.com/doctrine/dbal/blob/3.2.0/src/Platforms/PostgreSQLPlatform.php, but in the same time https://github.com/doctrine/dbal/blob/3.2.0/src/Platforms/PostgreSQL94Platform.php was mark as deprecated. It's hard to support 3.1.x and 3.2.x with PHPStan - I think the only way is to suppress deprecated warnings on that PostgreSQL94Platform class.  Another way us to support Dbal from 3.2.x, which I did in this PR.

I need add more tests. I have some issues locally with phpunit:
1) Flow\Doctrine\Bulk\Tests\Integration\PostgreSqlBulkInsertTest::test_inserts_new_rows_or_updates_already_existed_based_on_columns
include(/Users/tomaszhanc/Workspace/flow-php/doctrine-dbal-bulk): failed to open stream: Undefined error: 0

I'll check this later.


Error on push with Python Lambda function

Describe the bug
After adding a Python Lambda function to my Amplify project and attempting to push, I receive a UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
This causes the push to exit with failure.
Amplify CLI Version
4.21.4
To Reproduce

amplify add function
select Python and generate the function
amplify push

Expected behavior
Push should complete without error.
Screenshots

Desktop (please complete the following information):

OS: Mac
Node Version. v12.14.1

Additional context
If I manually set an environment variable: PIPENV_VERBOSITY=-1 I am able to run the push successfully.

Closing this as the fix has been merged and will be included in the next release after v4.24,


Resource group could not be found.

Problem encountered on https://dotnet.microsoft.com/learn/web/aspnet-deploy-microservice-tutorial/azure-resources
Operating System: windows
I am following tutorial for deploying microservice to Azure and I run into a problem.
When I run this command: 'az aks create --resource-group myMicroserviceResources --name myMicroserviceCluster --node-count 1 --enable-addons http_application_routing --generate-ssh-keys', I received error from uploaded picture.

Any solutions?
Thanks in advance!

@glennc - can you have a look?

@amercehic Did you run the command to create the resource group first? az group create --name myMicroserviceResources --location <location>

@amercehic Also, have you selected the correct subscription?
You can find out through az account show.

Hi. We're closing this issue as no response or updates have been provided in a timely manner and we have been unable to reproduce it. If you have more details and are encountering this issue please add a new reply and re-open the issue.

you may have multiple subscriptions.  set the subscription to default which you want to use in CLI.
https://docs.microsoft.com/en-us/cli/azure/manage-azure-subscriptions-azure-cli?view=azure-cli-latest


[pinmux] Add assertion for bus integrity error

As discussed in https://github.com/lowRISC/opentitan/pull/17956#discussion_r1164781366.
Fix #17956 #17413
@cindychip would you mind testing this with the FPV environment?

my bad, i should have done that! Let me run a FPV test, thanks

Awesome, thanks @cindychip!


Document the difference between LinearFormIntegrator::AssembleRHSElementVect methods L2 vs H1

Mixing together several discretizations, i.e. H1 and L2, requires either implementation of the two versions of LinearFormIntegrator::AssembleRHSElementVect, or a single version with FaceElementTransformations. The documentation does not provide any guidance how the different versions are used in the code. The method with FaceElementTransformations is more general and can be used with H1 and L2 fields.

I added the main authors of fem/lininteg.cpp and fem/lininteg.hpp (according to GitHub).
Lets discuss here what documentation will be most useful and who is available to help with it.

Discussion continued in https://github.com/mfem/web/issues/165


NEURON uses .libs/libcorenrnmech.so on OSX instead of .libs/libcorenrnmech.dylib

NEURON nrnbbcore_write.cpp should be modified to check dylib extension on OSX

Implemented already!


Fixed #1 isFeatureSupported didn't consider prefixed values

I'm trying to be future-proof. What if Edge will support it with -ms? It probably doesn't make sense to check -o and -moz. Maybe we'll stick to -webkit and -ms?

As you said, it doesn't make sense to have -moz and -o abecause Mozilla already supports the non-prefixed version and Opera doesn't use the -o prefix anymore. In regard of Microsoft, the feature is still Under consideration. This means that it might not be released soon and they might even go with the unprefixed version straight away. Microsoft often use this approach and other browsers in general are moving towards this approach.

In this situation we have four possible scenarios:

Microsoft releases support with prefix and polyfill respects it — we are good
Microsoft releases support without prefix and polyfill respects it — we are good and just removing it in the future
Microsoft releases support with prefix and polyfill doesn't respects it — unpredictable behavior
Microsoft releases support without prefix and polyfill doesn't respects it — we are good

So if we respect -ms in advance nothing bad happens, if we don't — we're hoping they'll skip prefix.
Anyway, it's your project and your decision, just confirm me one more time you want to stick to -webkit only and I'll change the PR.

I had a thought about this and I think we can add both the -webkit and the -ms prefix. From a performance point of view and from a code point of view the additional prefix isn't going to make any difference.

Thanks for concession!

PR merged. Thank you for contributing. I'm going to release a new version today.


Esc in custom menu moves focus to window

Environment Details:
VSCode Version : 1.28.2
OS Version : Win10
Additional Details:
MAS1.3.1,NVDA
Repro Steps:
1.Launch Visual Studio code desktop application.
2.Navigate to "Plain Text" of "StatusBar"->Enter "PowerShell" in "Select Language Mode"combobox->Write the PowerShell Code in plain editor->Save the editor.
3.Write powershell code and save the editor.
4.Using keyboard navigate to "More Actions" button expand it by clicking on enter key
5. Observed that after pressing esc key then keyboard focus moves to "File" button.
Actual:
After pressing esc key then keyboard focus is moving on "File" button.
Expected:
After pressing esc key the keyboard focus should remains on the same button i.e on "More Actions" button it should not move to "File" button.
Recommendations:
Refer below link which is repository of bug fixes code snippets:
https://microsoft.sharepoint.com/teams/msenable/mas/Pages/browse-fixes.aspx
User Impact:
After pressing esc key if the focus is not remains on the same control then user have to navigate all the control to reach at "More Actions" button.
MAS Reference:
MAS2.1.1:https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={8492c4eb-c179-40ae-8777-cd044ed725a2}
Attachment For References:
A11y_PowerShellEditorServices_Editor_Keyboard.pptx
Do this issue occur when all extensions are disable?: Yes

This one is about esc moving focus to the main window, it should stay on the element that had the focus before the custom menu opened imho. Forwarding to @sbatten


Rebase Approval for Branches

This issue contains the test results for the upstream sync, develop PR, and release testing branches. Comment 'proceed with rebase' to approve. Close when maintenance is complete or there will be problems on the next run.

Git diff artifact URL for tmp-rocm_enabled_multi_backend-20241015 vs rocm_enabled_multi_backend:   Compare URL on Github: https://github.com/ROCm/transformers/compare/rocm6.3_testing_rel0.44.1...ROCm:transformers:tmp-rocm_enabled_multi_backend-20241015   ### Unit Test Results for Testing Branch upstream_sync
 https://github.com/Cemberk/bitsandbytes/actions/runs/11336897480/artifacts/git-ut-file-test-1
   ### Performance Test Results for upstream_sync
 https://github.com/Cemberk/bitsandbytes/actions/runs/11336897480/artifacts/git-perf-file-test-1

Git diff artifact URL: Download git-diff-file-test-1
Unit Test Results: Download git-ut-file-test-1
Performance Test Results: Download git-perf-file-test-1


Namespace pollution

This library looks promising, but I have a problem about namespace pollution with by the functions defined in the header. They all have very generic names like create_file, which could very well be a user-defined function. I'm proposing a change to prefix all the public symbols with something like lc_ for "libconf".
Also, I forked the project to remove CMake from the dependency list :)

Added a namespace branch on my fork with the proposed changes, what do you think?

yes it's a good idea to change the names of the functions to avoid problems, I'll take care of it in the near future.

why was it necessary to remove cmake from the project? I think it's a great build tool. In any case, update the documentation in the compile.md file

about your new branch, I looked and thought that it’s better not just to add prefixes, but to rethink the names in a new way, so I’ll deal with it myself one of these days, well, or you can help with this and I will make a pull request

What do you mean by "rethink the names"? Is it a totally different  style or something else?

Oh and I removed cmake from my branch just because I cant have it installed on my system :)

i mean rename function names, with prefixes, like: lc_create_config(), lc_delete_config(), etc. More understandable for users

Apart from the new names, I have an issue with the documentation. The current format is okay, but I still would like having some comments in the header files to read, without the need to open GitHub to read the .md documentation. Another alternative would be using man pages, but that depends on which option you think is best.

in future i will add a comments into header


OutOfRangeError (see above for traceback): End of sequence

When I was trying to run on my own dataset, I encountered this.
OutOfRangeError (see above for traceback): End of sequence
[[node IteratorGetNext (defined at train.py:40) ]]
[[node IteratorGetNext (defined at train.py:40) ]]
Is there any way to solve this?

solve by increasing the size of maxlen1 and maxlen2 till it suffice.


Option to choose between box model

Hi,
I started using your project for our company website rewrite, and so far I really appreciate it.
One issue I face though is that I need to choose how react-container-query calculate width of component when setting property.
My issue is the following:
I have a container component with content and a left + right padding passed as props (lets say it's 230px for the example). I want the padding to be removed when container size is below 400px. It obviously wont work because with the padding, the container size will always be at least 460px. So allowing to choose how the lib calculate width (including/excuding margin/padding) would help.
Thanks !

Thanks! This is a good feature. But to be honest this is not on top of my list now. I'm more interested in finding a way to improve performance. So this implementation is likely to delay. But you are welcome to create a PR, I will happen to work with you to merge it.

Ok I'll have a look for a PR, in the meantime, do you think of any workaround I could use ? Thanks :)

@moimael you could put react-container-query component as a child of the component with padding. So this way it will react to the width without including the padding.

This should also be fixed. From 0.5.0 release, I'm using window.getComputedStyle to get width and height, so whatever box model apply the container element should be reflected when getting width and height. Let me know how this works.


Dockerfile - Organize Build Errors & Failed Install ?

Describe the bug
When following the Docker installation guide https://tfeldmann.github.io/organize/docker/ the install returns the following errors
Step 6
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Step 6/16 : RUN pip install "poetry==1.7.1" &&     python -m venv ${VIRTUAL_ENV}

[…]

Installing collected packages: trove-classifiers, ptyprocess, fastjsonschema, distlib, zipp, urllib3, tomlkit, shellingham, rapidfuzz, pyproject-hooks, pycparser, poetry-core, platformdirs, pkginfo, pexpect, packaging, msgpack, more-itertools, jeepney, installer, idna, filelock, crashtest, charset-normalizer, certifi, virtualenv, requests, jaraco.classes, importlib-metadata, dulwich, cleo, cffi, build, requests-toolbelt, cryptography, cachecontrol, SecretStorage, keyring, poetry-plugin-export, poetry
Successfully installed SecretStorage-3.3.3 build-1.2.1 cachecontrol-0.13.1 certifi-2024.7.4 cffi-1.17.0 charset-normalizer-3.3.2 cleo-2.1.0 crashtest-0.4.1 cryptography-43.0.0 distlib-0.3.8 dulwich-0.21.7 fastjsonschema-2.20.0 filelock-3.15.4 idna-3.8 importlib-metadata-8.4.0 installer-0.7.0 jaraco.classes-3.4.0 jeepney-0.8.0 keyring-24.3.1 more-itertools-10.4.0 msgpack-1.0.8 packaging-24.1 pexpect-4.9.0 pkginfo-1.11.1 platformdirs-3.11.0 poetry-1.7.1 poetry-core-1.8.1 poetry-plugin-export-1.6.0 ptyprocess-0.7.0 pycparser-2.22 pyproject-hooks-1.1.0 rapidfuzz-3.9.6 requests-2.32.3 requests-toolbelt-1.0.0 shellingham-1.5.4 tomlkit-0.13.2 trove-classifiers-2024.7.2 urllib3-2.2.2 virtualenv-20.26.3 zipp-3.20.0

WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

And Step 8
The current project could not be installed: [Errno 2] No such file or directory: '/app/README.md'
If you do not want to install the current project use --no-root
Step 8/16 : RUN poetry install --only=main --no-interaction
 ---> Running in 6f8784acf593
Installing dependencies from lock file

Package operations: 27 installs, 0 updates, 0 removals

  • Installing six (1.16.0)
  • Installing markupsafe (2.0.1)
  • Installing platformdirs (4.2.2)
  • Installing python-dateutil (2.9.0.post0)
  • Installing pyyaml (6.0.1)
  • Installing jinja2 (3.1.4)
  • Installing pycparser (2.22)
  • Installing cffi (1.16.0)
  • Installing mdurl (0.1.2)
  • Installing typing-extensions (4.12.2)
  • Installing annotated-types (0.7.0)
  • Installing charset-normalizer (3.3.2)
  • Installing cryptography (42.0.8)
  • Installing markdown-it-py (3.0.0)
  • Installing pydantic-core (2.20.1)
  • Installing pygments (2.18.0)
  • Installing types-python-dateutil (<IP_ADDRESS>40316)
  • Installing arrow (1.3.0)
  • Installing docopt-ng (0.9.0)
  • Installing docx2txt (0.8)
  • Installing exifread (2.3.2)
  • Installing natsort (8.4.0)
  • Installing pdfminer-six (20231228)
  • Installing pydantic (2.8.2)
  • Installing rich (13.7.1)
  • Installing send2trash (1.8.3)
  • Installing simplematch (1.4)

Installing the current project: organize-tool (3.2.5)

The current project could not be installed: [Errno 2] No such file or directory: '/app/README.md'
If you do not want to install the current project use --no-root

And then when trying to run the container, it returns the following error..
No module named organize.main; 'organize' is a package and cannot be directly executed
[/share/Container/organize/organize] # docker run organize
/venv/bin/python: No module named organize.__main__; 'organize' is a package and cannot be directly executed
[/share/Container/organize/organize] #

OS: = Linux QNAP
Dockerfile from repo.

I have the same issue. Is there a solution/answer?


allow users to override the default template's layout file

Applying fix that is for JSDoc with commit below;
https://github.com/jsdoc3/jsdoc/commit/cbe34422212fce15bf3c01fac1fc88a5a5cebad6

Thanks


Plot tip if off centered for some plots

For 44817194

Somehow this doesn't happen with tip: true, so probably the proplem is in Plot.tip(...).
Might be good to check which plots are affected, probably not just this one.

See https://observablehq.com/plot/marks/tip#tip-options

Fixed.


⚠ Mobitopup has degraded performance

In ea68bd7, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 23090 ms

Resolved: Mobitopup performance has improved in 94f9385.


issues-2260 shade newer version of guava due to cve

DRILL-XXXX: PR Title
(Please replace PR Title with actual PR Title)
Description
https://github.com/apache/drill/issues/2260
Documentation
(Please describe user-visible changes similar to what should appear in the Drill documentation.)
Testing
CI build

the shade jar seems to be built independently - so this change needs to wait for that


Collapse openssl build/test jobs into one

The performance of OSSNS does not give advantage to running builds in parallel. This should be folded into a single job.
Cloned from #12

There is still work to do to consolidate all version builds into one, but that depends on deprecating 1.0.2 and 1.1. So this is basically on hold.

3.0.x and 1.1.1 series have separate jobs because they have separate repositories.


pull request for e2e test at 12/16/2016 07:45:18

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


How to do three way join on three different measurements?

I'm not sure how to do a three way join on three different measurements, as I got error every time.
I have three measurements, one original measurement, two others aggregated ones from the original one(this works):
batch
    |query('''
            SELECT mean(twoway_delay_avg) AS twoway_delay_avg
            FROM "latency_prod"."default".latency
           ''')
        .groupBy(*)
        .period(1d)
        .every(10m)
    |influxDBOut()
        .database('latency_prod')
        .retentionPolicy('default')
        .measurement('latency_mean_every_10m_1d_period')
        .precision('m')

batch
    |query('''
            SELECT stddev(twoway_delay_avg) AS twoway_delay_avg
            FROM "latency_prod"."default".latency
           ''')
        .groupBy(*)
        .period(1d)
        .every(10m)
    |influxDBOut()
        .database('latency_prod')
        .retentionPolicy('default')
        .measurement('latency_stddev_every_10m_1d_period')
        .precision('m')

Now I'm trying to have another TICK script to see if the latest value is more than 2 stddevs from the mean from the last 24 hrs. But first, I'm trying to print the values in the log so I could at least verify the values. So I do:
var last_24h_stddev = batch
    |query('''
            SELECT site, paa, last("twoway_delay_avg")
            FROM "latency_prod"."default".latency_stddev_every_10m_1d_period''')
        .groupBy(*)
        .period(1d)
        .every(1h)
        .align()

var last_24h_mean = batch
    |query('''
            SELECT site, paa, last("twoway_delay_avg")
            FROM "latency_prod"."default".latency_mean_every_10m_1d_period''')
        .groupBy(*)
        .period(1d)
        .every(1h)
        .align()

var last_value = batch
    |query('''SELECT site, paa, last("twoway_delay_avg")
              FROM "latency_prod"."default".latency''')
        .groupBy(*)
        .period(1d)
        .every(1h)
        .align()

last_24h_mean
    |join(last_24h_stddev, last_value)
        .as('mean', 'stddev', 'last_value')
        .on('site', 'paa')
        .tolerance(1d)
    |eval(lambda: "mean.site",
          lambda: "mean.paa",
          lambda: "stddev.site",
          lambda: "stddev.paa",
          lambda: "last_value.site",
          lambda: "last_value.paa",
          lambda: "last_value.last",
          lambda: "mean.last",
          lambda: "stddev.last")
        .as('mean_site',
            'mean_paa',
            'stddev_site',
            'stddev_paa',
            'last_value_site',
            'last_value_paa',
            'last_value_last',
            'mean_mean',
            'stddev_stddev')
    |alert()
        .crit(lambda: TRUE)
        .log('/spare/local/kapacitor_data/scripts/influxdb_alerts.log')

It compiles fine with no syntax errors, but when I record and replay, kapacitor gives me:
running replay: unexpected number of batch collectors. exp 2 got 3
My question is: am I doing things correctly on the join term? Is there any flags I didn't specify when I do the dry run? Thanks!

@shang-wang Looks like you are trying to replay a recording that was created before you added the third query to the task. The error is complaining that the recording doesn't have data for the third query node.
Your join code looks correct.

You are right, I changed the code but forgot the redefine it. However, I'm not getting anything from the log despite the fact that kapacitor list recordings shows size of 4.5MB collect result. Is there anyway that I can see how the data flows? I was doing two measurement-join on stddev and mean and it works, but with an additional join on the original measurements yields no results. Kapacitor log doesn't show any errors either.

@shang-wang If you are using 1.0.0-beta2 then  the show command now has an option to show a task running in a replay.
Example:
kapacitor show -replay REPLAY_ID TASK_ID


fix(completion) - Typo, missing ';;' in case statement of gh-pages:deploy

Missed a double semi-colon at the end of gh-pages:deploy, caught by @anisabboud.

Cheers!


svml: implement mm_rem_{epi8,epi16,epi32,epi64}

Really good work on this, BTW.  Any more problems with getting ICC to cooperate?

Really good work on this, BTW. Any more problems with getting ICC to cooperate?

Not anything until now, I have got a hang of it in past few days, it's only a bit slow but we certainly can't do anything about it :)


ibc-rs-github-issues-history

This issue records communication history with ibc-rs via their github issues.

Empty connection id may result in correct result - ConnOpenAck #332
Permission in spec ics-004-channel #406
Write to Substrate Storage #433
Skip deliver in "modules/src/ics26_routing/handler.rs"?

no_std support

no_std support

Closed, thanks to issue lable "substrate-ibc"

Closed, thanks to issue lable "substrate-ibc"


[BUG] ScreenHowToPlay chart won't play on screen

Using 4.9.7
ScreenHowToPlay chart doesn't move/scroll on screen, the notefield sprites are animating (not a stop) but the notes are not animating.
That's it, basically.

Fixed on 4.9.8GG and 4.9.9


Renaming effects - alignment

From @Depechie on February 16, 2017 7:15
We are looking to rename the current effects, to streamline the naming.
But we are a bit stuck with the current proposal!
Proposal:
Current name : public class CapitalizeKeyboardEffect : RoutingEffect
New name : public class EntryCapitalizeKeyboard : RoutingEffect
So prefix the control it targets and loose the suffix Effect
But if we uphold this, we get in trouble with the static classes that are needed for adding dependency properties to pass through to the actual RoutingEffect.
Problem:
public static class ChangeColorEffect with tandem class > public class ChangeColorSwitchEffect : RoutingEffect ( https://github.com/FormsCommunityToolkit/Effects/blob/dev/src/Effects/ChangeColorEffect.cs )
public static class ChangePickerColorEffect with tandem class > public class ChangeColorPickerEffect : RoutingEffect ( https://github.com/FormsCommunityToolkit/Effects/blob/dev/src/Effects/ChangePickerColorEffect.cs )
How do we rename these? ChangeColorEffect would become SwitchChangeColor, but what would ChangeColorSwitchEffect be then?
Same with the picker class...
Suggestions?
Copied from original issue: FormsCommunityToolkit/Effects#48

From @jamesmontemagno on February 16, 2017 14:8
I think we should just follow the documentation perhaps?
https://developer.xamarin.com/guides/xamarin-forms/effects/passing-parameters/attached-properties/
So:

CapitalizeKeyboardEffect
EntryCapitalizeKeyboardEffect : RoutingEffect
EntryCapitalizeKeyboardEffect  : PlatformEffect

I think looking at the docs we just keep the Effect at the end. I think it is okay.

From @Depechie on February 16, 2017 14:13
That is a good suggestion indeed, but not enough in our scenario!
Problem lies also in the fact that we created 2 change color effects! One for a switch and one for a picker.
So if we follow the ruling both current static classes for the attached properties wouldget the same name, BUT with different properties :/
So we need to do something about that too.

From @jamesmontemagno on February 16, 2017 14:14
Ahhhhhh I see now. Interesting.

From @jamesmontemagno on February 16, 2017 14:15
Soooooo

SwitchChangeColor
SwitchChangeColorEffect : RoutingEffect
SwitchChangeColorEffect : PlatformEffect

How is that?

From @Depechie on February 16, 2017 14:24
I like this!

From @jamesmontemagno on February 16, 2017 14:29
Do it! I think we need to do it in the main line though.

From @Depechie on February 16, 2017 14:32
Yep... will look at it this week!

@jamesmontemagno ok sorry doing the renaming made me realize something else that we need to double check!
So latest renaming example was given like this:

SwitchChangeColor
SwitchChangeColorEffect : RoutingEffect
SwitchChangeColorEffect : PlatformEffect

Meaning when there is a static class we drop the effect suffix. But keep the suffix for Routing / Platform effect classes.
But this has a negative ( in my opinion ;) ) side effect in usage in XAML!
Meaning for a normal effect we would be writing:
<Entry.Effects>
   <effects:EntryCapitalizeKeyboardEffect />
</Entry.Effects>

But for one with a static class this would become:
<Switch x:Name="ChangeColorSwitch" effects:SwitchChangeColor.FalseColor

So a difference in writing in XAML, with and without suffix...
Is this an issues or not?

I think that dropping the name would cause issues correct? as the names of the classes would be the same?

Yes, so I would suggest only dropping them for the effects that have NO static class.
Problem with this thought, is that Devs would need to understand the reason behind it and not forget it when creating new effects...
So other solution is just keeping as mentioned above and live with the writing difference in Xaml for regular effects versus those with static class ( guess this is not that big of a deal ;) )

We can write the reason for the 'weird naming behavior' in our guidelines for creating effects. So don't think that is an issue.


Raw Data

Hi, I want to get the RAW data that a BLE device advertises on ESP32. Like how can this be done using this library

https://github.com/espressif/arduino-esp32/blob/master/libraries/BLE/src/BLECharacteristic.h#L64-L65


Removed duplicate what-input.js path

The gulpfile.js had a duplicate reference to assets/components/what-input/what-input.js. I removed the first reference and kept the second one with the comment above it.

Thanks @EricRihlmann. This was my fault. If you don't mind, would you actually remove the 2nd reference to what-input instead of the first please? I'm trying to keep it the same as: https://github.com/zurb/foundation-zurb-template.
Also, please fix the build errors so it can be merged. Thanks!

@colin-marshall no worries, I just pushed a commit with your suggestion.
About the build errors, they appear to be completely unrelated to my changes. The errors are with improper case for two PHP variables. How did you get your builds to pass?
FILE: ...dpress/src/wp-content/themes/FoundationPress/library/cleanup.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
 247 | ERROR | Variable "Foundationpress_img_rebuilder" is not in valid
     |       | snake_case format
     |       | (WordPress.NamingConventions.ValidVariableName.NotSnakeCase)
----------------------------------------------------------------------
FILE: ...hemes/FoundationPress/library/protocol-relative-theme-assets.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
 90 | ERROR | Variable "Foundationpress_protocol_relative_theme_assets"
    |       | is not in valid snake_case format
    |       | (WordPress.NamingConventions.ValidVariableName.NotSnakeCase)
----------------------------------------------------------------------

@EricRihlmann you can copy the changes from my PR to fix those build errors:
https://github.com/olefredrik/FoundationPress/pull/644/files

Shouldn't I just ignore the build errors since my pull request is unrelated to them? Plus you've already issued a PR with a fix.

Can a PR still be merged if it has a build failure? If so, then yes you are correct and you can leave it as is. I'm a noob when it comes to the build stuff.

Fixed in https://github.com/olefredrik/FoundationPress/pull/656


Move design system to web-common

This PR moves self-contained design system components from web-local/lib/components into web-common/components. This will make it easier for us to differentiate between lower-level design system components and higher-level application components.
To ensure a clean split, here and going forward, no web-common code should import web-local code.

good start. Seems like there's a bunch of other easy to move / unconnected component sets that should move over in this PR. Is there a reason for the limited set you've moved over vs including the other easy ones?

Which ones do you have in mind? I could have missed some. I was shooting for components that:

Don't import anything from runtime-client or web-local
Aren't too feature-specific. If it's only used in one place, then I'd lean toward co-locating it with the feature.
I wouldn't have to refactor. Those requiring refactors I thought I'd handle in follow-on PRs.

Here are my findings from going through what's left in web-local:

data-graphic could be moved now. It imports notifications, which I originally had in web-local but have since moved to web-common.
data-types could be moved now.
table-editable is a contender after a small refactor. It currently imports Entity and Validation types from web-local, which makes it a bit application-specific. Anyways, for now, it perhaps belong in the "metrics-definition" feature, given it's only used there.
virtualized-table looks good to move over after a small refactor. It has a dependency on web-local/lib/application-config.ts's TOOLTIP_STRING_LIMIT.
viz also looks good to move over after a small refactor. It has a dependency on web-local/lib/application-config.ts's COLUMN_PROFILE_CONFIG.

That set looks good. I think the preview table can be moved over, and we can move the ConnectedPreviewTable component to stay in web-local since it relies on runtime-client.

That set looks good. I think the preview table can be moved over, and we can move the ConnectedPreviewTable component to stay in web-local since it relies on runtime-client.

Sweet. I like that idea for preview-table. Since it's dependent on virtualized-table, I'd opt to do it after a follow-on PR that addresses virtualized-table's web-local dependency.


Add live site URL in your project description

Just a suggestion, that it is better to add your live site URL in the about section of your repository.
In this way people can access your website easily.

@Sukrittt Do you mean on my GitHub profile or on this project?

On this project

@Sukrittt I believe I have added "Live Demo" and "Source Code" links to every project as you can see below.
If that is not what you meant, could you please explain further?
https://github.com/Haywayaheadshot/abu-the-portfolio/blob/aad7e4dd6be3d2d307949e423954800182330ab2/src/components/dep/Project.js#L44-L58

Oh I see. Thank you very much. That is a great idea.


Config Error: CacheManager getContact() has no cache.
    at CacheManager.<anonymous> (C:\Users\Administrator\Desktop\testPuppetWindows\wechaty\node_modules\@juzibot\wechaty-puppet-donut\src\donut\cache-manager.ts:76:13)
    at Generator.next (<anonymous>)
    at C:\Users\Administrator\Desktop\testPuppetWindows\wechaty\node_modules\@juzibot\wechaty-puppet-donut\dist\src\donut\cache-manager.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (C:\Users\Administrator\Desktop\testPuppetWindows\wechaty\node_modules\@juzibot\wechaty-puppet-donut\dist\src\donut\cache-manager.js:4:12)
    at CacheManager.getContact (C:\Users\Administrator\Desktop\testPuppetWindows\wechaty\node_modules\@juzibot\wechaty-puppet-donut\dist\src\donut\cache-manager.js:63:16)
    at Bridge.<anonymous> (C:\Users\Administrator\Desktop\testPuppetWindows\wechaty\node_modules\@juzibot\wechaty-puppet-donut\src\donut\bridge.ts:672:46)
    at Generator.next (<anonymous>)
    at C:\Users\Administrator\Desktop\testPuppetWindows\wechaty\node_modules\@juzibot\wechaty-puppet-donut\dist\src\donut\bridge.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (C:\Users\Administrator\Desktop\testPuppetWindows\wechaty\node_modules\@juzibot\wechaty-puppet-donut\dist\src\donut\bridge.js:4:12)
    at Bridge.contactRawPayload (C:\Users\Administrator\Desktop\testPuppetWindows\wechaty\node_modules\@juzibot\wechaty-puppet-donut\dist\src\donut\bridge.js:603:16)
    at PuppetDonut.<anonymous> (C:\Users\Administrator\Desktop\testPuppetWindows\wechaty\node_modules\@juzibot\wechaty-puppet-donut\src\puppet-donut.ts:623:24)
    at Generator.next (<anonymous>)
    at C:\Users\Administrator\Desktop\testPuppetWindows\wechaty\node_modules\@juzibot\wechaty-puppet-donut\dist\src\puppet-donut.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (C:\Users\Administrator\Desktop\testPuppetWindows\wechaty\node_modules\@juzibot\wechaty-puppet-donut\dist\src\puppet-donut.js:4:12)
    at PuppetDonut.contactRawPayload (C:\Users\Administrator\Desktop\testPuppetWindows\wechaty\node_modules\@juzibot\wechaty-puppet-donut\dist\src\puppet-donut.js:503:16)
    at PuppetDonut.<anonymous> (C:\Users\Administrator\Desktop\testPuppetWindows\wechaty\node_modules\@juzibot\wechaty-puppet-donut\src\puppet-donut.ts:276:18)
    at Generator.next (<anonymous>)
    at C:\Users\Administrator\Desktop\testPuppetWindows\wechaty\node_modules\@juzibot\wechaty-puppet-donut\dist\src\puppet-donut.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (C:\Users\Administrator\Desktop\testPuppetWindows\wechaty\node_modules\@juzibot\wechaty-puppet-donut\dist\src\puppet-donut.js:4:12)
    at PuppetDonut.onMessage (C:\Users\Administrator\Desktop\testPuppetWindows\wechaty\node_modules\@juzibot\wechaty-puppet-donut\dist\src\puppet-donut.js:196:16)
    at Bridge.emit (events.js:198:13)
    at Bridge.EventEmitter.emit (domain.js:448:20)
    at Bridge.<anonymous> (C:\Users\Administrator\Desktop\testPuppetWindows\wechaty\node_modules\@juzibot\wechaty-puppet-donut\src\donut\bridge.ts:392:14)
    at Generator.next (<anonymous>)
    at C:\Users\Administrator\Desktop\testPuppetWindows\wechaty\node_modules\@juzibot\wechaty-puppet-donut\dist\src\donut\bridge.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (C:\Users\Administrator\Desktop\testPuppetWindows\wechaty\node_modules\@juzibot\wechaty-puppet-donut\dist\src\donut\bridge.js:4:12)
    at Bridge.processEvent (C:\Users\Administrator\Desktop\testPuppetWindows\wechaty\node_modules\@juzibot\wechaty-puppet-donut\dist\src\donut\bridge.js:229:16)
    at Bridge.<anonymous> (C:\Users\Administrator\Desktop\testPuppetWindows\wechaty\node_modules\@juzibot\wechaty-puppet-donut\src\donut\bridge.ts:266:18)
    at Generator.next (<anonymous>)
    at C:\Users\Administrator\Desktop\testPuppetWindows\wechaty\node_modules\@juzibot\wechaty-puppet-donut\dist\src\donut\bridge.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (C:\Users\Administrator\Desktop\testPuppetWindows\wechaty\node_modules\@juzibot\wechaty-puppet-donut\dist\src\donut\bridge.js:4:12)
    at Bridge.onEvent (C:\Users\Administrator\Desktop\testPuppetWindows\wechaty\node_modules\@juzibot\wechaty-puppet-donut\dist\src\donut\bridge.js:185:16)
    at C:\Users\Administrator\Desktop\testPuppetWindows\wechaty\node_modules\ffi\lib\callback.js:66:25

Donut will release cache in stop() method, and restart without login event from WeChat, so cacheManager will not init.
And then it will cause this bug. CacheManager getContact() has no cache.

Could you please check that whether the puppet can pass the "three start() then stop()" test? Like I send in the PR at https://github.com/wechaty/wechaty-puppet-padplus/pull/190
    for (let i = 0; i < 3; i++) {
      await puppet.start()
      await puppet.stop()
      t.pass('start/stop-ed at #' + i)
    }
    t.pass('PuppetPadplus() start/restart successed.')

If not, please make it pass this test so that the Puppet can be able to be managed by the Framework, then let's see if that could be helpful for this issue.
BTW: We can quote the log message into ``` for better readability.

In donut, it could pass the "start() then stop() for three times" test.

Great to know that!
It would be great if we can add this test to the module to make sure it can always work as expected.


Update tutorial-django-aks-database.md

Fix typo on tutorial django aks database file.

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

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

Looks good; thanks @64J0.


lag when swapping tabs

Noticeable when swapping tabs (e.g. heroes to peers).  Perhaps there's something we can do to remedy this?

Further investigation:
This seems to only happen if swapping between tabs that are already loaded (if it needs to load, the tab changes immediately and shows the spinner).
Perhaps it's lagging due to the hundreds of createElement calls?  Can we force the tab change to show before we start the expensive rendering process?

Resolved by limiting the max number of rows rendered at once


gradle metadata support (gradle-4.6)

@vvlevchenko Is there an example of using maven-publish to upload artifacts to bintray?

@LouisCAD You can take a look at maven-publish usage in this project: https://github.com/h0tk3y/better-parse/blob/fb2d5fb81b2a5eaccbe30419295f21ce1f70e5b0/build.gradle#L126.
This build script also contains some additional logic to avoid publishing the same artifacts from several hosts (you can find this logic before the publishing block). You may use the same approach or just allow bintray to override artifacts published several times. To do that, just append ;override=1 to the repo URL.

@ilmat192 Thank you, that's very helpful!
About the name propery you set to "bintray" in the maven { … } closure, do I need to name it as such too? What does it translate to from the bintray config?

About the name propery you set to "bintray" in the maven { … } closure, do I need to name it as such too?

I don't think so. According to the Gradle docs this name is needed only to distinguish repositories from each other.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


create a dummy branch for testing the new SimulationStack pipeline co…

How to test this?
SimulationStack
CI_BRANCHES:SPACK_BRANCH=spike_multipop,

please retest

please retest

please retest

please retest

please retest


Support for PS4 Strike Pack F.P.S. Dominator?

Steam and my computer does recognized this as a wireless controller as it would without the strike pack,but DS4Windows does not. While i could use Steam controller support i don't think it's as good as DS4Windows. It would be really cool if DS4 Windows would support the PS4 Strike pack.

Anything on this? DS4windows detects my controller, but not if the strikepack is connected. :(

please update ds4windows so that it can support ps4 strikepack !!! ill literally pay!


Could not broadcast input array from shape (32,32,32) into shape (1)

Hi Kostas,
I am getting a ValueError at start of training that is kind of similar to what was previously reported in #70 .
....
[JOB:46|PID:22768] Got samples per category: [Class-0: 10/10] [Class-1: 10/10]
[JOB:47|PID:22768] Load & sample from subject of index (in user's list): 119 (Job #47/50)
[JOB:47|PID:22768] Loading subject with 1st channel at: /home/jupyter/dataset/preprocessed/PREDICT_04-029_Followup.nii
[JOB:47|PID:22768] Got samples per category: [Class-0: 10/10] [Class-1: 10/10]
[JOB:48|PID:22768] Load & sample from subject of index (in user's list): 130 (Job #48/50)
[JOB:48|PID:22768] Loading subject with 1st channel at: /home/jupyter/dataset/preprocessed/PREDICT_05-022_Baseline.nii
[JOB:48|PID:22768] Got samples per category: [Class-0: 10/10] [Class-1: 10/10]
[JOB:49|PID:22768] Load & sample from subject of index (in user's list): 86 (Job #49/50)
[JOB:49|PID:22768] Loading subject with 1st channel at: /home/jupyter/dataset/preprocessed/PREDICT_01-093_Baseline.nii
[JOB:49|PID:22768] Got samples per category: [Class-0: 10/10] [Class-1: 10/10]
[SAMPLER-TR|PID:22768] TIMING: Sampling for next [Training] lasted: 79.8 secs.
[SAMPLER-TR|PID:22768] :=:=:=:=:=:=: Finished sampling for next [Training] :=:=:=:=:=:=:

 ERROR: Caught exception in do_training(): could not broadcast input array from shape (32,32,32) into shape (1)

Traceback (most recent call last):
  File "/home/jupyter/deepmedic/deepmedic/routines/training.py", line 305, in do_training
    labelsForCentralOfSegmentsForSubepTrain] = parallelJobToGetDataForNextTraining.get()
  File "/usr/lib/python2.7/multiprocessing/pool.py", line 567, in get
    raise self._value
ValueError: could not broadcast input array from shape (32,32,32) into shape (1

I am using inputs and ground truth of similar shape within subjects, but with a different 3rd dimension between subjects. Do you have any suggestions on how to troubleshoot this issue?
Thanks in advance
Alex

I changed  the parameter num_processes_sampling = -1 in the training configuration file, hopefully, this log message is more helpful to figure out the problem:
....
[JOB:49|PID:29491] Got samples per category: [Class-0: 10/10] [Class-1: 10/10]
[SAMPLER-TR|PID:29491] TIMING: Sampling for next [Training] lasted: 80.9 secs.
[SAMPLER-TR|PID:29491] :=:=:=:=:=:=: Finished sampling for next [Training] :=:=:=:=:=:=:

 ERROR: Caught exception in do_training(): could not broadcast input array from shape (32,32,32) into shape (1)

Traceback (most recent call last):
  File "/home/jupyter/deepmedic/deepmedic/routines/training.py", line 295, in do_training
    labelsForCentralOfSegmentsForSubepTrain] = getSampledDataAndLabelsForSubepoch( *args_for_sampling_train )
  File "/home/jupyter/deepmedic/deepmedic/dataManagement/sampling.py", line 170, in getSampledDataAndLabelsForSubepoch
    channelsOfSegmentsForSubepochArrayPerPathway = [ np.asarray(imPartsForPathwayi, dtype="float32") for imPartsForPathwayi in channelsOfSegmentsForSubepochListPerPathway ]
  File "/usr/local/lib/python2.7/site-packages/numpy/core/numeric.py", line 501, in asarray
    return array(a, dtype, copy=False, order=order)
ValueError: could not broadcast input array from shape (32,32,32) into shape (1)

it looks like I have in the dataset one subject with the dimension of one of the axes smaller (512x512x30) than the segment I specified in the configuration (32x32x32). I will try to set all the input shapes to (200x200x200). Hopefully, this will fix it.

that fixed the problem.

I have also observed this error many times.

could not broadcast input array from shape (33,33,33) into shape (1)

ERROR: Caught exception in do_training(): could not broadcast input array from shape (33,33,33) into shape (1)
2019-7-3 2:17:18.66: Traceback (most recent call last):
  File "/deepmedic_wide/deepmedic/routines/training.py", line 292, in do_training
	labelsForCentralOfSegmentsForSubepTrain) = parallelJobToGetDataForNextTraining.get()
File "/opt/conda/envs/dm_tf/lib/python3.6/multiprocessing/pool.py", line 644, in get
	raise self._value
File "/opt/conda/envs/dm_tf/lib/python3.6/multiprocessing/pool.py", line 119, in worker
	result = (True, func(*args, **kwds))
File "/deepmedic_wide/deepmedic/dataManagement/sampling.py", line 165, in getSampledDataAndLabelsForSubepoch
	channs_of_samples_arr_per_path = [ np.asarray(channs_of_samples_for_path, dtype="float32") for channs_of_samples_for_path in channs_of_samples_per_path_for_subep ]

File "/deepmedic_wide/deepmedic/dataManagement/sampling.py", line 165, in <listcomp>
	channs_of_samples_arr_per_path = [ np.asarray(channs_of_samples_for_path, dtype="float32") for channs_of_samples_for_path in channs_of_samples_per_path_for_subep ]
File "/opt/conda/envs/dm_tf/lib/python3.6/site-packages/numpy/core/numeric.py", line 492, in asarray
	return array(a, dtype, copy=False, order=order)
ValueError: could not broadcast input array from shape (33,33,33) into shape (1)
2019-7-3 2:17:18.66: Terminating worker pool.

The last time , the process was at epoch 57 (of 100) and I have images of size 95x95x95 It sometimes annoying, because you dont know exactly, what causes that and also dont know if the process will run till the end without error.


Adding modules programaticaly (loader or plugin)

Hey guys.
I am working on creating a loader around Uniter, which transpiles PHP into javascript that can run together with a runtime. Since I get to have the raw AST, i want to traverse the AST fand include the required modules. How do I tell webpack to load an additional module into the bundle?
Take for instance, this PHP code:
<?php $util = require("util");

This will give me this AST:
{ statements:
   [ { expression:
        { left: { variable: 'util', name: 'N_VARIABLE' },
          right:
           [ { operator: '=',
               operand:
                { path: { string: 'util', name: 'N_STRING_LITERAL' },
                  name: 'N_REQUIRE_EXPRESSION' } } ],
          name: 'N_EXPRESSION' },
       name: 'N_EXPRESSION_STATEMENT' } ],
  name: 'N_PROGRAM' }

So I can now iterate over this AST, find N_EXPRESSION_* and actually see, that it had "util" as parameter. Nice - something that WebPack would understand, theoretically. But how do I tell WebPack to do so - to indeed understand, that this code is loading additional modules, and that they should be included?
And yes, I have a way to indeed import a JS module into this PHPy environment. But I just need a way to tell webpack to bundle the specified modules.
Any thoughts?
Kind regards Ingwie.

write a require into the resulting code.

@sokra sounds hacky, but looks like thats all I can do.
I did see, by grepping over the lib/ folder, that Compilation.js has a call to this.addModule. I thought maybe that would help but there is no docs on it.
If there is a more "natural way" to do so than patching in some require's, that'd be nice.

@sokra sounds hacky, but looks like thats all I can do.

That's not hacky. Your loader generate a module with dependencies.

@IngwiePhoenix Any luck with this?

Nope, unfortunately.

Given a solution was presented, I'm closing this one. Feel free to re-open at Stack Overflow,


Benchmark Linear Quadtree vs Pointer Quadtree Construction

The slowest thing in the simulation is the construction of the quadtree every frame.
It may be faster to construct a linear quadtree using Z-Ordering rather than using the pointer quadtree approach.
Approaches

The current pointer quadtree that does not leverage recursion.
A linear quadtree that uses z-ordering to encode the points.
The original linear quadtree algorithm.

Operations to Benchmark

Tree Creation
Range Search
Memory consumption to store the tree.

Resources

Bit Interweaving
How fast can you bit-interleave 32-bit integers?
SIMD Approach
Z-ordering to Quadtrees Slides
Bit Twiddling Hacks
Example Implementation (Typescript)
Stackoverflow: Implementing a quadtree using arrays

Spent a lot of time on this. Construction of a Z-curve is faster than building a pointer quadtree.
However, performing range searches on the Z-curve using the bigmin algorithm is quite slow and not practical for this use case.
Performing binary search on a sorted z-curve is quite fast, but initially sorting the curve is expensive and not a good fit for dynamically growing/shrinking data sets.
While replacing the quadtree with an Z-Curve is not feasible, the Morton encoding is still useful. There are a few properties of the cellular automata simulations that can be exploited.

The total number of cells on a full grid can fit in a hash table in memory.
The Morton encoding of 2D Cartesian coordinates is very fast and can is a good option as a unique key for each live cell.
The range searches of the simulation are always the Moore neighborhood of a given cell.

Given these properties the quadtree can be replaced with a simpler solution of storing live cells in a Map object with the cell's Morton code as its key. The Moore neighborhood range searches are replaced by simply looking up each neighborhood in the map.