Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dgb23
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
451.
▲
by
dgb23
2y ago
This forward thinking makes me proud.
452.
▲
by
dgb23
2y ago
It’s useful to examine fundamentals now and then.
453.
▲
by
dgb23
2y ago
The problem here as I understood it is more general and orthogonal to what the Parse, Don't Validate article is talking about. 1. A field being "required", is not a property of the field itself, but of the construct holding t
454.
▲
by
dgb23
2y ago
The constructor doesn't have to be private, it just has to be a constructor. For example take this library: https://github.com/google/uuid It represents UUIDs as `type UUID [16]byte`. It would be trivial to circum
455.
▲
by
dgb23
2y ago
I understand where it comes from, but I can't ignore the feeling that this is anxiety driven development. Sure, the farther away from your control and trust circle, the more you're inclined to check assumptions that are already gu
456.
▲
by
dgb23
2y ago
This is very good advice and a great article. It comes up on this site now and then because of it. For those who don't necessarily program in statically typed functional languages: The idea transcends paradigms. You'll find very s
457.
▲
by
dgb23
2y ago
> Some have a culture that indoctrinated them to exploit and explicitly not integrate with the general population. Can we be more specific please? I live in an European country and have not observed what you're describing here. Ther
458.
▲
by
dgb23
2y ago
I wonder if the root cause of this is the notion that one can tack "security" onto a system or inject it into a system, instead of it being a holistic perspective, with appropriate use of sub-components and rules.
459.
▲
by
dgb23
2y ago
I thought Mozilla let the Servo team go.
460.
▲
by
dgb23
2y ago
Was that ever a thing on a large scale? From reading Debt by Graeber I got a different impression.
461.
▲
by
dgb23
2y ago
The hard part of game development might be more centralized around complex, big programs that simulate game logic and push tons of complex and mathematically sophisticated data to GPU‘s. On the contrary the complexity web development, distr
462.
▲
by
dgb23
2y ago
> object oriented code for domain modeling I'm not sure about that. If we're talking about IT (information processing in general), then the domain model is just data representing facts and should probably be treated as that, an
463.
▲
by
dgb23
2y ago
I would like to see this as well.
464.
▲
by
dgb23
2y ago
Beginners, especially younger ones, crave for guidance. But what they get is often loud marketing and cargo cult behavior. Now it seems to be even worse than when I was starting out. For example YT feeds get spammed with fearmongering and c
465.
▲
by
dgb23
2y ago
While this is true in theory, I often wonder whether it’s true in practice. Our economic models are based on a fundamentally limited image of humanity. This image is sometimes partially true. Even those who claim to maximize shareholder val
466.
▲
by
dgb23
2y ago
> A dog that my aunt has uses a button to tell her if she's hungry or tired. I‘m intrigued! We also have two dogs and the more I know them, the more I‘m fascinated by their ability to tell us exactly what they feel. I didn’t know th
467.
▲
by
dgb23
2y ago
You did good.
468.
▲
by
dgb23
2y ago
Thank you that's a very useful article!
469.
▲
by
dgb23
2y ago
:has() is a lookahead. See my other comment.
470.
▲
by
dgb23
2y ago
> With recent display roles (like grid, flex, contents, etc.) the HTML needed exclusively for layout problems is really minimized if not completely nonexistent. I'm not talking strictly about _problems_ but about requirements/r
471.
▲
by
dgb23
2y ago
> What's great about Jquery is that it doesnt change. Nor does PHP . PHP introduced several breaking changes in recent history and is continuing to do so for any foreseeable future. New versions come out in a galloping fashion and o
472.
▲
by
dgb23
2y ago
> I still say that the answer is just semantic HTML/CSS. You're coming at the problem from the wrong direction naming things for how you want them to appear. Name them for what they are. Write the HTML agnostic to how it's
473.
▲
by
dgb23
2y ago
This could easily be enforced now. I don't get how it isn't.
474.
▲
by
dgb23
2y ago
> But at the end of the day I'll prefer slower compilation every time if it means advanced checking. I don't think that's a large issue in Rust. Type checking is quite fast in comparison to code generation. Generics, trait
475.
▲
by
dgb23
2y ago
Yes, but readable and beautiful are two very different qualities. Rust is a wolf in sheep’s clothing. It looks like C syntax but largely expression based like functional languages. It also has a lot of syntax. It is readable with little eff
476.
▲
by
dgb23
2y ago
The post is a bit of a rant and all over the place. Async infecting everything, ugly syntax (who cares?), slow compile times etc. What stood out to me: > In other words, if compilation is fast, the tooling is easy. Andrew Kelley said som
477.
▲
by
dgb23
2y ago
The pointer thing is so relatable. I don’t think we share exactly the same inner visuals, but they all relate to some intuitive understanding. For me there are these unique and abstact visuals but they blend in with code (text) often. When
478.
▲
by
dgb23
2y ago
The dead fish metaphor is so interesting because programs aren’t static objects, they move. Most visual programming environments represent programs in a static way, they just do it with pictures (often graphs) instead of text. Perhaps there
479.
▲
by
dgb23
2y ago
> One natural consequence of this has been that the wealthy people are simply...leaving the country. (our total / combined max wealth tax is 1.1%) I assume that was to be expected. The more interesting question would be: Is this a n
480.
▲
by
dgb23
2y ago
The secondary but perhaps equally important benefit of this book is that it teaches clarity. The text, code, structure and pacing, everything is clear and to the point. „Crafting“ is the right word, because the book feels like it’s written
More ›