Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sfn42
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
511.
▲
by
sfn42
1y ago
At the very least you need to read the DB-generated ID, otherwise how do you provide stuff like editing? Simply reading after a write is a perfectly adequate solution for I'd say most systems. If you have performance issues and a chang
512.
▲
by
sfn42
1y ago
Because you dont need CQRS to achieve that.
513.
▲
by
sfn42
1y ago
When code gets out of hand and outgrows its initial design, I tend to refactor it to a new design that better accommodates the requirements. The problem I usually encounter is that whoever was there before me didn't do this. They just
514.
▲
by
sfn42
1y ago
This is exactly what I assume when I see people blame their tech debt on others. We do the work, we are responsible for whatever it is. Sure maybe some times you begrudgingly just have to do something you're told, but in my experience
515.
▲
by
sfn42
1y ago
There already is a community of "amateur" drug manufacturers, and they're not known for consistent quality nor safety.
516.
▲
by
sfn42
1y ago
I helped my friend from university get a job by helping him do their take-home exercise. I didn't write the code for him but I walked him through pretty much every single step. I'm not proud of that but my friend needed a job and
517.
▲
by
sfn42
1y ago
Are you suggesting that people manufacture their own pharmaceuticals?
518.
▲
by
sfn42
1y ago
Is this sarcasm or are you really that naive?
519.
▲
by
sfn42
1y ago
I feel like the word metabolism is often misunderstood. My metabolism is just the number of calories I need to maintain my weight. If I start being more active my metabolism increases, if I become less active it decreases. So, metabolism is
520.
▲
by
sfn42
1y ago
I'd order birthday cakes daily just to prove a point
521.
▲
by
sfn42
1y ago
This is why you always need to adjust your speed so that you are capable of comfortably stopping in the area of road that you can see clearly. If you're going around a blind turn or over a hill or any other situation where you can'
522.
▲
by
sfn42
1y ago
> driver in the next lane will spill his coffee and swerve into your path You can significantly reduce that risk by simply staying away from others and avoiding situations with a large speed differential. If the lane next to you is going
523.
▲
by
sfn42
1y ago
Gaawd I'm so tired of this discussion. Of course coding interviews measure coding skills, if you can't code you can't complete the interview. Are other factors also present? Sure! But no amount of zen will help you if you can
524.
▲
by
sfn42
1y ago
> Not if the client is, e.g., constantly moving between cell towers, or right near the end of their range, a situation that frequently happens to me on road trips. Right, but how often is a user both using my website and on a roadtrip
525.
▲
by
sfn42
1y ago
Yeah you can do that, but it's not necessary. You'll have to figure out a clever way to first wait for the data the user actually needs on the first load, then silently cache the other stuff in the background. Then you'll hav
526.
▲
by
sfn42
1y ago
This works for some websites, not all. And often it results in significant loading times, because you're loading tons of unnecessary data. In many cases it is much better to send requests more frequently, similarly to how a server side
527.
▲
by
sfn42
1y ago
I completely agree that SPAs are overused, but I also disagree that they necessarily balloon in size. An SPA is supposed to be a view , it is only supposed to concern itself with view logic. People just overcomplicate them endlessly with u
528.
▲
by
sfn42
1y ago
The Telegraph article does seem a bit ridiculous but the others seem fairly fine to me. One of them wasn't even an arrest, it was just a politician pressing charges which is his right. I think it's fair to demand that people follo
529.
▲
by
sfn42
1y ago
The emergency personnel still needs to be controlled to make sure they aren't carrying magnetic stuff.
530.
▲
by
sfn42
1y ago
Do you have some specific examples? You present it as if it's a bad thing but I can imagine scenarios where it makes perfect sense. As an obvious example the person could be sharing CP on social media. So what exactly are you referring
531.
▲
by
sfn42
1y ago
There is no programming without emphasis on algorithms and data structures. All code is algorithms, and works on data stored in, you guessed it - structures. Every single person who writes code frequently will be better with a solid underst
532.
▲
by
sfn42
1y ago
University teaches theory, practice is necessary for a well rounded engineer. Most students only do what's required. Good students do more than what's required.
533.
▲
by
sfn42
1y ago
Traffic in general is riddled with this. People don't understand the risks they're taking during their everyday driving and get offended when you comment on it.
534.
▲
by
sfn42
1y ago
Thing is we're not stopping. So given the fact that we are not stopping and won't stop, climate engineering starts to look like a decent Sr ond choice. I mean it doesn't take much for it to be better than nothing.
535.
▲
by
sfn42
1y ago
You should try KCD2, can not recommend it enough
536.
▲
by
sfn42
1y ago
Steam's refund policy is awesome. You can play any game for up to 2 hours and refund for no reason. When no man's sky came out I bought it, played it for like 15 minutes, refunded it. The next day I thought I'd give it anothe
537.
▲
by
sfn42
1y ago
You should play RDR2, it's absolutely phenomenal. That and Kingdom Come Deliverance 2 are the best role playing games I've played in the past decade.
538.
▲
by
sfn42
1y ago
It's generally trivial for conventional class-based type systems like those in Java and C#, but TypeScript is a different beast entirely. On the surface it seems similar but it's so much deeper than the others. I don't like i
539.
▲
by
sfn42
1y ago
Iran started it.
540.
▲
by
sfn42
1y ago
Yeah so this is mostly just a difference of definition. When I say extinction I mean what you describe, essentially a total collapse of modern society. I don't care whether/how long a few people survive somewhere, your scenario is
More ›