HNHacker News
TopNewBestAskShowJobs

the-smug-one

841 karma · joined August 10, 2020

Not actually smug, at least not on purpose.
submissionscomments
the-smug-one··on Asahi Linux Progress Linux 7.3
Crikey lol. I haven't seen a single laptop that reaches Apple's HW quality. Besides, why are you assuming that we're buying new laptops?? Also, just generally, don't be such a dick.
the-smug-one··on NYC's "Click to Cancel" rule is now in effect
525 bucks per cancellation sounds like a lot to me tbh
the-smug-one··on Java 27
A simplified way (and it is simplified) is that it takes your warmed up ordinary Java JIT JVM and dumps all of the "warmed up" stuff to an archive that's super quick to start. Then you skip a lot of interpretation, etc. You need to run your regular app while recording, in order to get something out of it.
the-smug-one··on Java 27
Go's compiler is fast because it doesn't do as many advanced (read: computationally expensive) optimizations as other compilers do. No clue about Green Tea and how awesome it is :-).

Lower memory pressure is certainly a difficult thing to beat Go at, Java (OpenJDK) is probably never gonna get there. You get a lot of other stuff, like better peak performance, instead.

Btw, have you tried Leyden/AOT for better startup times? Curious about your experiences with that.

the-smug-one··on The End of Programming
Switching jobs, not profession. I am currently very underpaid.
the-smug-one··on The End of Programming
The main reason that I'm in the process of switching jobs is to get more money, in case we are fucked as a profession later on. So yeah, even if I don't necessarily believe this is the future, I am certainly making sure that if it is the future I will be more comfortable.
the-smug-one··on Everyone says assembly is untyped—everyone is wrong
Good article, but it's so LLM-y, wish it wasn't. Either Bill needs to stop slopping, or he needs to get an editor.
the-smug-one··on Oracle bans AI-generated code from OpenJDK
What? Why not "One Rich Asshole Called Larry Ellison"?
the-smug-one··on Does creatine make you smarter?
Creatine breaks when cooked, so for the most part he's not gonna get too much from eating a steak or whatever. Taking 5g/day of pure creatine to satiate your stores might be too much for this particular individual. Anyway, the parent produces its own creatine as well!
the-smug-one··on Deir El-Medina Strikes
The "Past Lives" podcast just had an episode on the workers of Deir El-Medina.
the-smug-one··on Late Bronze Age Collapse
It was cancelled by Amazon when they purchased Wondery, IIUC. He's got "Past Lives" podcast now!
the-smug-one··on Java 27: What's New?
Why? Just upgrade. Make it so that your org can deal with it.
the-smug-one··on Java 27: What's New?
I don't see the point, just increment it every release. Don't see what errors are prone either
the-smug-one··on Late Bronze Age Collapse
Eric Cline has an interview on "Tides of History" podcast.
the-smug-one··on Win16 Memory Management
6 is pretty early to enjoy reading books, so I wouldn't worry.
the-smug-one··on Do the Hardest Thing
Why are you being so condescending? A person wants to get into an open source project, so takes work he knows others won't finish before him, and you're talking to him like he's a noob (you have no clue how long ago this was). Hell, you don't even know if the tickets were outdated.
the-smug-one··on Serving Netflix Video Traffic at 400Gb/S and Beyond (2022) [pdf]
I refused to connect my TV to the internet and use a Vero V for all of my watching needs. The Vero V is absolutely worse than most other experiences, but I'm happy.
the-smug-one··on Niri 26.04: Scrollable-tiling Wayland compositor
Transparent windows look really cool, but do people actually use that in day to day use? I guess I've got old man eyes or something.
the-smug-one··on The West forgot how to make things, now it’s forgetting how to code
I'd say that Ukraine were very prepared for the invasion, though? They managed to survive for the first 2 weeks, leading to a long-term war. The Donbas war had already been going on for 8 years, and I don't think Ukrainians were under some illusion that those weren't Russians.
the-smug-one··on Garbage Collection Without Unsafe Code
It's quite unfortunate that traced references has to be wrapped in Gc<>, as this means that your types are bound to a GC allocator (right? Maybe I'm wrong!). It also means that trying out a GC is a pain, as you're stuck first doing the rewrite of your types. The necessity of Trace is another burden, but probably an unavoidable one.

In this example, you wrap Gc types in Option, I think that having the Gc type be nullable instead would be an interesting experiment. Having to introduce a lot of places that branch both puts more into the instruction cache, and adds more places that the branch predictor has to track. Besides, you can always add in missing checks if you know that you have a sparse subgraph somewhere. Total potential micro optimization, but it's a bit of fun :-).

I also like how this shows how freelists are a smidge less efficient in safe Rust, as compared to unsafe Rust. In this solution, we have to encode the tag for the discriminated union, this is unnecessary! The unoccupied slots forms its own separate list, and so you know that you will always have unoccupied slots as long as you trace along that path. I assume that that will add up to the maximum alignment of bytes, as arrays need to be well-aligned? So, probably 8 extra bytes per element (you're storing stuff that probably references other stuff).

the-smug-one··on Making RAM at Home [video]
So, I get that we charge the capacitor up, and that it leaks so we must recharge it periodically. I don't get two things:

1. How is the value read? Is it reading the leak?

2. How is recharging done? I guess the leak itself (assuming my guess in 1. holds) could provide charge for some logic that checks "if has charge then recharge else nop".

I still don't really get transistors :P, but this was cool.

the-smug-one··on The secrets of the Shinkansen
It's basically one card for everything, independent of company, in Japan. Only certain trips require tickets from specific companies.
the-smug-one··on The secrets of the Shinkansen
Read the article.
the-smug-one··on Goodbye to Sora
There certainly was an OOP craze, that's not out of touch to talk about.
the-smug-one··on So where are all the AI apps?
And it was all crap software, no? EDIT: If it was crap, then that is still good for AI.
the-smug-one··on So where are all the AI apps?
Why did you let an LLM write this comment?
the-smug-one··on I changed my personality in six weeks
Maybe it's useful to consider it a way to practice being in different ways? To be good at being agreeable and assertive, neurotic (someone tell me why that's ever good), and so on, would really give you an edge at life.
the-smug-one··on Trump says Venezuela’s Maduro captured after strikes
>Also Belgium fiercely resisting confiscation of Russian assets etc

Isn't this literally them not wanting to be left holding the paper bag?

What businesses are doing, I don't know, I am more aware of what states are doing. What're your thoughts on the expansion of military expenditure? Let Ukraine die, keep ourselves defended?

the-smug-one··on Trump says Venezuela’s Maduro captured after strikes
This is a crime to the Venezuelans, the US citizens, and the whole of South America.
the-smug-one··on Trump says Venezuela’s Maduro captured after strikes
It's probably because it was harsher that they did so.
Page 1 of 11Next →