Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
erikpukinskis
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
erikpukinskis
3y ago
A bug in test code is not a real bug. It’s just a test that’s not giving you useful information. Lots of tests don’t give you useful information. Some that fail and some that pass. It’s easy to write a test that doesn’t provide useful infor
92.
▲
by
erikpukinskis
3y ago
Event sourcing has a lot of nice properties, so I’m intrigued. But don’t you still need relations? And then how do you implement those? If the answer is “they’re all implicit in the application layer code” then that’s not really acceptable.
93.
▲
by
erikpukinskis
3y ago
What, fraud?
94.
▲
by
erikpukinskis
3y ago
But what color heart emoji?
95.
▲
by
erikpukinskis
3y ago
I’m a bit ignorant of this… what’s the national security risk?
96.
▲
by
erikpukinskis
3y ago
> When listening to interviews with Sam I was always surprised by how little useful information I am able to get out of listening to him To be fair, isn’t that kind of the bar for CEOs? Their job is to hire and fire senior people, ensure
97.
▲
by
erikpukinskis
3y ago
Yeah, pretty much we had vanilla JS, then jQuery, then Webpack and React. TypeScript has probably crossed that threshold maybe in the last 12 months. I’m trying to think of other frontend technologies that were truly dominant that went awa
98.
▲
by
erikpukinskis
3y ago
If that were the natural outcome Xbox would’ve “gotten it right” since it was the most PC-like console before the Steam Deck. The moddability is a deliberate strategy by Valve, and I don’t see it as an inevitable move for every PC-centered
99.
▲
by
erikpukinskis
3y ago
Just eat pasture raised eggs. It’s only the grain fed eggs that have bad cholesterol. They’re expensive, but given the nutrient density it’s worth it for me.
100.
▲
by
erikpukinskis
3y ago
Presumably because the coverage triggers happen at a frequency that makes the premiums more expensive than the developers want to pay? Insurance companies are usually quite happy to take your money as long as the premiums will cover their e
101.
▲
by
erikpukinskis
3y ago
That’s fair. But I’ll note that the “General” in “General Practitioner” means they specialize in the wide range of health problems that occur frequently in the general population. That includes things like depression, anxiety, ADHD, etc. I
102.
▲
by
erikpukinskis
3y ago
Just a side note for anyone reading: you can get an SSRI prescription from your GP (general practitioner i.e. normal doctor) you don’t need to go through a psychiatrist. This is especially true if you are at risk for withdrawal, they will w
103.
▲
by
erikpukinskis
3y ago
Somewhat off topic, but it annoys me that CSS resets kill the margins on p, h1, h2, and ul. As well as the list-style. I basically don’t use those elements for UI components, and in the rare cases where I would want to, I could just do a on
104.
▲
by
erikpukinskis
3y ago
The one simple thing I do that cuts my NPM package size massively: Don’t push devDependencies. I honestly don’t understand why devDependencies come with the package. Most packages don’t distribute their source files, so what use are the dev
105.
▲
by
erikpukinskis
3y ago
I feel the opposite way. Like you, I don’t understand most of these terms. But I love reading Vitalik’s posts because it feels like a glimpse into how computer scientists will talk about code in the distant future. To me, Vitalik’s brain is
106.
▲
by
erikpukinskis
3y ago
I think the suggestion is that with AI you can interpolate to the actual letterforms, not to pixels. Working a typical volume the letter “e” will appear hundreds of times and be identical, so there should be lots of data to help resolve amb
107.
▲
by
erikpukinskis
3y ago
Yes, but a teacher I think has the right to decide that after teaching the same song 500 times they never want to hear it again. I think people can be allowed one song they are tired of.
108.
▲
by
erikpukinskis
3y ago
How is a finite number of years "forever"?
109.
▲
by
erikpukinskis
3y ago
I don’t follow… could you put #!/bin/bash at the top of your scripts, and still use it for scripting, but then use fish as your interactive shell?
110.
▲
by
erikpukinskis
3y ago
People underrate how much good stuff CSS gives you for building UIs. If you did everything in canvas you’d just have to reimplement something like flexbox to center, align, stretch, and animate all your icons text, boxes, buttons, etc. Why
111.
▲
by
erikpukinskis
3y ago
The same reasons you wouldn’t use IndexedDB on the server? Modern offline-first applications include a local backend every bit as complex and demanding as a server-based backend.
112.
▲
by
erikpukinskis
3y ago
> most of the time, the review occurs when work seemed good enough for the requirements Most of the time, a blocking review should contain information that the coder didn’t have, which changes their own perception about the readiness o
113.
▲
by
erikpukinskis
3y ago
I also write pretty detailed PR messages… mostly as comments on specific lines of the PR, either in the code itself if they’re worth keeping around. Or GitHub comments if they’re only of temporary relevance. But I’m not sad at all if they’r
114.
▲
by
erikpukinskis
3y ago
I’ve been working with Prisma and React Query recently and I wonder if those libraries haven’t fallen victim to the same trap. They seem to want to ”do everything you could possibly want to do, in a clean wrapper”. But I wonder if they are
115.
▲
by
erikpukinskis
3y ago
Average and median are different.
116.
▲
by
erikpukinskis
3y ago
Which crypto judgment are you seeing that’s so damning?
117.
▲
by
erikpukinskis
3y ago
Because this is the kind of feature large orgs need which makes it a perfect upsell.
118.
▲
by
erikpukinskis
3y ago
I don’t follow… in what sense is this JavaScript? <button on:click={incrementCount}> Specifically, what is on:click? It doesn’t look like JavaScript, and it doesn’t look like the DOM. It looks like a new language which is spe
119.
▲
by
erikpukinskis
3y ago
> They are forced to "show strength" and "not complain" I wonder about this. Sometimes I think that is the job of a CEO: to put on a good face and keep and maintain “The Plan Is Gonna Work” vibes. Every CEO I’ve wor
120.
▲
by
erikpukinskis
3y ago
Mr. Chickadee did an addition like this: https://youtu.be/8fdm9R1Cbm0 Not sure if that’s a Japanese design, or where it came from.
More ›