HNHacker News
TopNewBestAskShowJobs

CBLT

725 karma · joined May 11, 2018

submissionscomments
CBLT··on Nearly all UK drivers say headlights are too bright
About once a week I see someone cut in even though the person is literally tailgating. The driver at the back has to brake+swerve to not cause a high speed collision. There's actually nothing you can do to prevent these people from getting ahead of you. Don't worry about what they'll do, it's insane anyways. Just try not to die.
CBLT··on Collaboration sucks
I'm there right now at my current job. It's always the same engineer, and they always get a pass because (for some reason) they don't have to do design reviews for anything they do, but they go concern-troll everyone else's designs.

Last week, after 3 near-misses that would have brought down our service for hours if not days from a corner this engineer cut, I chaired a meeting to decide how we were going to improve this particular component. This engineer got invited, and spent thr entire allocated meeting time spreading FUD about all the options we gathered. Management decided on inaction.

CBLT··on Jujutsu at Google [video]
Google's monorepo is in fact terabytes with no binaries. It does stretch the definition of source code though - a lot of that is configuration files (at worst, text protos) which are automatically generated.
CBLT··on Doing well in your courses: Andrej's advice for success (2013)
Great advice! Personally, I got immense value from writing notes but never when I wrote them during the lecture. 30 minutes after the lecture has ended is a perfect time time to sit down in the library and write notes for what the lecture was about. This gives enough time to reflect about the big picture, but not so too much time that the details are lost.
CBLT··on MAML – A new configuration language
> TOML isn't great for hierarchical data.

My experience is different: TOML isn't obvious if there's an array that's far from the leaf data. Maybe that's what you experienced with the hierarchical data?

In my usage of it (where we use base and override config layers), arrays are the enemy. Overrides can only delete the array, not merge data in. TOML merely makes this code smell more smelly, so it's perfect for us.

CBLT··on Embracing the parallel coding agent lifestyle
The former. I clone from file:// URIs.

I just have the file path to the inside of my LXC container. If you're using Docker you can just mount it. I only need the path twice (for clone, and for adding a git remote). After that I just use git to reference the remote for everything.

I probably don't have the perfect workflow here. Especially if you're spinning up/down Docker containers constantly. I'm basically performing a Torvalds role play, where I have lieutenant AI agents asking me to pull their trees.

CBLT··on Embracing the parallel coding agent lifestyle
Git worktrees are global mutable state; all containers on your laptop are contending on the same git database. This has a couple of rough edges, but you can work around it.

I prefer instead to make shallow checkouts for my LXC containers, then my main repo can just pull from those. This works just like you expect, without weird worktree issues. The container here is actually providing a security boundary. With a worktree, you need to mount the main repo's .git directory; a malicious process could easily install a git hook to escape.

CBLT··on Haiku Validator
Whenever I need

Words for Haiku I reach for

Refrigerator

CBLT··on Is a movie prop the ultimate laptop bag?
I've had my car burgled twice for them to only steal a backpack with nothing in it. I'm pretty sure the assumption is that backpacks have laptops.
CBLT··on Is a movie prop the ultimate laptop bag?
> regular backpacks look nothing like a laptop bag

You're missing some context here — this is in San Fransisco.

CBLT··on Ultrasonic Chef's Knife
I use a knock-off of the edgepro I got for $30 online, with a nice set of compatible whetstones that click into the assembly that were $20 online. I did what everyone else does and hotglued some magnets underneath the piece you hold the knife on.

I tried a compatible strop that clicks in but it's not worth it imo; just use a normal strop.

CBLT··on AMD Open Source Driver for Vulkan project is discontinued
https://www.phoronix.com/news/AMDVLK-Discontinued

> This is a good but long overdue decision by AMD. RADV has long been more popular with gamers/enthusiasts on Linux than their own official driver. Thanks to Valve, Google, Red Hat, and others, RADV has evolved very nicely.

CBLT··on Show HN: Pooshit – Sync local code to remote Docker containers
Line 1 of the readme has a poop emoji
CBLT··on React is winning by default and slowing innovation
Vercel is anything but simple. Easy? Sure.
CBLT··on Health care costs are soaring. Blame insurers, drug companies and your employer
I live in the US. A family member close to me is unable to make appointments any closer than 6 months to receive lifesaving care. This is despite getting the most premium insurance they could find.

They (easily) found someone who will see them out of pocket. It's not a supply issue in this country, it's an incentives issue.

CBLT··on Homeowners insurance is pricing people out in disaster-prone cities
It's not just an incentive to home buyers, it's a shift-left that will make it all the way to developers. Homes will only be built that are affordably insurable, whether that means better location or more disaster-proof construction.
CBLT··on Running our Docker registry on-prem with Harbor
I mentioned two things that were broken:

1. Doesn't work with ExternalSecretsOperator and ArgoCD, which I happen to use. This is because the author of the Harbor chart decided not to use k8s concepts like secretRef in a podTemplate. Instead, at Helm template time, it looks up the secret data and writes it into another secret, which is then included as a envFrom. This interacts poorly with ExternalSecretsOperator in general, because it breaks the lifecycle control that ESO has. It's completely broken with ArgoCD because ArgoCD disables secret lookups by charts for pretty valid security concerns. No other chart I've come across does secret lookups during helm template time. Even the helm docs tell you it's not correct.

2. Harbor requires redis, but the Helm chart doesn't correctly pipe in the connection configuration. Redis can't be behind TLS, or the chart won't work.

CBLT··on Running our Docker registry on-prem with Harbor
I also run Harbor. I use the official Helm chart; it's a little jank, doesn't support a couple of things we want. It only works with one of ArgoCD/ExternalSecretsOperator, and it doesn't support Redis TLS.

Contrary to the author of this post, we just run one (the "source of truth") and use caching proxies in other regions. Works fine for us.

CBLT··on Does MHz Still Matter?
I'm in disbelief that the software you run is completely insensitive to IPC and instruction latency. Without those number, clock speed is meaningless.
CBLT··on Spotting base64 encoded JSON, certificates, and private keys
I don't always store my Kubernetes Secrets in files, but when I do, I prefer stringData.
CBLT··on Live coding interviews measure stress, not coding skills
> You must know by heart the most common algorithms out there and design solutions that might involve two or three of them to solve a problem in 30 minutes.

You're not going to pass every interview. Some of them are truly outlandish, and require all of the above.

What you need is the technical knowledge to translate requirements into a loose pattern like "This looks like a search problem", then have the charisma (or more accurately, practice) to walk the interviewer through how each search algorithm you know could apply there. Then of course be able to actually write some code.

I've passed interviews where I had never heard of the datastructure they wanted me to solve it with; I just walked them through the tradeoffs of every data structure that I knew applied to it instead.

CBLT··on Intel CEO Letter to Employees
They make that claim because what CEOs write down could easily be written by a Markov Model, nevermind an LLM. If that was the primary value a CEO brought to the company they'd be right.

The most important thing a CEO brings is relationships. LLMs can't do that (yet).

Post script: there's still a chance that LLMs replace CEOs due to LLMs being easier for the board to influence/control.

CBLT··on Scarcity, Inventory, and Inequity: A Deep Dive into Airline Fare Buckets
I'm not the best person to answer, but it's really any price<->X tradeoff, whether that's being able to choose at the last minute, going to your preferred airport in the destination city, or even those other bullshit upcharges airlines have.
CBLT··on Scarcity, Inventory, and Inequity: A Deep Dive into Airline Fare Buckets
I worked for an airline fare pricing startup. The key to getting a lower fare is to not be flying for business.

Since airlines can't outright ask you if you're flying business, they'll instead offer tradeoffs that a business flier won't make. So plan in advance, but be flexible in trading off day-of-week or time-of-day.

CBLT··on Broadcom to discontinue free Bitnami Helm charts
Helm gives you more than enough rope to hang yourself with. At $dayjob we barely use 3rd party helm charts, and when we do we eventually run into problems with clever code.

We do package our own helm charts, not in the least because we sign contracts with our customers that we will help them run the software we're selling them. So we use package docker and helm artifacts that we sell in addition to running locally.

So we write some charts that don't use most helm features. The one useful thing about Helm that I don't want to live without is the packaging story. We seem to be the only people in the ecosystem that "burn in" the Docker image sha into the Helm chart we package, and set our v1.2.3 version only on the chart. This means we don't have to consider a version matrix between our config and application. Instead we just change the code and config in the same git sha and it just works.

CBLT··on Everything You Need to Know About Grok 4
> Grok 4 is [...] the most intelligent model so far

A bit too much praise for a model that's barely ahead of the competition in a subset of benchmarks...

> To be honest, this model not only competes with other AI models but also with humans, making it the first of its kind

I'm out

CBLT··on Trying Guix: A Nixer's impressions
I had a similar experience. After running `guix pull` a couple of times on an ancient laptop I shelved the project until I made a distcc cluster (I never did).
CBLT··on Investors bought 27% of US homes in Q1, as traditional buyers struggle to afford
That's the desired outcome. What's the policy proposal?
CBLT··on Postgres LISTEN/NOTIFY does not scale
This is how Kafka does it. Kafka has spent years working on the rough edges (e.g. partition resizing), haven't used it recently though.
CBLT··on Show HN: A local secrets manager with easy backup
> You can rsync a JSON file just as you can rsync a SQLite file....

`sqlite-rsync` does a deep comparison and only transmits new rows, without deleting other data. `rsync` on a json file just replaces the file.

← PreviousPage 3 of 9Next →