kvb
Re:Ontario doctors sign letter to Premier advising against sweeping lo...
on Wednesday September 30, 2020 @11:14PM (#24646939)
I think it is pretty hard to compute the cost, because what's the counterfactual? Even if you don't force a shutdown people may still opt to isolate themselves and businesses may opt to close, and the degree to which they do so is probably dependent on the dynamics of the pandemic, so you're going to be pretty sensitive to modeling errors.
Re:A Failure, but Not of Prediction
on Friday April 17, 2020 @11:37PM (#22905132)
So if you know of 10 different events which may occur with probability 10% each, you would prepare for exactly one of them?
I think it's clear that there are some events that may be rare but which are cheaper to plan ahead for than to deal with after the fact, and vice versa (e.g. for many people self insuring against minor losses like appliance failures makes sense).
Re:The Myth of the Myth of the 10x Programmer
on Monday February 17, 2020 @08:22PM (#22352607)
But we can all aspire to be a >1 developer, even if we're not one currently. I don't necessarily think that contentment with being below average is universally bad (maybe it's perfectly rational given one's preferences for leisure vs. work, for example), but I'd hope that most <1 developers are juniors who hope to improve over time.
Re:Who wants to play the status game?
on Friday January 24, 2020 @01:13PM (#22140908)
Yes, there has been some study of this phenomenon: https://en.wikipedia.org/wiki/Countersignaling
Re:We Only Hire the Trendiest (2016)
on Thursday December 12, 2019 @03:12PM (#21775861)
But writing code is only a small part of a software engineer's job (at least that's true everywhere I've worked), so selecting people who have opted to dedicate their lives to only that portion might be a worse idea than hiring better-rounded candidates, when it comes to building real software systems that need to be liked by users.
Re:Tesla: Insane or Clever
on Monday May 20, 2019 @01:24PM (#19962710)
Re:Lambda Cube
on Tuesday March 05, 2019 @11:16AM (#19311511)
See also pure type systems
Re:Show HN: Basilica – word2vec for anything
on Wednesday October 31, 2018 @02:53PM (#18348308)
word2vec[0]:
computer programmer
- man
+ woman
---------------------
= homemaker
Basilica?
Re:To type or not to type: quantifying detectable bugs in JavaScript
on Tuesday September 19, 2017 @02:32PM (#15287479)
I would certainly dispute that programming time is necessarily slowed down. Ironically, I find myself thinking much harder about types in a dynamic language, precisely because there's no compiler there to do the rote work for me. Lately I've been using pandas dataframes quite a bit, and the number of hours I've wasted due to problems with types is mindboggling.
Re:Identifying Sources of Cost Disease
on Monday June 26, 2017 @09:28PM (#14641888)
I think most do... Can you point to some that don't?
Re:The Internet Isn’t Making Us Dumber – It’s Making Us More ‘Meta-Ign...
on Saturday April 22, 2017 @10:03PM (#14176025)
While it may be true that 50% of papers are wrong in some fields, the papers that are wrong are probably not the most highly publicized ones or the ones in the most prestigious journals (and when those papers are wrong the incentive to publish corrective papers is high), so this probably isn't quite as big a problem as it's made out to be.
Re:Complexity and Strategy
on Saturday March 25, 2017 @03:52PM (#13957245)
I've more often heard "inherent complexity" called "essential complexity".
Re:Why OO Matters in F#
on Wednesday March 22, 2017 @02:16PM (#13933315)
Vesa Karvonen posted a complete solution in SML here[1] (but LtU seems to be down so the link doesn't work), which I transliterated (directly, not idiomatically) to F# here[2].
Re:How Utah Reduced Chronic Homelessness
on Friday March 17, 2017 @03:08PM (#13896981)
No, see Brownback's Kansas tax cuts for just one recent example showing that (at least in our current tax regime) lowering rates brings in less revenue.
Re:Linear types make performance more predictable
on Thursday March 16, 2017 @11:06AM (#13885582)
These are linear types by analogy to linear logic[0], so the terminology dates to the 80's at the latest. In contrast to your accusation, I think FP folks rarely make up terminology, usually preferring to borrow liberally from neighboring fields of mathematics.
Re:New Google Translate languages
on Tuesday March 07, 2017 @05:21PM (#13815630)
Note that for comparable performance, you probably need not only the network topology but also the training data...
Re:Algebraic Subtyping (2016) [pdf]
on Friday March 03, 2017 @02:39PM (#13785605)
Non-polymorphic functions of the type `a->a` trivially satisfy it, of course. Also, I think polymorphic functions are the most interesting case where you can't use twice as desired in an ML-like language, so it's too bad that despite the fancier type they don't work too well in MLsub. Here's another example that fails when I'd hope for it to succeed:
let one = twice (fun o -> o.x) { x = { x = 1 } }
Re:Algebraic Subtyping (2016) [pdf]
on Friday March 03, 2017 @09:58AM (#13783237)
Though note that an even better type would probably be
twice : forall a,b,c. ((a->b)&(b->c)) -> a -> c
(e.g. in MLSub, the type for twice (fun x -> x::[]) 1
is the unsatisfying (rec a = (a list | int) list)
rather than the expected (int list) list
)
Re:Building a Cross Platform 360-degree Video Experience at The New Yo...
on Friday November 11, 2016 @12:52PM (#12932726)
What does that have to do with this topic?
Re:A New Real-Estate War in Silicon Valley
on Sunday October 23, 2016 @09:38AM (#12773500)
In a toy economy that's definitely true, but the empirical results are mixed in the real world, where there are lots of complicated dynamics.
Re:Extreme side-effects of antidepressants
on Wednesday October 19, 2016 @02:15PM (#12746242)
I like the way Scott Alexander frames the effect size. This is from the conclusion the blog post you link:
An important point I want to start the conclusion section
with: no matter what else you believe, antidepressants are
not literally ineffective. Even the most critical study –
Kirsch 2008 – finds antidepressants to outperform placebo
with p < .0001 significance. An equally important point:
everyone except those two Scandinavian guys with the long
names agree that, if you count the placebo effect,
antidepressants are extremely impressive. The difference
between a person who gets an antidepressant and a person
who gets no treatment at all is like night and day. The
debate takes place within the bounds set by those two
statements. Antidepressants give a very modest benefit
over placebo. Whether this benefit is so modest as to not
be worth talking about depends on what level of benefits
you consider so modest as to not be worth talking about.
If you are as depressed as the average person who
participates in studies of antidepressants, you can expect
an antidepressant to have an over-placebo-benefit with an
effect size of 0.3 to 0.5. That's the equivalent of a diet
pill that gives you an average weight loss of 9 to 14
pounds, or a growth hormone that makes you grow on average
0.8 to 1.4 inches.
Note that this is the over-placebo benefit, and placebos already have a large benefit in most depression studies.
Re:How the FDA Manipulates the Media
on Thursday September 22, 2016 @07:23PM (#12561167)
Could you provide a rough cost-benefit analysis?
Re:How the FDA Manipulates the Media
on Thursday September 22, 2016 @07:22PM (#12561163)
What's the link to the FDA?
Re:Free as in Health Care
on Tuesday August 30, 2016 @10:26PM (#12395542)
Isn't your theory regarding roads directly contradicted by the history of the Interstate Highway System?
Re:The Empirical Economics of Online Attention
on Monday July 18, 2016 @11:03AM (#12115441)
It's a term of art. From Wikipedia[1]: "In economics, an inferior good is a good that decreases in demand when consumer income rises (or rises in demand when consumer income decreases), unlike normal goods, for which the opposite is observed."
Re:Leaf: Machine learning framework in Rust
on Tuesday March 08, 2016 @11:49AM (#11246449)
Ensembles of humans can outperform the average human, and in the same way an algorithm trained on data labeled by an ensemble of humans can outperform the average human.
Re:C# and F# approaches to illegal states
on Tuesday September 29, 2015 @01:31PM (#10297894)
Your particular example doesn't seem especially object oriented (e.g. it looks like a simple data type with a "smart constructor", which is a common pattern in, say, Haskell, too). But in any case F# supports both discriminated unions as well as normal OO design, while C# supports only the latter, so in that subset of cases that are better modeled by DUs F# will be strictly better, and in the rest of the cases it won't be worse.
Re:C# and F# approaches to illegal states
on Tuesday September 29, 2015 @09:56AM (#10296290)
But someone else could create a subclass breaking the invariants. It's possible to avoid this by making the abstract class's constructor private and nesting the two subclasses inside of the abstract class, but this is not idiomatic. If you have to work that hard then most people won't bother, while in F# it's very natural to create such a design.
Re:Introducing s2n, a New Open-Source TLS Implementation
on Tuesday June 30, 2015 @02:17PM (#9807330)
How does this compare to miTLS[1]?
Re:Null-checking considerations in F# – it's harder than you think
on Monday May 18, 2015 @03:57PM (#9566516)
Idiomatic F# code also uses Option types. However, all .NET reference types have null as a possible value. While most F# types don't have null as a "normal" value, there's nothing to prevent null instances of these types from being created "abnormally" at the .NET runtime layer (e.g. values of F# types created in other .NET languages like C# that don't respect F#'s metadata annotations, or created via F# operators like Unchecked.defaultof<_> that implicitly use the .NET runtime's default value of null for reference types).
In practice this is rarely a problem, but the article is highlighting what you need to do when you want to (efficiently) check for these boundary cases.