Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cultus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
48 ms
·
451.
▲
by
cultus
8y ago
I haven't drank all my coffee yet this morning, but are you saying that throwing a segfault can be a good thing? Either you unwrap the Option, or you have to remember to do an manual null check. The second option is more verbose.
452.
▲
by
cultus
8y ago
If you know something can't be null, then don't use an option. Simple as that. For example, a SQL library can return a non-nullable column of String as just a String, not an Option[String]. Thus, you actually get a solid distinc
453.
▲
by
cultus
8y ago
You can never guarantee you really have 100% test coverage in all scenarios in complex software.
454.
▲
by
cultus
8y ago
The way Clojure handles nulls is ideal for a dynamically typed language. In Clojure, a nil is a perfectly valid object, and it is also a sequence (it's the empty list equivalent). That means that most standard library functions have no
455.
▲
by
cultus
8y ago
A simple, safe way of tracking nulls like option is "CS theory going off the deep end?" Implicitly allowing all code to return nothing, and manually trying to remember what can return null and what can't, and checking that va
456.
▲
by
cultus
8y ago
P-values are not good measures for reliability, because they absolutely are not the same thing as the chance that a result is wrong. This confusion, and ignorance of the prior probability of hypotheses is the reason why replication rates ar
457.
▲
by
cultus
8y ago
So now you are saying that climatology is literally pseudoscience.
458.
▲
by
cultus
8y ago
No, you aren't just disputing the consensus. You are claiming that climatologists "shut critics and skeptics" out of the field, so we shouldn't listen to them. Yes, they do shut out pseudoscience, as do other legitimate
459.
▲
by
cultus
8y ago
You're really veering off into conspiracy theory territory here. It's clear you haven't the faintest how climate models or any geophysics works. Don't mistake a facility for computers for expertise in all science. I actu
460.
▲
by
cultus
8y ago
That's uhh, not true. At any rate, shouldn't we be listing to the climatologists on this matter, because their specialty is, you know, climate?
461.
▲
by
cultus
8y ago
He's not defending violence. The media has a long track record of portraying protests/etc by the Palestians as violent and terroristic, even when it is not. The Palestinians are commonly terrorized or even murdered by radical Isra
462.
▲
by
cultus
8y ago
It sure looks like another case of anti-Palestine groups conflating criticism of the apartheid policies of Israel with antisemitism. edit: As an example, look at the ADL's incredibly misleading take on the BDS movement: https:/&#
463.
▲
by
cultus
8y ago
Yeah, Go has some really fantastic aspects around tooling and a good concurrency story, but it's otherwise such a huge step backwards. I can't fathom the reason for not having generics. It's such a simple, completely common-s
464.
▲
by
cultus
8y ago
This is good news for the vast majority of people in NYC. The same thing is happening in Seattle where I live, and I'm thrilled.
465.
▲
by
cultus
8y ago
Did you write type-unstable code? That brings Julia performance down and memory usage up, since things often get inferred to be Any. So, a vector of what you think are doubles could be turned into a boxed vector of Any. It will slow things
466.
▲
by
cultus
8y ago
Well, it's a probability of the output given the fixed, fitted model parameters. This is the likelihood. This is not the probability of getting that output, since we don't know what the parameters should really be. See the inver
467.
▲
by
cultus
8y ago
Yes, they wouldn't be normalized so you can't interpret it as a probability. Softmax is the function that normalizes it. However, even that you can't interpret as a probability of some outcome, because you do not take into ac
468.
▲
by
cultus
8y ago
I've been hearing about this. What are the chances of resistance developing? In Australia, the introduction of myxomatosis almost wiped out rabbits, but sure enough they developed resistance and now it's just an endemic disease on
469.
▲
by
cultus
8y ago
> Tech workers don't need a union to negotiate compensation, they're compensated fine already. Software one of the highest margins of any industry. They can afford to pay more, especially since they are constantly whining about
470.
▲
by
cultus
8y ago
The organization of the Incan Empire was really incredible. There really was nothing quite like it until modern times. The state storehouses alluded to in the article can still be seen all over on mountainsides in Peru (they were always bui
471.
▲
by
cultus
8y ago
Let's just say you want to have insurance. ARVs are something that needs to be free, even moreso that many other health treatments. There is a huge negative externality involved in having untreated HIV since it can be transmitted. If w
472.
▲
by
cultus
8y ago
People with HIV just have to pop a couple pills a day now to take their viral loads to literally undetectable levels. With treatment, people with HIV can expect to live normal lives, and be healthy and active. It's also almost impossib
473.
▲
by
cultus
8y ago
The option monad is literally isomorphic to maybe. It 100% follows the definition of a monad and is an instance of the monad type class in Cats and Scalaz. Many algebraic data types are monads. I’m not sure why you think that is a contradic
474.
▲
by
cultus
8y ago
>Unlike steel or aluminium, carbon fibre doesn’t work harden so, as long as you don’t crash it, it will be MORE durable than steel. Steel is almost perfectly elastic below its fatigue limit. It never fails for stress underneath this, sin
475.
▲
by
cultus
8y ago
I am a former racer (cat 2). Every ounce does not count in amateur bike races, because such differences are dwarfed by differences in fitness. Significant figures. Aero drag matters a lot, and most of that is from the rider. Races sometimes
476.
▲
by
cultus
8y ago
The vast majority of energy on a bike goes to aero drag, and most of that is the rider. Are you in a more aero position on the Merida? That would fully account for it. The difference in weight is not capable of causing much difference on fl
477.
▲
by
cultus
8y ago
On a road bike, you will get a pinch flat from running tires that low, where the tube gets cut between the rim and the ground. Recommended pressure always varies. With wider tires, you typically must run them lower, since a too-high pressur
478.
▲
by
cultus
8y ago
Great, can we get an article from the Family Research Council next? https://www.sourcewatch.org/index.php/Institute_for_Family_S... This is a right-wing think tank that's promoting barely-disguised "tradition
479.
▲
by
cultus
8y ago
Stiffness in a tire is bad. That's why more expensive tires are suppler. Energy lost due to rolling resistance on a paved road is primarily viscous dissipation due to flex of the tire. If the tire is a stiffer material, this dissipates
480.
▲
by
cultus
8y ago
Too high pressure actually decreases efficiency. While you have less deformation of the rubber, it causes the bike to bounce over irregularities more. The energy from this bouncing is lost. On rougher roads, often pressures below 90 PSI are
More ›