vplus not downloading - 403

This is something really weird. I have multiple servers running using this docker image build, some of them today and also yesterday started fine doing a fresh installation, but some server sometimes cannot properly download vplus and gets a 403 returned for the exact same download that succeeds at another server:
valheim_1  | Jun  2 10:10:51 /supervisord: valheim-updater INFO - Valheim Server is already the latest version
valheim_1  | Jun  2 10:10:51 /supervisord: valheim-updater DEBUG - [57] - ValheimPlus is enabled - running updater
valheim_1  | Jun  2 10:10:51 /supervisord: valheim-updater curl: (22) The requested URL returned error: 403
valheim_1  | Jun  2 10:10:51 /supervisord: valheim-updater FATAL - Error: could not retrieve ValheimPlus release info from Github API
valheim_1  | Jun  2 10:10:51 /supervisord: valheim-updater DEBUG - [57] - Writing file to start Valheim server
valheim_1  | 2021-06-02 10:10:51,933 INFO spawned: 'valheim-server' with pid 157
valheim_1  | Jun  2 10:10:51 /supervisord: valheim-server DEBUG - [157] - Valheim Server is not yet downloaded - waiting
valheim_1  | Jun  2 10:10:58 /supervisord: valheim-server DEBUG - [157] - Valheim Server is not yet downloaded - waiting

403 means Github has blocked your IP from making any more requests. I believe the limit is 60 requests per hour. Each container with V+ enabled does 4 requests per hour by default. This can be changed using the UPDATE_CRON.

So, you would recommend to do less frequent updates? I think anyways doing it like once a day might be enough. We anyways usually update the v+ dll manually via scp action from out git that manages the config and plugins.

Yes, although 60 per hour means you could run 15 servers in parallel before running into that limit. That said if you restart the container several times that can also add up. I've added a check now that makes it so that when the mod updater fails the entire valheim-updater script fails and does not try to start the server which currently leads to the issue you're seeing in #363


use totalSupply instead of total_supply

The state variables and the function variables should be camelCase.
https://github.com/slockit/smart-contract/pull/20

And what about the contract name? Standard_Token -> StandardToken

Tests pass fine on this change. Merged.
I haven't give enough thought towards the style guide, but this makes sense. If it is followed, then it should be StandardToken indeed. http://solidity.readthedocs.org/en/latest/style-guide.html


Question: Regenerate everything

In which order do I have to execute commands to regenerate everything?
regenerate:category:url for all stores?
regenerate:category:path for all stores?
then regenerate:product:url for all stores?

Maybe we should add this to the readme?

Unless you're running a very old Magento version (<=2.1), you don't need the path commands. See https://github.com/elgentos/regenerate-catalog-urls#whats-the-difference-between-url_key-and-url_path
Otherwise, first urls, then paths, because;

The url_path is generated by taking the url_key and adding the suffix

We are at 2.4.3 but I believe we have a lot of trash in the database from old version :-(

Ah, we can remove the paths? like from the EAV table?

Then I'd suggest cleaning up the database first. Garbage in is garbage out.

@amenk yes, see the faq

@peterjaap can you confirm, also the category's url_paths should be deleted?
Had this discussion with @hostep https://github.com/baldwin-agency/magento2-module-url-data-integrity-checker/issues/14#issuecomment-992592680
And on our staging where I deleted both, category's + product's url_path magento still seems to write them, but not all (after delete + rebuild I see 59 rows for
select * from catalog_category_entity_varchar WHERE attribute_id = (SELECT attribute_id FROM eav_attribute WHERE attribute_code = 'url_path' AND entity_type_id = 3);

while before we had 5623 rows
We did not spot other url problems though...
We have 1415 categories and 5 stores.

@amenk: Magento always writes the url_path for categories to the database, but never for products.
The url_path for a category consists of all the parent categories url_key's + its own url_key, all concatenated with a /.
The url_path for products was a left over from Magento 1 that for some reason didn't get removed in Magento 2 and when it's filled up will cause issues when you try to update the url_key of a product. So it's best to delete all of them.
Hope this makes it a bit more clear.
@peterjaap: maybe you should update the title What's the difference between url_key and url_path? to What's the difference between url_key and url_path for products? on the FAQ section of the README file? I believe it causes a bit confusion because @amenk seems to think it applies to category entities as well.
Also the section underneath Why are my category rewrites for a non-default storeview in the default storeview's language? is very incorrect in my opinion, you'd probably best delete it, don't you think?

@hostep so you're saying the url_path values are still used for categories? Apparently I decided otherwise when I wrote that README but I could indeed be very wrong. Do you have a code reference to see where/how it is used?

Yes exactly.
Code reference, hmm, this class sounds related probably: https://github.com/magento/magento2/blob/7996e89bc5420220eae5d8b755e6e0f839cbd94a/app/code/Magento/CatalogUrlRewrite/Model/CategoryUrlPathGenerator.php
But the easiest way to tell is:

Setup a clean Magento
Using the backoffice: create one product and create one category
Inspect the catalog_product_entity_varchar and catalog_category_entity_varchar database tables
Notice that for the product, no entry was created for the url_path attribute, and for category an entry did get created

Also, don't forget that this very module has a command to regenerate url_path's for category's: bin/magento regenerate:category:path 😉

The fact that that command is there doesn't say anything because the bin/magento regenerate:product:path used to be there as well ;)
I updated the readme accordingly :) https://github.com/elgentos/regenerate-catalog-urls/commit/ed2ed3729027238192a80f0680f0828c507747fc

Okay great, thanks! 🙂

For the record concerning my original question:
This does not fix all URLs:
regenerate:category:url for all stores?
regenerate:category:path for all stores?
regenerate:product:url for all stores?

This does:
regenerate:category:path for all stores
regenerate:category:url for all stores
regenerate:product:url for all stores

Exactly, always generate paths before url rewrites!
A month or so ago, I ran into a strange case when I needed to execute regenerate:category:path multiple times until everything was fixed, unfortunately I didn't have time to look into it back then ...

Oh wow, so I am not sure if the run-again fixed it in my case or the new order.


Update README.md

Seemed like a typo to me

Hi @Bachmann1234, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

Thanks!


Execute the checks from .net console application

From a .net console application, the user is able to specify the XML file defining the expected permissions and this console will run the tests to ensure that these permissions are effectively granted on the different databases.

https://ci.appveyor.com/project/Seddryck/idunnsql/build/0.1.0-Execute-the-checks-from-console---2-.1+23.build.18


[WIP] Test if assets are up to date

To catch the usual problem (cf. #2062) of bindata.go being outdated, add a check for this into the Travis build. The check works by regenerating the asset file and checking whether that caused a difference to Git. To make this reliable, force a modification time of "1". (Is this used in any way?)
I am a bit worried about the large changes, is there a forgotten make assets that this uncovered? Or did go-bindata change too much since last time? Are there platform dependent results?

This will conflict with #2062 whenever either of them is merged, but will just require a rebase / re-make-assets then.

Looks like go-bindata for me (OS X) produces different results than the one on Travis … any input on how to make this not happen is appreciated. Marked as WIP in the meantime, since this would break any contribution from Mac users.

I don't think the approach will work as intended. Go-bindata output is not
stable, at least timestamps will change. Also note that the output of
go-bindata is not formatted, that's why we always run gofmt afterwards.
I think such test should only check timestamps but not run go-bindata.
On Sun, Oct 9, 2016, 17:41 Matthias Rampke<EMAIL_ADDRESS>wrote:

Looks like go-bindata for me (OS X) produces different results than the
one on Travis … any input on how to make this not happen is appreciated.
Marked as WIP in the meantime, since this would break any contribution from
Mac users.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/prometheus/prometheus/pull/2069#issuecomment-252493709,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAANaEekrNGcXn6P6s9KZtsTayp8u0M5ks5qyQssgaJpZM4KSBx_
.

The timestamp issue is fixed by forcing it to be 1, same for permissions.
What should timestamps be checked against? The mtime of a file in git is
the time the last change to it was checked out. On Travis, this will always
be newer than when make assets was last run.
go-bindata should be able to produce stable output, and it does at least
within one machine.
Finally, without actually generating assets outside of the control of the
submitter, how can you be sure that what you reviewed is what is actually
in the shipped bindata?

Ah, I didn't see the changed last modified settings. I wonder if that can cause any issues, we should verify that our webserver won't return that date in Last-Modified header or uses it anywhere else.
Can you paste the different outputs? Have you tried updating your local go-bindata?

Closing this since I don't see an easy way to make it work and won't have time for the complex ways in the near future.


But I wonder whether we can rely on it stably and whether it works correctly on multiple arches or different environments. So further research is needed.
cc @dlorenc

We've pushed it to a stable location at cgr.dev/chainguard/graalvm-native-image-base !

@dlorenc Does cgr.dev/chainguard/graalvm-native-image-base have both arch support for arm64 and amd64 adaptive?

And where can I browser the image metadata?

You can browse image metadata at https://registry-ui.chainguard.app/?image=cgr.dev/chainguard/graalvm-native-image-base
You can also use cosign to browse SBOM and attestation data, e.g.:
cosign download sbom cgr.dev/chainguard/graalvm-native-image-base --platform=linux/amd64

Closed. I'm going to release the first version using graalvm-native-image-base in days.
One comment I just noticed: since graalvm-native-image-base is experimental, I can use only the latest tag now. Is there an estimate to release a stable or reliable fixed tag? Is there anything I can help (to verify)?

I sent this to remove experimental:
https://github.com/chainguard-images/images/pull/202
If you could just plus one that and say this works it would help :)


Removed docs folder of vendorized OpenHarmony

Docs folder increase size of OP zip unnecessarily.

Removing these sound good for me - however I can't test the Harmon integration and thus wouldn't be the one to ask whether this is "good" as is. I'll leave it up for someone else to approve the edits. I can confirm the docs/ folder is gone however. 💥 🧨
I like how this branch is in a subfolder chore


Add support for downloading and running JDK builds

Description:
Add an option to set a URL for a JDK build which setup-java will use to download, uncompress, and run per arch.
Justification:
I often use unreleased Java versions not supported by this plugin(e.g. Java 22) and would like to use it.

Hello @BlueGoliath
Thank you for creating this feature request. We will investigate it and get back to you as soon as we have some feedback.

@HarithaVattikuti any update on this issue? It would potentially address other needs as well.


[Bugs Masterlist] Backlog

Hey there! Just testing the new pre-release version and off the bat I just wanted to ask if you could provide a portable version (without an installer) for people like me who want to keep tools like this portable! Just save all the stuff in the same folder (and load from) as the exe, if you're not doing that already. Add the portable version on the Releases page as well please!
Secondly, I encountered this unhandled exception when opening the backup folder before it exists:

************** Exception Text **************
System.IO.FileNotFoundException: Could not find file 'E:\Programs\WinThumbsPreloader\New folder\Explorer Backup'.
File name: 'E:\Programs\WinThumbsPreloader\New folder\Explorer Backup'
   at System.IO.FileSystem.CreateDirectory(String fullPath, Byte[] securityDescriptor)
   at System.IO.Directory.CreateDirectory(String path)
   at WinThumbsPreloader.CacheForm.ClearButton_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)

Hi, thanks for letting me know about this, It seemed to not crash when I tested it but I know how to fix it.
I wanted to put the portable version out, but for some reason it wouldn't work due to updating to .net 6, which forced it to require dlls to be with it, so I'll try to see if I can force it to be self-contained again.
By the way did V2 help to fix the issue you had with recursive preloading not working?

By the way did V2 help to fix the issue you had with recursive preloading not working?

Actually I may have discovered the problem when trying to do it recursively in the main window, it's interesting how it doesn't happen anywhere else so I'll try to make the preloading happen from within the program instead of starting a new one and see if it helps.

Sorry I wasn't really able to play with this lately, but I'm glad you found something. So what causes it?

It seems to not work when launching a path as a separate process, but only in the main form, so I'm currently integrating preloading within the same process which involves making the cancellation not just kill the entire program when one preloader is done, along with preventing each preloader from affecting one another.
I'm intrigued on why this was an issue in the old version since it just ran in the same program like what's fixing it now, and when I tested it, recursive preloading seemed to work fine in the previous version.

Portable version should be up and working now, file size may be slightly larger due to .NET 6.

Will test the first chance i get and report back! Thanks again for all the work!

Back to report my experiences with the new portable version! sadly I cannot seem to get it to work at all from the UI via the "Preload" button - I give it a folder but seems to do nothing? I've also added a few other mentions on #5

Back to report my experiences with the new portable version! sadly I cannot seem to get it to work at all from the UI via the "Preload" button - I give it a folder but seems to do nothing? I've also added a few other mentions on #5

It seems that the portable version may have caused some new bugs to show up, and since I didn't get to test it, I'm guessing some issues with permissions may be occurring.
On my current project I set the preload option to run in the same program instead of launching a new instance like how the current beta is doing, so it should help fix that, for the scheduler I have a lot of fixing to do, though I haven't seen that error message occur when using it so I'm wondering if its another bug with the portable version, but those same task settings saved when I tried them on the portable version.
I am not able to save or delete the scheduler task on the portable version as it says access is denied so it looks like I'm going to have to set the portable version to always run as administrator, see if doing that fixes some of the issues for now. In the meantime, I will be working on these issues along with other fixes and features, though I may make another beta once I get a few of them done to have a more stable beta out sooner.

I came back after further testing to discover that more exotic paths now also seem to not work (e.g. containing ~ or ( ))

I haven't seen that error message occur when using it so I'm wondering if its another bug with the portable version, but those same task settings saved when I tried them on the portable version.

I feel it may be due to formatting issues for different locales (e.g. 12/24 hour formats, dividers, etc) that may be causing this.

I'm going to have to set the portable version to always run as administrator

I also tried this the first thing I encountered issues, but it didn't seem to make much of a difference.

Finally, now that I got some more time to test it (and lost my thumb cache yet again so I have to rebuild them all XD) would you like me to open separate tickets for small things like the ones mentioned so far? Or rather keep this all here as a sort of back and forth as we test/discover new issues?

Finally, now that I got some more time to test it (and lost my thumb cache yet again so I have to rebuild them all XD) would you like me to open separate tickets for small things like the ones mentioned so far? Or rather keep this all here as a sort of back and forth as we test/discover new issues?

Yeah if you'd like we could keep the bugs at this issue and perhaps the features at the other since it's a beta so there would probably be a ton of issues to fix. I'll be looking into all of these problems, cause it seems like the portable version is being far buggier than the setup version as most of these problems weren't discovered when I tried them in the regular version.

Yeah if you'd like we could keep the bugs at this issue and perhaps the features at the other since it's a beta so there would probably be a ton of issues to fix.

Certainly, I will rename the two tickets accordingly.

it seems like the portable version is being far buggier than the setup version as most of these problems weren't discovered when I tried them in the regular version.

And I'm afraid I won't be using the installer version at all, so I can't really stress enough the importance of having the portable one work properly!
Now, I don't mean to impose, but maybe eventually you could merge the two version behaviors to be more in common, to avoid having to maintain two versions of it (and risk such bugs slipping between them), which I guess would mean basically maintaining just the portable version with the extra features/integrations available if installed via setup.
Actually I have to ask, why have an installable version at all? What can it do that the portable version cannot?

Actually I have to ask, why have an installable version at all? What can it do that the portable version cannot?

I believe the original purpose of the setup file was to add the context menus to folders, and then I added an environment path variable so it could be used in the command line without navigating to the directory along with adding the context menu to the drives themselves. It also allows the program to do things like use the Task Scheduler function without administrator permissions.

Now, I don't mean to impose, but maybe eventually you could merge the two version behaviors to be more in common, to avoid having to maintain two versions of it (and risk such bugs slipping between them), which I guess would mean basically maintaining just the portable version with the extra features/integrations available if installed via setup.

In theory the setup may not actually be needed, though I would have to integrate a toggle inside the GUI to enable context menus and the environment path variable, or I can also have it enabled by default, though the user would have to run the GUI first before those things occur, and if the exe is moved the environment path variable and running as administrator would probably also need to be reset, where the environment path would also affect the context menus and the task scheduler as well.
It would probably be simpler then to have the setup alongside the portable version so that the user doesn't have to go through all the steps of setup manually, though now that I know what problems have popped up from the new portable version compared to the old portable version, which was a lot simpler, I can try my best to compensate for some of these new issues.
Running as Administrator may also end up being a requirement as some features of the program such as the Task Scheduler and probably the previously mentioned things would need more permissions, though running as administrator wouldn't be able to be toggled in the program or kept set in the compatibility settings when the file is moved around, and would need to be reset manually, which could be helped by either a prompt on startup or giving error messages when access is denied.
I may also end up changing some of the error messages to indicate that the program needs to be run as administrator if it can't perform an action such as setting or deleting a task from the Task Scheduler. If I end up adding a toggle to enable context menus and the environment path, it would end up breaking functionality if the exe is moved around, which may be helped by checking for the application path at the startup of the GUI and adjusting it accordingly if it is able to discover the previous paths.
Overall, I have a lot more work that needs to be done to this application, though I may try putting out some betas when I get enough fixed in order to hopefully decrease wait times and prevent keeping people from being stuck on a buggy version.

Came back to report another issue I encountered, this time when restoring from cache/a backup. While backing up the files seemed to have worked fine, restoring it only works for a very small amount.

Attempting to restore again does nothing to increase it and if I insisted a few more times it silently crashed the entire application.
Which actually brings me to another point: is there no way to "minimise to tray" unless started with windows? Closing it seems to shut it down completely.

I came here to add on the previous issue, from what I understand, the issue preventing the restore from working properly is an error reported by windows as: The requested operation cannot be performed on a file with a user-mapped section open..
I found multiple mentions of this issue online including when i made my own bat script to achieve more or less what you implemented with the cache function, but sadly I never found a reliable way to properly release those hooks. I tried terminating processes, even multiple times, but it seems unreliable.
Have you did anything in this regard with your implementation for the restore function?

Came back to report another issue I encountered, this time when restoring from cache/a backup. While backing up the files seemed to have worked fine, restoring it only works for a very small amount:
Attempting to restore again does nothing to increase it and if I insisted a few more times it silently crashed the entire application.

Interestingly, it did seem to restore the thumbnail cache fully when I tried it at a size of 2.5GB by deleting and restoring a few times to see if I could reproduce it, though I'm not sure if this is now happening because of the size of the thumbnail cache backup or if Windows 10 does things differently, but I'll be testing some other methods on other computers to see what I can do to fix it. If all else fails I may try adding an option to force restore by closing explorer for the transfer of each file to prevent it from reopening while the restore occurs.

Which actually brings me to another point: is there no way to "minimize to tray" unless started with windows? Closing it seems to shut it down completely.

To minimize to tray, the minimize window button needs to be pressed and then it should be in the icon tray.

EDIT: Apparently, after the crash it managed to restore more from the total backup amount, and repeating the process a few more times ultimately got it within spitting distance from the full backup:

The program should be trying to constantly restore the files automatically as long as the cache size is smaller than the backup, so that's interesting how doing it manually made it work more.

I came here to add on the previous issue, from what I understand, the issue preventing the restore from working properly is an error reported by windows as: The requested operation cannot be performed on a file with a user-mapped section open..
I found multiple mentions of this issue online when I made my own bat script to achieve more or less what you implemented with the cache function, but sadly I never found a reliable way to properly release those hooks. I tried terminating all explorer processes and a few others, even multiple times, but it seems unreliable.
Have you did anything in this regard with your implementation for the restore function?

I encountered this when trying the restore once, so I made it keep trying to restore until the backup and cache sizes were the same, which seemed to work when I tried it, though I'm going to try to look into this to see what I can do to make it work.

If all else fails I may try adding an option to force restore by closing explorer for the transfer of each file to prevent it from reopening while the restore occurs.

Unless you have a deeper understanding on how windows releases its hooks on those files, then I don't think there's any other method to achieve this more elegantly, hence why I went straight for terminating processes, and even then as I said, I didn't manage to properly account for all of them.
I'm guessing those files may be accessed by multiple varying processes at one time, so finding exactly which one are currently using any one of them requires a bit of iterating: checking each individual .db (because as i mentioned above, some DID replace without an issue) if there are processes are using it, closing them (repeatedly if need be throughout the restore process) and only when confirmed to be fully "unhooked" proceed to replace it with the backup.

To minimize to tray, the minimize window button needs to be pressed and then it should be in the icon tray.

I tried before coming here to ask - minimizing it this way just minimizes it to the taskbar for me, like any regular program (not the tray)

The program should be trying to constantly restore the files automatically as long as the cache size is smaller than the backup, so that's interesting how doing it manually made it work more.

I didn't have it set up to restore automatically (Auto Restore unticked), figured it would be best to do it myself when it loses its cache again so I can see if it works properly or not. Or is this not what you're referring to?

I encountered this when trying the restore once, so I made it keep trying to restore until the backup and cache sizes were the same, which seemed to work when I tried it, though I'm going to try to look into this to see what I can do to make it work.

Oh I see. You know, checking back now, I see both the cache and backup at the same size, but at this point I'm not sure if it just auto-backup'd my "almost" restored thumbnails and hence got them to be the same size this way or if your implementation did indeed eventually work. Whichever it is, I think you should make the "restore" process inform the user about this, maybe provide a loading bar as you repeatedly make sure each .db gets properly swapped with the backup.

Indeed, restore function seems to work only if explorer process is terminated, otherwise it hammers the drive (ssd in my case) where the backup resides, reading files constantly at max speed, but fails to transfer them to the cache folder (transfer stops at about 25% but sometimes varries). Terminating the explorer process allows it to copy fully.

Indeed, restore function seems to work only if explorer process is terminated, otherwise it hammers the drive (ssd in my case) where the backup resides, reading files constantly at max speed, but fails to transfer them to the cache folder (transfer stops at about 25% but can vary). Terminating the explorer process allows it to copy fully.

Seeing this, I'll be adding a force restore option to the restore button in case the regular restore fails along with a retry cap, though I also want to set the portable version to only run as administrator since it'll prevent the permission bugs with the scheduler and perhaps will help with regular cache restores as it seems to work fine for my 2.5G thumbnail cache.
Here's an example of how it's working for me currently:
https://github.com/Mfarooq360/WinThumbsPreloader-V2/assets/97059075/2a105b7e-f435-4955-8872-8eb0d0b99f48
Currently, I'm searching for any large bugs to fix before I publish the next beta, so it should be out soon.

I also want to set the portable version to only run as administrator since it'll prevent the permission bugs with the scheduler and perhaps will help with regular cache restores as it seems to work fine for my 2.5G thumbnail cache.

Now that you mentioned, I haven't tried yet running it as admin, I'll do that the next time i lose my thumbnails and report  back.

Currently, I'm searching for any large bugs to fix before I publish the next beta, so it should be out soon.

What have you got taken care of thus far? Anything from the stuff discussed here and on the suggestions list?

What have you got taken care of thus far? Anything from the stuff discussed here and on the suggestions list?

I've now released the next beta which should have the changelog of what's new compared to the previous beta. Let me know if the portable version is any more stable and if any bugs are found.

Unless you have a deeper understanding on how windows releases its hooks on those files, then I don't think there's any other method to achieve this more elegantly, hence why I went straight for terminating processes, and even then as I said, I didn't manage to properly account for all of them.

I've also looked into this and it turns out that ending file handles is considered a dangerous thing to do and the best way seems to be to just end the process using the file, so now when you hold shift you can do a force restore for the cache which will close explorer before trying to restore the cache. I'm not able to test this very well as the regular restore has worked fine so I'd like to hear if it works better for you.
The backup and restore buttons also have progress bars now which should help with seeing the progress of the backup and restore functions to ensure they are still working or trying to work.

I tried before coming here to ask - minimizing it this way just minimizes it to the taskbar for me, like any regular program (not the tray)

I believe currently you are only able to minimize to tray when you are in the cache form, I'm trying to find out how to make it work on any form and turn it into a setting.

I've also looked into this and it turns out that ending file handles is considered a dangerous thing to do and is also extremely difficult to actually implement and the best way seems to be to just end the process using the file, so now when you hold shift you can do a force restore for the cache which will close explorer before trying to restore the cache. I'm not able to test this very well as the regular restore has worked fine so I'd like to hear if it works better for you.

I believe this is one of the cases where different program setups (e.g. network locations, backup utilities) results in system file handles being treated differently from machine to machine.
I'm pretty sure terminating the explorer process(es) and possibly any COM Surrogate spawned or left hanging by file operations should cover 99% of handles that may be open. However this may need to be done a few times as sometimes I've seen stuff still kicking or starting back up.
If I were you, after trying to replace the cache "gracefully" once, and on failure show the user a popup about being unable to do so and if they are ok with the tool forcefully releaseing the hooks to allow the transfer, with the potential risk of data loss. Then go ahead and force-close everything that may be interfering as i mentioned above - this way you should cover pretty much everyone, lucky or not.
I will report back the next time I get a chance to test the new version and report all my findings.

Back  again after a new wipe:
While the regular mode proved to be equally unsuccessful, the new "shift" mode worked a lot better, but I had to run it twice to restore the databases fully. Still, a lot better than before and with no crashing this time!
However I have noticed another issue, but it's not exclusive to this release. I've noticed this ever since I started generating thumbnails via winthumbs: sometimes even though the databases are there, the thumbnails are being regenerated as if the db's were still gone.
I'm guessing this is due to the os not always reading from the database and instead whatever cached (e.g. .db-shm/db-wal file or other equivalent) untill the restored files kick in. Any  idea how can this be triggered to happen right away? I haven't yet managed to reproduce exactly when the hand-off happens but you can test this by deleting and restoring the cache then quickly checking a known cached folder and find them generating one by one again.

Found a new bug: It seems path with spaces are not being handled properly, within quotes or not. Old versions of the program (pre-2.0) worked as intended (i still keep a few forks and older versions for reference when testing)

Found the problem, gonna fix this along with currently researching the previously mentioned issue.

Found a new bug: It seems path with spaces are not being handled properly, within quotes or not. Old versions of the program (pre-2.0) worked as intended (i still keep a few forks and older versions for reference when testing)

Found the problem, gonna fix this along with currently researching the previously mentioned issue.

Took a while to make it work well, but that problem should now be fixed for the next beta. I also fixed some other issues with the preload button not working sometimes.

However I have noticed another issue, but it's not exclusive to this release. I've noticed this ever since I started generating thumbnails via winthumbs: sometimes even though the databases are there, the thumbnails are being regenerated as if the db's were still gone.
I'm guessing this is due to the os not always reading from the database and instead whatever cached (e.g. .db-shm/db-wal file or other equivalent) untill the restored files kick in. Any idea how can this be triggered to happen right away? I haven't yet managed to reproduce exactly when the hand-off happens but you can test this by deleting and restoring the cache then quickly checking a known cached folder and find them generating one by one again.

I also did some research into the previous issue and there are a few options that I've been looking at. The first thing I thought of was restarting explorer after deleting the thumbs cache to see if it would start reading the cache files right after deleting them.
The second thing I found out was that it is possible to use windows' disk cleanup in the program to clear the thumbnail cache instead of manually deleting the dbs, but the implementation requires a registry tweak which involves setting a sageset flag number to call the thumbs cache cleaner in particular to clean up. This could work and may help to solve the problem, though I'd have to check its specific behavior to ensure that functions like restoring the thumbs cache don't break as a result as it deletes the thumbscache before restoring.

problem should now be fixed for the next beta

Any ETA for the release? Can't find it under releases yet.

but the implementation requires a registry tweak which involves setting a sageset flag number to call the thumbs cache cleaner in particular to clean up.

I know windows has a few scheduled tasks that autonomously run disk cleanup with certain settings, is it not something that can be done this way? Or you don't have such granular control there?
All in all very interesting finds. Somewhat unrelated but may I ask, how are you this knowledgeable about the underlying stuff about how all this stuff works? Or is just educated guess after educated guess? I'm asking because this whole topic is something I've looked up on and off throughout the years and the data available out there, at least AFAIK, is pretty much nonexistent.

Any ETA for the release? Can't find it under releases yet.

I'm targeting this weekend to release the next beta if all goes well as this is a substantial bug that affects everything related to the preloader. So far it seems to work for paths with spaces and special characters as far as my testing goes.

I know windows has a few scheduled tasks that autonomously run disk cleanup with certain settings, is it not something that can be done this way? Or you don't have such granular control there?

I don't see any prescheduled tasks for disk cleanup in the task scheduler, though it seems the method I talked about before applies similarly when creating a new task except you have to manually specify what folders you want to clear in a dialog before the sageset number is set in the registry to the specific folders that are going to be cleaned up, then it can be called to clean up those selected folders by the sageset number, which is essentially just a preset.
I discovered that you can manually set the sageset number for clearing thumbnail cache in the registry within the program so the user doesn't have to manually specify that the thumbnail cache needs to be cleared in a separate dialog, which allows it to work in a hopefully seamless way, by running a command and waiting for it to complete before doing things like the restore.

All in all very interesting finds. Somewhat unrelated but may I ask, how are you this knowledgeable about the underlying stuff about how all this stuff works? Or is just educated guess after educated guess? I'm asking because this whole topic is something I've looked up on and off throughout the years and the data available out there, at least AFAIK, is pretty much nonexistent.

Honestly, I knew nothing about how Windows thumbnail cache or even coding in general worked less than a year ago. I did watch some coding tutorials to get started and help fix the old repository, but especially with this V2 repository, I've been relying mostly on GPT-4 to learn the specifics of how coding works along with it giving good results on how the Windows thumbnail cache works. It's helped a lot for making all these new features possible and allowed me to help build this version to be significantly more advanced than the previous version.

Beta 3 is out now, it should fix most of the issues, though I'm still looking into the implementation of the windows disk cleaner method of deleting the thumbnail cache.

Tested v3 for a bit and i noticed that the issue with resetting cache is now virtually instant. Whenever i restore it (via force restore since it never works for me otherwise) when i open a folder it immediately nukes the cache and resets it (immediately visible within winthumbs). Any idea if there is any error logging for thumbnails? I checked under Event Viewer and there's no mention of anything when it happens.

Tested v3 for a bit and I noticed that the issue with resetting cache is now virtually instant. Whenever I restore it (via force restore since it never works for me otherwise) when I open a folder with images inside (folder previews oddly enough are present/presumably loaded from cache) it immediately nukes the cache and resets it (immediately visible within winthumbs).

I've had a similar problem with restoring the thumbnail cache where if the thumbnail cache is corrupted, trying to restore it from a corrupted backup will cause Windows to delete it again anyways and refuses to use it, forcing me to have to preload the thumbnail cache again. I first encountered this when trying to transplant only the dbs that were larger than the current dbs which caused Windows to refuse to use the thumbnail cache that I transplanted.

I also get a Force restore failed. Retry as admin. even though I am doing just that and the file sizes seem to suggest the cacahe files copied over successfully.

This might be a bug with the program as it may give that message if the explorer cache size and backup cache size aren't the exact same size after the restore, so perhaps it may display if the explorer cache size increases right away. I'll see if making it so that if the explorer cache size is greater than or equal to the backup cache size will fix it.

Any idea if there is any error logging for when this happens to help in debugging? I checked under Event Viewer and there's no mention of anything when it happens. Any sort of validation for the cache files or in general info about how they work?

It doesn't seem to appear under Event Viewer when Windows decides to reject the thumbnail cache, so it seems that the only way to find out if the cache is rejected due to something like corruption or Windows' pickiness would be to watch the cache size change, whether it goes up as normal or resets to zero.

I also noticed that when you kill the explorer, windows has the tendency to immediately reopen it (visible via the taskbar reappearing 1/3 into the restore process). I feel if you were to repeatedly kill it to prevent it from opening back and locking the files until the restore process is completed would maybe help this issue.

Sounds like a good idea, I'll make it kill explorer before copying every thumbnail db file and hopefully it shouldn't cause any other issues with Windows.

[...] to find out if the cache is rejected due to something like corruption or Windows' pickiness [...]

I'm guessing there's no chance to know exactly how the db files are structured inside? No documentation or anything that would hopefully allow greater control over the content of the files?
Also then it is safe to assume my cached dbs are toast and i should just go ahead and rebuild them?

This might be a bug with the program as it may give that message if the explorer cache size and backup cache size aren't the exact same size after the restore, so perhaps it may display if the explorer cache size increases right away.

Indeed, the resulting restore in my case is ~1mb larger, so I'm guessing that's why.

Sounds like a good idea, I'll make it kill explorer before copying every thumbnail db file and hopefully it shouldn't cause any other issues with Windows.

Yep, if you recall that's what i said my bat file was doing as well, it waited a few seconds and re-killed everything 2-3 times before going ahead with the restore, and i believe it worked more reliably.

I'm guessing there's no chance to know exactly how the db files are structured inside? No documentation or anything that would hopefully allow greater control over the content of the files?

I do know of this one application  to view the thumbnail cache though I'm not sure if or how it can be used within my program.

Also then it is safe to assume my cached dbs are toast and I should just go ahead and rebuild them?

It may be the case, though perhaps you could use the application I linked to check the contents of the corrupted thumbnail cache if there's anything noteworthy on why exactly they're considered corrupted by Windows compared to a non-corrupt cache.

Yep, if you recall that's what i said my bat file was doing as well, it waited a few seconds and re-killed everything 2-3 times before going ahead with the restore, and i believe it worked more reliably.

I have my program set to kill explorer before each file now just in case it decides to reopen at all during the process, though I would like to know if there was a reason as to why task manager gets killed in your bat file as compared to just closing explorer.

I do know of this one application to view the thumbnail cache though I'm not sure if or how it can be used within my program.

Very interesting find! Will play with it a bit when I get the chance and report back if I find anything. As to incorporating it- I wasn't suggesting that, just wondering if there is a way to detect such error states in any other way (besides when they get nuked by windows) so that they could ideally be brought back to a valid state by fixing whatever caused the corruption.

[...] though I would like to know if there was a reason as to why task manager gets killed in your bat file as compared to just closing explorer.

Wait, it does? When have I said that? I double checked my old bat to see if indeed I had that in and sure enough I couldn't find anything about killing the task manager because as you pointed out, it shouldn't affect the process at all.

Very interesting find! Will play with it a bit when I get the chance and report back if I find anything. As to incorporating it- I wasn't suggesting that, just wondering if there is a way to detect such error states in any other way (besides when they get nuked by windows) so that they could ideally be brought back to a valid state by fixing whatever caused the corruption.

I was wondering if it would be possible to directly modify the databases as I've heard SQLite was used, though after some research, it doesn't seem to be very possible or practical for a few reasons.

Wait, it does? When have I said that? I double checked my old bat to see if indeed I had that in and sure enough I couldn't find anything about killing the task manager because as you pointed out, it shouldn't affect the process at all.

I went off of this reference in the old repository where the bat file appears to state taskkill /f /im taskmgr.exe
Just wanted to make sure I wasn't leaving something important out that may have been causing problems or failures in my program when closing explorer.

Back with finds! Sure enough, the cache viewer found errors in my corrupted backups:

Which leads me to hope that there is indeed a way to sanitize corrupted databases and restore functionality and only losing a few entries!

I was wondering if it would be possible to directly modify the databases as I've heard SQLite was used, though after some research, it doesn't seem to be very possible or practical for a few reasons.

Oh shucks, and here I hoped given the other tool being able to even calculate the correct checksums....

I went off of https://github.com/Mfarooq360/WinThumbsPreloader/issues/1#issuecomment-1643645958 in the old repository where the bat file appears to state taskkill /f /im taskmgr.exe
Just wanted to make sure I wasn't leaving something important out that may have been causing problems or failures in my program when closing explorer.

Ah drat, sorry, I think I was testing at the time my script and was constantly opening task manager to double-check processes running so ultimately i just added it there for whatever reason. It was an oversight on my part and not intended as part of the script functionality.

Another idea that came to mind about the corruption stuff: Is it possible when generating thumbnails to somehow saturate the database with requests and cause this to happen? So would it be worth to introduce some sort of limit or validation before submitting more thumbnails to the cache dbs that they can indeed "take" them?

After doing some digging/research and some trial and error, I've found out that the thumbnail cache databases aren't SQLite (as far as I can tell) and are instead a proprietary binary file format, though the file information including the data checksum was able to be extracted and utilized in some other programs (Thumbcache Viewer technically does but its written in C++ which is a lot harder to understand), which led me to find a C# implementation under a similar name that is also able to read the information, though it's going to take some time to understand how exactly it works and how to utilize it myself if possible.
While the C# implementation doesn't have the logic for calculating the CRC64 checksum to compare to the stored data checksum and it isn't well documented on how the checksum is actually calculated, the C++ implementation can do it, though it's going to take some learning and understanding on how it works. The lookup table for the checksum was also used from a thumbscache dll and implemented into the C++ implementation, and the calculator was able to be implemented in C#, though it's not clear what part of the data actually gets calculated as trying to calculate it from the image data outputs a different checksum in my testing.
This may take a while to ensure it would actually work or how to get it to work properly as I also believe there is a master cache database index that keeps track of the files so I'll have to see if it's still fully possible in the end. I'm not sure if deleting or modifying the checksum/database entries will cause issues with the index database not accepting the thumbs cache.
I don't want to get your hopes too high, but if I can get this implemented eventually, I'd like to have an option to shift click the backup button to repair the thumbnail cache backup or something similar, though perhaps I could also turn this into its own program that can repair thumbnail cache which can interact with mine if I can figure out how to replace the checksum in the file or just remove the faulty entries to allow the cache to be usable by Windows if it doesn't disturb the index cache.
Like I said though, it's not guaranteed that I will be able to get this working soon if at all, but I am looking into it and actually making some progress using some resources to learn how the thumbscache works such as this journal and this documentation.

Those are some awesome finds and yeah, not holding my breath, but it would basically mean low-level access to how this entire system works, which would be quite awesome!
On a somewhat unrelated note, is folder thumb generation still functional? Because I've ran a batch of thumbnail generation and I noticed again missing folder content previews.

Found another small issue with paths, namely - within the folder name e.g. S:\webui\outputs\txt2img-images causes the script to not work.

Found this autostart reg key under Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run when looking for something unrelated:

Is it ok to be without quotes? Wouldn't this fail if it were to be in a path with spaces? I see all other programs that are opened at startup have the path in quotes.

Thanks for finding all of these issues, I've managed to fix them for the next release and am currently adding other features beforehand.
For the folder thumbnail generation, I had initially created that feature and deemed it working by testing the amount of items that would be generated as there would be more with the option enabled. With thumbscache viewer, I found out it wasn't actually working which is most likely due to how it was initially supposed to only generate folder thumbs if the files within contained the specified extensions which wasn't implemented properly. It should now work and I'm adding an option to choose between only loading folder thumbs if they contain files with the set extensions or to load them all which could potentially have instabilities.

Great stuff, do tell when this new version will be published so I can play with it further!
On a similar note, I've noticed certain videos are not getting thumbnails generated for them after a gen pass on the folder where they reside, but so far I've been unable to pinpoint what's the cause. In my case it happened with random video files I have in a "memes" folder so the origin and format are wildly different but also on very few recordings done with shadowplay (nvidia's screen recorder). Any insight on this issue?

Great stuff, do tell when this new version will be published so I can play with it further!

I may try to target this weekend if possible, though with the feature changes being added, it's not guaranteed.

On a similar note, I've noticed certain videos are not getting thumbnails generated for them after a gen pass on the folder where they reside, but so far I've been unable to pinpoint what's the cause. In my case it happened with random video files I have in a "memes" folder so the origin and format are wildly different but also on very few recordings done with shadowplay (nvidia's screen recorder). Any insight on this issue?

I'm wondering if this is due to the sizes of thumbnails that get generated being too small for the sizes they are viewed in the folder, especially for videos when scaled to a larger view size in explorer. It might not be the case if it's just a small number of videos that are next to others that do work, but perhaps a sample of an affected video could help me diagnose this if possible.
I'm experimenting with adding the ability to customize the sizes of the thumbnails that get generated since I've seen that the program doesn't work for Windows' photos app which uses 768 size thumbnails for the medium view size and sometimes the large view size instead of 256 size thumbnails which tend to get used for the small view size in the photos app most of the time.
The program has been using a size of 128 for a currently unknown reason, though it generates 256 size thumbs anyways.

I'm wondering if this is due to the sizes of thumbnails that get generated being too small for the sizes they are viewed in the folder,

Could very well be as indeed, I have those folders set to the maximum zoom level

[...] perhaps a sample of an affected video could help me diagnose this if possible.

Next time it poops the bed I'll try to see which one get left behind, since once viewed they quickly get generated properly by windows.

doesn't work for Windows' photos app which uses 768 size thumbnails for the medium view size and sometimes the large view size instead of 256 size thumbnails which tend to get used for the small view size in the photos app most of the time.

I had no idea the photos app was using the same cache to show its thumbnails. Does that mean if you explore the images via the photos app the resulted thumbs generated from it are being used by explorer as well?

I had no idea the photos app was using the same cache to show its thumbnails. Does that mean if you explore the images via the photos app the resulted thumbs generated from it are being used by explorer as well?

I found out that based on my testing, the photos app being set to the small image mode will use the same 256 size cache that explorer uses which means they're both able to use the thumbnails that each ones generate. When using the photos app on the medium or large setting though, it uses 768 size thumbnails which I haven't seen explorer use from my testing.
I've released beta 4 now which includes the option to change the requested thumbnail cache size which allows thumbnails for the photos app to be generated for the medium and large sizes now.

I've released beta 4 now which includes the option to change the requested thumbnail cache size which allows thumbnails for the photos app to be generated for the medium and large sizes now.

Nice, however I'm not using that -thing- so I won't really be testing the sizes above what explorer uses. Will report back if I find anyting noteworthy.

I've been noticing that as of late almost always when I try to restore from backup it just instantly fails and wipes everything once it's done :/

I've been noticing that as of late almost always when I try to restore from backup it just instantly fails and wipes everything once it's done :/

I'm starting to wonder if Windows starts to corrupt the thumbnail cache at high sizes which causes it to always end up resetting it. Is ThumbCache Viewer detecting mismatched data checksums from the backup cache? If so, I'll be looking further into how to fix it or if its some other corruption like a different checksum or hash that needs its own way of being fixed.
So far I've gotten the calculation of the data checksums to match the actual checksum for correct checksums in most cases, though it seems like the calculations won't be accurate if the cache decides to have a bunch of blank entries at the start for whatever reason, yet the C++ implementation of ThumbCache Viewer seems to do it fine which will mean this would become a lot more challenging to deal with having to figure out how it works.

I'm starting to wonder if Windows starts to corrupt the thumbnail cache at high sizes which causes it to always end up resetting it.

I would lean on this if I didn't also have a laptop I use from time to time, which seems to lose its thumbnail cache almost as often (thnakfully it has very few things i need cached so it's just a mild annoyance) and it has about 400mb tops.
Re: Restore from backup: indeed now it seems to never work, fresh backup or not, it always instantly fails to restore even with explorer closed  beforehand. I think is a regression over the previous two versions.
On a sidenote, the tool doesn't seem to be able to generate thumbnails for .webm files.

Re: Restore from backup: indeed now it seems to never work, fresh backup or not, it always instantly fails to restore even with explorer closed beforehand. I think this is a regression over the previous two versions.

I may try adding a setting to choose whether to close out of explorer only once or per every file in case either one works better. I would've thought using the same method as the bat file would've made it work better, not the other way around (lol)

On a sidenote, the tool doesn't seem to be able to generate thumbnails for .webm files.

That's interesting, it also doesn't seem to be working on my side either. I'll be looking into what's causing it to not generate webm files in particular.

If this is the case, then could you maybe add a "validade checksums" button for the backed up files to see if at least you can catch a corrupted backup? Maybe we can pinpoint exactly what invalidates it.

Currently I don't have it working very well enough to be reliable as the blank entries at the start issue tends to cripple it for some reason, though I guess ThumbCache Viewer could read the backup cache and verify checksums there as well, just without being able to repair them.
In the meantime, I'm working on the bulk preloading feature and doing some testing with webm files, though if there are any other changes that you want to be added, feel free to let me know.
Also, I just want to say thank you for helping with this project and responding to the other issues, it's been very helpful and I appreciate your help!

Gladly! You're awesome for carrying this torch more or less alone, and I'm here to help as best I can.
Looping back to my backup restore corruption - I've recently tried going back to my bat-based backup/restore solution and much to my dismay I noticed it failed to restore them as well (instantly getting nuked by windows) - could it be that something changed recently with windows to cause this? Is my PC throwing a fit?

Looping back to my backup restore corruption - I've recently tried going back to my bat-based backup/restore solution and much to my dismay I noticed it failed to restore them as well (i.e. instantly getting nuked by windows) - could it be that something changed recently with windows to cause this? Is the new beta 4 causing issues with generating as well? Maybe related to what you said about empty entries in the db causing issues? Is my PC throwing a fit? Can you reproduce this issue as well if you restore?

So far I've found that leaving file explorer open (not explorer.exe in general) after clearing the cache may lead to a bunch of blank entries being put into the cache, but only sometimes and I can only reproduce it on my main computer, even though it also used to happen on my laptop. The issue mostly only affects the scanning of the data checksums for me though.
I haven't been able to reproduce this issue in a long while as the last time it happened was when I tried to make the program only backup and restore the db files that have changed in size, which Windows was somehow not happy with. The versions that are out however all copy every file to try and prevent this, so I'm hoping this isn't a permissions issue.
I did notice a crash with setting the cache deletion method to disk cleanup as it had issues with trying to modify the registry due to a "File not found" error which may be due to not having the registry nuget package or perhaps a missing dll (Currently testing this right now).
Is the bat restore using the backup cache generated from Winthumbspreloader? If not I would try to disable and reenable the use of thumbnails instead of icons in the file explorer or trying disk cleanup to reset the thumbnail cache, otherwise I'd think there would be something wrong with the backup files or (hopefully not) Windows itself (or maybe a restart is needed).

I haven't been able to reproduce this issue in a long while as the last time it happened was when I tried to make the program only backup and restore the db files that have changed in size, which Windows was somehow not happy with.

Maybe the indexes of all resolution db entries must be the same for a particular file?

Is the bat restore using the backup cache generated from Winthumbspreloader?

No, it's my old xcopy script that copies every db inside the folder to another. I figured if something changed in your recent updates this should be as reliable (integrity-wise) as it ever was.

If not I would try to disable and reenable the use of thumbnails instead of icons in the file explorer or trying disk cleanup to reset the thumbnail cache,

I've used disk cleanup a few times when stuff like this happened but it didn't seem to make a difference, after all it was being nuked and re-initialized by windows anyways, so I assumed they'd set their stuff up properly, just the way windows liked it. Haven't tried disabling and re-enabling thumbs however, you feel that would make any difference somehow?

V1.1.0 the last stable release is quite fast as compared to beta versions, Only issue that need focus is windows resetting thumbsdb_256 & thumbsdb_1280 & thumbsdb_96
Has any one retained preload folders cashe larger than 4 5 GB for longer duration, I have tweaked cache size from default 500kb to 4096kb and tweak registry to keep thumbnails by setting value 0 from 1, but no avail


lodash: signatures of the method _.add changed

https://lodash.com/docs#add
https://lodash.com/docs#_ (description of the chainable wrapper)

thanks mate!


Unable to extract title

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.12.17. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2018.12.17

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

I saw manyvids is listed as supported site so i gave it a try and got an error
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-o', 'D:\\Imafilthyhumanbeing\\%(title)s.%(ex
t)s', 'https://www.manyvids.com/Video/935718/MY-FACE-REVEAL/']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.12.17
[debug] Python version 3.4.4 (CPython) - Windows-8.1-6.3.9600
[debug] exe versions: ffmpeg N-92714-g436bffaca2, ffprobe N-92714-g436bffaca2
[debug] Proxy map: {}
[ManyVids] 935718: Downloading webpage
ERROR: Unable to extract title; please report this issue on https://yt-dl.org/bu
g . Make sure you are using the latest version; type  youtube-dl -U  to update.
Be sure to call youtube-dl with the --verbose flag and include its complete outp
ut.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5g6wx9_e\bu
ild\youtube_dl\YoutubeDL.py", line 793, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5g6wx9_e\bu
ild\youtube_dl\extractor\common.py", line 508, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5g6wx9_e\bu
ild\youtube_dl\extractor\manyvids.py", line 32, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5g6wx9_e\bu
ild\youtube_dl\extractor\common.py", line 992, in _html_search_regex
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5g6wx9_e\bu
ild\youtube_dl\extractor\common.py", line 983, in _search_regex
youtube_dl.utils.RegexNotFoundError: Unable to extract title; please report this
 issue on https://yt-dl.org/bug . Make sure you are using the latest version; ty
pe  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag
 and include its complete output.

Well... the video i chose to download was free, so it should be a okay. I spent hours figuring out how downloads works, pretty sure i got my commands right. Saw many duplicate issues and and read the references. Hopefully this isn't one of them, and if it is, I'm sorry. I'm using the latest 18.12.17 version, just fyi.

What do I do now @dstftw ?

Aha thanks. <3


NPSP installs no longer including Relationship Reciprocal data

until recently, installs of NPSP from mrbelvedere included the 27 records in Relationship Lookup custom settings. Now those list settings are not included in the install, even after clicking NPSP Settings tab.
https://powerofus.force.com/0D58000002peSZn
https://powerofus.force.com/0D58000002qtRSt
If it helps, a Developer Edition created in late April 2016 includes the Relationship records:

One created today does not:

**lurch: add

Tracking W-010938


Use alpine equivalent of Docker Compose services to reduce size and startup time

Hi all,
This is my first PR against warehouse! Let me know if anything is out of order.
To reduce the size of dependencies pulled in for Docker Compose services I've changed the image's to be their Alpine equivalent. This should save something like ~400MB when downloading the images:
$ docker images | grep -E "postgres|redis|rabbitmq" | grep -Ev "<none>|latest" | sort
postgres                                        10.1-alpine          e6c5e6a76255        6 months ago        38.2MB
postgres                                        10.1                 ec61d13c8566        7 months ago        287MB
rabbitmq                                        3.7-alpine           23917a8e0e82        9 days ago          48MB
rabbitmq                                        3.7                  dc1744b237f9        3 days ago          125MB
redis                                           4.0-alpine           80581db8c700        9 days ago          28.6MB
redis                                           4.0                  f06a5773f01e        3 days ago          83.4MB

One thing I noticed, though, is a couple of tests fail after the move from postgres:10.1 -> postgres:10.1-alpine. Perhaps this is just an oddity with my dev environment, so I'll be curious to see if the TravisCI tests fail. Here are the failures in question:
============================================== FAILURES ===============================================
____________________________________ TestProjectList.test_no_query ____________________________________

self = <tests.unit.admin.views.test_projects.TestProjectList object at 0x7f4697e716a0>
db_request = <pyramid.testing.DummyRequest object at 0x7f4694c8f1d0>

    def test_no_query(self, db_request):
        projects = sorted(
            [ProjectFactory.create() for _ in range(30)],
            key=lambda p: p.normalized_name,
        )
        result = views.project_list(db_request)

>       assert result == {"projects": projects[:25], "query": None}
E       AssertionError: assert {'projects': ...'query': None} == {'projects': [...'query': None}
E         Common items:
E         {'query': None}
E         Differing items:
E         {'projects': <paginate.Page: Page 1/2>} != {'projects': [Project(name='buGkrZztOVdJ'), Project(name='CUSRSHwyrWYS'), Project(name='DQYmKgwGbDWN'), Project(name='EZSwnoLaZDBP'), Project(name='fGYqTjDlvGzs'), Project(name='fhRNAXlQsSPb'), ...]}
E         Full diff:
E         - {'projects': <paginate.Page: Page 1/2>, 'query': None}
E         + {'projects': [Project(name='buGkrZztOVdJ'),
E         +               Project(name='CUSRSHwyrWYS'),
E         +               Project(name='DQYmKgwGbDWN'),
E         +               Project(name='EZSwnoLaZDBP'),
E         +               Project(name='fGYqTjDlvGzs'),
E         +               Project(name='fhRNAXlQsSPb'),
E         +               Project(name='GLinWsOkojkz'),
E         +               Project(name='gOrRfJDhcYfq'),
E         +               Project(name='HEFdmcDNAyrG'),
E         +               Project(name='hGINavLJVZma'),
E         +               Project(name='hIenNBvaBTCF'),
E         +               Project(name='lioPBgmNzTGj'),
E         +               Project(name='mglUjgSIumKu'),
E         +               Project(name='MNwUhtYjNBTX'),
E         +               Project(name='MPPpqZvLqrwG'),
E         +               Project(name='mPVlJqlpJXWO'),
E         +               Project(name='mzpiabwWpmkw'),
E         +               Project(name='oMDIktqhGEqJ'),
E         +               Project(name='OTEYViBAKZfk'),
E         +               Project(name='PzpfZMoMsAgf'),
E         +               Project(name='QWKRstFHveKi'),
E         +               Project(name='SelaTfofhpsB'),
E         +               Project(name='tKRYkXvtVlDW'),
E         +               Project(name='tXgrnOXiYWKc'),
E         +               Project(name='tYlRgnNjegiv')],
E         +  'query': None}

tests/unit/admin/views/test_projects.py:38
___________________________________ TestProjectList.test_with_page ____________________________________

self = <tests.unit.admin.views.test_projects.TestProjectList object at 0x7f468f899ac8>
db_request = <pyramid.testing.DummyRequest object at 0x7f468f899d68>

    def test_with_page(self, db_request):
        projects = sorted(
            [ProjectFactory.create() for _ in range(30)],
            key=lambda p: p.normalized_name,
        )
        db_request.GET["page"] = "2"
        result = views.project_list(db_request)

>       assert result == {"projects": projects[25:], "query": None}
E       AssertionError: assert {'projects': ...'query': None} == {'projects': [...'query': None}
E         Common items:
E         {'query': None}
E         Differing items:
E         {'projects': <paginate.Page: Page 2/2>} != {'projects': [Project(name='UYEuGqrPAsdI'), Project(name='VGjnNowaWLFS'), Project(name='VJSpPMJWvdha'), Project(name='wBPbUpitYyCJ'), Project(name='WSuUehNTmuFp')]}
E         Full diff:
E         - {'projects': <paginate.Page: Page 2/2>, 'query': None}
E         + {'projects': [Project(name='UYEuGqrPAsdI'),
E         +               Project(name='VGjnNowaWLFS'),
E         +               Project(name='VJSpPMJWvdha'),
E         +               Project(name='wBPbUpitYyCJ'),
E         +               Project(name='WSuUehNTmuFp')],
E         +  'query': None}

tests/unit/admin/views/test_projects.py:48: AssertionError
================================= 2 failed, 27 passed in 7.38 seconds =================================

I'm especially confused because tests/unit/admin/views/test_users.py has very similar tests, but those pass.
Thoughts?

I get the same test failures locally when applying this diff, super bizarre.
We don't run test suites in Docker for CI, though I believe we could on travis. It may be worth investigating this.

Seems there are a handful of issues with this interchange noted, see https://github.com/docker-library/postgres/issues/276 and related issues for some sparse details about an inconsistency with musl (their libc implementation).

I found it! If I change key=lambda p: p.normalized_name to key=lambda p: p.name in test_no_query and test_with_page it fixes the tests. I noticed a discrepancy where user_list orders on username and sorts on username, but project_list orders on name and sorts on normalized_name.
I still don't fully understand why this fixes it since test_basic_query and test_wildcard_query aren't failing, but seem to have the same issue.

I'm going to guess that this comes down to differences in locale.

I can change the lambdas to use p.name instead of p.normalized_name to fix the tests, but I'm not necessarily sure that's what we want? At least, not without understanding the problem better. Do you have any thoughts or ideas on where to look next?

musl is sufficiently different from libc that for databases in particular it seems unwise to diverge too far from what we will see in CI and production (AWS RDS, AWS Elasticache, CloudAMQP). All of these targets are (currently) libc based.
As detailed in https://wiki.musl-libc.org/functional-differences-from-glibc.html, locales aren’t supported which is the likely reason for the weird difference.
I appreciate and understand the advantages of smaller images and faster startup times, but am concerned that these images will cause more headaches down the line than they will alleviate.
Given that, I’m -1 on this PR.

Thanks for the additional resources, this is all starting to make a lot more sense to me. I'm willing to concede this PR since I agree that keeping the CI and production environments similar is a worthwhile goal, but I'd like to consider one more take on these changes.
To dig a bit deeper into what's actually breaking, let's take a look at what postgres is returning before and after.
Before:
pprint.pprint(list(result["projects"]))
[Project(name='BIMBlgoOkHka'),
 Project(name='bMmmSpgHmHIh'),
 Project(name='byAXNNAdlSqO'),
 Project(name='cBqRuPRfikfn'),
 Project(name='CvRGYyPGJKAl'),
 ...]

After:
ipdb> pprint.pprint(list(result["projects"]))
[Project(name='CJeowjOyVFBg'),
 Project(name='EKxpPcfLjHOf'),
 ...
 Project(name='aFCsScRCyzKS'),
 Project(name='dFMoMkuHlAtk'),
 Project(name='dUvxzRgRVYFQ')]

As you've both correctly deduced, the locale is affecting the sort order returned by postgres. Before, the sort order was solely based on the letter, regardless of case. After, the sort order first sorted upper case then sorted lower case letters. I'm not sure which is preferred from a UX perspective, I'd guess that, for example, users would expect the former in the case of a search box. However, if we ignore UX for a minute, I'd argue that the tests may be testing the wrong thing.
As mentioned earlier, we could change tests/unit/admin/views/test_users.py:TestUsersList.test_no_query to key sorted off of p.name instead of p.normalized_name. I'd argue that this would be more correct since the project_list results are ordered by name. That would fix the tests failing from this PR, but perhaps that still doesn't matter due to the CI vs. production environments issue. Maybe updating the tests is worthwhile in and of itself? Although, the most correct solution is probably something involving matching postgres' locale using locale when sorting, but that's probably more trouble than it's worth.
Thoughts?

The name field is a case insensitive field, so I think that's why it generally sorts case insensitively.

Thanks for this PR, however after thinking it over, I'm going to agree with @ewdurbin here and say we don't want to diverge this much from our production deployment. While we can't get 1:1 parity with our production deployment, the more differences we get, the more likely we are to miss errors until they get into production.
Thanks again, and sorry that we couldn't accept it!


[TEST] Use Type 1 Euler fonts from amsfonts

Codecov Report

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

@@           Coverage Diff           @@
##           master    #2146   +/-   ##
=======================================
  Coverage   94.89%   94.89%
=======================================
  Files          81       81
  Lines        5285     5285
  Branches      926      926
=======================================
  Hits         5015     5015
  Misses        247      247
  Partials       23       23

Flag
Coverage Δ

#screenshotter
89.78% <ø> (ø)
:arrow_up:

#test
88.55% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

I don't understand everything that this PR does. I will point out that the functions \oiint and \oiiint are done by superimposing an SVG oval over the glyphs ∬ and ∭ (U+222C and U+222C) from the fonts KaTeX_Size1-Regular.ttf or KaTeX_Size2-Regular.ttf. So the horizontal alignment of those ovals is hard-coded and tightly linked to the glyph geometry in those existing fonts.
If this PR substitutes a different glyph for ∬ or ∭, then the horizontal alignment of those ovals will break.

Also, a few KaTeX glyphs are located at Unicode code points that may not align with other fonts. A substitution of a new font needs a line-by-line review of symbols.js and macros.js to avoid bugs.

@ronkok Sorry for lack of explanation. This was just for testing the font. katex-fonts originally traced MetaFont sources for Euler fonts. However, they were reshaped as of version 3.0 and since the updates were made directly to the Type 1 files, the MetaFont sources have been removed. This PR will update to use the new font. Fortunately, metrics have not been changed, so I think it'll be compatible without any changes.


Self-hosted jobs to run on epinio labeled runners only

Workflows/Jobs to select self-hosted runners with label 'epinio' only

remove 'epinio' label from a runner, will result in e.g. job needs to run on a different runner next time
disable a group of runners before e.g. updating their systems

Removing test workflows.

Codecov Report
Patch coverage has no change and project coverage change: -4.06 :warning:

Comparison is base (fcb4a56) 53.16% compared to head (6244f5c) 49.10%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2149      +/-   ##
==========================================
- Coverage   53.16%   49.10%   -4.06%
==========================================
  Files         181      181
  Lines       14904    14904
==========================================
- Hits         7924     7319     -605
- Misses       5961     6596     +635
+ Partials     1019      989      -30

Flag
Coverage Δ

acceptance-api
34.29% <ø> (-7.80%)
:arrow_down:

acceptance-apps
36.50% <ø> (-0.19%)
:arrow_down:

acceptance-cli
36.01% <ø> (-6.66%)
:arrow_down:

unittests
8.66% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 89 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


NSFS | Versioning | Implement GET/HEAD object

Explain the changes
This feature is part of NSFS versioning.
GET/HEAD object will return the latest or the requested version object.
Below is the behaviour of the patch.
NOTE: Lets call "file under bucket_path as regular file in this commit context"

with version disabled

no behavior change - should return the regular file

with version enabled/suspended

file created before the version is enabled - should return the regular file
no version id specified - should return the regular file
with version specified - if version id of regular file matches with version specified - should return the regular file
with version specified - if version id of regular file does not match with version specified - should return the versioned file
delete marked xattr placed - should return ENOENT

Issues: Fixed #7128
Testing Instructions:

[ ] Doc added/updated
[ ] Tests added

Signed-off-by: Vinayakswami Hariharmath<EMAIL_ADDRESS>

/cc @romayalon

/retest

@v-harihar Looks good, one last comment from my side


.client.vue scoped styles are missing on ssr

Environment

Operating System: Linux
Node Version:     v16.14.2
Nuxt Version:     3.3.3
Nitro Version:    2.3.2
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      experimental
Runtime Modules:  -
Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-a1d8zg?file=pages%2Findex.vue
Describe the bug
Similar to what https://github.com/nuxt/framework/pull/8713 resolved a while back but it seems like the issue persists for .client.vue files?
Setting experimental: {     treeshakeClientOnly: false,   }, which was the workaround for the mentioned pr does however not fix the issue
Additional context
.client component on ssr:

.client component on client side navigation

The <client-only> wrapped component on the other hand works for both ssr and csr:

Logs
No response

Possibly Related (?): https://github.com/nuxt/nuxt/issues/18521, https://github.com/nuxt/nuxt/issues/15227

Indeed a bug, the root node of the .client component doesn't receive the scopeId. I'll take a look later. It's probably the same issue as https://github.com/nuxt/nuxt/issues/18521 but https://github.com/nuxt/nuxt/issues/15227 has been fixed with https://github.com/nuxt/framework/pull/8713


URL exclusion lists

I'm successfully leveraging the action for my blog, however I've noticed that some URLs are being caught accidentally (e.g., XML schema pointers) and I'd like to exclude them. Is there an out-of-the-box way to configure a URL exclusion list without fiddling with custom arguments?

Thanks @mre - this did the trick! 🎉
For the schemas, they are Microsoft-specific, so not sure how relevant they would be to the broader community. Examples include:
http://schemas.zune.net/profiles/2008/01
https://schemas.microsoft.com/winfx/2006/xaml
https://schemas.microsoft.com/expression/blend/2008
http://schemas.openxmlformats.org/markup-compatibility/2006
https://schemas.microsoft.com/winfx/2006/xaml/presentation

What do you think?

And on a totally unrelated note, I am happy to contribute with some documentation for the action (re: link exclusion) to make it easier for folks to solve the same issue I ahd.

Looking at the URLs and doing some research, I think that we could exclude all URLs starting with https://schemas.microsoft.com and https://schemas.zune.net. For that we'll have to slightly change the code for false positives. I'll create a PR for that and will mention you there for review.
As for the documentation, contributions would be very welcome, yes. 👍


Fix how @open-truss/open-truss package uses react

Why?

Invalid Hook Call
Hooks can only be called inside the body of a function component.
There are three common reasons you might be seeing it:

You might have mismatching versions of React and React DOM.
You might be breaking the Rules of Hooks.
You might have more than one copy of React in the same app.

How?
Read through https://iws.io/2022/invalid-hook-multiple-react-instances a few times and then updated script/bootstrap to create the correct link so the open-truss package is linked to the react version the demo-app is using.

Thanks!

Yeah, I too was surprised there wasn't any changes needed to package.json or package-lock.json. 👍 for documenting and maybe refactoring so linking/unlinking is a separate script. I can see if you're only doing dev on the package and don't want to use the demo-app to drive dev that you wouldn't want to use the symlinked version.


General use UBKG docker container

usable for local or server deployment
stored in DockerHub
will automatically mount specified set of CSVs and load on startup
download container and start with a single "run.sh" with the following parameters:

neo4j_password (required) the password used to connect to the Neo4j database
neo4j_username (optional) the username used to connect to the Neo4j database, if excluded uses the username neo4j by default
csv_dir: (optional) the path to the directory containing the csv file, if excluded uses the current directory by default
ui_port: (optional) the port to expose the Neo4j Browser/UI on (defaults to the default neo4j port 7474)
neo4j_port: (optional) the port to expose the neo4j/bolt:// interface on (defaults to the default neo4j port 7687)

Completed for MacOS and Linux.


feature - automated code generation when diagram saved

From https://github.com/StateSmith/StateSmith/issues/264:

In StateSmith today, saving the image file and generating the code are two separate operations. The user must first save, and then run a csx file to generate the code. The tool does not necessarily know which config to use, so it cannot generate the files.

With zero-config, the second step will no longer be necessary. Because most models will not need a config file, the drawio plugin can simple run the default codegen automatically after every save, thereby keeping the generated files in sync with the svg on every save.

I really like this idea, but it will take some time to get to "zero-config".
A very nice interim step could be to add "watch" functionality to the StateSmith.Cli tool. Something kind of like the watch command for typescript. Watch these diagram/csx files and run code generation when they change.
Could be something like ss.cli watch and use the statesmith.cli.json manifest file or work recursively in the current directory.
Might not even be that hard as ss.cli already does a good chunk of that work.

That makes a lot of sense

Let's take a look at this after #285 is finished.


Using CellMeasurer with scrollToIndex in a list bounces back to scrollToIndex if row is not in CellMeasurerCache

I'm using CellMeasurer with scrollToIndex set to that last item in the list. I found that with even with  the fix in #998, if the user uses the mouse to manually drag the scrollbar all the way to the top then tries to scroll down normally, the list jumps back down to the last item.
After some investigation, it seems that the list jumps to the scrollToIndex value if the row is not in the CellMeasurerCache

hi @EmilyHwang that MR was reverted. I'll have to go back and and fix the tests. and push another change out.

@wuweiweiwu Even with that change (I manually made that fix locally), scrolling does not work properly

@EmilyHwang Thanks for verifying. Ill take a look soon

@EmilyHwang can you post a simple repro in a codesandbox? that'll be much appreciated


 I tried to contact with the owner but he told me that is my issue not theirs. can i have a small help please..

I too am having this issue in my server. was happening to one of my admins for awhile, didn't make a big deal because that was an admin smart enough to have a basegame outfit to wear when our addon clothings get shifted. We hoped updating the artifacts would fix this issue for her, but then the issue started happening to another individual in my server.
While they can change their outfits just fine any character customization window freezes them and they can't change their clothes. after a couple minutes this is the only error that pops up. Nothing was modified with this script at all. So I'm confused.
illenium-appearance/appearance_get_settings (@illenium-appearance/web/dist/asset/index.96782610.js:70

SAME ERROR, ANY FIX?

Same error...


Vpshere downstream clusters use incorrect hardware sizes when creating with content library template

What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):

configure node template for vsphere using content library for creation method

specify non-default hardware (cpu/memory) i.e. 4vCPU, 4GB Memory

Result:

nodes use default value (perhaps from the template in the content library?) instead of values specified by rancher

Other details that may be helpful:
hardware specs from rancher appear to be used correctly when using a datacenter creation method/template
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): master-head (5d2b7ac)
Installation option (single install/HA): single

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): Vsphere
Machine type (cloud/VM/metal) and specifications (CPU/memory): 4vCPU, 4GB Ram
Kubernetes version (use kubectl version): v1.20.6

Created PR https://github.com/rancher/machine/pull/128 to address this issue.


Update hack for iron-selector 1.0.8

When I "querySelectAll" on dom-change on dom-repeat inside dom-if, items are weird, so I found no alternative but replace dom-if with hidden attribute.

oh this is nice, thanks @Zecat I will take this for a spin

I've rebased to add "$=" and [hidden] { display:none; } for hidden property.

Landed this in master and cut a new 0.2.0 release
thanks @Zecat


change type annotation from float to TParamVal for theta and phi

resolves #4244

Thanks for the feedback! :-)
Will make the requested changes

@stubbi Gentle reminder. Please let me know once the comments are resolved and the PR is ready for re-review.

@stubbi Are you still planning to work on this ?

@stubbi Gentle reminder.

@tanujkhattar this was done in https://github.com/quantumlib/Cirq/pull/5075, so can be closed.


Please update this plugin to support capacitor 6 version

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Plugin updated, so I'm closing this ticket.


wrong comma expression warning

// test.d
void foo(int a, int b) {}

void bar() {
	int i;
	foo(i = 3, 5);
}

dscanner -S test.d
test.d(5:10)[warn]: Avoid using the comma expression.

You've discovered another ambiguity in the D grammar.

I'm not even sure how to fix this, because parsing it as foo( i = 3, 5 ); is valid.

Disregard the above. The grammar uses AssignExpression in argument lists and not Expression.


Agent swarm

This is still pretty 🗑 code, but I got it Works On My Machine (well, a bunch of containers on my machine).

Commits are now in #12


Bootstrap datepicker inset position

Expected behaviour

Actual behaviour

 ### Datepicker version used
4.17.45
Used same version of datepicker but in other page datepicker position is not expected.
Please check and give a solution for that  @twbs , @eternicode , @acrobat , @vsn4ik

Has anyone come up with a position fix?
out of the box, mine is top of page/form not top of the date input/div.

#2469 position error
Fixed it for me.


Change listing format

Fixes #5
Changed the way details are listed, from vertically to horizontally in columns.
Also changed the color scheme of the addressbook app to a purple-orange scheme.

LGTM


Mergify: configuration update

This change has been made by @Hongbo-Miao from https://mergify.io config editor.

Close to in favor of #2461

Close to in favor of #2461


[WFCORE-4838] Upgrade slf4j-jboss-logmanager from 1.0.3.GA to 1.0.4.GA

Issue: https://issues.redhat.com/browse/WFCORE-4838

@spyrkob thanks


Collection dependency to 1.17.1 for flutter_test

Hi, I'm using this package on the client side on a flutter project.
I noticed that flutter_test depends on collection 1.17.1 or lower and you downgraded the latest edit to 1.17.2 or higher for similar purposes.
Would you be able to downgrade it to 1.17.1?

Actually it is possible to add a later version of Collection. Will close that one.


String-alteration-2.6

Signed-off-by: randybrunopiverger<EMAIL_ADDRESS>regarding: https://github.com/stolostron/backlog/issues/24682

/lgtm


Allow to reposition tabs

Currently the position of tabs in the Terminal are fixed, and when working with large number of tabs it's natural to try and position them together for easier access. And the current fixed tabs layout prevents that, so can we allow to reposition the tabs like you can do in a browser?

Are you running the terminal in administrator mode?

Yes

Yes, I am running it in administrator mode.
Just now checked and it allows to re-position tabs in non-elevated mode. Any reasons for that?

Seems like it's due to platform limitation. See #6893

Yep, @leejy12's right here.
/dup #6893 #4874 #5564


Can we display the result after each calculation is Performed?

@Brockxy
As per requirement, we need to display the result. Can we make some changes to display result as output after each calculation?

Yup. I will update.

Updated and kindly test once you get the latest version 1.0.6

issue is resolved


Why reconnect need a 200ms delay

This provider has been incredibly useful, and I want to thank you for developing it. However, I encountered some issues during use and decided to review the code. I noticed that in the reconnect function, there is a 200ms delay before reconnecting. I’m curious why we can’t destroy and reinitialize immediately. Is there a specific reason for the 200ms delay? If so, could you please explain why 200ms was chosen?
  reconnect = () => {
    if (this.recreateTimeout) clearTimeout(this.recreateTimeout);
    this.recreateTimeout = setTimeout(async () => {
      this.consoleHandler("triggering reconnect");
      this.destroy();
      this.init();
    }, 200);
  };

Reconnects serve two purposes: 1) Manually initiated reconnections, and 2) Automatic reconnections to new peers when one or more peers disconnect. Currently, the same method is used to handle both scenarios.
The delay is basically to debounce the reconnect (for the second case). When clients disconnect from their peers, they immediately trigger reconnection attempts, which in turn cause the peer-mesh to be repainted. Since, we will use Firebase for this, we don't want to do it too often.

Got it, thanks


Dropdown: How to have keyboard events respond correctly using input inside DropdownToggle?

Issue description

components: Dropdown
reactstrap version 8.9.0
react version 17.0.2
bootstrap version 4.3.1

What is happening?
I'm using an input field within DropdownToggle to implement a search bar. If I try to use arrow keys (up and down) to select an item from the dropdown menu, it just does the normal up/down within an input field.
What should be happening?
If I use the up/down arrow keys, I want the DropdownItems to be selected accordingly. How can I make this work? Could I somehow feed the onKeyDown from the input field to the Dropdown component?
Steps to reproduce issue
Create a Dropdown with an input field within DropdownToggle
Code
<Dropdown {dropdownOpen}>
  <DropdownToggle
    tag="span"
    data-toggle="dropdown"
    aria-expanded={dropdownOpen}
  >
    <input
      placeholder="Search Here"
      /* more input props */
    />
  </DropdownToggle>
  <DropdownMenu>

 // extra padding to deal with scrollbar
      <DropdownItem>

item 1

      </DropdownItem>
      /* more DropdownItems */

  </DropdownMenu>
</Dropdown>

I feel you! Old problem.
When looking into the reactstrap code, I found this line:
https://github.com/reactstrap/reactstrap/blob/61f2453f3c2e94136da54c1f11c0ea240fb87b79/src/Dropdown.js#L140C39-L140C39
This essentially blocks all alphanumerical input and related keyboard inputs (also CTRL+C in my case). Why do we have this overly aggressive preventDefault?


device selection

Hi,
which device works the best with traccar and which one does not need phone chip meaning without data it should only work with gps satellites.
thanks

There are no GPS trackers that work only with GPS satellites. You need a way to send data to the server.

hi,
so what device you suggest for trucks to intall to get gas engine and speed info am seeking a good gps if you know have given good results...?

I can't recommend anything specific because I rarely deal with actual hardware.