HN user

hencq

2,133 karma
Posts17
Comments417
View on HN
Show HN: 18 Words 14 days ago

Yeah, when you fail, maybe it could offer a "continue playing" option? Then you can still finish the words, but it doesn't add to your score.

I studied in Trondheim for a semester and learned some Norwegian. Whenever I didn't know a word, I just pronounced the Dutch or English word in a 'Norwegian way'. Most of the time people didn't even blink. So much so that I'd then ask them if the word I just used existed and invariably the answer was that that was the correct word.

I think the website does an amazing job explaining it, but it basically takes an interpreter written in C and turns it into a JIT with minimal changes to the code of the interpreter (i.e. not to the code of the program you're running in the interpreter). For example they took the Lua interpreter and with minimal changes were able to turn it into a JIT, which runs Lua programs about 2x faster.

I bought Crumpler messenger bag about 15 years ago (in San Francisco when they still had a store there). Can confirm it’s indestructible. I’m glad to hear they’ve kept up their standards to this day!

Hmm, maybe my memory is betraying me. I remember our first family computer was an XT and then later we had a 386. Maybe I'm misremembering and it was the 386 that had the turbo button or maybe the earlier one was a clone. My first own PC was a 486 as well that I built together with my dad. Good memories.

I think there's something to this. And while America has always had this can-do attitude (just look at the number of self help books), it does seem to be in another gear recently. I don't know what caused it, but I think there have been a number of indicators: Trump ignoring Congress and introducing wild tariffs, Musk firing half of Twitter's staff and then later repeating this with DOGE, the quick roll-out of LLMs. There seems to be this prevailing attitude of "we can just do stuff, damn the consequences".

It appears to come with a lot of corruption and anti-intellectualism. Like you say there are also benefits to this. I think the break through of mRNA vaccines was an early indicator. I just hope we can steer this attitude back to a more optimistic world-view instead of the blatant self serving one that is currently prevailing.

A friend of mine used to once a year hang all his shirts with the open end of the cloth hangers' hooks facing forward. After wearing and washing them he'd hang them back with the hanger facing the other way. After a year he'd toss out any shirts that were still facing the original way and had thus not been worn.

Very cool stuff and great written article. Lone looks very interesting!

Are you planning to use your design to support things like exceptions as well? I think that's where that multi-prompt ability becomes important (yielding from a nested coroutine). Racket has prompts and aborts, which is essentially a 'yield to' primitive.

I like the overview given in this Stackoverflow answer [1] (based on an even earlier comment) which classifies different types of continuations:

- Asymmetric or symmetric

- Stackful or stackless

- Delimited or undelimited

- Multi-prompt or single prompt

- Reentrant or non-reentrant

- Clonable or not

Based on that these generators (or semi-coroutines as the article also calls them) seem to be asymmetric, stackful, delimited, single prompt(?), non-reentrant continuations.

[1] https://stackoverflow.com/questions/62817878/what-are-the-sp...

Yes! I was racking my brain trying to remember what it was called. Back in the early 2000s I ran BeOS on my desktop and absolutely loved it. Then when they went under, I followed the effort to come up with an open source version with guest interest. There was one effort that wanted to build everything from scratch. That's what was later renamed into Haiku (I think initially openBeOS maybe?). There was also BlueEyedOS who thought you could get there faster by building on Linux and X11.

I think Haiku got more traction because at the time people felt that it should run BeOS software without recompiling. I have long wondered what would have happened if BlueEyedOS would have gotten most of the effort.

Is it a pint? 4 months ago

Yeah, in the Netherlands 2 finger widths is the norm. But if it's more than that, people will get upset that you're pouring them milk.

Clojure also has the anonymous function syntax with #(foo a b %) where you essentially get exactly this hole functionality (but with % instead of $). Additionally there’s partial that does partial application, so you could also do (partial foo a b).

Java 26 is here 4 months ago

J++ predates C#. It was Microsoft's version of Java that wasn't quite compatible.

Racket v9.1 5 months ago

I think that should work in racket-mode as well. You can easily send individual sexps to the repl and add to the live state. However, one thing that CL does that Racket doesn't do (afaik) is when you change a data type (e.g. alter a struct), it automatically ensures live code uses the new types. In Racket by contrast I have to either carefully go through all affected forms and send them to the repl, or send the whole buffer to the repl. This does make the whole experience feel more static than in CL.

I remember at the time it felt a little bit suspicious to me. Only after everyone already knew it had imploded, the navy came out to say their hyper advanced detection system for enemy submarines had of course also detected it.

From the description, it doesn't really seem to be full Tail Call Optimization, but only optimizes tail recursion. At least all the examples are about tail recursion, where the function calls itself in tail position, which can indeed easily be changed to a loop. Tail Call Optimization would mean it optimizes any function call in tail position. Typically you'd implement that with a trampoline, but it doesn't seem like this does that.

Edit: It's actually called out under limitations "No mutual recursion: Only direct self-recursion is optimized"

Racket v9.0 8 months ago

Delimited continuations are quite similar to effect systems that seem to be getting a lot of interest lately. So who knows, maybe they will become more mainstream in the future.

I'm kind of curious if it would be possible for it to use my own voice but decoupled from accent. I.e. could it translate a recording from my voice to a different accent but still with my voice. If so, I wonder if that makes it easier for accent training if you can hear yourself say things in a different accent.

IMHO the only questionable pilot decision here is to divert to Edinburgh rather than Manchester immediately. But this is somewhat understandable: first of all, dropping the passengers off at Edinburgh (an hour drive from Glasgow) is significantly less costly and less inconvenient than dropping them at Manchester (an overnight bus ride).

Yeah, as someone who knows next to nothing about airlines, but has seen these type of decisions in businesses, this was the thing that stood out to me. This is all pure speculation of course, but I'd be curious how clear it was that Edinburgh would also have a high risk of being unsuccessful and whether the pilots felt any pressure to try that anyway. E.g. are there consequences for pilots who cause delays for passengers?