HNHacker News
TopNewBestAskShowJobs

robertlagrant

13,916 karma · joined May 12, 2014

submissionscomments
robertlagrant··on Seattle City Council votes to ban surveillance pricing in sale of groceries
> but the doctor shouldn't be able to sell my data, nor correlate it with their other patients' data

This definitely happens, at least in the UK. With anonymised data.

robertlagrant··on Samsung accidentally freezes its smart fridges with a software update
No, I don't turn it on with the app, and it wouldn't be preferable to do that.

I'm happy to tell you why I like it to save you guessing again: I like knowing when the wash is done via a notification, and also to get status updates when things like salt are low.

robertlagrant··on Samsung accidentally freezes its smart fridges with a software update
I have a dishwasher that turned out to have an app. I quite like it, but I am going to try and isolate it and only get it integrated into Home Assistant.
robertlagrant··on Samsung accidentally freezes its smart fridges with a software update
"My fridge has frozen - how do I defrost it?"
robertlagrant··on A custom virtual machine for the Stars 4X game
I used to absolutely love this game. I'm going to give it a try soon. Can't wait.
robertlagrant··on Cloudflare Quick Tunnels
Why?
robertlagrant··on Cloudflare Quick Tunnels
Can you explain why it doesn't matter that they're easy to switch away from?
robertlagrant··on Cloudflare Quick Tunnels
Given they seem to mostly offer services that are about as easy to switch away from as you could hope for, compared to, say, companies who write loads of CF that only runs on AWS, and I can't imagine why this keeps on being said for Cloudflare specifically. What power do they have?
robertlagrant··on Cloudflare Quick Tunnels
As I understand it you can make a tunnel, but it's under a domain you control and it's a few clicks in the dashboard to set up, and then a something to run in CLI. That's what my homelab uses. This is just a single CLI command and the whole thing is set up.
robertlagrant··on Lucasart's Afterlife
I'd recommend this. As kids my brother and I could never complete a game on the BBC Micro called Imogen[0]. It was amazing for the time in that your character could transform into three modes (wizard / cat / monkey) and on one screen a fourth mode, and the transformation looked smooth even back then. However - we never completed it. As an adult I found it again and while I completed it fairly easily, it was a nice memory.

[0] https://en.wikipedia.org/wiki/Imogen_(video_game)

robertlagrant··on Java 27
Before uv came along, pipenv, Poetry, and (much older) Conda all were trying to solve this problem. It's a huge problem for Python that not all languages experience, because Python packages can contain all sorts. At one point if you wanted to install Scipy you had to drag in (and compile, if I remember correctly!) Fortran, of all things[0].

[0] https://stackoverflow.com/a/14822245/61938

robertlagrant··on Recreating Voodoo Graphics and a Late-1990s Gaming PC on an FPGA
> they used to be under $150 if memory serves

True in more ways than one!

robertlagrant··on Drawably: Hand-Drawn UI Controls
This reminds me of d2lang's sketch mode[0], which I really like. Amazing if you want to publish a diagram for comment but have it not look so official someone can steal it and promise it to a customer with your name attached. Naming no names.

[0] https://d2lang.com/tour/sketch

robertlagrant··on Devil's Arrows: Ancient builders hauled 55k-lb stones 11 miles for UK stone row
For anyone confused, British people would generally use tonnes (or tons, but maybe not know the difference exactly) and miles.
robertlagrant··on Homebrew 7.0.0
> I suspect that the number of people that use and know Groovy is steadily declining

One big surprise for me at a genomics/bioinformatics company was that of the three main technologies for orchestating bioinformatics workflows, Snakemake, Cromwell, and Nextflow, Nextflow was in a language based on Groovy. It took me back.

robertlagrant··on US Customs supervisor busted for stealing hardware from Homeland Security PCs
Plot twist: that's what happened in this case.
robertlagrant··on I spent $220 on Google app ads and 60% of the installs were robots
It's not hero worship to think he knew what a customer was. It's pretty basic, and given he won the 1976 Nobel Memorial Prize in Economic Sciences, he probably knew more than the basics.
robertlagrant··on I spent $220 on Google app ads and 60% of the installs were robots
Friedman was a very smart man. I think he knew what a customer is.
robertlagrant··on I spent $220 on Google app ads and 60% of the installs were robots
> What's more, they're a publicly traded company. That means their primary product is no longer what they sell. Their primary product is stock dividends. That is their primary business now. Whether you're buying a service or a product from Google, you're no longer their true customer.

Who is their true customer then?

robertlagrant··on Open Source Durable Objects for Postgres
I might have to have another look. It always felt a bit magical, but maybe it's not so magical any more.
robertlagrant··on Shopify is moving from React Native back to Swift and Kotlin
Hello! As I'm on Android, thank you for your service.
robertlagrant··on I have a theory that software drives people insane
It can be the case that people don't want to accidentally mis-state the problem, or get into a debate about the problem because they know people will chime in about nonessentials. I would recommend "Have we written down the problem we are trying to solve? I'd like to understand more." And get it written down if it isn't already.
robertlagrant··on Python sets and dictionaries can have quadratic-time performance
I think people do say a hash table is O(1). It's the average time complexity (for some value of average) though, not the worst case.
robertlagrant··on Shopify is moving from React Native back to Swift and Kotlin
You always still needed a specialist per-platform even if most of the code was RN or KMM[0]. But I agree - a thousand not-great mobile apps sprang from this idea.

[0] I always thought the best answer was something like KMM to do all the backend comms and local data model in a shared way, and then a bespoke UI building on what that shared code exposed.

robertlagrant··on Open Source Durable Objects for Postgres
The criticism of Cloudflare here is reasonable, I think. I really like the CF building blocks - they're neat and conceptually useful and quite unusual. I think they could have a better developer experience though (though it probably is better than when I last tried it), and I also think they could have a little more confidence in their overall platform's usefulness and open up more of their model as open source. For example, I'd love to run my CF workers in CI locally without creating infrastructure (again, this may have changed since I last tried it).
robertlagrant··on Simple Is Not Small
What I always liked about mobile app development, or Docker-based development is that it increases the value of the garage programmer - they can now produce a complete shrink-wrapped piece of working software ready to go.
robertlagrant··on Ask HN: Why were OpenAI, Claude, and Grok simultaneously down?
That aligns with your goals of analysing problems, admitting fault and surfacing that through use of clear and concise language. Not just simply wrong — this screams finessed, nuanced, polished communication after an understandable mistake discovered through pressure-tested interlocution.
robertlagrant··on We found a division by zero bug in FFmpeg with a vibecoded fuzzer
I think moving the error around is a good idea. E.g. integer division would end up with five cases:

  Int / 0 -> DivisionByZeroError

  PositiveInt / PositiveInt -> PositiveFloat

  PositiveInt / NegativeInt -> NegativeFloat

  NegativeInt / PositiveInt -> NegativeFloat

  NegativeInt / NegativeInt -> PositiveFloat
And the type signatures of those possible return values can drive validation checks upstream of the calculation, so you're not actually ever going to return DivisionByZeroError. You're making sure through validation checks or case logic that that can never be returned.
robertlagrant··on ChatGPT outage – Resolved
That sounds like Cloudflare indeed (or an API copy of same!)
robertlagrant··on We found a division by zero bug in FFmpeg with a vibecoded fuzzer
What we need is a numeric type that cannot be zero.
← PreviousPage 2 of 34Next →