HNHacker News
TopNewBestAskShowJobs

rothron

169 karma · joined July 11, 2011

submissionscomments
rothron··on Analyzing Frontier Model Progress with My Favourite Game: Prince of Persia
I see a lot of these attempts at getting a model to replicate a classic game. I'm sure this is a use case with some interest, not everyone wants to spin up an emulator, but it strikes me as odd. Rather than English being the new high level language for programming, the LLMs is handed a finished game as a specification and asked to copy it.

That gets you past the problem of the lack of specificity in English, but requires you to already have the thing you want to get made. At least tokens are cheap.

rothron··on We built a self-healing system to survive a concurrency bug at Netflix
This fix means that you won't notice when you accumulate other such resource leaks. When the shit eventually hits the fan, you'll have to deal with problems you didn't even knew you had.
rothron··on Trump wins presidency for second time
These are the same noises that were made on the right prior to the election. As long as people are sufficiently mad about the status quo, the other party has a chance to take over.
rothron··on Color Wheels Are Wrong (2011)
This topic has been written about in more depth by people who didn't try to work it out by themselves.

The classical artists color wheel is based on pigments. Printers use dyes. Screens use light. That's the whole reason why the primaries are different. The wheels are just tools.

rothron··on Why checked exceptions failed
I don't think we disagree it's just a different perspective. The forced handling or propagation is what makes them annoying, but I think they're conceptually wrong.

It would be another matter if they were designed such that you could fix an issue and continue the call on the happy branch, but I suspect the cases where something like that would be applicable are very few.

rothron··on Why checked exceptions failed
> But importance of the failure is determined completely by the program, not the library.

Exactly. I think this is the real crux about what's wrong with checked exceptions. It puts the responsibility to decide what exceptions are important on the library, where it doesn't belong. Only the user of the library knows that.

rothron··on All programming philosophies are about state
It's more of an issue the more network-y and multi-cpu your ecosystem is. I find the post rather banal and obvious. The state is literally the how and what.
rothron··on Ice cream in China doesn't melt, even under a flame, sparking controversy
I have made ice cream like this using Gellan as a stabilizer. It's just too much of a pudding to melt. It's not really what you want in an ice cream. You at least want it to melt completely in mouth temperatures.
rothron··on I was just subjected to the most credible phishing attempt I’ve experienced
His first mistake was to read back the verification number? Why would they legitimately asked for this theoretically?

To verify he has the phone they just called him on?

You should never have to read back a verification code.

rothron··on Brains are the last frontier of privacy
We used to laugh at the tin-foil hat people. Maybe they were just ahead of their times.
rothron··on A 30th anniversary note to Prince of Persia fans
I remember well the movement that impressed me the most. The elaborate changing of direction when running and then turning. It looked so natural, and it was the first time I'd seen that in a game.

Most platformers still violate conservation of momentum and let you change direction in mid air.

rothron··on A 30th anniversary note to Prince of Persia fans
Some of them were made from 'rotoscoping' video recordings of his younger brother.

Videos exists:

https://www.youtube.com/watch?v=wKgLfqOVHco

rothron··on Why can’t a bot tick the 'I'm not a robot' box?
This would've made an awesome SciFi short story.

The twist at the end is that she's lying.

rothron··on Amiga Music Tracker in JavaScript
You also need a CRT or at least some sort of strobing refresh display to eliminate smearing from persistence of vision.
rothron··on Amiga Music Tracker in JavaScript
This takes me back!

But it feels kinda wrong to have that mouse cursor and have it not move perfectly smooth.

rothron··on Impostor syndrome strikes men just as hard as women in technical interviews
Wouldn't an ad like that attract the biggest egos, not necessarily the best coders, nor people you would ever want to be on a team with?
rothron··on JPEG image of Shakespeare which is also a zip file containing his complete works
The extension is somewhat of a misnomer. It's really a jif. JPEG Interchange Format. You can imagine the confusion if the jif extension caught on.
rothron··on Recursive fibonacci benchmark using top languages on GitHub
I called it that because I've seen fib be the go-to example of so many introductions to functional programming.

But I suppose it's more accurate to describe it as the poster boy example for changing an implementation to make it tail recurse.

rothron··on Recursive fibonacci benchmark using top languages on GitHub
Just to underline the futility of this, if you are clever you can let the compiler do it.

https://everything2.com/title/C%252B%252B%253A+computing+Fib...

rothron··on Recursive fibonacci benchmark using top languages on GitHub
Don't see the point really.

Languages without tail recursion will perform worse. Memoization is borderline cheating, because it's a different implementation.

Fib is the poster boy for tail recursion but the reason for that is that recursion to implement fib is simply a bad choice. It's cute but that's about it. If the point is to measure function call overhead, then measure _that_?

rothron··on 24-core CPU and I can’t type an email
Yes. Especially if it has an ULMB function that can strobe the backlight.
rothron··on 24-core CPU and I can’t type an email
It's sure nice to not have your corneas constantly assaulted by charged dust particles.
rothron··on Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node
I've got a 10 year old who's been making a lot of stuff in Scratch since he was 6. I've been trying to think of how to phase him over to less limited languages and wasn't aware of blocklike.js, so thank you for that idea.

Having a lot of projects that you don't finish is completely normal, so don't worry about that.

rothron··on 24-core CPU and I can’t type an email
The move from CRT to LCD adds a few milliseconds depending on the screen. We're so used do it by now, that typing on old hardware is almost jarring. It feels almost TOO responsive.
rothron··on Depixelizing Pixel Art (2011)
Theoretically, it should be possible to recompress the video back into the compressed file with no loss, provided the same codec is used, but it would be far more expensive computationally.
rothron··on Google's AlphaZero Beats Stockfish In 100-Game Match
While interesting, it's comparing 5000+ Tensor Processing Units against 64 CPU threads. I suspect this isn't a fair comparison by watts spent.
rothron··on A man is about to launch himself in a homemade rocket to prove the Earth is flat
People have done this of course, but you cannot convince a flat earther with GoPro footage because of the fisheye lens that will allow you to film the horizon curve either way, depending on the angle.

What you'd need is a wide angle rectilinear lens not normally found on light weight cameras.

He shouldn't expect much from 1800 feet tough in terms of seeing the curvature. It won't be pronounced. I think he just wants to fly.

rothron··on A Universe in One Line of Code with 10 PRINT
It's square as it's 8x8 pixels, but the pixels themselves are not. There's a difference in aspect ratio between PAL and NTSC variants, and because the C64 was usually connected to a CRT, pretty much all bets are off.
rothron··on Face ID, Touch ID, No ID, PINs and Pragmatic Security
Not looking forward to the video services that demand that you pay attention to ads before they let you view their content, now that they have the ability to check.
rothron··on Blood from young animals can revitalise old ones
Blood banks stopped paying for blood because it attracted the wrong customers, those strapped for cash rather than the idealistic types. As a result quality suffered.

Between hospitals blood is bought and sold at the price you mention.

Radiolab had an episode about this some time ago.

Page 1 of 2Next →