HNHacker News
TopNewBestAskShowJobs

DanielHB

3,104 karma · joined June 10, 2021

submissionscomments
DanielHB··on NixOS is making me less afraid
Yeah I few the same way about cloud services, impossible to humanly-parse AWS articles are finally _useful_.
DanielHB··on Ask HN: How to deal with shipping AI-written code you don't understand?
You can keep tacit knowledge if you keep your prompts _really_ small and check the output at each step. That is how I write most of code these days, but I also interweave some manual editing occasionally (because it would be faster than prompting).

Basically using it as a way to type faster.

DanielHB··on Ask HN: How to deal with shipping AI-written code you don't understand?
Did it feel bad when you switched abstraction level? Going to agent AI tools feels horrible, especially with how it is used these days.

Like, it is not that I hate AI tools, I just hate how most people are using them...

I can't imagine going to punch cards to, well, anything would feel anything but great. But going from assembly to C I can see how a programmer could struggle with their coworkers not checking the outputted CPU instructions for performance problems and compiler optimizations that generate unintelligible assembly.

But even then all those changes were deterministic (at least to the compiler version), unlike AI.

DanielHB··on Someone behind the software
Yeah, my point was more about that even if you have that kind of environment, it is not as helpful as you might think.

IMO this kinda of dogfooding is a replacement for good QA and good prioritization. Things only get fixed because a developer that is also a user is annoyed is not a recipe for quality.

The software I work on is not even "for developers", it is more consumer-grade software that many within the company happen to use.

DanielHB··on Someone behind the software
This helps and all but any software eventually grows big enough no one in your org could possibly actively use all features available.

I work in a similar product, lots of people in the office actively use our own product. No one in the office uses our SAML integration, or actively does our onboarding user-flows with any frequency, etc, etc.

I imagine even at linear they don't use all the features they built.

DanielHB··on Superlite: A Faster Alternatie to Superpowers
The only time I ever few like I need agent swarms is when I am doing mechanical whole-codebase migrations/verification.

The LLMs are so much faster than I can check the output anyway. If I have a long-running task I just work on another one in parallel while I wait on the first one.

DanielHB··on Suicide rates highest ever among middle-aged men
I am in this awkward situation where I just had a baby, but at the same time feel I should work less and put less effort into work. But at the same time not being able to slow down.

I daydream about being fired with severance so I can spend more time with my little dude. But also deadly afraid of not being able to get another job when savings run out.

DanielHB··on Do dentists know what they're doing?
> I needed a dental implant for a missing molar and if I didn't all my teeth were going to come out alignment. I didn't have money for it at the time. Not a single dentist before or since has mentioned this.

I have a missing the permanent teeth molar in both sides of my lower-jaw, I wore dentures for those missing teeth from 12 (when the baby molars were removed) until around 22 years old when I got implants (at a separate dentist, since the one I went to didn't do this kind of procedure).

I am pretty sure that was the correct decision from my dentist, but boy was it painful to get those molar implants because my jaw-bone was so weak in that area after so many years of having a gap in there.

If you have had a missing molar for a long time your teeth probably already moved what they were going to move and if that didn't cause a problem in alignment it probably won't happen.

DanielHB··on OpenCode 2.0
I am quite keen on this as well, I have been trying to move all my active development to happen inside a container, including the harnesses. This, of course, makes it very hard to run GUI harnesses. I prefer CLI, but it would be neat to be able to better isolate gui-based harnesses as well.

I have been using VSCodium with https://github.com/jeanp413/open-remote-ssh so (most of) the IDE also runs inside the container. I have been trying to get everything inside the container, including the projects I work on, the IDE, the harness, the dependencies, etc. Both for security and for portability so I can have the same setup in both my work and home computers.

One thing I haven't been able to do is limit the blast radius of is git, github ssh keys give blanket access to all repos tied to my profile and ATM I set up the github SSH key inside the container.

DanielHB··on Anthropic reported diary entry to police, woman faces felony charge
funnily enough, afterwards I would just forward it to my personal email. IT never bothered me about sending .pdf attachments from my company email to my personal email...
DanielHB··on The era of software quality, or the era of ostriches?
Imagine a very complex piece of software, now imagine a venn diagram where every feature is a bubble. Now imagine those bubbles overlapping by the number of users who use/have-access-to the feature.

Any of those little junctions between features could very well have <10 users even on multi-million users pieces of software. Now every one of those little possible cross-sections in the venn diagram is another possible state the software can be in and that needs to be tested.

In the software I work currently we have one of such case, a combination of 3 different features that almost no users use in conjunction, but if they do it breaks the system. I am aware of it, my manager is aware, the product owner is aware, the fix is not trivial (in fact it would require rewriting large portions of the system).

It just stays there and we have monitoring and customer-support manually handling it. The product is fundamentally not correct (in fact the correct behavior is not even defined), yet it still works for 99.99% of the users.

Practical example? I have ran multiple times in multiple different products (even ones I worked) where if you login with Google/Apple/Whatever that makes your account completely borked to be used with SAML/OIDC if you get invited into one later. You basically need to call support to ask them to remove your user and be invited again. All those software were, by definition, not correct.

DanielHB··on Anthropic reported diary entry to police, woman faces felony charge
You know, at my previous job the company had a semi-strict policies with non-enrolled devices. If we didn't enroll our devices we were locked out of some company systems, but we could still use email and teams (which is like 99% of my use-cases for my phone).

So I obviously opted to not enroll my phone, but that came to bite me in the ass one day when I needed to get a train ticket from my company email (it was a business trip) and the policy prevented non-enrolled devices from attaching or downloading attachments...

Felt like a fool grabbing my laptop to let the train attendant scan the QR code.

DanielHB··on Anthropic reported diary entry to police, woman faces felony charge
I wouldn't be surprised if a dedicated enough IT at a company is not monitoring your enrolled devices microphones. Just listening in the background for shit-talking the company.
DanielHB··on Replacement of petroleum based products with plant-based materials (2025)
You are right about it being strictly nonsense from a pure economics point of view. But in Brazil at least the economics of biofuel are not so far apart that they don't offset the advantages in more local industry and self-reliance against an increasingly unstable global oil market and geopolitical pressures (both of which are much harder to quantify).

However ethanol simply can't be used for heavy duty trucks and ships (which, you know, is 95% or more of goods transports in Brazil since there is almost no rail) which defeats much of the point.

At least the general population can shift to ethanol when supply market gets crazy which helps amortize the whole supply chain, but it still ends up affecting everyone just to a slightly lesser degree.

Buy yeah, corn or soy based ethanol is just insane to do at all. Sugar-based only makes sense in an increasingly unstable global order.

DanielHB··on A Staff Engineer's Guide to Inventing Work
Yeah, you get what I was trying to get at. It also helps to think about open source (and even paid) alternatives as competition.

Although my main problem was that they were designing these very generic solutions (that were both super complex and very brittle) that can fit every scenario when my _actual_ scenario was very simple. I couldn't get my point across that I didn't want to buy-into their full platform because of risks and complexity on my side, but that I would be open to buy-into small solutions if I saw the need for them in our product.

In any case this company platform team had this mentality that the company should operate like google, trying to build these massive all-in-one solutions that everyone under the company should use. When in practice it would never work because of the sheer amount of people required on their side to pull that kind of initiative off (on top of other considerations like ROI, downtime-risk, etc).

DanielHB··on You said no MCP
oh-my-pi is a fork of Pi that adds a lot of this stuff

https://github.com/can1357/oh-my-pi

I haven't tried it much though, can't vouch how well it works.

DanielHB··on A Staff Engineer's Guide to Inventing Work
> In a good “ideal” org the only source of requirements should be users, aka customers, aka real people, user facing products, teams etc.

There are many other source of requirements that matter a lot. One heavily underestimated one is employee frustration. A frustrated employee is less productive and is at risk of leaving the org which incurs huge costs.

A few other ones: environmental impact, social impact, security, ethics, data safety/privacy, regulamentory compliance.

You might say that all these eventually end up as a requirement from users, for example "an employee leaving because he is frustrated means it takes longer to deliver features to a customer". But that is a very roundabout way of looking at it.

DanielHB··on A Staff Engineer's Guide to Inventing Work
Previously I worked at a very large company, my team was mostly isolated form the rest of the tech stack of that company.

Suddenly came a mandate to try to integrate our systems together, the first goal was to use their authorization system (which involved, I kid you not, setting up 3 separate EKS clusters that talked to each other and if the main one goes down, all go down) that the core Platform team of the company was setting up.

Worse even, the plan was to use us as "guinea" pigs for their new systems before rolling out to the rest of the company because our team was smaller and therefor wouldn't be as impacted by problems on their side.

I was vehemently opposed to this, all our other experiences with their stuff was just a huge amount of pain. I remember clearly a meeting we had where I said: "Why would I use your stuff that is not well documented and that I don't understand when I can use open source stuff that is documented and that I can understand". Their only argument was that said they would have internal support for us.

I came up with this concept that I tried to push on to them, that their stuff shouldn't be this monolithic tower of babel monster, but instead should be a buffet where I can pick and choose what to use. Our requirements were very different from their stuff and I didn't want to run into problems because of stuff that had 0 benefit to us.

I ended up leaving that job mostly because of this.

DanielHB··on We’re forgetting what darkness feels like
I remember as a teenager going for a road trip, there was a stretch of the road that had no street lights about 100km away from the closest city. Looking at the side of the car I was surprised just how bright it gets when the moon is out and the sky is clear. You can totally walk around in the open without any extra lights.
DanielHB··on Solving Factorio Quality
If anyone is interested I made a build that can make most items at the highest quality possible using a single assembler by switching the active recipe on the assembler. You just throw in the basic resources for the base items in the recipe and it just builds the whole thing at legendary quality.

https://www.reddit.com/r/FactorioBlueprints/comments/1gl5v50...

It takes a bit of setup for each item you want to make though and doesn't work if the process takes more than one fluid. The default in the blueprint is to make blue circuits.

Unfortunately factorio has this mechanic where if you switch the item an assembler is making it loses progress for productivity bonuses, so this setup is not really practical for many items. Plus it takes a lot of space. But it is fascinating to see it work.

DanielHB··on Coding is not solved
Yes, this was my point, formal proof static analysis makes LLM output better. Therefor a language with far higher requirements on formal proofing (to the point it becomes very difficult for humans to understand) might end up being better to use by an LLM.

Of course it is not that simple as a large part of how effective LLMs are is due to training data which is hard to get for a new language.

DanielHB··on Coding is not solved
Since the output of human software work is code and AI software work is _also_ code they are both liable to shoot themselves in the foot in the same manner.

You see this already, LLMs are a lot more reliable in statically typed languages with strong memory guarantees (like typescript or rust) than in weaker languages.

IMO the only way LLM code can avoid most of the pitfalls of human code is if we make new programming languages targeted at being used by LLMs exclusively. Think of languages with very strong methods for formal proofing and stuff like that.

The problem is that even if said language was invented, it would still fail catastrophically when integrated with systems not made in said language. We are very lucky that relational databases already provide a somewhat high level of formal proofing in this regard.

Said language would be impossible to parse by humans, kinda like assembly where you can parse what an isolated piece of assembly code is doing, but if you can't comprehend a somewhat large pure-assembly codebase as a whole.

DanielHB··on Video CDs Break Windows Explorer
I am from the biggest port town in south america, I remember when I was a kid some of the local shops would sell blank CDs incredibly cheap. This was around 1999 so blank CDs were not quite so cheap yet.

Eventually I found out what was really happening, thieves somehow got notice of container ships with blank CDs and were breaking into those to steal the CDs. A single container could keep a city fed (and all its modded playstation 1) for years.

DanielHB··on Video CDs Break Windows Explorer
Haha, try drag-and-dropping a file over an SMB volume that can't be mounted (just hovering the files without dropping does it). Not only does it crash Windows Explorer, it crashes the whole god damn window management system (but at least it restarts it on its own).

It has been doing that for at least 2 years.

DanielHB··on Dutch governments builds alternative for Microsoft based on NixOS
I thought everyone on academia used LaTex, or at least in STEM?

Are people really making hundred-pages thesises in Word?

I suppose it is not that bad if you don't have a lot of charts/pictures/formulas, but still...

DanielHB··on Google’s Project Suncatcher to put ML infrastructure in space
I wonder if a technique to pack crazy high amounts of heat in a small mass and just eject it in an orbit to the sun would be viable. Probably not, but the idea of a datacenter pooping its heat into little pellets is quite entertaining. Like Lila's pet from Futurama.
DanielHB··on Google’s Project Suncatcher to put ML infrastructure in space
You assume billionaires and politicians are all-powerful and that they congregate in a secret cabal voting on where to take civilization next. No they live in fear of what other powerful people might do and their reactions to what is perceived risk can really f up everything. Even the most powerful autocrats in the world have to deal with other countries.
DanielHB··on Google’s Project Suncatcher to put ML infrastructure in space
I dunno, won't a satellite be _more_ vulnerable in space? There is not anti-missile tech in space.

I suppose it is about being out of reach of cheap drones?

DanielHB··on Owners mourn spoiled food after firmware update bricks Samsung smart fridges
Haha, so true, even when I was a kid I thought Samsung LCD monitors were a bit shiet compared to the alternatives.

Goes to show how long brand name goes, especially on appliances.

DanielHB··on VSCode's SSH Agent Is Bananas (2025)
In practice, if I don't use the terminal from inside the editor, what are the advantages of this extension compared to the other one?
← PreviousPage 2 of 34Next →