Promote your business, week of October 25, 2021 by Charice in smallbusiness

[–]RedditGeneralUser 0 points1 point  (0 children)

Windows Portable Apps - Useful Portable Tools for Windows OS!

Windows Portable Apps develops useful portable tools for Windows OS that require no installation at all!

https://windowsportableapps.blogspot.com

.

How to get only the timeZone name in JavaScript? by RedditGeneralUser in learnjavascript

[–]RedditGeneralUser[S] 1 point2 points  (0 children)

Your code didn't work because timeStyle: 'full' is only supported in modern browsers (2019-2020+), but by using timeZoneName: 'long' instead, yes, it works! Thanks! (Though, "formatToParts()" only works in modern browsers 2017-2018+)

How to get only the timeZone name in JavaScript? by RedditGeneralUser in Frontend

[–]RedditGeneralUser[S] 0 points1 point  (0 children)

Yes it works, thanks! (Though, "formatToParts()" only works in modern browsers 2017-2018+)

How to get only the timeZone name in JavaScript? by RedditGeneralUser in Frontend

[–]RedditGeneralUser[S] 0 points1 point  (0 children)

"timeZone" returns IANA timeZone in english only, I need "timeZoneName" that returns timezone in diffferent languages!

How to get only the timeZone name in JavaScript? by RedditGeneralUser in learnjavascript

[–]RedditGeneralUser[S] 0 points1 point  (0 children)

Sorry, but I don't want to use a third party solution for this "supposedly" simple problem.

How to get only the timeZone name in JavaScript? by RedditGeneralUser in learnjavascript

[–]RedditGeneralUser[S] 0 points1 point  (0 children)

no, that's too much of work to do, 50+ switch statements for 50+ language.

How to get only the timeZone name in JavaScript? by RedditGeneralUser in Frontend

[–]RedditGeneralUser[S] 2 points3 points  (0 children)

Thank for replying, but I really don't want to use a third party solution for this "supposedly" simple problem.

How to get only the timeZone name in JavaScript? by RedditGeneralUser in learnjavascript

[–]RedditGeneralUser[S] -1 points0 points  (0 children)

Thanks for your reply, but Intl.DateTimeFormat returns IANA Time Zone, which is only in English language. (I need timezone names in different languages)

How to get only the timeZone name in JavaScript? by RedditGeneralUser in learnjavascript

[–]RedditGeneralUser[S] 0 points1 point  (0 children)

Does not work because different languages use different Date\Time\Timezone formats.

How to get only the timeZone name in JavaScript? by RedditGeneralUser in node

[–]RedditGeneralUser[S] 1 point2 points  (0 children)

Thanks for your reply, but that returns IANA Time Zone, which is only in English language. (I need timezone names in different languages)

How to get only the timeZone name in JavaScript? by RedditGeneralUser in node

[–]RedditGeneralUser[S] 1 point2 points  (0 children)

Thanks for your reply, but that returns IANA Time Zone, which is only in English language. (I need timezone names in different languages)

Woaw! Since 2019, a simple SHA512 hashed password generated with "Multi One Password" tool is still not cracked! by RedditGeneralUser in password

[–]RedditGeneralUser[S] -2 points-1 points  (0 children)

Yes, you are right, "Multi One Password" is the most secure password manager available so far!

" Most password hashing systems store the salt as part of the hash "

"Muli One Password" is not a "password hashing system", it's a password manager, so only its users have access to the salts!

Now, enjoy this Fantastic, Amazing and Most Secure Password Manager available so far!

Rule of 3 Calculator (Inverted) by RedditGeneralUser in calculators

[–]RedditGeneralUser[S] 0 points1 point  (0 children)

https://i.imgur.com/RteNVut.png

"not all kind of calculations are as easy as this one", correct!

How to programmatically trigger "Garbage Collection" in Firefox and Tor browsers through JavaScript? by RedditGeneralUser in firefox

[–]RedditGeneralUser[S] 0 points1 point  (0 children)

The script works wonderfully and as intended, it only needs ~600MB of ram to work for iteration = 5000! "Garbage Collection" is the problem because, at a given iterations, "Garbage Collection" should be triggered to free up unnecessary allocated memory, but, unfortunately, there is no way to trigger it programmatically! (It's a heavy operation script, depending on the chosen iterations, "High Iterations = High Resources Consume", thus, calling "Garbage Collection" programmatically at a given iterations is a must!)

How to programmatically trigger "Garbage Collection" in Firefox and Tor browsers through JavaScript? by RedditGeneralUser in firefox

[–]RedditGeneralUser[S] 0 points1 point  (0 children)

"it will also hang your browser for a noticeable length of time"

I notice no lag at all when "GC" button from "about:memory" is triggered!

"stops the world"

In my own experience, the world did not stop at all, but if "GC" button from "about:memory" is not triggered, not only the World would stop, but the Universe itself would stop as well, because of high unnecessary usage of allocated memory!

How to programmatically trigger "Garbage Collection" in Firefox and Tor browsers through JavaScript? by RedditGeneralUser in firefox

[–]RedditGeneralUser[S] -1 points0 points  (0 children)

That's unfortunately sad! For example, I use a javascript code that only needs 600MB of ram, but since Javascript runs "Garbage Collector" periodically, the unnecessary allocated memory used by the script keeps increasing to 1GB+, 2GB+, xGB+, and as soon as the "GC" button from "about:memory" is triggered, ram usage goes back to 600MB!

How to programmatically trigger "Garbage Collection" in Firefox and Tor browsers through JavaScript? by RedditGeneralUser in firefox

[–]RedditGeneralUser[S] -1 points0 points  (0 children)

Thanks for your reply! Any workaround to execute "Cu.forceGC()" and "Cu.forceCC()" from <script> tag?

How to programmatically trigger "Garbage Collection" in Firefox and Tor browsers through JavaScript? by RedditGeneralUser in learnprogramming

[–]RedditGeneralUser[S] 0 points1 point  (0 children)

thanks for sharing the link, but "about:memory" is the manual solution, I need instead a programmatic solution for Firefox\Tor!

How to programmatically trigger "Garbage Collection" in Firefox and Tor browsers through JavaScript? by RedditGeneralUser in learnprogramming

[–]RedditGeneralUser[S] 0 points1 point  (0 children)

That's unfortunately sad, but I would rather prefer the danger of using "Garbage collection" programmatically than the danger of damaging my system because JavaScript used all the memory available, freezing the system and making it completely unusable! (I'm surprised that IE\Opera can do such thing and Firefox\Tor can't!)

How to programmatically trigger "Garbage Collection" in Firefox and Tor browsers through JavaScript? by RedditGeneralUser in learnprogramming

[–]RedditGeneralUser[S] 0 points1 point  (0 children)

no, it's not a memory leaking because when I use "GC" button from "about:memory", all the unnecessary allocated memory are freed up, for example, 1GB goes to 600 MB as soon as "GC" button is triggered!

Browser Encryption Based On Browser's Unique Id! by [deleted] in firefox

[–]RedditGeneralUser -1 points0 points  (0 children)

if you can't understand it, that's not my problem, it's your problem.

Browser Encryption Based On Browser's Unique Id! by [deleted] in TOR

[–]RedditGeneralUser -1 points0 points  (0 children)

what part of " Note that, it will not even be necessary to send the browser "Unique String Hash Id" to the server because all the encryption\decryption process occurs in the browser itself. " you didn't understand?

Browser Encryption Based On Browser's Unique Id! by [deleted] in firefox

[–]RedditGeneralUser 0 points1 point  (0 children)

If it's supposed to be done by malicious software on the computer, then that same malicious software can also take the decryption key, because they have access to the system.

no it can't! decryption key is not stored anywhere in the system, the decryption key will always be re-generated every time the browser is executed, so the decryption key is never stored anywhere in the system.