Better HN
topnewbestaskshowjobs
Log inSign up

bvanderveen

430 karma · joined Mar 3, 2011 (15y ago) · 75 submissions

http://bvanderveen.com/
Submissions

comment 6mo ago · link · parent

i lold

comment 6mo ago · link · parent

IMO it's still fun to hand-write C and Makefiles targeting an extremely resource-constrained device that's connected to an oscilloscope and a gunshot-wound worth of capacitance on your bench. YMMV

3.

British Columbia makes daylight saving time permanent(text.npr.org ↗)

9 points · by bvanderveen · 8mo ago · 1 comment

comment 1y ago · link · parent

Sometimes doing the thing is just doing a thing and then you get done with some milestone on the thing, you're like "why am I doing this thing. am I crazy for undertaking this thing?"

And yeah you probably are. Only in retrospect will it be knowable if it was worth it or not. Perseverance is necessary but rarely sufficient.

comment 1y ago · link · parent

Like others I found the concise implementation to be impressive! I have noticed a bug though. Using the "drive into the corner" strategy (I keep the high tile in the bottom left) sometimes the top left tile randomly gets a smaller value (e.g., goes from 16 -> 4) when I slide to the left.

comment 1y ago · link · parent

OP mentions housekeeping as part of his benefits. I also have had an every-other-week maid service for the past decade or so, and for me, it is a huge lifestyle improvement. The amount of time and cognitive overhead it saves is enormous.

I have paid less than $200/mo for this. In terms of cost, this isn't anything like having a nanny, your house paid off, or retiring at age 50. But it's interesting that for this guy, it's on the same list as those things.

In sum: I highly recommend deploying a couple hundred bucks a month to pay someone to do house chores if you have a hard time motivating yourself to do it or have housemates/partners you have to spend time arguing about it with.

comment 1y ago · link · parent

A random dimensional analysis that I find amusing about fuel consumption units:

liters / 100 km => m^3 / m => m^2

(volume) / (distance) => (area)

This can be interpreted as the cross-sectional area of a hypothetical trough of fuel running alongside the road, whose contents you slurp up and consume in your engine as you pass (in lieu of using fuel stored in an onboard reservoir).

comment 1y ago · link · parent

I'm surprised at how even some of the smartest people in my life take the output of LLMs at face value. LLMs are great for "plan a 5 year old's birthday party, dinosaur theme", "design a work-out routine to give me a big butt", or even rubber-ducking through a problem.

But for anything where the numbers, dates, and facts matter, why even bother?

comment 2y ago · link · parent

It never fails to amaze me how tasteless and unimaginative your run-of-the-mill rich asshole is. Without even getting into housing, education, or whatever other feel-good virtue-signalling—this is seriously the coolest toy you can think to buy with 10e8-9 USD?

comment 2y ago · link · parent

A mechanism for filtering by language or searching by keyword would be nice.

comment 2y ago · link · parent

Attempting to operate in a space where 100x more money than you can muster is willing to burn itself operating in the same space.

comment 3y ago · link · parent

For anyone who has ever had the laptop out in the garage next to the CNC machine, yeah, no, those things are extremely onerous.

You're in the machine shop outside of town and you literally have everything you need locally to make the computer drive the 4000lb hunk of cast iron around to cut the hunk of metal into the shape and then when you open your laptop Fusion 360 randomly decides you're not logged in and you need to 2FA to get to your own damn data that's local to your box—except there is no cell service here.

Fuck. B-double-e-double-r-U-N beer run! Bring the laptop into town and make a hotspot at the gas station so you can get back into your damn cloud account and then drive back to the shop in the hills and finally send G-code to the mill. Using data and software you had on your laptop the whole damn time.

Looks like that cut isn't finishing up until 3am.

The point is, you're doing an activity that doesn't require the internet. When an application that provides functionality that doesn't require internet connectivity introduces a hard dependency on the internet, it's user-hating design, plain and simple.

comment 3y ago · link · parent

> No online account.

Among the nerds, the backlash has started. Watch out, Fusion 360.

In the world of doing stuff with atoms, no one ever wanted their drafting table to have authentication, ACL, 2FA, or storage/backup.

comment 3y ago · link · parent

Presumably it's meant to be used when you're writing a shell script and you have some problem in front of you that would be trivial to solve in a real programming language and you find yourself saying a sentence starting with "I just wanna…" and rage-googling or asking ChatGPT or whatever.

comment 3y ago · link · parent

> Someone who's trying to access my account (assuming news.ycombinator.com requires a client side TLS certificate as part of the authentication process) tries to forge the client side certificate. If the certificate is self signed, how will the server know it's from me versus someone else? How do we maintain the association between a particular client and a key pair?

I could be deeply erroneous in my understanding of X.509 but I am pretty dang sure that a self-signed cert would in fact provide that guarantee.

All certificates (self-signed or otherwise) have an associated private key. In the case of a CA-signed cert, the CA never sees the private key of the cert it's signing. So in your scenario, the server can know it's you and not someone else (assuming you kept your private key secret…) because in establishing the connection, the client signed a challenge that only the holder of the certificate's private key could correctly sign. Whether the cert is signed by a CA or self-signed doesn't change this property.

The CA-signing doesn't provide the property of unique identity—public key crypto does that already. CA-signing just provides a "chain of blessings" that gives the peers on the connection a heuristic for determining how much they should trust the identity on the other end of the line.

Unless I'm wildly mistaken!

comment 3y ago · link · parent

Idem. I remember not being able to get past the first page of the guide way back in the day, and indeed cannot today either. The signal to noise ratio is just abysmal.

I also cannot read comic books and, with perhaps the exception of the systemd man pages, likewise thrive on reference material.

Somewhat relatedly, I can't really do podcasts or audiobooks, either, unless they're in a foreign language, and then the challenge of comprehension provides something for my brain to latch onto.

comment 3y ago · link · parent

In my imagined system, there's no need for the CSR dance because hey, if the client can sign the crypto challenge and initiate a connection, then it holds the private key material associated with this certificate/account and they own it, and that's that.

My mental model is basically like SSH-ing into a box. All the client does is pin the server's public key fingerprint and moan if it changes. The only additional element is an affordance where the box would essentially allow all comers to create a user account and a corresponding `~/ssh/authorized_keys` with their pubkey in it.

In the web-app, of course it's not making unix user accounts, but it's associating the self-signed cert with a user account (how ever that might be implemented) the first time it sees a new cert. Whoever shows up with that cert in the future is automatically 'logged in' as the corresponding user account.

So, genuine question, what does it mean for the client cert to be potentially invalid? What could lead to that case in the system you're imagining? Under what cases would you either a) not grant a CSR in the first place or b) revoke a cert your CA signed?

comment 3y ago · link · parent

What benefit would the site operator see by running a CA and requiring clients to do that dance vs allowing self-signed certs?

comment 3y ago · link · parent

Can anyone explain to me why we couldn't just use client SSL certs everywhere? Before the first time you connect to a website, your browser asks if you want to generate a new cert or reuse an existing one, you make a choice, and from then on you interact with that site as an identity tied to that cert and you're done. From the servers point of view, the user's identity is a key fingerprint, which is just a property of the connection. Why is it more complicated than that?

Oh right, the benevolent overlords, in their wisdom, discerned that mere mortals can't be trusted with private key material.

Nevermind, move along.

comment 3y ago · link · parent

Just say no.

comment 3y ago · link · parent

As far as I could tell, there was no straightforward way to point a new instance of the compute resources back at the old storage resources since they're all provisioned in one CF template.

comment 3y ago · link · parent

We implemented it in Postgres with 'created_at' and 'deleted_at' columns on everything and filtering to make sure that the object 'exists' at the time the query is concerned with. Changes in relationships between objects are modeled as join tables with a boolean indicating whether the relationship is made or broken and at what time.

Our data model is not large and we had a very complete test suite already, so it was easy to produce another implementation backed by postgres, RAM, etc.

comment 3y ago · link · parent

From experience:

Datomic Cloud is slow, expensive, resource intensive, designed in the baroque style of massively over-complicated CloudFormation astronautics. Hard to diagnose performance issues. Impossible to backup. Ran into one scenario where apparently we weren't quick enough to migrate to the latest version, AWS had dropped support for $runtime in Lambda, and it became impossible to upgrade the CloudFormation template. Had to write application code to export/reimport prod data from cluster to another—there was no other migration path (and yes, we were talking to their enterprise support).

We migrated to Postgres and are now using a 10th of the compute resources. Our p99 response times went from 1.3-1.5s to under 300ms once all the read traffic was cut over.

Mother Postgres can do no wrong.

Still, Datomic seems like a cool idea.

comment 3y ago · link · parent

Good luck finishing that on a tourist visa! Plus, camping is prohibited in France, so you'll need to walk to a town to crash every night. Huh!

comment 3y ago · link · parent

Long as you're not concerned about your carbon footprint!

comment 3y ago · link · parent

The proper procedure for interacting with banks as a startup is knowledge that isn't meant to be disseminated. The entire point this piece is the asides: to make sure the uninitiated know their place by signalling over their heads. The initiated have nothing to learn here, it's just a funny story.

Move along, citizen.

comment 3y ago · link · parent

All credibility lost here:

> Cloud computing drastically reduced the capital and time required to start a startup. In the dot-com era a decade before, starting an internet startup required purchasing racks of servers and paying system administrators to keep them running, but suddenly fully configured, maintained, and secure serves could be had for a few cents per minute — pay as you go.

> Suddenly Japan’s software developers didn’t need to explain their idea to a VC and convince them that it would sell. They could just build things and get people to start using them and start paying for them. And that’s just want they did.

Your hosting cost, whether you're on bare metal or the most opinionated git-push-your-rails-app is a tiny line item on the P/L. Rarely have I seen an instance where the pay-off period for spending, say, a month of one engineer's time (for a nice round number, say, $10k) reducing the hosting expenses is less than a year (say, $1k/mo in hosting expenses).

In just about every case you're better off spending that developer-month building a feature or delivering a contract.

So yeah, maybe cloud computing saved you, at the outside, $10-20k server parts and a rack in a colo or whatever.

TLDR with or without The Cloud, 2022 or 1999, your server costs are tiny in comparison to what you spent on payroll getting to market.

Yeesh.

comment 3y ago · link · parent

I call the state of affairs “being pinned down with the money firehose.”
123