@conda-forge-admin, please add user @PeterC-DLS

[ ] I read the conda-forge documentation and could not find the solution for my problem there.

Issue:

Environment (conda list):

$ conda list

Details about  conda and system ( conda info ):

$ conda info

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added user @PeterC-DLS in conda-forge/swmr-tools-feedstock#6.


"error: cannot find symbol method replaceDocument()" for AzureData.replaceDocument()

Does Replace method not exist for documents or am I doing something wrong?

@thebsk Is this what you're looking for?  https://github.com/Azure/Azure.Android/blob/52c7269561fa51a743f99c9a8436300bbe7cc884/azuredata/src/main/java/com/azure/data/AzureData.kt#L234
https://github.com/Azure/Azure.Android/blob/52c7269561fa51a743f99c9a8436300bbe7cc884/azuredata/src/main/java/com/azure/data/AzureData.kt#L239


Why does this change from a text link to a logo?

@leomcelroy so I understand the issue is the new game changes from a text link to a logo? When does that happen? I am having a hard time duplicating it.

When not logged in on the main page it is written in text.

When you are not logged in, it appears written because some people were thinking that the login was done via GitHub due to the proximity to the login button

Alright.


Strange Pose fitting results when using OpenPose J2D input

Hi man, I changed your Deepcut joint input to OpenPose 18 joints.
I removed the Head_top joint of DeepCut and mapped the nose_vertex_ID to openpose nose joint.
I only changed the codes in util.py and smpl_batch.py didn't touch frame_fit.py.
The result of frame_006 looks strange:

the right one use ur original DeepCut input is:

The print output is:
./gen_run_jobs_1.sh
0
../Data/HEVA_Validate/S1_Box_1_C1/Image/frame0006.png
Tensor("strided_slice_136:0", shape=(1, 13, 3), dtype=float32)
WARNING:tensorflow:From frame_fit.py:92: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.
2020-09-22 14:22:43.737382: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcuda.so.1
2020-09-22 14:22:43.801989: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1640] Found device 0 with properties:
name: GeForce GTX 1080 Ti major: 6 minor: 1 memoryClockRate(GHz): 1.582
pciBusID: 0000:05:00.0
2020-09-22 14:22:43.803034: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1640] Found device 1 with properties:
name: GeForce GTX 1080 Ti major: 6 minor: 1 memoryClockRate(GHz): 1.582
pciBusID: 0000:06:00.0
2020-09-22 14:22:43.804058: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1640] Found device 2 with properties:
name: GeForce GTX 1080 Ti major: 6 minor: 1 memoryClockRate(GHz): 1.582
pciBusID: 0000:09:00.0
2020-09-22 14:22:43.804240: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'libcudart.so.10.0'; dlerror: libcudart.so.10.0: cannot open shared object file: No such file or directory
2020-09-22 14:22:43.804335: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'libcublas.so.10.0'; dlerror: libcublas.so.10.0: cannot open shared object file: No such file or directory
2020-09-22 14:22:43.804423: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'libcufft.so.10.0'; dlerror: libcufft.so.10.0: cannot open shared object file: No such file or directory
2020-09-22 14:22:43.804510: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'libcurand.so.10.0'; dlerror: libcurand.so.10.0: cannot open shared object file: No such file or directory
2020-09-22 14:22:43.804599: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'libcusolver.so.10.0'; dlerror: libcusolver.so.10.0: cannot open shared object file: No such file or directory
2020-09-22 14:22:43.804686: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'libcusparse.so.10.0'; dlerror: libcusparse.so.10.0: cannot open shared object file: No such file or directory
2020-09-22 14:22:43.807522: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudnn.so.7
2020-09-22 14:22:43.807549: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1663] Cannot dlopen some GPU libraries. Skipping registering GPU devices...
2020-09-22 14:22:43.807838: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2020-09-22 14:22:44.152283: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x557cfd57c100 executing computations on platform CUDA. Devices:
2020-09-22 14:22:44.152340: I tensorflow/compiler/xla/service/service.cc:175] StreamExecutor device (0): GeForce GTX 1080 Ti, Compute Capability 6.1
2020-09-22 14:22:44.152359: I tensorflow/compiler/xla/service/service.cc:175] StreamExecutor device (1): GeForce GTX 1080 Ti, Compute Capability 6.1
2020-09-22 14:22:44.152373: I tensorflow/compiler/xla/service/service.cc:175] StreamExecutor device (2): GeForce GTX 1080 Ti, Compute Capability 6.1
2020-09-22 14:22:44.175759: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency:<PHONE_NUMBER> Hz
2020-09-22 14:22:44.176515: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x557cfc112f80 executing computations on platform Host. Devices:
2020-09-22 14:22:44.176566: I tensorflow/compiler/xla/service/service.cc:175] StreamExecutor device (0): ,
2020-09-22 14:22:44.176735: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1181] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-09-22 14:22:44.176770: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1187]
WARNING:tensorflow:From frame_fit.py:93: The name tf.global_variables_initializer is deprecated. Please use tf.compat.v1.global_variables_initializer instead.

2020-09-22 14:22:44.234960: W tensorflow/compiler/jit/mark_for_compilation_pass.cc:1412] (One-time warning): Not using XLA:CPU for cluster because envvar TF_XLA_FLAGS=--tf_xla_cpu_global_jit was not set. If you want XLA:CPU, either set that envvar, or use experimental_jit_scope to enable XLA:CPU. To confirm that XLA is active, pass --vmodule=xla_compilation_cache=1 (as a proper command-line flag, not via TF_XLA_FLAGS) or set the envvar XLA_FLAGS=--xla_hlo_profile.

RUNNING THE L-BFGS-B CODE

   * * *

Machine precision = 2.220D-16
N = 6 M = 10

This problem is unconstrained.

At X0 0 variables are exactly at the bounds

At iterate 0 f= 3.32008D+04 |proj g|= 5.35095D+04

At iterate 1 f= 5.12031D+03 |proj g|= 7.11054D+03

At iterate 2 f= 3.77815D+03 |proj g|= 5.47154D+03

At iterate 3 f= 2.42080D+03 |proj g|= 3.95927D+03

At iterate 4 f= 1.36007D+03 |proj g|= 3.27027D+03

At iterate 5 f= 7.52664D+02 |proj g|= 9.48627D+02

At iterate 6 f= 6.89472D+02 |proj g|= 1.83354D+02

At iterate 7 f= 6.84448D+02 |proj g|= 1.01980D+02

At iterate 8 f= 6.76808D+02 |proj g|= 1.95080D+02

At iterate 9 f= 6.55143D+02 |proj g|= 1.02498D+03

At iterate 10 f= 5.22447D+02 |proj g|= 1.65344D+03

At iterate 11 f= 3.32857D+02 |proj g|= 2.76960D+03

At iterate 12 f= 2.82925D+02 |proj g|= 2.34534D+03

At iterate 13 f= 1.92021D+02 |proj g|= 5.68519D+02

At iterate 14 f= 1.68120D+02 |proj g|= 3.90624D+02

At iterate 15 f= 1.62494D+02 |proj g|= 2.04222D+02

At iterate 16 f= 1.56634D+02 |proj g|= 1.65284D+02

At iterate 17 f= 1.49091D+02 |proj g|= 1.42732D+02

At iterate 18 f= 1.45896D+02 |proj g|= 2.77377D+02

At iterate 19 f= 1.45014D+02 |proj g|= 4.93933D+01

At iterate 20 f= 1.44913D+02 |proj g|= 6.80469D+00

       * * *

Tit = total number of iterations
Tnf = total number of function evaluations
Tnint = total number of segments explored during Cauchy searches
Skip = number of BFGS updates skipped
Nact = number of active bounds at final generalized Cauchy point
Projg = norm of the final projected gradient
F = final function value

       * * *

N Tit Tnf Tnint Skip Nact Projg F
6 20 25 1 0 0 6.805D+00 1.449D+02
F =<PHONE_NUMBER>9687500

CONVERGENCE: REL_REDUCTION_OF_F_<=_FACTR*EPSMCH

Cauchy time 0.000E+00 seconds.
Subspace minimization time 0.000E+00 seconds.
Line search time 0.000E+00 seconds.

Total User time 0.000E+00 seconds.

RUNNING THE L-BFGS-B CODE

       * * *

Machine precision = 2.220D-16
N = 85 M = 10
This problem is unconstrained.

At X0 0 variables are exactly at the bounds

At iterate 0 f= 5.09612D+04 |proj g|= 2.31368D+04

At iterate 1 f= 4.88808D+04 |proj g|= 2.98825D+04

At iterate 2 f= 4.70862D+04 |proj g|= 2.49123D+04

At iterate 3 f= 4.32866D+04 |proj g|= 2.85334D+04

At iterate 4 f= 4.06109D+04 |proj g|= 2.34374D+04

At iterate 5 f= 3.98855D+04 |proj g|= 4.84759D+03

At iterate 6 f= 3.95298D+04 |proj g|= 4.49670D+03

At iterate 7 f= 3.85606D+04 |proj g|= 1.30690D+04

At iterate 8 f= 3.79381D+04 |proj g|= 8.20185D+03

At iterate 9 f= 3.73606D+04 |proj g|= 2.97926D+03

At iterate 10 f= 3.68244D+04 |proj g|= 7.99022D+03

At iterate 11 f= 3.63427D+04 |proj g|= 6.89147D+03

At iterate 12 f= 3.58900D+04 |proj g|= 5.91139D+03

At iterate 13 f= 3.56545D+04 |proj g|= 9.22863D+03

At iterate 14 f= 3.54833D+04 |proj g|= 1.25315D+04

At iterate 15 f= 3.53099D+04 |proj g|= 3.23353D+03

At iterate 16 f= 3.51866D+04 |proj g|= 2.60039D+03

At iterate 17 f= 3.49947D+04 |proj g|= 7.10795D+03

At iterate 18 f= 3.47829D+04 |proj g|= 5.58012D+03

At iterate 19 f= 3.46971D+04 |proj g|= 9.31179D+03

At iterate 20 f= 3.45636D+04 |proj g|= 3.14364D+03

At iterate 21 f= 3.45150D+04 |proj g|= 8.36188D+02

At iterate 22 f= 3.44934D+04 |proj g|= 1.46735D+03

       * * *

Tit = total number of iterations
Tnf = total number of function evaluations
Tnint = total number of segments explored during Cauchy searches
Skip = number of BFGS updates skipped
Nact = number of active bounds at final generalized Cauchy point
Projg = norm of the final projected gradient
F = final function value

       * * *

N Tit Tnf Tnint Skip Nact Projg F
85 22 25 1 0 0 1.467D+03 3.449D+04
F = 34493.414062500000

CONVERGENCE: REL_REDUCTION_OF_F_<=_FACTR*EPSMCH

Cauchy time 0.000E+00 seconds.
Subspace minimization time 0.000E+00 seconds.
Line search time 0.000E+00 seconds.

Total User time 0.000E+00 seconds.

We can see in the second optimizing round, the F value is big but almost not change, which finally results in converging.
The actor's left arm cannot be optimized until the last. Could you give me any advice about where is the problem?
Update: the problem seems like the 2nd optimization falls into the local minimum problems thus ends too early.
In some frames, such as frame 30, It runs good, 65 iterations and I got the same result with deep-cut input since its optimization.
Could you help me to figure out why the optimization always ends up with D+04, such a big f value?

One more point is about the joint weight. where did you set each joint weight?
Since the openpose hip and nect joints are far away from SMPL's, I want to set their weights as 0, like SMPLifyx did in https://github.com/vchoutas/smplify-x/blob/d0d096f6a1edb85ddc398a8d4e2005dc3b7f19ff/smplifyx/data_parser.py#L162

I fixed this problem.
I'll open a PR of using openpose joints afterward.

I fixed this problem.
I'll open a PR of using openpose joints afterward.

Looking forward to your code!!

Hi @wine3603, great job on using OpenPose inputs! I'm trying to do the same but having some trouble (unsure what exactly to modify in util.py and smpl_batch.py), so I was wondering if you made any progress on that PR?

Hi @wine3603, great job on using OpenPose inputs! I'm trying to do the same but having some trouble (unsure what exactly to modify in util.py and smpl_batch.py), so I was wondering if you made any progress on that PR?

@wine3603 Did you use these SMPL joint IDs for the OpenPose 18 joints?
And for the nose, eyes, and ears, I believe that we would need to map them to SMPL vertices listed vertex_ids.py in the SMPLX code, correct?


Building decoder-only now requires cms again

Migrating to the latest libjxl commit in Gecko fails with:
 0:32.23 D:/gecko/third_party/jpeg-xl/lib/jxl/cms/jxl_cms.cc(38,10): fatal error: 'lcms2.h' file not found
 0:32.23    38 | #include "lcms2.h"
 0:32.23       |          ^~~~~~~~~

This is probably done by https://github.com/libjxl/libjxl/pull/2927. Is there still a way to build the decoder without CMS?

Hello. Do you want decoder without CMS or without dependency to lcms? If the latest, then you should build with -DJPEGXL_ENABLE_SKCMS=ON, and -DJPEGXL_BUNDLE_SKCMS=ON.

But that then enables lkcms, when Gecko has its own in the decoder system. Can we skip CMS at all?

How did it work before the CMS work?

Oh, I see the point. I'll check if we can add "no-cms" build option, that will exclude skcms/lcms parts from jxl_cms

https://github.com/libjxl/libjxl/pull/3047

Perfect, thanks!


added 0/1 knapsack algorithm in c++

It fixes #141

Thanks for contributing!

Please follow the Contributing Guidelines accordingly. 🙂
Please NOTE: In case, same implementation of an algorithm is submitted by someone else and it gets accepted, then your contribution won't be merged ( to avoid duplicates )


#150: static pages

ready for review now

Hi Brenda, this is great to at least get the content on there. Could you add some styling to make the content a little more presentable? Like containers for the text, making the profile images circles, etc. Some spice to make things a little more appealing?

Hi Brenda, this is great to at least get the content on there. Could you add some styling to make the content a little more presentable? Like containers for the text, making the profile images circles, etc. Some spice to make things a little more appealing?

Yeah I'll work on it!

Repeated text, but updated images
Android studio's phone stimulator refused to work so Ive been using Microsoft edge to edit. Hopefully it doesn't make too much of a difference.
Also, I'm not really sure what to do with the flutter test failing. It says this:
The following assertion was thrown while running async test code:
Golden "goldens/settings_about_screen_view.png": Pixel test failed, 18.60% diff detected.
Failure feedback can be found at
/Users/runner/work/quack/quack/quack_app/test/screens/settings/subscreens/failures

I tested out flutter test on my local and everything failed. Do I just need to add something to the specific file in the test folder in order to work on the github tests?
Updated Images!!!
(ignore the "Back", that's from something else)

@brendacano thanks! There are a lot of styling violations if you look at the Problems tab in VSCode (see screenshot) it shows you and you can hover each one to see a suggested fix.

As per broken tests, I can jump in and update the changed screens so that the tests pass again once you are ready to merge.

@brendacano thanks! There are a lot of styling violations if you look at the Problems tab in VSCode (see screenshot) it shows you and you can hover each one to see a suggested fix. Normally not a big deal, but since this is how we can find TODO statements easily, it is a bit much to just leave in. Only worry about the "problems" in the files you changed.
.
As per broken tests, I can jump in and update the changed screens so that the tests pass again once you are ready to merge.

Okay I fixed all the "problems"

@brendacano, on attempt to fix the tests I got this error: Your UI is overflowing off the page. One fix is to simply reduce the content on the page. Fix 2 is making it scrollable

00:08 +0: /Users/apollo/emory/fall-2021/CS370/quack/quack_app/test/screens/settings/subscreens/food_preferences_screen_test.dart: Food Preferences Screen Test settings_food_preferences_screen_view
══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
The following assertion was thrown during layout:
A RenderFlex overflowed by 18 pixels on the bottom.

The relevant error-causing widget was:
  Column
  Column:file:///Users/apollo/emory/fall-2021/CS370/quack/quack_app/lib/screens/settings/subscreens/food_preferences_screen.dart:25:20

The overflowing RenderFlex has an orientation of Axis.vertical.
The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and
black striped pattern. This is usually caused by the contents being too big for the RenderFlex.
Consider applying a flex factor (e.g. using an Expanded widget) to force the children of the
RenderFlex to fit within the available space instead of being sized to their natural size.
This is considered an error condition because it indicates that there is content that cannot be
seen. If the content is legitimately bigger than the available space, consider clipping it with a
ClipRect widget before putting it in the flex, or using a scrollable container rather than a Flex,
like a ListView.
The specific RenderFlex in question is: RenderFlex#4eb46 NEEDS-LAYOUT OVERFLOWING:
  creator: Column ← ConstrainedBox ← Container ← Center ← _BodyBuilder ← MediaQuery ←
    LayoutId-[<_ScaffoldSlot.body>] ← CustomMultiChildLayout ← AnimatedBuilder ← DefaultTextStyle ←
    AnimatedDefaultTextStyle ← _InkFeatures-[GlobalKey#7b489 ink renderer] ← ⋯
  parentData: <none> (can use size)
  constraints: BoxConstraints(w=800.0, h=544.0)
  size: Size(800.0, 544.0)
  direction: vertical
  mainAxisAlignment: start
  mainAxisSize: max
  crossAxisAlignment: center
  verticalDirection: down
◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤
════════════════════════════════════════════════════════════════════════════════════════════════════
00:08 +0 -1: /Users/apollo/emory/fall-2021/CS370/quack/quack_app/test/screens/settings/subscreens/food_preferences_screen_test.dart: Food Preferences Screen Test settings_food_preferences_screen_view [E]
  Test failed. See exception logs above.
  The test description was: settings_food_preferences_screen_view

00:08 +0 -1: loading /Users/apollo/emory/fall-2021/CS370/quack/quack_app/test/screens/settings/subscreens/food_preferences_screen_test.dart
Warning: At least one test in this suite creates an HttpClient. When
running a test suite that uses TestWidgetsFlutterBinding, all HTTP
requests will return status code 400, and no network request will
actually be made. Any test expecting a real network connection and
status code will fail.
To test code that needs an HttpClient, provide your own HttpClient
implementation to the code under test, so that your test can
consistently provide a testable response to the code under test.
00:08 +3 -1: /Users/apollo/emory/fall-2021/CS370/quack/quack_app/test/screens/settings/subscreens/about_screen_test.dart: About Screen Test settings_about_screen_view
══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
The following assertion was thrown during layout:
A RenderFlex overflowed by 150 pixels on the bottom.

The relevant error-causing widget was:
  Column
  Column:file:///Users/apollo/emory/fall-2021/CS370/quack/quack_app/lib/screens/settings/subscreens/about_screen.dart:20:18

The overflowing RenderFlex has an orientation of Axis.vertical.
The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and
black striped pattern. This is usually caused by the contents being too big for the RenderFlex.
Consider applying a flex factor (e.g. using an Expanded widget) to force the children of the
RenderFlex to fit within the available space instead of being sized to their natural size.
This is considered an error condition because it indicates that there is content that cannot be
seen. If the content is legitimately bigger than the available space, consider clipping it with a
ClipRect widget before putting it in the flex, or using a scrollable container rather than a Flex,
like a ListView.
The specific RenderFlex in question is: RenderFlex#7264e NEEDS-LAYOUT NEEDS-PAINT OVERFLOWING:
  creator: Column ← ConstrainedBox ← Container ← Center ← _BodyBuilder ← MediaQuery ←
    LayoutId-[<_ScaffoldSlot.body>] ← CustomMultiChildLayout ← AnimatedBuilder ← DefaultTextStyle ←
    AnimatedDefaultTextStyle ← _InkFeatures-[GlobalKey#b09f0 ink renderer] ← ⋯
  parentData: <none> (can use size)
  constraints: BoxConstraints(w=800.0, h=544.0)
  size: Size(800.0, 544.0)
  direction: vertical
  mainAxisAlignment: start
  mainAxisSize: max
  crossAxisAlignment: center
  verticalDirection: down
◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤
════════════════════════════════════════════════════════════════════════════════════════════════════
00:08 +3 -2: /Users/apollo/emory/fall-2021/CS370/quack/quack_app/test/screens/settings/subscreens/about_screen_test.dart: About Screen Test settings_about_screen_view [E]
  Test failed. See exception logs above.
  The test description was: settings_about_screen_view

@brendacano, on attempt to fix the tests I got this error: Your UI is overflowing off the page. One fix is to simply reduce the content on the page. Fix 2 is making it scrollable

00:08 +0: /Users/apollo/emory/fall-2021/CS370/quack/quack_app/test/screens/settings/subscreens/food_preferences_screen_test.dart: Food Preferences Screen Test settings_food_preferences_screen_view
══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
The following assertion was thrown during layout:
A RenderFlex overflowed by 18 pixels on the bottom.

The relevant error-causing widget was:
  Column
  Column:file:///Users/apollo/emory/fall-2021/CS370/quack/quack_app/lib/screens/settings/subscreens/food_preferences_screen.dart:25:20

The overflowing RenderFlex has an orientation of Axis.vertical.
The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and
black striped pattern. This is usually caused by the contents being too big for the RenderFlex.
Consider applying a flex factor (e.g. using an Expanded widget) to force the children of the
RenderFlex to fit within the available space instead of being sized to their natural size.
This is considered an error condition because it indicates that there is content that cannot be
seen. If the content is legitimately bigger than the available space, consider clipping it with a
ClipRect widget before putting it in the flex, or using a scrollable container rather than a Flex,
like a ListView.
The specific RenderFlex in question is: RenderFlex#4eb46 NEEDS-LAYOUT OVERFLOWING:
  creator: Column ← ConstrainedBox ← Container ← Center ← _BodyBuilder ← MediaQuery ←
    LayoutId-[<_ScaffoldSlot.body>] ← CustomMultiChildLayout ← AnimatedBuilder ← DefaultTextStyle ←
    AnimatedDefaultTextStyle ← _InkFeatures-[GlobalKey#7b489 ink renderer] ← ⋯
  parentData: <none> (can use size)
  constraints: BoxConstraints(w=800.0, h=544.0)
  size: Size(800.0, 544.0)
  direction: vertical
  mainAxisAlignment: start
  mainAxisSize: max
  crossAxisAlignment: center
  verticalDirection: down
◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤
════════════════════════════════════════════════════════════════════════════════════════════════════
00:08 +0 -1: /Users/apollo/emory/fall-2021/CS370/quack/quack_app/test/screens/settings/subscreens/food_preferences_screen_test.dart: Food Preferences Screen Test settings_food_preferences_screen_view [E]
  Test failed. See exception logs above.
  The test description was: settings_food_preferences_screen_view

00:08 +0 -1: loading /Users/apollo/emory/fall-2021/CS370/quack/quack_app/test/screens/settings/subscreens/food_preferences_screen_test.dart
Warning: At least one test in this suite creates an HttpClient. When
running a test suite that uses TestWidgetsFlutterBinding, all HTTP
requests will return status code 400, and no network request will
actually be made. Any test expecting a real network connection and
status code will fail.
To test code that needs an HttpClient, provide your own HttpClient
implementation to the code under test, so that your test can
consistently provide a testable response to the code under test.
00:08 +3 -1: /Users/apollo/emory/fall-2021/CS370/quack/quack_app/test/screens/settings/subscreens/about_screen_test.dart: About Screen Test settings_about_screen_view
══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
The following assertion was thrown during layout:
A RenderFlex overflowed by 150 pixels on the bottom.

The relevant error-causing widget was:
  Column
  Column:file:///Users/apollo/emory/fall-2021/CS370/quack/quack_app/lib/screens/settings/subscreens/about_screen.dart:20:18

The overflowing RenderFlex has an orientation of Axis.vertical.
The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and
black striped pattern. This is usually caused by the contents being too big for the RenderFlex.
Consider applying a flex factor (e.g. using an Expanded widget) to force the children of the
RenderFlex to fit within the available space instead of being sized to their natural size.
This is considered an error condition because it indicates that there is content that cannot be
seen. If the content is legitimately bigger than the available space, consider clipping it with a
ClipRect widget before putting it in the flex, or using a scrollable container rather than a Flex,
like a ListView.
The specific RenderFlex in question is: RenderFlex#7264e NEEDS-LAYOUT NEEDS-PAINT OVERFLOWING:
  creator: Column ← ConstrainedBox ← Container ← Center ← _BodyBuilder ← MediaQuery ←
    LayoutId-[<_ScaffoldSlot.body>] ← CustomMultiChildLayout ← AnimatedBuilder ← DefaultTextStyle ←
    AnimatedDefaultTextStyle ← _InkFeatures-[GlobalKey#b09f0 ink renderer] ← ⋯
  parentData: <none> (can use size)
  constraints: BoxConstraints(w=800.0, h=544.0)
  size: Size(800.0, 544.0)
  direction: vertical
  mainAxisAlignment: start
  mainAxisSize: max
  crossAxisAlignment: center
  verticalDirection: down
◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤
════════════════════════════════════════════════════════════════════════════════════════════════════
00:08 +3 -2: /Users/apollo/emory/fall-2021/CS370/quack/quack_app/test/screens/settings/subscreens/about_screen_test.dart: About Screen Test settings_about_screen_view [E]
  Test failed. See exception logs above.
  The test description was: settings_about_screen_view

Gotcha. I attempted to make it scrollable at first but it gave me so many errors lol. I can reduce the content

@RafaelPiloto10 okay I made most of the pages scrollable except for account preferences and the calendar page I believe, hopefully this fixes everything

@brendacano just pushed an update that fixes the tests

@brendacano ready to merge!


Llama-3-8B run inference error occurred：InternalError: Check failed: (offset + needed_size <= this->buffer.size) is false: storage allocation failure, attempted to allocate 513024 at offset 0 in region that is 163840bytes

🐛 Bug
I use the jetson-containers of MLC and use Meta-Llama-3-8B-Instruct  model . after I run ```
python3 -m mlc_llm.build
--model Meta-Llama-3-8B-Instruct-hf
--quantization q4f16_ft
--target cuda
--use-cuda-graph
--use-flash-attn-mqa
--sep-embed
--max-seq-len 8192
--artifact-path /data/models/mlc/dist
--use-safetensors
It completed the quantification and did not report any errors.
but I  find it show error when I run inference:

python3 /opt/mlc-llm/benchmark.py
--model /data/models/mlc/dist/Meta-Llama-3-8B-Instruct-hf-ctx8192/Meta-Llama-3-8B-Instruct-hf-q4f16_ft/params
--prompt "Can you tell me a joke about llamas?"
  Traceback (most recent call last):   File "/opt/mlc-llm/benchmark.py", line 135, in <module>     print(cm.benchmark_generate(prompt=prompt, generate_length=args.max_new_tokens).strip())   File "/usr/local/lib/python3.8/dist-packages/mlc_chat/chat_module.py", line 910, in benchmark_generate     self._prefill(prompt)   File "/usr/local/lib/python3.8/dist-packages/mlc_chat/chat_module.py", line 997, in _prefill     self._prefill_func(   File "tvm/_ffi/_cython/./packed_func.pxi", line 332, in tvm._ffi._cy3.core.PackedFuncBase.__call__   File "tvm/_ffi/_cython/./packed_func.pxi", line 277, in tvm._ffi._cy3.core.FuncCall   File "tvm/_ffi/_cython/./base.pxi", line 182, in tvm._ffi._cy3.core.CHECK_CALL   File "/usr/local/lib/python3.8/dist-packages/tvm/_ffi/base.py", line 481, in raise_last_ffi_error     raise py_err tvm.error.InternalError: Traceback (most recent call last):   [bt] (8) /usr/local/lib/python3.8/dist-packages/tvm/libtvm.so(tvm::runtime::relax_vm::VirtualMachineImpl::InvokeBytecode(long, std::vector<tvm::runtime::TVMRetValue, std::allocator<tvm::runtime::TVMRetValue> > const&)+0x230) [0xffff6c51f6c8]   [bt] (7) /usr/local/lib/python3.8/dist-packages/tvm/libtvm.so(tvm::runtime::relax_vm::VirtualMachineImpl::RunLoop()+0x210) [0xffff6c51dd58]   [bt] (6) /usr/local/lib/python3.8/dist-packages/tvm/libtvm.so(tvm::runtime::relax_vm::VirtualMachineImpl::RunInstrCall(tvm::runtime::relax_vm::VMFrame*, tvm::runtime::relax_vm::Instruction)+0x5e4) [0xffff6c51e5bc]   [bt] (5) /usr/local/lib/python3.8/dist-packages/tvm/libtvm.so(tvm::runtime::relax_vm::VirtualMachineImpl::InvokeClosurePacked(tvm::runtime::ObjectRef const&, tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)+0x7c) [0xffff6c51c9fc]   [bt] (4) /usr/local/lib/python3.8/dist-packages/tvm/libtvm.so(tvm::runtime::PackedFuncObj::Extractor<tvm::runtime::PackedFuncSubObj<tvm::runtime::TypedPackedFunc<tvm::runtime::NDArray (tvm::runtime::memory::Storage, long, tvm::runtime::ShapeTuple, DLDataType)>::AssignTypedLambda<tvm::runtime::Registry::set_body_method<tvm::runtime::memory::Storage, tvm::runtime::memory::StorageObj, tvm::runtime::NDArray, long, tvm::runtime::ShapeTuple, DLDataType, void>(tvm::runtime::NDArray (tvm::runtime::memory::StorageObj::*)(long, tvm::runtime::ShapeTuple, DLDataType))::{lambda(tvm::runtime::memory::Storage, long, tvm::runtime::ShapeTuple, DLDataType)#1}>(tvm::runtime::Registry::set_body_method<tvm::runtime::memory::Storage, tvm::runtime::memory::StorageObj, tvm::runtime::NDArray, long, tvm::runtime::ShapeTuple, DLDataType, void>(tvm::runtime::NDArray (tvm::runtime::memory::StorageObj::*)(long, tvm::runtime::ShapeTuple, DLDataType))::{lambda(tvm::runtime::memory::Storage, long, tvm::runtime::ShapeTuple, DLDataType)#1}, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)::{lambda(tvm::runtime::TVMArgs const&, tvm::runtime::TVMRetValue*)#1}> >::Call(tvm::runtime::PackedFuncObj const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, tvm::runtime::TVMRetValue)+0x10) [0xffff6c4ea638]   [bt] (3) /usr/local/lib/python3.8/dist-packages/tvm/libtvm.so(tvm::runtime::TypedPackedFunc<tvm::runtime::NDArray (tvm::runtime::memory::Storage, long, tvm::runtime::ShapeTuple, DLDataType)>::AssignTypedLambda<tvm::runtime::Registry::set_body_method<tvm::runtime::memory::Storage, tvm::runtime::memory::StorageObj, tvm::runtime::NDArray, long, tvm::runtime::ShapeTuple, DLDataType, void>(tvm::runtime::NDArray (tvm::runtime::memory::StorageObj::*)(long, tvm::runtime::ShapeTuple, DLDataType))::{lambda(tvm::runtime::memory::Storage, long, tvm::runtime::ShapeTuple, DLDataType)#1}>(tvm::runtime::Registry::set_body_method<tvm::runtime::memory::Storage, tvm::runtime::memory::StorageObj, tvm::runtime::NDArray, long, tvm::runtime::ShapeTuple, DLDataType, void>(tvm::runtime::NDArray (tvm::runtime::memory::StorageObj::*)(long, tvm::runtime::ShapeTuple, DLDataType))::{lambda(tvm::runtime::memory::Storage, long, tvm::runtime::ShapeTuple, DLDataType)#1}, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)::{lambda(tvm::runtime::TVMArgs const&, tvm::runtime::TVMRetValue*)#1}::operator()(tvm::runtime::TVMArgs const, tvm::runtime::TVMRetValue) const+0x27c) [0xffff6c4ea374]   [bt] (2) /usr/local/lib/python3.8/dist-packages/tvm/libtvm.so(tvm::runtime::memory::StorageObj::AllocNDArray(long, tvm::runtime::ShapeTuple, DLDataType)+0x3a8) [0xffff6c4998c8]   [bt] (1) /usr/local/lib/python3.8/dist-packages/tvm/libtvm.so(tvm::runtime::detail::LogFatal::Entry::Finalize()+0x78) [0xffff6a0edf58]   [bt] (0) /usr/local/lib/python3.8/dist-packages/tvm/libtvm.so(tvm::runtime::Backtrace[abi:cxx11]()+0x30) [0xffff6c4966f0]   File "/opt/mlc-llm/3rdparty/tvm/src/runtime/memory/memory_manager.cc", line 108 InternalError: Check failed: (offset + needed_size <= this->buffer.size) is false: storage allocation failure, attempted to allocate 513024 at offset 0 in region that is 163840bytes `

I tried with different max-seq-len. it returns the same. It's worth mentioning that when I use Meta-Llama-2-7b for quantization and then run inference, there are no errors. However, when using Meta-Llama-3-8B or Meta-Llama-3-8B-Instruct for inference, the same errors as mentioned above occur.

What should I do?
Thanks.

## Environment

 - Platform (jetson orin)

@mylinfh I see you are on JetPack 5 presumably...I recall Llama-3 needing an updated version of MLC, however newer versions stopped building on JetPack 5.  So unfortunately it requires upgrading to JetPack 6 to use it with MLC, or you can run it through another LLM backend like llama.cpp/ollama.

Okay, thank you. I'll try again.llama.cpp/ollama can be used, but the inference time seems to be longer

@mylinfh if you try running this through nano_llm with --api=mlc , it may still work on JetPack 5
I discovered that llama-3 requires newer MLC when used standalone (my mlc:0.1.1 version of container - which doesn't build for JP5), but through NanoLLM it works with older mlc:0.1.0 version because I use --sep-embed flag in NanoLLM when building the LLM model (which runs the embedding layer separately, and this error seems inside the embedding layer)

Mmm, yes, Thanks for your reply. I can run llama3 using nanoLLM. But I also tried deploying inference on nanollm and mlc using Llama2-7B, both of which were fast, but mlc seems to be faster. So I want to see if llama3 still performs the same on MLC.


Chapter 5 - Data.Array.Unsafe dependency in 5.10

In chapter 4.14 the exercise asks to rewrite:
 import Prelude
 import Data.Array.Unsafe (head, tail)

 count :: forall a. (a -> Boolean) -> Array a -> Int
 count _ [] = 0
 count p xs = if p (unsafePartial head xs)
                then count p (unsafePartial tail xs) + 1
                else count p (unsafePartial tail xs)

using a fold. However, I can't figure out what the corresponding bower import for Data.Array.Unsafe should be.

I think this should be Data.Array.Partial.

Hi, just FYI it also mentions Data.Array.Unsafe in an example in 5.10, which is also missing unsafePartial. I'm assuming it should be:
import Data.Array.Partial (tail)
import Data.Foldable (sum)
import Partial.Unsafe (unsafePartial)

lzs :: Array Int -> Array Int
lzs [] = []
lzs xs = case sum xs of
0 -> xs
_ -> lzs (unsafePartial tail xs)

Fixed, thanks!


Fix snowflake profiles integration tests

Profiles integration tests for this branch: https://github.com/fal-ai/fal/actions/runs/2242530740


Better Integration system

The current MCM.Integrated solution is still flawed

The only 'real' solution I see here is to have a way for MCM to decide itself which abstraction and implementation library to load.
While the API is still not stabilized, the abstraction libraries might have minor incompatibility issues.
After the API is stabilized, MCM will only need to decide which implementation library to load.
This means that per major version, the abstraction library should not be changed at all,
no patches either. We can only patch the abstraction logic via an implementation library with Harmony.

Current consensus with some developers is to remove the integration system and move to a full direct dependency system. Marking as closed for now.


Move packaging and ninja from install_requires to setup_requires

Set packaging and ninja as build time dependencies rather than runtime dependencies.
Xref https://github.com/conda-forge/staged-recipes/pull/26239#discussion_r1590048101 where we're trying to package flash-attn on conda-forge, and would like the setup.py metadata to be correct so that running pip check would work.

For clarity, it is highly unusual to require the ninja build system and packaging at runtime. setup_requires is the list of packages required to build this package. install_requires is the list of packages required to run this package.

Agreed, ninja and packaging should not be required when installing, but only when building it.


New package: SimpleChains v0.1.0

Registering package: SimpleChains
Repository: https://github.com/JuliaSIMD/SimpleChains.jl
Created by: @chriselrod
Version: v0.1.0
Commit: 9d42b503e1bedc9ebbfba7a03bb0385ec407ef3f
Reviewed by: @chriselrod
Reference: https://github.com/JuliaSIMD/SimpleChains.jl/commit/9d42b503e1bedc9ebbfba7a03bb0385ec407ef3f#commitcomment-56063140

[noblock]
Is SampleChains.jl vs SimpleChains.jl a problem?
Only 1 letter difference, but I don't think people are particularly likely to confuse the two.

@DilumAluthge should I change the name, or is this fine?

@chriselrod there was some discussion in #pkg-registration on Slack:


Embed Bootstrap snippets in the editor

Is it possible to add raw html to the page through the editor and then change it.  For example Id like to add a bootstrap card layout to a blog post.

Through the editor, you can embed pieces of code. So, you could drop in a Bootstrap card, and then you'd just have to make sure on the Frontend that you're pulling in the correct resources (ie. Bootstrap) to have it style correctly.

Yeah, I saw that option.  It quite messy as all spaces and indents cause the layout to be messed up.  I had to remove all spacing and indents and also manually add the images paths.  Its fine for me but for regular users it would be too difficult.  It would be ideal if there was a menu option that would allow you to add template and an option to view/edit the source.  Any plans for that

When you say the spaces and indents get all messy, do you mean the editor itself? I do know what you mean, it's really just a textarea where you drop in the snippet, which isn't ideal. A full-fledged code editor type thing would be great, and if I come across one that fits our needs then I'd have no problem at all integrating it.
So, I'm on the lookout for one. Does that help?


And Yet It Fixed

Fixed (?) softlock in Central Dynamo that occurs upon doing Maze Skip.
Fixed the cutscene power bomb still being present after cutscene skip in Central Dynamo.
Cleanup.

Also I'm getting tired of these nonsense PR titles. This PR should be named something like
"Maze Softlock and Cutscene Fixes"

I need more context regarding the "Fixed (?)" softlock in Central Dynamo before I can approve this change.
If maze skip was broken in a consistent way and you are attempting to fix that, I need you to verify that it is fixed with your own eyes. If it was broken and is not easily reproducible, I need you to justify why you think the changes you made help despite not being able to verify.

Someone told me about a softlock in Central Dynamo where the camera just gets stuck upwards (like if you were inside the maze) and you can't unmorph, I actually have encountered this in the past before and some other people have posted about it, but couldn't quite replicate it, same situation here, tried to replicate and nothing. So I did some adjustments to the scripted camera etc so I'm certain they would get deactivated in the end no matter what.

Also I'm getting tired of these nonsense PR titles. This PR should be named something like
"Maze Softlock and Cutscene Fixes"

I was under the impression that commit titles didn't matter at all as long as I provided good descriptions, my apologies.

commit title != PR title

Was the maze skip softlock something that happens in vanilla or something that was broken regarding skippable cutscenes?

Was the maze skip softlock something that happens in vanilla or something that was broken regarding skippable cutscenes?

I've had it happen in randomizer way before skippable cutscenes were a thing if my memory serves right


Add additional indexers

Feature Description
I think it would be a good idea to make it so we can add additional indexers. The standard set is fine but a lot have rate limits so you have to bounce around and sometimes they are fairly inconsistent.
Looking on the back end, this appears to be performing a form of scraping. So in theory, it should handle any site that does gallery style comics.
Solution you would like
Could be done in a few different ways:

Add a menu that allows us to add new indexers
Add a config file option that allows us to list custom indexers
Add a copy and paste option for the "Add" process that would allow us to input a url for a series we'd like to follow.

Alternatives you have considered
Have considered and tried using a local app to scrape and compile, but wouldnt be automated so wont update without intervention or additional scripting.
Additional context
No response

Hi, Kaizoku uses mangal for downloading. I don't plan to add any more sources. But you can always add your own. See https://github.com/oae/kaizoku/issues/32#issuecomment-1305496891 and https://github.com/metafates/mangal#creating-a-custom-scraper


⚠ Bofrost.de has degraded performance

In cf97d1b, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1141 ms

Resolved: Bofrost.de performance has improved in d673d44.


How to Implement PgVectorEmbeddingStore correctly when instanciating ContentRetriever?

Hi!
I already have a stack of tables to save my embeddings in my PostgreSQL along with the vector extension.
I build a service to get the AI response using RAG but when I need to build the ContentRetriever is asking me the embeddingStore.
At first use the InMemoryEmbeddingStore to do some test and it worked well. But I want to use the PgVector one.
Since I already have my embeddings ready in my DBs tables, there is a way to use PgVectorEmbeddingStore but avoiding the insertion of the embeddings and texts again into a new table to get after that the response from the AI?
Im already getting the text from my DB querying by the embeddings at first place, and then I want to send the request to the AI with the user question plus the text I previously found in the DB.
Should this table work as a temporary data table? Or should I create my custom implementation of the PgVectorEmbeddingStore?
Because, when I want to build the ContentRetriever the embeddingStore property cannot be null.
Thank you!

@caosDvlp why don't you create your PgVectorEmbeddingStore updating findRelevant as you need?

Yeah that is what I though after, but I wanted to know if it was a native way to do it. Then I saw this PR
https://github.com/langchain4j/langchain4j/pull/610
That will be integrated in a week I think that implements the filtering feature.


Error when using with Nuxt.js

When using within my Nuxt.js environment, I am getting an error message on npm run dev.
[nuxt] [request error] [unhandled] [500] HTMLElement is not defined
  at Object.<anonymous> (./node_modules/@aashu-dubey/capacitor-statusbar-safe-area/dist/plugin.cjs.js:38:31)

When I remove "SafeAreaElement" from the plugin code, all is working well.(I do not need SafeSreaElement, only "getSafeAreaInsets"), so I could do a fork, but maybe you can have look into it.
Maybe it has something to do with TypeScript (or the lack of it?)

Hi, I created a dummy Nuxt.js project with Capacitor and was able to reproduce this.
I'm not really sure about this behaviour in Nuxt to be honest, I could only find some issues with them suggesting this solution to bypass the error.
I've pushed some potential fix in the branch fix/HTMLElement_nuxtjs_10, it would be great if you can give it a try and confirm if it fixes the issue for you, though I already tested in the dummy app mentioned above and it's working fine for me.
Thanks!

Still no luck. I downloaded your fixed branch, did npm i and npm run build, the result was still an error 500 on npm run dev in my Nuxt project. See attached Nuxt error as screenshot:

How are you using/installing the branch changes? please make sure the commit changes are present there, or maybe paste them manually in the node_modules to test?
When I tried this locally, it at least was working fine as long as I was not importing the registerSafeAreaElement function, means only importing SafeArea caused no error.

As I said, I downloaded a ZIP of the branch with the changes (There were there!), did npm i and npm run build, and the resulting plugin.cjs.js still threw an error. I only import SafeAre, not SafeAreaElement.
Maybe it’s my overly strictly configured TypeScript setup?

I'm not really sure about the npm i part cause, this will then override node_modules with latest package version's changes, which will contain the branch changes.
I don't think typescript is the issue here, I was able to reproduce this in a initial NuxtJs project too, but got it working after the changes.
Do you have any idea why this behave this way in Nuxt, maybe cause of SSR, because of which window APIs are not available till complete rendering?
To test I would suggest you to just take commit changes and paste them directly to node_modules/@aashu-dubey/capacitor-statusbar-safe-area in relevant files, without running npm i.
or
as you said you downloaded zip, you can switch branch -> install the local package code following this guide
it would show up like this

To give you can idea what I'm testing

Have also tested on iOS by the way
(you can see insets printed at the top)

I think I did everything correctly to have Nuxt use the new branch. See my terminal output from npm run dev below. Note that the line number of the error make sense for the new version, it is different from the "original" error line number. (When I use npx nuxi generate for my static output, the problem never occurred.)
I attach the dist folder that I generated with your new branch, maybe this helps:
dist.zip
[nuxt] [request error] [unhandled] [500] HTMLElement is not defined                                                            22:24:26
  at Object.<anonymous> (./node_modules/@aashu-dubey/capacitor-statusbar-safe-area/dist/plugin.cjs.js:60:31)
  at Module._compile (node:internal/modules/cjs/loader:1255:14)
  at Module._extensions..js (node:internal/modules/cjs/loader:1309:10)
  at Module.load (node:internal/modules/cjs/loader:1113:32)
  at Module._load (node:internal/modules/cjs/loader:960:12)
  at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:165:29)
  at ModuleJob.run (node:internal/modules/esm/module_job:192:25)                                                               22:24:21
  at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[nuxt] [request error] [unhandled] [500] HTMLElement is not defined                                                            22:24:26
  at Object.<anonymous> (./node_modules/@aashu-dubey/capacitor-statusbar-safe-area/dist/plugin.cjs.js:60:31)
  at Module._compile (node:internal/modules/cjs/loader:1255:14)
  at Module._extensions..js (node:internal/modules/cjs/loader:1309:10)
  at Module.load (node:internal/modules/cjs/loader:1113:32)
  at Module._load (node:internal/modules/cjs/loader:960:12)
  at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:165:29)
  at ModuleJob.run (node:internal/modules/esm/module_job:192:25)
  at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[nuxt] [request error] [unhandled] [500] HTMLElement is not defined                                                            22:24:26
  at Object.<anonymous> (./node_modules/@aashu-dubey/capacitor-statusbar-safe-area/dist/plugin.cjs.js:60:31)
  at Module._compile (node:internal/modules/cjs/loader:1255:14)
  at Module._extensions..js (node:internal/modules/cjs/loader:1309:10)
  at Module.load (node:internal/modules/cjs/loader:1113:32)
  at Module._load (node:internal/modules/cjs/loader:960:12)
  at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:165:29)
  at ModuleJob.run (node:internal/modules/esm/module_job:192:25)
  at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

I've temporarily pushed the dummy project that I was trying to test this issue here, can you please have a look and let me know if I'm testing properly here.
for package version update the package.json and copy the dist at the node_modules
For me the new branch changes are working fine in this project.
Regarding the issue I believe it's SSR related maybe, as browser APIs are not available on the server, see this blog for reference

Hi @gerritvanaaken
The main reason you're getting this error is because of SSR, the browser APIs like HTMLElement are not available on the server, so to use this plugin and the functionalities within in your Nuxt.js app, you need to follow these steps:

Create a new file safeArea.client.ts (name as you wish) inside the plugins folder at the root.
we're suffixing with .client because we don't need this plugin on server side.
Now add below code inside the file

import * as SafeArea from "@aashu-dubey/capacitor-statusbar-safe-area";

export default defineNuxtPlugin(() => {
  return {
    provide: {
      CapSafeArea: SafeArea,
    },
  };
});

Now you can access the plugin anywhere in your Nuxt app like this:

<template>
  <div>
    Your Nuxt App
  </div>
</template>

<script setup lang="ts">
const { $CapSafeArea } = useNuxtApp();

const insets = await $CapSafeArea?.SafeArea?.getSafeAreaInsets();
console.log("getSafeAreaInsets", insets);

// $CapSafeArea?.registerSafeAreaElement();
</script>

And that's it, it should work fine after this, you don't even need the new branch I created.
(Feel free to tweak the names and other stuff to whatever works best for you, I just provided a minimal example)
Check out this dummy app (will delete in a while) for a working example, and this commit for the changes required.
I'm not sure how you're using the plugin, but doing above steps hopefully should fix the issue for you, as I have tested it now on Web as well as on Mobile.

There's an official Capacitor blog regarding using Capacitor Plugins in a Nuxt app with SSR, avoiding any SSR related errors (like in your case).
It's an old blog that uses inject to make the plugin available globally, but that's deprecated now so the above steps are using the new approach according to the current Nuxt documentation

Would really appreciate if you can try this and update if it fixes the issue for you, will also add a Nuxt.js example and details on Readme once you confirm.

You are unbelievable, thank you for all your work. Unfortunately I‘m on vacation right now. Hope I can check your plugin solution very soon!

Alright, no issue, enjoy you vacation 🏖
But make sure to update once you're back 😄

Very good! Including your project as proper Nuxt plugin within the plugins folder works smoothly and without errors now. I tried npm run dev and npx nuxi generate in SSR mode. All fine, thank you so much!

Thanks for the update, now since we know it's not an issue, I'm gonna close this.
Will also update the README with this detail.


Duplicate labels can arise if commands run in parallel

Probably a somewhat unlikely occurrence in normal practice, but doing smt run --executable date & ; smt run --executable date results in two records with the same label; subsequent commands like smt comment then fall over when given this label!

This happens because the default label generator uses a timestamp accurate to one second.
There are three workarounds for this:

add sleep 1 between each smt run
set your own label explicitly for each run with smt run --label ...
change the label generator to create uuids, with smt configure --labelgenerator=uuid

We should definitely add a check for duplicate labels, however.


Update multi scatter Ignore nan in the sum of peaks.

Before you submit this PR: make sure to put all operations-related information in a wiki-note, a PR should be about code and is publicly accessible
What does the code in this PR do / what does it improve?
It ignores nan in the sum.
Can you briefly describe how it works?
It ignores nan in the sum.
Can you give a minimal working example (or illustrate with a figure)?
Same as before
considerations._
All italic comments can be removed from this template.

Coverage: 93.608% (-0.01%) from 93.619% when pulling 96ea26aea5c1613ddb522dcc5a9e90bca32d88b6 on MSevents_fixbug into c73fe9175db8e7dd04f0205d5166c649bc47fef1 on master.

Or I guess we can also implement the FDC-corrected z later.

@HenningSE Do you think this PR is in good shape to merge? Or what are the ongoing or pending development?

Hi @dachengx, sorry I think I missed your question a few days ago. As far as I can tell, the FDC correction was basically copy and paste from the existing straxen code.
From my perspective the PR can be merged! Thanks for you help!

Hi @dachengx, sorry I think I missed your question a few days ago. As far as I can tell, the FDC correction was basically copy and paste from the existing straxen code.
From my perspective the PR can be merged! Thanks for you help!

Hey @HenningSE . The z_obs_ms in peak_corrections.py is only corrected by electron_drift_time_gate. So the FDC correction is not done. But anyway we can do it later and I believe this PR was meant to fix bugs.
I will merge it now.


Exposing segmentation in a more generic way in this library

After #48 ... it would be helpful if we could expose the inprocess method of segmentation that exists in bemadb in this library. This would allow it to be reused in multiple contexts including potentially web assembly...
This would require some glue code on the side of bemadb cli since the current implementation is tightly coupled to the database schema.
The implementation here should just basically include the for loop and segment slicer utility that runs in one thread/process...

Not going to implement this here but probably create a more optimized version of this package for use on our remote


Do we remove the old sync.yml workflow?

Checklist

[X] I added a descriptive title
[X] I searched open requests and couldn't find a duplicate

What is the idea?
Should we force all conda org repositories to use the new update.yml workflow? And then delete the old sync.yml workflow from here?
We have successfully migrated most repositories over to the new update.yml workflow. Those that remain are those that only sync the CODE_OF_CONDUCT.md and adding the update.yml workflow to those repositories is somewhat over the top.
Why is this needed?
To delete old/unused code.
What should happen?
Decide whether to force the new update.yml workflow on all repositories in the conda org.
Additional Context
No response

Personally I'd rather stick to one code infrastructure for this, instead of two, even if it feels over the top to just sync the CoC document, it's still a smaller effort to use the same system and rely on fewer 3rd party dependencies.

Just initiated both conda-lock and grayskull


Update to mempool 3.0.0

Try with: https://github.com/mempool/mempool/tree/v3.0.0-dev8

PR #4747 merged and will be part of v1.11.3rc1 for testing.


SAK-48432 SAMIGO Problem on Calculated question with e-4

https://sakaiproject.atlassian.net/browse/SAK-48432
There are problems with some some test... mmmm

Nowadays, this test code should be...
result = gradingService.processFormulaIntoValue("1.8E-4", 2);
//Assert.assertEquals("1.8E-4", result);
Assert.assertEquals("0", result);

I think is incorrect...

I don't really understand what you're attempting to do here.
I don't think most instructors or students want scientific notation used except with very large numbers.

Instructions
{A} {dB}  {r}
{{P}}
Variables
A -  0.28 - 0.28 - 2
db - 65   - 65   - 0
r  - 2.1  - 2.1  - 1
Solution
P - 1e-1210^({dB}/10)4pi{r}^2
Result should  1.8e-4 be instead of 0

Can you add new test case or update the test case that this fixes in GradingServiceTest.java? I'm not sure what this is intending to resolve. The code should already be handling this. Is the DEFAULT_MIN_THRESHOLD  too high?
This looks like it's causing a test failure now so something needs  to be updated.
Error: [ERROR] Failures:
Error: [ERROR]   GradingServiceTest.testCalculationsToValues:453 expected:<1[000000000]0> but was:<1[E1]0>

Can you add new test case or update the test case that this fixes in GradingServiceTest.java? I'm not sure what this is intending to resolve. The code should already be handling this. Is the DEFAULT_MIN_THRESHOLD  too high?
This looks like it's causing a test failure now so something needs to be updated.
Error: [ERROR] Failures:
Error: [ERROR]   GradingServiceTest.testCalculationsToValues:453 expected:<1[000000000]0> but was:<1[E1]0>

Hi @jonespm
Case 1:
If expr = 1.8E-8
e = new Expression(expr);
double d = e.calculate();
ans = new BigDecimal(d, MathContext.DECIMAL64);
Result:
d = 1.8E-8
ans = 1.8E-8
Case 2:
If expr = 1.8E-4
e = new Expression(expr);
double d = e.calculate();
ans = new BigDecimal(d, MathContext.DECIMAL64);
Result:
d = 1.8E-4
ans = 0.000175

If we reduced the MIN_THRESHOLD to 0.01 then both cases works but I don't know if other cases fails...

Just updated!. All tests are OK. Added some tests related to the problem.

@jesusmmp this has conflicts can you update, also lets talk about this PR at the next core call

Conflicts resolved. Just updated!


Won't work with ethernet shield

I'm trying to hook up my pzem004t with my arduino mega with ethernet shield, but I can't use pins 10,11. And doesn't want to work with other pins. Any thoughts ?

I have a project with Mega and Ethernet. Works great on pins 11,12
PZEM004T pzem(11, 12); // RX,TX

Nice thanks! Now it's working. But when I try to read the values, it takes a long time, is that normal ?

PZEM allows to read max 2 values at once (per second). So if you try to read all 4 values - it will take minimum 2 seconds (if I remember it right).


[Feature] Language field

The amount of non-English ZZT worlds isn't large, even if it has grown somewhat thanks to mine and KM's efforts. However, as KM has already started tagging languages in the "Title" field it might be a good idea to move this information to a separate field, and phase out the "Non-English" genre?

Agreed and added.
Went through the non-english marked games and set their languages (plus a few lacking it from KM).
For now I'm leaving the genre in place until I get around to taking another crack at the upload system and add it there. In the meantime these are infrequent enough that setting them manually on publication is easy enough. Will also need to allow searching/filtering on the field


Add support for CUSTOM_SERVER_PACK

If you have custom servers that require multiple files you can now specify them as a zip package (which will extract contents to the /data dir)

I seem to be missing docs for GENERIC_PACK, but your PR seems to be redundant with the intended combination of TYPE=CUSTOM and GENERIC_PACK where the custom server logic accounts for it here
https://github.com/itzg/docker-minecraft-server/blob/28b7afda1538b9fc2141560984bde6f0e3eeb83a/start-deployCustom#L23
and then the generic pack is processed here
https://github.com/itzg/docker-minecraft-server/blob/28b7afda1538b9fc2141560984bde6f0e3eeb83a/start-finalSetupModpack#L154-L186


Change Czech lang from cz to cs

html lang="cz" class="no-js"  -> must be -> html lang="cs" class="no-js"

Right or  with country lang="cs-CZ".


#10: add support for findFirstOrThrow()

Pull request for #10. Implements the findFirstOrThrow() function, adds tests, and updates the README accordingly.

Thank you @Gbox4


Can Power BI virtual network gateway span VNet peerings?

Can Power BI virtual network gateway span VNet peerings? It would be great if the documentation could be updated to say anything about it.
Example scenario:

Source spoke VNet vnet-powerbi has Power BI virtual network gateway.
Hub VNet vnet-hub has a NVA in it.
Destination VNet  vnet-datalake has a Data Lake gen 2 / Storage Account using private endpoint.

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

ID: e5867016-6164-3563-47bb-1a7b93dc2caf
Version Independent ID: be22c980-4684-8837-9123-1bcf98e75f06
Content: Create virtual network (VNet) data gateways
Content Source: data-integration/vnet/create-data-gateways.md
Service: virtual-network-data-gateway
GitHub Login: @nikkiwaghani
Microsoft Alias: nikkiwaghani

Thanks @o-l-a-v for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. The requested updates have not been made since the creation of this issue, and the timeline for resolution may vary based on resourcing, so we've created an internal work item to incorporate your suggestions. We are closing this issue for now, but feel free to comment here as necessary. #please-close


There is no option to build not signed AppX for Windows Store submission

Preflight Checklist

[x] I have read the contribution documentation for this project.
[x] I agree to follow the code of conduct that this project follows, as appropriate.
[x] I have searched the issue tracker for a bug that matches the one I want to file, without success.

Issue Details

Electron Forge Version:

 6.0.0-*

Electron Version:

 Any

Operating System:

 Windows 10

Last Known Working Electron Forge version::

 -

Expected Behavior
There is option to build not signed AppX for Windows Store submission.
Actual Behavior
There is no option to build not signed AppX for Windows Store submission.
To Reproduce
{
  name: '@electron-forge/maker-appx',
  config: {
    devCert: null or '/path/to/cert',
  },
},

Electron-forge tries to sign AppX by provided cert OR create self signed cert and sign app.

Additional Information
<!--
Add any other context about the problem here.

For example:
* Console output when you run your `electron-forge` command with the environment variable
  `DEBUG=electron-forge:*`. (Instructions on how to do so
  [here](https://www.npmjs.com/package/debug#usage)). Please include the stack trace if
  one exists.
* Command line arguments you are passing to `electron-forge` (e.g.,
  `electron-forge make --not-a-real-flag`)
* The `config.forge` data in `package.json` or `forge.config.js` in use
* A failing minimal testcase (with a link to the code) or detailed steps to reproduce the problem.
  Using `electron-forge init` is a good starting point, if that is not the source of your problem.

Related issue: https://github.com/felixrieseberg/electron-windows-store/issues/138

Closing as this would need to be updated in the upstream project (see https://github.com/felixrieseberg/electron-windows-store/issues/138)

Any update on this issue? There is a forked version of electron-windows-store that can create unsigned Appx.

Any update? I have the same problematic.


Use dynamic github contributions chart

Instead of a static screenshot,can use something like ghchart.

Allows for customising colours.

It is not a static screenshot :smile:
I have used github-calender.js
It doens't allow customized colors though, would be interesting to combine the goods of both of them.

Did not know this. Will also use this :open_mouth:


fix/reassign-correct-id

This PR provides a quick fix for the issue of avatar and name not being updated when they change during task assignment. I've also split up the one massive useEffect into smaller ones not dependent simply on the whole props object as that is a bad practice in my opinion.
NOTE: Please note that this draft PR aims for a quick fix of the said issue. The proper way of addressing this behaviour and other problems stemming from it is described in the Proposal. Please also note that changing an assignee while not yet confirming task creation creates a new chat room each time - this, however, is the current behaviour on prod as well and has not been addressed in this PR as it's a completely separate issue(?)
Details

Fixed Issues

$ https://github.com/Expensify/App/issues/22293
PROPOSAL: https://github.com/Expensify/App/issues/22293#issuecomment-1651969348
Tests

[ ] Verify that no errors appear in the JS console

Offline tests

QA Steps

[ ] Verify that no errors appear in the JS console

PR Author Checklist

[ ] I linked the correct issue in the ### Fixed Issues section above
[ ] I wrote clear testing steps that cover the changes made in this PR

[ ] I added steps for local testing in the Tests section
[ ] I added steps for the expected offline behavior in the Offline steps section
[ ] I added steps for Staging and/or Production testing in the QA steps section
[ ] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[ ] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[ ] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[ ] I included screenshots or videos for tests on all platforms
[ ] I ran the tests on all platforms & verified they passed on:

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

[ ] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[ ] I followed proper code patterns (see Reviewing the code)

[ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[ ] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[ ] I verified that comments were added to code that is not self explanatory
[ ] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[ ] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[ ] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[ ] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[ ] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[ ] I followed the guidelines as stated in the Review Guidelines
[ ] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[ ] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[ ] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[ ] I verified that if a function's arguments changed that all usages have also been updated correctly
[ ] If a new component is created I verified that:

[ ] A similar component doesn't exist in the codebase
[ ] All props are defined accurately and each prop has a /** comment above it */
[ ] The file is named correctly
[ ] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[ ] The only data being stored in the state is data necessary for rendering and nothing else
[ ] If we are not using the full Onyx data that we loaded, I've added the proper selector in order to ensure the component only re-renders when the data it is using changes
[ ] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[ ] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[ ] All JSX used for rendering exists in the render method
[ ] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[ ] If any new file was added I verified that:

[ ] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[ ] If a new CSS style is added I verified that:

[ ] A similar style doesn't already exist
[ ] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[ ] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[ ] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[ ] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[ ] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[ ] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[ ] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

Mobile Web - Chrome

Mobile Web - Safari

Desktop

iOS

Android

I have read the CLA Document and I hereby sign the CLA


[SPARK-6018] [YARN] NoSuchMethodError in Spark app is swallowed by YARN AM

Can one of the admins verify this patch?

Thank you Marcelo and Sean. Incorporated your comments in the new commit.

ok to test

Test build #27967 has started for   PR 4773 at commit 2a919d5.

This patch merges cleanly.

Test build #27967 has finished for   PR 4773 at commit 2a919d5.

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

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27967/
Test PASSed.

LGTM. Let me leave it open for a day at least for other thoughts.

Ah, good catch. For a second I thought we were catching throwable here, but it seems that the throwable is part of the cause, not what we're catching. LGTM I'm merging this into master 1.3.


boards: arm: fk7b0m1_vbt6: add support to external NOR Flash

Updates the DTS file by adding support for Quad SPI and SPI NOR Flash.
This update has been validated via samples/drivers/spi_flash and samples/drivers/flash_shell/.
*** Booting Zephyr OS build zephyr-v3.5.0-4931-ga37bd8e7ba34 ***

spi-nor-flash@0 SPI flash testing
==========================

Perform test on single sector
Test 1: Flash erase
Flash erase succeeded!

Test 2: Flash write
Attempting to write 4 bytes
Data read matches data written. Good!!

Perform test on multiple consequtive sectors
Test 1: Flash erase
Flash erase succeeded!

Test 2: Flash write
Attempting to write 4 bytes at offset 0xff000
Data read matches data written. Good!!
Attempting to write 4 bytes at offset 0x100000
Data read matches data written. Good!!

Flash shell sample[00:00:00.100,000] <inf> flash_stm32_ospi: OSPI flash config is SPI|DUAL|QUAD / STR
[00:00:00.100,000] <inf> flash_stm32_ospi: Read SFDP from octoFlash
[00:00:00.100,000] <inf> flash_stm32_ospi: Read SFDP from octoFlash
*** Booting Zephyr OS build zephyr-v3.5.0-4932-gb3541b2e175e ***
uart:~$ flash page_info qspi-nor-flash@0 0
Page for address 0x0:
start offset: 0x0
size: 4096
index: 0
uart:~$ flash erase qspi-nor-flash@0 0x1000
Erase success.
[00:00:57.477,000] <inf> flash_stm32_ospi: Sector/Block Erase
[00:00:57.477,000] <inf> flash_stm32_ospi: Sector/Block Erase addr 0x1000, asize 0x2000 amode0
uart:~$ flash write qspi-nor-flash@0 0x1000 0x12345678 0x9abcdef0
Write OK.
Verified.
uart:~$ flash read qspi-nor-flash@0 0x1000 0x10
00001000: 78 56 34 12 f0 de bc 9a  ff ff ff ff ff ff ff ff |xV4..... ........|

uart:~$ flash page_info spi-nor-flash@0 0
Page for address 0x0:
start offset: 0x0
size: 65536
index: 0
uart:~$ flash erase spi-nor-flash@0 0x1000
Erase success.
uart:~$ flash write spi-nor-flash@0 0x1000 0x12345678 0x9abcdef0
Write OK.
Verified.
uart:~$ flash read spi-nor-flash@0 0x1000 0x10
00001000: 78 56 34 12 f0 de bc 9a  ff ff ff ff ff ff ff ff |xV4..... ........|

uart:~$

Dear @kartben,
Could you help me with this PR? Thanks!

Solved conflicts.

Looks like nothing covers boards/fanke in the maintainers file. As this board has a STM32 on it I was so free to add the ST people.


Automate creation of THIRD_PARTY_LICENSES*.txt

We should add a github action that automates creation of THIRD_PARTY_LICENSES.txt and THIRD_PARTY_LICENSES_ARTIFACT_DISTRIBUTION.txt by aggregating from

the respective files in the libczi repo
the list of nuget packages used by czishrink (e. g. as output by dependabot)

See https://github.com/microsoft/sbom-tool/blob/main/docs/setting-up-github-actions.md

The build cmd could be adapted to be dotnet build --property:OutputPath=DESIRED_PATH. Since we are not multi-targeting we shouldn't run into issues here. Otherwise we can always bump down the SDK version used for building

Memo (some things to consider when deriving a solution):
Most SCA tools do not support C/C++ - vcpkg if at all. BlackDuck is one of the more promising here.
More info:
No support from dependabot:
https://github.com/dependabot/dependabot-core/issues/2027
https://github.com/dependabot/dependabot-core/issues/7451
No support from MS sbom-tool (not sure though):
https://github.com/microsoft/component-detection (only vcpkg in beta as of 2023-11-17)
Strangely enough there is https://github.com/microsoft/sbom-tool/issues/81, which claims cmake support, but it does not say so on https://github.com/microsoft/component-detection

@DaveyJonesBitPail
As discussed I suggest the following:

Try to have the MS sbom-tool run on CMakeBuild (czicompress)
Expectations:
a) Dependencies currently statically stored in THIRD_PARTY_LICENSES_ARTIFACT_DISTRIBUTION.txt and THIRD_PARTY_LICENSES.txt are detected by the tool
b) SBOM is uploaded together with the artifacts
Make use of the SPDX Dependency Submission Action and have this integrated with dependabot
Following "Generating Software Bills of Materials (SBOMs) with SPDX at Microsoft | Validating our SBOMs at release", have a run of .NET Build (CziShrink) fail if the hash validation tool of the sbom-tool reports the NuGet package to not match the SBOM created in Step 1
Create final SBOM for czishrink based on SBOM from Step 1 and SBOM from czishrink itself (either through sbom-tool as well or already existing dependabot [which would probably be the preferred option w.r.t. Step 2])


Cannot clone head of PR created by Agit workflow

Description
Apologies if I use bad terminology here; I'm confused.
I am using a tool (atlantis) which tries to clone a PR and do some local work.  This usually works, but fails to clone PRs that were created using the Agit workflow.
I created a PR as follows:
% git push origin HEAD:refs/for/main -o topic="agit-test" -o title="Test agit workflow"
Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 64 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 530 bytes | 530.00 KiB/s, done.
Total 3 (delta 2), reused 0 (delta 0), pack-reused 0 (from 0)
remote:
remote: Create a new pull request for 'infinoid/agit-test':
remote:   https://gitea.server/tf/repo/pulls/8
remote:
remote: . Processing 1 references
remote: Processed 1 references in total
To https://gitea.server/tf/repo
 * [new reference]   HEAD -> refs/pull/8/head

The tool got a webhook notification, saw the new PR and tried to clone it.  That failed:
running git clone --depth=1 --branch refs/pull/8/head --single-branch<EMAIL_ADDRESS>/atlantis-data/repos/tf/repo/8/default
Cloning into '/atlantis-data/repos/tf/repo/8/default'...
warning: Could not find remote branch refs/pull/8/head to clone.
fatal: Remote branch refs/pull/8/head not found in upstream origin
: exit status 128

What is the right git clone command to clone an Agit PR?  The above command didn't work, and the AGit documentation doesn't have any specific details about cloning.
Apparently the PR head ref is not visible to clients.  Is this expected?  The Agit workflow seems quite magical, so I don't really understand it.  My best guess is that the staging branch was created under a fork with a different owner (infinoid/, not tf/), but it's not outwardly visible, or if it is, the webhook doesn't point at the right location, or the tool misunderstood the webhook data somehow.
The gist link has container logs, and the json webhook content that was sent to the tool.
Thanks!
Gitea Version
1.22.4
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
https://gist.github.com/Infinoid/2c81d377645ef39a7b878804c315e621
Screenshots
No response
Git Version
No response
Operating System
Linux
How are you running Gitea?
self-hosted container
Database
PostgreSQL

You may want to read the GitHub document "Checking out pull requests locally"
hiifong@rock-5b:~/workspace$ git clone http://<IP_ADDRESS>:3000/test/Test.git
Cloning into 'Test'...
remote: Enumerating objects: 8, done.
remote: Counting objects: 100% (8/8), done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 8 (delta 1), reused 0 (delta 0), pack-reused 0
Receiving objects: 100% (8/8), done.
Resolving deltas: 100% (1/1), done.
hiifong@rock-5b:~/workspace$ cd Test/
hiifong@rock-5b:~/workspace/Test$ ls
LICENSE  README.md
hiifong@rock-5b:~/workspace/Test$ git fetch origin pull/1/head:agit-test
remote: Enumerating objects: 5, done.
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 3 (delta 1), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (3/3), 243 bytes | 121.00 KiB/s, done.
From http://<IP_ADDRESS>:3000/test/Test
 * [new ref]         refs/pull/1/head -> agit-test
hiifong@rock-5b:~/workspace/Test$ git checkout agit-test
Switched to branch 'agit-test'

The "git fetch" syntax does work, thanks for pointing it out.
When I make an Agit PR (number 9 in this repo) and a normal PR (with branch name pr-test), and diff the two webhooks, I see:
     "head": {
-      "label": "",
-      "ref": "refs/pull/9/head",
+      "label": "pr-test",
+      "ref": "pr-test",

So that explains why the tool works for normal PRs; it was using a branch name, not the PR ref.
I'll follow up with the tool authors, thanks!


Feat/enhance controllers config management

After successfully setup with PR15, the Portfolio page returns error of streamlit.errors.StreamlitAPIException: Every Multiselect default value must exist in options which is different from want we see on cardosofede/hummingbot-deploy main version.

2024-06-18 12:24:28.660 Uncaught app exception
Traceback (most recent call last):
File "/Users/rapcomia/miniconda3/envs/dashboard/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script
exec(code, module.dict)
File "/Users/rapcomia/github/dashboard/143/frontend/pages/orchestration/portfolio/app.py", line 87, in
tokens_available = st.multiselect("Select Tokens", set(tokens_available), set(tokens_available))
File "/Users/rapcomia/miniconda3/envs/dashboard/lib/python3.10/site-packages/streamlit/runtime/metrics_util.py", line 397, in wrapped_func
result = non_optional_func(*args, **kwargs)
File "/Users/rapcomia/miniconda3/envs/dashboard/lib/python3.10/site-packages/streamlit/elements/widgets/multiselect.py", line 249, in multiselect
return self._multiselect(
File "/Users/rapcomia/miniconda3/envs/dashboard/lib/python3.10/site-packages/streamlit/elements/widgets/multiselect.py", line 292, in _multiselect
indices = _check_and_convert_to_indices(opt, default)
File "/Users/rapcomia/miniconda3/envs/dashboard/lib/python3.10/site-packages/streamlit/elements/widgets/multiselect.py", line 92, in _check_and_convert_to_indices
raise StreamlitAPIException(
streamlit.errors.StreamlitAPIException: Every Multiselect default value must exist in options

https://www.loom.com/share/b187829f4a414c03a91618568ad7736d
Tried to create accounts to check but still the same error
Does not display nor let us select tokens and exchanges ❌

@cardosofede Could you please fix branch conflicts here?

PR update:

After successfully setup with PR15, the Portfolio page returns error of streamlit.errors.StreamlitAPIException: Every Multiselect default value must exist in options which is different from want we see on cardosofede/hummingbot-deploy main version.

This behavior happened on latest version as well so not related to the PR
Successfully setup with PR15, hummingbot-broker and using dardonacci/hummingbot:latest
Create, delete and add accounts/credentials ok
Create, modified, add and delete controller configs ok
Setup pmm_simple using mexc as connector monitoring, to add updates later
Ran few endpoints from ..:8000/docs

Approved but PR needs fixin on branch conflicts


missing getter of protected fields on product errors added

In the ProductOutOfStockError is the name getter and in the ProductStockReachedError is also the name getter but also the quantity getter missing.
If you want to access the name property from twig, it is null, so the message, which the customer will see is incomplete. For example if you have at least 2 products in your cart and one of them is close out and available stock 0 and you process to the shopping cart overview, the message is " is not available at the moment." instead of "product_name is not available at the moment."
With this pull request this is fixed.

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

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/NEXT-10686
Please use this issue to track the state of your pull request.

Hi @ibehcdf,
thanks for your contribution!
you changes have just been merged (see here)


rmsynth3d imaginary FDF files have wrong Stokes axis values

I realized that both the real and imaginary dirty FDF files have CRVAL4 = 2 (for the Stokes axis, indicating Stokes Q). That's not correct, and should be fixed (especially for products going into the CADC archive). Imaginary/Stokes U cubes should have Stokes axis CRVAL = 3.
5 bucks says I copied the Stokes Q/real header and re-used it for Stokes U without thinking about it. Not sure yet if rmclean3d is also affected, but good chance that it is.
I don't have time in the next month or so to fix this, but I'll try to get to it after that if no one else has time to take a look in the meantime.
Cameron

Are you sure that's the case? The dirt FDF cubes that I have running the most recent version of the pol pipeline show CRVAL3=2 for the real part and CRVAL3=3 for the imaginary part.
(Note that it's also CRVAL3 instead of the 4 you mention?)

Ah, I already fixed this (6 months ago!). My bad. I looked at the Pilot 1 pipeline products after our discussion with Sharon, and they have this mistake in the FITS headers. So ideally we should correct those before ingesting the pilot 1 products. But RM-Tools was already fixed, so this issue is redundant. Whoops!


Allow public users to download their files and generated files

Description

This update will allow public users to download the files they uploaded during a conversation as well as those generated by the assistant.
Although this change works, I am a bit uneasy about the approach I took. I think it's because I'm "breaking" tradition here by allowing session id's to be integers (i.e. db primary keys) :shrug:.
Q: Why not just use the session's external id and pass in the experiment's public key to the download_file endpoint?
A: Doing that will break existing links to files, since they are embedded in chat messages and use integer ids. When a user wants to continue the chat and download the file, they wouldn't be able to anymore.
If we want to keep all public facing endpoints using external ids / public ids (so revert the changes I made to the decorator), then a possible solution that will require a migration is to find all chat messages that contain links and replace the links with the new format. Finding these messages should be relatively easy, since we can just find all chats with a "file_path" attachment, then in that chat find all chat messages having a file external id in its metadata that matches any file in this attachment. From here we can simply find and replace.
Question is: Are we fine with this approach here?
User Impact

Public users will be able to download their own uploaded files as well as generated ones.
Demo

N/A
Docs

N/A

I don't think this is terrible but it would be better to use the external IDs

Are you then advocating for rather using external ids (which would mean a migration as well)?

I don't think this is terrible but it would be better to use the external IDs

Are you then advocating for rather using external ids (which would mean a migration as well)?

I am but I'm not mandating it.

Ok. Unless we really want this in, I'm holding off on this for now until we know more. See this thread

overall I agree with Simon, but fine with revising if possible. nit: this can have doc updates, no?

I think so yeah.

Closing this until we know we want to go this route. We can easily find it again.


Resolved issue /37

Added richest animal joke

This change is

You pushed you PR to the wrong branch, push into my main branch and not the developpement branch.


Fix testListTaskWithCriteria

BACKGROUND
I saw #734 had failed, and checked out the build. Here is the failure from Travis Job #1345.4:
testListTaskWithCriteria(com.spotify.docker.client.DefaultDockerClientTest)  Time elapsed: 0.295 sec  <<< FAILURE!
java.lang.AssertionError:
Expected: <Task{id=1xyk6beukidfs4lm3tc6bzf66, version=Version{index=58}, createdAt=Wed May 03 11:35:35 UTC 2017, updatedAt=Wed May 03 11:35:35 UTC 2017, name=null, labels=null, spec=TaskSpec{containerSpec=ContainerSpec{image=alpine, hostname=null, labels={}, command=[ping, -c1000, localhost], args=null, env=null, dir=null, user=null, groups=null, tty=null, mounts=null, stopGracePeriod=null, healthcheck=null, hosts=null, secrets=null, dnsConfig=null}, resources=null, restartPolicy=null, placement=null, networks=null, logDriver=null}, serviceId=4j96onqaill1rcoz20wkyvpy5, slot=1, nodeId=9srg7nkwlb7w2wmjyehr6neni, status=TaskStatus{timestamp=2017-05-03T11:35:35.568067532Z, state=assigned, message=scheduler assigned task to node, err=null, containerStatus=ContainerStatus{containerId=null, pid=null, exitCode=null}}, desiredState=running, networkAttachments=null}>
     but: was <Task{id=1xyk6beukidfs4lm3tc6bzf66, version=Version{index=59}, createdAt=Wed May 03 11:35:35 UTC 2017, updatedAt=Wed May 03 11:35:35 UTC 2017, name=null, labels=null, spec=TaskSpec{containerSpec=ContainerSpec{image=alpine, hostname=null, labels={}, command=[ping, -c1000, localhost], args=null, env=null, dir=null, user=null, groups=null, tty=null, mounts=null, stopGracePeriod=null, healthcheck=null, hosts=null, secrets=null, dnsConfig=null}, resources=null, restartPolicy=null, placement=null, networks=null, logDriver=null}, serviceId=4j96onqaill1rcoz20wkyvpy5, slot=1, nodeId=9srg7nkwlb7w2wmjyehr6neni, status=TaskStatus{timestamp=2017-05-03T11:35:35.638503647Z, state=preparing, message=preparing, err=null, containerStatus=ContainerStatus{containerId=null, pid=null, exitCode=null}}, desiredState=running, networkAttachments=null}>
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.junit.Assert.assertThat(Assert.java:956)
	at org.junit.Assert.assertThat(Assert.java:923)
	at com.spotify.docker.client.DefaultDockerClientTest.testListTaskWithCriteria(DefaultDockerClientTest.java:5297)
        ...

We have seen many failures like this with Task tests, and I wanted to figure out the cause of this one and fix it.
INVESTIGATION
Of particular note are the statuses of the two Tasks, which are different. In addition to the timestamps being different, the Task that we had grabbed at the beginning of the test had status.state=assigned, and the Task that we got from the criteria had status.state=preparing. But both Tasks have desiredState=running.
FIX
What we want to test here is that we can take any old Task that is lying around and use listTasks(Criteria) to get back the same Task. It is important, though, that the Task be stable and not change between when we first pick out our example and when we go ask for Tasks that match the Criteria.
When we first get any old Task, it may be in a transient state. The test should wait until that Task is in its desired state, in this case running. That way we can be assured that it will remain in that state for the duration of the test. Then once the Task is in the right state, we can get the example Task object to compare with the results of the various listTask(Criteria) calls.

Codecov Report

Merging #735 into master will decrease coverage by 11.94%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             master     #735       +/-   ##
=============================================
- Coverage     66.06%   54.12%   -11.95%
+ Complexity      635      469      -166
=============================================
  Files           149      149
  Lines          2779     2779
  Branches        327      327
=============================================
- Hits           1836     1504      -332
- Misses          794     1145      +351
+ Partials        149      130       -19

Test failures are unrelated. 😞

Thanks so much!

Didn't even notice #704 existed until just now, but presumably this PR would fix it.


mod making

Describe your bug here.
i am a.. very inexperienced mod creator. ive made some impressive stuff now and then, but it wasnt without help of others.
Anyway, point here is, porting my mod has a lot of problems that are annoying.
I ported boiling point and added some bullet notes in there, but when i port it to 0.7, it just... crashes with no error..
ima attach a file to show what i mean
https://github.com/ShadowMario/FNF-PsychEngine/assets/134226764/b65daa26-d40c-4dd1-b389-ca4c20b94a74
this is quite annoying lol
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
yes, im trying to port my mod (https://gamebanana.com/mods/446441)

this might get fixed, shadowmario trying to fix stuff as seen in commits, this should get fixed soon so dont worry
try using this. https://github.com/ShadowMario/FNF-PsychEngine/wiki/Transitioning-Lua-Mods-from-0.6.x-to-0.7
if not working u can stick to 0.6.3 until everything gets fixed

this might get fixed, shadowmario trying to fix stuff as seen in commits, this should get fixed soon so dont worry try using this. https://github.com/ShadowMario/FNF-PsychEngine/wiki/Transitioning-Lua-Mods-from-0.6.x-to-0.7 if not working u can stick to 0.6.3 until everything gets fixed

hey wait where do i do this stuff

?

like, where do i do the changes in my mod

the lua scripts? well the link i gave u, change those lines to what it say


OIPA-2220

https://app.zenhub.com/workspaces/iaticloud-5b8e865bb2cc7b6c78ece322/issues/zimmerman-zimmerman/iati.cloud/2220

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


Show sub-space proposals on the main spaces

This should then either be a space setting and/or the filter option we had in mind:

This is working for snapshot.org but not for custom domains for


Autocompletion

Add autocompletion command to CLI via cobra. Commands will be autocompleted, as will unit/image names and remotes names.
Upgrading dependencies to access newer version of cobra for better support for autocompletion.
Refactored backend a bit to support retrieval of names for autocompletion.

Could shell autocompletion instructions be added into the readme - e.g. for zsh and bash

Added a page to the installation section of docs detailing how to enable autocompletion for different shells.
Also hid the completion command from CLI overview.


Error on macOS Mojave 10.14.4

Hi,
I just tested your library on macOS Mojave 10.14.4 and get an empty vector from:

auto selection = pfd::open_file("Select a file").result();

even when a file is selected.
After some short debugging I found the internal state in m_exit_code of pfd::internal::executer to be 256 after selecting a file and querying the result.

Thanks! I could reproduce the problem and I just fixed it!

Thanks! I could reproduce the problem and I just fixed it!

 Oh no, I saw it too late and just created a PR to fix this 🙈 It's up to you to decide what to do with it.

I think my fix is enough and I prefer to have most of the logic in C++ rather than AppleScript. Thanks for the patch though; I'm an absolute beginner in AppleScript so it helped me understand it a bit better.


Update zh_cn.json

These don't translate

Thanks for the translations, will push these out in the next update :)


Re-mark typeref_decoding_imported.swift as unsupported on arm64e

Cherry-picking Arnold's fix from main to 5.5.
It fails on the  bot. And used to be marked unsupported.
(cherry picked from commit 87f5d97070ad94ef33797ab28439f546b514f731)

@swift-ci smoke test

@swift-ci test

Merging to unblock CI


ShowcaseState created a Ticker via its TickerProviderStateMixin, but at the time dispose() was called on the mixin, that Ticker was still active

Hello,
I've used this pub a few times across an app I'm using with now issue. This is the first time I'm trying to use it without a button interaction. I've tried initiating the showcase from initState, didChangeDependencies and from the build method but I keep getting the following error/exception after I try to Pop the current screen. Note: The showcase does play, but upon disposing the screen (no matter how much time is waited), this error will occur and cause an app crash. Below is the error and stack trace.
The following assertion was thrown while finalizing the widget tree:
I/flutter ( 4324): _ShowcaseState#2e4a0(tickers: tracking 1 ticker) was disposed with an active Ticker.
I/flutter ( 4324): _ShowcaseState created a Ticker via its TickerProviderStateMixin, but at the time dispose() was
I/flutter ( 4324): called on the mixin, that Ticker was still active. All Tickers must be disposed before calling
I/flutter ( 4324): super.dispose(). Tickers used by AnimationControllers should be disposed by calling dispose() on the
I/flutter ( 4324): AnimationController itself. Otherwise, the ticker will leak.
I/flutter ( 4324): The offending ticker was: _WidgetTicker(created by _ShowcaseState#2e4a0(lifecycle state: created,
I/flutter ( 4324): tickers: tracking 0 tickers))
I/flutter ( 4324): The stack trace when the _WidgetTicker was actually created was:
I/flutter ( 4324): #0      new Ticker.<anonymous closure>
package:flutter/…/scheduler/ticker.dart:64
I/flutter ( 4324): #1      new Ticker
package:flutter/…/scheduler/ticker.dart:66
I/flutter ( 4324): #2      new _WidgetTicker
package:flutter/…/widgets/ticker_provider.dart:225
I/flutter ( 4324): #3      __ShowcaseState&State&TickerProviderStateMixin.createTicker
I/flutter ( 4324): (package:flutter/src/widgets/ticker_provider.dart:161:34)
I/flutter ( 4324): #4      new AnimationController
package:flutter/…/animation/animation_controller.dart:245
I/flutter ( 4324): #5      _ShowcaseState.initState
package:showcaseview/showcase.dart:107

We're looking into it. Thanks for using and sharing feeedback.

Fixed issue in version 0.1.2 , please update package. thanks @ibhavikmakwana


Minecraft token stealer

I made a minecraft account stealer that works. Check the pull requests
I haven't tested it on another machine. but i have tried switching between alts with this.
The launcher_accounts.json file contains all accounts and the user is requested to replace their current one with this for it to work.
It generates a token after a day or so maybe. but you can keep on grabbing it for persistent access.

W

nice


Add FTL test action.

A test workflow using this action was passed.
https://github.com/firebase/firebase-ios-sdk/runs/7289578711?check_suite_focus=true