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 1y ago · link · parent

Out-of-the-box Linux distributions give me a desktop notification when my 17-year-old MX mouse (connected via unifying dongle) is low on battery. Does anyone know how to get this on Windows? Nothing worse than the battery dying mid-use.

comment 1y ago · link · parent

It’s not just a soldering iron needed. I replaced the switches on my 17-year-old Logitech MX Revolution and on a newer Performance MX and the old switches are completely impossible to remove from the PCB without snipping away at them and a lot of (careful) force. However I can say that the result was worth it, no more phantom double-clicks. Mouse itself was fine.

Maybe for some of the newer mice it’s an easier ordeal, though.

comment 1y ago · link · parent

This only decreases memory cost of input context window, not the memory cost to load and run the models.

comment 1y ago · link · parent

I came to comment the same thing, having clicked through from the link and not seen the OP’s text. In my case, I searched for and found the GitHub link at the bottom of the landing page and saw the language in the repo details.

Please add “for JavaScript” to the title!

comment 1y ago · link · parent

If you’re lucky enough to structure your entire app in advance to keep in mind how sync signals are delivered, you can ususllly get away with only setting an atomic Boolean, incrementing an atomic int, or setting a binary semaphore.

comment 1y ago · link · parent

In fish-shell we have to forego using the niceties of the rust standard library and make very carefully measured calls to libc posix functions directly, with extra care taken to make sure so memory used (eg for formatting errors or strings) was allocated beforehand.

comment 1y ago · link · parent

I've been using gemini-exp-1206 and I notice a lot of similarities to the new gemini-2.0-flash-exp: they're not that much actually smarter but they go out of their way to convince you they are with overly verbose "reasoning" and explanations. The reasoning and explanations aren't necessarily wrong per se, but put them aside and focus on the actual logical reasoning steps and conclusions to your prompts and it's still very much a dumb model.

The models do just fine on "work" but are terrible for "thinking". The verbosity of the explanations (and the sheer amount of praise the models like to give the prompter - I've never had my rear end kissed so much!) should lead one to beware any subjective reviews of their performance rather than objective reviews focusing solely on correct/incorrect.

comment 1y ago · link · parent

It doesn’t make sense to me because if we can borrow capacity to perform calculations then we can “borrow” an infinite amount of energy.

comment 1y ago · link · parent

Who is “we” and why do we need it in a “simple” language prone to memory errors where people have to non-portably reinvent every wheel?

Signed,

someone that writes and distributes apps/tools written in “less simple” languages and apps/tools written in zero-dependency and even libc-free C.

610.

Apple sued for abandoning on-device CSAM monitoring tech in 2021(nytimes.com ↗)

23 points · by ComputerGuru · 1y ago · 19 comments

comment 1y ago · link · parent

Instead of a copy icon, it would be better to just generate the entire content as plaintext in the result (not in an html div on a rich html page) so the entire url could be used as an attachment or its contents piped directly into an agent/tool.

Ctrl-a + ctrl-c would remain fast.

comment 1y ago · link · parent

Cheers!

comment 1y ago · link · parent

Guilty as charged. In my defense, it was a long time ago!

comment 1y ago · link · parent

~~I had the opportunity to donate the bootloader code to the Wubuntu project (a subset of my work on EasyBCD), which was a large part of the magic that made it “just work” for most. AMA!~~

Edit: I’m an idiot and I also haven’t had my coffee. I was talking about Wubi, as a comment pointed out below! Feel free to deservedly downvote!

615.

New open source 4-axis non-planar 3D printer [video](youtube.com ↗)

3 points · by ComputerGuru · 1y ago · discuss

comment 1y ago · link · parent

I’ve found that it’s entirely too easy to get inconsistent (i.e. self-conflicting) output in the same response from when the likes of gpt4o when you require reasoning and logical deduction on topics completely or mostly alien to it and not found in the massive input corpus. So I’m not sure this is the difference between a markov chain and a transformer llm.

comment 1y ago · link · parent

NTFS has per-folder case sensitivity flag. You could set it online at anytime prior to Windows 11, but as of 11 you can now only change it on an empty folder (probably due to latent bugs they didn’t want to fix).

NTFS had mediocre compression support from the very start that could be enabled on a volume or directory basis, but gained modern LZ-based compression (that could be extended to whatever algorithm you wanted) in Windows 10, but it’s unfortunately a per-file process that must be done post-write.

comment 1y ago · link · parent

I’m a die-hard ZFS fan and heavy user since the Solaris days (and counting) but I believe the WinBtrfs project is in better (more useable) shape than the OpenZFS for Windows project.

comment 1y ago · link · parent

You don’t need to look that far. Many of us here lived through the introduction of NTFS and did live migrations from FAT32 to NTFS in the days of Windows 2000 and Windows XP.

I still remember the syntax: convert C: /fs:ntfs

comment 1y ago · link · parent

I found the link to Quibble, an open and extensible reverse engineering of the Windows kernel bootloader to be much more intriguing: https://github.com/maharmstone/quibble

comment 1y ago · link · parent

Having a consistent log is sufficient with an atomic compare operation is sufficient for a distributed database but its performance will be extremely questionable. CAS is always the slow step, in this case, pathologically slow. The magic is to do whatever you can to avoid it until absolutely necessary. The availability of consistent, ordered, synchronized timestamps across all nodes is something most distributed databases require as a prerequisite. How you handle violations of that (and to what degree of accuracy you can rely on it) make a considerable difference.

Depending on how you structure the underlying pages, you’ll get to decide how availability at the log level translates to availability in your user/app-facing interface and whether you will end up sacrificing consistency, availability, or partition tolerance.

Basically, S3 with its recent consistency guarantees and all-new CAS support is sufffiicent in-and-of itself. But for anything other than the most basic (least amount of data, lowest frequency writes, etc) you’ll need a considerable amount of magic to make it useable.

The most straightforward approach would be to use the existing whole of another database but swap out the backend and then tweak the frontend accordingly. SQLite lets you use custom vfs providers (already used to provide fairly efficient SQLite over http without serving the entirety of the database, but previously not for writes) and with Postgres you can use foreign data wrappers. But in both cases you’ll basically have to take out a lock to support writes, either on a page or a row (either risk lots of contention or introduce a ton of locking and network latency overhead).

comment 1y ago · link · parent

Yes, that’s what I gathered from the code. But I was proposing it as an “easy” solution that doesn’t involve throwing away OP’s main idea.

comment 1y ago · link · parent

Semantic versioning?

comment 1y ago · link · parent

What’s the underlying issue? I used VMs with ZFS for storage for well over a decade with no issue.

comment 1y ago · link · parent

ZFS… using a BSD kernel :)

comment 1y ago · link · parent

I have been a huge (but lonely) proponent of C# and rust being the best two-language combo. But once (someday! Soon they say!) first-class discriminated union support lands, it’ll be the ideal recommendation for anyone that wants to get away from manually taking care of lifetimes.

comment 1y ago · link · parent

I thought this was a life hack recommendations article but it’s about Quality of Service.

@dang or @op can we get QoS added to the title?

comment 1y ago · link · parent

False start with car rental companies, only three, not four. Hertz has to be a unit then, making the first group hertz, second, mole, and volt.

Similarly, enterprise must be in the business sense. Enterprise, project, venture, endeavor.

Tiger, Ray, National, Twin are all singular versions of baseball teams?

Curb, silicon, boardwalk, and game are left. Boardwalk is the most valuable monopoly property, silicon is the modern equivalent? No clue, maybe I’m missing a cultural reference? What if curb is a verb? Curb your enthusiasm, first word of tv shows? Silicon Valley, game of thrones, maybe there is a show that starts with boardwalk? Seems tenuous.

Edit: yes, there is. Boardwalk Empire. Never watched any of them, but some googling tends me they’re all hbo shows - I knew that about Thrones. That seems slightly more realistic a connection than just first word of tv shows.

Seems like exactly the kind of thing AI would/could theoretically best humans in.

comment 1y ago · link · parent

Cameras are now always on, to reduce the latency to taking a picture or scrubbing video feed. You’d need to wire the led to something tied to the data lines, perhaps.
1
202122
277