HNHacker News
TopNewBestAskShowJobs

torlok

1,157 karma · joined December 10, 2023

submissionscomments
torlok··on U.S. Small Biz Can't Ship to the EU Anymore
The EU closed a tax loophole, and I'm happy to support small local businesses over people shipping things from overseas. I'm sure there are edge cases, but overall I don't see an issue here.
torlok··on You can defeat the Dream Devourer from Chrono Trigger using an int overflow
Fandom Wiki leaves 5 lines of readable text on my iPhone after about 3 seconds of loading.
torlok··on Don't be the out of touch Kung Fu master
Would love to see Carmack create a product with AI, instead of stealth promoting his shovel company on the worst website on the internet.
torlok··on Performance of WebAssembly Runtimes in 2026
My only issue with WASM is that it forces me to contort my platform abstraction later to terrible web APIs. Other than that it's great. I can compile C++ with plain clang or the WASI SDK, and it runs everywhere at near native speeds with minimal boilerplate.
torlok··on Tesla killing Solar Roof is leaving installers with six-figure losses
The reason Tesla acquired SolarCity was to bail Musk out. Same as xAI, and then SpaceX, bailed out his Twitter purchase.
torlok··on Tesla killing Solar Roof is leaving installers with six-figure losses
Solar Roof was vaporware when it was presented by Musk. It was blatant fraud. There's no "free energy" here. The roof was way more expensive than a regular roof covered in solar panels.
torlok··on You Know GDPR Is Good Based on Who Hates It
Nobody's forcing you to buy products in plastic bottles. It would actually be better if you didn't. "Technology and progress" are so far producing mountains of trash and pollution that you're privileged to not have to see, unlike those children in Africa, and other impoverished places where your garbage washes up. You're proud of winning the lottery. Have some self-awareness.
torlok··on You Know GDPR Is Good Based on Who Hates It
Europeans were blowing each other up 80 years ago. Now we have complete freedom of movement and trade. You're missing the forest for the trees. The EU is the greatest achievement of our parents' generation.
torlok··on It's getting harder to focus every day
I don't think this is a solution. I do this often naturally, I walk around and "plan", and it feels like I'm just avoiding sitting down and doing the actual task.

The author talks about it; when facing a difficult problem, they go get a glass of water, and get distracted. That's what this is. Anything but doing the actual task. If you're going to take a break, take an honest break and rest, but then go back to work. That's the real solution, and boy is it hard to do these days.

torlok··on Learn OpenGL, extensive tutorial resource for learning Modern OpenGL
OpenGL is still the simplest way to start learning hardware accelerated rendering, and it runs on all modern platforms.
torlok··on Learn OpenGL, extensive tutorial resource for learning Modern OpenGL
Yes, OpenGL 4.1 is available, just deprecated. It's emulated through Metal, and so will work on M chips.
torlok··on Learn WebGPU for C++
I maybe be a complete moron not familiar with Github, but I wanted to have a look at the code and it took me solid 5 minutes of going through the website searching for a link to the repository, and the only one I eventually found was when I scrolled to the bottom and clicked the Github icon. Removing the path from https://eliemichel.github.io/LearnWebGPU/index.html leads to 404, no idea why that doesn't just lead to https://github.com/eliemichel. Don't know if it's just me, but I get unreasonably frustrated by things like this.
torlok··on Why malloc always does more than I asked for?
As I said, a slab allocator is included as part of general purpose malloc implementations. Rust is not going to be smarter here. I would bet it uses malloc underneath anyway.

Using a fat pointer to address individual bits is a waste of memory. You'd need an offset and length, and you'd have to deal with byte boundaries when accessing data. The only way I see this working is if you had a language that natively supported sub byte types and could deal with alignment of such types natively. Your best bet would be bit fields, which Rust doesn't support natively.

Dynamically allocating tiny amounts of data is a niche issue. You don't want a genetic solution to this anyway, because the efficiency will come from the constraints specific to your problem.

torlok··on Why malloc always does more than I asked for?
You mean 4 bytes? You can't even address 4 bits. Small allocations can be handled by a slab allocator. Most likely implemented via a free list. A general purpose malloc should have that feature. TBH, I would consider allocating such tiny amounts of memory as a programmer error.
torlok··on Grok 4.5
DOGE gutted SSA, IRS, directly affecting seniors and other vulnerable people getting checks, gutted CFPB taking away fraud protection, not to mention gutting of USAID which caused countless deaths, though I'm sure you don't care. Musk used his wealth and social platform to greatly help elect a man, whose personal gestapo is now chasing down non-white US citizens and disappearing them.

But sure, he didn't personally punch anybody, and doesn't wear an SS uniform in public.

torlok··on Apple's weird anti-nausea dots cured my car sickness
Are AI comments allowed on HN?
torlok··on TinyWind: A pixel pirate sailing game with real wind physics (380k+ kms sailed)
There's a vague correlation between wind direction and sailing speed, but there's nothing real here. The mechanics of sailing upwind, downwind, or the cost of tacking are interesting mechanics that aren't explored here whatsoever. The dead angle on a ship with a square rig should be massive. This ship goes upwind like it has a motor.
torlok··on The iPad was on Tailscale: a WebRTC debugging story
Reading titles like these makes me feel like I'm having a stroke.
torlok··on Making peace with your unlived dreams (2023)
I had the same mindset about wanting to be good at a lot of things, working on myself, not "wasting time", but now in my mid thirties I figured that if I really wanted to do something, I'd be actually doing it, and a lot of these goals boil down to "it would be cool if I was good at X", and aren't actually things I care about.
torlok··on S&P 500 rejects SpaceX, also blocking entry for OpenAI and Anthropic
To who? There's no immediate benefit of holding a stock that doesn't pay out beyond voting rights, or a fraction of company assets. As parent said, you're just hoping to sell it to somebody down the line for more. It's speculation. The market is liquid, and a lot of people believe these stocks have value, but it's still speculation.
torlok··on S&P 500 rejects SpaceX, also blocking entry for OpenAI and Anthropic
Every time I try to explain this to people I feel like I'm talking to a brick wall. Even more frustrating to hear, otherwise reasonable, market analysts say that "dividends don't matter because the stock value goes down on payout". What doesn't matter is how successful a company is if they don't share their profits. You're literally buying a Pokémon card just with a lot of liquidity until the illusion of value bursts, hoping that somebody will buy you out because P/E improves or whatever.
torlok··on SpaceX, Other Mega IPOs Denied Fast Index Entry by S&P
It didn't already happen. As you pointed out, people who funded the purchase of Twitter hold SpaceX shares, and this IPO is how they get their money back.
torlok··on Can the stockmarket swallow Anthropic, SpaceX and OpenAI?
People who helped Elon buy Twitter want their money back. After all the share-swap acquisitions X shares are now SpaceX shares.
torlok··on Goodbye Visa and Mastercard: 130M Europeans switching to sovereign payment
Europe is dealing with the US, just not via empty threats on social media. Things take time when you have a functioning democratic system with checks and balances.
torlok··on Agentic Trading with Safe Guardrails
It's there any evidence that trading off of headlines works long-term?
torlok··on Sam Altman's Business Dealings Under GOP Scrutiny Ahead of OpenAI's IPO
Sounds a lot like what Musk does, except maybe that Musk uses his companies to outright bail himself out.
torlok··on UAE to leave OPEC
I think you underestimate how little economic pressure matters when people are up against an invader who attacked amidst negotiations for bogus reasons, threatened total annihilation, and killed thousands, including a school full of children.
torlok··on Do you want the US to "win" AI?
Beside posturing, modern China was only involved in skirmishes at the Indian border. What's delusional is blindly comparing China to Russia or the USA.
torlok··on F-35 is built for the wrong war
Russia is keeping their expensive equipment in the back since years now because they're afraid to lose it. They would be fire bombing cities if they could. Russia already used white phosphorous in this war. The only reason they're not killing more civilians with missiles and drones is because they can't build more of them.
torlok··on Europe has "maybe 6 weeks of jet fuel left"
Thanks Joe Rogan.
Page 1 of 12Next →