assertion failure due to crashing when generating checkpoint in learning

#0  0x00007ff01fc385c9 in raise () from /lib64/libc.so.6
#1  0x00007ff01fc39cd8 in abort () from /lib64/libc.so.6
#2  0x00007ff020f1c5af in dsn_coredump () at /home/work/pegasus/rDSN/src/core/core/service_api_c.cpp:307
#3  0x00007ff01ef76259 in dsn::replication::prepare_list::commit (this=0x7fef3c0da440, d=27651077, ct=dsn::replication::COMMIT_TO_DECREE_HARD)
at /home/work/pegasus/rDSN/src/dist/replication/lib/prepare_list.cpp:169
#4  0x00007ff01ef75ea9 in dsn::replication::prepare_list::prepare (this=0x7fef3c0da440, mu=..., status=dsn::replication::partition_status::PS_INACTIVE)
at /home/work/pegasus/rDSN/src/dist/replication/lib/prepare_list.cpp:136
#5  0x00007ff01ef4672c in dsn::replication::replica::replay_mutation (this=0x7fef3c0aa1a0, mu=..., is_private=false) at /home/work/pegasus/rDSN/src/dist/replication/lib/replica_init.cpp:460
#6  0x00007ff01efc1140 in dsn::replication::replica_stub::__lambda12::operator() (__closure=0x7fef5c81efa0, mu=...) at /home/work/pegasus/rDSN/src/dist/replication/lib/replica_stub.cpp:253
#7  0x00007ff01efcaf9a in std::_Function_handler<bool(dsn::ref_ptrdsn::replication::mutation&), dsn::replication::replica_stub::initialize(const dsn::replication::replication_options&, bool)::__lambda12>::_M_invoke(const std::_Any_data &, dsn::ref_ptrdsn::replication::mutation &) (__functor=..., __args#0=...) at /usr/include/c++/4.8.2/functional:2057
#8  0x00007ff01effd3a9 in std::function<bool (dsn::ref_ptrdsn::replication::mutation&)>::operator()(dsn::ref_ptrdsn::replication::mutation&) const (this=0x7fef5c83ba98, __args#0=...)
at /usr/include/c++/4.8.2/functional:2464
#9  0x00007ff01efed142 in dsn::replication::mutation_log::__lambda14::operator() (__closure=0x7fef5c83ba90, mu=...) at /home/work/pegasus/rDSN/src/dist/replication/lib/mutation_log.cpp:681
#10 0x00007ff01eff667f in std::_Function_handler<bool(dsn::ref_ptrdsn::replication::mutation&), dsn::replication::mutation_log::open(dsn::replication::mutation_log::replay_callback, dsn::replication::mutation_log::io_failure_callback, const std::map<dsn::gpid, long int>&)::__lambda14>::_M_invoke(const std::_Any_data &, dsn::ref_ptrdsn::replication::mutation &) (
__functor=..., __args#0=...) at /usr/include/c++/4.8.2/functional:2057
#11 0x00007ff01effd3a9 in std::function<bool (dsn::ref_ptrdsn::replication::mutation&)>::operator()(dsn::ref_ptrdsn::replication::mutation&) const (this=0x7fef6eff9840, __args#0=...)
at /usr/include/c++/4.8.2/functional:2464
#12 0x00007ff01efef9f6 in dsn::replication::mutation_log::replay(dsn::ref_ptrdsn::replication::log_file, std::function<bool (dsn::ref_ptrdsn::replication::mutation&)>, long&) (log=...,
callback=..., end_offset=@0x7fef6eff9a38:<PHONE_NUMBER>4) at /home/work/pegasus/rDSN/src/dist/replication/lib/mutation_log.cpp:915
Python Exception <type 'exceptions.IndexError'> list index out of range:
#13 0x00007ff01eff0404 in dsn::replication::mutation_log::replay(std::map<int, dsn::ref_ptrdsn::replication::log_file, std::less, std::allocator<std::pair<int const, dsn::ref_ptrdsn::replication::log_file > > >&, std::function<bool (dsn::ref_ptrdsn::replication::mutation&)>, long&) (logs=std::map with 4 elements, callback=...,
end_offset=@0x7fef6eff9a38:<PHONE_NUMBER>4) at /home/work/pegasus/rDSN/src/dist/replication/lib/mutation_log.cpp:1012
Python Exception <type 'exceptions.IndexError'> list index out of range:
#14 0x00007ff01efee393 in dsn::replication::mutation_log::open(std::function<bool (dsn::ref_ptrdsn::replication::mutation&)>, std::function<void (dsn::error_code)>, std::map<dsn::gpid, long, std::lessdsn::gpid, std::allocator<std::pair<dsn::gpid const, long> > > const&) (this=0x7fef5c002fc0, read_callback=..., write_error_callback=...,
replay_condition=std::map with 11 elements) at /home/work/pegasus/rDSN/src/dist/replication/lib/mutation_log.cpp:673
#15 0x00007ff01efc22c5 in dsn::replication::replica_stub::initialize (this=0x20a3fa0, opts=..., clear=false) at /home/work/pegasus/rDSN/src/dist/replication/lib/replica_stub.cpp:262
#16 0x00007ff01ef7f33d in dsn::replication::replication_service_app::start (this=0x20a3f60, argc=1, argv=0x7fef5c001800)
at /home/work/pegasus/rDSN/src/dist/replication/lib/replication_service_app.cpp:76
Cause of this:

A learner learns private log from primary, then applies the log, and starts to learn cache.
After learning cache from the primary, it append the cache content to its private log and shared log.
The learner starts to generate checkpoint, and during which the learner crashed.
During the restarting of the learner, it tries to replay the log. But the content in its log is not continuous with the checkpoint. So it crashes.

Possible fix:
What about generate the checkpoint in every learn stage? @imzhenyu @qinzuoyan

@shengofsun This has been considered before and it happens when the checkpoint is done or an existing checkpint somehow is missing or with wrong state. In that case, we have INCOMPLETE_STATE error for app::open_internal. It seems that our handling in replica::init_app_and_prepare_list and replica_stub::initialize may have some issues. You may want to have a check. Generating checkpoint in every stage won't fix this issue.

@imzhenyu , surely there is some problem on handling of  INCOMPLETE_STATE, would you have time to review and fix the code together with us?

Sure. I'll work on it then and you guys may need to help do the review and test later. Should be done today.

@imzhenyu generating checkpoint in every stage fix this, as the log will be continuous when then learner starts to write mutations to log when learning from cache. Or else we need to abandon the extra mutations when initializing, which is not easy.
BTW, I'm not quite understand why the log need to be truncated by the "init_info". Is it only an optimization or a necessity for correctness?

being continuous is not easy when certain failures happen (e.g., disk failure), even you generate checkpoints at every stage. So in any case we have to handle incomplete data, which invalidates the later private or shared logs. A simple way as the above prs simply clears out the replicas whenever there is an error during load.  Previously I want to do certain optimizations which introduces some problems.


Use https endpoint for alpine packages

Switches to ssl endpoint for alpine package downloads
Description
Alpine use http endpoint (http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz) for downloading the index files.
Per discussion at gliderlabs/docker-alpine#184 there is a suggestion to use https://alpine.global.ssl.fastly.net/alpine/
Per comment on alpine forum use of http seems to be safe

apk checks downloaded packages using repository public keys, so it shouldn't really matter much. If you insist on using HTTPS, you could use a mirror supporting it directly, without using the Fastly CDN. All this considered, using HTTP for this will have no impact on security. It will only avoid the cost of encryption introduced by SSL.

However some of our build system restrict access to non secure endpoints so we need to use a secure download url for alpine. So using the fastly url directly should be ok
Related issue and scope

[ ] I opened an issue to propose and discuss this change (#????)

My changes affect the following components

[ ] API
[ ] Controller
[ ] Message Bus (e.g., Kafka)
[ ] Loadbalancer
[ ] Invoker
[ ] Intrinsic actions (e.g., sequences, conductors)
[ ] Data stores (e.g., CouchDB)
[ ] Tests
[ ] Deployment
[ ] CLI
[ ] General tooling
[ ] Documentation

Types of changes

[ ] Bug fix (generally a non-breaking change which closes an issue).
[ ] Enhancement or new feature (adds new functionality).
[ ] Breaking change (a bug fix or enhancement which changes existing behavior).

Checklist:

[ ] I signed an Apache CLA.
[ ] I reviewed the style guides and followed the recommendations (Travis CI will check :).
[ ] I added tests to cover my changes.
[ ] My changes require further changes to the documentation.
[ ] I updated the documentation where necessary.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/OpenWhisk-Playground/92/
Test FAILed.
Test FAILured.

Lgtm.


Can't find certain modded materials

Hello,
It seems like my game doesn't take certain modded materials into account, as an example, I also installed ExtremeReactor and, as mentioned in the wiki ( this one ) , Resynth should be able to add yellorite seeds but I'm unable to find them in creative or to give them to me.
screenshot:

thank you in advance for your consideration

PS:

this is the latest actual release (mods AND forge)
opened the config earlier but didn't tutched it's content
installed Resynth AFTER ExtremeReactors

That's quite odd.
Off hand, I can't think what would be causing the problem. I assume that Resynth isn't able to create seeds for Extreme Reactors for some reason and then skipping them.
If you could attach a log file of one of the runs where the error occurs that would help a lot in debugging the problem.

there are two logs from my game and my server running the same modpack, (I run 102 mods, so it will probably be hard to find something in there, but I don't know if I can do anything to make the work easier
log[client].log
log[server].log

The log files should be enough, thanks.
From what I can gather by looking at the logs, Resynth is finding Extreme Reactors, but it's failing to find the Extreme Reactors ore block, and then skipping the plant.
Other modded plants are being loaded so I assume it's a naming error with Extreme Reactors. I'll do some tests and see if I can reproduce the problem on my end and then fix it.

It turns out, the name Resynth uses to find the Yellorite Ore changed between the latest version (v<IP_ADDRESS>) of Extreme Reactors and the version it was originally tested on (<IP_ADDRESS>). This caused Resynth to not find the ore block on the latest release and fail to create the plant.
The next version of Resynth (v1.3.7) should fix this issue. Thanks for bringing it to my attention.

Thanks you and have a nice day :D


A progress bar please?

Is your feature request related to a problem? Please describe.
When I copy something to anywhere, there is no display of the progress.
Describe the solution you'd like
I think it could be better to have a progress bar for copping, deleting, cutting.
Describe alternatives you've considered
Maybe you can make it like this: when something is copied and pasted, a gray colored icon can be displayed in the view, and then filled by its own color with progress.

Duplicate of #114


wg-stories Meeting Notes 2021-06-25

Updates to CTA
https://github.com/ampproject/amphtml/issues/34449
We’re developing a new system that unifies the CTA buttons at the bottom of the page, that can be configured with custom colors or icons, and allows users to swipe up or tap to open the attachment or link.
Is it compatible with iOS 15?
We’re still thinking about this, and the tab bar currently covers the page attachments. There’s a few alternatives to consider, but we are working to have a solution before iOS 15 launches broadly.
What will happen with the CTA layer?
We’ll deprecate the CTA layer in favor of this, and we’ll automatically convert CTA layer buttons to the new CTA UI. This will be deprecated after a long window in case creators want to update the page attachments to the new API.
Can I have multiple CTAs on the page?
You can have multiple CTAs with the tooltip UI (anywhere on the page) that gives users two-click interactions. However, the one-click interaction is reserved for the page outlink at the bottom on the screen, which only allows 1 link / attachment. We can add multiple 1-click interactions on the bottom if needed for more specific scenarios, like multiple social media icons.
When will this be released?
The new set of CTA APIs is already released and we’ll publish the documentation soon (there’s reference on). The CTA layer will be deprecated after a few months.
Updates to desktop UI
https://github.com/ampproject/amphtml/issues/34479
We’re planning to restyle the desktop UI to use only 1 panel instead of 3. This is so that stories stay consistent between mobile and desktop, and the 3 panels desktop experience breaks the consistency in a few ways. Things like quizzes could have answers on the following pages, and showing panels for following pages could reveal the result. Animations or transitions between pages are also broken by the sliding animation on page transitions.
Also, the amp-story-player will be able to support next/prev story previews side by side. As more stories are seen in a Player, this UI will add a more immersive experience encouraging the consumption of more stories.
We will also be removing the viewport warnings! 🥳🥳
How will supports-landscape be reflected in this UI?
Stories that support landscape will still take the full screen, even on players. The new UI is only changing desktop views, so on mobile, the UI will stay the same. We’ll start supporting mobile landscape as a result of this.
The UI to show more stories on the side is only configured by the amp-story-player API, and the player will only show the next/prev stories as configured in the list of stories provided on the Player.
What page gets loaded on the stories?
The last page visited by the user is the page loaded, or the first page if the user is visiting that story for the first time.
Will more stories show on all stories?
What’s up with the comments and likes seen in the mocks?
That mock shows what might be possible by websites extending the UI of the Player. Implementing these would require significant effort from the website, and (obviouslythe experiencece would be available when within that specific player.
General Q/A Section
How does Core Web Vitals apply to stories? Eg: LCP
Context: web.dev/vitals
We’re working on improving the LCP which is typically the key challenge for Web Stories on CWV. There’s a list of improvements that we’re going through, and many of the improvements we’ve been shipping improve the UX but not necessarily CWV, which is why we’re currently talking with other performance teams at Google to improve the LCP. We’ve found multiple issues (like animations, auto-advance, etc) that we’ll be fixing short-term and long-term.
We'll be publishing more detailed guidence around LCP soon as a blogpost, including a few things that tools/publishers can do to improve LCP (e.g. compress images properly etc.)
What’s the future of paywalls in stories?
We’re going to work on this around Q4-Q1, and there’s multiple ways of doing this so we’ll share our design direction later in the year.
How can we use the half-half template on landscape without the text overlaying the image?
We haven’t seen a lot of stories use this template but we might be able to help better if we get an example story.
Would you consider using iframes on stories?
In page attachments there are multiple valid experiences, but there’s UX and security implications so we’re moving cautiously.  We’d probably work on adding components to common use cases for iframes (eg: like what we’ve done with amp-twitter), but not allowing them directly on the pages.
How can we have a read more and CTA button?
There’s no way to add two CTAs in the story, but you can add a two-click link anywhere on the story. Please add a feature request so we can check the use case and consider options if you need two CTAs.
When will Stories be launched on Google apps in other countries?
We’re not in charge of the Google apps, we work on the components framework.
Why can’t we use custom JS to show the ads?
We use amp-ads behind the scenes to ensure the performance and UX of ads. Please contact<EMAIL_ADDRESS>to help with integration.
How can I change the outlink of the results component depending on the answer? Happy to collaborate
We can help to review your feature request and consider alternatives / implementation details.
How can I get a logged in user responses across many stories?
The client ID is consistent across all stories inside a same domain, so you’d only be able to do this if you:

Control the stories inside that domain to know what are the options
Own the backend to be able to match the responses to the stories (and get the correct/wrong value)
Translate the base-64 URL passed to the backend to the raw URL of your story.
Add a linker to your story to be able to share the clientID from the story onto your website, or have your website collect the client-ID for your domain
Retrieve all the responses from the users on your website from your backend.
This is quite complex so we can answer any questions on this.

Would you consider using iframes on stories?

In page attachments there are multiple valid experiences, but there’s UX and security implications so we’re moving cautiously.

We’d probably work on adding components to common use cases for iframes (eg: like what we’ve done with amp-twitter), but not allowing them directly on the pages.

If we can't place an iframe on amp-story-grid-layer then iframe in amp-story-page-attachment is next best choice.
Currently we use iframe in non-valid amp-stories. Should we move those iframes to amp-story-page-attachment in anticipation of future validation?
Also, note the need we currently have (and use, even though non-valid): amp-story-cta-layer and amp-story-page-attachment for the same amp-story-page

amp-render
Please consider supporting https://amp.dev/documentation/components/amp-render/
We would like to control an amp-story-page with content from amp-render.

Supporting amp-render sounds good to me: https://github.com/ampproject/amphtml/issues/35185

Can't use amp-list (more specifically <template>) as a parent of amp-story-page.
It only works as a child of each amp-story-page which leads to significant duplication of code/text.
The ideal is that amp-story is a child of <template>.
Then we would not have to repeat amp-list and template structure for each story-page.
While we have not tried it, amp-render probably has the same issue as it use amp-mustache

The way we would implement it, amp-render would have the same issue for you as amp-list. Being able to dynamically render the entire content of amp-story and not just an amp-story-page poses a lot of new technical difficulties.
If that's what you need to do, I suggest you look into dynamically rendering your stories server side instead, and use your own rendering engine. There are an infinite number of ways to do it, I'm just linking to NextJS as an example https://nextjs.org/docs/api-reference/next/amp

We have a compelling use-case for <template> control of all page content. We do this now for many conventional AMP pages. From our perspective, it's strange that there are different models for using <template> on amp pages. Further, using <template> we can control full page content when there is 1 or more amp-story-players on a single AMP page. Go figure.


Please make the Microsoft Python extension for VS Code PyCharm class

I think that as many people start using VS Code as a proper IDE for various languages, it is important to provide great support for popular languages, especially the ones which are most in use by VS Code users in this case. In the case of Python, the Microsoft extension does not provide world-class Python support in my opinion. One has to install many other extensions to get many features missing in the "official" extension. Plus still, many features like a GUI for creating Python environments, in-built support for the official Python documentation in at least IntelliSense (e.g. hovering over keywords should give the definition of it with some examples if possible), a GUI based package and environment manager (a superset of GUI for creating python environments), great Django and Flask support are missing. Therefore, I think that the VS Code Python Community should work to bring better Python support than the professional edition of PyCharm to its extension. This would be some of the best stuff done to the VS Code Python extension till date!
Edit: Just to clarify, this just isn't another "Hate VS Code" issue. The VS Code community is awesome! So much open-source stuff 📖! I use it a lot. This issue is just for constructive criticism and making VS Code extra-awesome!

Thanks for your feedback!

Thanks for your feedback!

Thanks for the timely reply. Since then I thought about it more and I think that refactoring can also be better! And I also think that the "safe delete" feature from JetBrains IDEs should be adopted into VS Code, very useful. For imports, if not found, an option should be given to install them from pip or using whatever the user has configured.


Mac binaries in Linux archive

It seems like the release archives for Linux contain Mac binaries.
$ file jre/Contents/Home/jre/bin/java
jre/Contents/Home/jre/bin/java: Mach-O 64-bit x86_64 executable

Something wrong with the build?

install4j makes it so. Is it not working?

No, it is not possible to run Mac binaries on Linux:
$ jre/Contents/Home/jre/bin/java
bash: jre/Contents/Home/jre/bin/java: cannot execute binary file: Exec format error

If I install Java 8 I get further
$ java -version
openjdk version "1.8.0_31"
OpenJDK Runtime Environment (build 1.8.0_31-b13)
OpenJDK 64-Bit Server VM (build 25.31-b07, mixed mode)

But not very far:
java.lang.NoClassDefFoundError: javafx/application/Application
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:455)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:367)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
	at com.install4j.runtime.launcher.UnixLauncher.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: javafx.application.Application
	at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 14 more

The stack trace is displayed in a dialog that appear immediately after starting the application using:
tar xvzf /path/to/AsciidocFX_Linux.tar.gz
cd AsciidocFX
./AsciidocFX

The tool looks great so it would be cool to get it running :-)

@sm0svx  I will try it on my ubuntu.
It seems that you didnt install JavaFX to OpenJDK. Install it or you can easily install Oracle JDK.

I tried bundled JRE release on Debian x64. It seems working. Did you try bundled release?

Aha, I thought everything was included in the tar archive, including JavaFX. Isn't the point of the bundled archive that nothing extra need to be installed?  I used this package:
https://github.com/asciidocfx/AsciidocFX/releases/download/v1.3.2/AsciidocFX_Linux.tar.gz
When you tested on Ubuntu, are you sure you are not using a JRE 8 already present on the system instead of the bundled one?  I'm having a hard time believing that Ubuntu can run MAC binaries, but stranger things have happened in the past ;-)
Anyway, I'm going to test it with the Oracle JRE.

Yes i have no JRE 8 installed in my system. I tried your installed bundle release. But, i want to be sure for this issue. @lefou is https://github.com/asciidocfx/AsciidocFX/releases/download/v1.3.2/AsciidocFX_Linux.tar.gz working on your linux system?

Now it started up just fine after installing Oracle JRE. Now off to testing it!
So, typing "java -version" just give you a "command not found" error?
Sorry, just asking to be really sure :-)
Well, I guess it would be possible to run Mac binaries in some way but it would probably require some emulation or something like "wine" (that run windows applications on Linux). Some more information here:
http://unix.stackexchange.com/questions/3322/what-makes-osx-programs-not-runnable-on-linux
Anyway, as I see it, it's an error to package Mac binaries in a Linux package. It should be the Linux JRE. The jre-8u31-linux-x64.tar.gz archive from this page made it run for me:
http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html

We are using install4j. It bundles JRE automatically. I dont know, there may be a software bug. But, i want to be sure.
can you try remove jre folder under AsciidocFx and use global JRE 8.

It runs fine with or without the bundled jre folder if a global Oracle JRE 8 is installed.
Now using version 1.3.3 by the way.

if not working, when no JRE 8 installed ?

Yes, you have cleared the problem. I created a different JRE for Linux archieve. You can use bundle release without global JRE 8.
Thanks

Hi @sm0svx ;
If possible can you try https://github.com/asciidocfx/AsciidocFX/releases/download/v1.3.3/AsciidocFX_Linux.tar.gz without Global JRE 8 again.
THanks

Much better :-)
Now it run out-of-the-box! The jre executable now look much better as well:
$ file jre/bin/java
jre/bin/java: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.9, BuildID[sha1]=bd74b7294ebbdd93e9ef3b729e5aab228a3f681b, not stripped

:) Everything is Ok now ?

Yep! Thanks for fixing the problem. I consider the issue closed.

Great! Thanks.


Deck Missing from Community List

This deck of mine is marked community listed: https://mtgarena.pro/decks/tadpolefriends/
However, it does not appear in any of the community lists at https://mtgarena.pro/decks/ .  It does appear if searched for by name.

It looks like it actually does appear in the large list ... just not included if sorted by W/L, maybe due to few plays.


[Nodejs debugging bug] When I hit a breakpoint vscode opens a new readonly version of the file, breakpoints not shown in gutter

VSCode Version: 1.4.0 - it didn't happen in older versions.
OS Version: windows 10

Whenever I hit a breakpoint, vscode halts on a new "tab" with a readonly version of the file with the full path instead of the local path, and sometimes doesn't display all the breakpoints I've set.
Does this happen to anyone else?
Example images:

Steps to Reproduce:
Not sure - I tried it in a new project and couldn't reproduce.
In my project it's as simple as hitting a breakpoint on a function.

+1
Happens to me too. I actually downgraded to 1.3.0 until the next release.

Could you please provide what OS you are using and reproducible steps. A project on github or a zip would be ideal.

Windows 10, on a nodejs project.
Can't provide code, sorry.
Will try to reproduce on a clean or oss project and post steps tomorrow.

@mpartipilo just a single file project where you experience the problem would be very helpful. Thanks a lot!

Also, setting breakpoints in this "new" file sometimes, when hitting restart, makes it just be stuck until you clear the breakpoint.

Ok, I played with it a little. It seems to be an issue with the file itself - maybe attributes, maybe security, can't figure it out.
What I did:
This did not have a problem:

created a new project
copy&paste the content of one of the files which are having the problem.

This did have a problem:

new project
copy&paste the file itself from the old problematic project to the new project.

I'm thinking maybe it's an issue with git clone/pull?

Thanks.

Still happening in 1.5.2 on Windows, Node version 4.4.4.
I also notice the added code at the start of the readonly buffer that @RaniSharim reports.

Any word about this?

@RaniSharim I will try your test repo and report if I can reproduce the problem.

In file
\src\vs\workbench\parts\debug\electron-browser\debugService.ts
Function openOrRevealSource
The parameter source.uri.toString() value is
"debug://internal/1000/c%3A%5CUsers%5Caharon%5CDocuments%5CVisual%20Studio%202013%5CProjects%5Cmrs%5Cmrs%5Clogic%5Cpriceoffers%5Cpriceoffers.js"
Where as the editor's fileInput.getResource().toString() is
"file:///c%3A/Users/aharon/Documents/Visual%20Studio%202013/Projects/mrs/mrs/logic/priceoffers/priceoffers.js"
Problem is the source uri but I have no idea where it is set/determined,

Well, I've figured it is a problem with vscode-node-debug.
If you look at \src\vs\workbench\parts\debug\common\debugModel.ts
function getCallStackImpl line 145, you can see "source" is missing is the stack frame

Anything? Please?

It happens to me for only one specific file in the whole project.
Tried loading the project from different directory, which didn't help.
The same file is opened as Read-Only when I hit a debug point inside it.

@RaniSharim the file officemanagement.js is the only file in the testproject that uses a "BOM" (Byte Order Mark). This can be seen in the status bar:

This BOM confuses the code in the node debugger that tries to match a file loaded into node.js to a file in the workspace. As a result the match fails and VS Code falls back to showing the file loaded into node.js instead of showing the workspace file. Since the loaded file does not come from a filesystem it is opened in read-only mode.
BTW, you can easily see the origin of the editor content in the header (but only if the workbench is not in "tab" mode):

This is great news!
On Thu, 16 Feb 2017 at 16:13, Andre Weinand<EMAIL_ADDRESS>wrote:

@RaniSharim https://github.com/RaniSharim the file officemanagement.js
is the only file in the testproject that uses a "BOM" (Byte Order Mark).
This can be seen in the status bar:
[image: 2017-02-16_15-59-58]
https://cloud.githubusercontent.com/assets/1898161/23026346/4546d6d2-f461-11e6-8d79-b1d9fbbf36ae.png
This BOM confuses the code in the node debugger that tries to match a file
loaded into node.js to a file in the workspace. As a result the match fails
and VS Code falls back to showing the file loaded into node.js instead of
showing the workspace file. Since the loaded file does not come from a
filesystem it is opened in read-only mode.
BTW, you can easily see the origin of the editor content in the header
(but only if the workbench is not in "tab" mode):
[image: 2017-02-16_16-08-47]
https://cloud.githubusercontent.com/assets/1898161/23026812/bb594430-f462-11e6-892b-1f31e4b382ee.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode/issues/10610#issuecomment-280357589,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAcgaYLijWRIc2Cl-C5HKtYAWclM7BX9ks5rdGergaJpZM4JmVxB
.

@roblourens FYI, make sure to strip the BOM when reading utf-8 files that happen to use a BOM...

Verified with https://github.com/RaniSharim/testproject.git that officemanagement is no longer opened as read-only file.


Enable TLS peer verification in calls to Erlang :httpc/:ssl to eliminate 'Authenticity is not established by certificate path validation' warnings

Ugggh…
At first blush, there seems to be no universal solution until OTP 25. Everything before that completely punts the problem to the user by requiring an a priori known path to a CA cert bundle file in order to do rudimentary server verification; there is just no workable cross-platform standard.
With the introduction of :public_key.cacerts_get/0 — problem solved! — but only if you run OTP ≥ 25. Anything else would likely involve some ugly cross-platform hackery that would best be avoided… 🤬
Erlang made this problem. Maybe we let this one get worked out by Erlang, even if it means waiting a while. I think erlang/otp#5760 is closest to the gist of the issue at hand…

Playing around with Mint, I ran into the same issue with not having a CA bundle, but it also suggested the solution:
** (RuntimeError) default CA trust store not available; please add `:castore` to your
project's dependencies or specify the trust store using the :cacertfile/:cacerts option
within :transport_options.

Ah! What works for Mint should work for :httpc, no…? So let's give it a spin…

Hmmmmm…… Dependency leakage is becoming an issue. No trivial way to include the castore dependency, and vendoring it might be a short-term nightmare that's not worth making the warning disappear.
I'm not giving up on this, but I think I'll put it on the shelf until I can research best practices more. Another thought I had was to convert the project into an umbrella, then git submodule the whole castore mess in — but that would be brittle, wouldn't it…?


Fix EGL support

This adds support for using GLFW with EGL backends on macOS. While EGL isn't available by default on macOS, there are third-party implementations like SwiftShader.
EGL is typically use din conjunction with OpenGL ES, so we're now preferring inclusion of these headers when GLFW_INCLUDE_ES* is defined by moving them before the #if __APPLE__ check.
Additionally, the addition of MoltenVK support added an override to makeBackingLayer. In non-Vulkan mode, this means that we are returning nil from that function. The NSGL implementation apparently creates this layer manually later on, but other OpenGL backends don't necessarily do that.

Thank you, will review.

Oops, forgot to update my local pull request branch and didn't merge your updated version. Sorry about that.
This has been merged as d1d08ef99f9b4ea6726df92ef313e320caf32f24 and 244d6d782375f4277123e43c5dc2ede7d41aa4f0 with additional cleanup in 018ae69b33f3bef10b9387d6606b45371735b730 and fa0b5e1b85ce9178f5279f27ef99a9a114077f6d.


Trailing commas for wildcard arms

Fix #741.

This should be an option, and default should be with trailing commas.

Ah, sorry, it is an option, but it should be true by default.

looks good, otherwise

Done again without changing the default. Also added a test.

What is the right forum to discuss (ok, bikeshed) the default style used by rustfmt? Because I feel rather strongly that the default should change here.

Thanks!
At the moment there is no such forum, I've been putting it off until Rustfmt is more complete, although we're rapidly approaching the point where it is reasonable to discuss. To be honest I'm not sure what a good venue is. I'd though RFCs, but I don't want to weight the RFCs repo down with a billion style RFCs. Suggestions are welcome! I'll try and establish something early this year (say q1, give or take).

How about https://internals.rust-lang.org/c/guidelines/style?


Add libkv Username and Password

This lets you configure the username/password params in libkv. This is definitely useful for etcd, but may not be obvious for others. The struct embedding makes it hard to hide in the other KV providers where it may not be so relevant.

Refs #1075.

@emilevauge Docs updated.

@emilevauge rebased on master


Docker part 1

Expected behavior
Actual behavior
Information about the Issue
Steps to reproduce the behavior

...
...

No information provided or steps to replicate - Closing 😞


Problem with $drupalRoot when vendor is outside of web root

I am running the upgrade_status module for drupal 8 which utilizes this library. I was having an issue where the PHPStan scan was failing with

UnexpectedValueException thrown in /Users/xxx/Sites/mysite/vendor/nette/finder/src/Utils/Finder.php on line 209 while loading bootstrap file /Users/xxx/Sites/mysite/vendor/mglaman/phpstan-drupal/drupal-autoloader.php: RecursiveDirectoryIterator::__construct(/Users/xxx/Sites/mysite/core/includes): failed to open dir: No such file or directory

My issue is /Users/xxx/Sites/mysite/core/includes indeed DOES NOT exist because my vendor folder lives above docroot. If that path was correct, it would be /Users/xxx/Sites/mysite/docroot/core/includes
This got me investigating the package mglaman/phpstan-drupal. Specifically src/Drupal/DrupalAutoloader.php line 70.
$drupalRoot = $finder->getDrupalRoot(); which equates to /Users/xxx/Sites/mysite/
Then the code goes on to define $this->drupalRoot = $drupalRoot; so what I did was:
$this->drupalRoot = $drupalRoot . '/docroot'; (in my case) and this fixed the PHPStan error and it was able to check the modules successfully.
I also had to change line 80 from:
$this->serviceYamls['core'] = $drupalRoot . '/core/core.services.yml';
to
$this->serviceYamls['core'] = $this->drupalRoot . '/core/core.services.yml';
Not sure if this is configurable already. I did some searching on this issue queue and looks like you can change the path in a neon file, but I dont know where I define that, especially when this project is just a dependency of https://www.drupal.org/project/upgrade_status

It looks like your root composer.json probably has name: drupal/drupal, try renaming it. See https://www.drupal.org/project/upgrade_status/issues/3229725
I'm going to close as it seems exactly the same. Feel free to reopen if I am wrong. Hopefully this fixes it quickly for you.


Visual Studio doesn't handle projects using only Microsoft.Build.NoTargets without "upgrading"

Repro
Create an empty solution and a project with a sample file using Microsoft.Build.NoTargets
<!-- test.csproj -->
<Project Sdk="Microsoft.Build.NoTargets">
</Project>

{
  "msbuild-sdks": {
    "Microsoft.Build.NoTargets": "1.0.12"
  }
}

Attempt to add the project via VS.
Expected
VS adds the project and can load it as is
Actual
VS show the "One-way upgrade" dialog and changes the project file to this:
<Project Sdk="Microsoft.Build.NoTargets" ToolsVersion="15.0">
  <PropertyGroup>
    <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
    <FileUpgradeFlags>
    </FileUpgradeFlags>
    <UpgradeBackupLocation>
    </UpgradeBackupLocation>
    <OldToolsVersion>2.0</OldToolsVersion>
  </PropertyGroup>
</Project>

I think that's good enough. Thanks for the guidance!

I've fixed the SDK but you now have to include the TargetFramework otherwise Visual Studio will attempt to upgrade it.
https://github.com/Microsoft/MSBuildSdks/releases/tag/Microsoft.Build.NoTargets.1.0.26
https://www.nuget.org/packages/Microsoft.Build.NoTargets/1.0.26


Add support for PyObject_CallMethodNoArgs

The FFI bindings expose pyo3::ffi::PyObject_CallMethod, pyo3::ffi::PyObject_CallNoArgs, pyo3::ffi::PyObject_CallObject but pyo3::ffi::PyObject_CallMethod seems to have been left out. The C API reference for PyObject_CallMethod is here: https://docs.python.org/3/c-api/call.html#c.PyObject_CallMethodNoArgs

It is actually supported (see definition here), but it looks like it's not present on docs.rs.
@mejrs - it looks like docs.rs builds with Python 3.8, so it doesn't show symbols available on Python 3.9 or 3.10. E.g. compare the fields of PyConfig with its source. I wonder if we can change PyO3's docs.rs build to add Py_3_9 and Py_3_10 (and maybe even Py_3_11)? Depends whether we can get away without linking when building docs, I guess.

I think that should work, yes.

Filed https://github.com/rust-lang/crates-build-env/pull/104

Thanks! I think let's call this issue closed. There's potentially a follow-up to change PyO3's docs to always include all symbols, regardless of the Python version installed in the docs.rs build environment, however for now that's a good step forward 👍


[release-1.17] [TF] add retry to default service account patch command

This is an automated cherry-pick of #43894

please take a look at this

/retest


Feature extraction in Tutorial: Building Assistants

Rasa version:
Rasa 1.10.10
Rasa SDK version (if used & relevant):
Rasa X version (if used & relevant):
Python version:
Python 3.6.10 :: Anaconda, Inc.
Operating system (windows, osx, ...):
Windows 10 Home
Issue:
Hi, I do Tutorial: Building Assistants. Bot can extract only entities which in nlu.md file, but it can't extract new value on entity:
For example<EMAIL_ADDRESS>- so if i tell this email, bot extract it, because this email is in train data, but when i give a new email<EMAIL_ADDRESS>i got the error. So i can`t understand why bot can't extract this entity
Error (including full traceback):
2020-08-15 23:04:01 ERROR    rasa.core.actions.action  - Failed to extract slot business_email with action sales_form

Command or request that led to error:
rasa shell

Content of configuration file (config.yml) (if relevant):
# Configuration for Rasa NLU.
# https://rasa.com/docs/rasa/nlu/components/
language: en
pipeline:
  - name: WhitespaceTokenizer
  - name: RegexFeaturizer
  - name: LexicalSyntacticFeaturizer
  - name: CountVectorsFeaturizer
  - name: CountVectorsFeaturizer
    analyzer: "char_wb"
    min_ngram: 1
    max_ngram: 4
  - name: DIETClassifier
    epochs: 300
  - name: EntitySynonymMapper
  - name: ResponseSelector
    epochs: 100

# Configuration for Rasa Core.
# https://rasa.com/docs/rasa/core/policies/
policies:
  - name: MemoizationPolicy
  - name: KerasPolicy
  - name: MappingPolicy
  - name: FormPolicy

Content of domain file (domain.yml) (if relevant):
intents:
  - greet: {triggers: action_greet}
  - bye
  - thank
  - faq
  - inform
  - contact_sales

actions:
  - respond_faq
  - action_greet

forms:
  - sales_form

entities:
  - company
  - job_function
  - person_name
  - budget
  - business_email

slots:
  company:
    type: unfeaturized
  job_function:
    type: unfeaturized
  person_name:
    type: unfeaturized
  budget:
    type: unfeaturized
  business_email:
    type: unfeaturized
  use_case:
    type: unfeaturized

responses:
  utter_noworries:
    - text: No worries!
  utter_greet:
    - text: Hi, dude
  utter_bye:
    - text: Bye!
  utter_ask_business_email:
    - text: What's your business email?
  utter_ask_company:
    - text: What company do you work for?
  utter_ask_budget:
    - text: "What's your annual budget for conversational AI? 💸"
  utter_ask_job_function:
    - text: "What's your job? 🕴"
  utter_ask_person_name:
    - text: What's your name?
  utter_ask_use_case:
    - text: What's your use case?

session_config:
  session_expiration_time: 60
  carry_over_slots_to_new_session: true

Thanks for the issue, @tmbo will get back to you about it soon!
You may find help in the docs and the forum, too 🤗

That's  example data.
If you want to extract custom email, you need to define a regular email entity extractor.

@Dustyposa Thanks!


Process get killed when running tensorflow.python.ops.gen_math_ops.unsorted_segment_sum

Click to expand!
Issue Type
Bug
Have you reproduced the bug with TF nightly?
No
Source
binary
Tensorflow Version
2.10.0
Custom Code
Yes
OS Platform and Distribution
22.04
Mobile device
No response
Python version
3.9
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
Large tensor

Standalone code to reproduce the issue
import tensorflow as tf
import numpy as np
from tensorflow.python.ops import gen_math_ops
try:
  try:
    with tf.device('/CPU'):
      arg_0_tensor = tf.random.uniform([1000], dtype=tf.float64)
      arg_0 = tf.identity(arg_0_tensor)
      arg_1_tensor = tf.random.uniform([1000], minval=-256, maxval=257, dtype=tf.int32)
      arg_1 = tf.identity(arg_1_tensor)
      arg_2_tensor = tf.constant(-67794891775896, shape=[], dtype=tf.int32,)
      arg_2 = tf.identity(arg_2_tensor)
      out = gen_math_ops.unsorted_segment_sum(arg_0,arg_1,arg_2,)
  except Exception as e:
    print("Error:"+str(e))
  try:
    with tf.device('/GPU:0'):
      arg_0 = tf.identity(arg_0_tensor)
      arg_0 = tf.cast(arg_0, tf.float64)
      arg_1 = tf.identity(arg_1_tensor)
      arg_1 = tf.cast(arg_1, tf.int32)
      arg_2 = tf.identity(arg_2_tensor)
      arg_2 = tf.cast(arg_2, tf.int32)
      gen_math_ops.unsorted_segment_sum(arg_0,arg_1,arg_2,)
  except Exception as e:
    print("Error:"+str(e))
except Exception as e:
  print("Error:"+str(e))

### Relevant log output

```shell
2023-01-21 12:27:34.481912: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-01-21 12:27:34.601716: E tensorflow/stream_executor/cuda/cuda_blas.cc:2981] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2023-01-21 12:27:35.213642: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: :/lib/
2023-01-21 12:27:35.213870: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: :/lib/
2023-01-21 12:27:35.213879: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
2023-01-21 12:27:35.880250: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-01-21 12:27:35.911154: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudnn.so.8'; dlerror: libcudnn.so.8: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: :/lib/
2023-01-21 12:27:35.911172: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1934] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...
2023-01-21 12:27:35.911453: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-01-21 12:27:35.929852: W tensorflow/core/framework/cpu_allocator_impl.cc:82] Allocation of<PHONE_NUMBER> exceeds 10% of free system memory.
Killed

</details>

The message "Killed" implies that the operating system killed the process to free up memory and keep the system from crashing.  To resolve this issue, Optimize your code to reduce memory. Please find the gist to the working code here. Thank you!

@synandi this is the wrong answer.This is a vulnerability that needs investigating and fixing. Your wrong reply just made the issue go into the stalling pipeline and then it would have been closed without an actual fix.

@dmc1778 ,
I have tested the code on Ubuntu VM and code executed successfully without process kill.May be the issue is due to limited Memory with higher input sizes.Please refer to attached log.
(tf2.10) suryanarayanay@surya-ubuntu-22-04:~$ python 59355.py
2023-02-08 13:46:35.734072: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 AVX512F AVX512_VNNI FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-02-08 13:46:35.865174: I tensorflow/core/util/util.cc:169] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
2023-02-08 13:46:35.903600: E tensorflow/stream_executor/cuda/cuda_blas.cc:2981] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2023-02-08 13:46:36.613868: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: :/home/suryanarayanay/miniconda3/envs/tf/lib/:/home/suryanarayanay/miniconda3/envs/tf2.10/lib/
2023-02-08 13:46:36.613978: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: :/home/suryanarayanay/miniconda3/envs/tf/lib/:/home/suryanarayanay/miniconda3/envs/tf2.10/lib/
2023-02-08 13:46:36.613994: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
2.10.0
2023-02-08 13:46:41.432499: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 AVX512F AVX512_VNNI FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-02-08 13:46:42.746491: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1616] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 38239 MB memory:  -> device: 0, name: NVIDIA A100-SXM4-40GB, pci bus id: 0000:00:04.0, compute capability: 8.0
2023-02-08 13:46:42.748064: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1616] Created device /job:localhost/replica:0/task:0/device:GPU:1 with 38239 MB memory:  -> device: 1, name: NVIDIA A100-SXM4-40GB, pci bus id: 0000:00:05.0, compute capability: 8.0
(tf2.10) suryanarayanay@surya-ubuntu-22-04:~$ python 59355.py
2023-02-08 13:46:57.747123: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 AVX512F AVX512_VNNI FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-02-08 13:46:57.878231: I tensorflow/core/util/util.cc:169] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
2023-02-08 13:46:57.916639: E tensorflow/stream_executor/cuda/cuda_blas.cc:2981] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2023-02-08 13:46:58.625645: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: :/home/suryanarayanay/miniconda3/envs/tf/lib/:/home/suryanarayanay/miniconda3/envs/tf2.10/lib/
2023-02-08 13:46:58.625744: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: :/home/suryanarayanay/miniconda3/envs/tf/lib/:/home/suryanarayanay/miniconda3/envs/tf2.10/lib/
2023-02-08 13:46:58.625757: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
2.10.0
2023-02-08 13:47:03.471845: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 AVX512F AVX512_VNNI FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-02-08 13:47:04.787308: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1616] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 38239 MB memory:  -> device: 0, name: NVIDIA A100-SXM4-40GB, pci bus id: 0000:00:04.0, compute capability: 8.0
2023-02-08 13:47:04.788895: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1616] Created device /job:localhost/replica:0/task:0/device:GPU:1 with 38239 MB memory:  -> device: 1, name: NVIDIA A100-SXM4-40GB, pci bus id: 0000:00:05.0, compute capability: 8.0
(tf2.10) suryanarayanay@surya-ubuntu-22-04:~$

@dmc1778 , This is the intended behavior, as per the discussion this behavior is because of   -67794891775896 overflows to<PHONE_NUMBER>. The output shape of unsorted_segment_sum is then<PHONE_NUMBER>) which for a float64 is approximately 8GB of memory. This leads to OOM if there is less than 8GB of memory available.
In some colab runtimes this succeeds and others it fails due to different amounts of memory available.

In this case there is no security issue. What occurs is that -67794891775896 overflows to<PHONE_NUMBER>. The output shape of unsorted_segment_sum is then<PHONE_NUMBER>) which for a float64 is approximately 8GB of memory. This leads to OOM if there is less than 8GB of memory available.


Create repository of Sails plugins

It's awesome that SailsJS has plugin support now. However I can't find any plugins for Sails! Have you thought of keeping a list somewhere?

Yes, they are searchable through npm, but this is something we don't currently have. It's planned, but we just haven't had the time as of yet. If there's a particular thing you're looking for, for now, you can try asking in the gitter channel: https://gitter.im/balderdashy/sails

Anyone want to work on documentation for this? ;)


Scroll View Problem

Type: Bug
when largefile or large data is there, scroll view problems occurs in ubuntu it was not there earlier but before 2-3 update it started
VS Code version: Code 1.86.2 (903b1e9d8990623e3d7da1df3d33db3e42d80eda, 2024-02-13T19:41:37.860Z)
OS version: Linux x64 6.5.0-17-generic
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-7300U CPU @ 2.60GHz (4 x 2585)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
1, 1, 1

Memory (System)
15.46GB (10.48GB free)

Process Argv
--unity-launch --crash-reporter-id fc0565cf-1ef4-4464-a7c1-eb3287e34676

Screen Reader
no

VM
0%

DESKTOP_SESSION
ubuntu

XDG_CURRENT_DESKTOP
Unity

XDG_SESSION_DESKTOP
ubuntu

XDG_SESSION_TYPE
wayland

Extensions (19)

Extension
Author (truncated)
Version

a-file-icon-vscode
ato
1.2.0

es7-react-js-snippets
dsz
4.4.3

gitlens
eam
14.8.2

prettier-vscode
esb
10.1.0

todo-tree
Gru
0.0.226

rainbow-csv
mec
3.11.0

git-graph
mhu
1.30.0

vscode-docker
ms-
1.29.0

black-formatter
ms-
2024.0.1

debugpy
ms-
2024.0.0

flake8
ms-
2023.10.0

python
ms-
2024.0.1

remote-containers
ms-
0.338.1

remote-wsl
ms-
0.86.0

live-server
ms-
0.4.13

material-icon-theme
PKi
4.34.0

vscode-thunder-client
ran
2.17.8

LiveServer
rit
5.7.9

material-theme
zhu
3.16.2

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:30899288
vscaat:30438848
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
accentitlementst:30887150
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
bf62j303:30959262
pydisww2:30959801
edj9j583:30969295
a89i1917:30961429
7j2b6412:30969109
bg6jg535:30958357

Facing the same issue, I thought it was my mouse having issues but turns out it's VS Code. So the issue is when I am at line 45 and the cursor is there I come back to VS code and scroll down it scrolls down to more than 20 lines. This issue was not present a week ago.

you can check the above image while scrolling some of the above portions stuck(here you can see the image folder), and the same used to happen in the code editor window also

This is an intended feature called sticky-scroll from @aiday-mar ! (not sure if there is documentation on this yet). You can choose to disabled this by checking out the following settings

editor: "editor.stickyScroll.scrollWithEditor": false
workbench: "workbench.tree.enableStickyScroll": false
adjust line length:  "editor.stickyScroll.maxLineCount": [number here]

ok thanks


Multiple Windows Open on right click

Describe the bug
When right clicking on a folder in the sidebar and selecting properties, it resizes the main window, flickers, then opens multiple property windows for the same folder.
To Reproduce
Steps to reproduce the behavior:

Right click a folder in the sidebar.
Left click properties
Watch everything flash and the main window resizes
Multiple property windows open.

Desktop (please complete the following information):

OS Version: Windows 10 20H2 19042.746; Windows Feature Experience Pack 120.2212.551.0
App version: <IP_ADDRESS>

Log file
Please upload the log file here so that we can understand your issue better. You can access it from Settings->About->Open log location. You can also find the log file manually by following this guide.
debug.txt
debug_fulltrust.txt

@rusti4 Thanks for the report. Could you confirm that the issue of multiple windows opening does not happen after a fresh app start but only after e.g you went to the settings page and back or after switching tabs? If so this issue has been already fixed 👍

@rusti4 Thanks for the report. Could you confirm that the issue of multiple windows opening does not happen after a fresh app start but only after e.g you went to the settings page and back or after switching tabs? If so this issue has been already fixed 👍

Thanks, yes i noticed that the app has recently updated itself also, and it hasn't occurred today.

Thanks, yes i noticed that the app has recently updated itself also, and it hasn't occurred today.


Project Proposal: Add ESLint and Prettier to Backend and Frontend

Overview
Summary:
Let's add ESLint and Prettier to both the backend and frontend of our project. This will help us maintain a consistent code style and improve overall code quality.
Background:
Right now, we don’t have any linting or formatting tools in place, which can lead to inconsistencies and potential issues in our code. By integrating ESLint and Prettier, we can catch errors early and ensure our code looks great.
Tasks:
For the Backend and Frontend:

Install ESLint and Prettier as development dependencies.
Create and set up configuration files for both tools.
Update the package.json scripts to include commands for linting and formatting.

Acceptance Criteria:

ESLint and Prettier are properly configured for both the backend and frontend.
New linting and formatting commands are available in the project scripts.
Documentation is updated with instructions on how to use ESLint and Prettier.

Key Features
No response
Additional Information
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a gssoc-24-extd contributor
[X] I want to work on this project proposal
[X] It is not duplicate

we used prettier @tejasbenibagde

@RamakrushnaBiswal  You used ESlint but I don't find prettier in frontend

@tejasbenibagde its needed ??
coz in my previous projects i got too much issues in that

ES Lint and Prettier are used so that everyone will follow the same coding standards and that will eventually reduce the merge conflicts. If you want I can even add the pre-commit hook that will forcibly run both the eslint and prettier before comitting changes. If it's fine with you.

ok then add it and update teh readme according to like how to all the stuff things

Please make it level 3 cause I'm going to add even the pre-commit hook that will run the eslint and prettier automatically when you commit the changes to git.

solved via #182


Open Liberty Operator v0.7.0

Signed-off-by: leochr<EMAIL_ADDRESS>Release of Open Liberty Operator v0.7.0. Thank you.
Updates to existing Operators

[x] Is your new CSV pointing to the previous version with the replaces property?
[x] Is your new CSV referenced in the appropriate channel defined in the package.yaml ?
[x] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Submit operators to both upstream-community-operators and community-operators at once
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

/retest CVP

@J0zi @mvalahtv Please let me know if anything is needed from me to be able to merge this PR. Thank you.

@leochr, please try rebase

@J0zi rebased it. Thanks.

@J0zi After rebase, it seems all checks are passing. When you get a chance, please review. Thanks.

@leochr  not all checks were triggered, 6 are needed:(

/test CVP

@leochr not all checks were triggered, 6 are needed:(

@J0zi please let me know if anything is needed from me. Thank you.


Add narrows, another input validation library

It's very close to "Even if it’s your own project and it has zero stars, you had to deal with this, so it goes on the list", but I seriously considered using it in production because it was so close to what I was thinking of writing myself (before I figured out how many edge cases I'd have to handle and went searching for other people who were already working on the problem, instead).

Thanks for adding to the list!

Thanks for adding to the list!


Specify primary key for Meilisearch

Closes #658
The issue here is that there are multiple fields with id in the name. Because no primary_key is specified Meilisearch is trying to guess based off the name, but can't. Specifying the primary key should fix the issue. I'm assuming here that id should be the primary key and not document_id.
I looked and there aren't any Meilisearch tests, and I don't use (or have installed) VS Code so I'm not sure how to properly test this on my end. If there is something I missed I'm happy to make updates.

thank you!


test(form): add input, validation, autosave tests, closes #421

What:

Issue number: N/A

Codecov Report

Merging #422 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #422   +/-   ##
=======================================
  Coverage   87.77%   87.77%
=======================================
  Files          67       67
  Lines         990      990
  Branches       41       41
=======================================
  Hits          869      869
  Misses        103      103
  Partials       18       18

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b32b3c1...8afcf4a. Read the comment docs.

@chauey I have done some commits to master in the meantime, could you please resolve merge conflicts so that I can marge your contribution? Thank you!

Thanks @chauey !


router: Allow CORS to be configured using typed_per_filter_config

Description: Enable the CORS filter to be configured using per-route configs. This is the first half of deprecating the CORS configuration in the router. While the router's cors is working, we need to keep the CorsPolicy logic where the router can access it. Once we can delete the cors field, we should consolidate all the CORS code in the CORS extension (left TODOs for myself).
Risk Level: Low - new functionality, no change to existing functionality. The CORS filter will continue to use ProtobufWkt::Emtpy to avoid breaking wire compatibility (which is being worked on in #8933)
Testing: included (TODO update CORS integration tests)
Docs Changes: added
Release Notes: added
Fixes #8097
Deprecated: envoy.api.v2.route.VirtualHost.cors,  envoy.api.v2.route.RouteAction.cors
Signed-off-by: Derek Argueta<EMAIL_ADDRESS>

Makes sense to me at a high level. Will wait for CI to pass before taking a look.
/wait


Add new TransactionByHash query

This will be a new query that will require new logic in our domain (see #1203 for context)
Tasks

[ ] Implement a method that can take a list of (WalletTransaction) transactions and produce a single WalletTransactionSummary entity. For now we can simply add properties to this new WalletTransactionSummary type for:

a new TxSummaryStatus type to show the state of the actual transaction
unique input for the transaction (payment hash for ln, or address for onchain, counterparty username for intraledger... see initiationVia types)
unique output for the transaction (received preimage for ln, txid for onchain, counterparty username for intraledger... see settlementVia types)

This new method can:

live in a new src/domain/wallets/tx-history-summary.ts file
take WalletTransaction[] (the output of fromLedger) as an input and should return WalletTransactionSummary

This method should be unit-tested.

[ ]  Create a new use-case method in the src/app folder that:

takes a transaction hash and accountId
fetches all the transactions from all wallets for a given account (see new getTransactionsByWalletIdAndHash method in ledger service from PR #1200)
returns a single WalletTransactionSummary entity

[ ] Create a new TransactionByHash query that  returns the aggregated WalletTransactionSummary version of a transaction by calling the new use-case method

I can take this on 👍🏼

@anddddrew I'm pausing work on #1200 because I think what we've scoped out here is a cleaner solution
You may want to cherry-pick all except the very last commit for what you're building tho as I suspect those might be useful (to be confirmed as you actually work through it).

I can take this on 👍🏼

Update on this, this is still an open issue for anyone wanting to take it on

@vindard, I will like to work on this issue. Can I get assigned to it.

Adding some context here from off-github chats.

@rxbryan asks:
I would like a few clarification.

What is the new TxSummaryStatus type supposed to include. successful, failed, confirmation times or reversed?
Since we are taking a list of WalletTransaction, The "returns a single WalletTransactionSummary entity", would be a list of WalletTransactionSummary. No?

@vindard response:

what the new TxSummaryStatus type supposed to include. successful, failed, confirmation times or reversed?

I think success/pending/failed is fine for now to start with, and we can see if any other statuses emerge as we go along

Since we are taking a list of WalletTransaction, The "returns a single WalletTransactionSummary entity", would be a list of WalletTransactionSummary. No?

This one's tricky as there's a few ways to go about it. Yes eventually a list of LedgerTransactions ends up becoming a (smaller) list of WalletTransactionSummarys, but even before that we were thinking of that the aggregation function would look like to group like transactions in a LedgerTransaction list and produce a single WalletTransactionSummary from them.
So end-to-end I think it probably looks like:

Undifferentiated list of LedgerTransactions comes in
Some aggregation function sorts the list into related groups
Each related group is passed into a translation function to produce a single WalletTransactionSummary
All produced WalletTransactionSummarys are brought back together into a (smaller) list

This is still probably a pretty open challenge where we likely can go back and forth on the approach and have the end result eventually emerge though I think


Remove prop-types-extra

I found all(object, customHandler) can be replaced with
objectOf(customHandler) so we may drop prop-types-extra package.
There is still usage in react-overlays. Gonna send a PR too.

Thanks!


Problem with tooltip inside react-virtualized List

When I use IconButton tooltip property inside react-virtualized List (indirectly), at the end of the animation, the tooltip becomes a large circle:

It works correctly without react-virtualized List.
Environment

Tech
Version

Material-UI
0.19.3

React
15.5.4

browser
chrome (electron 1.7.6)

We have been porting the component on the v1-beta branch. We reimplemented it from the ground-up. While we haven't tested it, I think that the issue is most likely fixed on that branch. Hence, I'm closing it.
Still, we will accept PR fixes until v1-beta takes over the master branch.


Clarify expiration time for service accounts and tokens of pods pending deletion despite finalizers

Description
The doc about finalizers doesn't give any information about the fact that the API server considers a deleted service account or a deleted pod's token invalid after 1 minute the DeletionTimestamp.
ref: https://github.com/openshift/kubernetes/blob/76463e21d4dec90b4d49975b182a13e1fdb6b20a/pkg/serviceaccount/claims.go#L176-L197 https://github.com/openshift/kubernetes/blob/76463e21d4dec90b4d49975b182a13e1fdb6b20a/pkg/serviceaccount/claims.go#L216-L234

Issue

Closes: #47403

/hold

/hold cancel
I don't see grounds to hold this PR.

Hi @sftim, @rutsky just linked me https://github.com/kubernetes/kubernetes/pull/89583 and I was trying to consider if this should be considered a bug for which finalizers should prevent the invalidation (still with some upper limit?)  as finalizers do not seem to be mentioned in that PR or in the linked enhancement: https://github.com/kubernetes/enhancements/blob/02e7dc5e60a0cac306fbe882f76fab40c0727959/keps/sig-auth/20190806-serviceaccount-tokens.md
A pod will always remain pending deletion, but also unable to authenticate the API anymore.

Clarified in https://kubernetes.slack.com/archives/C0EN96KUY/p1723140562564949

/hold

Hi @liggitt, can you PTAL?

technical content lgtm

Tech LGTM in https://github.com/kubernetes/website/pull/47404#issuecomment-2287746924
/lgtm
/approve
/hold cancel


Question: Installation on linux distribution using tar file

Background:
I am sitting behind corporate proxy. I can use helm plugin install command, give it the git hub url and install it on my local machine. But I can't install plugins using helm plugin install command in docker images. Because images get built on (Jenkins boxes that cannot talk to internet) and published on internal artifactory/nexus. So I have to upload the tar file from your release page into artifactory and then use curl it in Dockerfile.
Difference:

When I use helm plugin install  in local machine it gets the whole source code and binaries in the HELM_HOME/.cache/helm/plugins. And creates a symlink in HELM_HOME/.local/share/helm/plugins. Next command helm plugin list works fine.

When I download the tar.gz file and untar it into HELM_HOME/.local/share/helm/plugins in Dockerfile. Next command helm plugin list skips listing this helm release plugin. However it lists all other plugins. And the installation for all other plugins follow the same pattern(Download tar -> untar in HELM_HOME.local/share/helm/plugins -> list the plugin using helm plugin list command).

Doe you see anything wrong in there.
I have attached the snapshot below -

 curl -kLO https://artifactory2.xxx.xxx.xxx/helm-plugins/helm-release/v0.3.2/helm-release_0.3.2_linux_amd64.tar.gz \
    && mkdir -p ${XDG_DATA_HOME}/helm/plugins \
    && helm-release_0.3.2_linux_amd64.tar.gz -C ${XDG_DATA_HOME}/helm/plugins \
    && chmod 777 ${HELM_HOME} \
    && rm -rf *.tar.gz \
    && helm plugin list

I have not tried this method.  Maybe for the second stop try untaring it into the cache directory and creating a symlink.

I am going to try that now

No luck!! with symlink

I'll try your install method this weekend and see what I can find out.  Let me know if you have any luck finding out why it's not working like the other plugins.

I wounder if helm plugin list would need anything else to read the metadata about the plugin. The only difference I can see between helm-release and others(helm-diff, helm-git) where all of these were installed using the tar file.

Others - have got all the src code with binary

helm-release - have got just the binary

Even when you install helm-release using helm plugin install command in local. It copies all the src code and binary. That works fine.
Not sure if could be the reason.

try tossing the plugin.yaml into othe same direcctory

Try the latest 0.3.3 release.
I also added instructions - https://github.com/sstarcher/helm-release/blob/master/README.md#install-without-internet

this work fine. Just one thing I noticed - when I updated the plugin to 0.3.3 . It still show 0.3.2 in helm plugin list command. I checked that this has got latest flag which you added  but still shows 0.3.2.

Thanks, the plugin.yaml is not setup in my release process yet and I forgot to bump the version.  You should be good to go now.


CloudWatch Metrics

This looks good. Once you fix the few more places where indentation is wrong, I'll merge and release a new version.

Released v2.3.0


Update openst-contracts to work with solidity 0.5

Refer below for more details:
https://github.com/OpenSTFoundation/mosaic-contracts/issues/454

Should be possible once https://github.com/trufflesuite/truffle/pull/1433 is merged and released.
Someone opened a tracking issue though: trufflesuite/truffle#1436


Fixed the go install command

Removed the vendor experiment flag (it's obsolete now) and added the proper path to the main binary.

Thanks! Can we keep the GOVENDOREXPERIMENT=1 around for a bit longer though?
It doesn't hurt if it is not necessary but users with go1.5.x that just want to try things out, won't run into problems.

Done.


add buildUrl to environment

I opended up a pull-request on this issue.
https://github.com/ctrf-io/wdio-ctrf-json-reporter/pull/14

thanks for the contribution, published 0.0.11


Fix WIFF issues

fixed errors when opening multiple WIFF2s at the same time
addressed issue with WiffFile's MassSpectrometerSample not being disposed (unverified, no repro)

@brendanx67 Do you want this merged to 4.2?


DuckDuckGoSearchRun leads to AttributeError: 'FieldInfo' object has no attribute 'run'

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
from langchain_community.tools import  DuckDuckGoSearchRun
tool = DuckDuckGoSearchRun()
tool.invoke("Size of Eifel tower")
Error Message and Stack Trace (if applicable)
Traceback (most recent call last):
File "/opt/conda/envs/my_env/lib/python3.11/site-packages/IPython/core/interactiveshell.py", line 3553, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 5, in
tool.invoke("Size of Eifel tower")
File "/opt/conda/envs/my_env/lib/python3.11/site-packages/langchain_core/tools/base.py", line 397, in invoke
return self.run(tool_input, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/my_env/lib/python3.11/site-packages/langchain_core/tools/base.py", line 586, in run
raise error_to_raise
File "/opt/conda/envs/my_env/lib/python3.11/site-packages/langchain_core/tools/base.py", line 555, in run
response = context.run(self._run, *tool_args, **tool_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/my_env/lib/python3.11/site-packages/langchain_community/tools/ddg_search/tool.py", line 73, in _run
return self.api_wrapper.run(query)
^^^^^^^^^^^^^^^^^^^^
AttributeError: 'FieldInfo' object has no attribute 'run'
Description
I'm trying to run a DuckDuckGo-search using langchaing_community.
Since updating to the latest pypi versions (langchain==0.3.2 and langchain_community==0.3.1), this error is returned.
System Info
System Information

OS:  Linux
OS Version:  #16~22.04.1-Ubuntu SMP Mon Aug 19 19:38:17 UTC 2024
Python Version:  3.11.10 | packaged by conda-forge | (main, Sep 22 2024, 14:10:38) [GCC 13.3.0]

Package Information

langchain_core: Installed. No version info available.
langchain: 0.3.2
langchain_community: 0.3.1
langsmith: 0.1.131
langchain_huggingface: 0.1.0
langchain_openai: 0.1.25
langchain_text_splitters: 0.3.0
langgraph: 0.2.34

Optional packages not installed

langserve

Other Dependencies

aiohttp: 3.10.9
async-timeout: Installed. No version info available.
dataclasses-json: 0.6.7
httpx: 0.27.2
huggingface-hub: 0.25.1
langgraph-checkpoint: 2.0.1
numpy: 1.26.4
openai: 1.51.0
orjson: 3.10.7
pydantic: 2.9.2
pydantic-settings: 2.5.2
PyYAML: 6.0.2
requests: 2.32.3
requests-toolbelt: 1.0.0
sentence-transformers: 3.1.1
SQLAlchemy: 2.0.35
tenacity: 8.5.0
tiktoken: 0.8.0
tokenizers: 0.20.0
transformers: 4.45.1

If no one else is working on this right now, I'd like to take a look at this issue

Hi! I represent a team of Computer Science students who are looking to gain experience working with large software systems. We would like to claim this issue to work on.

Hi @m-henneke, we have started looking into the issue and we are unable to replicate this issue on the latest version.
We are on langchain version 0.3.3, langchain-community version 0.3.2 and duckduckgo-search version 6.3.0. Could you try updating to these versions and see if you are still getting the same error?

Hi @JamieHvizdos, thanks for your suggestion. DDG-search works again with langchain 0.3.3 and langchain-community 0.3.2!
As a side note for others, there may have been a problem with my langchain-core installation (possibly 0.3.9) as shown above in the package info. Not sure if this caused the problem, but I had to create a new env to upgrade the packages.

langchain_core: Installed. No version info available.

any update on this?

I have the same issue as well.

Also, I was receiving this warning: LangChainDeprecationWarning: As of langchain-core 0.3.0, LangChain uses pydantic v2 internally. The langchain.pydantic_v1 module was a compatibility shim for pydantic v1, and should no longer be used. Please update the code to import from Pydantic directly.
For example, replace imports like: from langchain.pydantic_v1 import BaseModel
with: from pydantic import BaseModel
So I did this in the tool.py inside langchain_experimental-> tools -> python and it worked fine.


The a2t-ui don't generates the view files and .ts files

So i installed the angular2-token and all the functionality are fine.
But, when i want to change the a2t-ui files, for my surprise, there are no html or .ts files on the folder, only the declarations files.
Can anyone help me please?
My nodejs version is: 7.6.0
npm version: 4.1.2
os: linux ubuntu

@EduMaca thanks for you explanation. Gonna take a look into it.

The packages is compiled for AoT, thats why there are no TS files. The HTML and CSS is included in the .js files as well.


Support Multiple Data Sources

Continuing the work from in the multids branch.
Design Proposal:
UPDATE:
After trying a few things here's how I chose to do it:

connections is a 2.8+ parameter only
connection_credentials works in any version, and throws a warning if you set both parameters
connections only takes ConnectionItems and connection_credentials only takes CredentialItems we don't auto convert between because it's too hard

Doing some investigation, we have the problem again where our serialization doesn't know what version it's generating for, so I can't check if I should use the new or old method.
I think there's a lot of if statements and checking I can do to make the following all work, but do we need it to?:

connection_credentials always works by taking a single ConnectionCredentials item
connections only works on 2.8+ right now, but that means you can't run the same script across two different versions, if you want to publish to 2.3 you need to call a different function signature. Is that ok?
I could make it so that connections can also take a single ConnectionCredentials item and it just converts that to the old publish method. If there are two it uses the new multi-connection path. But then I can't tell if someone is passing a single ConnectionsItem or a single ConnectionCredentials item. Maybe this is ok.

This is done!


Corrected C# sample code.

Corrected the sample code by

adding Async suffix because we should add "Async" as the suffix of every async method name you write, as documented in "Asynchronous programming: Important Info and Advice".
replacing unused parameter page with the catalogUrl to make the sample code more meaningful.

@goh-chunlin : Thanks for your contribution! The author(s) have been notified to review your proposed change.

The commit 5f1f355 is meant to refactor the sample code to remove the goto statement and replace it with a do...while loop.
I also removed the checking of m_retries < 31 because there is another checking m_retries == m_maxRetries. The 31 is also a magic number that should be avoided.

@msmbaldwin - Could you review the proposed changes and indicate whether the PR can be merged?  Thank you.

Hi, @goh-chunlin. We overhauled this entire sample to make sure of the built-in Retry functionality of the new .NET SDK version 4. Please give it a try, and let us know if you have any suggestions for it's improvement.  Thanks for your contribution! #Please-close


pulsar producter write to 3 node gluster slower than standalone

Actual behavior
pulsar producter write to 3 node cluster slower than standalone
System configuration
Pulsar version: 2.6.2
all use the default config and same disk(hdd)/net
to standalone
time bin/pulsar-client --url pulsar://a.b.c:6650  produce   persistent://public/default/test   -n 1000  -m "Hello Pulsar"
real	0m5.940s
user	0m8.329s
sys	0m0.964s
to 3 node gluster
time bin/pulsar-client --url pulsar://a.b.c:36650  produce   persistent://public/default/test   -n 1000  -m "Hello Pulsar"
real	0m38.696s
user	0m9.626s
sys	0m1.539s
is any config can slove this problem?

@cclient The data fsync is disabled by default in the standalone but enabled by default in the broker. I think you can try to enable the data fsync in standalone.conf or disable the data fsync in the broker.conf.

@cclient The data fsync is disabled by default in the standalone but enabled by default in the broker. I think you can try to enable the data fsync in standalone.conf or disable the data fsync in the broker.conf.

thanks
cluster:
conf/bookkeeper.conf
journalSyncData=false
standalone:
conf/standalone.conf
journalSyncData=true
it was my negligence


Add autopush of docker image

Signed-off-by: Bogdan Vaneev<EMAIL_ADDRESS>

Must be merged after https://github.com/soramitsu/did-resolver/pull/78


WIP: TumbleBit UI

The goal is to be able to start a tumble from within the TumbleBit menu tab. User needs to input a few details to get going.

Destination. For mvp, input of an output address is good. Validate the address if possible. v2 the destination could be selected from one of a user's Breeze wallets in a dropdown with an option for  manual address input.

TumblerServer selection. This address may be hard coded to start to a Stratis testnet tumbler. v2 should accept an address via text input. v3 could maybe have a nice server explorer auto populated by exploring the stratis blockchain for tumbler registrations. Keeping fees/tumbler registration tied to stratis is be best for the business. Thinking something like this, obviously less detailed

The explorer will display

number of participants
epoch denomination
epoch tumbler fee (% is more clear than absolute, display both)
tumbler server location (if made publicly available as a TumblerServerParameter. Everything is onion routed, after all)
time estimation to tumble contents of one's wallet (maybe v2)
user rating/satisfaction?
lifetime number of coins tumbled (this may be possible?)

Start/Stop tumble. Should be able to view the status of a tumble here as well. One can monitor balance from the "wallet" screen but this should also display the wallet balance. output of Interactive.cs console should be enough for an mvp, it is readable. labeled epochs with progress bars can come later. Once the wallet is out of funds, the user is notified & disconnected from the tumbler.

Selecting the quantity to tumble is not necessary for the MVP because we support multiple wallets in Breeze.

I actually finished a TB client GUI for HiddenWallet, before I stopped working on it. You can steal ideas from it.

Beautiful beautiful @nopara73

Dan, when I build this I get the following:
ERROR in C:/Users/carlt/Documents/DanTest/Breeze/Breeze.UI/src/app/wallet/tumblebit/tumblebit.component.ts (18,3): ',' expected.
Looks like you need a comma after [TumbleBitService]

Hey guys, ping me when you need a review on the Tumblebit UI code :).

Closing this because it's heavily outdated


fix: sr-only notification

Description
https://github.com/openedx/paragon/issues/1307
Testing Tabs with a notification using the Voiceover screen reader, it does read aloud the contents of the notification bubble, but there’s no other information “spoken” about the number being displayed on tab. So, as a user with a visual impairment, the notification count might not be obvious what it’s referring to.
Deploy Preview
Include a direct link to your changes in this PR's deploy preview here (e.g., a specific component page).
Merge Checklist

[ ] If your update includes visual changes, have they been reviewed by a designer? Send them a link to the Netlify deploy preview, if applicable.
[ ] Does your change adhere to the documented style conventions?
[ ] Do any prop types have missing descriptions in the Props API tables in the documentation site (check deploy preview)?
[ ] Were your changes tested using all available themes (see theme switcher in the header of the deploy preview, under the "Settings" icon)?
[ ] Were your changes tested in the example app?
[ ] Is there adequate test coverage for your changes?
[ ] Consider whether this change needs to reviewed/QA'ed for accessibility (a11y). If so, please add wittjeff and adamstankiewicz as reviewers on this PR.

Post-merge Checklist

[ ] Verify your changes were released to NPM at the expected version.
[ ] If you'd like, share your contribution in #show-and-tell.
[ ] 🎉 🙌 Celebrate! Thanks for your contribution.

Thanks for the pull request, @Inferato! I've created OSPR-6721 to keep track of it in JIRA, where we prioritize reviews. Please note that it may take us up to several weeks or months to complete a review and merge your PR.
Feel free to add as much of the following information to the ticket as you can:

supporting documentation
Open edX discussion forum threads
timeline information ("this must be merged by XX date", and why that is)
partner information ("this is a course on edx.org")
any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.
Please let us know once your PR is ready for our review and all tests are green.
:warning: We can't start reviewing your pull request until you've submitted a     signed contributor agreement     or indicated your institutional affiliation. Please see the CONTRIBUTING     file for more information.     If you've signed an agreement in the past, you may need to re-sign.  See     The New Home of the Open edX Codebase     for details.

@Inferato Looks like this will need a rebase before we can merge it :)

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


For language detection do not try to analyze big files by content

Even when using Reader go-git will still load file content into memory. Limit language statistics to not analyze files larger than 1MiB. Also fix to read only 16KiB of file to pass to analyze, it was set to 16MiB by mistake :smiling_imp:
Should fix #11969

Should probably make this configurable.

@silverwind that could be improved in other PR. Currently this is just bugfix

:rocket:


How to config basic authen client ?

Hi,
Im using basic authen to verify client?
Can you tell me how to config elasticquent use basic authen?

I know this is coming late, but for anyone asking about user/password authentication
you can do this inside the config/elasticquent.php :
$elasticsearch_host = env('ELASTICSEARCH_HOST', 'localhost');
$elasticsearch_port = env('ELASTICSEARCH_PORT', '9200');
$elasticsearch_user = env('ELASTICSEARCH_USER', 'elastic');
$elasticsearch_pass = env('ELASTICSEARCH_PASS', '');
then inside the array:
'config' => [
'hosts'     => [
"{$elasticsearch_user}:{$elasticsearch_pass}@{$elasticsearch_host}:{$elasticsearch_port}"
],
'retries'   => 1,
],


Don't fail on an out-of-order CCS in DTLS

Fixes #4929
While fixing this I encountered a number of other issues so I fixed those too:

Fix s_client and s_server so that they correctly handle the DTLS timer
Only auto-retry for DTLS if configured to do so (otherwise we may end up in a hang when using blocking sockets)
During a full handshake the server is the last one to "speak". The timer should continue to run until we know that the client has received our last flight (e.g. because we receive some application data).

I've also added a test which drops a record from a handshake and checks that we can still complete the handshake. It then repeats for all the other records.
Note that s_client/s_server is currently broken with DTLS. The fixes in this PR need to be combined with the fixes from #6159 before s_client/s_server will work properly again.

Pushed. Thanks.


[Bug] Event handlers not firing in order

Bug report
On a subgraph I am working on there is an entity created in an event (Minted event) which creates a Mint entity with the transaction hash.
When trying to retrieve this entity in the AddLiquidity event which is the last in the list, it does not exist yet.
Here is an example of the event
It seems this happens when the templated datasource is created in the same transaction as the Minted and AddLiquidity event. Minted event exists on the templated datasource for the contract deployed in the tx.
Relevant log output
Subgraph failed with non-deterministic error: failed to process trigger: block #9727530 (0x2858…1719), transaction 728588893cbe11b2ac5c82a36c9101b6ab1daff542a7c7d2c284f4c44c300605: Entity Mint[MINT-0x728588893cbe11b2ac5c82a36c9101b6ab1daff542a7c7d2c284f4c44c300605]: missing value for non-nullable field `date` wasm backtrace: 0: 0x31de - <unknown>!generated/schema/Mint#save 1: 0x371b - <unknown>!src/router/handleAddLiquidity , retry_delay_s: 138, attempt: 0
IPFS hash
QmUpJzhLwq5pDdjEMxdugpdJLSATMkvo6xREmW9RrSphuq
Subgraph name or link to explorer
https://thegraph.com/hosted-service/subgraph/gundamdweeb/nftx-v3-vaults?version=pending&selected=logs
Some information to help us out

[ ] Tick this box if this bug is caused by a regression found in the latest release.
[ ] Tick this box if this bug is specific to the hosted service.
[X] I have searched the issue tracker to make sure this issue is not a duplicate.

OS information
macOS
EDIT:
This bug was initially encountered on a goerli deployment of the ecosystem when a template datasource (NewVault) is created, and event A (Minted) is emitted for that new datasource where the entity (Mint) should be created. The later event B (AddLiquidity) is emitted after event A, where this Mint entity does not exist yet.
Here is the transaction that I first encountered it.

Hey @azf20 I added you to the private repo. I initially encountered it on the goerli version of the deployment at this transaction.
Have added an edit above.

@GundamDweeb the error message doesn't look like its missing the Mint entity, it seems that the date field was somehow not set or set to null. Maybe you are getting the date field from somewhere else and that was null.
Would be great if you could post the code snippet where the Mint entity is being created and the date field being set

Hey @incrypto32 I know that is what the error message is saying, however the mint entity is fully created in the Minted Event with date before it is being retrieved in another Event (AddLiquidity), where we are trying to update the type only, and then when saving it throws an error because the entity has been partially set (not created in the Minted Event).
Here are the code snippets from Minted and AddLiquidity Events:
Minted Event
export function handleMint(event: MintEvent): void {
  let vaultAddress = event.address;
  //Check address against vaultId
  let txHash = event.transaction.hash;
  let mint = getMint(txHash);
  let account = getUser(event.params.to);
  let amounts = event.params.amounts;
  let nftIds = event.params.nftIds;
  mint.type = "Mint";
  mint.user = account.id;
  mint.vault = vaultAddress.toHexString();
  mint.date = event.block.timestamp;
  mint.nftIds = nftIds;

  .....Other work.....

  mint.save();
  account.save();

Helper getMint()
export function getMint(txHash: Bytes,  source: Address = ADDRESS_ZERO): Mint {
 let mint = Mint.load("MINT-" + txHash.toHexString());
 if (!mint) {
   mint = new Mint("MINT-" + txHash.toHexString());
   mint.source = source;
 }
 return mint as Mint;
}

AddLiquidity Event
export function handleAddLiquidity(event: AddLiquidityEvent): void {
 let mint = getMint(event.transaction.hash);
 mint.type = 'AddLiquidity';
 mint.save()

...Other Work...
}

I'll investigate and get back

@GundamDweeb is the code for this subgraph public? I'd like to deploy it locally to debug

@incrypto32 It's currently private but I can ask to add you to the repo.

@GundamDweeb any luck?

Hey @incrypto32 I can add you but I have sent you a friend request on discord. Its happening on another repo now. Might be easier to show you

Here is another example of the same error on another subgraph I am working on (For the same project).
So dynamic datasource is created in same transaction as an event on that datasource.
Here is a tx to explain:

Datasource Pool is created at logIndex 37 - PoolCreated event
Mint event on the new datasource is emitted - logIndex 42
IncreaseLiquidity event is emitted on logIndex 44

IncreaseLiquidity is on a standard datasource.
What happens is IncreaseLiquidity handler fires first, then PoolCreated & pool datasource is created, then Mint event is emitted, even though IncreaseLiquidity is the last event in the three.

@GundamDweeb, thank you for your comprehensive feedback. I've reviewed the issue and confirmed it. Although it might not be immediately obvious, this is the intended behavior as of now. Triggers from existing data sources are processed first, followed by the creation of the dynamic data source in that specific block. Currently, there are no plans to modify this behavior. We will ensure to clarify this in the documentation for better understanding.


[Feature Request] Support for 5 ?

Support this in v5 version?
I was thinking i could use this on a v5 project. I'm curious as to why this is >= 6.* only ?
What is the reason for that ? Is there any way i could help ?

I can see from the history that it supported v5 initially, but later it was removed.
@pxpm maybe you can share your views?

Hey @niladam and @phpfour
The reason we removed v5 support was because the Uploaders are a v6 feature.
Also we had other minor reasons to support only v6. More meaningful the PHP 7.3 support in Laravel 8.
So to avoid it working only in some v5 installations and not on all of them, we decided to add support only to v6, that allowed us to write code that does not work on PHP 7.3.
So yeah, all sum up, those were the reasons. Fair ? Or do you think we can address this in other way @niladam ? @phpfour ?
Cheers

Well, i'm currently sporting a v5 using PHP 8.2 without any issues. So, i don't understand why this hasn't also been backported to v5. Honestly, i'm a little disappointed in this :(
I can understand the need to push to v6 for the feature set looks great but for me, i'm kind of stuck on v5.
Anyways, thank you for explaining this to me.

Well, i'm currently sporting a v5 using PHP 8.2 without any issues. So, i don't understand why this hasn't also been backported to v5. Honestly, i'm a little disappointed in this :(
I can understand the need to push to v6 for the feature set looks great but for me, i'm kind of stuck on v5.
Anyways, thank you for explaining this to me.

Totally. This is compatible with php 8.2. but backpack v5 support up to Laravel 8, that support php 7.3.
For us to say that: "we support v5". It would need to support all v5 combinations. Otherwise would only "partially" support v5.
I am open to add that "partial" support, so that we allow v5, but only if you are running v5 on Laravel 9+.
@tabacitu what are your thoughts on this? Can/should we support v5 installations on newer PHP versions?

Here's my output of php artisan backpack:version :)

Nope. Sorry @niladam but adding Uploaders to v5 is not something we can be spending our time on. v5 is the past. v6 is the present. v7 is the future. We are no longer working on anything v5 unless it is a major security problem. See our policy here.
Instead of us making a step backwards... I recommend you find a way to make your project make a step forward 😀 Sorry to be so blunt, but we absolutely have to say no to some stuff, in order to say yes to other stuff. Anything v5 is a NO at this point.
Cheers!


[proxima-direct-core] Store complete StreamElement in inmem storages

Failed coverage is false-positive.