Better HN
topnewbestaskshowjobs
Log inSign up

ComputerGuru

32,383 karma · joined Jan 3, 2008 (18y ago) · 8,295 submissions

mqudsi on most sites.
Submissions

comment 2y ago · link · parent

You can't post about its WASM availability via Uno and then not include a demo link! (Sorry if you did and I missed it.)

comment 2y ago · link · parent

Curious idea. So it’s for cases where you have any key but associated with one of only (preferably few) discrete values. I.E. your url example is great with url as a key but subpar if url were to be the value (padded to length n with trailing nulls encoded as a fixed width int array)?

With its interesting set of guarantees, I can’t see a case where you could use this unless you are 100% positive all keys have previously been inserted into the set, otherwise you risk getting a wrong value in return (instead of no value). A traditional bloom filter is similar but in the worst case you throw away work because you look up the determinative data/value but here it’s a bit trickier.

Lots of applications tolerate missing results but significantly fewer can tolerate “unknowingly incorrect” results.

Question about the implementation: I would have expected the primary interface to be in-memory with some api for disk spillover for large datasets but while all the docs say “designed for in-memory lookups” the rust api shows that you need to provide it with a temp directory to create the structure? (Also, fyi, you use temp::temp_file() but never actually use the result, instead using the hard-coded /tmp path.)

873.

Midler vs. Ford Motor Company(en.wikipedia.org ↗)

1 points · by ComputerGuru · 2y ago · discuss

comment 2y ago · link · parent

TFA reports a maximum write amplification factor of 3.75, which puts you in different ballgame territory altogether.

comment 2y ago · link · parent

> but it does require changes to how those cells are programmed and read. So most likely it requires changing those circuits somewhat, meaning you can't implement this just in firmware

Fortunately everyone shipping TLC/QLC disks needs to use a pSLC cache for performance reasons, so that hardware is already there.

comment 2y ago · link · parent

Yes, but certainly no consumer or even enterprise ssd firmware has bothered to integrate that functionality.

comment 2y ago · link · parent

Maybe 6-8 years ago, Samsung (?) used to advise foregoing a heatsink on their nvme sticks for optimal results.

comment 2y ago · link · parent

Current tech meets the needs of normie home users (most of whom will never see even a full drive write) and big enterprise (servers have specific retirement schedules, each and every server is fully disposable, complete redundancies abound) but leave out in the cold those of us running small businesses and smaller data centers where machines are overprovisioned and not on a depreciation schedule, hopefully with a RAID 1(0) or ZFS/LVM being the safety mechanism in place.

comment 2y ago · link · parent

I agree wholeheartedly. It’s not something a large enterprise can do, but for my own home and multiple small business needs I purchased a good number of Samsung 960/970 Pro NVMe drives when they came out with the TLC 980 Pro.

I’m still rocking some older Optanes and scavenge them from retired builds. They’ll last longer than a new 990 Pro.

comment 2y ago · link · parent

I bought up a lot of 960 and 970 Pro models when the 980 came out and it was TLC, to have MLC drives for logs and caches. Little did I know that TLC was just the beginning of the decline and QLC was right around the corner for even enterprise!

comment 2y ago · link · parent

Scroll down to the section called “SLC CACHING” towards the end of TFA. Your approach will work for only 45GB though the actual SLC cache is 120GB in size, because the process kicks in before the SLC is fully consumed (so it can page on and out of it).

If you don’t need 66% of the drive’s SLC capacity, the small partition approach is indeed easier and safer.

comment 2y ago · link · parent

I don’t know, I don’t game under Linux. But from my own wine experience, maybe to play some games that were ported to Linux and available first-party but have some form of crippled experience or bugs and playing the native Windows port is the way around it.

(Eg Netflix plays on Firefox/Chrome under Linux, but if you run Chrome under Wine on Linux instead, you get 1080p video instead of crippled 720p crap.)

comment 2y ago · link · parent

Submission note: I’d normally chalk this up to user error and a lapse of recall and not give it a second thought, but given the other commentary on the issue and the unanswered questions (it does seem to affect photos that were deleted from iCloud altogether, so either they’re still kept or else there’s a device where they weren’t wiped that ended up re-uploading them) I figured this would be an additional datapoint worth at least accounting for when discussing this iCloud bug.

884.

iOS 17.5 deleted photos reappearing bug alleged to extend to wiped devices(macrumors.com ↗)

36 points · by ComputerGuru · 2y ago · 1 comment

comment 2y ago · link · parent

Proton is built on Wine.

comment 2y ago · link · parent

Did you have to pay twice the base price for the bonded ADSL setup?

comment 2y ago · link · parent

No problem.

The tool loads a directory of xml files; each file is rendered as a tab in the translation GUI. The framework exports the strings from each SWF form as a separate xml file into a directory that matches the native locale’s identifier (eg en-US) and gives it a friendly name based off the form’s title/caption and/or file name. So the end result is a naturally user-friendly approach to translation instead of having all the apps strings dumped together into one PO file as is the norm, and translators can reference the app they are translating’s UI as they methodically translate a component at a time.

comment 2y ago · link · parent

Thanks. Not actually really special purpose. One-click import from any SWF project, though no easy WPF/XAML sdk for lack of motivation. The GUI is fully app agnostic.

comment 2y ago · link · parent

Ok, but as you’re exactly one of the cases in TFA, what was your reason for not becoming a paying FSD customer?

comment 2y ago · link · parent

You can see my top-level comment for more info, but we wrote a very quick and dirty UI to manage the XML localizations that allows "forking" a language into a new localization and showing outdated or missing localization strings. I don't think a single person that contributed a translation was actually a developer, but I've had no complaints about it being difficult to follow in the going-on-twenty-years since its release!

https://neosmart.net/forums/threads/translations-to-other-la...

comment 2y ago · link · parent

We came up with our own localization framework back in the .NET 2.0 days and we're still using it. Version-numbered translations in an XML file with a simple GUI to show missing translations, flag out-dated translations, etc.

The framework and UI: https://github.com/neosmart/Localization

Sample translations: https://github.com/neosmart/easybcd-localization

Guide and screenshots (that should have probably be also folded into the non-existent readme for the localization toolkit repo): https://neosmart.net/forums/threads/translations-to-other-la...

XML is a drag, but JSON isn't supported without a dependency under .NET Framework and the single-binary NLTUI app masks that from most users. XML also gives nice schema validation, for example look at how simple the validation is in the github action ci for the real-world app example from above: https://github.com/neosmart/EasyBCD-Localization/blob/master...

comment 2y ago · link · parent

Hey, that's a nifty looking library. Thanks for pointing it out to me!

comment 2y ago · link · parent

Well over 3.5% of Syria’s population fought back against their oppressive regime (peacefully, before the government reacted with violence), but I guess this rule doesn’t account for dictators willing to use biological weapons and call in foreign mercenaries and air strikes from Iran and Russia in a desperate bid to cling to power.

So I suppose there needs to be some rule of law or a red line the people you are fighting back against won’t cross.

comment 2y ago · link · parent

Apparently the latest numbers show the rebels have a good chance of seizing back power.

comment 2y ago · link · parent

How would one secure one or more of these for a non-profit?

Thinking redundancy for current AT&T fiber hookup for the admin staff and voip gateway.

comment 2y ago · link · parent

Why would llvm be particularly good at optimizing vliw code when there’s no demand for it to be? You can’t believe everything else would remain the same in the hypothetical I posed.

comment 2y ago · link · parent

Please don’t anthropomorphize ChatGPT.

comment 2y ago · link · parent

I do want to say that I think the Itanic would have fared way, way better in a post-LLVM world where the importance of smart, optimizing compilers is much more valued and understood and language designers actively work hand-in-hand with compiler devs far more often (with much more significant back-and-forth from hardware manufacturers).

comment 2y ago · link · parent

To be fair, lack of concurrency safety never stopped C and C++ devs from boldly doing just that, anyway!

comment 2y ago · link · parent

Really only because they’re so goddamn easy. I find myself using linked lists a lot less since adopting rust for embedded code (even with no_std and no allocator, but especially when alloc-only std data structures are within reach).
1
293031
277