Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dgb23
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
77 ms
·
931.
▲
by
dgb23
4y ago
To be pedantic, TS is statically typed but not strongly typed. The React ecosystem has embraced TS it seems. Angular is another obvious candidate, I think it had a strong focus on TS since quite a while. Lit/lit-html is just JS, so the
932.
▲
by
dgb23
4y ago
There are two similar things that can easily be conflated as they have some overlap, or can at least be used interchangeably in some cases. For one we have feature flags, which should be used to disable features for certain environments, po
933.
▲
by
dgb23
4y ago
I propose a new term for this thing: AK - Artificial Knowledge. The purpose of this tool is to compress, match and combine text based, _informal_ information.
934.
▲
by
dgb23
4y ago
Feral pigs are no piece of cake very much unlike typical prey. They can fight off wolves and scare them away. They are smart and dangerous animals. Wolves rely on causing panic, isolating few individuals and then hunt them over a long perio
935.
▲
by
dgb23
4y ago
The pigs we breed stem from basically a single species that already had the properties of very fast reproduction and very flexible diet. They were already like that, which is why we breed them. Other species have been tried without success.
936.
▲
by
dgb23
4y ago
That's what I'm thinking too. There are a lot of products that are made from highly processed unidentifiable meat stuff. My dogs certainly wouldn't object to feral gamey pig meat either. I sometimes think the more disgusting
937.
▲
by
dgb23
4y ago
I'm pretty sure I've eaten feral pigs before. I remember it as being good quality. It's common to eat game in autumn where I live. Especially in rural areas. I think this might be one of these cases where meat consumption mig
938.
▲
by
dgb23
4y ago
I have an extremely bad short term memory. If you tell me something and I don’t write it down or think about it intensely for a while, I’ll forget it in minutes. I write everything down because of this. Bullet points, paragraphs etc.
939.
▲
by
dgb23
4y ago
Ownership
940.
▲
by
dgb23
4y ago
Worker protections are fought for and maintained by unions.
941.
▲
by
dgb23
4y ago
Buildings with multiple stories are stacked lasagna, but they have beneficial scaling properties.
942.
▲
by
dgb23
4y ago
It’s useful to think about key as the telling React of the identity of a component. Whenever you want a stateful component that can be identified by a unique name, you’ll likely want to tell that to React via key.
943.
▲
by
dgb23
4y ago
It absolutely is. But the article and the comments above mention that it’s more useful to have the mental model of synchronizing side effects with state. It’s good advice, because it addresses a major stumbling block people struggle with. A
944.
▲
by
dgb23
4y ago
The wording is unfortunate as I said in another discussion. useEffect is not an escape hatch, it’s a fundamental building block. The point of articles like these is that people use useEffect when they don’t need them. So it’s robust advice
945.
▲
by
dgb23
4y ago
Senior developer aren't senior because they can type code very fast. They are senior because they can take on responsibilities and make decisions. A junior that types code very fast is a junior that types code very fast.
946.
▲
by
dgb23
4y ago
That’s good to hear!
947.
▲
by
dgb23
4y ago
Because it is an expression that introduces a new keyword. You could say “return match…” It’s not easy to introduce without breakage. Not saying it cannot be done. But PHP didn’t manage to for example. It also isn’t real pattern matching bu
948.
▲
by
dgb23
4y ago
I don't see a huge benefit for pattern matching in JS outside of it being expression based rather than statement based. Either way, the benefit has to be enormous. It's a feature that can easily break existing code.
949.
▲
by
dgb23
4y ago
My understanding so far is that these deposits are often overburdened. In part due to speculative investments. From a perspective of someone who understands very little of these matters, it seems like responsibilities are shuffled around an
950.
▲
by
dgb23
4y ago
Am I reading this right? They expected this mechanism to be too efficient for regular, already established banks to compete? So a safer, more efficient mechanism for banking is declined in order to keep the established banks competitive? Is
951.
▲
by
dgb23
4y ago
If its actually a background, then the CSS utilities around the background property will be quite useful. In an img tag you get good control as well. But then it will behave like just another img. Inline you get a full DOM, with all that is
952.
▲
by
dgb23
4y ago
How much does an infinite amount of disk space cost?
953.
▲
by
dgb23
4y ago
Your computer is also not a Turing Machine. The regex that you use is not really a regular language. Your functions and logic are not referentially transparent, because well, they have to run on a computer. But it's useful to learn the
954.
▲
by
dgb23
4y ago
Frontend could benefit much from graphics programming, related math, dynamic systems and from HCI. Those are three enormous topics, which a rich history. Network programming, concurrency and distributed systems are literal force multipliers
955.
▲
by
dgb23
4y ago
Relational algebra is math. SQL is a practical application of relational bags. There’s math and science behind concurrency and parallelism, and the coordination thereof. Network programming is a practical application of several parts, each
956.
▲
by
dgb23
4y ago
Same here in Switzerland. Apprenticeships are called “Erstausbildung” (First education) now. It’s regarded as a stepping stone.
957.
▲
by
dgb23
4y ago
Whether it’s easy or not in your particular space isn’t the problem. The problem is that it breaks period. Some applications might be easy to upgrade. Others will not. You are forced to do work, because for some minority it feels nicer when
958.
▲
by
dgb23
4y ago
Exactly! But the cool thing with laying out your graph like that, is that it has a relational character to it. You’re essentially dealing in tables and (one/many) to many relationships. You have a birds eye view of where your entities
959.
▲
by
dgb23
4y ago
Not sure why your comment got downvoted. I’m also not sure I really understand what you’re saying, although I get the hunch that it might be a valuable description?
960.
▲
by
dgb23
4y ago
I haven't done any UI work in Rust, have used the language sparingly on the side. But while reading the article, I was thinking "You're modelling the tree wrong! The memory layout doesn't need to know that it is a tree!&
More ›