[BUG] when opening roblox, it appears as just a white window (fullscreen), but after around 30 seconds, the "sorry roblox crashed" popup appears

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?
when trying to join a game or a friend, it does the regular bootstrapper things, before a fully white window (roblox) opens up, it cant be closed or touched, but after around 30-40 seconds, the roblox crash popup appears and i close out of roblox that way.

For one, see if it happens without Bloxstrap. https://github.com/pizzaboxer/bloxstrap/wiki/Switching-between-Roblox-and-Bloxstrap
If it doesn't, open the Bloxstrap Menu and show me the list of flags you have configured by showing a picture of the flag editor.

My Roblox has been crashing too, like i play Roblox 10s-5m and it will crash and say sorry it has crashed, i also turned on the setting to reinstall Roblox on next launch and it still crashes
Log:
2023-12-11T14:15:26Z [App::OnStartup] Starting Bloxstrap v2.5.4
2023-12-11T14:15:26Z [App::OnStartup] Compiled Friday, 3 November 2023 at 5:46:02 PM from commit 880c076fcd875fc10b5f6bef770033074d79a7a8 (tag/v2.5.4)
2023-12-11T14:15:26Z [App::OnStartup] Loaded from %UserProfile%\AppData\Local\Bloxstrap\Bloxstrap.exe
2023-12-11T14:15:26Z [App::OnStartup] Started with IsMenuLaunch flag
2023-12-11T14:15:26Z [Logger::Initialize] Initializing at %UserProfile%\AppData\Local\Bloxstrap\Logs\Bloxstrap_20231211T141526Z.log
2023-12-11T14:15:26Z [Logger::Initialize] Finished initializing!
2023-12-11T14:15:26Z [JsonManager<Settings>::Load] Loading from %UserProfile%\AppData\Local\Bloxstrap\Settings.json...
2023-12-11T14:15:26Z [JsonManager<Settings>::Load] Loaded successfully!
2023-12-11T14:15:26Z [JsonManager<State>::Load] Loading from %UserProfile%\AppData\Local\Bloxstrap\State.json...
2023-12-11T14:15:26Z [JsonManager<State>::Load] Loaded successfully!
2023-12-11T14:15:26Z [JsonManager<Dictionary`2>::Load] Loading from %UserProfile%\AppData\Local\Bloxstrap\Modifications\ClientSettings\ClientAppSettings.json...
2023-12-11T14:15:26Z [JsonManager<Dictionary`2>::Load] Loaded successfully!
2023-12-11T14:15:31Z [MainWindow::MainWindow] Initializing menu

Can you confirm that this doesn't happen without Bloxstrap? https://github.com/pizzaboxer/bloxstrap/wiki/Switching-between-Roblox-and-Bloxstrap

Issue has been awaiting clarification for over a month, closing as stale. If you have anything further to add, just respond and I'll reopen.

My roblox crashed again, im gonna try to switch to normal roblox loader to see if it crashes
bloxstrap log:
2023-12-16T23:58:35Z [App::OnStartup] Starting Bloxstrap v2.5.4
2023-12-16T23:58:35Z [App::OnStartup] Compiled Friday, 3 November 2023 at 5:46:02 PM from commit 880c076fcd875fc10b5f6bef770033074d79a7a8 (tag/v2.5.4)
2023-12-16T23:58:35Z [App::OnStartup] Loaded from %UserProfile%\AppData\Local\Bloxstrap\Bloxstrap.exe
2023-12-16T23:58:35Z [Logger::Initialize] Initializing at %UserProfile%\AppData\Local\Bloxstrap\Logs\Bloxstrap_20231216T235835Z.log
2023-12-16T23:58:35Z [Logger::Initialize] Finished initializing!
2023-12-16T23:58:36Z [JsonManager<Settings>::Load] Loading from %UserProfile%\AppData\Local\Bloxstrap\Settings.json...
2023-12-16T23:58:36Z [JsonManager<Settings>::Load] Loaded successfully!
2023-12-16T23:58:36Z [JsonManager<State>::Load] Loading from %UserProfile%\AppData\Local\Bloxstrap\State.json...
2023-12-16T23:58:36Z [JsonManager<State>::Load] Loaded successfully!
2023-12-16T23:58:36Z [JsonManager<Dictionary`2>::Load] Loading from %UserProfile%\AppData\Local\Bloxstrap\Modifications\ClientSettings\ClientAppSettings.json...
2023-12-16T23:58:36Z [JsonManager<Dictionary`2>::Load] Loaded successfully!
2023-12-16T23:58:36Z [NotifyIconWrapper::NotifyIconWrapper] Initializing notification area icon
2023-12-16T23:58:36Z [JsonManager<State>::Save] Save request ignored
2023-12-16T23:58:36Z [App::OnStartup] Initializing bootstrapper
2023-12-16T23:58:36Z [App::OnStartup] Initializing bootstrapper dialog
2023-12-16T23:58:36Z [App::OnStartup] Creating singleton mutex
2023-12-16T23:58:36Z [Bootstrapper::Run] Running bootstrapper
2023-12-16T23:58:36Z [Bootstrapper::Run] Performing connectivity check...
2023-12-16T23:58:36Z [Bootstrapper::SetStatus] Connecting to Roblox...
2023-12-16T23:58:36Z [RobloxDeployment::GetInfo] Getting deploy info for channel LIVE (extraInformation=False)
2023-12-16T23:58:36Z [HttpClientLoggingHandler::ProcessRequest] GET https://clientsettingscdn.roblox.com/v2/client-version/WindowsPlayer/channel/LIVE
2023-12-16T23:58:37Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://clientsettingscdn.roblox.com/v2/client-version/WindowsPlayer/channel/LIVE
2023-12-16T23:58:37Z [Bootstrapper::Run] Connectivity check finished
2023-12-16T23:58:37Z [Bootstrapper::CheckForUpdates] Checking for updates...
2023-12-16T23:58:37Z [HttpClientLoggingHandler::ProcessRequest] GET https://api.github.com/repos/pizzaboxer/bloxstrap/releases/latest
2023-12-16T23:58:37Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://api.github.com/repos/pizzaboxer/bloxstrap/releases/latest
2023-12-16T23:58:37Z [Bootstrapper::CheckForUpdates] No updates found
2023-12-16T23:58:37Z [RobloxDeployment::GetInfo] Getting deploy info for channel LIVE (extraInformation=False)
2023-12-16T23:58:37Z [RobloxDeployment::GetInfo] Deploy information is cached
2023-12-16T23:58:37Z [DeployManager::DefaultBaseUrl.Set] Testing connection to 'https://setup.rbxcdn.com'...
2023-12-16T23:58:37Z [HttpClientLoggingHandler::ProcessRequest] GET https://setup.rbxcdn.com/version
2023-12-16T23:58:37Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://setup.rbxcdn.com/version
2023-12-16T23:58:37Z [DeployManager::DefaultBaseUrl.Set] Connection successful!
2023-12-16T23:58:37Z [HttpClientLoggingHandler::ProcessRequest] GET https://setup.rbxcdn.com/version-48a28da848b7420d-rbxPkgManifest.txt
2023-12-16T23:58:37Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://setup.rbxcdn.com/version-48a28da848b7420d-rbxPkgManifest.txt
2023-12-16T23:58:37Z [HttpClientLoggingHandler::ProcessRequest] GET https://setup.rbxcdn.com/version-48a28da848b7420d-rbxManifest.txt
2023-12-16T23:58:37Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://setup.rbxcdn.com/version-48a28da848b7420d-rbxManifest.txt
2023-12-16T23:58:37Z [JsonManager<Dictionary`2>::Save] Saving to %UserProfile%\AppData\Local\Bloxstrap\Modifications\ClientSettings\ClientAppSettings.json...
2023-12-16T23:58:37Z [JsonManager<Dictionary`2>::Save] Save complete!
2023-12-16T23:58:37Z [Bootstrapper::SetStatus] Applying Roblox modifications...
2023-12-16T23:58:37Z [Bootstrapper::ApplyModifications] Checking executable flags...
2023-12-16T23:58:37Z [Bootstrapper::ApplyModifications] Checking file mods...
2023-12-16T23:58:37Z [Bootstrapper::ApplyModifications] ClientSettings\ClientAppSettings.json already exists in the version folder, and is a match
2023-12-16T23:58:37Z [Bootstrapper::ApplyModifications] content\fonts\TwemojiMozilla.ttf already exists in the version folder, and is a match
2023-12-16T23:58:37Z [Bootstrapper::ApplyModifications] content\sounds\ouch.ogg already exists in the version folder, and is a match
2023-12-16T23:58:37Z [Bootstrapper::ApplyModifications] ExtraContent\places\Mobile.rbxl already exists in the version folder, and is a match
2023-12-16T23:58:37Z [Bootstrapper::ApplyModifications] content\textures\Cursors\KeyboardMouse\ArrowCursor.png already exists in the version folder, and is a match
2023-12-16T23:58:37Z [Bootstrapper::ApplyModifications] content\textures\Cursors\KeyboardMouse\ArrowFarCursor.png already exists in the version folder, and is a match
2023-12-16T23:58:37Z [JsonManager<State>::Save] Saving to %UserProfile%\AppData\Local\Bloxstrap\State.json...
2023-12-16T23:58:37Z [JsonManager<State>::Save] Save complete!
2023-12-16T23:58:37Z [Bootstrapper::ApplyModifications] Finished checking file mods
2023-12-16T23:58:37Z [Bootstrapper::CheckInstall] Checking install
2023-12-16T23:58:37Z [JsonManager<Settings>::Save] Saving to %UserProfile%\AppData\Local\Bloxstrap\Settings.json...
2023-12-16T23:58:37Z [JsonManager<Settings>::Save] Save complete!
2023-12-16T23:58:37Z [JsonManager<State>::Save] Saving to %UserProfile%\AppData\Local\Bloxstrap\State.json...
2023-12-16T23:58:37Z [JsonManager<State>::Save] Save complete!
2023-12-16T23:58:37Z [Bootstrapper::SetStatus] Starting Roblox...
2023-12-16T23:58:37Z [Bootstrapper::StartRoblox] Started Roblox (PID 23196)
2023-12-16T23:58:37Z [Bootstrapper::StartRoblox] Using Discord Rich Presence
2023-12-16T23:58:37Z [DiscordRichPresence::DiscordRichPresence] Established connection with Discord RPC
2023-12-16T23:58:39Z [DiscordRichPresence::DiscordRichPresence] Received ready from user Razor<PHONE_NUMBER>05341204)
2023-12-16T23:58:40Z [ActivityWatcher::StartWatcher] Opening Roblox log file...
2023-12-16T23:58:40Z [ActivityWatcher::StartWatcher] Could not find recent enough log file, waiting... (newest is 0.605.3.6050660_20231216T235254Z_Player_AC987_last.log)
2023-12-16T23:58:40Z [Bootstrapper::StartRoblox] Waiting for Roblox to close
2023-12-16T23:58:40Z [NotifyIconWrapper::InitializeContextMenu] Initializing context menu
2023-12-16T23:58:41Z [ActivityWatcher::StartWatcher] Could not find recent enough log file, waiting... (newest is 0.605.3.6050660_20231216T235254Z_Player_AC987_last.log)
2023-12-16T23:58:42Z [ActivityWatcher::StartWatcher] Could not find recent enough log file, waiting... (newest is 0.605.3.6050660_20231216T235254Z_Player_AC987_last.log)
2023-12-16T23:58:43Z [ActivityWatcher::StartWatcher] Opened %UserProfile%\AppData\Local\Roblox\logs\0.605.3.6050660_20231216T235842Z_Player_D6016_last.log
2023-12-16T23:58:46Z [ActivityWatcher::ExamineLogEntry] Read 50 log entries
2023-12-16T23:58:48Z [ActivityWatcher::ExamineLogEntry] Joining Game<PHONE_NUMBER>/278c8d0a-bdaf-4dad-b136-fa1bf2a5173d/<IP_ADDRESS>)
2023-12-16T23:58:48Z [ActivityWatcher::ExamineLogEntry] Read 100 log entries
2023-12-16T23:58:48Z [ActivityWatcher::ExamineLogEntry] Server is UDMUX protected<PHONE_NUMBER>/278c8d0a-bdaf-4dad-b136-fa1bf2a5173d/<IP_ADDRESS>)
2023-12-16T23:58:49Z [ActivityWatcher::ExamineLogEntry] Joined Game<PHONE_NUMBER>/278c8d0a-bdaf-4dad-b136-fa1bf2a5173d/<IP_ADDRESS>)
2023-12-16T23:58:49Z [HttpClientLoggingHandler::ProcessRequest] GET https://ipinfo.io/<IP_ADDRESS>/city
2023-12-16T23:58:49Z [DiscordRichPresence::SetCurrentGame] Setting presence for Place ID<PHONE_NUMBER>
2023-12-16T23:58:49Z [HttpClientLoggingHandler::ProcessRequest] GET https://apis.roblox.com/universes/v1/places/8737899170/universe
2023-12-16T23:58:50Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://apis.roblox.com/universes/v1/places/8737899170/universe
2023-12-16T23:58:50Z [DiscordRichPresence::SetCurrentGame] Got Universe ID as<PHONE_NUMBER>
2023-12-16T23:58:50Z [HttpClientLoggingHandler::ProcessRequest] GET https://games.roblox.com/v1/games?universeIds=3317771874
2023-12-16T23:58:50Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://ipinfo.io/<IP_ADDRESS>/city
2023-12-16T23:58:50Z [HttpClientLoggingHandler::ProcessRequest] GET https://ipinfo.io/<IP_ADDRESS>/region
2023-12-16T23:58:50Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://ipinfo.io/<IP_ADDRESS>/region
2023-12-16T23:58:50Z [HttpClientLoggingHandler::ProcessRequest] GET https://ipinfo.io/<IP_ADDRESS>/country
2023-12-16T23:58:50Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://ipinfo.io/<IP_ADDRESS>/country
2023-12-16T23:58:50Z [NotifyIconWrapper::ShowAlert.c3d0823d] Showing alert for 10 seconds (clickHandler=True)
2023-12-16T23:58:50Z [NotifyIconWrapper::ShowAlert.c3d0823d] Connected to public server: Located at Chicago, Illinois, US\nClick for more information
2023-12-16T23:58:50Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://games.roblox.com/v1/games?universeIds=3317771874
2023-12-16T23:58:50Z [DiscordRichPresence::SetCurrentGame] Got Universe details
2023-12-16T23:58:50Z [HttpClientLoggingHandler::ProcessRequest] GET https://thumbnails.roblox.com/v1/games/icons?universeIds=3317771874&returnPolicy=PlaceHolder&size=512x512&format=Png&isCircular=false
2023-12-16T23:58:50Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://thumbnails.roblox.com/v1/games/icons?universeIds=3317771874&returnPolicy=PlaceHolder&size=512x512&format=Png&isCircular=false
2023-12-16T23:58:50Z [DiscordRichPresence::SetCurrentGame] Got Universe thumbnail as https://tr.rbxcdn.com/983c66a690ac345e326dc29f7025e8e2/512/512/Image/Png
2023-12-16T23:58:50Z [DiscordRichPresence::UpdatePresence] Updating presence
2023-12-16T23:58:52Z [DiscordRichPresence::DiscordRichPresence] Presence updated
2023-12-16T23:58:57Z [ActivityWatcher::ExamineLogEntry] Read 150 log entries
2023-12-16T23:59:00Z [NotifyIconWrapper::ShowAlert.c3d0823d] Duration over, erasing current click handler
2023-12-16T23:59:00Z [ActivityWatcher::ExamineLogEntry] Read 200 log entries
2023-12-16T23:59:37Z [ActivityWatcher::ExamineLogEntry] Read 250 log entries
2023-12-16T23:59:40Z [ActivityWatcher::ExamineLogEntry] Read 300 log entries
2023-12-16T23:59:41Z [ActivityWatcher::ExamineLogEntry] Read 350 log entries
2023-12-16T23:59:41Z [ActivityWatcher::ExamineLogEntry] Read 400 log entries
2023-12-16T23:59:41Z [ActivityWatcher::ExamineLogEntry] Read 450 log entries
2023-12-16T23:59:41Z [ActivityWatcher::ExamineLogEntry] Read 500 log entries
2023-12-16T23:59:45Z [ActivityWatcher::ExamineLogEntry] Read 550 log entries
2023-12-17T00:04:30Z [ActivityWatcher::ExamineLogEntry] Read 600 log entries
2023-12-17T00:04:32Z [ActivityWatcher::ExamineLogEntry] Read 650 log entries
2023-12-17T00:06:52Z [ActivityWatcher::ExamineLogEntry] Read 700 log entries
2023-12-17T00:07:00Z [ActivityWatcher::ExamineLogEntry] Read 750 log entries
2023-12-17T00:07:24Z [ActivityWatcher::ExamineLogEntry] Read 800 log entries
2023-12-17T00:07:25Z [ActivityWatcher::ExamineLogEntry] Read 850 log entries
2023-12-17T00:07:27Z [ActivityWatcher::ExamineLogEntry] Read 900 log entries
2023-12-17T00:10:23Z [ActivityWatcher::ExamineLogEntry] Read 950 log entries
2023-12-17T00:10:24Z [ActivityWatcher::ExamineLogEntry] Read 1000 log entries
2023-12-17T00:10:58Z [ActivityWatcher::ExamineLogEntry] Read 1100 log entries
2023-12-17T00:11:29Z [ActivityWatcher::ExamineLogEntry] Read 1200 log entries
2023-12-17T00:12:24Z [ActivityWatcher::ExamineLogEntry] Read 1300 log entries
2023-12-17T00:13:09Z [ActivityWatcher::ExamineLogEntry] Read 1400 log entries
2023-12-17T00:13:12Z [ActivityWatcher::ExamineLogEntry] Read 1500 log entries
2023-12-17T00:13:17Z [Bootstrapper::StartRoblox] Roblox has exited
2023-12-17T00:13:17Z [DiscordRichPresence::Dispose] Cleaning up Discord RPC and Presence
2023-12-17T00:13:17Z [App::OnStartup] Bootstrapper task has finished
2023-12-17T00:13:17Z [NotifyIconWrapper::Dispose] Disposing NotifyIcon
2023-12-17T00:13:17Z [MenuContainer::Window_Closed] Context menu container closed
2023-12-17T00:13:17Z [App::OnStartup] Waiting for bootstrapper task to finish
2023-12-17T00:13:17Z [App::OnStartup] We have singleton mutex ownership! Running in background until all Roblox processes are closed
2023-12-17T00:13:27Z [App::OnStartup] Successfully reached end of main thread. Terminating...
2023-12-17T00:13:27Z [App::Terminate] Terminating with exit code 0 (ERROR_SUCCESS)
2023-12-17T00:13:27Z [JsonManager<Settings>::Save] Save request ignored

Oh, I did not mean to close this, my bad - must have had the wrong one open.

lol

If it crashes again with Bloxstrap, see if a completely default config works. Open the installation folder, go to the version folder, delete the ClientSettings folder, and then run RobloxPlayerBeta.exe. From there, see if it crashes.

Yea i couldnt find the roblox player anywhere on my pc so i uninstalled bloxstrap

I played normal roblox player for 10+ mins and it didnt crash

Yea i couldnt find the roblox player anywhere on my pc so i uninstalled bloxstrap and downloaded roblox player

What? I can't really help you if you're not willing to cooperate with me here. What do you mean you "couldnt find the roblox player anywhere"?

https://github.com/pizzaboxer/bloxstrap/wiki/Switching-between-Roblox-and-Bloxstrap
when i search up roblox player in start menu like it tells me to do it doesnt show up

That's not what I asked you to do though.

If it crashes again with Bloxstrap, see if a completely default config works. Open the installation folder, go to the version folder, delete the ClientSettings folder, and then run RobloxPlayerBeta.exe. From there, see if it crashes.

I didnt know how to use normal roblox app cause i couldnt find it on my pc

Alright, well try the troubleshooting steps that I gave.

I dont think its a bloxstrap issue, 2 of my friend's roblox apps has crashed and they arent bloxstrap users

I havent had this issue happen to me since i last said so and im using bloxstrap

Oh, alright. I'll close this. By the way, since you're not OP, I would suggest opening a new issue if you ever encounter this again.


Revert "Fix hot restart flake"

Reverts flutter/flutter#122776 because this test is sometimes hanging for example: https://ci.chromium.org/ui/p/flutter/builders/try/Windows web_tool_tests_1_2/5036/overview

Currently blocking tree: https://ci.chromium.org/p/flutter/builders/prod/Windows web_tool_tests_1_2/2571

@christopherfujino doe we have a timeout somewhere for one test file not to exceed 30 minutes? I think I added too many tests:) Will split them up and try to reland.

Ahh, you're right, looks like when this passes it's just under the timeout.

@christopherfujino do we have a timeout somewhere for one test file not to exceed 30 minutes? I think I added too many tests:) Will split them up and try to re-land after this revert is in.

Ahh you're right, looks like even when this passes it's just under the timeout.


Add more tests for serialize_vector_test() function

The current serialize_vector_test() function in the codebase has TODO to implement more interesting objects. I would want to add tests for vectors of structs, nested vectors, or vectors containing combinations of different data types. Please let me know if this is what we want to do, or if there are any other suggestions or considerations. https://github.com/rust-bitcoin/rust-bitcoin/blob/f6d983b2ef4dfacd53499fd9f1d77058c0f396ff/bitcoin/src/consensus/encode.rs#L942

I'd actually prefer to remove the impl on Vec completely and explicitly use some function or a newtype which prefixes it with varint length.


JAVA-38566 Fix core-java-14 in the context of migrating to JDK 21

retest this please

retest this please


Mysterious systemd problem

Hi!
I copied my openvpn config to /etc/openvpn/dk2.conf
I have defined all "up, down, route-up" inside the conf file so I'm able to start it with simple command
"openvpn --config /etc/openvpn/dk2.conf"
That works fine from command line when run with sudo.
However, when enabled /etc/default/openvpn "AUTOSTART" variable, systemd tries to start it automatically on boot.
This again works.... Openvpn is up and running, but there is something wrong in netns config.
tsuikki@puucee:~$ ip netns
vpn
tsuikki@puucee:~$ sudo ip netns
Error: Peer netns reference is invalid.
Error: Peer netns reference is invalid.
vpn
tsuikki@puucee:~$

If started from command line, I get these results:
tsuikki@puucee:~$ ip netns
vpn (id: 0)
tsuikki@puucee:~$ sudo ip netns
vpn (id: 0)
tsuikki@puucee:~$

I tried looking at all the files generated by the script, and they are identical. I think it must be some kind of permission thing?

bah.. added an "reboot" entry to root's crontab, works like a charm.
Again a failed attempt in trying to get along with systemd.. 👍

bah.. added an "reboot" entry to root's crontab, works like a charm.
Again a failed attempt in trying to get along with systemd.. 👍

I got the same problem trying to run openvpn at boot and setting the netns.
The problem was because the openvpn-client service had lines like PrivateTmp=true, ProtectSystem=true and DeviceAllow lines which restricted access to the system filesystem which is needed to play with netns.
I also had to add the CAP_SYS capability to CapabilityBoundingSet.
In my openvpn-netns repo, I added a new service which works will with network namespaces.


CI cleanup

Pull Request Checklist:

[ ] This PR addresses an already opened issue (for bug fixes / features)

This PR fixes #xyz

[ ] Tests for the changes have been added (for bug fixes / features)

[ ] (If applicable) Documentation has been added / updated (for bug fixes / features)

[ ] HISTORY.rst has been updated (with summary of main changes)

[ ] Link to issue (:issue:number) and pull request (:pull:number) has been added

What kind of change does this PR introduce?

Uses latest Ubuntu image (now 22.04)
Install SBCK from official source master branch
Ensure that tox used is always v3.0
Fix a badly-referenced article (Not to proper article; URL was causing docs failures)

Does this PR introduce a breaking change?
No.
Other information:

@aulemahal
Bad news: the SBCK that was being installed via CI was the version pegged at our contribution branch. I've now pointed this at the upstream dev branch of yrobink/SBCK-python and there are now some clear incompatibilities (that may have been introduced in the past few months). Issues are with the following tests:
FAILED xclim/testing/tests/test_sdba/test_adjustment.py::TestSBCKutils::test_sbck[True-SBCK_XClimNPPP] - AttributeError: 'XClimNPPP' object has no attribute '_bc_method'
FAILED xclim/testing/tests/test_sdba/test_adjustment.py::TestSBCKutils::test_sbck[True-SBCK_XClimSPPP] - AttributeError: 'XClimSPPP' object has no attribute '_bc_method'

Should we open an issue about this? Can it be solved easily here?

@juliettelavoie Are these the same errors as the ones you were receiving in your SBCK tests? (In the test-py310-opt-slow build).

No, I don't think I have seen this error before. During my tests, I was able to run dOTC on this small test dataset, the issues came up when doing it over a real big dataset.

@aulemahal should I pin to a specific commit for the time being?

Ok, let's revert to our branch and open an issue.

Coverage: 92.418% (+0.4%) from 91.996% when pulling 567e9c2926d545f3dc1acc97ab6ae5d0c7abe9c1 on ci-updates-again into f7f8a9ccc8aaf1480734004ad4f229a70fde0b03 on master.


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-25-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 2940

Questions ?
Please refer to the Backport tool documentation


Minor typo

The instructions to add
import Utilities from "./Utilities.js";
should actually say
import Utilities from "./Utilities.ts";
(TS instead of JS)  Luckily, this appears to be benign, as the code worked for me with .js too.

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

ID: 74a371cf-594b-26d5-21e0-8a77121c256b
Version Independent ID: 74a371cf-594b-26d5-21e0-8a77121c256b
Content: Build a gameplay experience with TypeScript
Content Source: creator/Documents/ScriptingGettingStarted.md
Service: minecraft-bedrock-edition
GitHub Login: @MikeAM
Microsoft Alias: mikeam

Nevermind, my newbie typescript ness.  Apparently this MUST be .js.  Crazy.


Support multiple addresses in filters

Description
Currently, we only support filtering for 0 or 1 address. The ETH Wiki specifies:

address: DATA|Array, 20 Bytes - (optional) Contract address or a list of addresses from which logs should originate.

We should support multiple addresses to allow e.g. getting all the Transfer logs for many tokens. While we're at that, we should also update the LogMeta struct to include the address which emitted that log.
Here's how Rust-web3 does it: https://github.com/tomusdrw/rust-web3/blob/master/src/types/log.rs#L90, may just be a matter of switching to ValueOrArray<Address>

Hey @gakonst, I'm currently implementing a event listener that should trigger some Graph queries with ethers-rs.
Would gladly take this issue and check how we could implement this feature.

@sebastinez absolutely - go for it!

@sebastinez fyi https://docs.rs/futures/0.3.16/futures/prelude/stream/select_all/fn.select_all.html
maybe you can use this together with the EventStream type

Thanks @gakonst and @mattsse for the recommendation!
If I understand correctly once I successfully subscribed to a filter I should receive just a single SubscriptionStream but I'll keep an eye out for the bundling of streams.

The JSON RPC filter allows you to specify multiple addresses, and they'd all be part of the same stream, yes.

Hey @gakonst sorry for the delay, I created a PR #370 which should implement this feature.
I'm not quite sure what you mean with.

While we're at that, we should also update the LogMeta struct to include the address which emitted that log.

Since it's working great and the logs are showing the address which emitted that log correctly, if you could give me a hint I could add this to the PR.


[performance] Looking up every file is slow

Hello, I've noticed that the processing here can significantly slows down building the docs, probably because of BeautifulSoup.
On my website, running the plugin added an overhead of about 27s. Because I know the files where I want the swagger-ui tags to be used, I've added a simple filename filter patch to avoid trying to lookup on every single file. That improved the performance to only 2s!
def on_post_page(self, output, page, config, **kwargs):
    """Replace swagger-ui tag with iframe
    Add javascript code to update iframe height
    Create a html with Swagger UI for iframe
    """
    if page.file.name not in ("rest_api", "rest-api"):
        return output
    ...

Proposal
My proposal is:

Add an option (e.g, filter_filenames), which provides an optional list of filenames to match before proceding the processing.
For backward-compat, if this option is not provided the plugin continue with its current behavior.

What do you think? I can open a PR next week

Another similar approach is to mark specific markdown pages using the yaml frontmatter and add a global option to not process a page unless its marked.
# some markdown page frontmatter
---
swagger-ui:
  process-page: true
---

# mkdocs.yaml
plugins:
  mkdocs-swagger-ui:
    process_all: false  # default true for compatibility


[web app] What is the recommended way for localization for the web app

Let's say I want to localize Todo web application in the example folder. What's the recommended way and how to do that?

Compose For Web doesn't provide any tools/utils for localization. So it needs to be implemented either by some third-party library or within an app.
Not compose-for-web specific, but might be useful - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl
We'll consider adding an app example with some localization implementation, but there are no plans to publish any libs/utils for now.
I think one approach is to use some dicitonary (MutableState), so whenever it changes, all texts get recomposed.
Here is a very quick and dirty draft of trivial localization implementation:

const val STR_GOOD_MORNING = "key_GOOD_MORNING"
const val STR_HELLO_USERNAME = "key_HELLO_USERNAME"

val dictionary = mutableStateMapOf<String, String>(
    STR_GOOD_MORNING to "Good morning!",
    STR_HELLO_USERNAME to "Hello, {username}"
)

// call this when user changes the language and implement `getDictionaryForLangCode`
fun switchLanguage(langCode: String) {
    dictionary.clear()
    dictionary.putAll(getDictionaryForLangCode(langCode))
}

@Composable
fun GoodMorningComponent() {
    Text(dictionary[STR_GOOD_MORNING]!!)
}

@Composable
fun HelloUserNameComponent(userName: String) {
    Text(dictionary[STR_HELLO_USERNAME]!!.replace("{username}", userName))
}

It looks promising solution by using kotlin. I'm looking forward a recommended way for multiplatform localization.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Revert "datasource test and sql task Remove connection pool issues is #14179"

Reverts apache/dolphinscheduler#14193

Codecov Report

Merging #14626 (2d729c4) into dev (759756a) will decrease coverage by 0.04%.
The diff coverage is 0.00%.

:exclamation: Current head 2d729c4 differs from pull request most recent head 3e9165d. Consider uploading reports for the commit 3e9165d to get more accurate results

@@             Coverage Diff              @@
##                dev   #14626      +/-   ##
============================================
- Coverage     38.55%   38.52%   -0.04%
+ Complexity     4577     4576       -1
============================================
  Files          1260     1260
  Lines         43752    43762      +10
  Branches       4830     4808      -22
============================================
- Hits          16870    16859      -11
- Misses        25011    25032      +21
  Partials       1871     1871

Impacted Files
Coverage Δ

.../datasource/api/client/CommonDataSourceClient.java
2.38% <0.00%> (+0.45%)
:arrow_up:

.../datasource/azuresql/AzureSQLDataSourceClient.java
4.00% <0.00%> (-10.29%)
:arrow_down:

...r/plugin/datasource/hive/HiveDataSourceClient.java
2.50% <0.00%> (-1.50%)
:arrow_down:

...ugin/datasource/kyuubi/KyuubiDataSourceClient.java
4.76% <0.00%> (-5.24%)
:arrow_down:

.../datasource/redshift/RedshiftDataSourceClient.java
0.00% <0.00%> (ø)

... and 34 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@ruanwenjun Hi, may I ask why you want to revert this change?

@ruanwenjun Hi, may I ask why you want to revert this change?

This PR introduces some serious bugs.

In many drivers, the connection is not thread-safe, this pr hold one connection in CommonDataSourceClient, this will cause multiple tasks get the same connection at the same time.
In many drivers, connection.isClosed() is only check the closed flag at the driver side, it cannot represent if the connection is active/valided.

@ruanwenjun Hi, may I ask why you want to revert this change?

This PR introduces some serious bugs.

In many drivers, the connection is not thread-safe, this pr hold one connection in CommonDataSourceClient, this will cause multiple tasks get the same connection at the same time.
In many drivers, connection.isClosed() is only check the closed flag at the driver side, it cannot represent if the connection is active/valided.

Got it, thx for the explanation.


Extra blank lines added when copy-pasting code snippets

Describe the bug
When copying code snippets, extra blank lines get added. Deleting them manually is a bit annoying.
How to Reproduce

Go to a doc page which has a code snippet, e.g. this page
Highlight the code snippet, and copy
Open a text editor
paste it in

Expected behavior
The text in the text editor matches what was in the web page
Actual behavior
The text in the text editor has blank lines inserted between each real line.
Your project
No response
Screenshots
No response
OS
Mac
Python version
N/A
AWS SDK for pandas version
N/A
Additional context
No response

I am on Mac as well and did not face this issue. I have tried on several code/text editors (Sublime, VSCode and Word), and in each case the code is pasted as is without extra blank lines

Same, but perhaps a copy button will make the experience a bit more convenient - added in the PR above.


added week min and week max columns, sorted table by week max price

Hello!
I need to sort lines by the max price of the week, to see the best possibility fast.
I also added a bit of CSS.
Thank you for your work!

Oops, I did some work today and I hadn't seen this. Will try and incorporate the changes

I've edited and merged this, thanks so much for the contribution!

thank you for taking into account my suggestions :D


Remove scammer warning in RPC-console

Remove the warning from rpc-console.
This is not a serious proposal but part of a course

Don't forget to delete the translations.


git add the new file

Issue #, if available:
Description of changes:

Make sure and actually git add new base tag yaml file
Change 2022 git variant to pull libssh/git from yum since the versions are fairly up to date now.

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

/lgtm
/approve

/unhold


Cannot set primary on Mirror-Failover property

please review release notes. Note limited functionality supported.
Name:
akamai-gtm update-property
Description:
Update property configuration
Usage:
akamai-gtm update-property [domain, property] [--datacenter] [--enable] [--disable] [--weight] [--server] [--verbose] [--json] [--complete]
Flags:
--datacenter value  Apply change to specified datacenter by id or nickname.
--enable                Enable specified datacenter(s).
--disable               Disable specified datacenter(s).
--weight value          Apply 'weight' to specified datacenter. (default: 0)
--server value          Update target server for specified datacenter. Multiple server flags may be specified.
--verbose               Display verbose result status.
--json                  Return status in JSON format.
--complete              Wait up to 5 minutes for change completion
domain and property are required
If enhancement is requested please note as such

I created a Pull Request #3 which enables the functionality to set the primary target on a Mirror-Failover property.

@HeatfanJohn @sagardeo2105 Final changes for rel 0.3.0 are in master. See the updated README for usage. I added a target arg as well as dryrun and timeout. I removed weights arg.
Pls review an try if you  have a chance. I plan to finalize and release between 7/7 and 7/16.
Thx.

I get the following error on 0.3.0 on Windows when trying to test "--target":
C:\Users\johnma>.akamai-cli\src\cli-gtm\bin\cli-gtm.exe update-property carnival.akadns.net, funpass --target '{"datacenterId": 3131,"weight":0,"enabled":true}' --target '{"datacenterId": 3134,"weight":0,"enabled":true}'
Incorrect Usage: invalid value "'{datacenterId:" for flag -target: invalid character '\'' looking for beginning of value

Name:
   akamai-gtm update-property

Description:
   Update property configuration

Is this a Windows issue?

on Windows, you need to use double quotes to enclose string and escape quotes in the string. The following worked or me...
C:\Users\elynes>c:\temp\akamai-gtm.exe --edgerc c:\scratch.edgerc --section default  update-property carnival.akadns.net funpass --target "{"datacenterId": 3131,"weight":0,"enabled":true}" --target "{"datacenterId": 3134,"weight":0,"enabled":true}"
Property not found

Thanks, @edglynes Please do me a favor and edit the domain name in your comment to xxxxxx.akadns.net ... just to be safe ... I updated my comment.

I will give it a try today @edglynes.
Thanks for pushing this out :)

Hi @edglynes I tested it out and works fine :)
The --dry-run flag does not seem to be working though. Even If I use --dry-run, it goes ahead and updates the property.
Another thing I would have suggest is to add propertyName to the target json object.
This way it will allow us to run it for multiple properties under 1 domain to be routed to the required datacenter and weight.

@sagardeo2105 Thx for testing. How did you ascertain that --dryrun didn't work? If you specify --dryrun, the command outputs the proposed changes to the console but does NOT update the backend.
The --target attribute reflects the target object content in properties. It would not be propriate to add additional fields. The update-datacenter command updates a the associated target references in ALL properties. Can you more clearly state the use case you are trying to address? Thx.

@edglynes When I used --dryrun, it did not actually output the proposed changes but rather went ahead and made the change in the GTM property. I could see the property getting updated after running the command.
Ignore the part of propertyName request. It might not be most efficient.

@sagardeo2105  pls provide the command line you used with --dryrun. obfuscate any info that is proprietary. thx.

./akamai-gtm --section ccu --edgerc ~/.edgerc update-property abc.ca.akadns.net test --dry-run -target '{"datacenterId": 3135,"weight":1,"enabled":true}' -target '{"datacenterId": 3136,"weight":1,"enabled":true}'

ok, so dryrun is one word, eg --dryrun. The application ignored --dry-run because it doesn't recognize it.

Ahh Crap! Thanks :) I will test it out

@edglynes When is this planned to be released? Any estimated date for this?

By July end. Have some current work to juggle and internal process to follow. I'll comment when available.

@sagardeo2105 @HeatfanJohn Release is published, https://github.com/akamai/cli-gtm/releases/tag/0.3.0

Thanks a lot @edglynes :)


Instructions not clear

Used client, caused meltdown of servers, they now are saying they will be wiping everyone's data later this year as a result.

You were warned.  Due to your inability to read simple warnings, the entire game is going to be shut down :rage4:.
I hope you're happy.


Feature/asb 301 allow filtering by search text

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

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


tests/drivers/counter/counter_basic_api: Kernel panic and an assertion error when you run  test_multiple_alarms() after test_single_shot_alarm_top() failed

Describe the bug
If you run test_multiple_alarms() after test_single_shot_alarm_top() failed, test_multiple_alarms() will generate a assertion error and there will be a Kernel Panic.
Please take note that
a. Running test_single_shot_alarm_top() by itself will fail with the same message you see in the console log section below. This is being filed as a separate bug https://github.com/zephyrproject-rtos/zephyr/issues/13254
b. Running test_multiple_alarms() alone by itself will result in a successful test, i.e. no failure recorded.
c. This bug is about what will happen if you run test_single_shot_alarm_top() followed by test_multiple_alarms()
To Reproduce
Steps to reproduce the behavior:

mkdir build; cd build
cmake -GNinja  -DBOARD=nrf52_pca10040 -DARCH=arm #nrf52_pca10040
ninja
ninja run

Replace (2) with
cmake -GNinja -DBOARD=nrf51_pca10028 -DARCH=arm for nrf51_pca10028
cmake -GNinja -DBOARD=nrf52840_pca10056 -DARCH=arm for nrf52840_pca10056
Screenshots or console output
For nrf52_pca10040:
starting test - test_single_shot_alarm_top
    Assertion failed at /path/to/tests/zephyr.git/tests/drivers/counter/counter_basic_api/src/test_counter.c:196: test_single_shot_alarm_instance: (-EINVAL not equal to err)
Counter should return error because ticks exceeded the limit set alarm
FAIL - test_single_shot_alarm_top
===================================================================
starting test - test_multiple_alarms
ASSERTION FAIL [m_cb[p_instance->instance_id].state == NRFX_DRV_STATE_INITIALIZED] @ /path/to/tests/zephyr.git/ext/hal/nordic/nrfx/drivers/src/nrfx_ti
mer.c:134
[00:00:00.000,000] <dbg> counter_timer.4.init_timer: Initialized
[00:00:00.000,000] <dbg> counter_timer.3.init_timer: Initialized
[00:00:00.000,000] <dbg> counter_timer.2.init_timer: Initialized
[00:00:00.000,000] <dbg> counter_timer.1.init_timer: Initialized
[00:00:00.000,000] <dbg> counter_timer.0.init_timer: Initialized
[00:00:00.000,000] <dbg> counter_rtc.0.init_rtc: Initialized
[00:00:00.000,000] <dbg> counter_rtc.2.init_rtc: Initialized
***** Kernel Panic! *****
Current thread ID = 0x200008c0
Faulting instruction address = 0x228a

For nrf51_pca10028:
===================================================================
starting test - test_single_shot_alarm_top
    Assertion failed at /path/to/tests/zephyr.git/tests/drivers/counter/counter_basic_api/src/test_counter.c:196: test_single_shot_alarm_instance: (-EINVAL not equal to err)
Counter should return error because ticks exceeded the limit set alarm
FAIL - test_single_shot_alarm_top
===================================================================
starting test - test_multiple_alarms
ASSERTION FAIL [m_cb[p_instance->instance_id].state == NRFX_DRV_STATE_INITIALIZED] @ /path/to/tests/zephyr.git/ext/hal/nordic/nrfx/drivers/src/nrfx_ti
mer.c:134
[00:00:00.000,000] <dbg> counter_timer.2.init_timer: Initialized
[00:00:00.000,000] <dbg> counter_timer.1.init_timer: Initialized
[00:00:00.000,000] <dbg> counter_timer.0.init_timer: Initialized
[00:00:00.000,000] <dbg> counter_rtc.0.init_rtc: Initialized
***** Kernel Panic! *****
Current thread ID = 0x200001c0
Faulting instruction address = 0x2744

For nrf52840_pca10056:
starting test - test_single_shot_alarm_top
    Assertion failed at /path/to/tests/zephyr.git/tests/drivers/counter/counter_basic_api/src/test_counter.c:196: test_single_shot_alarm_instance: (-EINVAL not equal to err)
Counter should return error because ticks exceeded the limit set alarm
FAIL - test_single_shot_alarm_top
===================================================================
starting test - test_multiple_alarms
ASSERTION FAIL [m_cb[p_instance->instance_id].state == NRFX_DRV_STATE_INITIALIZED] @ /path/to/tests/zephyr.git/ext/hal/nordic/nrfx/drivers/src/nrfx_t
imer.c:134
[00:00:00.000,000] <dbg> counter_timer.4.init_timer: Initialized
[00:00:00.000,000] <dbg> counter_timer.3.init_timer: Initialized
[00:00:00.000,000] <dbg> counter_timer.2.init_timer: Initialized
[00:00:00.000,000] <dbg> counter_timer.1.init_timer: Initialized
[00:00:00.000,000] <dbg> counter_timer.0.init_timer: Initialized
[00:00:00.000,000] <dbg> counter_rtc.0.init_rtc: Initialized
[00:00:00.000,000] <dbg> counter_rtc.2.init_rtc: Initialized
***** Kernel Panic! *****
Current thread ID = 0x200008c0
Faulting instruction address = 0x22aa

Environment (please complete the following information):

OS: Linux
Toolchain : zephyr
Commit SHA or Version used: 012d40412568201f975dd0356e1e3fbf9e8aad73

Additional context
Add any other context about the problem here.

Observed for nrf52840_pca10056 with Commit ID fd7c4430e1398374f2f5b49bcd6ec95166e52e9a with slightly different messages:

Assertion failure at test_single_shot_alarm_top() is displaying a different message
Kernel panic's thread ID and instruction address are different

***** delaying boot 1000ms (per build configuration) *****
***** Booting Zephyr OS v1.14.0-rc1-704-gfd7c4430e139 (delayed boot 1000ms) *****
Running test suite test_counter
===================================================================
starting test - test_set_top_value_with_alarm
PASS - test_set_top_value_with_alarm
===================================================================
starting test - test_single_shot_alarm_notop
PASS - test_single_shot_alarm_notop
===================================================================
starting test - test_single_shot_alarm_top
E#1        @jfsotc13/nrf52840-74     console output:
    Assertion failed at zephyr.git/tests/drivers/counter/counter_basic_api/src/test_counter.c:208: test_single_shot_alarm_instance: (1 not equal to alarm_cnt)
Expecting alarm callback
E#1        @jfsotc13/nrf52840-74     console output:
FAIL - test_single_shot_alarm_top
===================================================================
starting test - test_multiple_alarms
ASSERTION FAIL [m_cb[p_instance->instance_id].state == NRFX_DRV_STATE_INITIALIZED] @ /home/jenkins/workspace/zephyr-master-ci-master/zephyr.git/ext/hal/nordic/nrfx/drivers/src/nrfx_timer.c:134
[00:00:00.000,000] <dbg> counter_timer.4.init_timer: Initialized
[00:00:00.000,000] <dbg> counter_timer.3.init_timer: Initialized
[00:00:00.000,000] <dbg> counter_timer.2.init_timer: Initialized
[00:00:00.000,000] <dbg> counter_timer.1.init_timer: Initialized
[00:00:00.000,000] <dbg> counter_timer.0.init_timer: Initialized
[00:00:00.000,000] <dbg> counter_rtc.0.init_rtc: Initialized
[00:00:00.000,000] <dbg> counter_rtc.2.init_rtc: Initialized
***** Kernel Panic! *****
Current thread ID = 0x200008a8
Faulting instruction address = 0x2564


Enhancement request: synonym finder (similar to wordnet dictionary)

As discussed over slack, using the moby thesaurus to allow roam42 to dynamically query for synonyms , in a manner similar to the present wordnet integration http://moby-thesaurus.org/

Roam42 Issue Log Audit - Could become its own extension if user interest resurfaces


Fix start-app and elm-architecture-tutorial on homepage

Thanks! I decided to use different links. Stuff will go live later today!


Major slow down in kubernetes.io build time over the past 1-2 years.

What version of Hugo are you using (hugo version)?

hugo v0.87.0-B0C541E4+extended linux/amd64 BuildDate=2021-08-03T10:57:28Z VendorInfo=gohugoio

                   |  EN  | ZH  | KO  | JA  | FR  | IT  | DE  | ES  | PT-BR | ID  | RU  | VI  | PL  | UK
-------------------+------+-----+-----+-----+-----+-----+-----+-----+-------+-----+-----+-----+-----+------
  Pages            | 1382 | 921 | 511 | 403 | 335 |  71 | 158 | 270 |   148 | 335 | 150 |  77 |  69 |  92
  Paginator pages  |   39 |   7 |   0 |   0 |   0 |   0 |   0 |   0 |     0 |   0 |   0 |   0 |   0 |   0
  Non-page files   |  484 | 353 | 178 | 260 |  73 |  20 |  17 |  33 |    27 | 105 |  24 |   8 |   6 |  20
  Static files     |  794 | 794 | 794 | 794 | 794 | 794 | 794 | 794 |   794 | 794 | 794 | 794 | 794 | 794
  Processed images |    1 |   1 |   0 |   0 |   0 |   0 |   0 |   0 |     0 |   0 |   0 |   0 |   0 |   0
  Aliases          |    9 |   1 |   2 |   0 |   0 |   1 |   0 |   0 |     1 |   1 |   1 |   0 |   0 |   0
  Sitemaps         |    2 |   1 |   1 |   1 |   1 |   1 |   1 |   1 |     1 |   1 |   1 |   1 |   1 |   1
  Cleaned          |    0 |   0 |   0 |   0 |   0 |   0 |   0 |   0 |     0 |   0 |   0 |   0 |   0 |   0

$ time hugo
Start building sites …
hugo v0.87.0-B0C541E4+extended linux/amd64 BuildDate=2021-08-03T10:57:28Z VendorInfo=gohugoio
WARNING: calling IsSet with unsupported type "invalid" () will always return false.
Error: Error building site: POSTCSS: failed to transform "scss/main.css" (text/css). Check your PostCSS installation; install with "npm install postcss-cli". See https://gohugo.io/hugo-pipes/postcss/
Total in 82120 ms

real    1m22.217s
user    5m9.767s
sys     0m7.096s

Sorry, this issue is a bit subjective but I'll do my best to build a case. I joined SIG Docs in 2018 and hugo built fast (that would probably be around release 1.11 / hugo version 0.40.3). Today it takes ~1:23m
Since then, we've added many more localizations, increased content, changed themes, and began relying more on data to generate pages such as k8s.io/releases/. The slowness in hugo wasn't overnight, it gradually became slower and slower. I'm trying now to decipher how we can correct the build times or improve them but grasping for straws. It doesn't seem like we're building a site that huge (~11,000 static files and ~4,500 pages).
It's also worth noting that the build consumes a TON of resources, mainly CPU (occasionally crashing my 4x4 VM due to OOM).
Any suggestions? I cross opened an issue on k/website too: https://github.com/kubernetes/website/issues/29429

IMO one of the best ways to pinpoint what may be causing the issue(s) is running with --templateMetrics and --templateMetricsHints.

Thanks for the tip @braderhart! Everything w/ cumulative duration over 1s:
$ hugo --templateMetrics --templateMetricsHints

[...]

Template Metrics:

      cache     cumulative       average       maximum
  potential       duration      duration      duration  count  template
      -----     ----------      --------      --------  -----  --------
         13 4m49.980649054s  105.678079ms  280.847687ms   2744  partials/sidebar.html
          0 4m34.459678205s  135.201811ms  364.112636ms   2030  docs/single.html
         21 4m23.351904615s   95.973726ms   276.08674ms   2744  partials/sidebar-tree.html
          0 1m22.249188771s  120.954689ms  314.871636ms    680  docs/list.html
          0  45.64788803s   65.775054ms  2.570300238s    694  docs/list.print.html
          0 33.649583697s   47.865695ms   2.49773768s    703  partials/print/render.html
          4 23.696646127s    5.600719ms  261.513449ms   4231  partials/head.html
          0 17.419702778s   36.596014ms  299.091542ms    476  blog/single.html
         54   5.47626444s    1.294319ms  112.931094ms   4231  partials/navbar.html
         81  5.265351696s    9.915916ms   38.228533ms    531  partials/blog-sidebar.html
         91  2.994508473s     750.127µs   70.607823ms   3992  partials/scripts.html
          0  2.908855516s  323.206168ms  2.586272948s      9  blog/section.print.html
          0  2.379470116s     695.141µs   73.038778ms   3423  shortcodes/glossary_tooltip.html
          0  2.179129987s  155.652141ms  326.681935ms     14  docs/glossary.html
         24  2.066409769s     753.064µs   50.626091ms   2744  partials/toc.html
          8  2.000907736s    2.942511ms   24.168887ms    680  partials/section-index.html
          0  1.790354554s  127.882468ms  283.237765ms     14  docs/docsportal_home.html
          0  1.668993183s     186.981µs  150.549187ms   8926  partials/print/content.html
          0  1.534285369s   27.896097ms  136.058437ms     55  blog/list.html
         60   1.24718803s     300.817µs   11.571222ms   4146  partials/footer.html
          0   1.19264261s    2.505551ms   43.225275ms    476  blog/content.html

I'll try to dig a bit more into making sense out of this. Let me know if anything jumps out.

Looks like we might be able to leverage partialcached function on a few things:
<PHONE_NUMBER>11ms   58.450965ms  248.501758ms     17  partials/head-css.html
<PHONE_NUMBER>28ms     267.475µs   39.800689ms   3422  partials/announcement.html
<PHONE_NUMBER>93ms     158.804µs   22.582664ms   3437  partials/docs/glossary-terms.html
        100   64.821751ms      18.718µs    1.862062ms   3463  partials/deprecation-warning.html
        100   38.666362ms       9.138µs    1.908608ms   4231  partials/hooks/head-end.html
        100   15.400555ms      16.177µs     580.571µs    952  partials/taxonomy_terms_article.html
        100    7.490925ms      15.737µs     289.614µs    476  partials/featured-image.html
        100    3.684897ms     263.206µs     555.523µs     14  partials/frontpage-announcement.html
        100     378.615µs      27.043µs      79.452µs     14  partials/favicons.html
        100     324.794µs      23.199µs      313.67µs     14  partials/handle-version-switch-404.html
        99   24.390482ms      45.933µs     277.331µs    531  partials/blog-meta-links.html
        97   195.15966ms      46.126µs    2.076883ms   4231  partials/css.html
        91  2.994508473s     750.127µs   70.607823ms   3992  partials/scripts.html
        90    57.31494ms      14.357µs     974.138µs   3992  partials/hooks/body-end.html

This discussion is better suited for the forum (https://discourse.gohugo.io/). Having said that...
https://www.docsy.dev/docs/adding-content/navigation/

On large sites (default: > 2000 pages) the section menu is not generated for each page, but cached for the whole section. The HTML classes for marking the active menu item (and menu path) are then set using JS. You can adjust the limit for activating the cached section menu with the optional parameter .ui.sidebar_cache_limit.

After setting params.ui.sidebar_cache_limit to 1, my build time decreased from 130s to 30s.

Good call out, you're right, I'll move to discuss. Thanks for the tip.
Closing the issue now but will test / record / link any solution back for posteriority.

Last note, this is the area you'll want to focus for now. The cumulative duration appears to include the time it takes to generate the previous templates, so you'll want to focus on these for now:

partials/head.html
partials/print/render.html
docs/list.print.html
docs/list.html

Last, it appears this is what is taking up the most time, but it could be docs/list.html:

partials/sidebar-tree.html


Paths failing to run at all

I've created a couple of layouts and routes but when I try to go to any of them (root included) I just get failure messages. I have been through multiple things and can't figure out what would be causing the grief. I am sure it is something silly and I have overlooked it but no amount of googling or re-coding has achieved anything beneficial. Any help massively appreciated!
Errors in the Chrome Console:

lib/router.js:
FlowRouter.notfound = {
	action: function() {
		BlazeLayout.render('Blank', { content: 'NotFound' });
	}
};

//Home page routes
FlowRouter.route('/', {
	name: 'home',
	action: function() {
		BlazeLayout.render('Standard', { content: 'Dashboard' } );
		console.log('Home rendered');
	}
});

//Login page
FlowRouter.route('/login', {
	name: 'login',
	action: function() {
		BlazeLayout.render('Blank', { content: 'Login' });
	}
});

//Register page
FlowRouter.route('/register', {
	name: 'register',
	action: function() {
		BlazeLayout.render('Blank', { content: 'Register' });
	}
});

client/global.html:
<template name="Standard">
	{{> Header}}
	{{> Template.dynamic template=content}}

© Copyright 2015 • All Rights Reserved

</template>

<template name="Blank">

		{{> Template.dynamic template=content}}

</template>

<template name="Header">

This is the header

Hello, you're logged in!

</template>

<template name="NotFound">

404 Not Found!

Oops, can't find that, sorry!

</template>

client/login/login.html:
<template name="Login">

Login to see your dashboard

		<form class="login-form" id="loginForm" method="post">
		  Email address
		  <input type="email" name="loginEmail" placeholder="Email address">
		  Password
		  <input type="password" name="loginPassword" placeholder="Password">
		  Register
		  <input type="submit" class="login-btn" value="Login">
		</form>

<button type="button" class="login-google"> Sign in with Google</button>

<button type="button" class="login-microsoft"> Sign in with Microsoft</button>

</template>

<template name="Register">

Register

    <form class="register-form" id="registerForm" method="post">
	    Your name
	    <input type="text" name="registerName" placeholder="Your name">
      Email address
      <input type="email" name="registerEmail" placeholder="Email address">
      Password
      <input type="password" name="registerPassword" placeholder="Password">
      Confirm your password
      <input type="password" name="registerPasswordConfirm" placeholder="Password">
      Company name
      <input type="text" name="registerCompany" placeholder="Company">
      <input type="submit" class="register-btn" value="Register">
    </form>

<button type="button" class="login-google"> Sign in with Google</button>

<button type="button" class="login-microsoft"> Sign in with Microsoft</button>

Already have an account? Return to the login page.

</template>

<template name="PermissionDenied">

Permission denied

Sorry, you don't have permission to see this page.

</template>

<template name="SignOut">
	Log Out
</template>

change your template name to 'login' (lowercase)

I had it that way originally and it still failed, but let me try it again anyway
to be sure. That doesn't explain why / fails though?
On Sun, Aug 2, 2015 at 13:12, kadirahq/flow-router
<EMAIL_ADDRESS>wrote:
change your template name to 'login' (lowercase)
—
Reply to this email directly or view it on GitHub
[https://github.com/kadirahq/flow-router/issues/244#issuecomment-126984874] .[https://github.com/notifications/beacon/AHmf-bj2_oodjPXII6a06FsfSnLl0rosks5ojYIXgaJpZM4FkFLt.gif]

I was just responding to the error message you posted.

I would love to see a repo with this issue. That's really help me to dig
into this.
On 2015 අගෝ 2, ඉරිදා at පෙ.ව. 8.46 Paul Stocks<EMAIL_ADDRESS>wrote:

I was just responding to the error message you posted.
—
Reply to this email directly or view it on GitHub
https://github.com/kadirahq/flow-router/issues/244#issuecomment-126984963
.

I can give you read only access temporarily to it easily enough, it is a private repo. Will do it now for you and push my latest files up. It will be on branch feature/login.

You are using arillo:flow-router-helpers package. It's not yet updated for the new flow-router. So, now you've two flow-router version in your app. That's the issue.

Interesting! I forgot I even had the package. I have removed it but I still see issues. Unsure if it is related to FlowRouter now or something else entirely. Possibly it is related to Blaze?
The error is about route. As below
Exception in defer callback: Error: No such function: route

Interestingly going to / logs the message from the route, but doesn't render the template (I'd expect the footer at least to show up).


os/exec: LookPath inconsistency on windows/arm64

After a recent Windows 10 update on my Surface Pro X, os/exec TestLookPath is failing.
It appears to be a bug introduced in the update in cmd.exe itself.
The transcript below seems to show that cmd.exe is not respecting the order of extensions in PATHEXT:
even though EXE comes before BAT, cmd is prefering a.bat over a.exe.
C:\Users\russc\tmp>dir
 Volume in drive C is Local Disk
 Volume Serial Number is 6254-048B

 Directory of C:\Users\russc\tmp

02/18/2021  08:13 AM    <DIR>          .
02/18/2021  08:10 AM    <DIR>          ..
               0 File(s)              0 bytes
               2 Dir(s)  420,601,499,648 bytes free

C:\Users\russc\tmp>mkdir p1

C:\Users\russc\tmp>copy con p1\a.bat
@echo a1.bat
^Z
        1 file(s) copied.

C:\Users\russc\tmp>copy ..\go\bin\go.exe p1\a.exe
        1 file(s) copied.

C:\Users\russc\tmp>p1\a.exe
Go is a tool for managing Go source code.
...

C:\Users\russc\tmp>p1\a.bat
a1.bat

C:\Users\russc\tmp>p1\a
a1.bat

C:\Users\russc\tmp>set PATHEXT
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC

C:\Users\russc\tmp>p1\a.BAT
a1.bat

C:\Users\russc\tmp>p1\a.EXE
Go is a tool for managing Go source code.
...

C:\Users\russc\tmp>set PATH=C:\users\russc\tmp\p1

C:\Users\russc\tmp>a
a1.bat

C:\Users\russc\tmp>

Edit: I am running Windows 10 Home Insider Preview, Build 21301.rs_prerelease.210123-1645, on a Surface Pro X.

What makes you so certain this is arm64 only? Have you tried updating to the latest insider ring on amd64?

@jstarks says it repros on x64 as well. Will update the CL.

I can confirm that this is broken on x64 as well. We (Microsoft) are looking into it.

We've confirmed that this is an OS bug in prerelease versions of Windows. We'll fix this in an upcoming preview build. Thanks for the report, Russ.

@jstarks Thank you for fixing the bug and the update here.
@rsc Is there anything that needs to be done for Go 1.17 on Go's side, or is the fix in the OS sufficient? This issue can be updated to re-enable the failing LookPathTest that was skipped in CL 293709 (and possibly move it out of Go 1.17 milestone if it isn't expected to happen before the release).

I would think that trying to provide workarounds for prerelease OS builds is not going to be very productive. Microsoft is pretty good generally about trying not to break things in major releases, and users of prerelease accept that some things might not work very well. 21301 is quite old at this point too (though I'm not sure in which version it was fixed).


Change URL from http://groovy.codehaus.org to http://www.groovy-lang.org

The documentation is not hosted at codehaus anymore.

Hey @achimgrimm-neulandbfi  - thanks for the pull request.
It seems most of the links were updated in addition to the domain name. For example -
http://groovy.codehaus.org/Strings+and+GString#StringsandGString-GStrings was actually updated to http://docs.groovy-lang.org/latest/html/documentation/index.html#all-strings
Could you please update the pull request to include the new URLs as well?

Hi @nadavc,
I changed the URL to the new pattern. On some URL I had to find new links that match the content.


Remark ArtifactTransformCachingIntegrationTest as flaky

@bot-gradle test and merge

No milestone for this PR. Please set a milestone and retry.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.


[bug] Transforms get messed up on window focus/blur

I started using this package for implementing parallax effects in our website and it looks simple yet powerful.
Unfortunately, I came across transformation issues when I navigated between browser tabs or made window get/lose focus in any way.
In my case, every time window loses focus my translate transformation changes position if I have scrolled prior to it. I have created a code pen sample to demonstrate: https://codepen.io/catchabus/pen/WNabdwp
The following screenshots show how I reproduce the problem using devtools to make window get/lose focus.
Here is how my sample looks after a mere scrolling:

Now, click inside rendered content and then click on devtools. The result will be this:

Please notice the scroll bar, it's still in the same height.
If you scroll to another position below or above center and repeat the steps, the problem will occur over and over.
Note: This isn't a devtools-specific problem. In the sample you can click on content without devtools and reproduce it since iframe is not focused when page loads. Also on a live website, it can occur on browser tab change.
I did my research on sources and found it library uses listeners to update its cache.
https://github.com/jscottsmith/parallax-controller/blob/master/src/classes/ParallaxController.ts#L127
I managed to get rid of the problem in my website by commenting out a couple of scroll x/y additions.
https://github.com/jscottsmith/parallax-controller/blob/master/src/helpers/createLimitsWithTranslationsForRelativeElements.ts#L82
https://github.com/jscottsmith/parallax-controller/blob/master/src/helpers/createLimitsWithTranslationsForRelativeElements.ts#L138
Everywhere that scroll.y or scroll.x is added, there is a malformed result.

Ya a lot of values are cached when the controller is created and are then updated based upon certain events that may or may not have caused the layout to change (such as a window resize). In this case a focus event updates the controller to the most current values, and I assume, the correct ones.
In the CodePen it looks like the values that are used when the controller is created change after. This could be because of the iframe and various Codepen UI. When I view the pen in the debug mode (without all Codepen UI) it seems to have the expected behavior which is it uses correct values on load and does not shift on a focus event.
It sounds like the main issue you are having is the values that are being cached are incorrect and a focus event is updating them which seems jarring. If that's the case we need to figure out why the values are wrong. This could be caused by a whole number of things since layout changes often as the page loads.
If you send a test link I'm happy to take a look at your specific use case.

Ya a lot of values are cached when the controller is created and are then updated based upon certain events that may or may not have caused the layout to change (such as a window resize). In this case a focus event updates the controller to the most current values, and I assume, the correct ones.
In the CodePen it looks like the values that are used when the controller is created change after. This could be because of the iframe and various Codepen UI. When I view the pen in the debug mode (without all Codepen UI) it seems to have the expected behavior which is it uses correct values on load and does not shift on a focus event.
It sounds like the main issue you are having is the values that are being cached are incorrect and a focus event is updating them which seems jarring. If that's the case we need to figure out why the values are wrong. This could be caused by a whole number of things since layout changes often as the page loads.
If you send a test link I'm happy to take a look at your specific use case.

Thanks for the quick response. My website is not live but I managed to update my sample to make issue reproducible even in debug mode: https://codepen.io/catchabus/pen/WNabdwp
In the new sample, it's still about red layer's miscalculated translate point.
You can reproduce it with browser tab change too.
Before blur

After blur

Ahh, I see your issue now: you are using fixed positioning.
The way this lib works is by tracking an element's progress through the view as you scroll, but when you use fixed positioning the element is removed from the scrolling context so this causes issues.
The best way around this is to use a targetElement to determine the progress of the animation.
I mocked up an example similar to yours using a target element: https://codepen.io/jscottsmith/pen/rNqeWMd
Hope that clarifies things.

Ahh, I see your issue now: you are using fixed positioning.
The way this lib works is by tracking an element's progress through the view as you scroll, but when you use fixed positioning the element is removed from the scrolling context so this causes issues.
The best way around this is to use a targetElement to determine the progress of the animation.
I mocked up an example similar to yours using a target element: https://codepen.io/jscottsmith/pen/rNqeWMd
Hope that clarifies things.

Oh I see, thanks for the details!
Maybe lib could display a warning for fixed elements that don't use targetElement. This would discourage people from following the same principle.

Yes absolutely, I will create an issue to update the docs. Thanks for the feedback.


Release v1.5

You've got 4 months of hotness built up and we want to use it!
Doesn't appear to be any breaking changes, I could be wrong about that.

Agreed =). The last change I want to put in is the expiration date (which is almost done). Hopefully I will release it at the end of the week.

Ok, great!

@nabla-c0d3 How's it going? Look good to release tomorrow?
Sorry to be a pest. I have a SDK that requires the next release as a dependency via Cocoapods. It's literally impossible to point an SDK transitive dependency at a specific commit, so I have a growing list of apps here with hacky local overrides in their Podfile, like this:
  # Override the TrustKit version in Pincushion because DataTheorem has not released
  # 1.5 yet (and XXX certs require 1.5). Once it is released, we can remove this
  # override entirely and rely on the transitive dependency in XXX.
  pod 'TrustKit', :git => 'git@github.com:datatheorem/TrustKit.git', :commit => 'master'

I'm writing the tests now - if it's not done today it will be on Monday.

Actually it's released now (as 1.4.1).

Awesome thank you


Drive the MLIR lowering through xDSL.

Drive MLIR pipeline through xDSL to prepare for more back and forth.
Tested working and correct for GPU locally.

flake8

:heavy_check_mark:


"AttributeError: 'int' object has no attribute 'dtype'" when using clipnorm option and TensorFlow backend

I ran into the above problem while fitting a model which was compiled to use an optimizer that uses clipnorm for gradient clipping. The problem only occurs when using TensorFlow.
Here's the traceback:

Traceback (most recent call last):
File "clipnorm_issue.py", line 21, in
m.fit(x,y)
File "/home/..../keras/engine/training.py", line 1008, in fit
self._make_train_function()
File "/home/..../keras/engine/training.py", line 497, in _make_train_function
loss=self.total_loss)
File "/home/..../keras/legacy/interfaces.py", line 91, in wrapper
return func(*args, **kwargs)
File "/home/..../keras/optimizers.py", line 367, in get_updates
grads = self.get_gradients(loss, params)
File "/home/..../keras/optimizers.py", line 86, in get_gradients
norm = K.sqrt(sum([K.sum(K.square(g)) for g in grads]))
File "/home/..../keras/backend/tensorflow_backend.py", line 1473, in sqrt
zero = _to_tensor(0., x.dtype.base_dtype)
AttributeError: 'int' object has no attribute 'dtype'

And here's a snippet to reproduce the problem:
import os
os.environ['KERAS_BACKEND'] = 'tensorflow'

from keras.models import Sequential
from keras.layers import Lambda
from keras.optimizers import Adadelta
import numpy as np

m = Sequential()
# Training such a network does not make sense of course,
# but this causes the error immediately.
m.add(Lambda(lambda x : x, input_shape=[1]))

# Clipnorm enabled.
m.compile(optimizer=Adadelta(clipnorm=1.), loss='mse', metrics=['acc'])

x = np.random.rand(100)
y = np.random.rand(100)

# Calling fit leads to an exception being raised.
m.fit(x,y)

[x] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/keras-team/keras.git --upgrade --no-deps

[x] If running on TensorFlow, check that you are up-to-date with the latest version. The installation instructions can be found here.

[x] If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps

[x] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).

Hi Marcel,
I got the same problem. Did you find a solution?

Hi Matteo, unfortunately no. I didn't really pursue that any further after creating this issue, since using clipnorm fortunately wasn't essential for my undertaking. Sorry to hear that this is still a problem a year later.

I have the same issue too. It seems related to clipnorm.

Ok it turned out that I made a mistake in my graph. I was feeding the input at the beginning and also lower in the graph. So it was my mistake, although I agree that the error could be more explicit.


Cannot use i2c1 and i2c2 at the same time (IDFGH-12246)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
master
Espressif SoC revision.
ESP32-S3
Operating System used.
Windows
How did you build your project?
CLion IDE
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32-S3-WROOM-1
Power Supply used.
USB
What is the expected behavior?
I want to use i2c to communicate with other devices,
What is the actual behavior?
I find I cannot install two i2c drivers at the same time .  It means that when I config and install both i2c0 and i2c1 ,  my freertos task cannot run .
My project also use TCP, WIFI functions . When I delete one of the i2c ,the task can run normally .
Steps to reproduce.

Step

Step

Step  build the i2c task ,which is to read the device
...

Debug Logs.
No response
More Information.
I cannot install uart1 and uart2 , too. I think this may be for the same reason .   However, I can use uart1 and uart2 at the same time when I use idf5.0 . When I changed idf to master ,the strange problem appears .

Currently I didn't reproduce this locally. Could you please 1. Provide a minimum reproduce code? 2 What about disable TCP/WIFI, only run with I2C1 and I2C2? Thanks!


Helper for interfaces/types structure

From @whitecolor on September 3, 2016 14:3
Here TS is able to detect which type of object is required, if I don't pass url property here it errors:

But how to get help on the current interface/type which fields there present/required/etc?
Copied from original issue: Microsoft/vscode#11495

@whitecolor, thank you for opening this issue.
I don't quite understand. Can you explain "But how to get help on the current interface/type which fields there present/required/etc?" by providing an example.

I apologize for the spam. Strange issue on my end with the comment button.

From @whitecolor on September 7, 2016 9:43
Ok I will make a simplier example
interface AB {
  a: number
  b: string
  c?: Object
}

function f(x: AB) {
  return x
}
...

/*
Now I want to call this f function
I don't know/remember what expected is type AB is what and properties does it expect
and unfortunately I don't get enough help from the editor on this topic
*/
f({ })

Here with pictures:
Ok now I know that it expects AB type, but what is AB type?

Ok then I type "a", wow, I guessed there is "a" property on the type an it is a number - great

I fill the "" and continue, nay, that doesn't help me much, again it tells me that type is AB, but I don't know that props are there esle there in the type "AB"

But there is an error I can mouse over on it and get that I'm lacking some "b"

That solves some thing, but what if there is some not required "c" property on AB interface, I will never know about it, editor won't tell me.
So what is needed that while filling object type one could see helper with all the props on the type, something like that:

Hope I was clear =)

From @whitecolor on September 7, 2016 15:49
It should be something like helper that we see in in tsconfig, when all options is shown:

And helper for each option:

From @whitecolor on September 21, 2016 11:5
Again about this feature request:

You see I'm need to fill the options, I see the type of options it expects (ForageDriverOptions) but have no clue what it is about. I think this is strange, maybe I'm doing something wrong?

Very interesting. Thank you for the thorough explanation. This seems like a valid feature request. Moving to TS.

This is the completion list you get from Ctrl-Space. Why is this in the TypeScript repo?

@RyanCavanaugh I apologize if this was inappropriate for the TypeScript repo.
The OP's issue is with the content of the parameter hint. In the image below, my cursor is inside the curly braces and I'm still being hinted to use type AB. for the function.

Is the display of the parameter hint on the VS Code side?

@RyanCavanaugh thanks nice to know, it works. But I found the problem with this:

Why does it proposing some exessive stuff besides props on the interface? (class, ctor, doWhile..)

More important issue, it doesn't work with overloaded functions, it alway tries to propose options for first definition:

interface AB {
  a: number
  b: string
  e?: Object
}
interface CD {
  c: number
  d: string
}
function f(x: AB) : void
function f(x: CD) : void
function f(x: any) {
}
f({     })

More important issue, it doesn't work with overloaded functions, it alway tries to propose options for first definition:

interface AB {
  a: number
  b: string
  e?: Object
}
interface CD {
  c: number
  d: string
}
function f(x: AB) : void
function f(x: CD) : void
function f(x: any) {
}
f({     })

The same thing for "overloaded" type definitions, like:

function f(x: AB | CD) : void

not sure but probably could be implemented to allow more convenient help on props then just intersection of the types alternatives:

I'm still being hinted to use type AB

That's the correct type. Many times this type will be far too large to display to the user in expanded form via a tooltip.
The additional "snippet" completions there are inserted by VS Code. I'm not sure if we have the ability from the TS language side to turn those off at specific locations vs others?

You can turn off snippets with this setting.
"editor.snippetSuggestions": "none"

@RyanCavanaugh thank you for the clarification.


Supported File Formats

Good day. The Readme states that only the .gltf format is currently supported. I have tried uploading .fbx and .obj files and they also work correctly. Do you plan to disable support for other formats other than .gltf in the future?

For import almost all assimp formats are supported, and will be in the future. The limitation is about the format you can get the result after conversion. For that only glTF and JSON is supported at the moment.

Good afternoon. Regarding the storage of information about the structure of materials.
Are there any plans in the future to bring this structure to a common one? For example, I want to get a PR from an fbx file, for this I will have to use existing formulas to deduce the missing properties, i.e.: metalic, roughness, etc. It would be nice to be able to get these properties immediately at the output of assimp.

Hey, assimpjs is just an interface for assimp, it can only show you the format assimp provides the model in.

As far as I know assimp doesn't fully support step file import. It's somehow part of the ifc import, but the details is not very clear to me, and ifc is turned off in assimpjs since it increases the wasm size a lot.
For a fully functional step and iges importer I recommend you to take a look at occt-import-js: https://github.com/kovacsv/occt-import-js

Thanks for your response and the suggestion of using the occt-import-js. I actually already tried it and its STEP-importer works well in my web-application. However for larger files it takes a decent amount of time even with minimized deflection properties. I was therefore hoping for a faster solution. However, it's good to know that assimp doesn't fully support the import of STEP-files and that IFC is turned off in assimpjs.
I appreciate your insights and if you happen to have further information or resources that could help me speed up the STEP-importer, I would be really grateful for your input.

You can comment out this line and rebuild the package to try out IFC importer:
https://github.com/kovacsv/assimpjs/blob/d626c429a46689880b9cccae97e9b0a11d472ada/CMakeLists.txt#L40
I don't have any information about the quality of it for step files, but maybe it's worth asking the assimp developers.

Unfortunately, commenting out this line did not fix the importer. However, I noticed that the size of the wasm file only increased by about 1MB, bringing the total size to 5.6MB. This seems unusual because you mentioned a "dramatic decrease" in the file size. I'm not certain if this is the expected result.

Maybe my memory failed me, I remembered the change as dramatic. 🙂

Thanks for letting me know. I'll continue exploring other potential solutions and if I find a fix, I'll be sure to share it with you.


fix: 避免backup list未能正常显示rds信息

这个 PR 实现什么功能/修复什么问题:
避免backup list未能正常显示rds信息
是否需要 backport 到之前的 release 分支:

release/3.2

/area region
/cc @zexi

Codecov Report

Merging #6379 into master will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master    #6379   +/-   ##
=======================================
  Coverage    7.13%    7.13%
=======================================
  Files         646      646
  Lines      108451   108451
=======================================
  Hits         7740     7740
  Misses     100114   100114
  Partials      597      597

Flag
Coverage Δ

#aFlag
7.13% <0.00%> (ø)

Impacted Files
Coverage Δ

pkg/compute/models/dbinstanceresource.go
0.00% <0.00%> (ø)

pkg/cloudcommon/validators/validators_cert.go
39.77% <0.00%> (ø)

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 86fbbf5...d82cf41. Read the comment docs.


Add allowUnknownOption to commander

Coverage remained the same at 98.875% when pulling 3ef9f836defd07d9eaec73e148c97bf46818da54 on bugfix/commander into 544fc4ce2cdb76da916daf63f0aa53a1a1383d6e on master.


Call stack of the debugger is too narrow when debugging C++

VSCode 1.37.1
When I hit breakpoints debugging a C++ application, the call stack view of the debugger is way too small to fit lines of that length. It forces me to resize the panel to an absurd width to see information:

I was using QtCreator before and it showed the call stack at the bottom too just fine.
Could there be a way to move the call stack to a bottom panel, where there is more horizontal space to fit the stack?
Note: I guess the debugger GUI is not specifically related to the cpptools extension, but if it is I'll move the issue.

For moving the call stack view to the panel it is a duplicate of
https://github.com/microsoft/vscode/issues/41686
and https://github.com/microsoft/vscode/issues/50853 which will give us more flexible layout.
As for the content of the callstack view please file that against the C++ extension so hey potentially trim the content on their end. Thanks


Fix type annotations in ApplicationModule class

Hi!
First of all, I wanted to say that's a great job you've done. The framework is awesome!
There were two problems related to ApplicationModule which my linter was annoyingly complaining about.
First, internal mapping of handlers (ApplicationModule._handlers) were annotated to have a type str as a key, while it's actully possible to use both str and type[Message] (HandlerAlias).
Second, the linter couldn't understand that the return type of ApplicationModule.handler method is always a callable, so I added a return type annotation.

Hi @artemyfmv
PR looks good, thank you for contributing!


Delete measurement remains red small rectangles

Describe the bug 📝
Hi
I use different measurements . When I use deleteall or delete for removing measurements It has some problem.
a red rectangle that was used for snapping to corners remains in the scene.

Reproduction ▶
No response
Steps to reproduce 🔢
....
System Info 💻
...

Used Package Manager 📦
npm
Error Trace/Logs 📃
...
Validations ✅

[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a repository issue and not a framework-specific issue. For example, if it's a THREE.js related bug, it should likely be reported to mrdoob/threejs instead.
[X] Check that this is a concrete bug. For Q&A join our Community.
[X] The provided reproduction is a minimal reproducible example of the bug.

Fixed from 2.1.1. If not, feel free to comment a minimal reproducible example that we can use to see remaining issues. Cheers!
https://github.com/ThatOpen/engine_components/assets/56475338/653e3212-94ec-4b51-a182-87c6afd72c8e


Add exception handling

Add exception handling something like this.
Bhai karke dekh
Locha hove to
Akhir me

Add on errror something like "Bhai kuch locha hua hai"

No current plans to add this feature in this language as this will lead to more complexities in this toy language.


Is this project still alive?

Hello,
I like OfficeUI and want to use it in my WebApp, but the last update is 3 month ago.
I have a lot of feature-request and will be happy when you can help me:

make the "File"-Tab working (like 1)
add a search-box to top-right (like 3)
add some "QuickButtons" to top-left (like 2)
make it minimize-able (like 2)
Tooltips (like 1)
Hover-effect when button pressed (like 1)
....

(1) http://okgodoit.com/ribbon/
(2) http://acidjs.wemakesites.net/pages/ribbon-bar-xml/demo/#client-api
(3) add between

<input value="search">

Thank you
Olli

Hi Kevin,
happy new year!!
Any updates / news?

Hello,
Also for you a very happy new year.
The best wishes and everything you would like for the new year.
I'm still working on the Ribbon, so I'm affraid that you can only be patient on it.
What I propose is that you create detailed issues which are feature requests. I will then implement the requested things when I feel that they fit into the project.
Keep in mind that when you create issues, that I would like to have 1 single feature request per issue and not grouped into a single issue.
Kind regards


Not possible to remove unavailable appointments/notes

Try removing an unavailable appointment or note.  It says action failed. Check internet connection. This bug might be introduced after confirmation message.

it is causing some error on webapi - so it is not related  with confirmation message

confirmed, it is issue on webapi, closing this and will fix it on back-end

Bartosz, details on what was the problem exactly?

while removing appointment, we were trying to remove SmsStatus object - which is null


What is the unification algorithm lacking in order to handle application of a meta?

https://github.com/AndrasKovacs/elaboration-zoo/blob/91e39dc712b4e47ade228d0a51c86dd506263f78/03-holes/Main.hs#L477
Could you expand a little on this comment? What is the unificiation algorithm lacking in order to handle this situation with a dependent function type? I've seen the paper "A tutorial implementation of dynamic pattern unification" which is about "dynamic" pattern unification, I think that means that constraints can be postponed. Would that algorithm be able to handle it?
Also freshPi seems to create a dependent function type? So this comment is incorrect?
On a related note, can the term \f x. f x be solved (with unsolved metas)? What happens in my implementation is that f will get a fresh meta ?0, this meta is then applied to x, which will try to refine ?0 to a pi type. But the new metas that are created for the pi type can depend on f and x and so ?0 can not be unified with this new pi type. I believe your implementation also has this problem?

Comments appear to be outdated, I removed them. It's still a bit doubtful that we can do much by trying to unify with a fresh dependent pi, but I removed the comment anyway.

I think that means that constraints can be postponed. Would that algorithm be able to handle it?

The key here is not postponing (although it is a nice improvement in general) but pruning. We try to unify with a fresh pi, but if we later learn that it should be actually a non-dependent function, then pruning lets us remove unnecessary dependence from the codomain meta. Without pruning, refining a fresh pi to a non-dependent function usually fails.

Aah I see, makes sense.
I think the way you do it now is incorrect, because the freshPi creates metas in the current typing environment while it should do it in the same environment as the original meta. Or else you get scoping errors. Am I correct?

The way it is implemented now is technically correct, but again the lack of pruning means that we trip up  on extra bound var dependencies.
I think we could optimize this by applying the fresh domain meta to the spine of the original meta, and the fresh codomain meta to that spine extended with an extra var. I'm not 100% sure that this is correct, probably it is.

The way it is implemented now is technically correct, but again the lack of pruning means that we trip up on extra bound var dependencies.

I don't see how it could be correct, for example:
\x f. f x
Here first x will get a fresh meta ?0, then later this meta will be refined to (x: ?1 f) -> ?2 f x, now f has escaped its scope. Please correct me if I'm wrong.

I think we could optimize this by applying the fresh domain meta to the spine of the original meta, and the fresh codomain meta to that spine extended with an extra var. I'm not 100% sure that this is correct, probably it is.

I think this is the way to do it correctly, I have implemented this and it seems to work correctly.

The way it is implemented now is technically correct, but again the lack of pruning means that we trip up on extra bound var dependencies.

What about the term \f x. f x. First f will have type ?0 then after x is in scope it will be refined to (y: ?2 x) -> ?3 x y. x has escaped its scope at this point, since f should not have access to it, but it has in its type now.

I think we could optimize this by applying the fresh domain meta to the spine of the original meta, and the fresh codomain meta to that spine extended with an extra var. I'm not 100% sure that this is correct, probably it is.

It seems to me this is the correct way to do it. I have implemented it this way and it seems to work well enough.

What about the term \f x. f x. First f will have type ?0 then after x is in scope it will be refined to (y: ?2 x) -> ?3 x y. x has escaped its scope at this point, since f should not have access to it, but it has in its type now.

Scope escape is not possible, because (y: ?2 x) -> ?3 x y would be all ill-scoped solution to ?0, as it depends on x but ?0 can't depend on it. Pruning would remove the x dependency from ?2 and ?3.

It seems to me this is the correct way to do it. I have implemented it this way and it seems to work well enough.

I think that the current solution + pruning would be more general, but your version simpler and definitely works better without pruning. You can change it to your version in this repo if you'd like to.

Aah right thanks. I misunderstood you. I noticed \f x. f x failed to typecheck and called it incorrect, but it's actually correct, it just won't typecheck.


Change HResult return to int

On x86 Linux the HResult struct is not handled the same way as an int.  Make all calls respect this.

@mikem8361 FYI, this is the change I made for ClrMD to stop using HResult directly.  I still use HResult as my own internal returns and I assign the int I get from APIs to HResult.  This work went pretty quick.  I just Quick Action -> Introduce Local, named the local "hr" then changed the type to HResult.
@t-mustafin This is the other half of the Linux x86 work.

You filed https://github.com/dotnet/diagnostics/issues/3101 to track this in the diagnostics repo. Hopefully we can find time to do this in the next couple of weeks.

No rush on my account, this is just an FYI.  I'm asking t-mustafin to test the ClrMD part of this work this week so if there's still more problems you will get a heads up before you start the SOS work.


Reset type narrowing for all assignments to a variable of a narrowed type

Purpose
$title. Narrowing was previously not reset on assignment if the type of the RHS is a subtype of the narrowed type.
Fixes https://github.com/ballerina-platform/ballerina-lang/issues/32079
This PR also introduces changes to create type definitions (for types that require type definitions) for new types created as a result of a type guard.
Fixes https://github.com/ballerina-platform/ballerina-lang/issues/32063
Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[x] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Marking as WIP since this change needs to be communicated before merging the PR. The PR can be reviewed though.


Refactor FormField

[ ] Add useMemo
[ ] Remove unnecessary ternary expression

https://github.com/morewings/koval-ui/blob/87e7ce76c62e8b7bc210db43637391ef15b726f2/src/lib/FormField/FormField.tsx#L28

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[release-v1.73] gardener-apiserver: Do not validate Shoot networks for a DELETE request

How to categorize this PR?

/area quality
/kind bug
What this PR does / why we need it:
Manual cherry-pick of #8129
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

An issue causing deletion of a legacy (wrongly configured) Shoot cluster to be denied because of network ranges overlapping with the default VPN network is now fixed.

/approve


This package is too awesome

It's making all the other packages on NPM look bad

Thanks :beers:

Hola @mattbrunetti!
Do you want to become a collaborator of this project? :) https://github.com/limonte/sweetalert2/issues/130

@limonte I'd be honored. Just complicated that my collaboration so far has been at work, and management probably wouldn't approve of me getting too involved on their dime.
But I may have some free personal time this weekend for #485 part B, and I can't help but always check what's going on here :)
So yeah, I'd love to be a collaborator, but going forward I should use my personal Github account @zenflow (yeah, kinda lame I have to have two Github accounts)
:beers:

Welcome, @zenflow :)

Just complicated that my collaboration so far has been at work, and management probably wouldn't approve of me getting too involved on their dime.

Companies don't own us. Work doesn't own us. Management doesn't own us. It is important as free-thinking beings that we don't feel constantly trapped and indebted to work all the time.


[SPARK-9178][SQL] Add an empty string constant to UTF8String

Jira: https://issues.apache.org/jira/browse/SPARK-9178
In order to avoid calls of UTF8String.fromString("") this pr adds an EMPTY_STRING constant to UTF8String. An UTF8String is immutable, so we can use a constant, isn't it?
I searched for current usage of UTF8String.fromString("") with
grep -R  "UTF8String.fromString(\"\")" .

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Jenkins, ok to test.

@rxin Jenkins doesn't like me

Jenkins, test this please.

Merged build triggered.

Merged build started.

Test build #37783 has started for   PR 7509 at commit 4a37344.

Oh, code conflict, actually we'd better let this PR merge asap. as some of my PR will depends on this.

@chenghao-intel do you want to roll this pr directly into yours? Might be easier that way.

@rxin Shall I add final and do a rebase?

@tarekauel please do it, I can rebase/update the code once yours merged.

Test build #37783 has finished for   PR 7509 at commit 4a37344.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Would be someone so nice and ask Jenkins if he could test again ?

Can you try "retest this please"?

retest this please

@chenghao-intel I am not on the whitelist. So I guess Jenkins ignores me.

Jenkins, retest this please.

Jenkins, retest this please.

Test build #1115 has started for   PR 7509 at commit 3f5fbf5.

Merged build triggered.

Merged build started.

Test build #37797 has started for   PR 7509 at commit 3f5fbf5.

Test build #37797 has finished for   PR 7509 at commit 3f5fbf5.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class IllegalArgumentException(Exception):
case class DayOfYear(child: Expression) extends UnaryExpression with ImplicitCastInputTypes
case class DayOfMonth(child: Expression) extends UnaryExpression with ImplicitCastInputTypes
case class ConcatWs(children: Seq[Expression])

Merged build finished. Test FAILed.

There is a failure
[error] Test org.apache.spark.unsafe.types.UTF8StringSuite.concatTest failed: java.lang.NullPointerException: null
[error]     at org.apache.spark.unsafe.types.UTF8String.concat(UTF8String.java:407)
[error]     at org.apache.spark.unsafe.types.UTF8StringSuite.concatTest(UTF8StringSuite.java:100)
[error]     ...

Test build #1115 has finished for   PR 7509 at commit 3f5fbf5.

This patch fails Spark unit tests.
This patch does not merge cleanly.
This patch adds no public classes.

Test build #1121 has started for   PR 7509 at commit 3f5fbf5.

Test build #1121 has finished for   PR 7509 at commit 3f5fbf5.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

@rxin Could you restart this?
I don't understand what went wrong:
https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/1121/testReport/org.apache.spark.sql/DatetimeExpressionsSuite/

Jenkins, test this please.

Merged build triggered.

Merged build started.

Test build #37853 has started for   PR 7509 at commit 8d6c405.

Test build #37853 has finished for   PR 7509 at commit 8d6c405.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test build #1129 has started for   PR 7509 at commit 8d6c405.

Test build #1129 has finished for   PR 7509 at commit 8d6c405.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

I'm going to merge this since the test failure is not related to the change.


Better phrased iCloud error message

NetNewsWire will display an error message as follows:

Unable to add iCloud Account. Please make sure you have iCloud and iCloud enabled in System Preferences.

... even when you have iCloud account logged in and active in System Preferences.
I found out the hard way that what NetNewsWire actually requires is "iCloud Drive" enabled. So the better phrase would be:

Unable to add iCloud Account. Please make sure you have iCloud and iCloud Drive enabled in System Preferences.

@LPFchan This thread saved me a lot of time. thanks! 😄

Reopening because this needs additional verification.


PYGNMI commit replace is not replacing the running config .

Hi team ,
Observed that PYGNMI commit replace method is not replacing the running config of the node.
Replace operation  just replacing leaf config not the running config.
When the additional config is given config is applied successfully where as removing some of the config from the running config and applying the replace is not actually happening.
Thank you .

Hey @dnaiga
When you try to replace at a leaf level. It just updates the leaf value. But when you try to replace at a container level with leaf value then it will replace whole container config, and you will be left with only leaf value.
gnmiclient.set(prefix="openconfig-system://",replace=[("openconfig-system:system/config",{"hostname":"test"})])

The above one just replaces the leaf config
gnmiclient.set(prefix="openconfig-system://",replace=[("openconfig-system:system",{"config":{"hostname":"test",}})])

But the above statement replaces everything at node level to default values and sets the hostname to test

Thanks @sai1274 for examples and explanation.
@dnaiga  could you please test and confirm?

Hi Sai,
Thanks for your response, Yes the above config works for me . But i want to know more on , how can we replace the container with empty value so the config is removed from testbed.
As of now , though we don't send the any particular container in the json request (eg:openconfig-system:system), expecting the running config should be replaced with sent json request so that particular container (openconfig-system:system) which  is not present in the json request is replaced (removed) from testbed.
currently which  not happening , json request (openconfig-system:system) still remains on the testbed not removed .
Please let us know if anyway we can achieve it .
Thanks ,
Divya

Hey @dnaiga
So your saying that
gnmiclient.set(prefix="openconfig-system://",replace=[("openconfig-system:system",{})]) is not replacing the whole configuration right?
If it's not working in ur case instead of replaces you can delete the container config itself
gnmiclient.set(prefix="openconfig-system://",delete=["openconfig-system:system"])  something like this

@dnaiga gNMI replace operation is not the same as a commit replace operation. gNMI replace only replaces the configuration under the origin you have provided, not the whole running configuration.

Thank you Sai and AscendedEntity, got it clarified taht "gNMI replace operation is not the same as a commit replace operation."
Yes able to delete the config via delete operation !!.
Thanks ,
Divya