HNHacker News
TopNewBestAskShowJobs

jojohohanon

165 karma · joined January 29, 2020

submissionscomments
jojohohanon··on HP bricking printers remotely if the client's credit card expires [video]
I have the brother stupid basic black and white laser printer with duplexing and WiFi.

That thing is unstopable. Incredibly cheap to purchase and use. 100 would buy again.

jojohohanon··on Over the past 21 months I’ve written a code editor from the ground up
I’m constantly surprised by the ubiquity of javascript.

Of all the languages I would choose for a desktop app, it ranks pretty far down, yet I am clearly in the minority.

But I’m not here to show my age or biases - I am genuinely curious. What am I missing that makes JS/node (or is that a redundancy? Is there any other choice than node for JS local development?) such an attractive choice for local development.

Over say java / swift / rust for static languages or python / closure / julia for dynamic?

jojohohanon··on OCaml 5.0 Multicore is out
This reminds of the worse is better debate.

Specifically how the “better” crowd spent a lot of time trying to solve PCLSRing while the “worse” crowd just said: meh, throw an error and let the program figure it out.

Previously

https://news.ycombinator.com/item?id=20225555

jojohohanon··on OCaml 5.0 Multicore is out
I think golang is designed intentionally to make it easy to read unfamiliar code.

To paraphrase: The idea being that a well designed library api gets you 90% of the benefits of a richer language’s features, but without exactly that penalty that Carmac calls out.

jojohohanon··on I almost failed to search a 37 GB text file in under 1 millisecond
If we could support a larger file, we can just zero pad the counts (stored binary) to max needed length. Then we get accurate seek to entry # x.

If that is not possible, precompute the average count representation length to get an accurate AVG offset per entry. Accurate in aggregate.

But I wonder if I wouldn’t use some prefix representation, like a trie, but that’s cheating I think

jojohohanon··on Apple AMX instruction set (M1/M2 matrix coprocessor)
I was disappointed in how the Dylan project ended up.
jojohohanon··on Programming Fonts
I always ask when one of these discussions comes up. Can anyone recommend a for that does all of these:

* proportional (yes) * sans serif * has the common programming ligatures

The proportional with programming ligatures bit tends to reduce the search space to zero.

Oh and since we are volunteering, I like dank mono which I paid like $30 for.

jojohohanon··on Worm: A dynamic, tag-based window manager written in Nim
I think posts like these are why I haven’t even looked at rust as an alternative.

Here the author has boiled the problem down to its minimal form, and it’s still 10s of lines of code.

It is this weird overlap of over-verbosity a-la c++ and extreme succinctness a-la Perl. You have to spell everything out and every bit of punctuation matters.

jojohohanon··on Inside the world of hostage negotiation (2019)
Idk. Can we not link to paywalls?
jojohohanon··on New UUID Formats
Is the author of the spec here?

I notice in section 6.1 reliability, the word “must” in clock going backwards mitigation is not MUST.

Intentional?

jojohohanon··on I was wrong – CRDTs are the future (2020)
Isn’t ignoring the difficult edge cases of commutative operations what got darcs and theory of patches into problems?

I never used it (darcs) but got the impression that it was easy to get into merge cases that were very hard to resolve.

(To be clear: I am not /claiming/ the above, I am asking whether my recollection is correct)

jojohohanon··on City Does Not Exist
Oh. I thought it was a set of images of cites from satellite data that had no official name.

Deniable cities, so to speak.

jojohohanon··on Tell HN: Google returning 'Untitled' results that redirect to malware/spam
I’ve not noticed malware so much, but several legit independent programming resources (baledung, as a random example of a possible target; not sure I’ve seen their content stolen) will have their content lifted wholesale, slightly cropped to remove identifying marks, and then rehosted, stuffed to the gills with ads.

These initially seem fine, and it’s only when you repeatedly search the same topic that you notice the stolen content. You can tell the legit site by having bylines, references, and fewer ads.

Google seems to weight them the same, which is near malicious: it has the history to show primacy.

jojohohanon··on A U.S. submarine struck an underwater mountain last month, the Navy says
The Swedish rules I learned as a boy in a dingy included that leisure craft yield to commercial, regardless of propulsion.
jojohohanon··on When McDonalds Came to Denmark
The economist publishes a Big Mac index of currency over/under valuations.

I’m sure unions play a factor, but many others do as well.

jojohohanon··on Borax
The worst thanksgiving menu ever. I can’t find the menu itself (basically

Borax Soup Borax Salad Borax Turkey Desserts Borax)

But it is referenced here

https://www.wpr.org/borax-dinner-party-kickstarted-fda

I will go look over metafilter archives, since I imagine that’s where I read this originally.

jojohohanon··on William Gibson is a literary genius
I am a huge Gibson fan, but had no clue new rose hotel even had an adaptation. I thought Johnny Memnonic was the only one!

Thanks for the pointer.

jojohohanon··on Larry Page: Google co-founder granted New Zealand residency
https://news.ycombinator.com/item?id=27777717 <- urs
jojohohanon··on The humble water heater could be the savior of our energy infrastructure woes
When hooked up to the grid, converting from electricity to heat for storage makes alot of sense (to me).

But I'm curious about your case: why not use the old-fashioned solar water panels to create hot water directly?

jojohohanon··on Crazy Clock
oh. That's a bit disappointing.

I was envisioning a clock where the second hand dragged the others every time it passed over. So the minute hand would only move when swept over by the minute hand, for as far as it needed to revolve. Similarly, the hour hand.

I would be nice if the minute hand moved the hour hand, but that would be noticeably inaccurate.

jojohohanon··on Crazy Clock
I'm assuming you need to unplug the battery to set the "true" time? Else you might be adjusting the "I'm in my +10 minutes phase" (for early clock, f.ex), turning it into late clock. (?)
jojohohanon··on Crazy Clock
This is super neat. I identified a desire for the tolerance clock (*) many years ago, but never thought I'd see it implemented.

(*) The tolerance clock always displays time that is within some tolerance of true time, but that is all it guarantees. I never worked out formal specs, so either crazy clock or early clock would suffice I think.

neat!

jojohohanon··on The Connection Machines CM-1 and CM-2 (2015)
I would have liked to see a debate between Chock Moore and his Greenarrays chip and a Danny Hillis and the connection machine.

Despite surface similarities, the two projects are very differnt (speed vs energy efficiency, simd vs mimd, lisp(*) vs forth)

But to program them you must keep the same mindset, I think, and both are best seen as macro-FPGAs.

jojohohanon··on This Chemical Does Not Exist
Does it have thiotimoline?
jojohohanon··on Programmer's Resignation from 1985
This.

I loved my first job. Every thing about it. But looking back in hindsight, it was a vanity project of the ceo, and was never going to recoup the manpower investment. Requirements and goal posts were ever-shifting. I was too naive to even perceive role status and did little or nothing concrete to forward my career except turn out (quality) code.

I loved it.

I would be frustrated to distraction if I were in that position now.

jojohohanon··on Merkle Tree
Previously [1], tho the pointed-to link is dead.

Discussion there includes Plan 9's Venti filesystem, which I have always admired as throughly well engineered.

[1] https://news.ycombinator.com/item?id=8286616

jojohohanon··on Finl is not LaTeX
The examples on sile’s own webpage are hardly inspiring.

Is it better than markdown, as laid out by my browser and the free pluggin, and saved to pdf? Not from those examples.

jojohohanon··on Klarna users are being signed in to random accounts
A lifetime ago I was writing code for airline data processing. The specs are very clear about what the valid representation of every field was (less so about what they meant, but...).

So we generated our parser to fail if field ORG/1457 (made up) was not numeric max 8 digits. Or missing where mandatory.

Even if we never touched the data in that field.

Turns out that no-one else used the spec that way. No two were the same, so we had to basically implement two layers of parsing. One to put the data in a common parse tree, and the other to per-sending-mainframe interpret the data as how the sender had implemented.

We assumed that the mainframe would never send illformed data, and indeed that-could-never-happen. But they differed in what they thought was well formed.

jojohohanon··on Freenode ops take control of 700 channels
I guess I always assumed that IRC was decentralized; one server could drop, or go rogue, with no ill effects.

But that's probably an anachronism, given the age of IRC.

jojohohanon··on No Flutter on Linux desktop
You give the tautological answer. All you say is true.

Parent was saying that the Linux model has failed spectacularly to deliver the software they needed.

Possibly there are categories of software illsuited for development by donated time from loosely coordinated volunteers.

← PreviousPage 3 of 4Next →