Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dkarl
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
55 ms
·
601.
▲
by
dkarl
3y ago
I don't think the original article makes sense in the context of an educational talk, so I didn't read it that way. For example, if you're talking about sorting algorithms in Python, different readers will naturally find diff
602.
▲
by
dkarl
3y ago
I think this is a mistake unless your audience already knows and trusts you. The world is full of people saying surprising things, and almost all of them are making it up, either accidentally or on purpose. The people who discover surprisin
603.
▲
by
dkarl
3y ago
There's a tool called PugSQL that looks promising for Python, but it seems that async isn't directly supported yet[0]. If I ever find time, I'd love to jump on this and make it work, but nobody should hold their breath for th
604.
▲
by
dkarl
3y ago
I think query builders can be very helpful in a language with a good type system. The only times I haven't used raw SQL and didn't feel like it was a massive mistake were when using Scala, via Slick and Quill.
605.
▲
by
dkarl
3y ago
Dogma leads to shitty code no matter which way a person leans. One of the worst pieces of code I ever worked on was a query generator. Somebody noticed that there were recurring patterns in some BI-ish queries that were used to generate a d
606.
▲
by
dkarl
3y ago
I've had to use the phone quite a bit in the last year. Airlines and travel companies are especially bad about only supporting happy-path functionality online and then providing an excruciatingly bad phone experience if something gets
607.
▲
by
dkarl
3y ago
> Everybody has an opinion about their little corner of the system, and no one is willing to understand anyone else's opinion This is true. If you talk to someone in insurance, fraud is a huge problem, and doctors providing expensiv
608.
▲
by
dkarl
3y ago
I don't have VP-level handsomeness or social skills, nor the desire to put in those hours.
609.
▲
by
dkarl
3y ago
That's a great point, that VC-funded startups aren't the only sources of title inflation. Salary bands at bigger companies also fuel inflation. I worked for a startup that got acquired by a large bureaucratic company, and I ended
610.
▲
by
dkarl
3y ago
That doesn't seem fair, and it doesn't seem like an effective filter, either. Titles vary wildly for a lot of different reasons, and you can't expect candidates to present themselves to you in your terms. You can't expec
611.
▲
by
dkarl
3y ago
Architects live in a weird world. Putting a lot of effort into puffing yourself up via dress, language, charisma, and arrogance is tolerated and to some extent is even the norm. People tolerate it in their peers because they all understand
612.
▲
by
dkarl
3y ago
Design is a deep and difficult skill, but "design thinking" is not a deep set of ideas. If you listen to amazing designers and mediocre designers speak about how they approach design problems, they sound very much the same. It
613.
▲
by
dkarl
3y ago
Musk is pretty much the whole reason. People have a much easier time remembering sleazy business practices when there's a celebrity CEO whose personality matches the crime. If you think about the CEOs of major corporations, the only on
614.
▲
by
dkarl
3y ago
I think long Covid suffers from the same problem as Lyme disease, and also whatever set of real conditions end up explaining chronic fatigue syndrome: the list of symptoms, for a layperson, sound vague enough to attract large numbers of peo
615.
▲
by
dkarl
3y ago
Do you really mean that threatening to claw back severance from critics of the company is a significant part of what makes the U.S. job market work?
616.
▲
by
dkarl
3y ago
> Fwiw, i'm personally taking the climate change subject extremely serious It's not worth anything, since the conservative rear guard and even outright deniers say the same thing these days. If you mean to separate yourself fro
617.
▲
by
dkarl
3y ago
The mods are so ubiquitous and so busy on SO, I wish they'd spend some of their time silencing the "let's figure out what your real question is" pseudo-trolls. I call them pseudo-trolls because I think they are well-me
618.
▲
by
dkarl
3y ago
> in my experience it’s kind of a sign of lazy design Is it always lazy in the bad way, though? In software there's no sharp distinction between "built to carry weight" and "built to tack drywall onto." Whether a
619.
▲
by
dkarl
3y ago
> Different problems require different solutions. > If you have different data, you have a different problem. What is unstated but perhaps implicit here is that you might have a different problem even if you have the same data, and th
620.
▲
by
dkarl
3y ago
Spot on. When you discover that people are solving a problem by considering a wider context than you did, do you broaden your thinking about the problem, or do you accuse them of cheating and complain that the rules aren't being enforc
621.
▲
by
dkarl
3y ago
> - real life is not about solving puzzles. Real life is a rigged game where rules are not enforced. Instead of finding problems to solve, you need to find oportunities (and loopholes) and exploit them! "Real life puzzles" are
622.
▲
by
dkarl
3y ago
I agree that formatters and static analysis tools are the best way to reduce trivial PR comments. However, I would say that the kinds of things addressed by formatters and static analysis tools, and similar issues that tools don't catc
623.
▲
by
dkarl
3y ago
> Lately, my Magit buffer broke once again because of something weird going on with major mode It's 2023, and emacs still sucks in exactly the same way as it did when I first used it in 1995, and when I last used it for everyday cod
624.
▲
by
dkarl
3y ago
We've made them neurotic! It sounds like a little kid trying to hide the parts of itself that it knows other people don't like. It'll get better at it as it grows up.
625.
▲
by
dkarl
3y ago
I guess "monolithic" is relative -- a microservice is a monolithic alternative to a bunch of step functions and lambda functions. I bet this particular story would be fascinating if we had more details, but mostly it's funny
626.
▲
by
dkarl
3y ago
This was my impetus to finally close my account and delete my data. I was holding on to it because Notion's import sucks and would only import a few notes at a time, so I had to do a lot of different imports to get all the notes in all
627.
▲
by
dkarl
3y ago
In my copy of the blue book, "Strategic Design" is Part IV, and there is no "Tactical Patterns" part or chapter. To be honest, I've only quickly read through Part IV, cherry-picking a couple of concepts, because it
628.
▲
by
dkarl
3y ago
> [Abstraction heavy paradigms] structure the code around the description of the problem domain My experience of Domain-Driven Design has been that it is extremely effective for driving conversations about the domain throughout the produ
629.
▲
by
dkarl
3y ago
With Goodreads it's strange because the ratings and reviews are pretty central in the UI. Lots of web sites have or have had parts that were completely trash but were easy to ignore. For example, for years it seemed like most of the Yo
630.
▲
by
dkarl
3y ago
Corporate farms seem inevitable, even if they aren't desirable. How does it make sense to put the burden of managing fluctuations in costs and yields on a single person or family, farming in a single area? The financial side alone must
More ›