Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
klmr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
181.
▲
by
klmr
8y ago
> When you use yeast, you have to supply the energy for the entire system The “entire system” is a vat with yeast in it. For starters, that’s a much more space efficient way of growing something than in plants. Secondly, the energy you p
182.
▲
by
klmr
8y ago
I’m a big fan of nested hierarchies. But hierarchies only work when they are logical. And on GitHub they patently aren’t: For instance, I’ve got to search for the Releases tab every single time . Its placement below “Code” makes no sense
183.
▲
by
klmr
8y ago
The issue with that approach is that you’d multiply the number of sacrificed animals by 3 (or 4, did you forget a breed?), for limited gains in insight. Your approach would be a lot more defensible if it didn’t involve killing vastly more a
184.
▲
by
klmr
8y ago
In fact, most studies are funded either by governments or via donations from the public. Some public studies are partially funded by industry, but with a big caveat: industry has no say on how the studies are conducted, or even what i
185.
▲
by
klmr
8y ago
> society has reached the point where we do not apply intristic value to a baby inside the womb, only outside the womb This is completely false, and a typical mischaracterisation of abortion by anti-choice advocates. If what you said wer
186.
▲
by
klmr
8y ago
This isn’t quite true. The issue is that rodents evolve a lot quicker due to effective population size and generation time. As a consequence, the genetic divergence between rodents and humans is in fact greater than that between humans and
187.
▲
by
klmr
8y ago
Absolutely. My phrasing wasn’t clear, I was contrasting organoids with the cell cultures mentioned in your reply, not with in vitro studies in general.
188.
▲
by
klmr
8y ago
In vitro studies have been done for ages, but are often a worse model than closely related organisms. For instance, there are various human cancer cell lines and while these are routinely used to study various aspects of biology (cancer b
189.
▲
by
klmr
8y ago
It’s ridiculously wrong though. Ketchup has tons of varieties, even if you only talk about tomato ketchup (which is not the only kind, although the vast majority). I can easily name more common varieties of tomato ketchup than of mustard.
190.
▲
by
klmr
8y ago
The thing is, different ketchups taste vastly different. There are actually several other best-selling brands of tomato ketchup in Germany but they all taste very different from Heinz, and, in one case, objectively worse (bland). I used to
191.
▲
by
klmr
8y ago
Well Java is just an incredibly bad poster child for static typing. But even in Java you can do better by using modern sum types. Defining a “ridiculous number of single-use DTOs” isn’t actually a problem in languages that support this well
192.
▲
by
klmr
8y ago
Again, there’s virtually never a reason to make everything optional/variant. It’s a conscious design choice and should be used judiciously (otherwise the API becomes difficult to use, and the same is true in a purely dynamic system).
193.
▲
by
klmr
8y ago
> It makes it very difficult to comply with Postel's Law. Not really, since “handling” doesn’t mean “throw errors”. But regardless, Postel’s Law is often seen as a failure in hindsight. See the “Criticism” section on its Wikipedia p
194.
▲
by
klmr
8y ago
I entirely agree, see my orthogonal comment reply.
195.
▲
by
klmr
8y ago
> The thing for me is the type system shouldn't decide whether or not a certain piece of information is critical to the system. No, that is in fact the stated purpose of the type system. If you don’t want to make such a decision sta
196.
▲
by
klmr
8y ago
There are different kinds of APIs. You seem to be talking about inherently dynamic ones, such as your JSON blob example. Of course you cannot statically guarantee their contents, which is why statically typed JSON layers provide ways of ass
197.
▲
by
klmr
8y ago
Good test coverage and test-first philosophy can make this problem go away, but it always requires that you didn’t make an error in your tests. I always found this argument bizarre: I write tons of tests but I know that I’m fallible, and
198.
▲
by
klmr
8y ago
No, that’s orthogonal: Option 1 can mean either working around unexpected input, or failing in some way (and the same is true for the other options, but creating systematic, handle-able failures gets harder).
199.
▲
by
klmr
8y ago
The API problems you cite aren’t prevented in dynamically typed systems. If anything they are worse, because they could lead to silent failures, whereas a statically typed API statically checks and guarantees the contract. Contrary to what
200.
▲
by
klmr
8y ago
Not generally easier but easier to express specific, complex concepts. Tensorflow does alright but it’s certainly not beyond improving.
201.
▲
by
klmr
8y ago
In addition there are plenty of people who do use Go yet still criticise its lack of generics. But apparently these are not “real” Go users?
202.
▲
by
klmr
8y ago
No. Only anything that can perform µ-recursion is Turing complete. Primitive recursion [1] is not enough. In practice virtually all languages that allow recursion allow its Turing complete form but it’s important to realise that other forms
203.
▲
by
klmr
8y ago
That’s not true. Only “das Radio” is correct Standard German. Only “die Butter” is correct Standard German. Other forms may well be common, and accepted as dialect. But they’re not Standard German, which means they’re not taught in school (
204.
▲
by
klmr
8y ago
> What makes you think there is a campaign against him or just that he simply isn't that popular Because his policies are virtually never mentioned, he’s being attacked for made-up allegations instead. This very fact that, as you
205.
▲
by
klmr
8y ago
They’re almost certainly not expecting for the store itself to be profitable. Rather, the store is a billboard for the company (the same is actually very much true for Apple Stores; except those are probably crazily profitable in addition).
206.
▲
by
klmr
8y ago
The comparison to the Apple Store (just downstairs from the Pi store …) is both apt and misleading: Apple Stores are all shiny but in essence it’s a sales room. the Pi store, by contrast, has the potential of becoming a place to geek out, t
207.
▲
by
klmr
8y ago
> Note, the source here might be a biased here That’s putting it mildly: I’m entirely aware that there’s a concerted campaign in the UK to smear Corbyn by fabricating a story from out-of-context quotes and, despite not being a fan of Cor
208.
▲
by
klmr
8y ago
You’re probably referring to the fact that the school system differs from state to state rather than being organised at the federal level but I find that quality of education differs a lot more between individual schools than it does betwee
209.
▲
by
klmr
8y ago
It really isn’t as diverse as you seem to think. As suggested in another comment, these German speakers you talked to simply didn’t know the correct forms: The German language is generally quite prescriptive, there’s little room for varia
210.
▲
by
klmr
8y ago
I think this is misleading: Dialects exist but they don’t change the rules of standard German grammar. In German, only “die Butter” is correct, regardless of where you are. Upper Bavarians may use “der Butter” but there’s an understanding t
More ›