⚠ Jenkins Plugins Artifactory has degraded performance

In 526f497, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1166 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 76af41b after 40 minutes.


Reland fix memory leaks for tab selector

Part of https://github.com/flutter/flutter/issues/141198
Relands https://github.com/flutter/flutter/pull/147403
We need to make sure the bot 'Google testing' passes.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] I followed the breaking change policy and added Data Driven Fixes where supported.
[ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

cc @polina-c

@chingjun , can you add your review to enable autosubmit to enable google testing?

Here is the error:
The following assertion was thrown building ...:
		dependOnInheritedWidgetOfExactType<_TabControllerScope>() or dependOnInheritedElement() was called
		before _TabPageSelectorState.initState() completed.
17:32:14.000	U	When an inherited widget changes, for example if the value of Theme.of() changes, its dependent
		widgets are rebuilt. If the dependent widget's reference to the inherited widget is in a constructor
		or an initState() method, then the rebuilt dependent widget will not reflect the changes in the
		inherited widget.
		Typically references to inherited widgets should occur in widget build() methods. Alternatively,
		initialization based on inherited widgets can be placed in the didChangeDependencies method, which
		is called after initState and whenever the dependencies change thereafter.
		The relevant error-causing widget was:
		...
		When the exception was thrown, this was the stack:
		#0      StatefulElement.dependOnInheritedElement.<anonymous closure> (third_party/dart/flutter/lib/src/widgets/framework.dart:5714:9)
		#1      StatefulElement.dependOnInheritedElement (third_party/dart/flutter/lib/src/widgets/framework.dart:5757:6)
		#2      Element.dependOnInheritedWidgetOfExactType (third_party/dart/flutter/lib/src/widgets/framework.dart:4773:14)
		#3      DefaultTabController.maybeOf (third_party/dart/flutter/lib/src/material/tab_controller.dart:409:20)
		#4      _TabPageSelectorState._tabController (third_party/dart/flutter/lib/src/material/tabs.dart:2266:84)
		#5      _TabPageSelectorState._setAnimation (third_party/dart/flutter/lib/src/material/tabs.dart:2315:15)
		#6      _TabPageSelectorState.initState (third_party/dart/flutter/lib/src/material/tabs.dart:2287:5)
		#7      StatefulElement._firstBuild (third_party/dart/flutter/lib/src/widgets/framework.dart:5612:55)
		#8      ComponentElement.mount (third_party/dart/flutter/lib/src/widgets/framework.dart:5457:5)

May be we need to make things resilient to usage after disposal?

@polina-c I think I just need to not set the animation in the initState but in the didChangeDependencies only. Hopefully fix: Don't use dependOnInheritedWidgetOfExactType in the initState fixes it

Great!
Can you add test coverage that would catch the issue that you just fixed, in public testing, before internal testing?

Great! Can you add test coverage that would catch the issue that you just fixed, in public testing, before internal testing?

Sure, the test I added in test: Add a test that uses DefaultTabController fails without my fix in fix: Don't use dependOnInheritedWidgetOfExactType in the initState


Implement Arbitrary Precision Numbers.

In this PR, I have ported over APFloat, APInt, and other components from LLVM. This was a massive undertaking.

bors r+


JSON Schema issue with custom actions and images

using https://github.com/jeremyrickard/do-porter:
porter v0.20.0-beta.1 (bd40408)
VS Code porter extension: 0.0.1

@carolynvs I'm still showing that the images section still throws validation errors, though the customActions is in fact fixed. Do you see what I see?

d in 20.2.

Taking a look now ☝

This is fixed in the latest version of Porter.


fest: Support media queries

Add meta tags in static html files

There were the following issues with your Pull Request

Commit: 762bf1d0fd5445544985e973f199820963ec1566
Commits must be in the following format: %{type}(%{scope}): %{description}

Guidelines are available at http://karma-runner.github.io/0.13/dev/git-commit-msg.html

This message was auto-generated by https://gitcop.com

What's wrong with the commit message?


fix(bigquery_usage ingestion): add partition decorator to regex, move exception handling to after matching, add table snapshots

Summary
changes to bigquery_usage ingestion:

fix: add partition decorator to partitioned table regex
refactor: move invalid table exception handling to after regex matching
feat: add bigquery table snapshot handling

Details
fix(ingestion): add partition decorator to partitioned table regex

Add partition decorator $ to regex
Documentation: https://cloud.google.com/bigquery/docs/managing-partitioned-table-data

refactor(ingestion): move invalid table exception handling to after regex matching

Check for partitioned table matching (and table snapshot matching) before handling exceptions that don't match

feat(ingestion): add bigquery table snapshot handling

Add bigquery table snapshot regex and matching
Documentation: https://cloud.google.com/bigquery/docs/table-snapshots-intro

Checklist

[ ] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable)

LGTM!

Hi @courtney-lang, thanks for the contrib!

Could you run ./gradlew :metadata-ingestion:lintFix to fix the formatting issues that flake is complaining about?
You might want to rebase your branch since CI on your branch might be impacted by a urllib related bug that has been fixed upstream.

thanks!

@shirshanka - all set, hopefully I did the rebase correctly 🤞


Fix invalid dependency for jspm

This fixes installation with jspm:
$ jspm install<EMAIL_ADDRESS>
err  Installing<EMAIL_ADDRESS>no version match for<EMAIL_ADDRESS>
It seems that jspm checks for the max version when installing dependencies and since 0.6.0 is not a valid release, it causes the installation to fail. I lowered the max dependency to the last real version.

But this don't match 0.5.4 if I publish it.
If you want to change it you could do this change:
>= 0.4.0 <=0.6.0
>=0.4.0 <0.6.0

Anyway the version is valid: Try it here: http://semver.npmjs.com/

I will ask over at jspm to figure out the best way to resolve this. I wonder if >=0.4.0 <0.6.0 will work. Closing for now.


Help on Reading multiple non-contiguous modbus registers on same device

What is the best way to read multiple strips (non contiguous) of modbus registers?
I've done something like the capture attached and it works. But I'm not sure if this is the best way if you want to scale. Sending multiple requests to the same node make it difficult to keep a record of messages received.

Did you try the Flex Getter?

That nodes are flex getter. My point is not sending multiple messages, but to arrange all the registers read from a particular device in an array so I can analyze them later. If I send multiple requests, how can I validate which messages are going to be joined in an array and in which order and messing up different requests for the same device?

May be this is a request for an enhancement. A node that you can pass in one request all the registers needed.  for example: read register 100, 20 count, register 200, 15 count, etc. and getting one array with those readings in the order received.

If you think about, how to program such a node, then you found the solution and it is possible to build it in a flow with node-red, maybe.

I don't know what detail level you need, but I think of this:
along with the fc and unitid parameters, one would pass an array with [reg#1,qty#1,reg#2,qty#2,....,reg#n,qty#n]
var allValuesArray = []
var loopValuesArray =[]
validate input parameter array has even number of values
loop from x=1 to x=(inputArray.length)/2
read from modbus unitid regx,qtyx and place result in loopValuesArray[]
allValuesArray = allValuesArray.contact(loopValuesArray)
loopValuesArray = []
delay z msec
loop end
return allValuesArray and other parameters

sorry I meant:
allValuesArray = allValuesArray.concat(loopValuesArray)


Add certificate based authentication

This PR add support for using certificates to authenticate for the Crank controller, agent, and ServiceBusAgent. It does not add support for using certificates to authenticate Azure relay.

@DrewScoggins  can you check my feedback?

Sorry for the delay in responding to this feedback, but I think I have addressed all the feedback. This PR is also not complete because we need to also add managed identity support, as that is how the ASP.NET lab is going to function.

Sorry for the delay in responding to this feedback, but I think I have addressed all the feedback. This PR is also not complete because we need to also add managed identity support, as that is how the ASP.NET lab is going to function.

Thanks for the update, @DrewScoggins. @sebastienros do we need a change from our side here, or should this merge first and then we follow-up with a separate PR?


Install error on OS X El Capitan

I'm getting the following and still getting it after a full reinstall of the OS (an unrelated reinstall, but never the less..):
[ 67%] Building C object CMakeFiles/torch.dir/TensorOperator.c.o
[ 70%] Building C object CMakeFiles/torch.dir/init.c.o
[ 73%] Building C object CMakeFiles/torch.dir/Storage.c.o
make[2]: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang: Permission denied
make[2]: *** [CMakeFiles/torch.dir/File.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang: Permission denied
make[2]: *** [CMakeFiles/torch.dir/TensorOperator.c.o] Error 1
[ 76%] Building C object CMakeFiles/torch.dir/Tensor.c.o
make[2]: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang: Permission denied
make[2]: *** [CMakeFiles/torch.dir/init.c.o] Error 1
make[2]: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang: Permission denied
make[2]: *** [CMakeFiles/torch.dir/Timer.c.o] Error 1
make[2]: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang: Permission denied
make[2]: *** [CMakeFiles/torch.dir/Tensor.c.o] Error 1
make[2]: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang: Permission denied
make[2]: *** [CMakeFiles/torch.dir/Storage.c.o] Error 1
make[2]: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang: Permission denied
make[2]: *** [CMakeFiles/torch.dir/MemoryFile.c.o] Error 1
make[2]: *** [CMakeFiles/torch.dir/DiskFile.c.o] Error 1
make[1]: *** [CMakeFiles/torch.dir/all] Error 2
make: *** [all] Error 2

Error: Build error: Failed building.
+ exit 1

I'd just like to point out that clang works:
$ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
clang: error: no input files

Which command are you running here?
Also, which clang / CUDA etc.

Sort of same problem here with MacOS Sierra (10.12) with XCode (8.0)
CUDA 8.0
clang - Apple LLVM version 8.0.0 (clang-800.0.38)
Running ./install.sh

I have exactly a same problem

This was solved in https://github.com/torch/cutorch/issues/522


panic: runtime error: invalid memory address or nil pointer dereference

When you obtain the url with the FindBytag (249) of the videos of many playLists diferents, this error occurs.
"panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x1417fc9]
goroutine 1 [running]:
github.com/kkdai/youtube/v2.(*Client).GetStreamURLContext(0x18572c0, 0x1602c30, 0xc000018080, 0xc000138370, 0x0, 0xc000138370, 0x0, 0x0, 0x0)"

hi @imDICO ,
could you please provide youtube url ?  I can't reproduce with url in example test.

any update?


evaluate.py seems to fail on the example (get_started.sh) script.

Running the evaluate.py script as given in get_started.sh is leading to a Key Error. Any reasons/explanations as to what might be going wrong?
`$> python evaluateMLP.py -model ../models/mlp_num_hidden_units_1024_num_hidden_layers_3.json -weights ../models/mlp_num_hidden_units_1024_num_hidden_layers_3_epoch_00_loss_5.10.hdf5 -results ../results/mlp_1024_3_ep0.txt
Using Theano backend.
Couldn't import dot_parser, loading of dot files will not be possible.
/usr/local/lib/python2.7/dist-packages/theano/tensor/signal/downsample.py:5: UserWarning: downsample module has been moved to the pool module.
warnings.warn("downsample module has been moved to the pool module.")
Traceback (most recent call last):
File "evaluateMLP.py", line 102, in
main()
File "evaluateMLP.py", line 22, in main
model.load_weights(args.weights)
File "/usr/local/lib/python2.7/dist-packages/keras/models.py", line 849, in load_weights
for k in range(f.attrs['nb_layers']):
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper (/tmp/pip-build-fkfoP6/h5py/h5py/_objects.c:2453)
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper (/tmp/pip-build-fkfoP6/h5py/h5py/_objects.c:2410)
File "/usr/local/lib/python2.7/dist-packages/h5py/_hl/attrs.py", line 52, in getitem
attr = h5a.open(self._id, self._e(name))
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper (/tmp/pip-build-fkfoP6/h5py/h5py/_objects.c:2453)
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper (/tmp/pip-build-fkfoP6/h5py/h5py/_objects.c:2410)
File "h5py/h5a.pyx", line 77, in h5py.h5a.open (/tmp/pip-build-fkfoP6/h5py/h5py/h5a.c:2057)
KeyError: "Can't open attribute (Can't locate attribute: 'nb_layers')"`

Strangely, the script runs fine if I pass one of the training snapshots instead of the final model hdf5 (eg. mlp_num_hidden_units_1024_num_hidden_layers_3_epoch_99.hdf5). @avisingh599 : Can you throw some light on this?

I have the same issue, can you help to solve it?

Did you use spaCy to load the Stanford Glove word2vec? The pre-trained model has that and unless changed locally spaCy will NOT load the Stanford Glove.


Support aars with embedded jar dependencies.

Sometimes .aar files comes with their own dependency jars which are stored in libs/.jar.  This will vendor those embedded dudes.
https://github.com/HipByte/motion-gradle/issues/15
(support-v4 after version 19 is like this)

@darinwilson Could you please try this patch to see if it fixes your issue ?
@skellock Thanks for the PR.

Just verified this works for me.

Sorry for the slow reply - works for me too 💜


fix(deps): Add test dependency from zebra-rpc to zebra-network with correct features

Motivation
If I build the tests for the individual zebra-rpc crate, the build fails due to a missing dependency.
This is a bug from PR #5951.
Solution
Add the correct dependencies for the proptest-impl feature.
Review
Anyone can review this code. It blocks some kinds of testing, so I think it might be a high priority.
Reviewer Checklist

[ ] Will the PR name make sense to users?

[ ] Does it need extra CHANGELOG info? (new features, breaking changes, large changes)

[ ] Are the PR labels correct?
[ ] Does the code do what the ticket and PR says?

[ ] Does it change concurrent code, unsafe code, or consensus rules?

[ ] How do you know it works? Does it have tests?

Follow Up Work
I don't think we need any extra CI checks for this build bug, because it just happens in test code.

Failed with:
ERROR: failed to solve: failed to push us-docker.pkg.dev/zealous-zebra/zebra/zebrad-test:pr-5992: failed to copy: io: read/write on closed pipe
Error: buildx failed with: ERROR: failed to solve: failed to push us-docker.pkg.dev/zealous-zebra/zebra/zebrad-test:pr-5992: failed to copy: io: read/write on closed pipe

Iam restarting the failed check.

Failed with:
ERROR: failed to solve: failed to push us-docker.pkg.dev/zealous-zebra/zebra/zebrad-test:pr-5992: failed to copy: io: read/write on closed pipe
Error: buildx failed with: ERROR: failed to solve: failed to push us-docker.pkg.dev/zealous-zebra/zebra/zebrad-test:pr-5992: failed to copy: io: read/write on closed pipe

Iam restarting the failed check.

PR #5985 fixes this issue, it might not have merged when I pushed this branch.

@mergofyio refresh

@mergifyio refresh

@mergifyio refresh

Hopefully this should merge now that we've fixed that CI Docker bug


Hides last exit code in vanilla windows

In "vanilla" windows, LASTEXITCODE is hidden:
> powershell.exe -Command "Exit 123"
> echo $LASTEXITCODE
True

This should output 123.

Easily fixable, the piece of code which causes that is still from PS-Config I think. I'll fix it this evening if all goes well.

Thanks!

Yw!


[9.x] Make reconnectIfMissingConnection public

Summary
I've use-cases where I need to get the PDO from a connection but also
need to respect, in case a disconnect happened, to perform a reconnect.
Currently, I've to:

get pdo
check if null
call reconnect

everywhere I need it. Or I could just call this one on the connection
object, if it were public, and then get the PDO.

Changing the visibility is unfortunately a breaking change: https://3v4l.org/vppve
Best to send this to master.

Please resubmit this to master and with passing tests. Thanks

Re-submitted: https://github.com/laravel/framework/pull/41594


How to append a record (row) to a DF?

Sorry for the silly question here,
How to append a row to an existing dataframe?
Thanks :)

import nimdata

let dfA = DF.fromSeq(@[
  (name: "A", age: 99)
])

let newrecord = (name: "B", age: 100)

...

Since the library is based on iterators, there is currently no really convenient way to do that. Basically you'd have to recollect the data and construct a new CachedDataFrame with the extended sequence. Something like:
let dfAExtended = DF.fromSeq(dfA.collect() & @[newrecord])

If your use case involves appending a lot, perhaps you could implement a custom CachedDataFrame.

No problems, this makes sense and I will simply put all my rows on a sequence till it's ready to be "dataframed"
Thanks for the quick reply


Music

Attempt to add background "music".  Not very successful yet, but the drum track is based on "Toast" as are the annoying beeps (loosely).  More a pointer to less intrusive sound.

Need to add a sound effects 'track' with slightly different rules applied

This is now closer to where I wanted to get to - the smoke alarm now plays an absolutely crap alert sound BUT the game remains playable while it is sounding.
Sound effects get added to voice '0' in the music player and play once.  The other two voices play on a loop.  Lowest voice # wins if multiples want to play at the same time.
Sounds should be added to sound_library.c, with a TUNE_ pointer defined there.  That TUNE_ also needs to be added as extern to music.h.  game components wanting to play a sound add the relevant TUNE_ to params->effect, it gets picked up and actioned once per main loop.

OK merged this - have not invested too much in "tuning" the output because it's a waste of time with variable timings.  Think my next PR will be about reinstating a frame count/timer as per that code snippet I sent you - we can use that to control execution rate of the main loop (hoping to run through all components once per frame, or once per 2x frames if not) and from there we can get the sound under control a bit more.  Will mean the program will reset the Spectrum when it drops back to BASIC though


Cannot compile also how do I open a script in the terminal?

I successfully cloned and compiled official wlroots, and cloned Hyprland. Hyprland failed with message
"
FAILED: CMakeFiles/Hyprland.dir/src/render/OpenGL.cpp.o
/usr/bin/c++ -DGIT_BRANCH="" -DGIT_COMMIT_HASH="" -DGIT_COMMIT_MESSAGE="" -DGIT_DIRTY="dirty" -I/home/noah/Hyprland/. -isystem /usr/include/cairo -isystem /usr/include/lzo -isystem /usr/include/libpng16 -isystem /usr/include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/lib/glib-2.0/include -isystem /usr/include/sysprof-4 -isystem /usr/include/pixman-1 -isystem /usr/include/pango-1.0 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/fribidi -isystem /usr/include/libdrm -O3 -DNDEBUG -std=c++20 -DWLR_USE_UNSTABLE -Wall -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -pthread -MD -MT CMakeFiles/Hyprland.dir/src/render/OpenGL.cpp.o -MF CMakeFiles/Hyprland.dir/src/render/OpenGL.cpp.o.d -o CMakeFiles/Hyprland.dir/src/render/OpenGL.cpp.o -c /home/noah/Hyprland/src/render/OpenGL.cpp
/home/noah/Hyprland/src/render/OpenGL.cpp: In member function ‘void CHyprOpenGLImpl::begin(SMonitor*, pixman_region32_t*, bool)’:
/home/noah/Hyprland/src/render/OpenGL.cpp:135:5: error: ‘wlr_matrix_projection’ was not declared in this scope; did you mean ‘wlr_matrix_project_box’?
135 |     wlr_matrix_projection(m_RenderData.projection, pMonitor->vecPixelSize.x, pMonitor->vecPixelSize.y, WL_OUTPUT_TRANSFORM_NORMAL);  // TODO: this is deprecated
|     ^~~~~~~~~~~~~~~~~~~~~
|     wlr_matrix_project_box
"
Also, how do I open a terminal script with a keybind?
If you need, I will give the full output.

see the wiki for installation instructions

It worked. If I may ask, why did it make a difference? I had already tried cloning both your mirror of wlroots and the official version, inside and outside the hyprland folder. Why did doing it automatically change anything?

I see. Is it possible to open a terminal script in an emulator through a keybind?

Yep, first check your terminal for an option that allows launching it with a command (usually -e), and then you can bind to that command, for example:
bind=SUPER,A,exec,alacritty -e /path/to/script.sh

Ah, thank you!


Updating docs and making use of app config

This attempts to clarify a few vague points in the README. It helps to
distinguish between the different binaries created during the bootloader
building process.
It takes care of the somewhat confusing '/sd/' mount path for the
SD card. This is now handled by the program, allowing the user to just
specify the name of the binary that is placed in the root of the SD card.
It makes more use of app config to support onboard SD card slots
for the K64F and the UBLOX_EVK_ODIN_W2. It will use the Arduino SPI pins
for any other target.
The application update binary name is now specified in the app config as
well.
This should include the relevant changes from #21.

If at all possible, it'd be good to get this in before the mbed OS 5.5.0 release!

@AnotherButler All good comments, definitely no hate 👍

@theotherjimmy @AnotherButler Updated!

Ok, me thinks that's everything! @AnotherButler Would you mind doing one more once-over?

@AnotherButler Hopefully the last iteration! Updated with your comments.

Thanks for all of your help!
Now @c1728p9 / @theotherjimmy, is it possible to get this into master/the RC branches for OOB?

Merged to  oob, now we will need to send this to master to finalise the oob


Unstable panel widths with more than three panels

Hi!
When a panel group has more than three panels, when resizing one of the "center" panels, I've noticed the sizes of the preceding panels are not changing smoothly, but seem to "jump around". I suppose this is caused by a rounding error...
Can this be remedied as the visual experience is not great, especially when the panel content is rich and depends on the panel size? Here's a video showing the issue with a horizontal layout:
https://github.com/bvaughn/react-resizable-panels/assets/24974959/7cb20065-3c94-4f11-988a-d534f7990e3d
Thank you for the great libraries!

Can you share a repro of this please? I suspect the reason for the “jumping” is that something in your app is slow to render on resize.

Looks fine for me, even with 6x CPU throttling enabled. 🤷🏼

This is strange, I'm using a MacBook Pro M2, without any throttling, and I can still reproduce the effect in the video below on all my browsers:
https://github.com/bvaughn/react-resizable-panels/assets/24974959/f2573964-26cb-433b-8f02-d0c4c14808a1
(I've updated the sandbox.)

I dunno. Seems fine for me?
https://github.com/bvaughn/react-resizable-panels/assets/29597/2155fef6-5a8c-4218-b388-549b0e37267a

Resizing seems smooth for me?
https://github.com/bvaughn/react-resizable-panels/assets/29597/2155fef6-5a8c-4218-b388-549b0e37267a
I think I initially misunderstood what you were reporting though. I assumed the "jumping" was because of slow renders and React not keeping up with the resize updates, but I think you're talking about some small changes in percentage sizes that cause the panels to shift a bit unexpectedly during resize.
I haven't noticed that either, personally.

It's definitely noticeable with the right panel content (just tested on other OS/machine as well).
And yes, I think is related to some non-determinism in how the sizes are computed here, probably due to the "fuzzy" number comparisons. When slowly resizing a panel, on my machine, I've noticed some of the panels, which shouldn't change size at all yet, still have their size "jumping" around the "right" value by couple of pixels.
I'm curious if anybody else is able to reproduce the issue; or maybe the effect is so negligible for most of the use cases that nobody really notices it...
Anyway, thank you for the quick response!

Maybe you could record a Replay of this happening?
Does seem like it could be related to the fuzzy number / precision stuff. :(

It's definitely noticeable with the right panel content (just tested on other OS/machine as well).
And yes, I think is related to some non-determinism in how the sizes are computed here, probably due to the "fuzzy" number comparisons. When slowly resizing a panel, on my machine, I've noticed some of the panels, which shouldn't change size at all yet, still have their size "jumping" around the "right" value by couple of pixels.
I'm curious if anybody else is able to reproduce the issue; or maybe the effect is so negligible for most of the use cases that nobody really notices it...
Anyway, thank you for the quick response!

Seems like this is the same problem as in the issue I opened a few days ago. I also put up a sandbox where I was able to duplicate that behavior (You have to play around a bit to notice it, but in some positions of the right bar, it flickers if you resize with the left bar).

Hi, sorry for the late come-back.
Here's the updated sandbox and a recording of the unstable panel width behavior:
https://github.com/bvaughn/react-resizable-panels/assets/24974959/335dc3a0-1804-40a2-ae21-3900e9c28ea3
As you may see when only resizing between Panel#1 and Panel#2  the PIXEL width of Panel#3 and Panel#4 are changing although they should not (none of the min sizes are reached yet). The percent sizes are indeed stable.
In my usecase I'm "observing" the panel PIXEL widths (with a resize observer) and rendering other (expensive) elements based on those widths. It would definitely help not having pixel widths of unaffected panels changing unnecesarily as in the example above.
I could help by looking at the code, if there is not an obvious immediate solution to fix this.
Thank you!

I think this is just a quirk in how flex box layout works. If you observe the CSS styles for each panel, you'll see that the flex-grow style values don't change for the "flickering" panels.
https://github.com/bvaughn/react-resizable-panels/assets/29597/955854fc-8353-407b-9891-0f69944149af
I don't think I can do anything to fix this, short of maybe a major overhaul in the way this library works, and I don't have the capacity for that. (This is just a pro bono side project.)
If you dig into this and have a proposal, please submit a PR. Otherwise I don't think this is something I can tackle.

If you update your test app to the following, it makes this a bit easier to see I think:
export default function App() {
  return (

      <PanelGroup className={styles.PanelGroup} direction="horizontal">
        <PanelWithDebugInfo />
        <ResizeHandle className={styles.ResizeHandle} />
        <PanelWithDebugInfo />
        <ResizeHandle className={styles.ResizeHandle} />
        <PanelWithDebugInfo />
        <ResizeHandle className={styles.ResizeHandle} />
        <PanelWithDebugInfo />
      </PanelGroup>

  );
}

function PanelWithDebugInfo() {
  const ref = useRef<HTMLDivElement>(null);

  useLayoutEffect(() => {
    const element = ref.current;
    if (element) {
      const update = () => {
        const { width } = element.getBoundingClientRect();
        const size = element.parentElement!.style.flexGrow;

        const percentage = element.querySelector(
          '[data-test-name="percentage"]'
        );
        if (percentage) {
          percentage.textContent = `${size}%`;
        }

        const pixels = element.querySelector('[data-test-name="pixels"]');
        if (pixels) {
          pixels.textContent = `${width}px`;
        }
      };

      update();

      const observer = new ResizeObserver(update);
      observer.observe(element);

      return () => {
        observer.disconnect();
      };
    }
  }, []);

  return (
    <Panel className={styles.PanelColumn}>

0%

0px

    </Panel>
  );
}

https://github.com/bvaughn/react-resizable-panels/assets/29597/52c49b8e-3f72-43e8-915d-43d92e6d3286

I think I may have figured out a way to fix it. Stay tuned.

Okay check out<EMAIL_ADDRESS>I think it should fix this for you!

❤ → ☕ givebrian.coffee

Thank you for fixing this!


Diodes wrong in first tutorial, last picture

The picture https://github.com/wolfv6/keybrd/blob/master/tutorials/keybrd_1_breadboard/basic_breadboard_keyboard_overhead.JPG used in the first tutorial shows all the diodes put in the wrong direction.
I've tried, right positioning is opposite, as the other pictures show.

Thanks for informing me of the error.
basic_breadboard_keyboard_overhead.JPG  is fixed in commit a4a5ab7ca12f17bb3f7f041a97619f456a35d1d5


BottomDrawer not working on Android .net-7.0

I'm running into two issues trying to get the bottomdrawer example code. First, it seems like Android.Resources.Content.Id doesn't exist, at least not in .net 7.
I've replaced it with Resource.Id.content, but I'm not sure 100% that's correct.
Second, is I am getting an exception with getTheme() at runtime when the bottom sheet is trying to open

  Message=Attempt to invoke virtual method 'android.content.res.Resources$Theme android.content.Context.getTheme()' on a null object reference```

The first problem is with your namespace. It contains Android which conflicts with "Android.Resources"

You were correct. I've renamed my namespace droid to avoid this.
Instead of declaring my bottomsheet content in the Resources as a datatemplate, I tried passing an entire new Page() to the function. It works, but the bottomsheet's height is not correct (too tall), likely because the new page renders after its been passed to the bottom sheet and not before by calling CreateContent(). Is there a way to have a page call CreateContent?

The flow is next.
You init bottom sheet.
Convert MauiPage to Android page by calling ToPlatform
You set content of bottom sheet.
You display bottom sheet.
I recommend you add a scroll view to your MauiPage. Also play with bottom sheet settings


StackOverflowExeption at Binding

Thank you so amazing useful tool!
When I bind the IntelMKL, the below error occurs.
 C:\Users\dqm2k\source\repos\Compute.NET>bind mkl --vml --ilp64 -n IntelMKL -o .\Compute.Bindings.IntelMKL -c Vml --file vml.ilp64.cs --root "C:\Program Files (x86)\\IntelSWTools\\compilers_and_libraries_2020.4.311\\windows\\mkl"
16:28:12<01> [INF] Binding library module blas.
16:28:12<01> [INF] Using C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2020.4.311\windows\mkl as library directory.
16:28:12<01> [INF] Using C:\Users\dqm2k\source\repos\Compute.NET\test as output directory.
16:28:12<01> [INF] Using IntelMKL as library namespace.
16:28:12<01> [INF] Module file is C:\Users\dqm2k\source\repos\Compute.NET\test\blas.cs.
16:28:12<01> [INF] Using Intel64 architecture.
16:28:12<01> [INF] Using default Intel threading library.
16:28:12<01> [INF] Using ILP64 (Int64) array indexing
16:28:12<01> [INF] Creating bindings for BLAS routines...

Process is terminated due to StackOverflowException.

I have confirmed that the include files and libraries are successfully loaded from the MKL root directory.
Do you know any idea to treat this error?

This problem was solved by updating all reference packages.
I commented out CSharpSignature method at MKLTypeMaps.cs.
C:\Users\dqm2k\source\repos\Compute.NET>bind mkl --vml --ilp64 -n IntelMKL -o .\Compute.Bindings.IntelMKL -c Vml --file vml.ilp64.cs --root "C:\Program Files (x86)\\IntelSWTools\\compilers_and_libraries_2020.4.311\\windows\\mkl"
16:59:50<01> [INF] Binding library module blas.
16:59:51<01> [INF] Using C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2020.4.311\windows\mkl as library directory.
16:59:51<01> [INF] Using C:\Users\dqm2k\source\repos\Compute.NET\test as output directory.
16:59:51<01> [INF] Using IntelMKL as library namespace.
16:59:51<01> [INF] Module file is C:\Users\dqm2k\source\repos\Compute.NET\test\blas.cs.
16:59:51<01> [INF] Using Intel64 architecture.
16:59:51<01> [INF] Using default Intel threading library.
16:59:51<01> [INF] Using ILP64 (Int64) array indexing
16:59:51<01> [INF] Creating bindings for BLAS routines...
Parsing libraries...
Parsed 'mkl_intel_thread_dll.lib'
Parsed 'mkl_rt.lib'
Parsing code...
Parsed 'mkl_version.h, mkl_service.h, i_malloc.h, mkl_blas.h'
Processing code...
Generating code...
Generated 'Std.cs'
Generated 'blas.cs'
16:59:52<01> [INF] Removing unneeded file .\test\IntelMKL-symbols.cpp
16:59:52<01> [INF] Removing unneeded file .\test\Std.cs


callbacks not a package and doc

Description
import cil.optimisation.utilities.callbacks.Callback as Callback

leads to
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[62], line 1
----> 1 import cil.optimisation.utilities.callbacks.Callback as Callback

ModuleNotFoundError: No module named 'cil.optimisation.utilities.callbacks.Callback'; 'cil.optimisation.utilities.callbacks' is not a package
help(cil.optimisation.utilities.callbacks.Callback)

Is this expected?
Also, the docstring for this class gives no idea how this should work, e.g. what the signature is for the __call__ method.

From looking at Algorithm.py, I found out I have to do
from cil.optimisation.utilities.callbacks import Callback, ProgressCallback

Obvious? If so, sorry for the noise!

By looking at existing code (but not documentation), I was able to construct a callback that saves images
class SaveCallback(Callback):
    def __init__(self, run_every=1):
        super().__init__()
        self.run_every = run_every

    def __call__(self, algorithm):
         if not hasattr(algorithm, 'saved_images'):
             algorithm.saved_images = []
         if (algorithm.iteration % self.run_every == 0):
             algorithm.saved_images.append((algorithm.iteration, algorithm.get_output()))

Seems to work ok.


Fix blog post link in AsyncSemaphore

Perhaps it's a misconfigured redirect and the correct resolution is not to change the code, but the current link currently redirects to https://devblogs.microsoft.com/pfxteam/https:/devblogs.microsoft.com/iotdev/https:/devblogs.microsoft.com/iotdev/https:/devblogs.microsoft.com/iotdev/building-async-coordination-primitives-part-5-asyncsemaphore/

Thanks @ReubenBond.
@samsp-msft any guess who runs that blog and mangled the redirect so badly?

@anurse the CI seems to be stuck?

There's a bug in the blogs, lets not fix this.

Why do we even have this type?

Why do we even have this type?

shrug heath checks seems to use it.

Doesn't SemaphoreSlim work?

Doesn't SemaphoreSlim work?

I don't know why they chose this, you'd have to ask @davidni.

Determinism in unit tests. AsyncSempahore respects the current TaskScheduler when scheduling continuations, and enables us to write precise and deterministic unit tests that simulate passage of time. SemaphoreSlim escapes the current TaskScheduler and therefore makes writing those kinds of tests impossible or extremely hard.
Having said that.... AsyncSemaphore is a pretty naïve implementation and doesn't perform well with many waiters. I think it would be wise to fix the bottlenecks, or get rid of it entirely if we find that we can exercise all relevant unit test scenarios without it.

I'd get rid of it entirely and use SemaphoreSlim, are you using a custom task scheduler in the unit tests?

Blog posts fixed

are you using a custom task scheduler in the unit tests?
@davidfowl yep. I've shared internal links privately with some examples.


[QNN] Dynamic scale, zero point in qnn.op.dequantize

This PR allows the qnn.op.dequantize op to accept dynamic scales and zero points. #6782 made similar changes to the qnn.quantize op.
I also added unit tests to the qnn testing to make sure that the dynamic scale and zero points work for both quantize and dequantize.
@jwfromm @masahi Please take a look

thanks @electriclilies


Rename poly -> polynomial

Fixes https://github.com/google/heir/issues/207
I did NOT rename poly_ext, but everything else involving 'poly' should be renamed

Done!

@asraa stamp for internal?


huge performance issue

this package stops being usable when you have more than 10 expandables, it causes terrible lag and performance :(

Did you find any to replace it, check that it's true performance drops when there are too many expandables


openbsd port

remove multiple definition of stack_t
make types resolv correctly
correct target definitions

dragonfly is already defined as freebsdlike
bitrig is an openbsdlike

imports should be public

the PR makes libc build on openbsd

Awesome, thanks!
Do you know if there's any way that we can test this on Travis? I'd love to prevent this from regressing!


SourceLink consolidation

So I just spent hours figuring out why my build wanted to include some beta version of SourceLink and why all the references in the libraries are set to "Update".
Turns out there's another Directory.Build.props I didn't see because I didn't look in the actual file system.
This change makes it more obvious what's going on and also updates the SourceLink reference in the Directory.Build.props so the projects don't have to do it themselves.
Edit: The GUID change is just VS migrating from the old project system to the new one (see https://github.com/dotnet/project-system/issues/3079)

Codecov Report

Merging #384 (a6aaa37) into master (5e72564) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##           master     #384   +/-   ##
=======================================
  Coverage   76.80%   76.80%
=======================================
  Files          89       89
  Lines        2531     2531
  Branches      427      427
=======================================
  Hits         1944     1944
  Misses        466      466
  Partials      121      121

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Review please, this one is just here to make development easier, not much to do here.

@abergs what's the holdup? Anything I can help with? Does it have to do with passwordless.dev being integrated into bitwarden?

Hi @Regenhardt. I appreciate the PR -- I just haven't had the free time available to properly review.
Will do it as soon as I have the time.

@abergs Yo it's been like a month are you ok?


Add magazine subscribe url

https://www.pivotaltracker.com/story/show/172682576
Current:

New:

Not seeing a site label for RefrigeratedTransporter


Is it possible or feasible  to include the feature that register or trigger multi-listener at a time?

Example: as a video player
  var ee = new EventEmitter()
  ee.on('statechange', function fn1(...){
    //...
  });
  ee.on('start', function fn2(...){
    //...
  });
  ee.trigger('statechange start');

You can pass a regular expression to trigger / emitEvent. So you can make the multiple emit as complex as you want, but your use case is easy enough.
ee.trigger(/^statechange|start$/);

You could even write a function that tool a string, split it by spaces and compiled it into the regular expression format I've shown above with new RegExp('^' + eventNames.split(' ').join('|') + '$');. Actually, I basically wrote what you need there, just slap that in a function and you can have a little string DSL that builds multi-emit expressions.

As you metioned, when i scrolled to the end of the guide, i found that usage. please forgive  my thoughtlessness:sweat:

Hah, not a problem. I hadn't thought to write a function to turn a string into a CSS selector style emit until now because of it. Good luck with whatever you're building!


[BUG] Copy-PnPFile only copies folders even if file is specified

Reporting an Issue or Missing Feature
https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/copy-pnpfile?view=sharepoint-ps states that
PS:>Copy-PnPFile -ServerRelativeUrl "/sites/project/Shared Documents/company.docx" -TargetServerRelativeLibrary "/sites/otherproject/Shared Documents"

will
Copies a file named company.docx located in a document library called Shared Documents in the site collection project to the Shared Documents library in the site collection otherproject. If a file named company.docx already exists, it won't perform the copy.
In https://github.com/pnp/powershell/blob/dev/src/Commands/Files/CopyFile.cs it seems that only folder is passed along CopyToOtherSiteCollection(sourceUri, targetUri); and not the actual ref to the file meaning that the folder will always be passed?
This was changed in PnP-powershell in commit https://github.com/pnp/PnP-PowerShell/commit/7f8735284e56ff2ba40cec01e6c6b8684585a59a#diff-2a3f10f735507b7333a80eabec28831f5de366d962ad4637cff0326c3c80f718
 Uri sourceUri = new Uri(currentContextUri, sourceFolder);

vs earlier SourceUrl.
This issue in the old repo says the same thing. https://github.com/pnp/PnP-PowerShell/pull/2796
With this change my old script that copied files one by one (need to process each file individually so we at the same time can download and save metadata to replicate file by file in target location)
Expected behavior
When running
$fileRef = "/sites/Investment/SmallerTEst/General/3 test.docx"
$newTargetFolderUrl = "/sites/TargetTest2/Delade Dokument/General"
Copy-PnPFile -SourceUrl $fileRef -TargetUrl $newTargetFolderUrl -OverwriteIfAlreadyExists -Force

This should copy the file 3 test.docx to /sites/TargetTest2/Delade Dokument/General/3 test.docx
Actual behavior
This copies the whole "General" folder into /sites/TargetTest2/Delade Dokument/General/General (notice double General)
Steps to reproduce behavior
See above
What is the version of the Cmdlet module you are running?
ModuleType Version    PreRelease Name                                PSEdition ExportedCommands
---------- -------    ---------- ----                                --------- ----------------
Manifest   0.3.39     nightly    PnP.PowerShell                      Core,Desk {Add-PnPClientSidePage, Add-PnPClientSidePageSection, Add-PnPCli…

Which operating system/environment are you running PnP PowerShell on?

[x] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[ ] Other : please specify

Hej Patrik,
The cmdlet used the CSOM version of a copyjob behind the scenes but it didn't specify a file name if provided. I have updated both Copy-PnPFile and Move-PnPFile cmdlets to use an updated version of the code to copy the files. I also updated the documentation at https://pnp.github.io/powershell accordingly. Some of the parameters have been renamed, but aliases have been provided where appropriate.

Hej Patrik,
The cmdlet used the CSOM version of a copyjob behind the scenes but it didn't specify a file name if provided. I have updated both Copy-PnPFile and Move-PnPFile cmdlets to use an updated version of the code to copy the files. I also updated the documentation at https://pnp.github.io/powershell accordingly. Some of the parameters have been renamed, but aliases have been provided where appropriate.

Thanks for the quick response @erwinvanhunen.
It seems the sleep added in RestHelper checking on jobstatus is a bit over-zealous. Right now all copies with the nightly build take at least 5-10 sec compared to the avg of 0-2 with the legacy PnP-PowerShell. This would bump my total runtime of the script to over 14 full days.
How about perhaps either
a) use a backoff strategy for the sleeping so we can move on from quick copies ... quickly.
b) separate the invocation of the CopyJob from the completion monitoring. Fire off the CopyJobs as quickly as the API will let us and then run the followups in a separate thread which can report back errors which we can handle separately? (In my case I will log the failed copies and handle them in a batch post-run). A naive implementation would be to set up a queue to where we put the invocations and then process the response with a delay, if the processed item is still not finished we can re-queue it at the end and it will be picked up on the next passthrough?
It would then be
Create A,B,C, Receive confirmation for A, Receive confirmation for B, Create D,E, Receive confirmation for C etc etc. I do not know if there is any server-side limit on how many concurrent jobs you can have running without getting throttled, perhaps you have some insight?
I guess A is the easiest fix that would let me actually use the cmdlets again.
Thoughts? Let me know if you are pressed for time and I could take the time to set up a dev env for pnp-powershell to create a simple PR (it will just take me some time since I never develop cmdlets :))
Ref commit: https://github.com/pnp/powershell/commit/0ed8d91aa877c1931e84e9ae486180cf425a7162#comments is

Thanks for the quick response @erwinvanhunen.
It seems the sleep added in RestHelper checking on jobstatus is a bit over-zealous. Right now all copies with the nightly build take at least 5-10 sec compared to the avg of 0-2 with the legacy PnP-PowerShell. This would bump my total runtime of the script to over 14 full days.
How about perhaps either
a) use a backoff strategy for the sleeping so we can move on from quick copies ... quickly.
b) separate the invocation of the CopyJob from the completion monitoring. Fire off the CopyJobs as quickly as the API will let us and then run the followups in a separate thread which can report back errors which we can handle separately? (In my case I will log the failed copies and handle them in a batch post-run). A naive implementation would be to set up a queue to where we put the invocations and then process the response with a delay, if the processed item is still not finished we can re-queue it at the end and it will be picked up on the next passthrough?
It would then be
Create A,B,C, Receive confirmation for A, Receive confirmation for B, Create D,E, Receive confirmation for C etc etc. I do not know if there is any server-side limit on how many concurrent jobs you can have running without getting throttled, perhaps you have some insight?
I guess A is the easiest fix that would let me actually use the cmdlets again.
Thoughts? Let me know if you are pressed for time and I could take the time to set up a dev env for pnp-powershell to create a simple PR (it will just take me some time since I never develop cmdlets :))
Ref commit: https://github.com/pnp/powershell/commit/0ed8d91aa877c1931e84e9ae486180cf425a7162#comments is

Fair feedback. We updated the cmdlets. Both Copy-PnPFile and Move-PnPFile now support a -NoWait parameter which will return the cmdlet immediately after the first progress poll. The cmdlet will then return a job object which can be used in combination with Receive-PnPCopyMoveJobStatus to retrieve the job status. See the documentation which will be updated tomorrow after the nightly build (or check the repo now). It will be available in build 1.1.3-nightly.

Fair feedback. We updated the cmdlets. Both Copy-PnPFile and Move-PnPFile now support a -NoWait parameter which will return the cmdlet immediately after the first progress poll. The cmdlet will then return a job object which can be used in combination with Receive-PnPCopyMoveJobStatus to retrieve the job status. See the documentation which will be updated tomorrow after the nightly build (or check the repo now). It will be available in build 1.1.3-nightly.


Feature/modal navigation

Practical example: added a list of files with options - rename and move options are presented in an action sheet.

@corysmc Hey Cory! Amazing contribution as always.
I refactored a bit and moved the example to its own category, as it didn't really fit "Popup modal".
Please let me know what you think of the changes so we can merge it to master 😄


Tenant Selection

Is your feature request related to a problem? Please describe.
If a user logs in that has access to multiple tenants, only the home tenant is selected.
Describe the solution you'd like
A user should be able to select which tenant they would like to access.
Describe alternatives you've considered
It's theoretically possible to log in with the very bizarre #EXT# username syntax, but very few people know that such a system exists for guest users, and it's unclear if this would actually work in all scenarios anyway. It would also be very inconsistent with the trained behavior from Azure Portal.
Additional context
The most logical place for this to me seems to be to make the "tenant" indication in the top right a dropdown which can select the tenant to operate in. Alternatively, perhaps just put it inside the profile dropdown that already exists.

You may change the value of tenant query parameter in https://developer.microsoft.com/en-us/graph/graph-explorer?tenant=abc.onmicrosoft.com to access another tenant. This feature was added by https://github.com/microsoftgraph/microsoft-graph-explorer-v4/pull/568.


Documentation or functionality fix for placeholder.

Docs quite pure and does not gives all functionality description. My bottleneck with placeholders. According to docs its possible to add some placeholder modification but only documentation for addition placeholder classes present in the docs(or I just didn't manage to find it?).
Also it says that it should be possible to modify placeholder to use some template but no documentation/examples/demos(or docs doesn't not complete or functionality missing). I found some way to add template but it seems buggy.
Also I think there some problems when you using not a UL -> LI drag-and-drop structure.
P.S. if docs not complete, I can help with that.

@artgryn If you think you can add more details, please do so. contributions are welcome.

Ashik


OSX CATALINA: I click on open file and everything is grey

Hello.
How exactly does this works? I downloaded the OSX version, in both java and standard, and the software opens normally and when I click on open file, I cannot load .stl or .obj or .ctb to check them out, everything is grey and unclickable.
Any suggestions?

PFV is no longer developed. only opens and validates .photon files
use UVTOOLS instead
No dia sexta-feira, 15 de janeiro de 2021, darkgothgirl83 <
<EMAIL_ADDRESS>escreveu:

Hello.
How exactly does this works? I downloaded the OSX version, in both java
and standard, and the software opens normally and when I click on open
file, I cannot load .stl or .obj or .ctb to check them out, everything is
grey and unclickable.
Any suggestions?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Photonsters/PhotonFileValidator/issues/91, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUR56TW5HYL3247RIRUXX3S2AKTBANCNFSM4WD3FHYQ
.

--
Com os melhores cumprimentos,
Vinicius Silva

PFV is no longer developed. only opens and validates .photon files
use UVTOOLS instead
No dia sexta-feira, 15 de janeiro de 2021, darkgothgirl83 <
<EMAIL_ADDRESS>escreveu:

Hello.
How exactly does this works? I downloaded the OSX version, in both java
and standard, and the software opens normally and when I click on open
file, I cannot load .stl or .obj or .ctb to check them out, everything is
grey and unclickable.
Any suggestions?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Photonsters/PhotonFileValidator/issues/91, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUR56TW5HYL3247RIRUXX3S2AKTBANCNFSM4WD3FHYQ
.

--
Com os melhores cumprimentos,
Vinicius Silva


address concerns raised while troubleshooting #524

This PR, when merged, should resolve #524 and restore proper TCP proxy functionality with an out-of-box configuration.

@pschultz @magiconair PR to address #524

Is it possible to have multiple authors on a single commit? Then you could attribute @pschultz as well. More curious than asking.

I'm not sure about the commit itself ... I don't know.  I fully agree though that @pschultz should get credit in the changelog and release notes at a minimum.

@magiconair Any more thoughts on changing the default state of proxy-protocol on the listener?  Do we want to keep it false as-is in the current PR?
I also noticed that in the updated go-proxyproto package there is a function to check for allowed sources for proxy-protocol.  That would elevate some of the security concerns but I think that's a later feature enhancement.

You'll learn something new every day. Thx for looking.

@magiconair, no it wouldn't.  We're not using the TCP PROXY protocol anywhere.  We're using gRPC now (successfully) and auth.

Lets do this. Thank you all!

@leprechau shoot, we forgot something. Can you provide another PR with an updated fabio.properties and documentation? Feel free to merge right away. I'll work on the CHANGELOG.

@magiconair absolutely.

Also, fabio users: if you find this change and think disabling PROXY by default was a grave mistake please let us know. Thx

@leprechau does this disable proxy for tcp only or also for http?

This disables PROXY protocol on all listeners by default unless enabled with pxyproto=true.

I'm having second thoughts on disabling by default. Will sleep on it a night. :)

Okay, I have the documentation done.  I'll push it to a new branch and create a PR.

Updated documentation here: https://github.com/fabiolb/fabio/pull/583


Create Footer 12 dark

One need to make this component using HTML and Tailwind CSS. I would suggest to use Tailwind Playgrounds to make things faster and quicker.
Here is a reference to the component.

After building the component please raise a PR with a screenshot of the component and add the component in path of the file.
If you need to use any icon please use it from Hero Icons
Good luck.

Hey @Rajdip019, I would like to work on it. Can you please assign it to me? :))

Go ahead. @nikhil25803


Add documentation on running Flatcar with EKS

Now that the former EKS PRO feature is available in our community images, add documentation on how to do this to https://github.com/flatcar-linux/flatcar-docs/blob/main/docs/installing/cloud/aws-ec2.md  and maybe add "...EKS" to the AWS doc page title.
A good how-to is this blog post: https://kinvolk.io/blog/2021/02/deploying-an-eks-cluster-with-flatcar-workers/

Is the blog post instruction up to date? I've tried to create a cluster with Web console and with eksctl, but worker nodes fail to join the cluster

I suspect the blog post is out of date; I just tried to follow it and could not get the Flatcar nodes to join the EKS cluster. Is there a better source of information or instructions?

Tried following the blog post too and it's a no go. I suspect because the bootstrap.sh tries to modify files in /usr which is read-only in Flatcar. I may have another go at this with a manual configuration.

Does anyone have any log messages from the failures to share?


Add jquery.csv.min.js not recognized by minify

I'm trying add jquery-csv in my application, tried some solutions but when invoke .toArrays got 'cannot call toArrays of undefined'

Are you using jQuery? Did you import jQuery first?

Yeah, jquery is imported.
I resolved putting some comment before the script, like
/*!
 * jquery-csv
 */

@garug I am experiencing the same issue. What script are you referring to? Are you talking about the custom script you are writing or the jquery-csv.js file ?

@garug I am experiencing the same issue. What script are you referring to? Are you talking about the custom script you are writing or the jquery-csv.js file ?

In jquery.csv.min.js

@garug Thanks. What did the trick for me personally was using "$" instead of "jQuery"

I'm curious. Why are you minifying an already minified source? Why not use jquery.csv.js?


Security suggestions towards autobahn-python

I've got some suggestions which may be useful and can help make it more secure.

The "random.choice()" used here may be considered vulnerable because the "random" module is not suitable for cryptographic operations as it is not cryptographically secure.
Adopting "os.urandom" or functions from the 'secrets' module may be a feasible solution.
The default iteration for pbkdf2 should be at least 10000, while the current default iteration here is only 1000.
You can increase the iteration to at least 10000 to fix it.

thanks for looking closely and for your suggestions!

rgd 1.: yes, indeed, seems random.choice would be using random.random under the hood and the whole module is discouraged for the intended use, but using the secrets module is encouraged.
IOW, we should use https://docs.python.org/3/library/secrets.html#secrets.choice here

The default iteration for pbkdf2 should be at least 10000,

do you have a source for that statement?

I copy the following content from Wiki:
"When the standard was written in the year 2000 the recommended minimum number of iterations was 1,000, but the parameter is intended to be increased over time as CPU speeds increase. A Kerberos standard in 2005 recommended 4,096 iterations;[1] Apple reportedly used 2,000 for iOS 3, and 10,000 for iOS 4;[4] while LastPass in 2011 used 5,000 iterations for JavaScript clients and 100,000 iterations for server-side hashing.[5] In 2023, OWASP recommended to use 600,000 iterations for PBKDF2-HMAC-SHA256 and 210,000 for PBKDF2-HMAC-SHA512.[6]"
It seems an iteration count of 10000 may also not be sufficient. 600,000 iterations should be applied. So, 1000 is obviously not enough.

In 2023, OWASP recommended to use 600,000 iterations for PBKDF2-HMAC-SHA256

agreed, even though this might have "breaking consequences" for users practically - as I seem to remember, at least historically, using large number of iterations basically made the function stuck for ages depending on language/run-time .. due to maybe historically bad (performance wise) implementations ... not sure, long ago;)
however, I would like to take the chance to underline:

WAMP-CRA, salted or not, and with or without using this specific function, is designed and should be "safe to use" providing a modest level of security - however,
for best-in-class / state-of-the-art security, other WAMP authentication methods should be generally preferred, e.g. WAMP-cryptosign

To be honest, learned a lot, LOL.

sure! that's only part of the story though;) you know, I am an absolute no-jokes security fanatic. what are you after? are you implementing a new WAMP router?

detecting cryptographic vulnerabilities in Python

fantastic! I'd say, this is always highly welcome! and hey, you identified an issue in this repo - and we will fix it.
of course "will fix": no one is paying for it, and I am not personally using it, so it might take time. typical OSS problem.
anyways, we - that is WAMP at the protocol level, and this implementation (Autobahn, and Crossbar.io) as well - take security very important .. and must have no discussions excuses approach
the security goals of WAMP go far beyond mere "secure session authentication" .. we are "almost there";) as in, full application payload end-to-end encryption, thus no implicit trust of WAMP app clients into WAMP infra (routers) or anything in between
full decentralized trust management is the final layer: via Ethereum smart contracts for managing trust relations
fwiw, let me also dump 2 links which might be interesting in this context:
functional / integration testing of all WAMP authentication methods in Crossbar.io:
https://github.com/crossbario/crossbar-examples/tree/master/authentication
the Python classes internally used to abstract away the secure key storage or key ops:
https://github.com/crossbario/autobahn-python/blob/359f868f9db410586cf01c071220994d8d7f165a/autobahn/xbr/_secmod.py#L271
I do have an implementation of SecurityModuleMemory using a hardware security module rather than MutableMapping ...

Sounds interesting!
And
bro,
you are truly a security fanatic(at least from my perspective.


source repositories organization is hardcoded

The ietf-ribose organization is hardcoded at
https://github.com/ietf-ribose/bibxml-service/blob/efff45a5043ba895d44e8eb6d74a7ce5ee712362/main/sources.py#L89
Is there an expectation that these repositories will live in that organization in the long-term, or will it be reasonable to move them into an ietf managed organization as the project completes? If the latter, this string should probably move to configuration.

Sources are fully configurable, both repository URL and branch name. ietf-ribose/relaton-data-<dataset ID> is fallback/default used when repository URL is not specified for a Relaton dataset. But it’s not a problem to make the fallback configurable as well.

Update is being deployed with new settings that define fallback repository information: https://github.com/ietf-ribose/bibxml-service/blob/c373a410ca353b26b487cf5c28f50deb3d1c2658/bibxml/settings.py#L401-L418


fix(sweeps): Hyperband now correctly stops more runs

We are currently very conservative with our Hyperband approach, much more-so than the paper. Rather than comparing our best metric against each band, let's compare the actual logged value at each band. This results in whopping 1.5-3x improvement in run deletion, with zero impact on successful runs (in preliminary testing)
Lets hide this change behind a sweep config flag, and eventually set this as the default?
early_terminate:
     strict: True

https://wandb.atlassian.net/browse/WB-12104
Testing: pretty strict test using example data. The data contains 116 runs, and according to hyperband 81 should be killed. In one of the bands of this test we are 1 run off, which I am not 100% sure I know the cause of. Likely an integer rounding thing, or possibly some other bug. Results compared to truth:

band
expected
new
old

30
38
38   ✅
15  ❌

45
26
25   ❌
9 ❌

67
17
17   ✅
6 ❌

tot
81
80  🟨
30 ❌

The test is flexible, allowing for +-1 at every band, and +-1 in total. I don't think that's unreasonable, but it does bug me we can't pin this down exactly.
There is now also a test for the old method, which is hardcoded at each band for a total of 30 killed runs.
Visual sanity check for this sweep run with new method:

excellent work


Finetuning code[Question]

Required prerequisites

[X] I have read the documentation https://camel-ai.github.io/camel/camel.html.
[X] I have searched the Issue Tracker and Discussions that this hasn't already been reported. (+1 or comment there if it has.)
[X] Consider asking first in a Discussion.

Questions
Can you release the code for finetuning various datasets like math, physics etc. in camel?

Hi @shrihari95! The code is released here: https://github.com/camel-ai/camel_chat

Thanks @lightaime , this is helpful. Does train.py in camel_chat help with finetuning OSS models (LLama-7B as an example), on camel-ai datasets (Eg: https://huggingface.co/datasets/camel-ai/biology)?

Thanks @lightaime , this is helpful. Does train.py in camel_chat help with finetuning OSS models (LLama-7B as an example), on camel-ai datasets (Eg: https://huggingface.co/datasets/camel-ai/biology)?

yes, you can check https://github.com/camel-ai/camel_chat/blob/main/scripts/train_camel_7B.sh


Design a proper logo for the website

We currently lack a proper logo for our website, which is essential for branding and visual identity. This issue is created to request the design and implementation of a unique and suitable logo.
Current logo

Background:
A well-designed logo is a crucial element for our website's visual identity. It helps in brand recognition, creating a strong first impression, and conveying the essence of our website's content or purpose.
Design Requirements:

Simplicity: The logo should be simple and easy to recognize. It should not be overly complex or cluttered.
Relevance: The design should reflect the theme or purpose of our website.
Memorability: A memorable logo is one that sticks in the minds of users. It should be distinctive.
Scalability: The logo should look good at various sizes, from small icons to larger banners.

Hey I would like to work on this issue!

Hey @VibhorGits, you can start working on this issue. If it's possible, please aim to create a pull request (PR) within the next 2 days.

@Prajwal0225 Cool! I will start working on it now.


Add support for Temurin Open JDK 8

Purpose

To support Temurin JDKs in Test Grid.

 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.


activemq: 5.16.2 -> 5.16.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/apache-activemq/versions.
meta.description for activemq is: "Messaging and Integration Patterns server written in Java"
meta.homepage for activemq is: "http://activemq.apache.org/"
meta.changelog for activemq is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
/nix/store/iaqkd701cl8fznxdkxljfz827hy8h628-apache-activemq-5.16.3/bin/activemq passed the binary check.
/nix/store/iaqkd701cl8fznxdkxljfz827hy8h628-apache-activemq-5.16.3/bin/activemq-diag passed the binary check.
/nix/store/iaqkd701cl8fznxdkxljfz827hy8h628-apache-activemq-5.16.3/bin/activemq.jar passed the binary check.
/nix/store/iaqkd701cl8fznxdkxljfz827hy8h628-apache-activemq-5.16.3/bin/wrapper.jar passed the binary check.
/nix/store/iaqkd701cl8fznxdkxljfz827hy8h628-apache-activemq-5.16.3/bin/env passed the binary check.
1 of 5 passed binary check by having a zero exit code.
5 of 5 passed binary check by having the new version present in output.
found 5.16.3 with grep in /nix/store/iaqkd701cl8fznxdkxljfz827hy8h628-apache-activemq-5.16.3
found 5.16.3 in filename of file in /nix/store/iaqkd701cl8fznxdkxljfz827hy8h628-apache-activemq-5.16.3

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
2 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
activemq
docbookrx

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/iaqkd701cl8fznxdkxljfz827hy8h628-apache-activemq-5.16.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A activemq https://github.com/r-ryantm/nixpkgs/archive/cffd614637da7fb55f73e6f73feb61c4a13fcc0e.tar.gz

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

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

activemq

Maintainer pings

Change and build result looks good, if this introduces any regressions ping me to revert this.
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311210&version=12350105


Choose install location

In older versions it was possible to choose the installation location. Would it be possible to have that option again?

@tiago-aguiar-moreira -- Tiago, thank you for your suggestion.  Please add it here:

SQL Server feedback

I am closing this issue now.  You are welcome to @ mention me for any followup.  We hope to hear from you again.


aio_connector.Publisher.__merge_dict error

In the function __merge_dict, that I simulated without asyncio, I can reproduce the exact same bug: if the value of an element in the first dict is in the second dict and has the value 0 in the second dict then dict1 is not actualized.
Test case:
>>> from collections.abc import Mapping
>>> def merge_dict(dic1: dict, dic2: dict):
...     for key,val2 in dic2.items():
...         val1 = dic1.get(key)
...         if isinstance(val1, Mapping) and isinstance(val2, Mapping):
...             merge_dict(val1, val2)
...         elif not bool(val1) or bool(val2):
...             dic1[key] = val2
...
>>> d1 = {'val::51': 51, 'val::5': 5}
>>> d2 = {'val::5': 7}
>>> d1
{'val::51': 51, 'val::5': 5}
>>> d2
{'val::5': 7}
>>> merge_dict(d1, d2) # 1st merge called to show that it is working
>>> d1
{'val::51': 51, 'val::5': 7}
>>> d2
{'val::5': 7}
>>> d1 = {'val::51': 51, 'val::5': 5}
>>> d2 = {'val::5': 0} # d2 with 0 as value
>>> d1
{'val::51': 51, 'val::5': 5}
>>> d2
{'val::5': 0}
>>> merge_dict(d1, d2) # merge called
>>> d1 # d1 is not modified !!!!
{'val::51': 51, 'val::5': 5}
>>> d2
{'val::5': 0}

With this correction, the behaviour is like the expectation.
What is the purpose of this test ?
elif not bool(val1) or bool(val2):

self.add_change({'change::1623': 15.7})
# some code
self.add_change({'change::1623': 0})

and the value 0 is not sent to Jeedom, that's how I figured out, that there is a problem with this function

I cannot merge this PR, the test on bool is there for a reason: I had some use case when the result was incorrect if some values need to be dismiss for exemple but I understand it brings issue with 0 when cast to bool.
I will first write more unit tests to ensure non-regression (and so it will help to illustrate the use cases) and then debug what's going on

to sum up, the initial goal was to to overwrite actual value with None in the changes dict (between 2 cycles).
I think I can simply ignore None value from the start and never add them in the dict; as I don't remember the exact case I'm not able to actually test it anymore so I hope I didn't break anything.
Now, I've added unit tests for theses cases so hopefully this will help in the future.
v1.0.2 is available.

I close this PR since you made the change in parallel.


Only using significant events

Hi there,
Say I only want to use the significant event tracker and disable the daysUntilPrompt and usesUntilPrompt notifications. Does setting these to 0 disable similarly to the remind functionality?

No they don't, but if you don't ever want to show a prompt, implement a ArmchairShouldPromptClosure to stop it from ever showing, or set those values to their max.


Destructing throw application error func

Refactor throwApplicationError function for using destructuring assignment.

Coverage remained the same at 100.0% when pulling 9315ac1648f7d9782ab2b7682d57e702afcd102a on rafaeljesus:destructing-throw-application-error-func into 9aa26846384cbeda2147073edf7029bb68725480 on filipedeschamps:master.


Update release-number of http-c to 2.0.1

Current scenario:
In load-file of applications, the http-c/release-number(s) of client applications are 1.0.0.
Problem statement:
Since, the services in v2.0.1 are not backward compatible with v1.0.0, while registering a v2.0.1 of an application, callbacks of /v1/bequeath-your-data-and-die gets failed during data transfer and subscription transfer phases. (because of difference in attribute names or presence of additional attributes).
Related issue : https://github.com/openBackhaul/ApplicationPattern/issues/713

Result of discussion during the June 16, 2023 Implementation Call:
The 2.0.1 specification does not take backward compatibility restrictions into account.
As a result, the bequeath-your-data-and-die process cannot run properly.
It has been decided to treat 2.0.1 like an initial release (1.0.0) and reinstall the platform from scratch (so no update process).
Potential future 2.0.2 must respect backwards compatibility rules, and OldRelease must identify 2.0.1 as the ReleaseNumber in the ConfigFile.

Version numbers updated in AP and all TAC elements


[WebView] Browser is not closed after auth flow on some browsers

After finishing the auth with browser, the UI is redirected to the client app. However, on some browsers, like Samsung internet, the browser page is not closed after the sign-in.

Currently, this is by-design for Android OS.


No payment method accepted for Android users in Brazil.

What is the bug?
A concise, high level description of the bug and how it affects you
"According to the reviews of the Warpcast app on the Brazilian Android Play Store, all payment methods fail when trying to create and access the account. This bug has persisted for over six months. There is no feedback from the developers, not even my international prepaid debit card from Crypto.com was accepted. The Play Store support claims that it is a bug in your app. Thousands of Brazilians wish to have an account on the site because Twitter confuses the marketing we do for web3 projects as bots. I myself have my X account suspended for this reason. Please, solve this bug. Thank you"
Tercio Carvalho

Please reach out to Warpcast support. This repository is separate/unrelated to Warpcast. Thanks.


Cached compares + DataFrame refactor

When on CREATE calls to compare, we cache off a compare directory at <repo>/.oxen/cache/compares/<compare_id>, containing 4 dfs: match.parquet, diff.parquet, left_only.parquet, right_only.parquet. We also save off LEFT and RIGHT files indicating what commits were used to create the compare so we can tell when recalculation is needed if branch heads change.

On GET for a given compare_id, we return the requested parent compare object (new) if the commit ids are consistent with what's in the cache. If the commit ids have changed since the last cache, we first recompute the compare object.

The new compare parent object contains urls at which the derived dfs (match.parquet, diff.parquet) can be queried with standard DFOpts and return a standard DF payload.

The standard df payload is refactored to contain separate nodes for df (which contains whole-df metadata (schema + size))  and slice (which has the request information given pagination.

This also fully deprecates the old JsonDataFrameSlice api in favor of the new JsonDataFrameView

@lewazo


Why is predicted half-life not monotonic for failures as the elapsed time increases?

Consider the “new half-life” plot from the Ebisu paper:

If you change the max time (x axis) to go to 100 instead of stopping at 30, you’ll see that the new half-life starts dropping after ~35 days if the student fails the quiz:

When I saw the original plot, I was pleased because the two “fail” curves appeared to be converging to 7, the original half-life—this makes sense because way past the half-life, there’s very little probability for recall and we shouldn’t be surprised that the new half-life is the same as the old half-life.
But evidently, the “fail” curves aren’t converging to the old half-life, they’re decreasing!
Why?
Is this because of the final step of the update, fitting a Beta distribution to the true posterior? Loss of precision in gammaln or logsumexp?
Update It’s worse than I feared. If you wait an extremely long time before reviewing (300 days, or ~43 half-lives), the new post-update half-life goes to 0, so you’ll be reviewing this fact very quickly.

I checked a bunch of things to identify what it's not (precision issues, rounding issues, etc.) and this script zooms in on what the problem is:
"""
Starting with a default model, alpha=beta=12 and half-life of 7 (days), simulate
a failed quiz after N days, where N runs from 1 to 300 days.

Then predict the recall probability 7 days after the quiz failure, using exact
math:

Expectation[(ptd) ^ d'],

where d' = 7 / N and where ptd is the posterior probability on the recall
probability at N days (after the Bernoulli likelihood update).

N<<7 means you failed the quiz long before the half-life, which is surprising,
so we expect Ebisu to reduce the half-life from 7 days: therefore, for N<<7, we
expect predicted recall probability to be lower than 0.5.

But as N>>7, we expect you to fail, so after you do fail, the updated memory
model should predict a recall probability of 0.5.

This is indeed what we see when we evaluate the above expectation with
quadrature (numerical) integration---that is, until we get too far out, around
280 days, when the integral diverges.

This limit, 280 days, is much higher than what we see through Ebisu's
update->predict plot's limit, where the recall probability starts decreasing at
about 30 days.

"""
from scipy.integrate import quad
from scipy.special import beta as fbeta
import numpy as np

import matplotlib
matplotlib.use('TkAgg')
import matplotlib.pyplot as plt
plt.style.use('ggplot')
plt.ion()

a = 12.
b = 12.
t = 7.
t2s = np.arange(1, 300.1)

direct = []
for t2 in t2s:
    d = t2 / t
    marginal = d * (fbeta(a, b) - fbeta(a + d, b))
    marginalInt = lambda p: p**((a - d) / d) * (1 - p**(1 / d))**(b - 1) * (1 - p)
    e = quad(lambda p: marginalInt(p) / marginal * p**(7.0 / t2), 0, 1)
    direct.append(e)

integralError = np.array(direct)

plt.figure()
plt.errorbar(t2s, integralError[:, 0], yerr=integralError[:, 1], fmt='o')
plt.title(
    'Predicted recall probability a week after failure (prev half-life: 7 days)'
)
plt.ylabel('Recall probability')
plt.xlabel('Days before initial failure')
plt.savefig('errors.png')

So as I mention in the script's docstring above, directly evaluating the predicted recall probability a week after the failed quiz is accurate to far more days than using ebisu.updateRecall and then predictRecall, which starts decreasing after about 30 days.
The issue is just that, with this extreme under-review, the Beta fit to the posterior doesn't give us good predictions. There are mathy ways to potentially fix this, BUT I think the simplest and most robust thing is just a hack: if you're updating after more than, say, three to four times the previous prior's time interval, with a failure, then skip the math—the updater can just return a copy of the prior. This is a hack because we're not explicitly addressing the math but it gets the job done really well and it makes total sense given we understand the problem.
Todo: implement this hack.

Sounds reasonable to me. 👍

Fixed in 1.0.


Add an option for function-whitespace-paren handling

When we fixed #1 we excluded some functionality for syntax highlighting. We need an option to allow SUM ( to be tokenized as FUNCTION WHITESPACE OPERATOR.

Seems unlikely to be needed.


Improve performance by about 50%

I ran cargo flamegraph, and it turns out a huge portion of the runtime was spent in find_match and find_better_match.  It's a very, very hot loop.
Almost all of the work done in the inner loop (find_better_match) is a function of two u8s... it can be memoized/precomputed!  Also, the alpha masks can be rendered into these precomputed cost functions, avoiding the need to do any alpha computations in the loop.
I looked hard for a way to improve dist_gaussian within find_better_match, but the best I could do was precompute outside the find_best_match loop.  It still helped a lot.
The performance improvement ranges from 40%-60% in the examples.    This is a lossless optimization!

Amended with rustfmt fixes.

If you are curious, the flamegraphs svgs are here: https://drive.google.com/open?id=1Tc58OEbdM7PRgDJ7DT6Om-7nr6Re81q0

Hey, this change looks great, thanks! I think I want to do #15 first (it's something we should have done earlier!) just so we can get better numbers and ensure we don't get regressions in performance or output on this and all future changes, but it might have to wait until next week.
Again, thanks for the contribution, we really asoreciste it!

Wow awesome work, thanks for the contribution!

@Jake-Shadle  @repi no problem!  I am going to be running this code on my hexacore for the foreseeable future, so I want it to be as fast as possible!  I'm a generative artist, and have a decent library of images to crunch, and even more on instagram/pinterest once I script the download 😁
Thank you for open-sourcing this!  I thought texture synthesis was too slow for what I needed...was doing it by hand with Perlin, OpenSimplex, Worley, and tricks.
I also have another change that is a bit more code, but shaves another 15% off (down to 13.0s on example01).  It's a more code for less gain, though.  Going to upload PR2 in a sec.

Hey there! Awesome to see performance improvements to this! I'm getting some strange artifacts, though, when using colored masks for guided synthesis.
Here are the images and the command I ran ( image is a screenshot from Child of Light® not my own ):
source1.jpg:

source1_mask.jpg:

source1_target.jpg:

command:
texture-synthesis -o out4.png generate --target-guide source1_target.jpg --guides source1_mask.jpg  -- source1.png

Result:

I also tested it with a PNG from the Nobiax texture pack for another example, but the problem isn't close to as violent:
source2.png:

Result:

@austinjones Hey, sorry this is taking so long, I will be looking at this PR tomorrow though!

@zicklag I've noticed this as well.  I'm going to take a look tonight and figure out why it's happening.  @Jake-Shadle no rush - looks like I have a bug to fix.

@zicklag Fixed!  It was a bad loop bound on PrerenderedU8Function.  As soon as I turned on the debug images the patches were crazy.
I also fixed a subtle numerical precision problem with the pow() call in distance_gaussians.
Unit tests pass.  I reproduced and verified your example.  It now outputs:
cargo run --release -- -t 1 -o out4.png generate  --  broken-input.jpg

Awesome, that's great! :tada:


Use appimage-builder to create appimage

Closes https://github.com/contour-terminal/contour/issues/1595

what are we missing here? (i ask because it's still in draft).

I can merge it to have dockerfile to create appimages on master, but github action cannnot produce working appimage file


cleanup(rules): initial transitions of some sandbox rules to invubating

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area rules

/area registry

/area build

/area documentation

What this PR does / why we need it:
Related to Phase 2 of rules maturity framework implementation.
"Re-audit the first round of rules tagged with maturity_sandbox and consider transitioning some to maturity_incubating, with a maximum of 5 rules per PR to enable focused discussions."
@jasondellaluce and @LucaGuerra you will see my suggestion in the yaml changes. Re-audited each rule and at the moment I would only recommend to elevate those 3 rules. Would you have additional recommendations?
There will a final re-audit at the end.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: incertum
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [incertum]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: incertum, LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [LucaGuerra,incertum]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 22e0a8d3a6ab935f8ea5c7e71ccd8ca2e9d1656e


feat(esl-carousel): rework carousel plugins API to use json attr + smart media query

:tada: This issue has been resolved in version 5.0.0-beta.25 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Dribbblish] Can't scroll(or arrowkey) playlist

Describe the bug
I can't scroll my playlist so some playlists are unreachable, not even with the arrow keys.
To Reproduce
Fresh install with Spotify from newest Flatpak
Expected behavior
I should be able to scroll down my playlists
Logs
Add logs from console. To do that
Step 3 doesnt work for me, spotify restarted but i cannot open the devtools
Specifics (please complete the following information):

OS: Pop!_OS 21.10
Spotify <IP_ADDRESS>2.g2b11de83
Spicetify 2.7.1
Dribbblish

EDIT: I also tested it on my main machine running the same os but this time with the apt package.
APT-Source=http://repository.spotify.com stable/non-free amd64 Packages

Can confirm it also happens with the Fluent theme.

Did you add Patch lines in config file?
Check theme readme for their instruction.

Pulling the latest changes fixed it for me

Hey umm how did u fix it exactly? like i'm facing the same issue

nvm, i just edited the user.css file and changed the value in this
.dribs-playlist-list {
    padding-bottom: 300px;
}


Sample for VMware Tanzu Kubernetes Grid

Currently there are samples for deployment on OpenShift, AWS and Azure.
Unfortunatly we only have TKGi on premise.
Would it be possible to provide sample charts for the TKG Kubernetes Distribution?

Sample created here. Let me know if you have any difficulties.


decide on snake case vs camel case

The current API mixes snake case and camel case
viewer.from_ase(atoms)
viewer.volumetricData = {"values": volume}
viewer.isoSettings = [{"isovalue": 0.0001, "mode": 0}]

Pythonic would be snake case

The reason they are mixed for the moment: the camel case is common in javascript, and is used in WEAS code. For the traits, e.g., volumetricData, there is also a counterpart in the WEAS code, facilitating straightforward synchronization without the need for a naming conversion map. For from_ase, it is only used in the Python code.

Pythonic would be snake case

Yes, it's better not to mix different styles. I would also like to use the snake case. Later, I will try to make a name map to do this, like:
{"volumetric_data": "volumetricData"}


Create a Sample iOS App

Tutorials: https://developers.sap.com/tutorials/fiori-ios-scpms-create-sample-app.html
Hi I've followed the tutorial, but when I try to run the app I get the following error:
/Users/i045523/Library/Developer/Xcode/DerivedData/TutorialApp-abddrxdbloltgzbtxwdmvyddujbc/Build/Intermediates.noindex/TutorialApp.build/Debug-iphonesimulator/TutorialApp.build/Script-AE0C88F42403A2B5002A9565.sh: line 2: python: command not found
Command PhaseScriptExecution failed with a nonzero exit code

But Python is correctly installed.

How to fix it?
Simmaco

Furthermore if I try to run the script manually, I get this:

Simmaco

Hi @simfer , Python 2.7 was removed from macOS in the 12.3 update. Due to this, for the projects that get generated with the SAP BTP SDK for iOS 7.0.2 or below need to make a small modification to fix the error that is coming above.
You need to go to the Codesign Binaries build phase as shown below and change python to python3.

If you are planning to run the project on mac catalyst, then you need to make this additional change in codesign.py file available at projectFolder/scripts/: (92nd line)
if err.find("ambiguous") != -1:    --->    if err.find(b"ambiguous") != -1:

Thanks this fixed my issue.
Simmaco


Implements design on login screen.

Setting up SVGs and learning about positioning and CSS.

Wow what a great job!


FlexBox styling not correctly applied after initial rendering

OpenUI5 version: 1.71.18
Browser/version: Chrome 81.0.4044.122
Example:
https://jsbin.com/bugotuqeza/edit?html,css,js,output
Steps to reproduce the problem:

Open the example
Both items in the flex box have flex-grow: 1 initially
Press toggle style in model

What is the expected result?
After changing the grow factor, the first line should have flex-grow: 0 in the DOM.
What happens instead?
Just the workaround applies the style correctly. The first line still has flex-grow: 1 in the DOM.
Any other information?
UI5 uses jQuery here to update the CSS in the DOM, when the DOM was already rendered once (coding). As you see, when switching from 1 to 0 the following coding is executed: oLayoutData.$().css(sProperty, null); Using null as value does not work and does not has any effect. This is also discussed here.

Hello @pzamzow ,
Thank you for sharing this finding. I've created an internal incident<PHONE_NUMBER>. The status of the issue will be updated here in GitHub.
Regards,
Tsanislav

The issue is fixed in 1.71, 1.78 and master branches.


Not recognizing passed in services

I'm having issues specifying the specific services I want to use. Not sure what the correct syntax is but I've tried all combinations specified in the readme. An example of what I've tried:
this.get('metrics').trackEvent('Mixpanel', { event: "Event example" });

Currently the API only supports specifying a single service:
this.get('metrics').trackEvent('Mixpanel', { event: "Event example" });

Which is a little annoying, but I will look into adding a feature which lets you specify multiple services using the same call


Add a query interface?

Perhaps ddbug can provide a interface to query the given struct/union, such as:
typedef struct xxx{
int aa;
int bb;
}xxx_tag;
Input the xxx/xxx_tag，ddbug can output struct info like this:
type xxx_tag = struct xxx
size: 8
members:
0[4]   aa:int
8[4]   bb:int
And if there is a struct-nesting, also output nested structs info.
Even support multi-threads to query, ddbug can be a great tool for debugging.

Yeah, I search a structure info by using ddbug executable file in my own program, and return the result. But when there are too many query requests, processing will be slower, especially when there is nesting.
So if there is a way to provide .so or dll libraries, I can query the info by using multi-threads to improve query speed.


List

Is there anyway you can add next page to list on foxy streams like it used to have if that's not too much trouble Unrelated question is open wizard still being maintained because that's what I use if not which one do you Recommend thank you

OpenWizard is no longer being maintained.

Damn I like that one too it was easy to use now I gotta make a decision on which one to use thank you


fix: permit the global flag to work on the "specify exact number of m…

…atches" exercise
Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] All the files I changed are in the same world language, for example: only English changes, or only Chinese changes, etc.

Closes #38640

Thanks a lot for your PR @AshNaz87 but we are keeping the first timer issues for new contributors only, this is just to encourage newbie contributions.
While your PR maybe valid, we are going to have to close the same. We sincerely encourage you to work on help wanted issues instead.
Thanks once again.


Provide a way to build a single executable with AOT

This is needed to produce a single-file analyzer for Goma.

This is fixed by https://dart-review.googlesource.com/c/sdk/+/50360 which was committed here https://github.com/dart-lang/sdk/commit/1db1ac48632df42d1569a80859b9db7a82293eab


When pull implemented no streaming occurs

So im having a weird issue, and I cant seem to figure it out. I have 2 servers behind a load balancer on AWS EC2 & ELB respectively. Both servers are set up with the same config, but with different pulls as follows:
worker_processes  1;
user        root;
#error_log  logs/error.log;
#error_log  logs/error.log  notice;
#error_log  logs/error.log  info;
#pid        logs/nginx.pid;

events {
  worker_connections  1024;
}

# Http Server
http {
  include             mime.types;
  default_type        application/octet-stream;
  sendfile            on;
  keepalive_timeout   65;

  server {
    listen    80;
    server_name localhost;

    location /stat {
      rtmp_stat all;
      rtmp_stat_stylesheet recording-stats.xsl;
    }

    location /recording-stats.xsl {
      root /var/www/recording-stats;
    }
  }
}

# RTMP Server
rtmp {
  server {
    listen 1935;
    chunk_size 8192;

    application live {
      live on;
      meta copy;
      sync 10ms;
      wait_video on;
      publish_notify on;

      # pull from other server
      # pull rtmp://<server_ip>:1935/live;

      # default recorder
      record all;
      record_path /tmp/recordings;
      record_suffix .flv;
      record_unique off;
      record_append on;
    }
  }
}

The idea is as a new stream come in one 1 server, it is rebroadcast to the other server...and vice versa.
Issue 1
I got this working using "push" but it was causing an infinite loop of streams going between the 2 servers. If there is a way to not rebroadcast the stream if its been pushed from an external server, that fixes this whole thing.
Issue 2
When I use "pull" instead of "push", all the streams show up in /stats...however they never have any bitrate (no broadcasting). The second I remove the pull, everything is perfect on that 1 server.
Any ideas on this -- im pretty stumped.

you could get working with two application.like this,
A SERVER:
application live{
on_publish http://<IP_ADDRESS>;
}
then,you could setup  http rewrite that   judge by the client addr,if the addr is your annother server,your http server return 200,otherwise,rewrite to your server ip。

I think you need to rethink idea.
Usually system builds like:

one server for incoming publishers, recording, and it's a node1 for pulling by everyone
many balancers - node[2-N], pulls from node1 and stream to everyone

@sergey-dryabzhinsky Great idea -- this is essentially what I did, and it works great now. Thanks a bunch!

Good to know.
Please close this ticket if problem is resolved.

@sergey-dryabzhinsky Thanks again! Closed.


feat(context): Add more context menus.

Fixes #597

I'd referenced the wrong issue there. Commit message update, and the real target is #597


Try to avoid network access in test setup for go install

...it doesn't work well with proxy tests

More complete fix was included in #2477