Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dgb23
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
84 ms
·
751.
▲
by
dgb23
3y ago
At this point in my life I think "DX" - if you mean things like performance, reliability, simplicity and maintainability - is inversely proportional to the amount of (transitive) dependencies, layers of abstraction and (only half
752.
▲
by
dgb23
3y ago
I fully agree with you. I'm a fan of htmx, can recommend it and have used it in some projects by now. But... For one, htmx is not a full solution to avoid JS. It's excellent for the parts that are AJAX/CRUD, which certainly c
753.
▲
by
dgb23
3y ago
I'm not trying to justify violence. I'm predicting it. I simply think it is unrealistic to think that the reaction to environmental issues will stay pacifist, when these issues become more critical and directly felt. Just think of
754.
▲
by
dgb23
3y ago
The decoupling of CSS and HTML is a lie. HTML describes layout, not just content. Your overall structure is going to be vastly different whether you use flex or grid. And if you don’t want to write overly clever CSS you’re wrapping your dt&
755.
▲
by
dgb23
3y ago
You’re looking at this the wrong way. Violence is inevitable, in some form or another, if the climate effects are ignored to such a degree. At some point, some people are going to draw a line and say: “We tried to explain it calmly, we trie
756.
▲
by
dgb23
3y ago
Yes. There are plenty of examples of going down the abstraction stack and saving money among other things. I believe the question is really high level and strategic and there’s no one size fits all.
757.
▲
by
dgb23
3y ago
I’m a huge fan of long lasting infrastructure like schools, internet, green energy, public transport etc. this stuff always pays off for future generations.
758.
▲
by
dgb23
3y ago
GitHub is owned by MS?
759.
▲
by
dgb23
3y ago
Incompatibility, lack of stability and other churn inducing changes are the nemesis of software maintenance. The implied cost is immense and soul sucking. In many cases it’s pure vanity as well. It’s fine for early languages, research langu
760.
▲
by
dgb23
3y ago
Or you use something much simpler and more light weight, like query builders or a tool that generates code from sql queries. This approach is more bottom up. You end up with uni directional data flow, better separation of concerns, data cou
761.
▲
by
dgb23
3y ago
There are different functional quality layers so to speak. For one, just having lexically scoped closures as first class citizens doesn't cut it in my eyes. Even though perhaps in some contexts and timelines this would suffice to say t
762.
▲
by
dgb23
3y ago
How would applying patches from the AGPL version affect your code? To me the AGPL thing feels like all or nothing.
763.
▲
by
dgb23
3y ago
> Maybe there were things in that code Tailscale did not want the public to see. There are a ton of things you do in closed source “only my small team touches it” vs open source. Even if it’s just comments, notes files and stuff like tha
764.
▲
by
dgb23
3y ago
It doesn't compensate bloat, but it reduces bytes sent over the wire, bytes cached in between and bytes parsed in your browser for _very_ little cost. You can always open dev tools in your browser and have an interactive, nicely format
765.
▲
by
dgb23
3y ago
I can't answer your question directly, because I don't know. But the first keyword I would look at would be BGP. Generally speaking, routing decisions are dynamic and constantly changing. Add the unreliability of the network layer
766.
▲
by
dgb23
3y ago
Whenever someone tells me they provide unbiased information I know that they don’t understand the words “bias” and “information”.
767.
▲
by
dgb23
3y ago
From a user’s perspective I often think that applications which run multiple processes, demand multiple threads and large chunks of memory are too entitled. I know it’s a (not even) half baked thought. But there’s something to that. We neve
768.
▲
by
dgb23
3y ago
Throwing away what you know with every request is orthogonal to being functional. You really have to squint and turn your head sideways to think of PHP+SQL as being functional, even though PHP is stateless. From the outside it's statef
769.
▲
by
dgb23
3y ago
Related to this pattern: I recently wondered why Casey Muratori (RAD Game tools, Handmade Hero etc.) seems to write C++ in a very C like fashion plus a few select features. Here's a discussion: https://hero.handmade.network&
770.
▲
by
dgb23
3y ago
Hello fellow human!
771.
▲
by
dgb23
3y ago
Aside: htmx is a very small and very predictable library. The underlying pattern is well established among many libraries and probably countless similar implementations. I have implemented something like htmx several times before htmx came
772.
▲
by
dgb23
3y ago
Rust is optimized for minimal _unsafe_ usage. That's the reason you choose it over C or Zig. https://zackoverflow.dev/writing/unsafe-rust-vs-zig/
773.
▲
by
dgb23
3y ago
At some level you need languages that are not “memory safe”. Memory safety comes with a cost. Either you pay for a GC runtime (Java) or for reference counting (Swift) or by not being able to express a correct program (Rust). There are plent
774.
▲
by
dgb23
3y ago
Somehow I fear such large magnets might come with unwanted side effects?
775.
▲
by
dgb23
3y ago
At least it’s better than blocking content with CSS. These sites typically want their cake (getting indexed) and eat it too (not letting visitors read the indexed content). So they resort to using CSS to hide it.
776.
▲
by
dgb23
3y ago
> the harder something tries to convince me of anything, the more I expect it to suck. That's me vs web development in general and especially in the JS ecosystem. Other, similar red-flags: hand holding, "best practices",
777.
▲
by
dgb23
3y ago
> So many issues in programming would be diminished if programmers toned down the thinginess of their code, focusing more on procedures and data shapes. Exactly my reaction too. The code is complicated and requires boilerplate because it
778.
▲
by
dgb23
3y ago
Web components are treated like HTML elements. You can nest and combine them with semantic elements and attach attributes to them. Say you have a component that does something with titles (h1 etc.), then you would wrap the semantic element
779.
▲
by
dgb23
3y ago
You can use it for all sorts of things on web pages, including collapsible menues and such. Github markdown lets you use it too. People use it for examples and inline explanations.
780.
▲
by
dgb23
3y ago
A lot of it is UX and molding things to specific domains and use cases. Just like forms over SQL, there seems to be a never ending demand.
More ›