Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chowells
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
72 ms
·
841.
▲
by
chowells
9y ago
Speech advocating violence and hate isn't illegal, but no one is required to provide a platform for it, either. That isn't part of net neutrality, and never will be. Net neutrality is about carrying data regardless of origin
842.
▲
by
chowells
9y ago
Why are you looking for social inclusion at work, of all places?
843.
▲
by
chowells
9y ago
Yeah.. You should never use floating point when your use case wants uniform precision across the full range. That's the opposite of what floating point gives you.
844.
▲
by
chowells
9y ago
Have you ever been to a sporting event at a major venue that seats 70,000? Roads around such a venue are either jam-packed with traffic that isn't moving, or completely closed by the local authorities to be reserved for emergency traf
845.
▲
by
chowells
9y ago
It's always baffling to watch programmers learn something new and immediately reject it as useless. When did the search for knowledge and better ways to think about code become a reason to mock someone? Any decent programming language
846.
▲
by
chowells
9y ago
You've illustrated the circle nicely. Salespeople are paid on commission because salespeople are paid on commission. What if there was no commission job available as an alternative?
847.
▲
by
chowells
9y ago
You would always prefer to not have Turing completeness in your language, all other things being equal. Turing completeness isn't ever necessary to write the logic you want to write. But all other things are not equal. There is a cost
848.
▲
by
chowells
9y ago
The few that allowed OpenID 10 years ago did let you delegate your auth. OAuth and OpenID Connect killed that.
849.
▲
by
chowells
9y ago
Oh. I totally misread your post as advocating putting the money into an index fund instead of buying lottery tickets. Actually, retiring on the winnings is pretty much what I'd do, too. Though I'd want to diversify holdings over
850.
▲
by
chowells
9y ago
It's funny how when someone describes their own experience, you tell them they're wrong. Are you claiming the GP didn't actually experience fast reloads? Initial compiles of some Haskell libraries that essentially do exponent
851.
▲
by
chowells
9y ago
He's asking for exhaustiveness checking of pattern matching algebraic data types. Many languages have had this for essentially forever. It does sometimes mean that when you update some code, you have to update a bunch of other things.
852.
▲
by
chowells
9y ago
The Essence of the Iterator Pattern, by Gibbons and Oliveira. This paper develops a precise model for internal iteration of a data structure, such that exactly the necessary information is exposed and no more. It's a fantastic explorat
853.
▲
by
chowells
9y ago
I don't know about you, but I can't live off the proceeds from $10 in index funds. Not even if repeated 100 times.
854.
▲
by
chowells
9y ago
Why not actually try it? Write a timing attack. I've done it before, against a server that deliberately had a vulnerability left on it. A super-naive approach with no statistical rigor managed to produce usable results at a slow-but-pr
855.
▲
by
chowells
9y ago
Corecursion doesn't require base cases, and it's a perfectly useful way to write programs in languages that support lazy evaluation. I'm not sure base cases are as important as you suggest.
856.
▲
by
chowells
9y ago
What happens is an emergent phenomenon based on the actions of at least a few hundred actors who each will be watching closely and may revise their decisions several times along the way.
857.
▲
by
chowells
9y ago
Are you sure you've got it the right way around? For-loops in C are syntactic garbage. "This is what I'm used to" is not the same as "this is good."
858.
▲
by
chowells
9y ago
The only current test for CTE is dissecting the brain. So for the time being, testing is limited to the dead. I wouldn't be in a rush to get checked.
859.
▲
by
chowells
9y ago
You interfere with my right to personal autonomy by bankrupting yourself throwing good money after bad in stupid investments, leaving yourself destitute and in need of additional public services. Or do you also intend to claim that the poor
860.
▲
by
chowells
9y ago
In general, type reflection does mean making type information available at runtime. However, GHC does erase types at compile time. The resolution of this apparently contradiction is in the type class mechanism. Type classes ("classes&
861.
▲
by
chowells
9y ago
Learn Haskell. The long version of this is "acquire any non-mainstream skill to a degree most will never match." Once you know something well that most people think is impossible, incomprehensible, or just too much work, your view
862.
▲
by
chowells
9y ago
Being a real-world language was absolutely one of the design goals of Haskell. See point 1 of section 2.4 in "A History of Haskell: Being Lazy With Class"[1]. It succeeded at being suitable for writing large systems, too. It'
863.
▲
by
chowells
9y ago
Err. Why do you think Haskell isn't intended to be used in production settings?
864.
▲
by
chowells
9y ago
That's not true at all. Sexism comes from the conclusions others draw, not the intentions of the participants. If this makes you uncomfortable, embrace that discomfort. It's the first step to understanding this.
865.
▲
by
chowells
9y ago
No, it's not problematic at all. The behavior was unacceptable. The victim being so used to it that they don't notice the offense doesn't make it not an offense. You can never hide behind "the victim said it was ok"
866.
▲
by
chowells
9y ago
There are no useful programs that require Turing completeness. That's basically by definition. Turing completeness is what allows programs to have non-productive infinite loops. Any system that guarantees productivity isn't Turin
867.
▲
by
chowells
9y ago
Programming language design is a part of software engineering. The easier a language makes it for you to do something, the more likely you are to do - regardless of whether it's considered good software engineering. That said, I don&
868.
▲
by
chowells
9y ago
Well, I don't know of anyone with haskell experience who hasn't used this basic pattern occasionally. It's just how you do it. Thjs article introduces an extra twist or two, but the basic idea doesn't change.
869.
▲
by
chowells
9y ago
That happens sometimes, but the solution is the same as in a strict language. Break out the profiler and see what's taking all the time. There's a learning curve while you figure out what the usual suspects are, but usually you ca
870.
▲
by
chowells
9y ago
All performance issues caused by laziness are memory issues. Something isn't evaluated promptly, so large amounts of memory are consumed storing unevaluated expressions. This causes drag on the garbage collector and excess cache thrash
More ›