Feature Request: Set Date/Time from GPX track

Hey there, thank you for your great work on GeoTag.
Here is some context to explain this somewhat exotic request:
I shoot film so I use GeoTag to add location data to my film scans (which obviously have, initially, no time nor GPS data at all) and then I go through the GPX track to find the exact date and time info associated with the location the photo was shot.
Now, how feasible (or not) would it be to be able to grab Date/Time data from the GPX track itself? Meaning that putting a pin on the GPX track displayed on the map not only sets GPS data but gets Date/Time from the GPX as well?
Maybe there is an exiftool command to do just that (i.e. grabbing date/time from a GPX file using GPS tagged images as input), but Google has not helped me much in finding it.
Thanks !

Let me see if I understand.  "Locn from track" matches the time of an image and gets the location from a track log.  You want a "Time from track" that matches on location and updates the time?  Do I have that right?

exiftool has this already builtin.
I built this for me as a CLI in PHP, this is the code I use:
        $imgFiles->executeExiftoolShellCommand(
                 'exiftool ' .
                 '-overwrite_original ' .
                 '-preserve ' .
                 '-api GeoMaxExtSecs=4000 ' .
                 '-geotag ' . $this->absoluteName()
        );

The only interesting part is about GeoMaxExtSecs
Search here: https://exiftool.org/geotag.html …for "gpx"

I've yet to play with that command, but the doc states this: "Otherwise, the coordinates of the nearest fix are taken. "  Coordinates, not timestamp.  The request is to leave the coordinates be and update timestamps.
I'll put playing with this on my to do list.

Maybe this is not a "realistic issue“, because usually a GPX will be "good enough" for even this. I am (wild) guessing here, I know, but usually such a track is made to record like a hiking tour, so the density of fixes is high enough.
Sure, technically one could have a gpx file containing two fixes, Tokyo and Toronto, 24h apart, and a photo made in the middle of time and distance, but... :-) I personally never had an issue doing it "my" way, but you are definitely right.
Maybe GeoMaxIntSecs is matching better indeed. It says something about "interpolation", but I'm too tired to read this atm. :-) Thanks for checking!


Not showing option on right click

Hi, on Windows (7) using latest atom, no options appear when right click a file or folder in file tree.  I'd like to upload a file, but can't find option.  Also, if selecting file and using UPLAD FILE command on the command palette, it does nothing, no error, no upload

Sorry, found solution on:
https://github.com/yongkangchen/remote-sync/issues/388#issuecomment-302121984


'Google' Button / Logo Behaviour

Hello,
I'm using this plug-in for a crossplatform project using the Ionic framework. I've managed to get everything in my app working nicely, map with pin on the desired location showing in the app, etc.
One thing I've noticed however is that when a user clicks the 'Google' button / logo in the bottom left of the map it opens the native maps app, which is great, but it seems to only open the map without a pin, making it require an additional step should the user want to start navigation. Is there any way to also include a pin on the external map when it is loaded?
Cheers.

It is the feature of the native API. it means it is provided by Google. Not this plugin.

Hi Masashi,
Thanks for responding, and your efforts with the plugin.
Okay got it, but does the plugin not supply some parameters to the native
API, like coordinates for a pin location, e.g. geo:lat,long?
Cheers.
On 18 Jun. 2017 8:32 pm, "Masashi Katsumata"<EMAIL_ADDRESS>wrote:
It is the feature of the native API. it means it is provided by Google. Not
this plugin.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mapsplugin/cordova-plugin-googlemaps/issues/1500#issuecomment-309269138,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APzeL-GKWeJW-cppkKHPlCSbIFv5Sno7ks5sFPy7gaJpZM4N9Jio
.

No.


Fix ioutil deprecation

Updates goa gen code, so it would be better to upgrade goa to generate right code.


Ensure orders are put back to matching daemon order book (fixes disappearing orders, fixes order cancelation problem, optimizes number of queries to markets)

@yivo is it worth writing more tests for this engine
can you compare performance with rake benchmark before and after ?

are we able to test it?

@mod Sure, we are testing this on peatio.trade

@yivo we need to be able to perform rake specs, is there a way to run rspec against Peatio?


add CI

if we have tests #1, and and prettier #7, we should probably have some CI to check PRs and the like.

This is basically done, it runs in the tests in travis.


listen to splitter directly to get the actual raw buffer instead of parsed buffer

could be done there https://github.com/PrismarineJS/node-minecraft-protocol/blob/master/src/client.js#L22

that or simply also return the unsliced buffer there https://github.com/ProtoDef-io/node-protodef/blob/master/src/compiler.js#L107
and add it as fourth argument of https://github.com/PrismarineJS/node-minecraft-protocol/blob/master/src/client.js#L90


Upversion guice to 4.0 and scala to 2.11.8

cc @anyjunk/developers
This library is needed to get guice working properly. This changeset is needed to get it working properly with the latest version of guice.

:+1:


pull request for e2e test at 11/25/2016 14:26:04

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Syncing dev with master

Syncing dev with master

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

GitHub release
v2.0.0
v2.0.0

Your semantic-release bot :package::rocket:


New User Is Still Being Logged In

Hello.
Cool package, I'm still at a loss as to why email confirmation is not baked in to Laravel yet, but thanks for setting this up.
Everything seems to work well with the exception of the user being logged in when they register.
I created a custom email and my own route, all works well, except as with a normal install, when the user is created they are immediately logged in regardless of activated_at status.
Did I miss a middleware instruction or something? Seems like is_activated should be checked in the auth middleware?
Thanks again for the great work.
-V

I resolved this by creating a new Register override in the Register controller, but ActivatesUsers trait doesn't allow me to login even after I've activated. If I comment it out I can log in, but with it active I cannot.

activation_token is being set to an empty string instead of null. Once I created new local versions of these files and set that to null I can now successfully log in.

Yea, I have had this issue on my plate for a while. I hope to be able to take care of it after Christmas. Sorry for the delay. :(

@19peaches Sorry for taking soooooo long to get around to fixing this. Can you try dev-master and see if things work as expected? I am making a few more tweaks, then will release a new version.


repository has no license, cannot fork

Hi I'd like to fork this project, possibly create a new product based off it but this repo has no license so it's illegal for me to do anything the code. Would you be so kind as to specify a license or state what can otherwise be done with your repo's code? Sorry if I'm being pedantic, I just don't want to straight up rip your code with no license to do so.

Oops!
I added the MIT license, since I have no plan to do anything serious with this. I'm sure that works for you :wink:
I built this because I wanted to use it (to watch Apex Legends competitions), so I might be interested in whatever you make from it. Don't hesitate to share some details!

Oops!
I added the MIT license, since I have no plan to do anything serious with this. I'm sure that works for you :wink:
I built this because I wanted to use it (to watch Apex Legends competitions), so I might be interested in whatever you make from it. Don't hesitate to share some details!


stage1: don't crash when systemd cgroup doesn't exist

When starting the container, we try and determine our subcgroup. On systems without systemd, this didn't work. So, fall back to the cpu cgroup as needed.
Fixes #3502

LGTM on green

I'm merging this as I think it fixes the direct issue reported at #3502. It may however uncover some similar assumptions later on, so let's keep an eye on this after release.


Added automatic clipping for normalized annotations

Now values that should be normalized in [0,1] range for annotations are automatically clipped to this if not already.
Reason behind it is that even official COCO dataset includes values that are outside of [0,1] range when automatically normalized and thus the automatic parsing fails. If automatic clipping is added then we save user the effort to manually go through all annotations, find specific annotation where this happens and fix it.
Obvious downside is that now the validation would pass even if user doesn't actually pass normalized values because they would be clipped automatically to correct range - let me know if you have a better solution for this.
But IMO the upside is greater because automatic parsing failing just because one value is 1.001 instead of 1 is quite annoying.

Note: Tests are failing because of onnx version (fixed in #176 ) because yesterday onnx==1.17.0 came out and it looks like there are some breaking changes.

Obvious downside is that now the validation would pass even if user doesn't actually pass normalized values because they would be clipped automatically to correct range

Could we raise a warning or fail if value would be > 2.0? This would mean that annotations are unlikely normalized, while small "overflows" like 1.002 would be still correctly clipped.


Re-introduce ContainerManager

Based on https://github.com/solid/community-server/issues/394#issuecomment-739805093
In preparation for some other issues where isRootContainer is needed.
I added the toRelative and fromRelative functions initially, but there are some problems with that interface so will have to rethink later. Pod provisioning would have same issues (which can be fixed I think, but I would prefer looking into that later).

I added the toRelative and fromRelative functions initially, but there are some problems with that interface so will have to rethink later.

Curious to hear about those.
I think toRelative for https://alice.solid.example/foo/bar could be /alice/foo/bar for multi-host setup.

Curious to hear about those.
I think toRelative for https://alice.solid.example/foo/bar could be /alice/foo/bar for multi-host setup.

The main issue was with the pod provisioning. Since we would use this instead of a base url for the mappers, this also requires the mapper factory to take this as a parameter instead. Question then is what the TemplatedResourcesGenerator would do since it's using a FileIdentifierMapperFactory.
Using the same implementation as it does now but with a fixed IdentifierStrategy would not work: the main reason for the factory was having a variable base url based on the generated container identifier. Internally the mapper would call toRelative which would return /.acl (while we would want /alice/.acl if the pod is named alice), and fromRelative would not know that this would need to be mapped to a new root.
One solution would be to also have an IdentifierStrategyFactory which would generate a new strategy with the pod url as single fixed root. But that is getting very messy since that factory would have to feed into the mapper factory.
Another solution, which is what I was thinking of going for, is using a fixed mapper and strategy. As mentioned above, this would generate the same identifiers for the resources independent of the pod which they were for (so http://test.com/.acl instead of http://alice.test.com/.acl). But what we could do is call toRelative on those identifiers, prepend them with /alice and call fromRelative again to now get the correct identifier relative to the root of the pod. The main disadvantage of this method is that this does require the resources generator to have knowledge of how relative paths are supposed to look like. Semantically it's also less nice that we can't use a mapper to map directly to the space we want it to map to.


ResourceOutpurStream throw StreamException instead of ClosedException when resource is close

ResourceOutpurStream throw StreamException instead of ClosedException when resource is close

Thanks for the report, this has been fixed in master and will be released soon.


Cannot compile() a string

Hi there,
I want to compile() a string but async-eval compile()s it internally.
I want to make it so the <eval> filename does not show up in the console's logs, but does, for example, <protected> (see image below).

exec is:
from async_eval import eval as exec


[NAS] fix bug on pdarts

After last refactoring, the network cannot be reduced correctly before training. With this fix, it can remove low performance ops correctly.

Please merge into v1.2


Fixed Reference Error

Closes #20

Hi, this is not what eval is supposed to do. This only compiles the string to Thengascript, it doesn’t evaluate it to a result.

Hi, this is not what eval (മൂല്യനിർണ്ണയം) is supposed to do. Replacing it with compile will only compile the string to Thengascript, it will not evaluate it to yield an evaluation.

You are right. But that code bypassed the error.

Getting the correct semantics in place is important when eliminating errors. I have to think on how to do this properly, as eval now needs to take care of Thengascript keywords too.


[SPARK-46097][SQL] Push down limit 1 through Union and Aggregate

What changes were proposed in this pull request?
This PR enhances LimitPushDown to support push down limit 1 through Union and Aggregate.
Why are the changes needed?
Eliminate shuffle to improve query performance.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Unit test and benchmark test.
spark.range(300000000).selectExpr("id", "array(id, id % 10, id % 100) as eo").write.saveAsTable("t1")
spark.range(100000000).selectExpr("id", "array(id, id % 10, id % 1000) as eo").write.saveAsTable("t2")
println(spark.sql("SELECT DISTINCT * FROM t1 LATERAL VIEW explode_outer(eo) AS e UNION ALL SELECT DISTINCT * FROM t2 LATERAL VIEW explode_outer(eo) AS e").isEmpty)

Before this PR
After this PR

Was this patch authored or co-authored using generative AI tooling?
No.

Will this PR continue?


Fix: The invalid incorporation date error message doesn't hide after the initial date selection

Details

https://github.com/Expensify/App/issues/11787#issuecomment-1277425137
Fixed Issues

$ https://github.com/Expensify/App/issues/11787
PROPOSAL: https://github.com/Expensify/App/issues/11787#issuecomment-1277425137
Tests

Go to Profile > Workspace > Connect a bank account > Connect manually
Enter a valid routing number and account number
Click save & continue
On company information page, click save & continue without selecting the incorporation date (clear the date first if already selected) or use a future date
Click on the calendar icon
Select any date
Verify the error message goes away

[x] Verify that no errors appear in the JS console

QA Steps

Go to Profile > Workspace > Connect a bank account > Connect manually
Enter a valid routing number and account number
Click save & continue
On company information page, click save & continue without selecting the incorporation date (clear the date first if already selected) or use a future date
Click on the calendar icon
Select any date
Verify the error message goes away

[x] Verify that no errors appear in the JS console

PR Review Checklist

PR Author Checklist

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

[x] I added steps for local testing in the Tests section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

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

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

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

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product was added in all src/languages/* files
[x] I verified any copy / text that was added to the app is correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

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

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

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

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

[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

PR Reviewer Checklist
The reviewer will copy/paste it into a new comment and complete it after the author checklist is completed

[ ] I have verified the author checklist is complete (all boxes are checked off).
[ ] I verified the correct issue is linked in the ### Fixed Issues section above
[ ] I verified testing steps are clear and they cover the changes made in this PR

[ ] I verified the steps for local testing are in the Tests section
[ ] I verified the steps for Staging and/or Production testing are in the QA steps section
[ ] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[ ] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[ ] I checked that screenshots or videos are included for tests on all platforms
[ ] I included screenshots or videos for tests on all platforms
[ ] I verified tests pass on all platforms & I tested again on:

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

[ ] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[ ] I verified proper code patterns were followed (see Reviewing the code)

[ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[ ] I verified that comments were added to code that is not self explanatory
[ ] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[ ] I verified any copy / text shown in the product was added in all src/languages/* files
[ ] I verified any copy / text that was added to the app is correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

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

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

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

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

[ ] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[ ] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[ ] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots

Web

https://user-images.githubusercontent.com/101883770/198895093-ec2c91d3-4ab3-437e-9d80-a8d23fb9321c.mov
Mobile Web - Chrome

https://user-images.githubusercontent.com/101883770/198898659-5e7906e2-6a08-48e9-9a17-024f2d167c77.mov
Mobile Web - Safari

https://user-images.githubusercontent.com/101883770/198895177-139eea02-9aae-4bf9-9430-7aee5c59f962.mov
Desktop

https://user-images.githubusercontent.com/101883770/198895076-10cc9c79-38c7-4a00-aee7-89906af6d3be.mov
iOS

https://user-images.githubusercontent.com/101883770/198897072-0b810680-aacf-4ed4-9d81-90c47e5d3899.mov
Android

I was getting error building android app. I have asked about it here. I will attach the screenshot once it gets resolved.

Screenshots
Web
https://user-images.githubusercontent.com/9059945/199037820-f7da6292-1172-4562-93d3-304eb66ac62c.mov
Mobile Web - Chrome
https://user-images.githubusercontent.com/9059945/199039212-3c780ebe-b4fc-47e7-b6ee-82d53b03dc0a.mp4
Mobile Web - Safari
https://user-images.githubusercontent.com/9059945/199038566-facc19bf-8d12-4068-9a09-96b710bcbad7.mov
Desktop
https://user-images.githubusercontent.com/9059945/199037884-5a375ae5-a75a-4431-8eaf-7a244e1fe41b.mov
iOS
https://user-images.githubusercontent.com/9059945/199037956-d03662b9-9f41-4074-9f09-6ea6eb3c9c82.mov
Android
https://user-images.githubusercontent.com/9059945/199037989-89cbc781-a02d-460b-b4fb-0d9a40d0c5b7.mov

PR Reviewer Checklist

[x] I have verified the author checklist is complete (all boxes are checked off).
[x] I verified the correct issue is linked in the ### Fixed Issues section above
[x] I verified testing steps are clear and they cover the changes made in this PR

[x] I verified the steps for local testing are in the Tests section
[x] I verified the steps for Staging and/or Production testing are in the QA steps section
[x] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[x] I checked that screenshots or videos are included for tests on all platforms
[x] I included screenshots or videos for tests on all platforms
[x] I verified tests pass on all platforms & I tested again on:

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

[x] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[x] I verified proper code patterns were followed (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product was added in all src/languages/* files
[x] I verified any copy / text that was added to the app is correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

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

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

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

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

[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

We were using two functions to check if the entered date is valid.

isValidPastDate function:- We check if the date is between 1000 years back and current day,
isValidDate function:- We check if the date is between 1000 years back and 1000 years in future

isValidPastDate can handle the validation alone so we removed the isValidDate function.
There was also a problem when user selects a date which is more than 1000 years in the future we weren't showing the specific error for future dates because isValidDate returns false for date more than 1000 years in the future and to fix it we needed to change this function.
And the functionality clear both errors related to date needed to be fixed so instead we decide to just use isValidPastDate for validation and show the error- Please enter a valid date if the date is in future or in more than 1000 years in the past.

Great, thanks for the explanation!

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by @stitesExpensify in version: 1.2.23-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by @Julesssss in version: 1.2.23-9 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Results on PC and on Android are very different

Hi everyone!
I'm using two models, for detection and then classification
Detector YOLOv8n, and it's okay with it
But classifier - EfficientNetB0 has some troubles
Here is how I'm running model on PC:
import numpy as np
import tensorflow as tf

# Load the TFLite model and allocate tensors.
interpreter = tf.lite.Interpreter(model_path="classifier_best.tflite")
interpreter.allocate_tensors()

# Get input and output tensors.
input_details = interpreter.get_input_details()
output_details = interpreter.get_output_details()

input_data = tens.detach().numpy()
# Test the model on random input data.
#input_shape = input_details[0]['shape']
#input_data = np.array(np.random.random_sample(input_shape), dtype=np.float32)
interpreter.set_tensor(input_details[0]['index'], input_data)

interpreter.invoke()

# The function `get_tensor()` returns a copy of the tensor data.
# Use `tensor()` in order to get a pointer to the tensor.
output_data = interpreter.get_tensor(output_details[0]['index'])
print(np.argmax(output_data))

and it's okay, but predictions on Android on the same image is too different
I'm running model on Android with cropped image from YOLO detector. Here's my cropping code:
val frame_x1 = it.x1*frame.width
            val frame_y1 = it.y1*frame.height
            val frame_w = it.w*frame.width
            val frame_h = it.h*frame.height
            try{
                val tmpBitmap = Bitmap.createBitmap(frame, frame_x1.toInt()-5, frame_y1.toInt()-5, frame_w.toInt()+5, frame_h.toInt()+5)
                classifier?.invoke(tmpBitmap)
                tmpBitmap.compress(Bitmap.CompressFormat.JPEG, 100, fos)
            } catch (e: Exception){
                Log.d("183", ""+e)
            }

And here is my invoke fun in classifier class:
fun invoke(frame: Bitmap) {
        if (tensorWidth == 0) return
        if (tensorHeight == 0) return

        var inferenceTime = SystemClock.uptimeMillis()

        val resizedBitmap = Bitmap.createScaledBitmap(frame, tensorWidth, tensorHeight, false)

        val tensorImage = TensorImage(INPUT_IMAGE_TYPE)
        tensorImage.load(resizedBitmap)
        val processedImage = imageProcessor.process(tensorImage)
        val imageBuffer = processedImage.buffer

        val output = TensorBuffer.createFixedSize(intArrayOf(1 , numClass) , OUTPUT_IMAGE_TYPE)
        interpreter.run(imageBuffer, output.buffer)

        val outputArray = output.floatArray

        val predictions = mutableListOf<Prediction>()

        outputArray.forEachIndexed { index, float ->
            if (float > CONFIDENCE_THRESHOLD) {
                predictions.add(
                    Prediction(
                        id = index,
                        name = labels[index],
                        score = float
                    )
                )
            }
        }

Am I doing something wrong?

@NazaRik555,
Could you please provide the tensorflow version you are using to test the above mentioned code? Thank you!

@NazaRik555, Could you please provide the tensorflow version you are using to test the above mentioned code? Thank you!

PC - 2.17.0
Android:
    implementation("org.tensorflow:tensorflow-lite:2.16.1")
    implementation("org.tensorflow:tensorflow-lite-support:0.4.4")

    implementation("org.tensorflow:tensorflow-lite-gpu-delegate-plugin:0.4.4")
    implementation("org.tensorflow:tensorflow-lite-gpu-api:2.16.1")
    implementation("org.tensorflow:tensorflow-lite-api:2.16.1")
    implementation("org.tensorflow:tensorflow-lite-gpu:2.16.1")
    implementation("org.tensorflow:tensorflow-lite-select-tf-ops:2.16.1")

    implementation("org.tensorflow:tensorflow-lite-metadata:0.4.4")

Hi, @NazaRik555
I apologize for the delayed response and thank you for bringing this issue to our attention, if possible could you please help me with Github repo with minimal code to reproduce the same behavior from our end with complete steps and as much as details which will help us to investigate this issue further ?
If you followed any TFLite official documentation please help us with that to follow the exact steps to reproduce the same behavior from our end.
Thank you for your cooperation and patience.

Hi, @NazaRik555
I apologize for the delayed response and thank you for bringing this issue to our attention, if possible could you please help me with Github repo with minimal code to reproduce the same behavior from our end with complete steps and as much as details which will help us to investigate this issue further ?
If you followed any TFLite official documentation please help us with that to follow the exact steps to reproduce the same behavior from our end.
Thank you for your cooperation and patience.

You need only android project or my pytorch and convertation codes too?

Today I noticed strange thing:
Android inference gives me 1.0 or 0.0 from last Softmax layout.
Maybe it somehow connected with bad results?

@gaikwadrahul8
https://github.com/NazaRik555/CarDetectionClassification
Here's android project
And here's models for project
detector: https://drive.google.com/file/d/1I1A7gchVQnGh5-yMfkqYKVYVzUTh8SdW/view?usp=drivesdk
classifier: https://drive.google.com/file/d/1hy4soyldC9ZiMpcmfxYfMOLC3WS8yxSm/view?usp=drivesdk

@gaikwadrahul8
Do u have some ideas I can try?

Hi, @NazaRik555
I apologize for the delayed response, may I know on which OS have you tried above experiment ? Thank you

@gaikwadrahul8
Windows OS
And if it can help, without Softmax activation I have about 2-5 max score on PC and about 20k max score on android

Hi, @NazaRik555
I apologize for the delayed response and It seems like your invitation request got expired I really sorry I missed that one if possible could you please send me once again ? Thank you.

Hi, @gaikwadrahul8
Sorry for late, could you, please, re-open this thread? And I sent invitation again

Hi, @NazaRik555
Thank you for sending me invitation again and now I'm able to access your Github repo, I've re-opened this issue and will try to replicate the similar behavior from my end.
Thank you for your cooperation and patience.

Hi, @NazaRik555
I apologize for the delayed response, I was trying to replicate the similar behavior from my end after downloading both your models and keeping them into Assets folder and updated model name correctly but unfortunately I'm unable to replicate the issue with emulator device may be you're trying on actual android physical device
Hi, @pkgoogle
Could you please take a look into this issue. Thank you.

Hi @NazaRik555, your android project link appears to be broken/404 now. If you can share your exported android project, that will help immensely. Thank you for your help.

@pkgoogle https://github.com/NazaRik555/CarDetectionClassification and I've sent u an invitation to contributors

Hi @NazaRik555, I don't see you cropping the image on "PC", if you are please do share that code as well. If you are not, then that's possibly the source of the discrepancy.

Hi @pkgoogle, I've tried to run classifier at start of the android app without detector so without cropping. I've used same image, here is the link for it https://imgur.com/Dz9BZnk
Here is the code of loading img from assets and getting results in CarDetector.kt during initializing
val ims = context.assets.open("solara_cropped.jpg")
val bmp = BitmapFactory.decodeStream(ims)

classifier?.invoke(bmp)

Here is my onResult function:
override fun onResult(data: List<Prediction>, inferenceTime: Long) {
        Log.d("clf_result", data[0].name)
        try {
            clfResults.add(data[0].name+" "+plateResult)
        } catch (e: Exception){
            clfResults.add(data[0].name)
        }

        classifierConfs.add(data[0].score)
        classifierTime += inferenceTime
    }

Hi @NazaRik555, I was able to get it running but I couldn't invoke your invoke function at least on emulator. Can you upload your modified code to your github repo (you can put it to a different branch if you prefer). Perhaps that will be easiest, also if it's not available anywhere, the "solara_cropped.jpg" file.


IGES/Step Export fails, if one component fails

If we try to export an aircraft, where one component is failing to build, the whole export fails.
It would be better, if the exporter exports everything that can be exported.
@joergbrech What is your opinion? If we fix it, we don't necessarily know that there was an issue. On the other hand, the users succeeds at least a bit creating an export.

Hmm, good question. I guess it would be really convenient if we could postpone all error messages to after the file gets written, but I suppose this would be tricky to do.

I currently rewrite the code to figure out, whether there was an issue while exporting. The exporter still exports as much as possible, but an error is returned to the user to notify success or failure.


No proper limits for e.g. Pinecone

For sending data to Pinecone they have some hard limits:

40KB for metadata
2MB data for any request

Issues:

Anything from langchain that outputs a Document has no such limit
Average vectorsize for text-embedding-ada-002 is ~12.3kb, therefore if I have e.g. 30kb metadata I would send 42.3kb per entry. I cannot send more than 47 entries per batch, however, the standard is 1000.

I have personally written limits/calculations for: tokens, bytesize, batchsize around langchain but I'd expect these functionalities to be within langchain. This is actually how I did it; this might help you, and others:
  // I have some logic that limits my metadata to 35KB, here is my calculateByteSize function
  const encoder = new TextEncoder();

  const calculateByteSize = (document: LangchainDocument): number => {
    const encodedMetadata = encoder.encode(JSON.stringify(document));
    return encodedMetadata.length;
  };
  // Max pinecone upload is 2MB, vectors are around 12KB, metadata maximum 40KB
  // Therefore 2000KB / (12KB + 35KB) = 30 documents per upload
  let promises: Promise<PineconeStore>[] = [];
  const STEPSIZE = 30;
  for (let i = 0; i < documents.length; i += STEPSIZE) {
    if (promises.length > 0) {
      await Promise.all(promises);
      promises = [];
      console.log(`Uploaded ${i}/${documents.length} documents to pinecone.`);
    }
    promises.push(
      PineconeStore.fromDocuments(
        documents.slice(i, i + STEPSIZE),
        embeddingSettings,
        {
          pineconeIndex,
          namespace: namespace,
          maxConcurrency: 10
        }
      )
    );
  }

Would love to see this improved 🦾

Thanks for the Code, i had the same issue and been slamming my head against the wall the past few days to figure it out, but this works perfect! :)
Would you be interested chatting about Pinecone and Langchain integration on Discord or Linkin?

Sure! I'm not really active on discord but what's your username?

I think it is: dr.electric

CC @zackproser would this make sense to add?


Crashes when Loading story menu

the error is just this:
Invalid char 93 at position 53
nothing else

Sounds like you did your Week outside of the source code, there's a Week editor in game


VDB Combine in Flatten All mode shouldn't error with no second input

Before the collation re-write, the VDB Combine would silently do nothing if the second input was empty and Flatten All B into A was toggled.   The new drop down menu, however, errors in this case.  By testing the b iterator, we can avoid generating a pair in this case and restore the previous behaviour.
Bug: 103362

Okay, I clearly messed up this PR!


Uncaught error in app/src/item-registry:11 can halt atom loading core components

Not so much a bug as a suggestion:
line 11 of src/item-registry is the following:
 throw new Error("The workspace can only contain one instance of item #{item}")

If this error is triggered during startup, Atom stops loading core packages and just renders a blank screen. Opening up the console to see an error that just says "can't have more than one instance of item [object Object]" isn't really that helpful.
Would it be poor style to console the offending item itself, since it is an object? Maybe log the class, or what it is an instance of?
Furthermore, why structure the error message this way; when would the item not be an object? Why have a dynamic error message that will always compile the same, since an object can't be interpolated into the string?
I suggest either having a static message "can't have more than one instance of a pane object", or use something that can be interpolated correctly "can't have more than one instance of item #{item.class -> evaluates to paneObject or something}".
I added a console.log(item) to the compiled .js version of my app, and Atom was able to load, but this would have been easier to debug if I knew what the offending object was in the first place.

I was able to follow the stacktrace and figure it out (and get rid of the offending object) eventually

I think it came from my autosave script in init.coffee:
atom.getCurrentWindow().on 'blur', ->
  @promptForUntitled = atom.config.settings.saveOnBlur.promptForUntitled
  for pane in atom.workspace.getPanes()
    if @promptForUntitled
      pane.saveAllItems()
    else
      for item in pane.items
        if item.buffer
          if item.buffer.file
            pane.saveItem(item)

I was able to get a repro for the scenario
Repro steps:

Open Atom with a project.
Rlight Click Close pane in the tree-view,  Notice nothing happens
right click and remove the project.
Tree-view disappears,  Toggle it back open
right click and click add folder back
Tree view remains empty and if you open dev tools you see:

Uncaught (in promise) Error: The workspace can only contain one instance of item [object Object]
    at ItemRegistry.module.exports.ItemRegistry.addItem (C:\Users\bryan\AppData\Local\atom\app-1.19.2\resources\app\src\item-registry.js:11:21)
    at PaneContainer.didAddPaneItem (C:\Users\bryan\AppData\Local\atom\app-1.19.2\resources\app\src\pane-container.js:269:29)
    at PaneContainer.didAddPane (C:\Users\bryan\AppData\Local\atom\app-1.19.2\resources\app\src\pane-container.js:242:18)
    at Pane.module.exports.Pane.setContainer (C:\Users\bryan\AppData\Local\atom\app-1.19.2\resources\app\src\pane.js:162:32)
    at PaneContainer.setRoot (C:\Users\bryan\AppData\Local\atom\app-1.19.2\resources\app\src\pane-container.js:137:21)
    at PaneContainer.deserialize (C:\Users\bryan\AppData\Local\atom\app-1.19.2\resources\app\src\pane-container.js:58:16)
    at Dock.deserialize (C:\Users\bryan\AppData\Local\atom\app-1.19.2\resources\app\src\dock.js:374:30)
    at Workspace.deserialize (C:\Users\bryan\AppData\Local\atom\app-1.19.2\resources\app\src\workspace.js:417:40)
    at C:\Users\bryan\AppData\Local\atom\app-1.19.2\resources\app\src\atom-environment.js:1263:35


Upload files using Globbing patterns

It would be really useful to be able to do something like this
FtpUploadFiles("ftp://www.mysite.com/httpdocs/", "./artifacts/**");
To compliment it perhaps also
FtpDeleteFiles("ftp://www.mysite.com/httpdocs/");

Happy to pick this issue up as it something I could really use

Sounds good to me.

I will hold off on doing a new release until this is completed.  If you don't think you can get to it soon, just let me know and I will create a new milestone and do a release.

That makes sense, it will probably be January now.

Just thinking this one through, I'm not sure Globbing will work. The intent is to be able to upload multiple files in one go, for example a folder containing files required by a website. This is likely to contain nested directories the path of which need to be maintained on the server.
Using globbing, or any absolute file path means you also need to know the root directory to ensure the directory path is maintained on the server.
A simpler implementation of this is to add an UploadDirectory(string host, string targetDirectory), DirectoryPath sourceDirectory) function
FtpDirectory("www.mysite.com", "/httpdocs/", new DirectoryPath("./artifacts/"));


.download() re-downloads the same version even if it already exists on disk

The default behavior should be to use the local copy since versions are frozen in time. Perhaps we could provide a force=true option that deletes the existing one first to clear local changes.
But especially for large datasets this is wasting time and bandwidth when re-training.
Example from our YOLOv8 notebook:

@yeldarby note that the .download , accepts a parameteroverwrite that is set to True by default. Thus, everytime you downlod a dataset, it will overwrite your local one.
You can remove this behaviour by setting overwrite = False. Let me know if this helps

Should we make the default be False? When would you want to overwrite it? (Exported versions are immutable)

@yeldarby Please see https://github.com/roboflow/roboflow-python/pull/213.


fix: Use logging-only variables in release profile

Due to the logging format used, the existing format_args macro matches the logging macro args. It can be used to consume the variables used for logging, yet the output isn't used anywhere. Because this only happens in the release profile, rustc will remove the code completely.

pavel@machine:~/Work/serde-env$ cargo build --release
   Compiling serde-env v0.1.1 (/home/pavel/Work/serde-env)
    Finished release [optimized] target(s) in 0.47s

Great!


verifier: do not call finish() twice

web_util.echo_json_response(..) already calls finish. Calling it twice results in an exception.

Noticed the same problem while running "chaos monkey" tests (killing processes), a simple and necessary fix


html/template: "index" is undefined Error

I clone the todo webapp sample code and replace postgres  to  mysql ,  i made the same directory structure and filename, when i run the web app,  the database output the correct result, but it reports that it could not find the index.html template , app.yml  is also correct ,  when i change view_dir  to other name(not 'views') , the app will stop running,  so i do not know where i got wrong?
any help will be appreciated.
project structure
│  .gitignore
│  doc.go
│  info.exe
│  main.go
│
├─config
│      app.yml
│
├─controllers
│      todo.go
│
├─models
│      todo.go
│
├─static
│      todo.css
│
└─views
        index.html

app_name: utron web app
base_url: http://localhost:5000
port: 5000
verbose: true
static_dir: static
view_dir: views
database: "mysql"
database_conn: "svc:svc@/services?charset=utf8"

func (t *Todo) Home() {
	todos := []*models.Todo{}
	t.Ctx.DB.Order("created_at desc").Find(&todos)
	fmt.Println("%+v", todos[0])
	t.Ctx.Data["List"] = todos
	t.Ctx.Template = "index"
	t.HTML(http.StatusOK)
}

2016/01/06 10:21:38 >>INFO>> starting server at http://localhost:5000
%+v &{1 23423423 0001-01-01 00:00:00 +0000 UTC 0001-01-01 00:00:00 +0000 UTC}
2016/01/06 10:21:45 >>ERR>> html/template: "index" is undefined

I solved the bug,  it turns out  "utron" has a bug in view.go
int view.go line 83
		name = strings.TrimPrefix(name, "/") // case  we missed the opening slash

this line only consider the *nix system, when i run it on windows
the final name is equal to '/index' , which results the "index" template not found error.
hope fix this bug.

@eiffelqiu thanks for pointing this out, I will check it out.

Unfortunate I don't have a window machine. Although I believe the current implementation should just work fine.
I am closing this for now


OpenTelemtry support

Describe the feature
By default there is no way to add OpenTelemetry (otel) to the Nuxt app. It would be very important to support otel within Nuxt to get even more information of the app when running on any environment. Currently there is only one possible solution to add otel within Nuxt; building and require the instrumentation via Node.js:
$ npx nuxt build
$ node --require ./instrumentation.js ./output/server.js

I am pretty new to Nuxt, but the implementation could be as easy as adding another entrypoint in the webpack/vite files or a little more complex if Nuxt has serverless functions (which I haven't seen just yet).
Currently I am not sure if a nuxt-module will solve the problem, as it would be instrumented way to late, as far as I have understand the modules.
On the usage side of Next it looks like this, which could be an example of how the usage could look like for Nuxt.
There are existing discussions: https://github.com/nuxt/nuxt/discussions/23409, https://github.com/nuxt/nuxt/discussions/16498 and https://github.com/nuxt/nuxt/discussions/16006, which seem more like a "How to", rather than requesting a new feature.
Additional information

[X] Would you be willing to help implement this feature?
[ ] Could this feature be implemented as a module?

Final checks

[X] Read the contribution guide.
[X] Check existing discussions and issues.

For anyone seeing this, a lot of work is going into this behind the scenes, particularly on the Sentry + Nitro side.
Related: https://github.com/unjs/nitro/issues/2703.

I was able to get otel working using the node auto instrumentation module. I haven't dove deep into the configuration, or tried adding metrics to this but my start script in my package.json looks like this:
"node --require '@opentelemetry/auto-instrumentations-node/register' .output/server/index.mjs"

You can then use the environment variables to manage the configuration.

We've also had some success using OpenTelemetry with Nuxt. We've used this integration only with our own packages so it may not work everywhere, but perhaps it's helpful to some.

Has anyone been successful in getting the OpenTelemetry instrumentation file to load in development mode? We are looking to replace the logger (console.log and consola) with OpenTelemetry spans and attributes. I have it working when deploying as a stand-alone nodejs application (npm run build && node --import ./server/instrumentation.mjs .output/server/index.mjs  ), but I cannot get the instrumentation file to load when doing npm run dev.  I've tried adding it to the root nuxt.config.ts file which doesn't carry over to the runtime application.  I've tried importing it as a nitro plugin which doesn't do anything.  I don't know where I can inject the file so it gets loaded before the rest of the application.  Can we scaffold out a server.ts file that gets merged with the main one - like a layer?  Any suggestions would be greatly appreciated.

We've also had some success using OpenTelemetry with Nuxt. We've used this integration only with our own packages so it may not work everywhere, but perhaps it's helpful to some.

Your repo appears to be private.  I get a Not Found from your link.

Has anyone been successful in getting the OpenTelemetry instrumentation file to load in development mode? We are looking to replace the logger (console.log and consola) with OpenTelemetry spans and attributes. I have it working when deploying as a stand-alone nodejs application (npm run build && node --import ./server/instrumentation.mjs .output/server/index.mjs ), but I cannot get the instrumentation file to load when doing npm run dev. I've tried adding it to the root nuxt.config.ts file which doesn't carry over to the runtime application. I've tried importing it as a nitro plugin which doesn't do anything. I don't know where I can inject the file so it gets loaded before the rest of the application. Can we scaffold out a server.ts file that gets merged with the main one - like a layer? Any suggestions would be greatly appreciated.

After weeks of trying, I managed to find a way to get it to work - somewhat.  I was looking at the debugger setup for VSCode and it shows using nuxi to run the application.  I thought I'd give it a try for running the app in dev mode with the instrumentation file and it somewhat works. I verified the traces using Jeager.  I don't have all my backend traces, but I do have some showing up now.   Here's my current setup.
// package.json  - abbreviated to the pertinent pieces
{
   "scripts": {
    "dev": "pnpm -v; dotenv -e .env -- node --import ./server/instrumentation.mjs node_modules/nuxi/bin/nuxi.mjs dev",
    "prod": "pnpm -v; NODE_ENV=production dotenv -e .env.prod -- node --import ./server/instrumentation.mjs .output/server/index.mjs",
   },

  "dependencies": {
    "@nuxt/devtools": "^1.6.0",
    "@nuxt/kit": "^3.14.1592",
    // All the opentelemetry libraries needed for your app
    "nuxt": "^3.14.1592",
  },

  "devDependencies": {
    "dotenv-cli": "^7.4.3",
    "nuxi": "^3.15.0",
  },

  "packageManager"<EMAIL_ADDRESS>}


Debugger console doesn't allow editing command

When I'm in the debugging mode, I can use the debugger console to view variables, for example:
print(a)

And I can also use the up/down arrow key to select previous commands.
However, when I use the up arrow key to select a previous command (for example, print(a)), I cannot use left/right arrow keys or Backspace to edit print(a). I have to type everything manually all over again.
Is this a bug, or by design?
(Found this issue in both Spyder 3.x.x and Spyder 4.0.x)
Thanks!

Please upload a video (animated gif) to better understand what's happening here.

Please take a look:

@impact27, could you take a look at this one?

This looks like a bug with an old version of qtconsole. Could you update qtconsole and report back?

For reference: https://github.com/jupyter/qtconsole/pull/331

I upgraded qtconsole to the newest version, and the problem was resolved.


Add a variable that helps determine the font file directories

These variables will default to ./, but can be easily overridden. This will allow me to use Webpack to easily pack the Sass and all associated fonts.

Great, thanks!


registerOnCloseMethod() broken with newest patch

Hey Guys,
we found a new issue with the latest patch of ngdesktopui. (With the previous version it was working just fine)
Used Servoy-Version is 2<IP_ADDRESS>24
We are getting the following error:
Uncaught TypeError: this.callbackOnClose is not a function
http://<IP_ADDRESS>:8183/HVO2go/92060.090bf73099bcfe9b.js:1:1103726
TypeError: this.callbackOnClose is not a function

In our onSolutionOpen() we got the following:
if(isNGdesktop == 1 && !application.isInDeveloper()){
		plugins.ngdesktopui.registerOnCloseMethod(onCloseNG)
}

onCloseNG() looks like this:
function onCloseNG(){
	var lcTitel = "Exit"
	var lcMessage = "Do you really want to close the Solution?"
	var lcResponse = plugins.dialogs.showQuestionDialog(lcTitel,lcMessage,"No","Exit")

	if(lcResponse != "Exit"){
		return false
	}

	return true
}

Can you please look this up? You can test this really easy if u just copy the two code-parts into a testsolution.
Thanks in advance!
-Vik

ah that was overlooked
this commit;
https://github.com/Servoy/ngdesktopui/commit/e28e8d4e0506927694986141224cf8117f5d1239
makes this release really only run on Servoy 2024.03 which will be releases this month.


analytics: Store realm disk space used as a CountStat.

Posting for feedback before I commit to writing tests since I'm not sure if this is exactly what was meant in #29632
Will fix #29632 when completed.
The issue description explains this well:
We currently recalculate currently_used_upload_space_bytes every file upload, by dint of calling flush_used_upload_space_cache  on save/delete, and then immediately calling
user_profile.realm.currently_used_upload_space_bytes() in notify_attachment_update.  Since this walks the Attachments table, recalculating this can take seconds in large realms.
Switch this to using a CountStat, so we don't need to walk significant chunks of the Attachment table when we upload an attachment.  This will also give us a historical daily graph of usage.

Hm -- I was envisioning using do_increment_logging_stat every time a file was uploaded, which does an in-place update on the RealmCount row for the realm; checking it would be looking up the most recent value in the RealmCount table.  You're right that attachment archival complicates that, and we'd need to update restore_attachments_from_archive and delete_expired_attachments pretty carefully in order to get that consistent.
Having the daily cron job walk the Attachments table (limited by realm) to make sure we're fully consistent is I think fine -- the goal is mostly that we stop doing so on every message.

Hm -- I was envisioning using do_increment_logging_stat every time a file was uploaded, which does an in-place update on the RealmCount row for the realm; checking it would be looking up the most recent value in the RealmCount table. You're right that attachment archival complicates that, and we'd need to update restore_attachments_from_archive and delete_expired_attachments pretty carefully in order to get that consistent.
Having the daily cron job walk the Attachments table (limited by realm) to make sure we're fully consistent is I think fine -- the goal is mostly that we stop doing so on every message.

Hmm yeah, this could be done using do_increment_logging_stat too I think, as long as we're precise in incrementing or decrementing it in all the right places without leaks. For some reason I dismissed that and went towards a vanilla CountStat when thinking of this implementation.
So for clarification, is your suggestion to change this to towards do_increment_logging_stat, or to stick with the current approach at this point?

So for clarification, is your suggestion to change this to towards do_increment_logging_stat, or to stick with the current approach at this point?

To be explicit, I think this approach is fine, as long as we add the index that Tim mentioned -- the Attachments table is small enough that doing that sequential scan on it daily is fine, as long as the incremental updates to the count can use an indexed query to not have to do the sequential scan there.

still finishing last comments and awaiting some automated tests

@timabbott @alexmv Made the requested changes and pushed with tests added, so I'll tag with integration review.
Also just flagging that I posted in https://github.com/zulip/zulip/pull/29789#discussion_r1594680431 about why doing the subtractions for deleted attachments is harder than suggested due to the codepath of direct file deletions via API.

Cool, yeah, this looks great, merged, thanks @mateuszmandera! Glad to have this silly performance issue checked off.


Implement Cheating Detection

Describe the aim of this enhancement
Prepare endpoint for the implementation of the cheating detection model
Describe the solution you'd like

[ ] Add model analysis to the existing attempt-crud method get_per_question_summary_by_attempt()

Additional context

[ ] Add inactive duration computation method to quiz action crud

@ralf-t if may repo ka pala nung ml analysis mo pwede ko iadd sa readme section

Baka di na ko gumawa ng further analysis aside sa performance metrics. Baka mag raise pa ng further questions eh lmao. Plus it's beyond scope


Heading attributes

Heading attributes
User Story
AS A marketing agency
I WANT a codebase that follows accessibility standards
SO THAT our own site is optimized for search engines
Acceptance Criteria
GIVEN a webpage meets accessibility standards
WHEN I view the heading attributes
THEN they fall in sequential order

I changed the h2 in the footer to h4, so the heading attributes fall in sequential order.


HDFS-15759. EC: Verify EC reconstruction correctness on DataNode (#2585)

(cherry picked from commit 95e68926750b55196cf9da53c25359c98ef58a4f)
(cherry picked from commit 6cfa01c905ca422c3c6b2d1d735dd16ee08b4fb4)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/erasurecode/StripedReconstructor.java
Change-Id: Id5eb928b8155f3fe836f0e28754021f908128a75
(cherry picked from commit ef2c589b25397a5c1571c0740c32117620962c70)
NOTICE
Please create an issue in ASF JIRA before opening a pull request,
and you need to set the title of the pull request which starts with
the corresponding JIRA issue number. (e.g. HADOOP-XXXXX. Fix a typo in YYY.)
For more details, please see https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute

This is the branch-3.1 backport. Same as the branch-3.2 backport (#2868)

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
9m 21s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
markdownlint
0m  0s

markdownlint was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 5 new or modified test files.

_ branch-3.1 Compile Tests _

+0 :ok:
mvndep
3m 36s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
24m 10s

branch-3.1 passed

-1 :x:
compile
0m 59s
/branch-compile-root.txt
root in branch-3.1 failed.

+1 :green_heart:
checkstyle
2m 19s

branch-3.1 passed

+1 :green_heart:
mvnsite
2m 24s

branch-3.1 passed

+1 :green_heart:
javadoc
1m 59s

branch-3.1 passed

-1 :x:
spotbugs
1m 57s
/branch-spotbugs-hadoop-common-project_hadoop-common-warnings.html
hadoop-common-project/hadoop-common in branch-3.1 has 2 extant spotbugs warnings.

-1 :x:
spotbugs
2m 43s
/branch-spotbugs-hadoop-hdfs-project_hadoop-hdfs-warnings.html
hadoop-hdfs-project/hadoop-hdfs in branch-3.1 has 4 extant spotbugs warnings.

+1 :green_heart:
shadedclient
15m 51s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 23s

Maven dependency ordering for patch

-1 :x:
mvninstall
0m 27s
/patch-mvninstall-hadoop-common-project_hadoop-common.txt
hadoop-common in the patch failed.

-1 :x:
mvninstall
0m 33s
/patch-mvninstall-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch failed.

-1 :x:
compile
0m 44s
/patch-compile-root.txt
root in the patch failed.

-1 :x:
javac
0m 44s
/patch-compile-root.txt
root in the patch failed.

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
2m 11s

the patch passed

-1 :x:
mvnsite
0m 29s
/patch-mvnsite-hadoop-common-project_hadoop-common.txt
hadoop-common in the patch failed.

-1 :x:
mvnsite
0m 34s
/patch-mvnsite-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch failed.

+1 :green_heart:
xml
0m  2s

The patch has no ill-formed XML file.

-1 :x:
javadoc
0m 51s
/results-javadoc-javadoc-hadoop-common-project_hadoop-common.txt
hadoop-common-project_hadoop-common generated 3 new + 0 unchanged - 0 fixed = 3 total (was 0)

-1 :x:
javadoc
0m 52s
/results-javadoc-javadoc-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs-project_hadoop-hdfs generated 4 new + 1 unchanged - 0 fixed = 5 total (was 1)

-1 :x:
spotbugs
0m 28s
/patch-spotbugs-hadoop-common-project_hadoop-common.txt
hadoop-common in the patch failed.

-1 :x:
spotbugs
0m 36s
/patch-spotbugs-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch failed.

-1 :x:
shadedclient
4m  2s

patch has errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
0m 28s
/patch-unit-hadoop-common-project_hadoop-common.txt
hadoop-common in the patch failed.

-1 :x:
unit
0m 35s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch failed.

+1 :green_heart:
asflicense
0m 25s

The patch does not generate ASF License warnings.

76m 26s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2869/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2869

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell markdownlint xml

uname
Linux 52016aa41b29 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.1 / a716fd2eb6bb9e2a00d9958d1e5548288a7eb814

Default Java
Private Build-1.8.0_282-8u282-b08-0ubuntu1~18.04-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2869/1/testReport/

Max. process+thread count
399 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2869/1/console

versions
git=2.17.1 maven=3.6.0 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.


UseQuery causes the page to loop.

Describe the bug
when  i add useQuery currentUser ,the page is refresh,and  queryCurrentUser method  loop execute
MyHeader component is only has this useQuery,  so it caust bug
It's hard to reproduce. Please help me to see if I use it incorrectly.

I list all the places where useQueryCurrentUser is used

// app.tsx
import { useCurrentUserQuery } from './hooks/query'
 const { data } = useCurrentUserQuery({
    enabled: false,
  })

// I think enabled:false allows me to get the latest data.
For example, if a request has been made elsewhere to modify the data, it will be executed again, which queryClient.getData () can't do, am I using it correctly?

finally is login page, i think I think we can get out of here

Your minimal, reproducible example
https://www.typescriptlang.org/play
Steps to reproduce
when i add queryCurrentUser to source code
Expected behavior
it works well
How often does this bug happen?
None
Screenshots or Videos
No response
Platform
macos chrome latest
TanStack Query version
"@tanstack/react-query": "^4.19.1",     "@tanstack/react-query-devtools": "^4.22.0",
TypeScript version
No response
Additional context
No response

queryClient is

This problem can be fixed by adding stameTime, so is this caused by react-query 's bug?
useQuery(currentUserQueryKey, () => axios.get('/currentUser'), {
    staleTime: 2000,
  })

please show a minimal reproduction instead of a bunch of screenshots. We can reopen once we've confirmed that there is an issue on react-query's side.

As I said, it's hard to reproduce, if it's easy, I don't mind giving you a demo, and for open source projects, I demo all the time,
The point is: you wrote the project, you know the internal logic very well, I think by screenshots, you can also roughly know what the mistakes are
And I asked if there was anything wrong with the way I was using it, and you didn't answer

Usually with screenshots, the most important parts are missing. I don't know what's wrong in your code because I can't see it in its entirety. Why is it "hard to reproduce"? Take a codesandbox, start from scratch. Add code from your application until things break. Then you know which part is wrong. Or, remove code from your application until things work. I've even written a blogpost on this topic because it's pretty tiring: https://tkdodo.eu/blog/how-can-i#asking-good-questions
I think you're missing a lot of due diligence on your part. It's not my responsibility to debug your application for you. If you're opening an issue in an open source project, it's to let us know that we have to fix something. Everything else is a discussion. This in the contribution guidelines. Did you read them?
I don't really know why I'm even doing this, but what are you doing with isFetching in BasicLayout? It could be that you're just un-mounting and re-mounting components in a loop, and background refetches because of default staleTime zero will get your query into isFetching state again. But I'm just guessing here, because you're not showing the full picture. And no, more screenshots is not the way to go please. We've had issues about this behaviour before - did you take the time to search for closed issues or resolved discussions? like this one:

https://github.com/TanStack/query/issues/2357


Improve Cloudfront notes regarding private buckets

Proposed changes
Added some missing details about setting up a Cloudfront distribution for Docker distribution, when leveraging a private S3 bucket.

@dmcgowan can you take a look?

@ddebroy PTAL

Looks good but someone from DTR who is more familiar with this should officially approve.

@ddebroy can you please nominate someone?

Hey @vikstrous can you take a look at this or point to the right person?


Fixed URLHelper on https as no port is needed

Issue
The URL Helper adds the port 443 if the website is served via https
Solution
I added a condition to not include the port if the page is served via https
Impact
Should have none
Usage Changes
No

Coverage remained the same at 94.197% when pulling 5d80cb5c89dece8bf7ebee53f1d3d4de0d3d7f8e on webkinder:webkinder_port_fix into<PHONE_NUMBER>79568a8def46b7141d7a1da1cb6c94 on timber:master.

Perfect @jarednova . Thanks for merging.


Device Rotate Support

Hi, great job making this library public. i love it.
I only have faced one problem.
when using this with device rotation enabled. its not resizing correctly.
How can this be fixed?
check this for more info: (used in the example with enabled rotate left,right)
https://streamable.com/phl39

@Alexookah
Thank you for reporting the problem.
It may be need to recalculate for animation when rotating the screen 🤔
I will check the problem.

i only had some progress with this... when i used gemini inside a tableviewcell.
i implemented some rotation reload table when device rotates. and it seems that gemini is also reloading. maybe this helps somehow to implement some collectionView.invalidateLayout()???

any news about this?
p.s. i really think this is a great library.

i finally somehow resolved my issue by doing this:
override func layoutSubviews() {     super.layoutSubviews()     collectionView.setContentOffset(CGPoint(x: CGFloat(lastPageScroll) * collectionView.frame.width, y: 0), animated: true) }
what do you think?

I have this problem too. :(

I got same problem too. I need hel in this issue rapidly @shoheiyokoyama

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
Congratulations! You've won a share of the $500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

Don't miss out on your $1500 in BNB! Act now to secure your tokens.

Congratulations! You've won a share of the $500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

Don't miss out on your $1500 in BNB! Act now to secure your tokens.
Winners: @jamosaur, @JustinLivi, @portellaa, @kreja, @Sheraff, @Rynaro, @niks660097, @enjaycheng, @Connlaio, @Wim24, @KyleScharnhorst, @ruevaughn, @jiy1012, @Motun, @wiiler, @pandazwb, @brunneis, @Apathetictranscendentalist, @HectorIFC, @chaopengio, @jeanlucaslima, @rahamohebbi, @gdbtek, @tim-cools, @zj8487, @li-yuan, @HazemNoor, @sheng9527, @islamCodehood, @jingtonghuai, @merlinyang521, @leon37084762, @lzwjava, @zhzane, @zhaixuepan, @kinokow, @leebrian, @voidguy, @DeanYQ, @icesnaker, @piaohailin, @omar408, @wanderljw, @extdog, @binacs, @iobaixas, @expressDESERT, @sampleblood, @raulzr, @zxmarcos


Removed .NET Core 3.1 tests and lucene-cli support for it.

.NET Core 3.1 will reach end of life in 45 days on Dec 13, 2022 so it was removed.

Wow! @NightOwl888  you have more commits on this PR then I do.  Looks like I only got the party started.  I appreciate you buddy!

Yea, it took some work to solve some issues:

Pre-pack the lucene-cli tool prior to the test, which is much faster than having the test runner do it.
Set the Azure DevOps environment variable so the tests know where to look for the .nupkg file.
Bump the Microsoft.Extensions.Configuration version from 3.1.0 to 3.1.6. Now the tests work both for lucene-cli and for the net461 target.


Proposal for line wrap - ^[[7h and ^[[7l (private)

These changes provide support for disabling auto line wrap which is
currently default to on.
'tput rman' will now disable auto line wrap and alacritty will now not
automatically wrap lines.
'tput sman' will now (re)enable auto line wrap and alacritty will now
automatically wrap lines once it reaches the end of the line.
My testing showed this to work the same as gnome-terminal.
I should note that simply having ^[[7h or ^[[7l in a recording does not
enable and disable line wrapping. This is the same behavior as
gnome-terminal and xterm. Those cape codes come through as private
which are not handled yet. I behave this is the correct behavior.
** I fixed vim to trim trailing whitespace on save, just about every line I committed in the past had trailing white space. This is also corrected here. **
Fixes #282

This looks great; thanks!


Fixed Android Login is Not Working #205

Resolved token not return.
The statement this._user.accessToken = token; is not working.

Can you do like https://github.com/devfd/react-native-google-signin/pull/180 instead?
I will merge your PR then.

I fixed it in https://github.com/devfd/react-native-google-signin/commit/25b197559509ae267168ba9013cc23e6e2598c7c.
Thanks for the PR anyway!


Remove all instances of click from project.py

The issue
Swap click for rich library
The fix
replace click.echo and click.secho calls in:
pipenv/project.py
Notes
continuation of click to rich migration
@oz123

need to rename the branch


About batch processing using SPIRED-Fitness

Dear author @Gonglab-THU,
I'm trying to predict a large batch (1000) of variants using your tool. However, currently it can only be predicted one by one. Is it possible to predict it by batch?
I looked into your model, it seems that this method was designed for single sample prediction? Seems a lot of changes has to be done to enable batch processing. Is it true?

Dear charlesxu90,
Thank you for using SPIRED-Fitness! We are sorry about that SPIRED-Fitness’s code only supports inference with batch =1, currently. SPIRED-Fitness was designed and trained for single sample (batch = 1). Here are two possible solutions for your consideration:
(1) As mentioned above, you wish to include 1000 mutated sequences in one batch. Are these 1000 variants from the same wild-type protein? If so, you only need to input one wild-type protein sequence (batch=1). This is because, in principle, SPIRED-Fitness only requires input of one wild-type (original) sequence to predict ranking relationships of all possible single and double mutations from the wild-type (original) protein.
(2) Since SPIRED-Fitness requires the usage of ESM2 and ESM-1v during runtime, the memory consumption will be significant when the batch size is 1000, and A100 80G GPUs may not meet the memory requirements. If you only need to inference SPIRED-Fitness, you might consider running multiple scripts to sequentially perform prediction on these samples (considering SPIRED-Fitness’s fast speed).
Thank you!

Dear @AlanYinghuiChen,
I want to run it with a batch size of 100. My memory can suit the running of EMS2 and ESM-3b. However, the running of SPIRED-Fitness model is the bottleneck, which takes too long when run one by one. I hope to enable parallel running of this part.
Best regards!


Fix VK_EXT_frame_boundary fake support

Fix VK_EXT_frame_boundary fake support at device creation at capture and replay time when VkPhysicalDeviceFrameBoundaryFeaturesEXT is present by removing it before the actual call to the driver (and adding it again at capture time to not have a visible difference from user's perspective)

CI gfxreconstruct build queued with queue ID 315625.

CI gfxreconstruct build # 5488 running.

CI gfxreconstruct build # 5489 failed.

CI gfxreconstruct build queued with queue ID 316623.

CI gfxreconstruct build # 5508 running.

CI gfxreconstruct build queued with queue ID 316700.

CI gfxreconstruct build # 5509 running.

CI gfxreconstruct build # 5509 failed.


Live

test PR

Docs Build status updates of commit 64c1cf2:
:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

test PR


Error: Unable to extract uploader ID

Checklist

[x] I'm asking a question
[x] I've looked through the README and FAQ for similar questions
[x] I've searched the bugtracker for similar questions including closed ones

Question

I'm using the latest version but still can't download videos. It gives the error that I mentioned in the title. Tried with different videos. How can I fix this?

Same here.

I have seen the same error
$ youtube-dl zbWTqY4aWy0 --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['zbWTqY4aWy0', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.06.06
[debug] Python version 3.9.2 (CPython) - Linux-5.10.0-23-amd64-x86_64-with-glibc2.31
[debug] exe versions: ffmpeg 4.3.6-0, ffprobe 4.3.6-0, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] zbWTqY4aWy0: Downloading webpage
[youtube] zbWTqY4aWy0: Downloading m3u8 information
[youtube] zbWTqY4aWy0: Downloading MPD manifest
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py", line 1776, in _real_extract
    'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
  File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 1012, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

If I specify URL https://www.youtube.com/watch?v=zbWTqY4aWy0 or https://www.youtube.com/live/zbWTqY4aWy0?feature=share as first parameter, I see the same. Video is available in Google Chrome.
Debian 11 "bullseye", youtube-dl is installed via apt.
I tried to uninstall that version, install new 2021.12.17 via pip as described at https://github.com/ytdl-org/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl and then run installed youtube-dl — without any success.

You're reporting a bug, not asking a question, but you shouldn't be, because it's a known issue in #30839 and also supposedly

[x] I've searched the bugtracker for similar questions including closed ones

Use the right template when reporting a bug.


[WFLY-17183] Fix the description of the filesystem-realm update-key-p…

Jira: https://issues.redhat.com/browse/WFLY-17183

Hi @bstansberry @fjuma could you please review this PR ?

Hi @fjuma I am facing some issue while squashing the commits in my local repo.
I think repository's manager can squash all the commits in a pull request into a single commit by selecting "Squash and merge" on a pull request.
It will be helpful if you could do this.

Hey @anilabhabaral, it looks the main branch was merged into yours, instead of the other way around. You'll need to delete the merge commit, and use an interactive rebase to squash the existing commits into a single one:

Checkout to your branch, and run  git reset HEAD~1 --hard, which will delete the merge commit. The "hard" option also deletes the changes that were staged by the reset, so this will give you a clean slate.
Now checkout the main branch, and run git pull to get the latest changes, before switching back to your branch.
Run git rebase -i main to start the interactive rebase onto the main branch. This will open a file to modify the commits in (you can set the editor with git config --global core.editor <editor_command>)

The screen that appears will explain how to properly modify the commits. The oldest commit is at the top, so replace pick in the second commit and down with fixup to squash all the commits into the first one, and discard the message.
Save the file and close it, the rebase will execute.

Once the squash and rebase is complete, run git push -f to push the rewritten branch history.

A quick summary of commands:
git checkout WFLY-17183
git reset HEAD~1 --hard

git checkout main
git pull
git checkout WFLY-17183

git rebase -i main

# replace `pick` with `fixup` in all but the first commit, save and exit the file

git push -f

Let me know if you have any questions.

Thanks @cam-rod , @fjuma for your help!

Hello @bstansberry could you please check whether this PR is ready for merge ?

@anilabhabaral Can you use 'git commit --amend' and fix the commit message, i.e. just the WFLY-17183 line? The current first line is what people reading history see and it's not useful info. Thanks.
Please ping @fjuma when ready; she is a WildFly merger and can merge it.

Thank you @bstansberry . I modified the commit message.
Hello @fjuma could you please check whether this PR is ready for merge ?

Thanks @fjuma


MarkdownLinkConceal can't work once EasySessionLoad

I have the following vimrc to conceal MarkdownLink. It can work before use vim-easysession.

vim-init\ftplugin\markdown.vim:  setlocal conceallevel=2
vim-init\init\keymaps.vim:

augroup MarkdownLinkConceal
    autocmd!
    autocmd FileType markdown
        \ syn region markdownLink matchgroup=markdownLinkDelimiter
        \ start="(" end=")" keepend conceal contains=markdownUrl
    autocmd FileType markdown
        \ syn region markdownLinkText matchgroup=markdownLinkTextDelimiter
        \ start="!\=\[\%(\_[^][]*\%(\[\_[^][]*\]\_[^][]*\)*]\%( \=[[(]\)\)\@="
        \ end="\]\%( \=[[(]\)\@=" nextgroup=markdownLink,markdownId skipwhite
        \ contains=@markdownInline,markdownLineStart concealends
augroup END

However, once vim-easysession is enabled, the function to conceal markdown links stops working.
This is my vim-easysession setting:
    Plug 'jamescherti/vim-easysession'
    let g:easysession_auto_load = 1
    let g:easysession_auto_save = 1

I don't know if you have encountered a similar issue?

If I disable vim-easysession plugin, and use :mksession and :so, the augroup MarkdownLinkConceal can work.

Hello @VimWei ,
Thank you for reporting this issue.
Can you try the following:

Disable auto save and auto load in your vimrc:

Plug 'jamescherti/vim-easysession'
let g:easysession_auto_load = 0
let g:easysession_auto_save = 0

Restart Vim.

Save the session manually:

:EasySessionSave

Restart Vim

Then, load the session manually:

:EasySessionLoad

Is the function to conceal markdown still working when you load the session manually?

Could you try the following

Result: the function to conceal markdown links can't work.

Would you be able to attach the ~/vimfiles/session/main.vim file and the easysession file located in the directory ~/.vim_easysession/ to your comment so that I can compare them?

easysession.zip
mksession.zip

I have just pushed a fix. Could you please try again with the latest version of EasySession from the main branch?

Update and restart gvim:

    let g:easysession_auto_save = 1
    let g:easysession_auto_load = 1

Random open two files.

Result:  the function to conceal markdown links sometime can work, but sometime can't work. I haven't found a pattern.
Moreover, gVim always enters 'visual' mode, making it unusable.

What's in your sessionoptions?
:set sessionoptions?

  sessionoptions=blank,buffers,curdir,folds,help,options,tabpages,winsize,terminal

Does replacing it with the following fix the issue:
set sessionoptions=blank,curdir,folds,help,tabpages,unix,slash,winsize,terminal

(sessionoptions must be declared before loading easyssion.)

After configuring sessionoptions, the following improvements were observed:

The problem where gVim constantly enters 'visual' mode and becomes unusable has been resolved.
However, the issue with concealing markdown links persists.

For MarkdownLinkConceal, try declaring it both before and after loading EasySession to see if it makes any difference.

How?  I use command :EasySessionLoad.
Is it mean:

    " this is before
    let g:easysession_auto_save = 1
    let g:easysession_auto_load = 0
    set sessionoptions=blank,curdir,folds,help,tabpages,unix,slash,winsize
    " this is after

More feedback: compare mksession and easysession

Config and restart gvim:

    Plug 'jamescherti/vim-easysession'
    let g:easysession_auto_save = 1
    let g:easysession_auto_load = 0
    set sessionoptions=blank,curdir,folds,help,tabpages,unix,slash,winsize

Open some files, and use colorscheme A.

mksession! ~/vimfiles/session/main.vim

Restart gvim.

Result: gvim would change to colorscheme B.
FYI: https://github.com/VimWei/vim-init/blob/master/init/colorstyle.vim

so ~/vimfiles/session/main.vim

Result: gvim restore session, but still use colorscheme B.

:EasySessionLoad

Result: gvim restore session, and restore colorscheme to A.
Does this feature affect the aforementioned issue?

Great, all the issues have been resolved.
Thanks!

I'm glad to hear that everything is working smoothly now! If you have any more questions or need further assistance in the future, feel free to reach out.
I modified the default values of the following variables to provide the user with the flexibility to decide whether to save the color scheme and the GUI font:
" Default values from now on:
let g:easysession_save_guifont = 0
let g:easysession_save_colorscheme = 0


Registration Redirect

Describe the bug
Currently when a user registers for the app, it does not redirect them to the sessions page.
To Reproduce
Steps to reproduce the behavior:

Run rpm start on local
Click Register
Register for the site

Expected behavior
The site should redirect the user to the sessions page.
Screenshots
N/A
Desktop (please complete the following information):

Browser: Chrome

Additional context
N/A

Fixed with PR#6. Big win @emilyflo. Closing issue.


logistic-regression-example

Please use the form below, leaving the prefilled data to help us. Thank you.
Page link: logistic-regression-example
Document link: logistic-regression-example.md
My Issue/Suggestion
All the links to the Logistic regression example in the in the Mendix ML Kit Demo Respository . are not working.

@chelsealeeveenstra thanks very much for opening this issue, I'll take a look!

@chelsealeeveenstra Sorry about that, I have updated the links to point to the new repo in PR #6041 . I will check everything again and then close this issue once I've verified that all are OK. Thanks for reporting this and helping improve our documentation!

It’s working now! Thank you 😊
Met vriendelijke groet,
@.***
[Afbeelding met logo  Automatisch gegenereerde beschrijving]
Make the future happen
@.*** https://www.capegroep.nl/ @.*** https://www.facebook.com/capegroep/ @.*** https://www.linkedin.com/company/capegroep
Chelsea Veenstra
Consultant
Mobiel:

06-18351355
Mail:
<EMAIL_ADDRESS>Website:
www.capegroep.nlhttp://www.capegroep.nl/
@.***
Van: Johanna Hemminger @.>
Verzonden: vrijdag 12 mei 2023 09:50
Aan: mendix/docs @.>
CC: Chelsea Veenstra @.>; Mention @.>
Onderwerp: Re: [mendix/docs] logistic-regression-example (Issue #6040)
@chelsealeeveenstrahttps://github.com/chelsealeeveenstra Sorry about that, I have updated the links to point to the new repohttps://github.com/mendix/mlkit-example-app in PR #6041https://github.com/mendix/docs/pull/6041 . I will check everything again and then close this issue once I've verified that all are OK. Thanks for reporting this and helping improve our documentation!
—
Reply to this email directly, view it on GitHubhttps://github.com/mendix/docs/issues/6040#issuecomment-1545326926, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7ZIACYSOQTIAOL5C4GC2KTXFXTUFANCNFSM6AAAAAAX7EF5CA.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>


FIX-#4996: Evalute BenchmarkMode at each function call.

Signed-off-by: mvashishtha<EMAIL_ADDRESS>What do these changes do?
FIX-#4996: Evalute BenchmarkMode at each function call.

[x] commit message follows format outlined here
[x] passes flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
[x] passes black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
[x] signed commit with git commit -s
[x] Resolves #4996
[x] tests added and passing
[x] module layout described at docs/development/architecture.rst is up-to-date
[x] added (Issue Number: PR title (PR Number)) and github username to release notes for next major release

@mvashishtha could you add a test?

@anmyachev I can test that switching benchmark mode on or off doesn't break anything, but do you have any ideas about how to test whether benchmark mode is actually making code async? I can't think of any way to do that that doesn't require some kind of infinite loop in a remote task, and that's not good testing practice.

A sign of asynchronous code is the absence of a wait_partitions call. If instead of this function we make a mock object, then it will be possible to check whether this function was called.


Static Data

Hi, i'm having problem with the static data - getChampions
when i start my node server, and try to call the API, it's return ok
but if I refresh the page, it's return null, and in my debug console, they send me a message of cache.
this problem is with cache ? can you help me ?

@jomberna
Can you show me your initialization code (remove the API key) as well as your router code?

var router = express.Router();
var KindredAPI = require('kindred-api')
var REGIONS = KindredAPI.REGIONS
var debug = true
var k = KindredAPI.QuickStart('API-KEY', REGIONS.NORTH_AMERICA, debug)
router.get('/', function(request, response, next) {
const config = { options: { champListData: 'all' }, region: REGIONS.NORTH_AMERICA }
k.Static.champions(config).then(data => response.send(data)).catch(error => response.status(400).send(error))

});
module.exports = router;

console show this

@lucasbordini
I noticed you were using 2.0.31. Upgrade to 2.0.34;
https://github.com/ChauTNguyen/kindred-api/blob/master/CHANGELOG.md
The issue is fixed in 2.0.32! :)

fixed, thanks


[Proposal] Default rheology names to nothing

I was too quick with the fix related to the rheology names in #122.
Problem
Strings are not isbits and converting them to a isbits representation that is not an array is type unstable:
str2char(str::String) = ntuple(i->str[i], length(str))

In [18]: @code_warntype str2char(str)
MethodInstance for str2char(::String)
  from str2char(str::String) @ Main c:\Users\albert\Desktop\GeoParams.jl\GeoParams.jl\rot.jl:86
Arguments
  #self#::Core.Const(str2char)
  str::String
Locals
  #36::var"#36#37"{String}
Body::Tuple{Vararg{Char}}
1 ─ %1 = Main.:(var"#36#37")::Core.Const(var"#36#37")
│   %2 = Core.typeof(str)::Core.Const(String)
│   %3 = Core.apply_type(%1, %2)::Core.Const(var"#36#37"{String})
│        (#36 = %new(%3, str))
│   %5 = #36::var"#36#37"{String}
│   %6 = Main.length(str)::Int64
│   %7 = Main.ntuple(%5, %6)::Tuple{Vararg{Char}}
└──      return %7

Solution for GPUs
The only solution I could find is to use an Array instead of a tuple
xc = [Char(x) for x in x]

so that xc_gpu = CuArray(xc) works in CUDA kernels (same for ROCArrays).
Proposal
Default all the names to Name=nothing (including those rheologies in the databases), and let the user fill the name with the appropriate value type. And document this issue somewhere in the docs.

I'm not sure I like this. What's wrong with the previous approach of transforming the String to Vector{Uint}? One can perhaps use StaticArrays and encode the length?

Vector{Uint} is fine, but needs to be moved to a GPU Array to work with them. Meaning that we need to add CUDA/AMDGPU as dependencies if this needs to be done internally.
The original approach was to convert them to a NTuple{N, Char} and I'm afraid StaticArrays won't help here. The problem is the same, the length of the string is not known at compile time.

Vector{Uint} is fine, but needs to be moved to a GPU Array to work with them. Meaning that we need to add CUDA/AMDGPU as dependencies if this needs to be done internally.
The original approach was to convert them to a NTuple{N, Char} and I'm afraid StaticArrays won't help here. The problem is the same, the length of the string is not known at compile time.

Can we not simply add N to the type definition of the structs? The strings for the different structs is known when we construct them.

☝ does the trick. I close this PR and revert the changes back to its original form.