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

Thanks for sharing the Timex link! I have a soft spot for hybrid analog-digital tech like that but I think a Bluetooth module (if you can figure out the antenna situation) only turned on at a certain watch face (plus a sequence of key presses) is probably the best compromise and shouldn’t be too draining if it’s fully powered down otherwise.

Other radio tech might be an even better option would need a transceiver on the PC side as well, so might not be worth it depending on how often you would be using this feature.

comment 4y ago · link · parent

The web emulator has to be the best part of the project. It makes debugging and testing so much easier!

comment 4y ago · link · parent

This is already being severely abused; system load jumped to 9.xx an hour ago and has stayed there.

comment 4y ago · link · parent

I don't see why a language should have support of an image format. Isn't that library territory?

comment 4y ago · link · parent

It’s a matter of principle. If you wrote a script yesterday (or a year ago) and didn’t include that line, you need to re-release it today. That’s stupid.

Also, you’re being very sanctimonious about this but what if you didn’t see this HN story. Would you know to do that for the next script you distribute?

comment 4y ago · link · parent

FYI Small hashes beat better quality hashes for hash table purposes.

comment 4y ago · link · parent

This was on the root partition, which is subjected to a lot more concurrency issues than an sd card normally would fwiw.

comment 4y ago · link · parent

Check your dns? They work here.

comment 4y ago · link · parent

The original article as submitted by one of its authors to r/science is at [0] but is unavailable due to the reddit effect. The reddit thread itself can be found here [1].

[0]: https://www.cfa.harvard.edu/news/weve-never-seen-anything-bl...

[1]: https://old.reddit.com/r/science/comments/y2439s/weve_never_...

2140.

Black hole observed spewing material years after consuming star(news.harvard.edu ↗)

4 points · by ComputerGuru · 4y ago · 2 comments

comment 4y ago · link · parent

It’s basically append-only for recent things so you theoretically you can’t lose anything (within a reasonable timeframe). I don’t know if the porcelain exposes everything you need to avail yourself of that design functionality, though.

comment 4y ago · link · parent

> Apart from one kernel regression bug related to NILFS2 it’s worked flawlessly

Maybe on x86? I’ve tried repeatedly to use it on ARM for RaspberryPi where it would have been perfect, but always ran into various kernel panics as soon as the file system is mounted or accessed.

comment 4y ago · link · parent

Ah sorry, you're right. That allows FAT32 to be used for larger partition sizes, but the file size limit remains in place.

comment 4y ago · link · parent

Note to readers: you need to view this on a desktop (or maybe a tablet would work?). At least on my phone a considerable amount of the functional UI is completely cut off and rendered inaccessible even with scrolling. (Hopefully they are not dogfooding and this has nothing to do with the tech they’re touting!)

comment 4y ago · link · parent

I’d be more interested if they actually had something to show instead of preemptively forking and generating all this buzz before they even write a single line of code. But it’s a smart approach and probably works in their benefit.

That said, SQLite is fully extensible and its vfs is quite capable. Much of what they want is already possible without forking upstream. And people use SQLite because they trust the rigor and quality of the code, in part because it’s developed the way it is developed. Any fork would have to work really hard to gain that kind of trust; I would hope it’s not automatically conveyed by association.

2146.

Japanese Knotweed: The alien shrub that can't be stopped(bbc.com ↗)

54 points · by ComputerGuru · 4y ago · 25 comments

comment 4y ago · link · parent

And it’s literally aerosolized oil, so definitely not a calorie-free food!

comment 4y ago · link · parent

What’s your GPU? My phone can handle the demo without freaking out so I find it hard to understand why a PC would take half its available GPU compute to do the same.

comment 4y ago · link · parent

FAT32 can even be used with larger sizes if you just format with a larger cluster size. Since each bundle/shard is 1MB minimum that is not a problem here.

comment 4y ago · link · parent

I said “develop/add olpc support to various bootloaders to help spur development, adoption, and utility” and they didn’t give me one.

comment 4y ago · link · parent

Ah, the tell-tale signs of re-implementing inputs from scratch! It's not so much "hit C" as "Hit the key with code KeyC"... which means press "j" if you're using Dvorak, and something else if you're using Azerty, Colemak, or some other layout.

comment 4y ago · link · parent

I love your answer + examples and concur wholeheartedly.

comment 4y ago · link · parent

So have it press a button. It’s just a DTMF tone. (Is that a redundant acronym phrase?)

comment 4y ago · link · parent

A couple of months ago there was a discussion on r/rust about why the standard library doesn't include a semaphore and I mentioned that it's a deceivingly difficult synchronization primitive to safely model in a rusty way. I ended up nerd-sniping myself into trying anyway [0], [1] and decided to share a writeup with some of the issues I ran into trying to come up with a safe and no/low-cost rusty interface for a semaphore.

It ended up being a great example of some of the things I love about the rust ecosystem (though it did also reveal some of the weaknesses of the rust ro^rw borrow semantics) in terms of the thought and care it takes to make an api that's resistant to misuse but still (hopefully) ergonomic.

[0]: https://github.com/neosmart/rsevents-extra

[1]: https://docs.rs/rsevents-extra/latest/rsevents_extra/struct....

2155.

Implementing truly safe semaphores in rust(neosmart.net ↗)

8 points · by ComputerGuru · 4y ago · 1 comment

comment 4y ago · link · parent

No it doesn’t, or at least not always. I wasted my time last night on the stupid “junior dev thinks he’s a senior” crap post because it was on hckrnews (with points and comment counts) even though it was killed (flagged) on the real HN.

(I browse with showdead but I still have a signal that says “this may not be worth your time” before reading.)

comment 4y ago · link · parent

It may be the least subjective but it’s also the least technically/physically probable even if someone were a 10x developer.

The gambit is that a mediocre programmer would take 10x as long to write the same code as the hypothetical 10x dev. But that’s not what a mediocre or even average dev does: they solve the problem in an entirely different (and, for purposes of this argument, less optimal) manner in some spam of time that may or may not be longer than a qualified hacker or a theoretical 10x dev. Almost all CS problems have multiple solutions, so you’re not likely to find one where there is only one solution and it takes one guy x and the other guy 10x as long.

comment 4y ago · link · parent

It's a very clever idea for an awesome, interactive app but in practice the results are extremely terrible. The output has almost nothing to do with the input, the outputs are all really just slight variations on what was clearly a very small training set, and the results are hardly even "possible" or "sane" suggestions with extremely obvious AI artifacts like impossible shapes or walls that are also chairs that are also windows that are also some weird thing no one can name.

comment 4y ago · link · parent

It’s just one example of being 10x better but hardly the only one or the most realistic.
1
717273
277