Is there a way to have multiple editors that we can switch through with tabs?

I'm trying to implement a sort of file system where there are multiple editors with separate content that the user can switch through.
Can I implement something like this using react-codemirror2?

This is probably better asked on Stack Overflow rather than raised as an issue on the project, but yes, probably.
Each editor is its own React component and you have multiple instances of CodeMirror itself.

I ask because in the Codemirror docs you can create multiple editor instances

Each editor is associated with an instance of CodeMirror.Doc, its document. A document represents the editor content, plus a selection, an undo history, and a mode. A document can only be associated with a single editor at a time. You can create new documents by calling the CodeMirror.Doc(text: string, mode: Object, firstLineNumber: ?number, lineSeparator: ?string) constructor. The last three arguments are optional and can be used to set a mode for the document, make it start at a line number other than 0, and set a specific line separator respectively.

And I was wondering if react-codemirror2 supports this functionality

Yes, it does. You can see it working here. https://codesandbox.io/s/intelligent-star-i7r73?file=/src/App.js


Increase the default Openai client timeout

Increase the default Openai client timeout from default 10 mins to 1 hour
This is required if the LLMblock in the pipeline takes more than 10 mins to complete. If the backend openai server is overloaded it might need more than 10 mins to complete all requests in the queue.

Not to be merged in this release.


Added git_hash_* declarations

Except for git_hash_vec, which requires git_buf_vec, which is not defined or used by the rest of the crate
#220

Thanks! Did you want to add high level bindings to this as well?

How's that?

Oh so I just realized, this isn't actually part of the public API of libgit2? The CI is failing because the function is undefined, and that's because this function is only defined in an internal header. I don't think it's expected that downstream consumers use this function?

The low level functions do not work (the ones that use git_hash_ctx), but git_wrap_buf does. I have compiled and used this, and I hate to be the guy who says this works for me, but I have seen no problem with it.

Unfortunately this crate only exposes the public API of libgit2, so if we want to expose this then you'd want to first convince libgit2 maintainers to expose it upstream.

Ok, I will talk to them. I'll close this issue for now, and reopen it if the libgit2 devs accept it.
BTW, why can I interface with it on my machine and Travis can't?


Clean and proper patch to build MLAS

Issue is coming from upstream layer, maybe it would better to stick on a tag, what do you think @NobuoTsukamoto ?


JupyterHub Pattern

Is your feature request related to a problem? Please describe.
With JupyterHub addon being created, it will be good to create a pattern around it.
Describe the solution you'd like
JupyterHub pattern will consist of the following:

Authentication model (using Cognito)
EBS as persistent storage (using EBS CSI Driver Addon) (possibly also EFS)
Load Balancing with Load Balancer controller Addon
Certificates for HTTPS connection
R53 for DNS resolution

@youngjeong46 I know this is implemented. Cann we close this?

Yes. Will close.


Option to provide POI data directly instead of a filename to read it from

For the relevant functions: seems like it would be useful if I could load the POI file myself and then provide it to these functions, already in memory. Especially if the POI data is not actually from a file and computed dynamically. It’s handy to have the functions read it from the file for you, but if I provide it as a geopandas dataframe it should just use it & skip reading it from the file. Should be a 1-line fix.

Matt, can you be a bit specific about which POIs are you indicating and which lines of code?

Users should now also be able to provide POIs directly


Failing to import plist when Homebrew migrates cache entries

Recently Homebrew started to "Migrating cache entries" on updating.
But it looks like it fails to import plist from Launchrocket and generate an error:
j0k@MBP:~$ brew update && brew upgrade
Updated Homebrew from 7ed3be5 to 46f531b.
Updated 3 taps (homebrew/cask, homebrew/core, phinze/cask).
==> Migrating cache entries...
Error: Failed to import: /usr/local/Homebrew/Library/Taps/jimbojsb/homebrew-launchrocket/Formula/launchrocket-plists.rb
launchrocket-plists: undefined method `sha1' for #<Class:0x0000000112f1eb50>
==> New Formulae

Everything goes fine after that. But I'm wondering if that error make the whole "migration cache entries" to fail.

This is related to https://github.com/jimbojsb/launchrocket-plists
Editing /usr/local/Homebrew/Library/Taps/jimbojsb/homebrew-launchrocket/Formula/launchrocket-plists.rb and add this line:
class LaunchrocketPlists < Formula
  url 'https://github.com/jimbojsb/launchrocket-plists/archive/v0.1.4.zip'
- sha1 '0c139b1a8a46d6b1505d04817f19fa4101610cd5'
+ sha256 '773afd224bffec0a3b8d78edd571561807115b9a2557041340dfb1b1dd8d6899'
  homepage 'http://github.com/jimbojsb/launchrocket-plists'

I generated the sha256 using shasum -a 256 v0.1.4.zip.
It fixes the problem.


field CFBundleIdentifier not found inside Info.plist

I cannot get detox iOS tests to run properly as I get
Error: field CFBundleIdentifier not found inside Info.plist of app binary at /Users/jesus/Documents/projects/appname/ios/build/Build/Products/Debug-iphonesimulator/Appname.app

https://stackoverflow.com/questions/65071380/detox-field-cfbundleidentifier-not-found-inside-info-plist

Your app is broken. CFBundleIdentifier is required for any app on iOS.

I get that. However, it runs properly in the simulator and on the device.

It usually happens when detox config include invalid binaryPath
the app wasn't compiled before running e2e tests
https://github.com/wix/Detox/blob/b8f82498191f399ab9ad39220a501330d19c41ab/detox/src/devices/drivers/ios/SimulatorDriver.js#L78-L90

For our case, the. binary path is correct and the IPA is good to go even for AppStore upload. But we still have the issue. May I know how to resolve this issue?

May I know how to resolve this issue? Does anyone get the solution?

If you still have a problem, please open a new issue.

I have solved this issue by building the bundle first
detox build -c ios.sim.debug


Skip Version / Ask Again in N Hours/Days

Update mode: default
Right now when there's a new update, you are constantly asked if you want to download it. If you select later, it doesn't actually do anything, it just dismisses the pop up. Later should not remind me of the new update for N hours/days/etc, depending on configuration.
Additionally, there should be an action to skip the update.
This would greatly increase the UX around updates. Right now, every time I open a new vs code instance, which happens several times a day, I get this update noise.

The update.mode setting gives you a little bit more flexibility as to when you see the updates notification.
Closing as won't implement.


proposed to make steempay logo

hallow sir
I want to make a logo for this projects if you have any requirements then let me know.its free for any open source projects.

Thanks for your volunteering! Unfortunately there is a design team already working on this project.


BUG:Icons/Images are not loading.

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
Profile section icon not missing or unable to load , and when click on it other many icons also not apearing.
Hence, resulting in a bad UI.

@arghadipmanna101 , want to work on this Bug/Issue.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

I agree to follow this project's Code of Conduct
I'm a GSSOC'24 contributor
I want to work on this issue
please assign me this task i will fix the issue

I agree to follow this project's Code of Conduct
I'm a GSSOC'24 contributor
I want to work on this issue
Assign this task to me i will fix the bug

@arghadipmanna101 , I Want to contribute on this issue under GSSoc24. Please add the level tag .


"Exclude capitalized references" hides useful variables with only initial capital letter

From<EMAIL_ADDRESS>on 2011-04-07T10:37:16Z
What steps will reproduce the problem?

Enable Exclude capitalized references in variable explorer
Create a variable with an initial capital letter, e.g. Phi = 3 What is the expected output? What do you see instead? It's not clear that "Exclude capitalized references" will hide references with only an initial capital letter - this caused me some confusion when variables such as 'Phi' didn't show up in the variable explorer. Turning the filter off makes the variable explorer very cluttered. Maybe it could instead hide variables that are all caps and are more than one character. For scientific computing, I think variables such as 'A' or 'Phi' should be in common use. What version of the product are you using? On what operating system? Spyder 2.0.10, Mac OS 10.6.6

Please provide any additional information below
.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=614

From pierre.raybaut on 2011-04-25T06:07:53Z
You might need to reset Spyder settings to update the excluded names list:
python spyder --reset

From pierre.raybaut on 2011-04-25T06:07:13Z
Actually you are perfectly right: "Exclude capitalized references" was excluding references which name was starting with an uppercase letter as well as all-uppercase names.
Now there are two options:
Exclude capitalized references --> exclude names starting with an uppercase letter
Exclude uppercase references --> exclude all-uppercase names
The first one will be disabled by default whereas the second one will be enabled by default, hence avoiding the situations you reported: https://code.google.com/p/spyderlib/source/detail?r=d33c32d83d146a7915fce7496ba85d0d0def7e09
Status: Fixed


Fix extra overwritten issue

Extra should not be overwritten, otherwise some libraries that also run based on extra will have problems.
Such as dio_cache_interceptor

I have fixed these problems.


need to start testing ARM/ARM64 dartk and dartkp configurations

We need to ensure coverage for this configurations as they are the ones that we are going to be shipping.
@athomas do we have free buildbot slaves that can be used for this? If we do I can update recipes myself, just let me know. Otherwise please see if we can get slaves from somewhere.

/cc @mkustermann @a-siva @alexmarkov

We can ask for more arm64 slaves, but there are currently no arm slaves on buildbot.  We are discussing how to solve this problem.  We can use the existing arm64 slaves for multiple builders while waiting for more.

Intel slaves are fine too - we can at least start testing SIMARM/SIMARM64.

Could we do this on LUCI? I don't see any reason why we couldn't.
We need ARM bots there as well.
We already have Intel bots.
We probably don't need any recipe changes, only update the test matrix and I can do the necessary setup in LUCI if we need a new builder there.
What will be the build.py and test.py commands we want to run?

@athomas
I think this would be a good start:
# DartK
tools/build.py -m release -a simarm,simarm64 runtime_kernel
tools/test.py -m release -c dartk -a simarm,simarm64
tools/test.py -m release -c dartk -a simarm,simarm64 --strong  language_2 corelib_2 lib_2 standalone_2

# DartKP
tools/build.py -m release -a simarm,simarm64 runtime_kernel dart_precompiled_runtime
tools/test.py -m release -c dartkp -r dart_precompiled -a simarm,simarm64
tools/test.py -m release -c dartkp  -r dart_precompiled -a simarm,simarm64 --strong  language_2 corelib_2 lib_2 standalone_2

Is there some plan to make these tests faster somehow? Or alternatively, can we run a smaller suite than what was suggested?
I have tried running "tools/test.py -m release -c dartk -a simarm" and that takes ~2 hours to reach 10%. For reference, buildbot runs "test.py -mrelease '--arch=simarm'" in ~30 minutes (100% of twice as many tests).

Yes, we are going to switch dartk configuration to use batch mode Fasta compiler instead of  --dfe= isolate.
I have filed an issue for this: #31585, once we land that we can move on with landing buildbot configuration.

First test runs of the new builders (non-precomp):
https://chromium-swarm.appspot.com/task?id=3a729aae75c79110
https://chromium-swarm.appspot.com/task?id=3a729c9bf0cc0310
https://chromium-swarm.appspot.com/task?id=3a729d40bc17d610
https://chromium-swarm.appspot.com/task?id=3a729d66c92f5e10
LUCI configuration is mostly completed. I still need to setup email notifications and enable them in the scheduler.

The builders are now enabled in the scheduler. To setup email notifications, I need to know where to send them, because I don't have blamelist support on LUCI, yet.
@mraleph Which email address should be notified? And when (on failure, on change, on success)?

I am going to change the milestone of this bug to 2.0 alpha-2, we will track all stability issues on that milestone.

@athomas Any updates on this?

The configurations mentioned in https://github.com/dart-lang/sdk/issues/31573#issuecomment-350220405 are all running now. The remaining issue for this is blamelist emails which is tracked elsewhere: https://bugs.chromium.org/p/chromium/issues/detail?id=808193


fix: verify-manifest/bundle --exit-code

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 61.54%. Comparing base (c86666c) to head (b695ec6).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #234   +/-   ##
=======================================
  Coverage   61.54%   61.54%
=======================================
  Files           2        2
  Lines         788      788
=======================================
  Hits          485      485
  Misses        251      251
  Partials       52       52

Flag
Coverage Δ

unit
61.54% <ø> (ø)

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

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

🚨 Try these New Features:

Flaky Tests Detection - Detect and resolve failed and flaky tests


Race condition: ThreadPool deadlocks on destruction

Have a look at the worker loop:
https://github.com/progschj/ThreadPool/blob/9a42ec1329f259a5f4881a291db1dcb8f2ad9040/ThreadPool.h#L41-L50
and the destructor of the thread pool:
https://github.com/progschj/ThreadPool/blob/9a42ec1329f259a5f4881a291db1dcb8f2ad9040/ThreadPool.h#L87-L96
There's a race condition. Let's say that 4 worker threads wait on the lock while destructor fires. The destructor unlocks the lock, and calls condition.notify_all(); but if not all workers managed to reach this->condition.wait(...) then not all will be notified. After some time they finally reach this->condition.wait(...) and wait forever and the destructor hangs forever on worker.join();. Unless ThreadPool::enqueue is fired in parallel (forcing notification) but running methods while object is being destroyed is Undefined Behaviour.

"but running methods while object is being destroyed is Undefined Behaviour.", ok, then, what's the problem

"but running methods while object is being destroyed is Undefined Behaviour.", ok, then, what's the problem

@zserik the problem I experience with the code is a deadlock in the destructor on join(). And this is because one of threads deadlocks on wait().
But after further investigation the code seems to be theoretically correct. This happens on some old Android. I'm starting to think that there's some bug in the kernel, not sure.

ok.
this->condition.wait(lock, [this]{ return this->stop || !this->tasks.empty(); });

This line (from the worker loop) should prevent deadlocks, because it checks the condition before going to wait, and after each wakeup.


[UF-453]: WorkspaceScoped Beans added

NOTE: I don't know if the files from the beginning should be there, so please let me know.
The Idea is to have a CDI Annotation to replace the @ApplicationScoped with it. This annotations lets a bean enter a Workspace context, so those beans have a single instance per workspace. Right now there is only one workspace per user, but that is going to change in the future.

jenkins retest this


jazzy-dev

modify CMakelists.txt to support source-build Mujoco, in this case, ENV_PATH is not necessarily added to bash file manually.
In ros2-control Jazzy, the function load_urdf is removed from resource manager, so robot_desciprtion callback is used to get robot urdf.
support imu and test it in the diff_drive demo.

Oops, I use hardware_interface=4.17.0(with ros2-control=4.18.0). I will update to version 4.18.0 and test again.

@LitheshSari Thank you for your contribution, and I apologize for the delayed response. Overall, it looks good, but I think it will be better to divide this into multiple smaller PRs. I will work on this and request your review.


Add consume and fetch examples.

I think it is valuable for people to have both examples so that they can
learn by experimenting.

convinced :) +1 thank you!

@xitep thx a lot for fixing the client code and merging the two examples!


Feat: Implementing Delicious Page

Describe the feature
@SUGAM-ARORA I want to make the Delicious Page in the sidebar. Kindly assign me this issue.
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@Ojas-Arora Issue assigned to you


PDF Viewer rebuilds every time setState is called

Whenever I call setState in the widget, the PDF Viewer rebuilds causing it to load all over again. How can I prevent this?

Sometimes I get this error
I/flutter ( 9732): ══╡ EXCEPTION CAUGHT BY IMAGE RESOURCE SERVICE ╞════════════════════════════════════════════════════
I/flutter ( 9732): The following assertion was thrown by an image listener:
I/flutter ( 9732): setState() called after dispose(): _PDFPageState#f9d49(lifecycle state: defunct, not mounted)
I/flutter ( 9732): This error happens if you call setState() on a State object for a widget that no longer appears in
I/flutter ( 9732): the widget tree (e.g., whose parent widget no longer includes the widget in its build). This error
I/flutter ( 9732): can occur when code calls setState() from a timer or an animation callback.
I/flutter ( 9732): The preferred solution is to cancel the timer or stop listening to the animation in the dispose()
I/flutter ( 9732): callback. Another solution is to check the "mounted" property of this object before calling
I/flutter ( 9732): setState() to ensure the object is still in the tree.
I/flutter ( 9732): This error might indicate a memory leak if setState() is being called because another object is
I/flutter ( 9732): retaining a reference to this State object after it has been removed from the tree. To avoid memory
I/flutter ( 9732): leaks, consider breaking the reference to this object during dispose().
I/flutter ( 9732):
I/flutter ( 9732): When the exception was thrown, this was the stack:
I/flutter ( 9732): #0      State.setState. (package:flutter/src/widgets/framework.dart:1112:9)
I/flutter ( 9732): #1      State.setState (package:flutter/src/widgets/framework.dart:1147:6)
I/flutter ( 9732): #2      _PDFPageState._repaint. (package:flutter_plugin_pdf_viewer/src/page.dart:37:28)
I/flutter ( 9732): #3      ImageStreamCompleter.setImage (package:flutter/src/painting/image_stream.dart:407:18)
I/flutter ( 9732): #4      MultiFrameImageStreamCompleter._emitFrame (package:flutter/src/painting/image_stream.dart:709:5)
I/flutter ( 9732): #5      MultiFrameImageStreamCompleter._decodeNextFrameAndSchedule (package:flutter/src/painting/image_stream.dart:694:7)
I/flutter ( 9732):
I/flutter ( 9732): #6      MultiFrameImageStreamCompleter._handleCodecReady (package:flutter/src/painting/image_stream.dart:644:7)
I/flutter ( 9732): #15     FileImage._loadAsync (package:flutter/src/painting/image_provider.dart)
I/flutter ( 9732):
I/flutter ( 9732): #16     FileImage.load (package:flutter/src/painting/image_provider.dart:638:14)
I/flutter ( 9732): #17     ImageProvider.resolve... (package:flutter/src/painting/image_provider.dart:327:17)
I/flutter ( 9732): #18     ImageCache.putIfAbsent (package:flutter/src/painting/image_cache.dart:160:22)
I/flutter ( 9732): #19     ImageProvider.resolve.. (package:flutter/src/painting/image_provider.dart:325:84)
I/flutter ( 9732): #20     SynchronousFuture.then (package:flutter/src/foundation/synchronous_future.dart:38:29)
I/flutter ( 9732): #21     ImageProvider.resolve. (package:flutter/src/painting/image_provider.dart:323:11)
I/flutter ( 9732): #25     ImageProvider.resolve (package:flutter/src/painting/image_provider.dart:315:16)
I/flutter ( 9732): #26     _PDFPageState._repaint (package:flutter_plugin_pdf_viewer/src/page.dart:35:31)
I/flutter ( 9732): #27     _PDFPageState.didChangeDependencies (package:flutter_plugin_pdf_viewer/src/page.dart:22:5)
I/flutter ( 9732): #28     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4376:12)
I/flutter ( 9732): #29     ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
I/flutter ( 9732): #30     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
I/flutter ( 9732): #31     Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
I/flutter ( 9732): #32     RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:5219:32)
I/flutter ( 9732): #33     MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5561:17)
I/flutter ( 9732): #34     Element.updateChild (package:flutter/src/widgets/framework.dart:2977:15)
I/flutter ( 9732): #35     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
I/flutter ( 9732): #36     Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
I/flutter ( 9732): #37     StatelessElement.update (package:flutter/src/widgets/framework.dart:4298:5)
I/flutter ( 9732): #38     Element.updateChild (package:flutter/src/widgets/framework.dart:2977:15)
I/flutter ( 9732): #39     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
I/flutter ( 9732): #40     Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
I/flutter ( 9732): #41     ProxyElement.update (package:flutter/src/widgets/framework.dart:4557:5)
I/flutter ( 9732): #42     Element.updateChild (package:flutter/src/widgets/framework.dart:2977:15)
I/flutter ( 9732): #43     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
I/flutter ( 9732): #44     Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
I/flutter ( 9732): #45     ProxyElement.update (package:flutter/src/widgets/framework.dart:4557:5)
I/flutter ( 9732): #46     Element.updateChild (package:flutter/src/widgets/framework.dart:2977:15)
I/flutter ( 9732): #47     RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:5161:32)
I/flutter ( 9732): #48     MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5561:17)
I/flutter ( 9732): #49     Element.updateChild (package:flutter/src/widgets/framework.dart:2977:15)
I/flutter ( 9732): #50     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
I/flutter ( 9732): #51     Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
I/flutter ( 9732): #52     StatefulElement.update (package:flutter/src/widgets/framework.dart:4413:5)
I/flutter ( 9732): #53     Element.updateChild (package:flutter/src/widgets/framework.dart:2977:15)
I/flutter ( 9732): #54     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
I/flutter ( 9732): #55     Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
I/flutter ( 9732): #56     ProxyElement.update (package:flutter/src/widgets/framework.dart:4557:5)
I/flutter ( 9732): #57     Element.updateChild (package:flutter/src/widgets/framework.dart:2977:15)
I/flutter ( 9732): #58     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
I/flutter ( 9732): #59     Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
I/flutter ( 9732): #60     StatefulElement.update (package:flutter/src/widgets/framework.dart:4413:5)
I/flutter ( 9732): #61     Element.updateChild (package:flutter/src/widgets/framework.dart:2977:15)
I/flutter ( 9732): #62     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5452:14)
I/flutter ( 9732): #63     Element.updateChild (package:flutter/src/widgets/framework.dart:2977:15)
I/flutter ( 9732): #64     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
I/flutter ( 9732): #65     Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
I/flutter ( 9732): #66     StatelessElement.update (package:flutter/src/widgets/framework.dart:4298:5)
I/flutter ( 9732): #67     Element.updateChild (package:flutter/src/widgets/framework.dart:2977:15)
I/flutter ( 9732): #68     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5452:14)
I/flutter ( 9732): #69     Element.updateChild (package:flutter/src/widgets/framework.dart:2977:15)
I/flutter ( 9732): #70     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
I/flutter ( 9732): #71     Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
I/flutter ( 9732): #72     StatefulElement.update (package:flutter/src/widgets/framework.dart:4413:5)
I/flutter ( 9732): #73     Element.updateChild (package:flutter/src/widgets/framework.dart:2977:15)
I/flutter ( 9732): #74     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
I/flutter ( 9732): #75     Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
I/flutter ( 9732): #76     StatefulElement.update (package:flutter/src/widgets/framework.dart:4413:5)
I/flutter ( 9732): #77     Element.updateChild (package:flutter/src/widgets/framework.dart:2977:15)
I/flutter ( 9732): #78     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
I/flutter ( 9732): #79     Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
I/flutter ( 9732): #80     ProxyElement.update (package:flutter/src/widgets/framework.dart:4557:5)
I/flutter ( 9732): #81     Element.updateChild (package:flutter/src/widgets/framework.dart:2977:15)
I/flutter ( 9732): #82     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
I/flutter ( 9732): #83     Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
I/flutter ( 9732): #84     ProxyElement.update (package:flutter/src/widgets/framework.dart:4557:5)
I/flutter ( 9732): #85     Element.updateChild (package:flutter/src/widgets/framework.dart:2977:15)
I/flutter ( 9732): #86     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
I/flutter ( 9732): #87     Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
I/flutter ( 9732): #88     StatefulElement.update (package:flutter/src/widgets/framework.dart:4413:5)
I/flutter ( 9732): #89     Element.updateChild (package:flutter/src/widgets/framework.dart:2977:15)
I/flutter ( 9732): #90     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
I/flutter ( 9732): #91     Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
I/flutter ( 9732): #92     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2432:33)
I/flutter ( 9732): #93     WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:773:20)
I/flutter ( 9732): #94     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:283:5)
I/flutter ( 9732): #95     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1102:15)
I/flutter ( 9732): #96     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1041:9)
I/flutter ( 9732): #97     SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:957:5)
I/flutter ( 9732): #101    _invoke (dart:ui/hooks.dart:259:10)
I/flutter ( 9732): #102    _drawFrame (dart:ui/hooks.dart:217:3)
I/flutter ( 9732): (elided 14 frames from package dart:async and package dart:async-patch)
I/flutter ( 9732): ════════════════════════════════════════════════════════════════════════════════════════════════════

I think this is by design and setState is used for the same reason that you want to rebuild the widget. It is not issue with the pdf viewer,  but flutter.


Use Phi implementation from transformers

The text model weights provided are for the old version of Phi before it was integrated into the Huggingface transformers library. Need to write a script to convert the weight keys into the new format and switch to using the Huggingface implementation directly.

Loading the older version from the hugging face transformers commit seems to work to load the weights. Would this be sufficient or were you thinking of mapping the keys in the older model to the newer model format?
import torch
from transformers import AutoConfig, AutoModelForCausalLM

config = AutoConfig.from_pretrained('microsoft/phi-1_5',
                                    revision='24f9ea14df973a49a0d87c16d04df88d90067468',
                                    trust_remote_code=True)

model = AutoModelForCausalLM.from_config(config,
                                      code_revision='24f9ea14df973a49a0d87c16d04df88d90067468',
                                      trust_remote_code=True)

# Load model weights from - https://huggingface.co/vikhyatk/moondream1/blob/main/text_model.pt
model.load_state_dict(torch.load('text_model.pt'))

I still think there's value in mapping the keys, that version doesn't support generation options like k-beam search IIRC

Completed: https://github.com/vikhyat/moondream/commit/1061fbf9c7e301ca18b716651dc388e48c2390a8


[Release/0.7.0] Stop and restart again node cannot recover to work

Description

[ ] Stop node with Ctrl+C, node cannot save current status and stopped normally but directly quit and dotnet process killed.

[ ] After stoped by Ctrl+C and restart node again, node started but cannot works normally. Node stucked after initialized modules, no new block generated.

2018-12-29 09:46:50,518 [1] INFO  AElf.Node.AElfChain.MainchainNodeService [(null)] - Chain Id = AELF
2018-12-29 09:46:50,520 [1] DEBUG AElf.Node.AElfChain.MainchainNodeService [(null)] - Genesis contract address = ELF_6jPmaBi4U8Q6E1skXLM9ubDykwYmMUpm3QbeqZSZV3NyotD
2018-12-29 09:46:50,521 [1] DEBUG AElf.Node.AElfChain.MainchainNodeService [(null)] - Token contract address = ELF_4Qna4KWEr9XyxewGNHku1gwUvqtfsARSHcwjd3WXBpLw9Yx
2018-12-29 09:46:50,521 [1] DEBUG AElf.Node.AElfChain.MainchainNodeService [(null)] - DPoS contract address = ELF_hQZE5kPUVH8BtVMvKfLVMYeNRYE1xB2RzQVn1E5j5zwb9t
2018-12-29 09:46:50,521 [1] DEBUG AElf.Node.AElfChain.MainchainNodeService [(null)] - CrossChain contract address = ELF_3M7ZNgNXGEMCKZqH9gQGfJZznTzuB9uGN778fs2AQBPxvLL
2018-12-29 09:46:50,522 [1] DEBUG AElf.Node.AElfChain.MainchainNodeService [(null)] - Authorization contract address = ELF_4fTFpCNDKqwe89Kspv9fMkbgwcBqZ3n3cYfx2NiJgFMcTzj
2018-12-29 09:46:50,522 [1] DEBUG AElf.Node.AElfChain.MainchainNodeService [(null)] - Resource contract address = ELF_47dpXA3aEuDj9yeq9Et2E4zjPrSs4uQpzdFkYuBZEEQmob
2018-12-29 09:46:50,523 [7] INFO  AElf.Node.Protocol.NetworkManager [(null)] - Network initialized at height 14.
2018-12-29 09:46:50,556 [1] DEBUG AElf.Synchronization.BlockSynchronization.BlockSynchronizer [(null)] - Added a miner<PHONE_NUMBER>e3973fe5802be520d8e795814f65b53a486123b7464c030fd6f334c031221630c74bcc3909dfb8d68893d45a031e69e94595eb810b9a45780665b584
2018-12-29 09:46:50,612 [1] INFO  AElf.Kernel.Consensus.ConsensusHelper [(null)] - Set AElf DPoS mining interval to: 4000 ms.
2018-12-29 09:46:50,617 [1] WARN  AElf.Network.Peers.PeerManager [(null)] - Bootnode list is empty.
2018-12-29 09:46:50,643 [1] INFO  Volo.Abp.Modularity.ModuleManager [(null)] - Initialized all modules.

this issue will be fixed in #766


patternflyelements.org/components does not display examples

Description of the issue
When navigating to a component detail page, e.g. https://patternflyelements.org/components/button/, examples are not displayed for the v2 prerelease version.
Impacted component(s)

all components for v2 prerelease

Steps to reproduce

Go to view button component
Choose v1 in the version selector at top right of page
Observe examples rendered under the overview heading

Change version to v2 prerelease
Observe no examples of button below overview heading

Expected behavior
Expected to see examples as seen with v1 version.
Screenshots
Related issues

@kylebuch8 wow, that was fast!
I should have included links to all component detail paths/pages. I'm not sure if other components are impacted by the same bug or a different bug.
These components appear to not render correctly.

https://patternflyelements.org/components/card/
https://patternflyelements.org/components/jump-links/
https://patternflyelements.org/components/tabs/
https://patternflyelements.org/components/panel/

I can create a new issue for these if needed.

These components' v2 prerelease versions are rendering as expected b/c they are WIP

Yeah, the docs pages aren't completely filled out yet. We'll be sure to get everything updated.


Update ppccap.c

Unsetting the __power_set macro as this would cause core-dump if hardware acceleration(incore-crypto) is not enabled on AIX operating system.
Here are the logs -
# schedo -o allow_vmx
allow_vmx = 0

# openssl version
OpenSSL 3.0.7 1 Nov 2022 (Library: OpenSSL 3.0.7 1 Nov 2022)

# openssl speed -evp aes-256-gcm
Doing AES-256-GCM for 3s on 16 size blocks: Illegal instruction(coredump)

# dbx /usr/bin/openssl core
Type 'help' for help.
[using memory image in core]
reading symbolic information ...warning: no source compiled with -g

Illegal instruction (illegal opcode) in aes_p8_set_encrypt_key at 0xd3c417f0 ($t1)
0xd3c417f0 (aes_p8_set_encrypt_key+0x50) 7c2018ce            lvx   vr1,r0,r3
(dbx) where
aes_p8_set_encrypt_key(??, ??, ??) at 0xd3c417f0
evp_do_ciph_ctx_getparams(0x2005c948, 0xd4002560, 0x20) at 0xd3ca6ee4
cipher_generic_init_internal(0x2005c948, 0xd4002560, 0x20, 0x0, 0x0, 0x0, 0x1) at 0xd3ee0da4
ossl_cipher_generic_einit(0x2005c948, 0xd4002560, 0x20, 0x0, 0x0, 0x0) at 0xd3ee0e60
evp_cipher_init_internal(0x2005c8a8, 0x20037c48, 0x0, 0xd4002560, 0x0, 0x1, 0x0) at 0xd3ca8f8c
EVP_CipherInit_ex(0x2005c8a8, 0x20037c48, 0x0, 0xd4002560, 0x0, 0x1) at 0xd3ca9720
drbg_ctr_init(0x2005c178) at 0xd3e54474
drbg_ctr_set_ctx_params(0x2005c178, 0x2ff22020) at 0xd3e548a4
drbg_ctr_instantiate_wrapper(0x2005c178, 0x0, 0x0, 0x0, 0x0, 0x2ff22020) at 0xd3e54964
evp_rand_instantiate_locked(0x2005c078, 0x0, 0x0, 0x0, 0x0, 0x2ff22020) at 0xd3cb0f1c
EVP_RAND_instantiate(0x2005c078, 0x0, 0x0, 0x0, 0x0, 0x2ff22020) at 0xd3cb0fd4
rand_new_drbg(0xf158c1a8, 0x2005bf28, 0x100, 0xe10) at 0xd3cad5a0
RAND_get0_primary(0xf158c1a8) at 0xd3cad990
RAND_get0_private(0xf158c1a8) at 0xd3cadd2c
RAND_priv_bytes_ex(0xf158c1a8, 0x20051aa8, 0x20, 0x0) at 0xd3cade20
EVP_CIPHER_CTX_rand_key(0x2005a858, 0x20051aa8) at 0xd3cabdd4
speed_main(0x0, 0x2ff229f0) at 0x1007c5b0
do_cmd(0x20030258, 0x3, 0x2ff229e4) at 0x10000980
main(0x3, 0x2ff229e4) at 0x100011c8
(dbx)

If I unset the __power_set macro, above issue was not seen.
How to recreate this issue ?

Check for incore crypto.
schedo -o allow_vmx
If allow_vmx's value is set to 1, disable it by setting it to 0.
schedo -ro allow_vmx=0
Run openssl speed command to exploit hardware acceleration capabilities.
openssl speed -evp aes-256-gcm
You will see coredump.

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

I do not think this makes sense as is as this patch would probably disable the acceleration even where available.

I assume the proper fix would be to check the allow_vmx somehow on runtime and disable appropriate bits of features that are not available due to this setting. Unfortunately that requires someone who is really knowledgeable with AIX to implement.

This PR has the label 'hold: cla required' and is stale: it has not been updated in 30 days. Note that this PR may be automatically closed in the future if no CLA is provided.  For CLA help see https://www.openssl.org/policies/cla.html

This PR has the label 'hold: cla required' and is stale: it has not been updated in 61 days. Note that this PR may be automatically closed in the future if no CLA is provided.  For CLA help see https://www.openssl.org/policies/cla.html

This PR has been closed.  It was waiting for a CLA for 90 days.


Why do NetworkCIFAR and NetworkImageNet have different stems?

Hi, Thanks for this great project. I noticed that in model.py you defined different initial stem layers for CIFAR and ImageNet, with ImageNet being more complex. Is there an intuitive reason for doing it this way, like due to the larger image sizes in ImageNet? Or is it just empirically better performance when you do it this way?

Because Cifar and ImageNet have different size! For the former, each picture has a size of 32x32, while the latter has 224x224. Since the ImageNet uses cells searched on Cifar10/100, therefore it is reasonable to keep the input have the same size.
Best,


notes coming back whenever i deleted it

Describe your bug here. Mind you, if you are modding, please try testing your bug in a clean version of the engine instead, this ensures the bug is actually caused by the engine itself. Also, if you're using an older version of JSE, please try the latest action build in the Actions tab or the latest release build. The issue has probably been fixed since that version.
so basically the bug is like i try to remake the charting of songs that are already charted but i charted it and i delete a note and go to the next section in the chart editor and go back and then the note i deleted is back for some reason so thats why i was wondering if you guys can fix it please?.
Command Prompt/Terminal logs (if existing)
No response
Have you identified any steps to reproduce the bug? If so, please describe them below in as much detail as possible. Use images if possible.
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
no i didnt edit anything of the build
If you use 1.12.0 or earlier, did you have Optimized Chart Loading turned on?
None
Did you check for any similar issues to what you're reporting? Check, then come back here.
No

Describe your bug here. Mind you, if you are modding, please try testing your bug in a clean version of the engine instead, this ensures the bug is actually caused by the engine itself. Also, if you're using an older version of JSE, please try the latest action build in the Actions tab or the latest release build. The issue has probably been fixed since that version.
so basically the bug is like i try to remake the charting of songs that are already charted but i charted it and i delete a note and go to the next section in the chart editor and go back and then the note i deleted is back for some reason so thats why i was wondering if you guys can fix it please?.
Command Prompt/Terminal logs (if existing)
No response
Have you identified any steps to reproduce the bug? If so, please describe them below in as much detail as possible. Use images if possible.
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
no i didnt edit anything of the build
If you use 1.12.0 or earlier, did you have Optimized Chart Loading turned on?
None
Did you check for any similar issues to what you're reporting? Check, then come back here.
No

You have to check for a similar issue to what you're reporting. Else if we find a similar one then it'll be marked as a duplicate.
This issue doesn't occur for me.


Error: Cannot set property navigator

This keeps happening:
/home/makano/.local/share/rew/rew.forge3d/app/node_modules/3d-core-raub/js/index.js:91
	global.navigator = navigator;
	                ^

TypeError: Cannot set property navigator of #<Object> which has only a getter
    at _init (/home/makano/.local/share/rew/rew.forge3d/app/node_modules/3d-core-raub/js/index.js:91:19)
    at init (/home/makano/.local/share/rew/rew.forge3d/app/node_modules/3d-core-raub/js/index.js:135:11)
    at createDocument (/home/makano/.local/share/rew/rew.forge3d/app/main.coffee:-3:9)
    at createForge3d (/home/makano/.local/share/rew/rew.forge3d/app/main.coffee:49:21)
    at Forge3D.Weld (/home/makano/.local/share/rew/rew.forge3d/app/main.coffee:86:63)
    at /home/makano/workspace/test-stuff/main.coffee
    at Script.runInContext (node:vm:148:12)
    at Script.runInNewContext (node:vm:153:17)
    at Object.runInNewContext (node:vm:309:38)
    at module.exports.exec (/home/makano/workspace/rew/lib/rew/modules/runtime.js:12:12)

It only happens when i require it while in a different path. i am requiring /home/makano/.local/share/rew/rew.forge3d/app/main.coffee from /home/makano/workspace/test-stuff/main.coffee
Can you PLEASE wrap this in a try-catch?

Okay, here's what i think we should do. Let's execute most of this in a vm. Since three needs all the browser stuff like navigator and location, i think it would be safer in it's own context.

Or do this. Since we're overriding it anyways, it wouldn't make a difference.

Navigator is needed for some cases where web-libs would use it. Here I think an obvious fix would be to simply check if it already exists. And I wonder why it exists. Last time I'd checked, it was:
$ node -p "global.navigator"
undefined

Are you using some special kind of environment that is not Node and therefore already has navigator?
Can you find out why it's already there and what value it holds?
I can't see how using the VM would help. These globals are being set here for web-libs that expect them globally. This module doesn't know when and which libs are going to use the globals.
And yes i am using a different environment but node modules are still running inside of node. I don't know why this happens. but i will try seeing if i can get a solution, if not i will just include 3d-core-raub's js and make adaptations to run in the new environment.

Oh i think it exists now, maybe?

i am using node 22.3.0

I use Node 20.14.0, so I guess that's a thing in 22. If you wish to use web-libs (such as three.js) inside VM, the whole 3d-core-raub should just go in there. Web libs and global adjustments made by 3d-core-raub should coexist in the same context because that's the point. If that doesn't make sense, maybe you only need GLFW + WebGL, and not the whole 3d-core environment?
Either way, since 22 adds some random stuff, adjustments should be made for reliability. I will try running node 22 to look for additional issues.

My thought was to make a way to manage the context and run web libs in that context, don't you think having a separate context for web libs is a good choice? we won't have to worry about changing the node's global context.
Also, as far as i have seen, it's all good except the navigator. I think they added some APIs in node like hardwareConcurrency`. Anyways, i think this issue closes here, since we already know the problem, close it when you release the next update.


Double Group in chat

so i created some groups in my server and it just doubles the rank

You most likely have an issue with your chat plugin (possibly due to having multiple of them). Screenshot lp user USER info just to ensure lp is working as expected

yep LuckPerms is working, look into your chat plugin config.

essentials chat?

then you can ask in their discord https://discord.gg/casfFyh or create an issue at https://github.com/EssentialsX/Essentials/issues


add auto-generated docs for methods

hey this is just a suggestion, I used documentation.js to dynamically replace the Methods section in the README with API docs generated out of the lib/actions.js file.
It also changed other parts of the README unfortunately I don’t think there is a way to disable it. But I think once we merge it in it shouldn’t make changes outside of the Methods section again.
We could add an npm run documentation task that updates the README. If you use the npm version command to generate the tags and version commits, we can run it on preversion.
What you think?

You rock @gr2m ! Thank you for this :D
How do we add it on the preversion? Just as a script call in tha package.json?
Oh, BTW... The documentation module is in the dependencies object, but shouldn't it be in the dev-dependencies object?
Cheers!
Luciano

The documentation module is in the dependencies object, but shouldn't it be in the dev-dependencies object?

Yes I’m sorry this wasn’t ready for merging yet, I should have made it clear. I’ll send a follow up PR right away :)

Don't worry! I merged it anyway but I didn't build the new npm version, so It didn't affect anybody :)

here is the follow up: https://github.com/LucianoGanga/simple-headless-chrome/issues/27


[Issue]: Repo not found

Problem Description
Install instructions for SUSE Linux does not work
https://rocm.docs.amd.com/projects/install-on-linux/en/latest/tutorial/quick-start.html
sudo zypper refresh
Retrieving repository 'AMDGPU 6.1.1 repository' metadata ....................................[error]
Repository 'AMDGPU 6.1.1 repository' is invalid.
[amdgpu|https://repo.radeon.com/amdgpu/6.1.1/sle/20240524/main/x86_64] Valid metadata not found at specified URL
History:
 - [|] Error trying to read from 'https://repo.radeon.com/amdgpu/6.1.1/sle/20240524/main/x86_64'
 - Download (curl) error for 'https://repo.radeon.com/amdgpu/6.1.1/sle/20240524/main/x86_64/content':
   Error code: Curl error 56
   Error message: The requested URL returned error: 404

GPU: AMD Radeon RX6700S
ROCM version: 6.1.1
Operating System
openSUSE Tumbleweed
CPU
AMD Ryzen 9 6900HS with Radeon Graphics
GPU
AMD Radeon RX 7900 XT
ROCm Version
ROCm 6.1.0
ROCm Component
No response
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response

Hi @tsaist1 openSUSE Tumbleweed is not supported by ROCm, please see a list of supported operating systems below. I could not reproduce this issue on SUSE Linux Enterprise Server. Please re-open if you see this issue on a supported OS. Thanks!
https://rocm.docs.amd.com/projects/install-on-linux/en/latest/reference/system-requirements.html


EPIPE exception is raised on shutdown()

PyOpenSSL will raise an EPIPE exception if the connection was already closed when shutdown() is called.

This has been fixed by 1d020a394676841e063f9e6517d9f80b0a6f9c1f in PR #13


PDF generation message is untranslated

use OS with German menus
go to e.g. an election and press the PDF button

result: a message at the bottom of the screen appears telling at first that the PDF is in the creation process and eventually that it has been generated:

This message is untranslated in English not German.

Fixed with #3115

confirmed fixed.


Export-SqlLogin 2008< compatability

Is this:
Just place "x" to indicate selection (e.g. "[x]")

[ ] feature
[x] bug:

System Details
user reported  "I tried Export-SQLLogin. It seems to use commands that not works in SQL 2008 R2 and older. (it users ALTER SERVER ROLE, but in SQL 2008 R2 it is sp_addsrvrolemember)."
There's actually a thing in the SMO scripter (if SMO is used in this export, unsure) where you can set an option for the destination SMO version! so crazy cool.

unfortunately SMO is not in the picture for this

BTW: at SOME point, this and export-sqluser should collapse into one or be better separated. export-sqluser already solves the issue using SMO correctly.


Prevents overwriting the state using AutoSaveState middleware

This change allows to keep the state and prevents unnecessary overwriting. Currently, the AutoSaveStateMiddleware class always overwrites the bot-state.

In the C# version, the BotSetState.SaveAllChangesAsync method does not force the update of the state.
public async Task OnTurnAsync(ITurnContext turnContext, NextDelegate next, CancellationToken cancellationToken = default(CancellationToken))
{
    await next(cancellationToken).ConfigureAwait(false);
    await this.BotStateSet.SaveAllChangesAsync(turnContext, false, cancellationToken).ConfigureAwait(false);
}

Pull Request Test Coverage Report for Build 1739

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.06%) to 70.777%

Files with Coverage Reduction
New Missed Lines
%

libraries/botframework-config/src/botConfigurationBase.ts
2
85.59%

Totals

Change from base Build 1730:
-0.06%

Covered Lines:
2217

Relevant Lines:
3013

💛  - Coveralls


Form items should update their value when binding value changes and is different from current value

Describe the bug
Checkbox does not update the value properly if the binding changes. See Date widget and tests for example behavior. Duplicate tests for Checkbox, Dropdown, TextInput, etc.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

@evshi here is my YAML
View:
  onLoad:
    executeCode:
      body: |
        ensemble.storage.set('checkbox', false)

  body:
    Column:
      styles:
        names: page
      children:
          - Button:
            label: Go Back
            onTap:
              executeCode: |
                ensemble.storage.set('checkbox', !ensemble.storage.get('checkbox'))
          - Card:
            styles:
              maxWidth: unset
              width: unset
            children:
              - Form:
                  id: myForm
                  children:
                     - Row:
                        item-template:
                          data: [0, 1, 2]
                          name: cd
                          template:
                            Checkbox:
                              id: ${'cb' + cd}
                              trailingText: ${'Check me' + cd}
                              value: ${ensemble.storage.get('checkbox')}
                              onChange:
                                executeCode: |-
                                  console.log('isChecked', value);

https://github.com/user-attachments/assets/93a436c4-cd6d-453d-8b99-5f95cc3b7dd1
when I am changing by binding through button, checkboxes values are updating

@sagardspeed2 change the value of the checkbox manually before changing the value via binding. Write unit tests to verify as well.


Fixes & Features

Could you guys please fix some things, and implement some stuff...
Fix:
• When someone likes a DM you sent, it sends a message from that person saying ""... Just make it so it adds a heart under your message sent, or something.
• You can only see your latest 20 people DM'd... It'd me nice if the list grew as you got to the bottom.
• You can only see the latest 20 DM's sent to someone... as mentioned above, it'd be nice ^
• Group DM's don't show the name of the group, it just has a list of all the people in the group... please fix
• When someone is tagged in DM's, that persons name doesn't show up blue... Maybe make it when you click the name tagged, their picture pops up, and a button shows saying "view profile" and it open instagram.com/user_name in browser...
• When someone shares a profile with you via DM's a message comes from that person saying ""... Make it to where it shows that person's name as a tag or whatever.
Implement:
∆• Like a DM someone sent
∆• "Unsend" DM's (delete the DM)
∆• Add members to group DM
• Rename group DM
• Change "seen" to an eye or something and move it to under the message instead of all the way over to the left
∆ = I really would like to see this feature, and should be implemented anyways....
These are just some features I really think should be implemented, and some fixes I would like to see.

<3 <3 Exactly

I recently broke my phone and started using this application for Instagram DM's (I could find no alternatives).
chadleylyell did a good job listing out the enhancements and or features that I would also love to have.
I went through the code base to see how it works.
Instagram apparently internally uses two different Endpoints for WebRequests and Android/IOS App Requests (not completly sure). The former is used to get Direct Message Information.
Instagram's application uses Web Sockets to do real-time communication, while the instagram-private-api-v1 uses pooling. Which is just getting the same data every x seconds and updating it. Doing this is not the ideal solution as we are essentially getting the same data redundantly while we should only get the data which needs to be updated in the view.
Check this old issue regarding the same  https://github.com/huttarichard/instagram-private-api/issues/13
I thought about implementing
=> Loading of more than 20 chats / chat messages.
Due to above said limitations I cannot find any way to get chats using a cursor or getting chat list efficiently using range. which means i cannot get just the older chats. If i want to get more "chat" it will come with a baggage of ALL the "chats", even the ones that are already displaying.
I suppose this is a dirty solution because it would increase memory, internet and other resource usage as you start loading more and more message.
BUT, on the other hand it would just get the job done.
I might be completely wrong and their might be a way to just get older messages / chats.
I will happy to make necessary changes after more view points from other people. As this could do more bad to the application than good.

@ifedapoolarewaju ^^^

@ajaygrover thank you for giving this a spin. Right now we fetch messages with the Thread class. I think if we used ThreadItemsFeed to get the messages instead, then we would have the cursor to load messages in ranges. Does this make sense to you?


BUG - MySQLExecutionDAO.addEventExecution wrong index

Problem: cannot use more than one action in the same EventHandler with MySQL persistence
Reason: UNIQUE KEY unique_event_execution (event_handler_name,event_name,message_id)
Detailed description: when a new incoming message that triggers a new workflow execution is processed by EventProcessor, it tries to extract the list of actions defined inside the EventHandler definition and execute them asyncronously. But the problem is before executing every action, it tries to add a new record to the "event_execution" table in MySQL. The unique index used in that table is the same for both actions because it doesn't use execution_id but uses just a message_id instead, so it cannot add more than one execution for this message_id and throws exception.
Throwing exception leads to even more serious problem: the incoming event will never be acknowledged, even though the first action was successfully added to the table and was successfully executed, but the acknowledment for the whole event happens only when there is no exception for both actions.
Also, when next time (after unack timeout) the same event will come again, no actions can be executed and nothing can be changed because the record is already in the table so this time it will be an exception for the first action immediately. It leads to messages constantly hanging in the input queue.
Expected behavoir: the unique index for this MySQL table should be per action, not per message_id. It should work properly if to use "execution_id" instead of "message_id" inside the index, because "execution_id" contains a suffix that is incremented for every action inside the event handler.
Also, if somehow finally we got the exception, after unack timeout when we get the same incoming event again, we should be able to either acknowledge it or execute it again, or it will hang in the incoming queue forever as it happens now.
Example of EventHandler definition to reproduce the problem:
{
  "name": "trigger_test_workflow",
  "event": "sqs:my-event",
  "condition": "true",
  "active": true,
  "actions": [
    {
      "action": "start_workflow",
      "start_workflow": {
        "name": "my-workflow",
        "version": 2,
        "input": {
          "receipt_id": "${receipt_id}",
          "sent_at": "${sent_at}"
        }
      }
    },
    {
      "action": "start_workflow",
      "start_workflow": {
        "name": "my-workflow",
        "version": 1,
        "input": {
          "receipt_id": "${receipt_id}",
          "sent_at": "${sent_at}"
        }
      }
    }
  ]
}

@picaron maybe you could have a look and tell your thoughts, thanks

@dskarataev
This seems like a reasonable approach, to have the unique be on the execution_id instead of message_id. If you want, you can submit the PR for it, or else I can do it.

Hi, @mashurex I am working on other projects now so if you want to submit PR feel free to do it, the World would appreciate it :) Thanks!

Closing this since #1386 is merged.


[Documentation] Spec Power Spurce Cluster invalid Quantity R

Documentation issues
See 11.7 in Core Specs. There are a lot of attributes for the Power Source Cluster listed with quality R, but "R" is not defined as a valid quality.
A bit I asume it should be "F" but unsure.
Platform
core (please add to version below)
Anything else?
No response

Thank you,
I will use matter Specs 1.1. from today on ;-)


Migrate to eslint-config-formidable

Yay!

I accidentally put some devDependencies into dependencies for the upcoming demo PR 😬 Will fix


ISPN-8982 Hibernate ORM 5.3 2LC implementation

https://issues.jboss.org/browse/ISPN-8982

Includes infinispan-hibernate-cache-spi (and related changes) by Paul Ferraro
Regions moved from commons to version-specific modules.
infinispan-hibernate-cache is now merely a copy-paste of v51 with
necessary SPI changes, and this module won't be in Infinispan 9.3
v53 drops support for transactional caches completely.

This is marked as preview for two reasons:

Hibernate 5.3 used here is a SNAPSHOT version
The PR should land in Infinispan 9.3 without the 5.2 support; only 9.2 should get it
Despite of these I request review.

Needs rebasing btw

@galderz The intention of the infinispan-hibernate-cache-spi is to decouple the application server 2LC integration from any specific version of Hibernate ORM.

Err, I have changed the way comparator is created for NSRW in v53 but it's wrong - the comparator in VersionedCallInterceptor must be able to compare all types stored in the region, not just the find which gets the AcessStrategy created. (this is a TODO for myself).

OK, I've backported some of the work from ISPN-9059 to this PR, letting VersionedCallInterceptor to fetch comparator for given type in 5.3. I am not sure if NSRW access to a collection using structured entries (hibernate.cache.use_structured_entries=true) will work well but at the worst it should not cache anything. And IMO this would be a rare case.

Radim, when could a backport + release, of this change in 9.2.x be ready to include in WF13?  I need to ask when it is too late to add a 9.2.x update into WF13, it would be helpful if I have an estimate of when this will be ready.  Of course, I will report back with what I hear about when its too late.  Thanks!

@scottmarlow We'll address the backport + release with maximum priority. I am just waiting for ORM release to change dependencies to non-snapshot version. Once that's out, I'll update & prepare 9.2 backport.

Updated to use ORM CR2 & removed 5.2 compatibility (this is kept in #5946 only).

Thanks @rvansa! Can we integrate it now? Or is there anything else that needs doing?

@galderz There's no more work on this adapting the SPIs, everything is implemented. Improvements and optimizations will come as https://issues.jboss.org/browse/ISPN-9059 and https://issues.jboss.org/browse/ISPN-9075 later.


Possible to make whole page activate as jupyter lite

Is it's possible to make the entire page active as a jupyter kernel? So if I wrote the docs as a notebook then they just become active.
Currently the jupyter part is contained:

From this thebe issue: https://github.com/executablebooks/thebe/issues/465#issuecomment-908079835 I guess the struggle is that this would require implementing a new frontend to communicate with the backend?
Or maybe a wilder idea is a jlab extension to make jupyterlab look like a docs website, then it would be easy to have jupyterlite run everything.

Indeed, it would be nice to share one kernel for all the consoles in the page 👍🏽

look like a docs website,

right, i think that's achievable, but probably out of scope for this initial go-around. the prototype form is https://github.com/jupyterlite/jupyterlite/issues/148, but we imagine extending it to a JSON schema for composing custom jupyter experiences from top-level applications.

share one kernel for all the consoles

this challenge is being discussed here: https://github.com/jupyterlite/jupyterlite/issues/463. the idea would be to offer more than just "iframe kernel," or "webworker kernel," but a composite of "webworker-in-an-iframe kernel" as a stand-in for "sharedworker kernel," which is not widely-distributed yet due to (sound) limitations by the browser security model.

So is there a downside to do the whole thing within a jupyter lab and have a plugin that renders the docs similar to what is shown in sphinx?


[Urgent] Crashes in v2.6.5

We are getting a lot of crashes in v2.6.5 production, with a crash rate of 4.27%, more than in previous versions. This has unfortunately led to a lot of uninstalls. :( The majority of the crashes seem to be related to Dagger. I have pasted them below:
9 reports, 6 users:
java.lang.RuntimeException:
  at android.app.ActivityThread.handleCreateService (ActivityThread.java:3349)
  at android.app.ActivityThread.-wrap4 (Unknown Source)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1677)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loop (Looper.java:164)
  at android.app.ActivityThread.main (ActivityThread.java:6494)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:438)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:807)
Caused by: java.lang.RuntimeException:
  at dagger.android.AndroidInjection.inject (AndroidInjection.java:134)
  at dagger.android.DaggerService.onCreate (DaggerService.java:27)
  at fr.free.nrw.commons.HandlerService.onCreate (HandlerService.java:55)
  at fr.free.nrw.commons.upload.UploadService.onCreate (UploadService.java:122)
  at android.app.ActivityThread.handleCreateService (ActivityThread.java:3339)

8 reports, 4 users:
java.lang.RuntimeException:
  at android.app.ActivityThread.handleCreateService (ActivityThread.java:3544)
  at android.app.ActivityThread.-wrap6 (ActivityThread.java)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1732)
  at android.os.Handler.dispatchMessage (Handler.java:102)
  at android.os.Looper.loop (Looper.java:154)
  at android.app.ActivityThread.main (ActivityThread.java:6776)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1496)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1386)
Caused by: java.lang.RuntimeException:
  at dagger.android.AndroidInjection.inject (AndroidInjection.java:134)
  at dagger.android.DaggerService.onCreate (DaggerService.java:27)
  at fr.free.nrw.commons.HandlerService.onCreate (HandlerService.java:55)
  at fr.free.nrw.commons.upload.UploadService.onCreate (UploadService.java:122)
  at android.app.ActivityThread.handleCreateService (ActivityThread.java:3534)

5 reports, 2 users:
java.lang.RuntimeException:
  at fr.free.nrw.commons.contributions.ContributionsActivity$1.onServiceDisconnected (ContributionsActivity.java:97)
  at android.app.LoadedApk$ServiceDispatcher.doConnected (LoadedApk.java:1457)
  at android.app.LoadedApk$ServiceDispatcher$RunConnection.run (LoadedApk.java:1489)
  at android.os.Handler.handleCallback (Handler.java:754)
  at android.os.Handler.dispatchMessage (Handler.java:95)
  at android.os.Looper.loop (Looper.java:163)
  at android.app.ActivityThread.main (ActivityThread.java:6361)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:904)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:794)

8 reports, 3 users:
java.lang.RuntimeException:
  at android.app.ActivityThread.handleCreateService (ActivityThread.java:3193)
  at android.app.ActivityThread.-wrap5 (ActivityThread.java)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1563)
  at android.os.Handler.dispatchMessage (Handler.java:102)
  at android.os.Looper.loop (Looper.java:154)
  at android.app.ActivityThread.main (ActivityThread.java:6123)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:867)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:757)
Caused by: java.lang.RuntimeException:
  at dagger.android.AndroidInjection.inject (AndroidInjection.java:134)
  at dagger.android.DaggerService.onCreate (DaggerService.java:27)
  at fr.free.nrw.commons.HandlerService.onCreate (HandlerService.java:55)
  at fr.free.nrw.commons.upload.UploadService.onCreate (UploadService.java:122)
  at android.app.ActivityThread.handleCreateService (ActivityThread.java:3183)

Hm, seems like 3 of the crash clusters stem from the same line of code:   fr.free.nrw.commons.HandlerService.onCreate (HandlerService.java:55)

Crash rate has gone up to 5.43% with the Dagger-related crash. :/ @maskaravivek @psh , any thoughts on how we can fix this? Not sure why we are experiencing so many issues with Dagger.

It looks like all of these stack traces boil down to the same root cause.
// this should never happen
throw new RuntimeException("UploadService died but the rest of the process did not!");

Is, in fact, happening & that exception is a symptom.  The real, troublesome line in question - AndroidInjection.inject() line 134 - says  that the application associated with the UploadService doesn't implement HasServiceInjector and yet our commons application class extends DaggerApplication which clearly does.
Tracking backward, it looks like MultipleShareActivity interacts with the service - is it possible that we are being invoked from the "share" option in the Android 8.0 / 8.1 photos app, and as such are associated with their application class in that case and not our own?
Looking at the injected dependencies in the UploadService there isn't a huge need to manage them as Singletons - we could change how injection is done in that service (more traditional Dagger without the AndroidInjection) or possibly make the class a touch more standalone and instantiate the 3 dependencies directly.  Thoughts?


Publish fails with a cryptic error message

Issue Type: Bug
When no git repo is configured, the command GitHub Publish fails with a cryptic error message: "State not found in accepted state. Skipping this execution..."
Extension version: 0.32.0
VS Code version: Code 1.62.3 (ccbaa2d27e38e5afa3e5c21c1c7bef4657064247, 2021-11-17T08:00:36.721Z)
OS version: Linux x64 5.15.5-1-default
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz (4 x 2393)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onrasterization: disabled_softwareskia_renderer: enabled_onvideo_decode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
5.66GB (0.17GB free)

Process Argv
--unity-launch --crash-reporter-id 2a03cb52-9f4b-48bf-93d3-5c0537d534ee

Screen Reader
no

VM
0%

DESKTOP_SESSION
/usr/share/xsessions/plasma5

XDG_CURRENT_DESKTOP
KDE

XDG_SESSION_DESKTOP
KDE

XDG_SESSION_TYPE
x11

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythontb:30283811
pythonvspyt551cf:30345471
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
pythonrunftest32:30373476
pythonf5test824:30373475
javagetstartedt:30391933
pythonvspyt187:30373474
vsaa593cf:30376535
vscop804cf:30404767
vscop940:30404999
vsrem710:30405998

Seems to be the GitHub Authentication extensions. @TylerLeonhardt, could you please take a look? Thanks!

/gifPlease

This happens in a fresh unauthenticated Code environment when the current folder is not associated with GitHub either.  Once you have authenticated, the problem goes away.
GitHub Publish should enter the same authentication dance when invoked with no context.  Currently it fails miserably, leaving an unintelligible message in an output section that is hard to find (does not pop up).

Unfortunately, I can't seem to repro what you're seeing :(
https://user-images.githubusercontent.com/2644648/148827630-dfb0fbde-8ca8-43ae-8851-6916efce7d6b.mp4

I do not know how to reproduce it now because I already have the token.

you can sign out again from the Account menu in the bottom left:

I confirm the intended behaviour after logging out.  I still think that the state after logging out is different from the state before logging in for the first time.

I've tried this a few time in fresh containers and haven't seen it.
Let me know if you see this again and we can try to debug further.


python310Packages.stripe: 4.1.0 -> 5.0.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.stripe is: "Stripe Python bindings"
meta.homepage for python310Packages.stripe is: "https://github.com/stripe/stripe-python"
meta.changelog for python310Packages.stripe is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 4.2.0 with grep in /nix/store/6256d4bdfmbcgm0sgbkdl074my2dfxr6-python3.10-stripe-4.2.0
found 4.2.0 in filename of file in /nix/store/6256d4bdfmbcgm0sgbkdl074my2dfxr6-python3.10-stripe-4.2.0

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

6 total rebuild path(s)

6 package rebuild(s)

First fifty rebuilds by attrpath
gigalixir
python310Packages.gigalixir
python310Packages.stripe
python39Packages.gigalixir
python39Packages.stripe
sourcehut.metasrht

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/6256d4bdfmbcgm0sgbkdl074my2dfxr6-python3.10-stripe-4.2.0 \
  --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 python310Packages.stripe https://github.com/r-ryantm/nixpkgs/archive/581ac4d7ea5f4e38c425d5cd3037c950000550d3.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/6256d4bdfmbcgm0sgbkdl074my2dfxr6-python3.10-stripe-4.2.0
ls -la /nix/store/6256d4bdfmbcgm0sgbkdl074my2dfxr6-python3.10-stripe-4.2.0/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 failed to build:

sourcehut.metasrht

4 packages built:

gigalixir (python310Packages.gigalixir)
python310Packages.stripe
python39Packages.gigalixir
python39Packages.stripe

Maintainer pings

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.stripe is: "Stripe Python bindings"
meta.homepage for python310Packages.stripe is: "https://github.com/stripe/stripe-python"
meta.changelog for python310Packages.stripe is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 5.0.0 with grep in /nix/store/bjc3zdzg9aml9pacli49xpz0zv85m88w-python3.10-stripe-5.0.0
found 5.0.0 in filename of file in /nix/store/bjc3zdzg9aml9pacli49xpz0zv85m88w-python3.10-stripe-5.0.0

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

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath
gigalixir
python310Packages.stripe
python39Packages.stripe
sourcehut.metasrht

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/bjc3zdzg9aml9pacli49xpz0zv85m88w-python3.10-stripe-5.0.0 \
  --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 python310Packages.stripe https://github.com/r-ryantm/nixpkgs/archive/ddc90b1c84805c33cfdaabac519210889d76863b.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/bjc3zdzg9aml9pacli49xpz0zv85m88w-python3.10-stripe-5.0.0
ls -la /nix/store/bjc3zdzg9aml9pacli49xpz0zv85m88w-python3.10-stripe-5.0.0/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

4 packages built:

gigalixir
python310Packages.stripe
python39Packages.stripe
sourcehut.metasrht

Maintainer pings


This page contains 5, not 4 tabs

[Enter feedback here]
This page contains 5, not 4 tabs ("Read-Only Routing" is not mentioned)
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: a8343902-6c91-d703-25ca-a331ba9c0334
Version Independent ID: d025462f-eaa0-a466-f546-8c9dcc508709
Content: Availability Group Wizard: Specify Replicas Page - SQL Server Always On
Content Source: docs/database-engine/availability-groups/windows/specify-replicas-page-new-availability-group-wizard-add-replica-wizard.md
Service: sql
Sub-service: availability-groups
GitHub Login: @MashaMSFT
Microsoft Alias: mathoma

Hi @zilvakas , thanks so much for contacting Microsoft and helping improve our docs! My apologies for the delay as we've been working through a large backlog of Issues. We've processed a change to update this that is already live. I'll go ahead and close out this Git Issue but please feel free to comment should you need anything further.
Thanks again and I hope you have a wonderful rest of your day!
Masha from the SQL Docs team
#please-close


Text is invisible using orthographic camera

Hello,
So I was trying to display some text using THREE.OrthographicCamera, but only the background is displayed and no text can be seen.
Reproducible example : https://jsfiddle.net/ds16nbgu/

I tried to play around with text shaders (vertex + fragment) : disabling clipping, setting gl_FragColor to vec3(1.0) but doesn't seem to help. I also tried to set ThreeMeshUI.Text.frustumCulled to false and THREE.MeshBasicMaterial.depthTest to false, without success.
I searched for a while and this doesn't seem to be a known issue. What might be the cause of that ?
Thanks by advance.

Hi, thank you for reporting this, it's indeed an unknown issue...
I'm looking into this

Apparently it's something to do with z-depth, and there is a quick fix, juste set the camera near frustum plane to a high negative value : https://jsfiddle.net/felixmariotto/v4ns6mzg/34/
However I'm still unsure why it happens, I'm still investigating.

Awesome, playing with near / far planes did the trick for now !
It seems that using positive near plane value (0.1), camera needs to be at least 2.6 units away from origin in order to have the text displayed. https://jsfiddle.net/qv8zagLn/
I think the Z offset on text vertex shader (-0.005) makes the text go behind the near plane on orthographic camera with clipping planes being far away. We could be more aggressive with it and look for a minimal FP32 value that still prevents Z-fighting and avoids the text to get projected too far.
0.00001 might be a way better candidate, even 0.000001 (looks a bit more risky tho).
Anyway thanks for the help !

I just tried 0.00001 and it does fix the issue with the orthographic camera, so I will update this.
Thanks a lot for the report !

My pleasure and thank you for your amazing job 🙏


Python tests

Proposed Changes
Add python tests that can be executed in CI through an optional build target. Currently a draft PR as a potential fable bug is causing 13 tests to fail.

This bug is fixed in Fable 4.2.2. But there's a another error now that blocks this PR:
ImportError: cannot import name 'start_child' from 'fable_modules.fable_library.async_'

I'll see if I can fix this as well but it might take some time since it requires rework of the async scheduler / trampoline to handle async parallel correctly.

Thanks for looking into it!

Have a local fix, all tests are green. Need to do some more testing to check there's no other regressions, and then we need to release another Fable.

@dbrattli Thanks for looking into all the issues! I really appreciate the work you've put into all this.
Got one more for ya. Windows builds are failing with:
> "python" "tests/FsToolkit.ErrorHandling.Tests\.python-tests\main.py" (In: false, Out: false, Err: false)
Traceback (most recent call last):
  File "D:\a\FsToolkit.ErrorHandling\FsToolkit.ErrorHandling\tests\FsToolkit.ErrorHandling.Tests\.python-tests\main.py", line 34, in <module>
    main(sys.argv[1:])
  File "D:\a\FsToolkit.ErrorHandling\FsToolkit.ErrorHandling\tests\FsToolkit.ErrorHandling.Tests\.python-tests\main.py", line 30, in main
    return Pyxpecto_runTests(all_tests)
  File "D:\a\FsToolkit.ErrorHandling\FsToolkit.ErrorHandling\tests\FsToolkit.ErrorHandling.Tests\.python-tests\fable_modules\fable_pyxpecto\pyxpecto.py", line 1019, in Pyxpecto_runTests
    return Pyxpecto_runViaPy(test)
  File "D:\a\FsToolkit.ErrorHandling\FsToolkit.ErrorHandling\tests\FsToolkit.ErrorHandling.Tests\.python-tests\fable_modules\fable_pyxpecto\pyxpecto.py", line 987, in Pyxpecto_runViaPy
    to_console(printf("\U0001f680 start running tests ..."))
  File "D:\a\FsToolkit.ErrorHandling\FsToolkit.ErrorHandling\tests\FsToolkit.ErrorHandling.Tests\.python-tests\fable_modules\fable_library\string_.py", line 68, in to_console
    return continue_print(print, arg)
  File "D:\a\FsToolkit.ErrorHandling\FsToolkit.ErrorHandling\tests\FsToolkit.ErrorHandling.Tests\.python-tests\fable_modules\fable_library\string_.py", line 61, in continue_print
    ret = arg.cont(cont)
  File "D:\a\FsToolkit.ErrorHandling\FsToolkit.ErrorHandling\tests\FsToolkit.ErrorHandling.Tests\.python-tests\fable_modules\fable_library\string_.py", line 199, in _
    return cont(str)
  File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\encodings\cp1252.py", line 19, in encode
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f680' in position 0: character maps to <undefined>
Finished (Failed) 'PythonTest' in 00:00:28.5431365

Any ideas?

This one is a bit weird. Cannot reproduce. Not sure what the difference can be. https://github.com/fable-compiler/Fable/pull/3563

This one is a bit weird. Cannot reproduce. Not sure what the difference can be. fable-compiler/Fable#3563

Yeah and I can't reproduce it locally on my windows box either 😢
dotnet --info
.NET SDK:
 Version:   7.0.401
 Commit:    eb26aacfec

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.22621
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\7.0.401\

python --version
Python 3.10.7

run: |
  chcp 65001
  ./build.cmd PythonTest
env:
  PYTHONIOENCODING: utf-8

This seemed to have worked 🤷♂


Arc Linux templates try to install the Windows extension

In the section Azure Arc-enabled Linux server, the ARM and Bicep templates are trying to deploy a Windows agent instead of a Linux agent... (The name and type of the VM extension mention AzureMonitorWindowsAgent instead of AzureMonitorLinuxAgent)

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

ID: baf82535-8a71-c604-5fef-a950c4a384ac
Version Independent ID: 9f1526c9-d772-3802-539a-c7b928716ff7
Content: Resource Manager template samples for agents - Azure Monitor
Content Source: articles/azure-monitor/agents/resource-manager-agent.md
Service: azure-monitor
Sub-service: agents
GitHub Login: @bwren
Microsoft Alias: bwren

@jurjenoskam Thanks for the feedback! I have fixed the referenced change, and the change should reflect on the doc within 24 hours.We will now proceed to close this thread. If there are further questions regarding this matter, please revert and we will gladly continue the discussion.


(Suggestion) Filters

Describe the feature you'd like to have added
Make some upgrades(like auto smelter) have a whitelist/blacklist filter or maybe even a tag filter in the settings menu
Additional information
Would be really useful, since it's annoying to disable the upgrade every time you want to chop down trees, or for example in ATM10 having to disable it to get coal instead of graphite bars.

At this time I don't want to add this level of complexity, but I'll consider it :)


update contributors

<EMAIL_ADDRESS>
On Sep 3, 2019, at 4:39 AM, Johannes Weiss<EMAIL_ADDRESS>wrote:
@weissi commented on this pull request.
In CONTRIBUTORS.txt https://github.com/apple/swift-nio/pull/1127#discussion_r320226178:

@@ -49,13 +50,16 @@ needs to be listed here.

John Connolly<EMAIL_ADDRESS>John Holdsworth<EMAIL_ADDRESS>Jovan Milenkovic<EMAIL_ADDRESS>+- Julian Lettner<EMAIL_ADDRESS>@yln https://github.com/yln if you would like me to add a proper email address, please let me know which one.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/apple/swift-nio/pull/1127?email_source=notifications&email_token=AAEF7QM32ZCLXG2LGDUEZBLQHZEFPA5CNFSM4ITFHKBKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCDOTXYA#pullrequestreview-282934240, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEF7QJ6ZUIV6M52LPMXCGDQHZEFPANCNFSM4ITFHKBA.


[2.0-preview] Path-based changes to array sub-key only notifies first time per index

Description
I was attempting to manipulate a sub-key of an item in an array (a simple boolean property). I noticed that only the first change to an item at a given index would actually notify of the change to the sub-key.
If I had an element in fooArray, and changed it like this:
this.set('fooArray.0.bool', true);

The change would notify. As an eventual side-effect of this notification, the first element is removed from the array (so 'fooArray.0' should refer to a new object). A subsequent change to the array using the same path did not result in a notification.
Live Demo
http://jsbin.com/tubajo/edit?html,console,output
Steps to Reproduce

Open the live demo URL
Click the button labeled "Acknowledge next item", note the console output
Click the button labeled "Add item"
Click the button labeled "Acknowledge next item", note the console output

Expected Results
The complete console output should read:
"Array path changed: fooArray"
"Acknowledging item at index 0..."
"Array path changed: fooArray.0.acknowledged"
"Removing acknowledged item!"
"Array path changed: fooArray.splices"
"Array path changed: fooArray.length"
"Array path changed: fooArray.splices"
"Array path changed: fooArray.length"
"Added item to fooArray, now it has length 1"
"Acknowledging item at index 0..."
"Array path changed: fooArray.0.acknowledged" <-- Important!
"Removing acknowledged item!"
"Array path changed: fooArray.splices"
"Array path changed: fooArray.length"

Actual Results
The console output actually reads:
"Array path changed: fooArray"
"Acknowledging item at index 0..."
"Array path changed: fooArray.0.acknowledged"
"Removing acknowledged item!"
"Array path changed: fooArray.splices"
"Array path changed: fooArray.length"
"Array path changed: fooArray.splices"
"Array path changed: fooArray.length"
"Added item to fooArray, now it has length 1"
"Acknowledging item at index 0..."

NOTE: The change notification for fooArray.0.acknowledged does not occur.
Versions

Polymer: 2.0-preview

This was due to invalid index-based array paths being cached in local __data storage.  Fix in progress on https://github.com/Polymer/polymer/tree/2.0-data-updates.

Fixed via https://github.com/Polymer/polymer/pull/4221.


Add free ES screencast and HTML resources

What does this PR do?

Add resources
Add new header and subheader

For resources
Description
Adding web development, Laravel and database fundamentals resources.
Why is this valuable?
Laravel is a popular PHP framework, adding this in addition to Symfony will be helpful for newcomers.
How do we know it's really free?
All links are public and do not require any authentication step. You can quickly visit them and access the content.
For book lists, is it a book? For course lists, is it a course? etc.
Yes.
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Thanks, and welcome to free-programming-books!


A Cleaner Readme

Might be weird because it was made in Org-Mode and exported as Markdown

Thanks!


⚠ Bofrost.at has degraded performance

In c585f1f, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1621 ms

Resolved: Bofrost.at performance has improved in 7e447c6.


How to open the app when nfc is detected

I am trying to open a certain screen when the nfc is detected , i have tried the workmanager but it didn't work , after
reaserch i found this artice but i'm not sure how to use it for my own purpose
https://muetsch.io/how-to-receive-sharing-intents-in-flutter.html

you can see this video  [https://youtu.be/aO7V8G1YFPE](video youtube)

@rus0n  thank you i have did a similiar approche
in the native code i check if the app have been open by nfc intent and i save the content in shared Preferences
and in the dart/flutter side i check if there's data saved or not

Now, I'm trying to get data when the app open cause NFC tag. I think that I have to use intent filter and use methodhadler in native code to send the data to flutter. Do you implement it and works fine?

yes i'm using this code in the onresume method
if ((NfcAdapter.ACTION_NDEF_DISCOVERED == intent.action)||(NfcAdapter.ACTION_TAG_DISCOVERED == intent.action)||(NfcAdapter.ACTION_TECH_DISCOVERED == intent.action)) {
                        intent.getParcelableArrayExtra(NfcAdapter.EXTRA_NDEF_MESSAGES)?.also { rawMessages ->
                            val messages: List<NdefMessage> = rawMessages.map { it as NdefMessage }
                            if(messages.first() != null && messages.first().records != null){
                                val uriRecord = String(messages.first().records.first().payload);
                                //MethodChannel(flutterEngine.dartExecutor.binaryMessenger, CHANNEL).invokeMethod("nfc_native",uriRecord);
                                this.code=uriRecord;
                                var preferences = context.getSharedPreferences("FlutterSharedPreferences", Context.MODE_PRIVATE)
                                preferences.edit().putString("flutter.nfcMessage",this.code).apply();

                            }

                        }
                    }

and in the dart side i just check the value in sharedPreferences if its exist and use it (i remove it after using it so i don't have to handle it more than once)


Update Dockerfile/pefile v.1.2.10-139

Changelog:

update Dockerfile to include recent changes in base repo
update pefile to version 1.2.10-139; resolve issues when using version 1.2.10-114 (apt/pip repos are a bit behind)

I have pushed the changes to DockerHub; updating the Dockerfile for consistency/reference.

apt is indeed a bit behind but pip has the latest tagged release at 1.2.10-139. I agree we should at least be using the latest version in pip as opposed to apt because META_PE relies on some of these changes.
However, your pulling master here which is even newer. I'm unclear if any of the changes in master are incompatible with META_PE. I tested new META_PE with 1.2.10-139 and had no issues. Have you done any testing with master?
Whatever we decide, we should update the README to reflect the change also.

Good point with not pulling from master since that adds considerable risk if/when new changes are introduced in the pefile repo. Granted in the case of the docker image, the build is from a snapshot in time as of when the image was created in DockerHub; thus, the docker image would continue to use what's currently in master (version 1.2.10-139). On the other hand, that may become problematic should someone else wish to build their own image or follow the steps in the Dockerfile to create their own instance.
As a workaround, I updated the pull request by removing the pull from master and substituting with the download URL from pypi ( http://pefile.googlecode.com/files/pefile-1.2.10-139.tar.gz ). That should provide a consistent means of grabbing pefile source without having to rely on what's contained in master.
I had tested pefile from master and had no issues when I made the change yesterday; likely since the code has not changed much and still appears to be at version 1.2.10-139.  I have also tested this most recent change with using pefile from pypi and have not had any issues.
Rationale for pulling from master was due to issues with installing from source after downloading from the releases page ( https://github.com/erocarrera/pefile/releases ). Thanks for pointing out pypi as another alternative as that seems to be the best option right now.
On a separate note,I have submitted a request to update the releases page as that would be a convenient place to download the source files in the future ( https://github.com/erocarrera/pefile/issues/80 ).
Regarding README, I took a crack at updating the instructions by removing python-pefile from apt repo and including steps for downloading/installing from pypi.

Thanks for the modifications. I think using a release instead of master is the safest bet, even if the release is a bit long in the tooth. Breaking changes could appear in the future. Hopefully they tag a new release soon so we can test and switch to it.
Also thanks for updating the README to match!


appcenter crashes in upload-symbols

+ hash appcenter
+ echo 'Microsoft AppCenter CLI is not installed. Installing...'
Microsoft AppCenter CLI is not installed. Installing...
+ npm install -g appcenter-cli
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3[REDACTED]42
/usr/local/bin/appcenter -> /usr/local/lib/node_modules/appcenter-cli/bin/appcenter.js
><EMAIL_ADDRESS>postinstall /usr/local/lib/node_modules/appcenter-cli/node_modules/fast-xml-parser
> node tasks/postinstall.js || exit 0
EDACTED]mLove fast-xml-parser? Check https://amitkumargupta.work EDACTED]mfor more projects and contribution.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
+<EMAIL_ADDRESS>added 476 packages from 430 contributors in [REDACTED]6.668s
+ envman add --key BITRISE_DSYM_PATH
+ appcenter crashes upload-symbols -s /Users/[REDACTED].dSYM.zip -a [REDACTED]/[REDACTED] --token [REDACTED] --quiet
Error: failed to start the symbol uploading

I'm getting this output.
Could npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself. be the error?
Or is the problem, that I my username/appname is wrong?

I found the issue. My username/appname was wrong and I had trouble finding the correct one. It seems that renaming the app, doesn't change the appname which AppCenter is using internally.
This helped me and solved my problem.


Upload Text File has no Way of Specifying Path on Local System

The text file with all of the images is stored on the machine running DIGITS as opposed to the machine my browser is running on.

Are you saying the instructions should be made clearer, or are you asking for new functionality?
You can't just provide a local filesystem folder without a bunch of client-side javascript uploading the images - DIGITS obviously doesn't have access to pull files from a client machine.
Without adding new features to DIGITS, you have three options:

Copy the images to the machine that is running DIGITS manually.
Mount the client-side image folder on your DIGITS server so that DIGITS can reach them on it's local filesystem.
Make the images accessible through apache or nginx and provide a textfile of URLs instead of filesystem paths.

Any suggestions on how to improve the labels and tooltips to make this functionality more clear?

I am saying this is the opposite problem.
All of my data is already on the machine running DIGITS so why does the text file (with files and labels) have to be on the client (browser) machine.

Oh, it doesn't have to be. DIGITS is going to look for the files locally. Did you try it already?

How do I specify to DIGITS to use a local text file? the "choose file" selector wants a file on my client computer.

Oh now I see what you're getting at. DIGITS expects the textfile to be on the client machine and the images to be on the server. I can see how that's weird.
Uh, for now you can just copy the textfile to your client and upload it through the form.
How would you suggest making changes moving forward? DIGITS is going to have to figure out how to transfer data between machines for #108, and we might as well start moving that way now.

Maybe add an additional input option like:

The same issue applies to the labels txt folder as well.

Yeah, that would work. It would be really nice if there was an autocomplete feature for inputting paths to local files. That's obviously a security concern, but DIGITS isn't really built for security for now anyway.

Any update on this? Its really inconvenient when dealing huge training sets. For example, I'm doing some training where the text file of path names to the training images is over 700mb. The path names are automatically created on the host machine. Having to download to client then upload back to host is seriously annoying.

@sbodenstein, thanks for bumping this. I'll knock this a little higher in the TODO queue.
Can you create your images with the folder structure that DIGITS expects? That would let you simply enter the path to a folder once and do away with the textfiles entirely.
https://github.com/NVIDIA/DIGITS/blob/v2.0.0-rc2/docs/ImageFolderFormat.md

A common use case is something like this: you have the entire ImageNet dataset, and you want to train a classifier on a subset of this. It would be highly annoying to have to reshape your directory structure to put the images in your required format.

I solved that problem with symlinks:
https://github.com/NVIDIA/DIGITS/blob/v2.0.0-rc2/docs/ImageFolderFormat.md#example-use-case---imagenet-subset
Feel free to use that hack if you like, but it's not a reasonable long-term solution.