transition not ending in firefox

the code is at jsfiddle:  https://jsfiddle.net/efkn1njd/
chrome is ok, but firefox is not……but if i change the value show to false with setTimeout 0, it is ok ……
the use case is：before page loaded, show a loading gif, and hide the loading gif after page loaded ……

The same for me

ready is called synchronously. This is similar to adding .test-leave to the element synchronously on page load - the browser will optimize it and render the element directly with .test-leave without triggering any transition.
Using a setTimeout is a proper fix here (to give the browser time to render the initial state, so that adding the leave class can trigger transition).


Lifecycle issue with Workers Security Group

Lifecycle issue with Workers Security Group
Description
Upon deletion of the terraform-aws-eks module, the worker security group has a dependency on the creation of the EKS cluster and derives it's prefix and tags from the generated name of the resource.
This causes the aws provider to attempt to destroy the security group prior to EKS deletion. I cannot delete the security group as EKS has network interfaces deployed to it.
This name is already passed to the module as a variable, and can be referenced independently, thus allowing for the cluster to terminate prior to destroying the security group.
Thanks!
Checklist

[x] terraform fmt and terraform validate both work from the root and examples/* directories
[x] CI tests are passing
[x] I've added my change to CHANGELOG.md and highlighted any breaking changes
[x] README.md has been updated after any changes to variables and outputs. See https://github.com/terraform-aws-modules/terraform-aws-eks/#doc-generation

@Smuggla are you still working on this ? If yes, can you please rebase your branch and fix fmt issues.

Closing due to inactivity


Big Run Schedules don't show

I don't know if this is intended but the Big Run schedule that starts tomorrow doesn't show up in the schedules.json file and is completely skipped.

it's under bigRunSchedules, not regularSchedules

FYI there's also a new teamContestSchedules which I believe will be used for Eggstra Credit in the future.
Don't ask me why Nintendo chose to organize the data this way 😄

Thank you!

No, it's under https://splatoon3.ink/data/schedules.json


clustermesh-apiserver: extract external workloads in a separate cell

Refactor the initialization of the external workloads logic into a separate cell. A few of the existing parameters are dropped, as they were never explicitly configured, and more in detail:

--identity-allocation-mode: the clustermesh-apiserver is expected to be used only when Cilium is configured in CRD mode, while kvstore mode is not supported; the same also applies to the current implementation of external workloads;
--allocator-list-timeout: it has been hard-coded to the default value for the sake of simplicity;
--enable-well-known-identities: not applicable to the external workloads from the clustermesh-apiserver perspective, and thus not necessary.

For https://github.com/cilium/cilium/pull/27888.

/test

(Awaiting unresolved conversation before merging)

@joestringer my question is resolved


Deprecate turnip as gherkin is still in a terrible place on Windows.

Need to find out if this is still an issue.


Cannot see which account is selected on the 'Select Account & Tenant' dialog

Storage Explorer Version: 1.33.0-dev (96)
Build Number: 20231209.3
Branch: main
Platform/OS: Windows 10/Linux Ubuntu 22.04/MacOS Sonoma 14.1.2 (Apple M1 Pro)
Architecture: x64/x64/x64
How Found: From running test cases
Regression From: Previous release (1.32.1)
Bug Descriptions
For 'Open Service by Name/Move Messages/Open Direct Link (Select Account)/Manage Custom Environments' dialog, cannot see one option is selected or not.
Steps to Reproduce

Launch Storage Explorer.
Open connect dialog -> Click 'Blob Container or directory'.
Select 'Sign in using OAuth' -> Click 'Next'.
Select one account.
Check whether we can see which account is selected

Expected Experience
We can see which account is selected.

Actual Experience
Can't see which account is selected.

Verified this issue on the main build 20231212.6. Fixed. So, we are going to close it.


Support default serviceAccount

Hello,
We are using AWS ECR from non AWS cluster, by historical reasons it is made by patching default service account.
This PR is addresses such setups.
By the way, thanks for the app.

I'll merge https://github.com/deckhouse/k8s-image-availability-exporter/pull/48 to master today. It has linter fixes, I'll rebase your branch by myself and merge it soon.

@kantipov
Force pushes are rejected. Please, rebase this PR on the actual master.


R200 Settings to Work Outdoors

Required Info

Camera Model
R200

Firmware Version
<IP_ADDRESS>

Operating System & Version
Linux Ubuntu 14.04 LTS

Kernel Version (Linux Only)
4.2.0

Build System
Makefile

Hi,
I was able to get my R200 Realsense camera to work, but I noticed that the depth camera does not work well outdoors. However, I tested the R200 realsense with the deprecated Ros Realsense package (https://github.com/PercATI/RealSense_ROS) which is not recommended, and the depth worked very well outdoors in sunlight. Why is this and how might I be able to change the configurations on librealsense to capture correct outdoors depth data?
Thanks.

High-level wrappers like ROS packages tend to pre-configure a lot of settings. As you've noted, R200 works fine outdoors with the right settings. With the cpp-config-ui example in librealsense, I suggest playing with turning IR autoexposure on/off, and also playing with the gain and exposure settings while it is off.

Hi ddiakopoulos, I will try playing with those settings and will let you know. Thanks!

@gabrielarpino any closure on your issue?

Hi @ddiakopoulos,
Yes, I found ideal settings for Realsense to be used outdoors with librealsense. I will post the configurations shortly so that other people can get their Realsense working outdoors.

Hi @gabrielarpino
I find r200 depth data will be lost if the object is black, maybe your configure data can work.  Thanks if you can share your data ,

Hi @liyuming1978 ,
Here is my text file with the optimal parameters for outdoor realsense usage. You can either save this text into a text file and run rosparam load before running r200_nodelet_rgbd.launch if you're using this, or manually change the configurations based on what is written:
camera:
base_frame_id: camera_link
camera: {base_frame_id: camera_link, color_backlight_compensation: 0, color_brightness: 62,
color_contrast: 38, color_enable_auto_white_balance: 0, color_fps: 30, color_frame_id: camera_rgb_frame,
color_gain: 88, color_gamma: 180, color_height: 480, color_hue: -1018, color_optical_frame_id: camera_rgb_optical_frame,
color_saturation: 87, color_sharpness: 7, color_white_balance: 2987, color_width: 640,
depth_fps: 30, depth_frame_id: camera_depth_frame, depth_height: 360, depth_optical_frame_id: camera_depth_optical_frame,
depth_width: 480, enable_color: true, enable_depth: true, enable_pointcloud: true,
enable_tf: true, ir2_frame_id: camera_ir2_frame, ir_frame_id: camera_ir_frame,
mode: manual, r200_auto_exposure_bottom_edge: 239, r200_auto_exposure_left_edge: 0,
r200_auto_exposure_right_edge: 319, r200_auto_exposure_top_edge: 0, r200_emitter_enabled: 1,
r200_lr_auto_exposure_enabled: 1, r200_lr_exposure: 7, r200_lr_gain: 100, serial_no: '',
usb_port_id: ''}
camera_nodelet_manager: {num_worker_threads: 4}
color:
image_raw:
compressed: {format: jpeg, jpeg_quality: 80, png_level: 9}
compressedDepth: {depth_max: 10.0, depth_quantization: 100.0, png_level: 9}
theora: {keyframe_frequency: 64, optimize_for: 1, quality: 31, target_bitrate: 800000}
color_backlight_compensation: 0
color_brightness: 62
color_contrast: 38
color_enable_auto_white_balance: 0
color_gain: 88
color_gamma: 180
color_hue: -1018
color_optical_frame_id: camera_rgb_optical_frame
color_saturation: 87
color_sharpness: 7
color_white_balance: 2987
r200_auto_exposure_bottom_edge: 239
r200_auto_exposure_left_edge: 0
r200_auto_exposure_right_edge: 319
r200_auto_exposure_top_edge: 0
r200_emitter_enabled: 1
r200_lr_auto_exposure_enabled: 1
r200_lr_exposure: 7
r200_lr_gain: 100

Closing this out to clean up the issue queue. Thanks for your work in documenting the correct settings! Ping @mdhorn who might want to add this as convenient documentation to the ROS wrapper.

Sounds good, thanks!

I captured a story to generate a sample launch file using these settings in our backlog.

@ddiakopoulos
Hi, I'm a user of intel realsense R200.
Thanks for your answering, I can set the realsense parameters by running "cpp-config-ui.cpp".
But, parameter settings just are valid only when "cpp-config-ui.cpp" 's GUI. So I cannot use the set parameters on my own c++ code applications .
I analysed the source code of the "cpp-config-ui.cpp", but I cannot find the way to set realsense params on my code.
Could you tell me the way to use the parameter settings on my code? or I have to make cmake file on some specific way?
Thanks.
ps. I use the Linux 14.04 LTS .


Into Kube!

This is the material for vnf-asterisk in Kubernetes.
As this doesn't impact the rest of the codebase (it's all in a ./k8s folder) I'm likely going to merge this right away as there's also some links from my newly publish blog article to this repo.

Good work. Congrats!
2017/06/02 22:10 "Doug Smith"<EMAIL_ADDRESS>
Merged #44 https://github.com/redhat-nfvpe/vnf-asterisk/pull/44.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/redhat-nfvpe/vnf-asterisk/pull/44#event-1107772047,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAI06GAoWkIX3TrmHxLD4lVB9n9k6HAKks5sAAmugaJpZM4NuQuS
.

@s1061123 -- thank you Tomo! Also in the readme, but I detailed out some steps on spinning it up in this blog article too: http://dougbtv.com/nfvpe/2017/05/30/vnf-asterisk-kubernetes/


Version module

Environment is Wampserver latest on Windows 2016 Server
Install Cockpit but it returns an error. After bug hunting, it appears that the versions module is not installed, by default, in latest Wampserver. Enabling the Module removes the problem - which is of course the first lines in .htaccess.
Suggest adding mod_versions inside brackets on your Requirements page within Cockpit Documentation.

will do, thanks for the hint!


fix(versions): update Activiti/example-runtime-bundle versions into master

UpdateBot pushed maven dependency: org.activiti.cloud.rb:activiti-cloud-runtime-bundle-dependencies to: 7.1.162

UpdateBot commands:
updatebot push-version --kind maven org.activiti.cloud.rb:activiti-cloud-runtime-bundle-dependencies 7.1.162


Composer Base table or view not found

Hello,
When i do a clean install with Cachet and run the command php composer.phar install --no-dev -o I got the following error:
{"error":{"type":"Illuminate\\Database\\QueryException","message":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'cachet.settings' doesn't exist (SQL: select * from `settings`)","file":"\/usr\/share\/nginx\/html\/status\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Connection.php","line":625}}{"error":{"type":"Illuminate\\Database\\QueryException","message":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'cachet.settings' doesn't exist (SQL: select * from `settings`)","file":"\/usr\/share\/nginx\/html\/status\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Connection.php","line":625}}

Any idear on how to resolve this? I saw a issue before but that didn't solve it.
Btw.
I like the project, keep up the great work!

You need to run php artisan migrate to get the tables created. Before that though you'll want to set your environment settings.
See the install docs.
Thanks for your kind words :)

I can't run php artisan migrate because i can't run composer install.. :)
I fllowed your docs step by step. Have create a .env.local.php with the correct settings. The $ENV is empty.

Hah, whoops. I misread your issue.

okay i will see if i can do some debugging myself. Never had this before?

I think I know why. One second.

All fixed for :smile:

Im sorry but that still dind't fix it. :(

You'll need to run composer update too. I had to fix Laravel Segment.

okay will try that :)

Nope sorry that still didn't fix it :(

What error are you getting now?

{"error":{"type":"Illuminate\\Database\\QueryException","message":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'cachet.settings' doesn't exist (SQL: select * from `settings`)","file":"\/usr\/share\/nginx\/html\/status\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Connection.php","line":625}}{"error":{"type":"Illuminate\\Database\\QueryException","message":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'cachet.settings' doesn't exist (SQL: select * from `settings`)","file":"\/usr\/share\/nginx\/html\/status\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Connection.php","line":625}}

Urgh, I forgot to commit a file.

Okay :)

Pull down again :)

okay ^.^

That did the trick :) need to give my vm a 1GB Ram to do the composer update but it worked THX. I think i will see if i can contribute to your project asswell :)

Try adding swap to it.


Alteranative name for validation

Set an alteranative name for the model validation. Usefull when have more than one model with the same validations config

It is possible to do with resolve { name: type }

Not sure, this feature wasn't actually added by me. Let me know if you need a PR or anything to help with your particular situation


Broken links on site

I would like to download dgidb data from the site, but all of the website links are currently broken. It would be fantastic if someone could fix this.

Hello @ChrisSteel-bio! Thank you for submitting this issue.
We are currently working on diagnosing this. We hope to have a fix soon. In the meantime, the TSVs available from the download page are also available from: https://old.dgidb.org/downloads

Hi @mcannon068nw thanks for your quick reply. I checked, and the tsvs from https://old.dgidb.org/downloads aren't up to date. I.e. certain genes give me hits in the new database, yet are completely absent from the tsv download from the old site. "RPS3A" as an example.

A fix for this is in progress. In the meantime, we will host TSVs containing data from the most recent release here:
dec-2023-categories.csv
dec-2023-drugs.csv
dec-2023-genes.csv
dec-2023-interactions.csv

broken downloads data (TSVs, SQL) fixed by #462 and #463


refresh 404.

https://bewater.leeduckgo.com/contract-interactor, directly visit it will return 404.

try this.
https://www.coderrocketfuel.com/article/fix-404-error-when-using-react-rouder-dom-and-nginx

try this. https://www.coderrocketfuel.com/article/fix-404-error-when-using-react-rouder-dom-and-nginx

thx a lot


Jasper on the Beaglebone Black > jack server is not running or cannot be started

I have been trying to get jasper to work on the Beaglebone black, documenting most of my efforts here, including following some of the steps in #34
However, I have gotten stuck on the following
root@beaglebone:~/jasper# cd m2m-aligner-1.2/
root@beaglebone:~/jasper/m2m-aligner-1.2# sudo make
g++ -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -pthread  -c -I./tclap-1.2.1/include/   mmAligner.cpp -o mmAligner.o
In file included from mmEM.h:24,
                 from mmAligner.cpp:70:
util.h: In function 'void convert(const std::string&, T&, bool)':
util.h:126: error: reference to 'istringstream' is ambiguous
./tclap-1.2.1/include/tclap/Arg.h:43: error: candidates are: typedef struct std::istringstream istringstream
/usr/include/c++/4.4/iosfwd:133: error:                 typedef struct std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> > std::istringstream
util.h:126: error: reference to 'istringstream' is ambiguous
./tclap-1.2.1/include/tclap/Arg.h:43: error: candidates are: typedef struct std::istringstream istringstream
/usr/include/c++/4.4/iosfwd:133: error:                 typedef struct std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> > std::istringstream
util.h:126: error: expected ';' before 'i'
util.h:129: error: 'i' was not declared in this scope
make: *** [mmAligner.o] Error 1
root@beaglebone:~/jasper/m2m-aligner-1.2#

I know that this is just a dependency and not a problem with jasper itself, but I think that someone here may have a clue on how to fix this as I am not quite sure. it does look like quite a convincing compiler version / missing library error though. I am running:
root@beaglebone:~/jasper/m2m-aligner-1.2# g++ --version
g++ (Debian/Linaro 4.4.7-2) 4.4.7

I fixed the problem and installed jackd (sudo apt-get install jackd).Then I added this command to my startup programs: jackd -d dummy
Now the errors are gone.

How did you do this hmrajas?
ecron / cron jobs?  What was the command?
Then I added this command to my startup programs: jackd -d dummy


update asynctest to 0.5.1

why do we need to import chronos/unittest explicitly

Good question. The asynctest code became rather hard to maintain, because it consisted of code that just happened to be compatible with both chronos and asynctest. This already lead to unwanted warnings in some cases, and became even harder to maintain with the recent chronos changes w.r.t. exceptions. The solution was to have different code for asynctest and chronos, but that requires an explicit choice when importing asynctest (https://github.com/codex-storage/asynctest/pull/11).

Yeah, that's probably wise at any rate as it will make the V4 merge smaller. I'm going to update this and ready it for merge.

Easy peasy lemon squeezy. :slightly_smiling_face:

One thing that we should do, is just create a wrapper around the import and import that directly instead of explicitly importing chronos.

One thing that we should do, is just create a wrapper around the import and import that directly instead of explicitly importing chronos.

You mean to shorten the path? As in a package alias so you don't have to type pkg/asynctest/chronos/unittest? I can do that, but not sure I prefer having to compute relative import paths in my head (as this would have to go under e.g. /tests/asynctest.nim) over typing a longer-but-always-the-same import line.

OK, I've updated it to use a wrapper, and it sort of confirms my point: IMHO it looks uglier, and it was an absolute pain to go through 40+ files and figure out the relative import path in each. I also ran into issues as Nim will import the wrong package if you do import ./asynctest but that relative path happens to be wrong (which doesn't happen when you import the package directly).
But now that it's done, the extra level of indirection will at least make it easier to swap the import in the referred package. I also don't anticipate this will be as painful when updating incrementally.

Github won't let me approve because I started the PR, but feel free to merge at any time @gmega.


Add option to configure update interval on World Tides component

Component/platform: https://www.home-assistant.io/components/worldtidesinfo/

Description of problem:
The interval that the world tides component refreshes is not configurable. Given you have to pay for each API call, it would be good if you could tune this to a level you are happy to pay for.

Thanks for your to submit it. However this place is for bugs only. Feature and enhancement requests should go in our community forum: https://community.home-assistant.io/c/feature-requests


visidata: 1.3.1 -> 1.5

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/visidata/versions.
meta.description for visidata is: '"Interactive terminal multitool for tabular data"'.
Release on GitHub
Compare changes on GitHub

Checks done (click to expand)

built on NixOS
/nix/store/s3fkl7m0wlywbqw026diy7iy0a66m0b7-visidata-1.5/bin/.vd-wrapped passed the binary check.
/nix/store/s3fkl7m0wlywbqw026diy7iy0a66m0b7-visidata-1.5/bin/vd passed the binary check.
2 of 2 passed binary check by having a zero exit code.
0 of 2 passed binary check by having the new version present in output.
found 1.5 with grep in /nix/store/s3fkl7m0wlywbqw026diy7iy0a66m0b7-visidata-1.5
directory tree listing: https://gist.github.com/afebeccf26e06738ca993c7631f6d027
du listing: https://gist.github.com/e1e231e7606e6f7aa4121cda75d0e51d

Outpath report (click to expand)

Outpath difference report
3 total rebuild paths
1 package rebuilds
1 x86_64-linux rebuilds
1 i686-linux rebuilds
0 x86_64-darwin rebuilds
1 aarch64-linux rebuilds
First ten rebuilds by attrpath
visidata

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/s3fkl7m0wlywbqw026diy7iy0a66m0b7-visidata-1.5 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A visidata https://github.com/r-ryantm/nixpkgs/archive/5f93093d14e9628bcc3e4e0b7e0d904bf0849c86.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/s3fkl7m0wlywbqw026diy7iy0a66m0b7-visidata-1.5
ls -la /nix/store/s3fkl7m0wlywbqw026diy7iy0a66m0b7-visidata-1.5/bin

cc @7c6f434c for testing.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: visidata
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: visidata
Partial log (click to expand)
/build/source
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/s3fkl7m0wlywbqw026diy7iy0a66m0b7-visidata-1.5
gzipping man pages under /nix/store/s3fkl7m0wlywbqw026diy7iy0a66m0b7-visidata-1.5/share/man/
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/s3fkl7m0wlywbqw026diy7iy0a66m0b7-visidata-1.5/lib  /nix/store/s3fkl7m0wlywbqw026diy7iy0a66m0b7-visidata-1.5/bin
patching script interpreter paths in /nix/store/s3fkl7m0wlywbqw026diy7iy0a66m0b7-visidata-1.5
checking for references to /build in /nix/store/s3fkl7m0wlywbqw026diy7iy0a66m0b7-visidata-1.5...
wrapping `/nix/store/s3fkl7m0wlywbqw026diy7iy0a66m0b7-visidata-1.5/bin/vd'...
/nix/store/s3fkl7m0wlywbqw026diy7iy0a66m0b7-visidata-1.5

Failure on aarch64-linux (full log)
Attempted: visidata
Partial log (click to expand)
  /nix/store/qfdbglqq4rmjv33y3nhi5qlifgxyg34m-python3.6-pandas-0.23.4/lib/python3.6/site-packages/pandas/core/internals.py:312: FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`. In the future this will be interpreted as an array index, `arr[np.array(seq)]`, which will result either in an error or a different result.
    return self.values[slicer]
  /nix/store/qfdbglqq4rmjv33y3nhi5qlifgxyg34m-python3.6-pandas-0.23.4/lib/python3.6/site-packages/pandas/core/indexes/datetimelike.py:428: FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`. In the future this will be interpreted as an array index, `arr[np.array(seq)]`, which will result either in an error or a different result.
    result = getitem(key)

-- Docs: https://docs.pytest.org/en/latest/warnings.html
 5 failed, 16897 passed, 1027 skipped, 11896 deselected, 37 xfailed, 2 xpassed, 10 warnings in 607.13 seconds
builder for '/nix/store/k37vq3id2j6pmwr9dc64gghdk5yidw7x-python3.6-pandas-0.23.4.drv' failed with exit code 1
cannot build derivation '/nix/store/lh6df2yxi0xxg0jx4l0qwgfdqf4d8awj-visidata-1.5.drv': 1 dependencies couldn't be built
error: build of '/nix/store/lh6df2yxi0xxg0jx4l0qwgfdqf4d8awj-visidata-1.5.drv' failed


tests: net: cm: Increase event wait time

This was seen in CI
START - test_cycle_ready_CC

  Assertion failed at ...tests/net/conn_mgr_monitor/src/main.c:262:
    cycle_ready_ifaces: (stats.conn_count_gen not equal to 1)
    NET_EVENT_L4_CONNECTED should be fired when connectivity is gained.
FAIL - test_cycle_ready_CC in 0.015 seconds

As the event wait timeout is very short (1ms) by default, increase it to 10ms so that we will not miss the event.

I was not able to reproduce this locally. The CI log is here https://github.com/zephyrproject-rtos/zephyr/actions/runs/10728325902/job/29752688334

@jukkar This looks like it is the same fragility with qemu_cortex_a9 that I filed a ticket regarding here:
https://github.com/zephyrproject-rtos/zephyr/issues/73102
It can be reproduced locally by running the test with all targets. (Though even under this circumstance, it will only occasionally trigger). When the qemu_cortex_a9 platform is run in isolation, it does not exhibit this behavior. I think I tried increasing this timeout and saw no improvements.
But 10ms is not outlandish, so fine by me if you want to just try increasing it and see what happens

@jukkar I added DNM, just to make sure you get a chance to see my comment before merging, in case you are willing to try to reproduce with the 10ms tweak now that you know how.
feel free to remove it and merge if you think it best

It can be reproduced locally by running the test with all targets. (Though even under this circumstance, it will only occasionally trigger). Exact reproduction instructions are detailed in that issue.

I am seeing similar results, run the tests 10 times and saw the issue once (without this PR)

When the qemu_cortex_a9 platform is run in isolation, it does not exhibit this behavior.

Yes, I have similar experience.

I think I might have tried increasing this timeout, but saw no improvements. But my memory is hazy on this.

Tried with this PR and run 10 times, did not see errors. Unfortunately this was not very scientific as the run count was not that big. Lets try with this fix, we can always return to this and tweak the timeout or a "proper" fix if needed.


Document/Create Error 500 Docker Container Unwritable

Bug Report
Description
I'm getting Internal Server Error 500 when attempting to create or add Modelfiles to Open WebUI. Error 500 is displayed, as Docker container is not writable by default, so it will not allow create or import of Modelfiles.
WebUI also seems to not understand Modelfiles that don't have JSON file type extension, but also unable to read the file when JSON is affixed to the file name.

[!NOTE]
Make this easily consistent on access. Modelfile.json or Modelfile and have it know what the file is even if it doesn't have .json extension on the filename, especially when you download it from https://openwebui.com and it doesn't have a file extension when you Download manually.

Bug Summary:
Attempt to Import or Manually add Modelfiles, and get Error 500 when it can't write file inside the docker container.
Steps to Reproduce:
Copied commands from documentation;
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main

Expected Behavior:
Create and import Modelfiles without issue.
Actual Behavior:
Internal Server Error 500 - Cannot write to Docker container.
Environment

Open WebUI Version: v0.1.120
(latest)

Operating System: Manjaro Linux 23.1.3

Browser (if applicable): Firefox 124.01

Reproduction Details
Confirmation:

[x] I have read and followed all the instructions provided in the README.md.
[x] I am on the latest version of both Open WebUI and Ollama.
[x] I have included the browser console logs.
[x] I have included the Docker container logs.

Logs and Screenshots

Installation Method
Docker install setup

我可以上传txt文件，不能上传md文件。而且引用txt文件来提问就会报错，普通用文字提问时正常的


Make e.g., chromium use org.freedesktop.FileManager1.ShowItems

Even though Filer now supports it, Chrome doesn't use it:
[3565:101377:0919/175726.608085:ERROR:object_proxy.cc(622)] Failed to call method: org.freedesktop.FileManager1.ShowItems: object_path= /org/freedesktop/FileManager1: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.FileManager1 was not provided by any .service files

Do we literally need to place a /usr/local/share/dbus-1/services/org.freedesktop.FileManager1?
Seems so, as this seems to do the trick:
FreeBSD% cat /usr/local/share/dbus-1/services/org.freedesktop.FileManager1.service
[D-BUS Service]
Name=/org/freedesktop/FileManager1
Exec=launch Filer

Not sure what the Exec= line is for. Possibly it can launch Filer when it is not already running? that part doesn't seem to be working, as when Filer is not running Chrome still prints
[4576:101623:0919/180731.143569:ERROR:object_proxy.cc(622)] Failed to call method: org.freedesktop.FileManager1.ShowItems: object_path= /org/freedesktop/FileManager1: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.FileManager1 was not provided by any .service files

But hey, it does seem to work when Filer is already running.

I don't understand why .service files are needed.
Isn't D-Bus supposed to have introspection, so that Chrome can look up whether the service is available using D-Bus? Why is a file needed for this?


Remove spurious maybe_uninit_extra

Signed-off-by: Miguel Ojeda<EMAIL_ADDRESS>

@bors r+

:pushpin: Commit 922962f662b8e9c80f6e63eb8117eafe0e2121b2 has been approved by oli-obk

:hourglass: Testing commit 922962f662b8e9c80f6e63eb8117eafe0e2121b2 with merge aea10ca101ef893d8969b5abad7c08ca8341bf57...

:sunny: Test successful - checks-actions
Approved by: oli-obk
Pushing aea10ca101ef893d8969b5abad7c08ca8341bf57 to master...


[BUG] - Repository rebase failed [Weblate]

WG Tunnel translations files are not getting updated probably due to merge conflicts: https://hosted.weblate.org/changes/browse/wg-tunnel/

yes, i wondered why the zane schepke repository for fdroid/droidify is still stuck at 3.6.0...
...now i know (:

I'll work on fixing this. As for my Fdroid, that is actually a separate, upstream bug which you can see the details on the issues of that repo.

Hello! This should be fixed now. I'm sorry about that wait!


add @PactUrl to pact-jvm-provider-junit

Please review this and merge into master for me
Cheers,

I've merged it, but I'm missing seeing the link between the annotation and the loader. What handles calling the loader when the annotation is present?

That's handed by infrastructure that has a pact source abstraction. PactUrl is just another pact source, like PactBroker or PactFolder.
Basically anyone can add any pact source. For example, you can have even your company-specific @MyCompanyPactSource in order not to hardcode pact broker url everywhere.

Nice!


Create deterministic installers.

Fabo inquired about using electron-builder and found that it's non-deterministic.
We had a conversation earlier about using electron-builder.

Tools that create installers for Electron applications:

electron-winstaller
Electron Forge
Electron Installer Grunt Plugin

@NodeGuy do you think we should also proceed with #908 either with electron-installer-zip or electron-installer-dmg ?

Note: Bitcoin Core uses the Gitian builder for deterministic builds. Here is the link to the setup instructions

But this is just the environment right? The build process also needs to be deterministic.

In the case of Linux, I'd definitely go for Flatpak. It has long list of advantages (see https://github.com/signalapp/Signal-Desktop/issues/1639#issuecomment-342422537) as well as an App store Flathub.  There are other concerns related to Flathub's security stated in https://github.com/signalapp/Signal-Desktop/issues/1639#issuecomment-347410590 that we'd have to investigate

@NodeGuy do you think we should also proceed with #908 either with electron-installer-zip or electron-installer-dmg ?

electron-installer-zip doesn't create an installer so it doesn't seem very interesting.
electron-installer-dmg isn't deterministic (see my issue).

The owner of node-appdmg responded enthusiastically about working together to make it deterministic but we're now outside the time box of 1 day.  @faboweb How should we reply?

This sounds like a longer endeavour. Let's respect the timebox and come back to it later. There are new proposals about handling this issue.

Blocked: waiting for @jessysaurusrex 's input on security

Where did the requirement for the installer to be deterministic come from? Given some of the constraints that are mentioned above, it seems like we should wait for electron-builder to mature a bit more since there are other ways to address the risks at hand.
In this case, especially since we are talking about code that includes Electron (which is a huge project that we absolutely do not want to fork/write a new library for right now), it would be best for us to move forward by signing our binaries so that third parties are able to verify that they're using what we've marked for distribution.

@jessysaurusrex if having non deterministic binaries is enough from a security perspective, let's only go with signing. how would you setup the process of signing the binaries?

On our end, we'll need to make sure that we have some infrastructure in place in the form of secure secure servers (Windows, Mac, Linux machines) that are offline or that we can run from an automated and reproducible state... and we'll need to store the signing cert offline to reduce risk (possibly on a Ledger).  That's a bit of a operations work plus some planning in the certificate/key management realm, in addition to the actual process for signing our binary.
Is this something you'd just like a high level plan for, or should it be an end-to-end process? I can begin following up on the server/cert management piece tomorrow, @faboweb.

@jessysaurusrex thx for offering help. I will clarify some things today and ping you afterwards.

Closing this as we will no longer aim to deliver an installable application.


feat: 🎸 Add procedure to unlink ticker from an Asset

Description
Add procedure to unlink ticker from an Asset
Breaking Changes
NA
JIRA Link
DA-1334
Checklist

[ ] Updated the Readme.md (if required) ?

/fast-forward

:tada: This PR is included in version 26.0.0-alpha.5 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 26.0.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Discussion] Batching entity loader memory issue

So apart from https://github.com/hibernate/hibernate-orm/pull/2277, which seems to be pretty safe, here are another batch of changes on top of it.

Vanilla ORM: 1002 MB
With HHH-12556: 461 MB
With more template initialization (https://github.com/hibernate/hibernate-orm/pull/2278/commits/832fca76ac5d4cccd1565def44f19ed6923f9270): 420 MB
-> these are without any lazy loading so this is the maximal memory that will be used when all the loaders are initialized
-> UPDATE: 3/ is unsafe if AbstractEntityPersister is subclassed and the loader creation methods are overridden, which is the case for OGM for instance.  Therefore, changes withdrawn.
With lazy loading (https://github.com/hibernate/hibernate-orm/pull/2278/commits/20ceebfc9abb8da31e84fdb88b94e40f0d18f1e0): 264MB
-> the lazy loading is only about the loaders loaded per lock mode, we still load all the LoadPlan based entity loaders for all batch sizes. I still load eagerly the loaders for LockMode.NONE and LockMode.READ.

The issue I have with 3. is that a user might not have the same behavior if he has subclassed AbstractEntityPersister and overridden createEntityLoader(LockMode lockMode) as I use another method injecting a template.
The issue with 4. is:

we lazy load so the user might get surprised he doesn't have enough memory at some point during the application lifecycle. That being said, we really have a lot of LockModes so for many (most?) application usage, it will be a gain as the user won't use all the LockModes.
for now I use a Map as the Map is exposed to subclasses so I have the same doubts as for 3. as we change slightly the behavior of methods that could be overridden or used in user subclasses.

I have added GitHub comments to underline what might be an issue.
What you have in the OP's case is:
 \_ [LockMode 1] batching entity loader 1
     \_ [batch size 1] LoadPlan entity loader 1.1
     \_ ...
     \_ [batch size n] LoadPlan entity loader 1.n
 \_ ...
 \_ [LockMode n] batching entity loader n
     \_ [batch size 1] LoadPlan entity loader n.1
     \_ ...
     \_ [batch size n] LoadPlan entity loader n.n

Point 2. shares common data structures between the various LoadPlan entity loaders for a given lock mode
Point 3. reuses the common data structure of the first lock mode for the other lock modes: to be more precise, it reinjects the common data structure of LoadPlan entity loader 1.1 inside the LoadPlan entity loaders of batching entity loader n
Point 4. lazy loads the batching entity loader per lock mode (the LoadPlan entity loader are still eagerly loaded)

I haven't created JIRA issues for 3. and 4. as I think the approach is open to discussion.

I extracted the lazy loading in https://github.com/hibernate/hibernate-orm/pull/2279 . The other change is not safe due to backwards compatibility issues so it should be discarded.
Closing this PR.


Remove 'beta' wording from current api v2/v3 docs

What are you changing in this pull request and why?

Our admin api docs are no longer considered "beta", so this PR removes that word from their names. Soon we'll remove the legacy docs as well, but those need to stick around a bit longer
Checklist

[x] I have reviewed the Content style guide so my content adheres to these guidelines.
[x] The topic I'm writing about is for specific dbt version(s) and I have versioned it according to the version a whole page and/or version a block of content guidelines.
[x] I have added checklist item(s) to this list for anything anything that needs to happen before this PR is merged, such as "needs technical review" or "change base branch."

hey @GideonShils , thanks so much for this pr and great job! just a quick question - are the api v2/v3 docs now GA? and should we add a release note to announce this?


Fuel Cell battery OM costs using wrong capacity value

Describe the bug
The nameplate capacity used for the battery OM Costs in the PV-Fuel Cell-Battery config appears to be using the kWh capacity rather than the kW capacity. This is not the correct usage as used in the financial models.
Expected behavior: The nameplate variable om_capacity1_nameplate should be calculated from batt_power_discharge_max_kwdc or batt_power_discharge_max_kwac as is done in the capital costs (battery_power).

Additional context
Add any other context about the problem here.

@cpaulgilman @sjanzou My mistake. These inputs are not available in the UI so they are likely not intended to be used. Should they be added as part of the LCOS work?


Width on input#request-url control

On Firefox v54 the width of the input#request-url is not working, the propertie -moz-calc is not available. Changing for calc only work fine.

This PR would be exactly what I would have pushed as well. I've been fixing it via a CSS change on the browser :(


Warn people when their AndroidManifest.xml file doesn't contain the string android:taskAffinity

Subcomponent of https://github.com/flutter/flutter/issues/63559.
We should notice when an AndroidManifest.xml file does not include the string android:taskAffinity and the minSdkVersion is not sufficiently high for it to not matter, and print a warning pointing people to https://developer.android.com/privacy-and-security/risks/strandhogg, something like this:
Warning: this application's AndroidManifest.xml file leaves it vulnerable to the StrandHogg v1 and
StrandHogg v2 Android vulnerabilities.
To mitigate the StrandHogg v1 vulnerability, set "android:taskAffinity" to the empty string in the
<activity> tag. To mitigate the StrandHogg v2 vulnerability, the minSdkVersion should be set to 28
or higher.
For more details, see: https://developer.android.com/privacy-and-security/risks/strandhogg
This warning can be silenced by including the string "android:taskAffinity" somewhere in the app's
AndroidManifest.xml file or by setting the "minSdkVersion" to a sufficiently high value.

@andrewkolos P3 basically means "wontfix", since it's unlikely anyone else will ever get around to it. can you talk more about why this isn't something we want to do?

re-assigning to the android team to decide the priority.

@christopherfujino does the tools team already have a way for developers to set a "dont warn me about X".
The android team does not wish to parse the many possible manifest xml files but we do already have access to minSdkVersion and can warn but don't really want to warn every user that chooses to have a lower support version.

@christopherfujino does the tools team already have a way for developers to set a "dont warn me about X". The android team does not wish to parse the many possible manifest xml files but we do already have access to minSdkVersion and can warn but don't really want to warn every user that chooses to have a lower support version.

No, but maybe we should? Technically we could add a feature flag for it, but that doesn't feel right.
But a system specifically for ignoring warnings seems like it would be useful.

@christopherfujino does the tools team already have a way for developers to set a "dont warn me about X". The android team does not wish to parse the many possible manifest xml files but we do already have access to minSdkVersion and can warn but don't really want to warn every user that chooses to have a lower support version.

No, but maybe we should? Technically we could add a feature flag for it, but that doesn't feel right.
But a system specifically for ignoring warnings seems like it would be useful.

Filed https://github.com/flutter/flutter/issues/146130
For us to talk about this system.

FWIW if I saw the warning with the wording from the original draft above:

This warning can be silenced by including the string "android:taskAffinity" somewhere in the app's
AndroidManifest.xml file or by setting the "minSdkVersion" to a sufficiently high value.

and I wanted to silence the warning without acting on it, I'd just add a comment with that string in it. Like this:
  <!-- We don't set the android:taskAffinity attribute because [blah blah
       rationale here]. But we mention it in this comment in order to silence
       a warning from Flutter: https://github.com/flutter/flutter/issues/144484
    -->

After all, the warning specifically suggests "including the string" with no mention of actually putting it in as an XML attribute of an actual <activity> element, so it's saying that that should work.
Given that, I think it'd be reasonable to go ahead with building this warning without blocking on designing a more general "ignore this warning" system that we're happy with, i.e. #146130.
There are plenty of other potential warnings where "include this string" wouldn't work well as a rule — in particular a key aspect here is that there's that very distinctive string "android:taskAffinity", which will definitely appear if the app is addressing the issue in any normal way and on the other hand is very unlikely to appear by accident. So there's lots of other potential warnings where a system like #146130 would be needed. But I think this warning can do just fine without it.

After all, the warning specifically suggests "including the string" with no mention of actually putting it in as an XML attribute of an actual <activity> element, so it's saying that that should work.

For the record, that was indeed my intent.


Transition networking suite to ginkgoless

Similar to: https://github.com/test-network-function/cnf-certification-test/pull/1614

/dci-rerun


Can't determine temporal order of haystack sessions

In the final dataset, do haystack_dates, haystack_session_ids, and haystack_sessions all correspond with each other such that e.g. haystack_dates[0] <--> haystack_sessions[0] etc?
From the code, it seems the answer is yes, but the README says that haystack_session_ids is sorted by timestamp, which means it can't correspond with the haystack_dates since those don't seem to be sorted.
Also, thank you for creating this and being so responsive!

Hi @jackaldenryan ,
Thank you for catching this issue. Indeed, "haystack_dates, haystack_session_ids, and haystack_sessions all correspond with each other".  The timestamps in longmemeval_s.json and longmemeval_m.json should be sorted, but the timestamps in longmemeval_oracle.json is in arbitrary order. We have clarified this in the README.

Awesome - thank you for clarifying!


Feature: Diff individual stacks

This makes the convection diff command behave the same way the convection converge command does. It takes an optional STACK argument, the name of the stack to diff up to. If the stack name's given, the diff will halt at the named stack.

👍 Looks good

:shipit: looks good to me. As @athompson-r7 pointed out this will help out with #110. cc @bturner-r7


Delete unused variables and modify numRows

Hi.
In code below I propose to delete some unused variables in order to get a clean code without unecessary variables.
Additionally, var  numRows is modified because on testing, lastRow - startRow leaves one row without processing, and changing equation to lastRow - frozenRows we can process all rows

Hey thank you for sending this clean up change, I'll be happy to merge it. We just need you to sign this CLA first to contribute to this repo: https://cla.developers.google.com/

Hi, Thank you for merge my contribution. I just signed it CLA.

@googlebot I signed it!


feat(console): added drag reorder of prompt messages in the prompt ed…

Completed #246
https://github.com/pezzolabs/pezzo/assets/47528651/c0d6798b-be03-4269-a748-5882815f3681

@arielweinberger please review this PR and let me know if any more changes are to be made.


Merge in the code done by the abm team

Mesa implementation (experimental) was also added as part of this, but it is not used. We will clean it afterwards.
@billlyzhaoyh FYI


feat: tests added.

Description

added some tests to the project.

@magicmatatjahu @derberg
Both of the PRs are ready for review.

@KhudaDad414 Please resolve conflicts :)

@KhudaDad414 I don't think you resolved conflicts well as changes like adding "docs": "jsdoc2md lib/Optimizer.js -f lib/**/*.js > API.md", should not show up in your PR as you did it in the other one that is already merged

@KhudaDad414 I don't think you resolved conflicts well as changes like adding "docs": "jsdoc2md lib/Optimizer.js -f lib/**/*.js > API.md", should not show up in your PR as you did it in the other one that is already merged

I can resolve the conflicts of package.json but the package-lock.json has more than 1200 conflicts. I searched for a way to resolve it's conflicts but I'm out of luck. :(
Any suggestions?

package-lock is a beast but you can do it this way:

solve conflicts by accepting everything that comes from master
run npm i and on top of what you merged, you will create another commit that adds your packages to the lock file

@derberg I think I made it worse.
Good news:
The conflict is gone.
Bad news:
now it shows all of the previous PRs changes here.
can't find jest (although it works fine locally)
for the solution, I've opened a new PR.
The previous PR changes are gone. but still, PR testing fails. :(

@KhudaDad414 tbh, always when I read the state you reached, I tend to just give up and create new branch that is already up to date with master and apply my changes there and then open new PR 🤷🏼


remove any unwanted features and interface from Rocket.Chat

We need a way to disable "default" Rocket.Chat features and interface. For example:

[ ] disable user changing user profile information or avatar from within Rocket.Chat
[x] unwanted extra slash commands (e.g. /tableflip. why.)
(more -- what else?)

unable to remove rocketchat:ui-account package, because if it's not present, this error occurs when the page loads (in browser JS console):
Error: No such template: avatar
    at blaze.js:3147
    at .<anonymous> (spacebars.js:66)
    at blaze.js:1872
    at Function.Template._withTemplateInstanceFunc (blaze.js:3671)
    at blaze.js:1870
    at Object.Blaze._withCurrentView (blaze.js:2211)
    at viewAutorun (blaze.js:1869)
    at Tracker.Computation._compute (tracker.js:349)
    at new Tracker.Computation (tracker.js:237)
    at Object.Tracker.autorun (tracker.js:588)

Removed:

rocketchat:slashcommands-asciiarts
rocketchat:slashcommands-kick
rocketchat:slashcommands-me
rocketchat:slashcommands-mute
rocketchat:slashcommands-topic

I've changed the settings in production so that users cannot edit their profile or username.


Update/doc concepts

Describe your changes
mention api file formats specification in concepts page
Checklist before requesting a review

[x] I have performed a self-review of my code

Check the correct box. Does this PR contain:

[ ] Breaking changes
[ ] New functionality
[ ] Major changes
[x] Minor changes
[ ] Bug fixes

[ ] Proposed changes are described in the CHANGELOG.md

[ ] CI Preview succeeds and looks good!

Already merged #280


LayoutBuilder throwing assertion on hot reload, when parent is dynamically determining the children during the build phase

Steps to reproduce

create a new project with "flutter create bug"
paste the minimal reproducible sample in the main.dart
resize the window, so the container doesnt fit the constrains
perform a hot reload or hot restart

Expected results
No assertion is thrown,.
The use of AppChildFitter is to determine, if the child would need the builder to fit the constrains. In the real application, there is also custom ui added, that change the constrains of the child, because they take up space. Because this Widget needs to be used multiple times, build-in solutions like Intrinsics/ LayoutBuilder/ TextRenderer dont work for me. I have also tried the boxy package with no succes. I didn't encounter any issues with "normal" building. Only hot reload/ restart seemed to trigger the exception.
Actual results
assert(element._inDirtyList); evaluates to false and an exception is thrown.
Code sample
Code sample
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';

void main() => runApp(const MyApp());

final ScrollController _scrollController = ScrollController();

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return Directionality(
      textDirection: TextDirection.ltr,
      child: AppChildFitter(
        childFitter: (child) {
          // return Scrollbar(
          //     controller: _scrollController,
          //     child: SingleChildScrollView(
          //       controller: _scrollController,
          //       child: child,
          //     ));
          return LayoutBuilder(builder: (context, constraints) {
            return Scrollbar(
                controller: _scrollController,
                child: SingleChildScrollView(
                  controller: _scrollController,
                  child: child,
                ));
          });
        },
        child: const Test1(),
      ),
    );
  }
}

class Test1 extends StatefulWidget {
  const Test1({
    super.key,
  });

  @override
  State<Test1> createState() => _Test1State();
}

class _Test1State extends State<Test1> {
  Color color = const Color.fromARGB(255, 134, 26, 116);
  @override
  Widget build(BuildContext context) {
    return Align(
      child: Container(
        width: 200,
        height: 200,
        color: color,
        child: Align(
          child: ElevatedButton(
            onPressed: changeColor,
            child: const Text('Change color'),
          ),
        ),
      ),
    );
  }

  void changeColor() {
    setState(() {
      color = color == const Color.fromARGB(255, 134, 26, 116)
          ? const Color.fromARGB(255, 61, 80, 252)
          : const Color.fromARGB(255, 134, 26, 116);
    });
  }
}

/// A Widget with a custom Element and RenderObject, that builds the [child] with the supplied [childFitter]
/// The [Element] relies internally on [GlobalKey]s, so that the subtree can be cached and the state of the child and fitter can be preserved over a frame
/// The [RenderObject] checks if the child fits the constraints, and if not, applies the fitter and re-layouts
/// Using this widget nested or with intrinsic widgets (such as [IntrinsicWidth]) can result in a long build time, as the build time goes up exponentially with amount of intrinsics/ AppChildFitter in the tree
/// Also some Widgets might cause exceptions, when their underlying renderbox does not support getMinIntrinsicHeight, such as [LayoutBuilder] or [GridView]/[ListView]
class AppChildFitter extends RenderObjectWidget {
  final Widget child;
  final Widget Function(Widget child) childFitter;
  const AppChildFitter({
    super.key,
    required this.child,
    required this.childFitter,
  });

  @override
  RenderObject createRenderObject(BuildContext context) =>
      AppChildFitterRenderObject();

  @override
  RenderObjectElement createElement() => AppChildFitterElement(this);
}

class AppChildFitterElement extends RenderObjectElement {
  AppChildFitterElement(AppChildFitter super.widget);

  late final GlobalKey childKey;
  late final GlobalKey childFitterKey;

  @override
  AppChildFitterRenderObject get renderObject =>
      super.renderObject as AppChildFitterRenderObject;

  @override
  void mount(Element? parent, Object? newSlot) {
    super.mount(parent, newSlot);
    // Link this element to the render box
    renderObject.element = this;
    childKey = GlobalKey();
    childFitterKey = GlobalKey();
    debugPrint("childKey: $childKey");
    debugPrint("childFitterKey: $childFitterKey");
  }

  @override
  void update(RenderObjectWidget newWidget) {
    renderObject.markNeedsLayout();
    super.update(newWidget);
  }

  @override
  void unmount() {
    // Clean up when unmounting
    renderObject.element = null;
    super.unmount();
  }

  Element? _currentChildElement;
  set currentChildElement(Element? value) {
    if (_currentChildElement == value) {
      return;
    }
    _currentChildElement = value;
  }

  Element? get currentChildElement => _currentChildElement;

  @override
  void visitChildren(ElementVisitor visitor) {
    if (_currentChildElement != null) {
      visitor(_currentChildElement!);
    }
  }

  @override
  void forgetChild(Element child) {
    if (child == _currentChildElement) {
      _currentChildElement = null;
    } else {
      assert(false,
          "Forget child called with child that is not a child. At $this");
    }
    super.forgetChild(child);
  }

  RenderBox? generateWidgetsDuringLayout({bool useFittedChild = false}) {
    //TODO: Sometimes error on hot reload when child changes params
    Widget newChildWidget = KeyedSubtree(
      key: childKey,
      child: (widget as AppChildFitter).child,
    );

    // Use the childFitter if required
    if (useFittedChild) {
      //TODO: assert, that old child is in subtree
      try {
        //forgetChild(currentChildElement!);
        newChildWidget = KeyedSubtree(
          key: childFitterKey,
          child: (widget as AppChildFitter).childFitter(newChildWidget),
        );
      } catch (e) {
        FlutterError.reportError(
          FlutterErrorDetails(exception: e, stack: StackTrace.current),
        );
        rethrow;
      }
    }
    owner!.buildScope(this, () {
      // Dynamically generate or update child widgets
      currentChildElement =
          updateChild(currentChildElement, newChildWidget, null)!;
    });

    // return the render object of the child
    //TODO: add checks
    return currentChildElement!.renderObject as RenderBox?;
  }

  @override
  void insertRenderObjectChild(
      covariant RenderObject child, covariant Object? slot) {
    renderObject.box = child as RenderBox;
  }

  @override
  void moveRenderObjectChild(covariant RenderObject child,
      covariant Object? oldSlot, covariant Object? newSlot) {
    renderObject.box = child as RenderBox;
  }

  @override
  void removeRenderObjectChild(
      covariant RenderObject child, covariant Object? slot) {
    if (renderObject.box == child) {
      renderObject.box = null;
    }
  }
}

class AppChildFitterRenderObject extends RenderBox {
  AppChildFitterElement? element;

  RenderBox? _box;
  RenderBox? get box => _box;
  set box(RenderBox? value) {
    if (_box == value) return;

    if (_box != null) {
      dropChild(_box!);
    }
    _box = value;
    if (_box != null) {
      adoptChild(_box!);
    }
  }

  @override
  void performLayout() {
    invokeLayoutCallback<BoxConstraints>((constraints) {
      if (element == null) {
        size = constraints.smallest;
        return;
      }
      // First, try to lay out the child normally
      box = element!.generateWidgetsDuringLayout();

      if (box == null) {
        size = constraints.smallest;
        return;
      }
      // Test if the child will fit the height of constraints
      final minIntrinsicHeight =
          box!.getMinIntrinsicHeight(constraints.maxWidth);
      if (minIntrinsicHeight <= constraints.maxHeight) {
        // Child fits, so lay it out normally
        box!.layout(constraints, parentUsesSize: true);
      } else {
        // Child doesn't fit, apply childFitter and re-layout
        box = element!.generateWidgetsDuringLayout(useFittedChild: true);
        box!.layout(constraints, parentUsesSize: true);
        assert(box!.size.width <= constraints.maxWidth,
            "Width overflow in AppChildFitter");
      }
      size = constraints.constrain(box!.size);
    });
  }

  @override
  void paint(PaintingContext context, Offset offset) {
    // Ensure the box (child) is not null before painting
    if (box == null) return;

    context.paintChild(box!, offset);
  }

  @override
  void visitChildren(RenderObjectVisitor visitor) {
    if (box == null) return;

    visitor(box!);
  }

  @override
  bool hitTestChildren(BoxHitTestResult result, {required Offset position}) {
    if (box == null) return false;

    return box!.hitTest(result, position: position);
  }

  @override
  void attach(PipelineOwner owner) {
    super.attach(owner);
    if (_box != null) {
      _box!.attach(owner);
    }
  }

  @override
  void detach() {
    super.detach();
    if (_box != null) {
      _box!.detach();
    }
  }

  @override
  void redepthChildren() {
    if (_box != null) {
      redepthChild(_box!);
    }
    super.redepthChildren();
  }
}

Screenshots or Video
No response
Logs
Logs
Launching lib/main.dart on Linux in debug mode...
✓ Built build/linux/x64/debug/bundle/bug

Connecting to VM Service at ws://<IP_ADDRESS>:37633/JCFZASEUYn8=/ws
Connected to the VM Service.
flutter: childKey: [GlobalKey#562e4]
flutter: childFitterKey: [GlobalKey#65ea6]

════════ Exception caught by rendering library ═════════════════════════════════
The following assertion was thrown during performLayout():
'package:flutter/src/widgets/framework.dart': Failed assertion: line 2703 pos 12: 'element._inDirtyList': is not true.

Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
  https://github.com/flutter/flutter/issues/new?template=2_bug.yml

The relevant error-causing widget was:
    LayoutBuilder LayoutBuilder:file:///<path-to-repos>/repos/test/bug/lib/main.dart:23:18

When the exception was thrown, this was the stack:
#2      BuildScope._tryRebuild (package:flutter/src/widgets/framework.dart:2703:12)
#3      BuildScope._flushDirtyElements (package:flutter/src/widgets/framework.dart:2783:11)
#4      BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:3090:18)
#5      _LayoutBuilderElement._rebuildWithConstraints (package:flutter/src/widgets/layout_builder.dart:247:12)
#6      RenderObject.invokeLayoutCallback.<anonymous closure> (package:flutter/src/rendering/object.dart:2719:59)
#7      PipelineOwner._enableMutationsToDirtySubtrees (package:flutter/src/rendering/object.dart:1098:15)
#8      RenderObject.invokeLayoutCallback (package:flutter/src/rendering/object.dart:2719:14)
#9      RenderConstrainedLayoutBuilder.rebuildIfNecessary (package:flutter/src/widgets/layout_builder.dart:299:5)
#10     _RenderLayoutBuilder.performLayout (package:flutter/src/widgets/layout_builder.dart:397:5)
#11     RenderObject.layout (package:flutter/src/rendering/object.dart:2608:7)
#12     AppChildFitterRenderObject.performLayout.<anonymous closure> (package:bug/main.dart:254:14)
#13     RenderObject.invokeLayoutCallback.<anonymous closure> (package:flutter/src/rendering/object.dart:2719:59)
#14     PipelineOwner._enableMutationsToDirtySubtrees (package:flutter/src/rendering/object.dart:1098:15)
#15     RenderObject.invokeLayoutCallback (package:flutter/src/rendering/object.dart:2719:14)
#16     AppChildFitterRenderObject.performLayout (package:bug/main.dart:233:5)
#17     RenderObject.layout (package:flutter/src/rendering/object.dart:2608:7)
#18     RenderView.performLayout (package:flutter/src/rendering/view.dart:281:14)
#19     RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:2446:7)
#20     PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:1052:18)
#21     PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:1065:15)
#22     RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:602:23)
#23     WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:1164:13)
#24     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:468:5)
#25     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1397:15)
#26     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1318:9)
#27     SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:1040:9)
#28     PlatformDispatcher.scheduleWarmUpFrame.<anonymous closure> (dart:ui/platform_dispatcher.dart:837:16)
#32     _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)
(elided 5 frames from class _AssertionError, class _Timer, and dart:async-patch)

The following RenderObject was being processed when the exception was fired: _RenderLayoutBuilder#096db NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
    needs compositing
    parentData: offset=Offset(0.0, 0.0) (can use size)
    constraints: BoxConstraints(w=1280.0, h=138.0)
    size: Size(1280.0, 138.0)
    child: RenderRepaintBoundary#48338 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
        needs compositing
        parentData: offset=Offset(0.0, 0.0) (can use size)
        constraints: BoxConstraints(w=1280.0, h=138.0)
        layer: OffsetLayer#b90bb
            engine layer: OffsetEngineLayer#a8d40
            handles: 2
            offset: Offset(0.0, 0.0)
        size: Size(1280.0, 138.0)
        metrics: 91.7% useful (1 bad vs 11 good)
        diagnosis: this is an outstandingly useful repaint boundary and should definitely be kept
        child: RenderPointerListener#8c8fb NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
            needs compositing
            parentData: <none> (can use size)
            constraints: BoxConstraints(w=1280.0, h=138.0)
            size: Size(1280.0, 138.0)
            behavior: deferToChild
            listeners: signal
            child: RenderSemanticsGestureHandler#5729c NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
                needs compositing
                parentData: <none> (can use size)
                constraints: BoxConstraints(w=1280.0, h=138.0)
                size: Size(1280.0, 138.0)
                behavior: deferToChild
                gestures: <none>
                child: RenderPointerListener#97316 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
                    needs compositing
                    parentData: <none> (can use size)
                    constraints: BoxConstraints(w=1280.0, h=138.0)
                    size: Size(1280.0, 138.0)
                    behavior: deferToChild
                    listeners: down, panZoomStart
RenderObject: _RenderLayoutBuilder#096db NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
    needs compositing
    parentData: offset=Offset(0.0, 0.0) (can use size)
    constraints: BoxConstraints(w=1280.0, h=138.0)
    size: Size(1280.0, 138.0)
    child: RenderRepaintBoundary#48338 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
        needs compositing
        parentData: offset=Offset(0.0, 0.0) (can use size)
        constraints: BoxConstraints(w=1280.0, h=138.0)
        layer: OffsetLayer#b90bb
            engine layer: OffsetEngineLayer#a8d40
            handles: 2
            offset: Offset(0.0, 0.0)
        size: Size(1280.0, 138.0)
        metrics: 91.7% useful (1 bad vs 11 good)
        diagnosis: this is an outstandingly useful repaint boundary and should definitely be kept
        child: RenderPointerListener#8c8fb NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
            needs compositing
            parentData: <none> (can use size)
            constraints: BoxConstraints(w=1280.0, h=138.0)
            size: Size(1280.0, 138.0)
            behavior: deferToChild
            listeners: signal
            child: RenderSemanticsGestureHandler#5729c NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
                needs compositing
                parentData: <none> (can use size)
                constraints: BoxConstraints(w=1280.0, h=138.0)
                size: Size(1280.0, 138.0)
                behavior: deferToChild
                gestures: <none>
                child: RenderPointerListener#97316 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
                    needs compositing
                    parentData: <none> (can use size)
                    constraints: BoxConstraints(w=1280.0, h=138.0)
                    size: Size(1280.0, 138.0)
                    behavior: deferToChild
                    listeners: down, panZoomStart
════════════════════════════════════════════════════════════════════════════════
Reloaded 1 of 709 libraries in 191ms (compile: 11 ms, reload: 73 ms, reassemble: 84 ms).

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.24.3, on Fedora Linux 40 (Workstation Edition) 6.10.12-200.fc40.x86_64, locale en_US.UTF-8)
    • Flutter version 3.24.3 on channel stable at <path-to-flutter>/flutter/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2663184aa7 (5 weeks ago), 2024-09-11 16:27:48 -0500
    • Engine revision 36335019a8
    • Dart version 3.5.3
    • DevTools version 2.37.3

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/to/linux-android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Linux toolchain - develop for Linux desktop
    • clang version 18.1.8 (Fedora 18.1.8-1.fc40)
    • cmake version 3.28.2
    • ninja version 1.12.1
    • pkg-config version 2.1.1

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/to/linux-android-setup for detailed instructions).

[✓] VS Code (version 1.94.1)
    • VS Code at /usr/share/code
    • Flutter extension version 3.98.0

[✓] Connected device (1 available)
    • Linux (desktop) • linux • linux-x64 • Fedora Linux 40 (Workstation Edition) 6.10.12-200.fc40.x86_64

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 3 categories.

@Lurchfresser
Can you switch to latest master and re-run your scenario to check if the reported error still persist or not ?
There has been a related fix so need to confirm if it resolves this error or not.

Hi, sadly the error still persists.
flutter doctor:
Flutter (Channel master, 3.27.0-1.0.pre.67, on Fedora Linux 40 (Workstation Edition) 6.11.3-200.fc40.x86_64, locale en_US.UTF-8)
    • Flutter version 3.27.0-1.0.pre.67 on channel master at <path-to-flutter>/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2430f00a01 (41 minutes ago), 2024-10-16 09:30:34 +0200
    • Engine revision 6b93cf9fbc
    • Dart version 3.7.0 (build 3.7.0-27.0.dev)
    • DevTools version 2.40.1

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/to/linux-android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Linux toolchain - develop for Linux desktop
    • clang version 18.1.8 (Fedora 18.1.8-1.fc40)
    • cmake version 3.28.2
    • ninja version 1.12.1
    • pkg-config version 2.1.1

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/to/linux-android-setup for detailed instructions).

[✓] VS Code (version 1.94.2)
    • VS Code at /usr/share/code
    • Flutter extension version 3.98.0

[✓] Connected device (1 available)
    • Linux (desktop) • linux • linux-x64 • Fedora Linux 40 (Workstation Edition) 6.11.3-200.fc40.x86_64

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 3 categories.

Thanks for checking. I ran the code on macOS desktop and web platforms but was unable to replicate it.

Can you provide a short video when it triggers the error ?

Sorry, maybe I was unclear with the steps to reproduce. You need to resize the window, that the constrains dont fit verticly. Then perform a hot reload
https://github.com/user-attachments/assets/a24fd0c2-1992-4daa-bec6-e0183d12c2a3

The element triggered the assert was the KeyedSubtree with childKey. It appears to be clean and not in dirty list by the time the assert fires. My suspicion is that it's rebuilt twice (maybe once by the AppChildFitterElement?)

Yes, the KeyedSubtree with the childkey is passed to the childfitter builder and then reinserted into the tree. The globalkey is supplied to each, so no state is lost.
The child is first inflated by updateChild and then passed to the renderbox. If the child does not fit the vertical constrains, the childfitter builder gets called and then updateChild is called again with the new Widget.

Hi I had some time to look into this again.
The problem only persists, if a Layoutbuilder exists in the childfitter. If i switch out the LayoutBuilder with a normal builder, no assertion is thrown.
Also the Widget works as expected, the error only occurs on a hot reload or hot restart. I set the initial screen size in linux/my_application.cc and it worked as expected.
If you have questions about my code, i will be happy to try to answer them.
Below is a new minimal reproducible example, where you can uncomment / comment out the two builders.
https://github.com/user-attachments/assets/d156d9dd-df40-4255-85a7-0733680e9210
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: ColoredBox(
          color: Colors.white,
          child: Center(
            child: BugWidget(
              childFitter: (child) =>
                  LayoutBuilder(builder: (context, constrains) {
                // Builder(builder: (context) {
                return Container(
                  decoration: BoxDecoration(
                    border: Border.all(color: Colors.red, width: 20),
                  ),
                  child: SingleChildScrollView(child: child),
                );
              }),
              child: const SizedBox(
                  height: 199,
                  width: 200,
                  child: ColoredBox(
                    color: Colors.blue,
                    child: Center(
                      child: Text(
                        'Hello World',
                        style: TextStyle(
                          color: Colors.white,
                          fontSize: 20.0,
                        ),
                      ),
                    ),
                  )),
            ),
          ),
        ),
      ),
    );
  }
}

/// A Widget with a custom Element and RenderObject, that builds the [child] with the supplied [childFitter]
/// The [Element] relies internally on [GlobalKey]s, so that the subtree can be cached and the state of the child and fitter can be preserved over a frame
/// The [RenderObject] checks if the child fits the constraints, and if not, applies the fitter and re-layouts
/// Using this widget nested or with intrinsic widgets (such as [IntrinsicWidth]) can result in a long build time, as the build time goes up exponentially with amount of intrinsics/ AppChildFitter in the tree
/// Also some Widgets might cause exceptions, when their underlying renderbox does not support getMinIntrinsicHeight, such as [LayoutBuilder] or [GridView]/[ListView]
class BugWidget extends RenderObjectWidget {
  final Widget child;
  final Widget Function(Widget child) childFitter;
  const BugWidget({
    super.key,
    required this.child,
    required this.childFitter,
  });

  @override
  RenderObject createRenderObject(BuildContext context) =>
      BugWidgetRenderObject();

  @override
  RenderObjectElement createElement() => BugWidgetElement(this);
}

class BugWidgetElement extends RenderObjectElement {
  BugWidgetElement(BugWidget super.widget);

  late final GlobalKey childKey;
  late final GlobalKey childFitterKey;

  @override
  BugWidgetRenderObject get renderObject =>
      super.renderObject as BugWidgetRenderObject;

  @override
  void mount(Element? parent, Object? newSlot) {
    super.mount(parent, newSlot);
    // Link this element to the render box
    renderObject.element = this;
    childKey = GlobalKey();
    childFitterKey = GlobalKey();
    // debugPrint("childKey: $childKey");
    // debugPrint("childFitterKey: $childFitterKey");
  }

  @override
  void update(RenderObjectWidget newWidget) {
    renderObject.markNeedsLayout();
    super.update(newWidget);
  }

  @override
  void unmount() {
    // Clean up when unmounting
    renderObject.element = null;
    super.unmount();
  }

  Element? _currentChildElement;
  set currentChildElement(Element? value) {
    if (_currentChildElement == value) {
      return;
    }
    _currentChildElement = value;
  }

  Element? get currentChildElement => _currentChildElement;

  @override
  void visitChildren(ElementVisitor visitor) {
    if (_currentChildElement != null) {
      visitor(_currentChildElement!);
    }
  }

  @override
  void forgetChild(Element child) {
    if (child == _currentChildElement) {
      _currentChildElement = null;
    } else {
      assert(false,
          "Forget child called with child that is not a child. At $this");
    }
    super.forgetChild(child);
  }

  RenderBox? generateWidgetsDuringLayout({bool useFittedChild = false}) {
    //TODO: Sometimes error on hot reload when child changes params
    Widget newChildWidget = KeyedSubtree(
      key: childKey,
      child: (widget as BugWidget).child,
    );

    // Use the childFitter if required
    if (useFittedChild) {
      //TODO: assert, that old child is in subtree
      try {
        //forgetChild(currentChildElement!);
        newChildWidget = KeyedSubtree(
          key: childFitterKey,
          child: (widget as BugWidget).childFitter(newChildWidget),
        );
      } catch (e) {
        FlutterError.reportError(
          FlutterErrorDetails(exception: e, stack: StackTrace.current),
        );
        rethrow;
      }
    }
    owner!.buildScope(this, () {
      // Dynamically generate or update child widgets
      currentChildElement =
          updateChild(currentChildElement, newChildWidget, null)!;
    });

    // return the render object of the child
    //TODO: add checks
    return currentChildElement!.renderObject as RenderBox?;
  }

  @override
  void insertRenderObjectChild(
      covariant RenderObject child, covariant Object? slot) {
    renderObject.box = child as RenderBox;
  }

  @override
  void moveRenderObjectChild(covariant RenderObject child,
      covariant Object? oldSlot, covariant Object? newSlot) {
    renderObject.box = child as RenderBox;
  }

  @override
  void removeRenderObjectChild(
      covariant RenderObject child, covariant Object? slot) {
    if (renderObject.box == child) {
      renderObject.box = null;
    }
  }
}

class BugWidgetRenderObject extends RenderBox {
  BugWidgetElement? element;

  RenderBox? _box;
  RenderBox? get box => _box;
  set box(RenderBox? value) {
    if (_box == value) return;

    if (_box != null) {
      dropChild(_box!);
    }
    _box = value;
    if (_box != null) {
      adoptChild(_box!);
    }
  }

  @override
  void performLayout() {
    //TODO: cache
    //TODO: add checks
    invokeLayoutCallback<BoxConstraints>((constraints) {
      if (element == null) {
        size = constraints.smallest;
        return;
      }
      // First, try to lay out the child normally
      box = element!.generateWidgetsDuringLayout();

      if (box == null) {
        size = constraints.smallest;
        return;
      }
      // Test if the child will fit the height of constraints
      final minIntrinsicHeight =
          box!.getMinIntrinsicHeight(constraints.maxWidth);
      if (minIntrinsicHeight <= constraints.maxHeight) {
        // Child fits, so lay it out normally
        box!.layout(constraints, parentUsesSize: true);
      } else {
        // Child doesn't fit, apply childFitter and re-layout
        box = element!.generateWidgetsDuringLayout(useFittedChild: true);
        box!.layout(constraints, parentUsesSize: true);
        assert(box!.size.width <= constraints.maxWidth,
            "Width overflow in MyTestFitter");
      }
      size = constraints.constrain(box!.size);
    });
  }

  @override
  void paint(PaintingContext context, Offset offset) {
    // Ensure the box (child) is not null before painting
    if (box == null) return;

    context.paintChild(box!, offset);
  }

  @override
  void visitChildren(RenderObjectVisitor visitor) {
    if (box == null) return;

    visitor(box!);
  }

  @override
  bool hitTestChildren(BoxHitTestResult result, {required Offset position}) {
    if (box == null) return false;

    return box!.hitTest(result, position: position);
  }

  @override
  void attach(PipelineOwner owner) {
    super.attach(owner);
    if (_box != null) {
      _box!.attach(owner);
    }
  }

  @override
  void detach() {
    super.detach();
    if (_box != null) {
      _box!.detach();
    }
  }

  @override
  void redepthChildren() {
    if (_box != null) {
      redepthChild(_box!);
    }
    super.redepthChildren();
  }
}


How to add custom classes while preserving the classes in original model

Hi Dusty,
I collected my own data and trained a custom model by following steps in here (https://github.com/dusty-nv/jetson-inference/blob/master/docs/pytorch-collect-detection.md). It works fine. But now I want to add my new classes to ssd_mobilenet-v1. I mean if the ssd_mobilenet has 90 classes I want to make it 92 classes(90 original classes + 2 my own classes) and I couldn't find how.  Can you help me please?

Hi @AgemennoN, that 90-class ssd-mobilenet-coco model came from TensorFlow, whereas the new models are trained in PyTorch, so that model in particular isn't capable of being extended (unless you were to figure it out in TensorFlow which I don't recommend for various reasons)
But lets say you wanted to re-train a PyTorch ssd-mobilenet that was initially trained on the Pascal VOC dataset.  If you made a new dataset in Pascal VOC format with your new data, then trained the model again while keeping the old+new classes in labels.txt, that could in theory work.
However I think the most straightforward way given the train_ssd.py scripts as they exist today, would be to just make one dataset with all your data and train the model that way.  I'm not an expert on training so I'm sure there are better ways, however I just try to use the training scripts that are already working.

Hi, @dusty-nv
Thanks for your answer.
I wanted to try finding a model trained with Pascal VOC dataset. But I have a few more questions

I will use the model as "--pretrained-ssd=mobilenet-v1-ssd-voc" while executing train_ssd.py right?
But what about the "--net" flag. I couldn't understand its purpose.

I couldn't manage to find a ssd-mobilenet trained with Pascal VOC, I believe it doesn't have to be mobilenet so I tried to use FaceBoxesProd.pth from here "https://github.com/zisianw/FaceBoxes.PyTorch". But I guess being a ssd model with trained VOC dataset isn't enough.

In your third option you meant, use a dataset that includes all data including all the 92 classes right?

Thank you in advance

I will use the model as "--pretrained-ssd=mobilenet-v1-ssd-voc" while executing train_ssd.py right?
But what about the "--net" flag. I couldn't understand its purpose.

There's a pretrained PyTorch checkpoint that comes with the repo that was already trained on Pascal VOC.  It's actually the default setting to the --pretrained-ssd argument:  https://github.com/dusty-nv/pytorch-ssd/blob/8ed842a408f8c4a8812f430cf8063e0b93a56803/train_ssd.py#L51
The --net flag changes the network architecture, not the model.  Keep it as --net=mb1-ssd (the default)

So, if I create a label.txt file with a few class from pretrained model with my new classes, then I can train a new model only with my new classes, in theory it should detect the objects in the label.txt file. Is that correct?

I'm not entirely sure, but I think the new labels.txt would need to have all the old classes (in the same order), in addition to your new classes.   If you changed the structure/order of the old classes, you would need to re-train those too.

@AgemennoN You manage to use the previous pretrained data with new data?
Thanks


Tweak README.md

Made it less redundant.

Coverage remained the same at 93.924% when pulling 65015b87da74850980dd5f39ad1167f7a6e72697 on pjcozzi-patch-1 into db27abc0a1dfda194e2b82d8d34341d10de782e7 on master.

I also downplayed the usage as a client-side JavaScript library since it is incomplete and we do not have the time to focus on it; it would be a welcomed external contribution.

Coverage remained the same at 93.924% when pulling c9f2afc6836ca6143a40fd3570b61f8ee78159b5 on pjcozzi-patch-1 into db27abc0a1dfda194e2b82d8d34341d10de782e7 on master.

Coverage remained the same at 93.924% when pulling c9f2afc6836ca6143a40fd3570b61f8ee78159b5 on pjcozzi-patch-1 into db27abc0a1dfda194e2b82d8d34341d10de782e7 on master.

Removed instructions and browserify build.  Implicitly fixes #12.


Github actions set-output being deprecated soon.

looks like nx-set-shas is using set-output command, that will be deprecated soon.

nvm this is gone in v3.


Allow unarchive of encrypted zip files - More tests

These changes are backported from the 'fork' at https://github.com/zio/zio-streams-compress.
Also:

The brotli4j native library needs to be loaded first. Immediately calling Brotli4jLoader.ensureAvailability can fail.

@lhns Unfortunately the unarchive tests I added fail. I do not see what is going on though. Could you take a look please?

@lhns Unfortunately the unarchive tests I added fail. I do not see what is going on though. Could you take a look please?

I think I found it. But I still see a lot of exceptions being logged. So something is still not right.

But I still see a lot of exceptions being logged. So something is still not right.

@lhns The build passes, but are these logged 'exceptions' expected? e.g. this one: https://github.com/lhns/fs2-compress/actions/runs/11456601729/job/31875090199?pr=161#step:5:337

I debugged this a bit and there seem to be two problems. The first one is that I should probably use munit interceptIO instead of .fail to hide the errors of tests that I expect to fail anyway. The second one is that errors thrown in finalizers like tarOutputStream.closeArchiveEntry() does are printed to stderr in IO by ec.reportFailure. The second one was a bit unexpected for me so I'm not sure yet what to do about this. I don't want to ignore the exceptions. Im am currently trying around with Stream.onComplete. Another problem when using interceptIO will be that fs2 produces CompositeFailures in some places which I also didn't expect. I don't really want to deal with them and would rather just throw the first exception. Still fiddling around though.


⚠ SceneTime has degraded performance

In fbf6f21, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 3777 ms

Resolved: SceneTime performance has improved in 906467d after 12 minutes.


major improvements to the MimerSQLDialect

This patch makes MimerSQLDialect usable.

Fixed the type mappings which were broken:

BLOBs are not VARBINARY as far as JDBC knows
CLOBs are not VARCHAR as far as JDBC knows
there were instances of $1 instead of $l

Use CommonFunctionFactory for SQL function registration

and remove registrations for functions that were removed from Mimer in 11.

Update the sequence syntax for Mimer 11 and support pooled sequences

Closing since I have now merged these changes into a new branch.


Deploy test 2 for django-web-app

Description

Added Separate project for congniguard web app.
PostgreSQL DB using supabase configured
Home app contains DarkPatternsData models.py
Rest conf remain same

#24 issue regarding deployment


proto: Investigate migrating to Google's Go code generator

At present we make use of https://github.com/cosmos/gogoproto to generate our Go code from our Protobuf definitions. Even though the project from which it was forked (https://github.com/gogo/protobuf) has been deprecated some time ago, and the same for the project from which gogoproto was forked (https://github.com/golang/protobuf), the Cosmos gogoproto fork is maintained by the SDK team.
It would, however, be valuable to investigate the impact of migrating to Google's official Go code generator (https://pkg.go.dev/google.golang.org/protobuf). See https://go.dev/blog/protobuf-apiv2 for context.
See also https://github.com/cosmos/cosmos-sdk/issues/7488 for the SDK's deliberations on this front - it provides valuable context.
Definition of Done
When we have a feature branch that demonstrates the pragmatic impact of migrating to Google's Go code generator. We especially need to quantify the impact on:

Our Go APIs
Our RPC and JSON serialization
Which user(s) this affects

Once we have quantified this impact, and if the impact is manageable, follow-up work should involve coordinating the release of this change - especially with the Cosmos SDK team.

I've spent a little time investigating what this entails here, and it appears as though gogoproto is, unfortunately, very deeply embedded throughout the codebase:

Many parts of the codebase rely on functions generated specifically by gogoproto (comparators, equality operations, etc.). We would need to manually re-implement this functionality across many different types. For example: https://github.com/cometbft/cometbft/blob/feac56b6297eb0dd800d5e35b9c04a848758c612/proto/tendermint/types/params.proto#L9
In cases where we have message fields whose types are other messages, the gogoproto annotations control whether the generated code refers to a value or a pointer. Google's Go code generator actually produces structs that do not allow themselves to be copied - on purpose. This, imho, is the correct way of making use of these structs. But blindly changing our usage here by value to pointer may introduce new race conditions, and re-evaluating all the usages of these structs may take quite some time. But maybe the race detector will help us here?
There are a handful of places where we explicitly make use of gogo types in marshalling/unmarshalling data. We would need to re-implement these types manually. For example: https://github.com/cometbft/cometbft/blob/feac56b6297eb0dd800d5e35b9c04a848758c612/evidence/pool.go#L340

Marking the spike/investigation as done here. If we want to actually do the migration, we should open a separate issue.


feat: Use .prettierrc.js

This way it's more similar to eslint.

Being more similar to ESLint isn't a good enough reason for this change. Currently, it's more similar to Babel, Jest, Webpack. ESLint is the outlier.

Fair enough.


[BACKEND] Fix an ICE with the pipeliner

During pipelining operations that do not depend on or being dependent by anchor operations are considered remaining ops and will be scheduled into the last stage. These ops do not present in the existing stages but can be visited by other staged ops. Fixing an ICE when looking for clusters for them.

What does ICE mean?

What does ICE mean?

I mean internal compiler error. Sorry for the confusion. I should just say a issue :)

This looks reasonable to me. I wonder if we can further reduce the test case.

Thanks for fixing the bug! +1 to the @manman-ren request of coming up with simpler lit reproducer.

Test reduced.

Thanks for reducing the test case. LGTM

This also fixes https://github.com/pytorch/pytorch/issues/129625

Are there any labels / tracking needed to get this cherry-picked into the release branch?


Address several runc issues and security updates

How to categorize this PR?

/kind bug
/area os
/os garden-linux
/priority normal
What this PR does / why we need it:
bug fixes, security fixes
Which issue(s) this PR fixes:
Fixes

https://github.com/gardenlinux/gardenlinux/issues/251
https://security-tracker.debian.org/tracker/CVE-2021-30465
bind9: https://security-tracker.debian.org/tracker/CVE-2020-8625

Special notes for your reviewer:
Release note:

Update runc to fix #251 and security fixes (CVE-2021-30465, CVE-2021-30465).

Should't this PR be opened to the rel-318 branch?

wrong branch

I switched it to the right branch.

me too :-)


Option to strip cell magic when importing a Jupyter Notebook

This request is related to https://github.com/microsoft/vscode-python/issues/6005#issue-455619048
Python linting fails with Undefined variable for imported notebooks where a variable is defined in a "magic" cell and where the variable is then referenced in another non-"magic" cell.
This is because the import causes the code in the "magic" cell to be stringified and passed to the ipython interpreter like so:
get_ipython().run_cell_magic('<magic>', '', '<code>')

So pylint doesn't see the variable definition and so thinks the variable is still undefined in the next cell.
I suggest adding an option to strip cell magic when importing a Jupyter Notebook. This way variable definitions wouldn't be lost on pylint. I'm sure a lot of similar linting errors would also be avoided in the same way.

@Wenzil. Thanks for the report on this. We're looking at some options moving forward with how we handle magics (they also mess with our debugging cells due to the same magic => get_ipython mapping) so hopefully we'll get a fix for this soon.

@Wenzil thanks for the suggestion! We run nbconvert behind the scene when importing notebooks.  To ensure the generated code is valid Python, we don't touch the generated code.


TypeScript types do not reflect the current API

There seems to be a bit of confusion when using the API. According to the samples in readme:
const fakeURL = 'ws://localhost:8080';
const mockServer = new Server(fakeURL);

mockServer.on('connection', socket => {
  socket.send('test message from mock server');
  socket.on('message', data => {
    console.log('message from client', data);
  });
});

But when using in a TS env, the socket.on() does not exist. And it kind of makes sense since the socket is actually a WebSocket and it does not have that method.
But if I cast the socket to any and try the example it actually works. So that's a bit confusing and it will currently not work in TS.
Moreover, the fact that TS gave me an error when compiling made me try to use the socket.onmessage property to listen to messages sent to the server from the client. But that's actually not the case, as it actually receives the messages sent to the client from the server:
const fakeURL = 'ws://localhost:8080';
const mockServer = new Server(fakeURL);

mockServer.on('connection', socket => {
  socket.onmessage = data => {
    console.log(data) // data will be the message I send in my next call
  }

  socket.send('test message from mock server');
});

Moreover, I'd expect mockServer.on('message') would receive messages from any/all clients, but that is again not the case:
const fakeURL = 'ws://localhost:8080';
const mockServer = new Server(fakeURL);

mockServer.on('connection', socket => {
  (socket as any).on('message', data => {
    console.log('message from client', data);
  });
  mockServer.on('message', data => {
    console.log(data); // never got any messages
  });
});

// send message from client

Maybe it might be worth to have a Client interface which is what WebSocket currently is in the callback of on('connect', ...):
declare module 'mock-socket' {
    class WebSocket extends EventTarget {
        constructor(url?: USVString, protocols?: string | string[]);

        readonly url: USVString;

        readonly CONNECTING: 0;
        readonly OPEN: 1;
        readonly CLOSING: 2;
        readonly CLOSED: 3;
        readonly readState: number;
        readonly bufferedAmount: number;

        onopen: EventHandlerNonNull;
        onerror: EventHandlerNonNull;
        onclose: EventHandlerNonNull;
        readonly extensions: string;
        readonly protocol: string;
        close(code?: number, reason?: string): void;

        onmessage: EventHandlerNonNull;
        binaryType: BinaryType;
        send(data: USVString | Blob | ArrayBuffer | ArrayBufferView): void;
    }

    class Client extends WebSocket {
        on(event: 'message', cb: (data: any) => void): void;
        on(type: 'close', callback: (evt: CloseEvent) => void): void;
    }

    class Server extends EventTarget {
        constructor(url: USVString, options?: ServerOptions);

        readonly options?: ServerOptions;

        start(): void;
        stop(callback: () => void): void;

        on(type: 'connection', callback: (client: Client) => void): void;
        on(type: 'message', callback: (data: any) => void): void; // receives messages from all clients
        on(type: 'close', callback: (evt: CloseEvent) => void): void;
        close(options: CloseOptions): void;
        emit(event: Event, data: any, options: EmitOptions): void;

        clients(): Client[];
        to(room: any, broadcaster: any, broadcastList: object): ToReturnObject;
        in(room: any): ToReturnObject;
        simulate(event: Event): void;

        of(url: USVString): Server;
    }
    interface CloseOptions {
        code: number;
        reason: string;
        wasClean: boolean;
    }

    interface EmitOptions {
        clients: Client[];
    }

    interface ToReturnObject {
        to: (chainedRoom: any, chainedBroadcaster: any) => ToReturnObject;
        emit(event: Event, data: any): void;
    }

    interface ServerOptions {
        verifyClient: () => any;
        selectProtocol: () => any;
    }
}

And have the same behaviour for client.onmessage as client.on('message') to be consistent (same for socket.onclose and socket.on('close')).
Also note that in the readme you have:
mockServer.emit('room', 'message');

But the typings are different for this method:
emit(event: Event, data: any, options: EmitOptions): void;

The types are also missing SocketIO from the .d.ts file.
Error:(1, 18) TS2305: Module ''mock-socket'' has no exported member 'SocketIO'.

I receive a lot of:

error TS2339: Property 'on' does not exist on type 'WebSocket'

This is terrible.

The PR #254 should have fixed this, but we would need the package to be published to make use of it. I am currently using patch-package to patch the index.d.ts file.
@thoov could this be done :smile: ?

Fixed in https://github.com/thoov/mock-socket/pull/254


Automated cherry pick of #7808: fix: check assign-host previliges

Cherry pick of #7808 on release/3.4.
#7808: fix: check assign-host previliges

/lgtm
/approve


Customize Palette and Canvas Size

Allow users to customize the palette and size of the canvas.

Maybe this is an import from Lospec


Crusader's Mantle freezes game

I used Crusader's Mantle for the first time (several times, in different locations). Upon activating it,  I go the "Solasta has detected an instability" dialogue and the action never completes (the UI never comes back).
Mantle.zip

It looks like the effect chosen for this spell is causing that. Effect removed.


transition: when we select a node, we should search for lines/paths that uses this node and show them in a popup or on the side panel

This is completed, the lines/paths are shown on the side panel