Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chowells
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
62 ms
·
721.
▲
by
chowells
7y ago
Eh. The first one, Rendezvous with Rama, was a lot better in my opinion: https://en.wikipedia.org/wiki/Rendezvous_with_Rama
722.
▲
by
chowells
7y ago
I use Firefox because its dev tools don't lie to me. I'm baffled any time someone says chrome's dev tools are better. They lie, and usually about the single most important thing I'm looking for. That is not better.
723.
▲
by
chowells
7y ago
No, he said it's the first nice car he's owned. Then he listed why - the tax in Denmark. The obvious inference is that he no longer lives in Denmark.
724.
▲
by
chowells
7y ago
Ouch, this is annoying. But it's a bug. Sometimes those happen, and they get fixed. This is totally unlike the user hostility that results from playing gotcha with UB which has also resulted in removing null pointer checks. Those aren&
725.
▲
by
chowells
7y ago
That's very viewpoint-centric. If your viewpoint is that of a power user who thinks everyone else should be one too, then it'd be fair to say they're orthogonal. If your viewpoint is that of a product manager trying to give t
726.
▲
by
chowells
7y ago
You might think it's silly. Microsoft thinks it has massively cut down on malware installation. One of these is an aesthetic judgment. The other is a security judgment.
727.
▲
by
chowells
7y ago
No. Taxes are not theft. Taxes are payment for services. Failure to pay is theft.
728.
▲
by
chowells
7y ago
No, the problem is giving names that are too specific to things. Like if you're implementing a merge sort for some reason, and go to write merge: merge :: Ord a => [a] -> [a] -> [a] merge (x:xs) (y:ys) | x <= y =
729.
▲
by
chowells
7y ago
> It sounds like you're actually aware that it's easier to read the redundant code when you are not an expert, so we don't have any disagreement there. Actually, there is minor disagreement. I don't think I used anyth
730.
▲
by
chowells
7y ago
Has it ever occurred to you that Haskell programmers prefer single-letter variable names in some contexts because it makes the code better? Perhaps it is not the children who are wrong.
731.
▲
by
chowells
7y ago
The only place I would offer a correction is to say that values aren't monads. "Maybe Monads" and "IO Monads" aren't getting created or passed around because only values exist at runtime. The only thing that ca
732.
▲
by
chowells
7y ago
Is it? There's no part of you that looks and that and wonders why it's stuffing return into every leaf of a branching structure instead of just leaving it at the root? That's just objectively redundant. And there's no pa
733.
▲
by
chowells
7y ago
Ouch. That function is actually written in a pretty convoluted and redundant way. getSocketAPIPort :: Int -> IO Int getSocketAPIPort defaultPort = do maybeEnvPort <- lookupEnv "socketPort" return .
734.
▲
by
chowells
7y ago
Others have addressed most of this, but no one else has called this out specifically: "my" is not a pronoun. Pronouns stand in for nouns. "my" stands in for a determiner. Both replace concrete with relative, but that
735.
▲
by
chowells
7y ago
Ignoring the symbols is exactly what is meant by "the grammar" of a sentence. Two things are grammatically the same if they use the same grammar productions when parsing/producing. This isn't conveniently bending defin
736.
▲
by
chowells
7y ago
This is talking about recursion in the grammar of the language. I can't think of a common programming language that doesn't have at least some recursive elements. Nested arithmetic operations are a common example.
737.
▲
by
chowells
7y ago
You're confusing semantics with grammar. They have identical grammar. "(A dog) bit (my friend)." "(My friend) bit (a dog)." Both parse as "(compound subject) verb (compound object)." Both "my" an
738.
▲
by
chowells
7y ago
In the two states with vote-by-mail I've lived in, you can always hand-submit a paper ballot that takes precedence over your mailed one. The only way someone could be sure you voted one particular way is to monitor your actions for 100
739.
▲
by
chowells
7y ago
You tip in the US because your only other personal alternative is hurting people who are in vulnerable jobs. It's not Stockholm syndrome, it's a hostage situation.
740.
▲
by
chowells
7y ago
Dependency injection works fine on Haskell. An effect system is one way of implementing it. That is, you write code that says it may perform any effects from the following list. At some central point, you execute that code in the context of
741.
▲
by
chowells
7y ago
Businesses have the goal of generating money for their owners. That's what capitalism is. Capital puts up money to start a business expecting a return on that money. Businesses are formed when the expected (in the probability sense) re
742.
▲
by
chowells
7y ago
Selfish? All of those things make society better. Business is the party with selfish demands. Yes, society should absolutely tell business that it isn't as important as it thinks.
743.
▲
by
chowells
7y ago
I think you're missing a major component of these deals restrictions: they also want to prevent running 30 headless VMs on a single computer all botting into games to grind whatever free content is available. This is actually a major c
744.
▲
by
chowells
7y ago
Have you ever looked at how that's implemented? Seems kind of like saying that since it has the y combinator, you never need to use recursion.
745.
▲
by
chowells
7y ago
I admit, I had some concerns about that as well. But our UX team and PMs did user surveys they believed to be broadly representative and found that enough sites are doing split logins now that our users didn't have any trouble with the
746.
▲
by
chowells
7y ago
Sure, but why would they want to? Even the slightest hint of that would sink the product and end a line of revenue. If it's successful enough to be worth cheating, it's also successful enough to be worth not cheating and just taki
747.
▲
by
chowells
7y ago
Have you validated this theory against actual users? Because I have. Users do the wrong thing. Constantly. Every single chance they get. There is no level of education that can fix it. Users don't want to do the right thing, they wan
748.
▲
by
chowells
7y ago
Is the problem really type inference? If it really was, you'd have to disallow chaining method calls, or using method calls inline as parameters to other methods. Every intermediate value would need to have its type annotated explicitl
749.
▲
by
chowells
7y ago
People hate how Java did it. That's not the same as hating all possible expressions of the same idea. That's true of a lot of good ideas that were poorly executed in Java. Making it impossible to ignore potential errors is somethi
750.
▲
by
chowells
7y ago
It was well known from older versions of GHC Haskell. Given how much Haskell knowledge was imported into Rust, it's surprising that this made it into stable at all.
More ›