Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
munchler
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
31.
▲
by
munchler
5mo ago
All types of problems. F# can do almost anything C# can do and with less ceremony. The quote I like is that once you get comfortable with F#, switching back to C# is like "having to fill out government forms in triplicate".
32.
▲
by
munchler
5mo ago
Yes, all that stuff. I try to stick to F# where no special syntax is required for missing values (via Option<T>).
33.
▲
by
munchler
5mo ago
Simple example: type Expr = | Primitive of int | Addition of (Expr * Expr) | Subtraction of (Expr * Expr) | Negation of Expr
34.
▲
by
munchler
5mo ago
All the weird cruft around nullability, for starters. Once again confirming that allowing null references is usually a mistake.
35.
▲
by
munchler
5mo ago
Unions are simpler than subclasses and more powerful than enums, so the use cases are plentiful. This should reduce the proliferation of verbose class hierarchies in C#. Algebraic data types (i.e. records and unions) can usually express dom
36.
▲
by
munchler
5mo ago
F# leads the way and C# slowly catches up, as always. Yet for some reason, C# still gets all the mindshare.
37.
▲
by
munchler
5mo ago
My understanding is that E2E encryption implies encryption in transit. The message is encrypted at the source and only decrypted at the destination, so it is encrypted everywhere in between.
38.
▲
by
munchler
5mo ago
The point is that, logically, the first part of that rule (“expose the king”) is implied by the second part (“leave that king”), so the first part is redundant. You could simplify the rule to: No piece can be moved that will leave the king
39.
▲
by
munchler
5mo ago
If Google stops driving traffic to websites, won't those websites stop allowing Google to crawl their pages? The pendulum might be in motion, but it seems like there should still be some natural equilibrium that it's heading to.
40.
▲
by
munchler
5mo ago
Well, that’s my point. You can model a coin flip, but you can’t predict it. A model and a prediction are two different things.
41.
▲
by
munchler
5mo ago
I think this is all true, but it dodges the bigger issue. A presidential election has a binary outcome: yes/no, win/lose. If your statistical model doesn’t contain this single bit in its output, then it doesn’t meet the minimum re
42.
▲
by
munchler
5mo ago
This is charming, but not at all like the soul-sucking content typical on LinkedIn.
43.
▲
by
munchler
5mo ago
The choppy language is the biggest trigger for me. Examples: * "With Fraud Defense, there was no process to respond to. The product launched. The requirements page went live." * "That is not a technical limitation waiting to
44.
▲
by
munchler
5mo ago
I think this is the third HN link I've clicked on in a row that leads to an LLM-generated article. I'm not opposed to AI, but I'm tired of seeing it quietly substituted for human thought and expression.
45.
▲
by
munchler
5mo ago
Thank you for this explanation. So the AI can respond based on the DOOM game that it’s watching? E.g. Could you ask the chatbot for advice on what to do next on the current game level?
46.
▲
by
munchler
6mo ago
Wut? How are chefs like waterboarders?
47.
▲
by
munchler
7mo ago
> There’s another cat space on the underside of the desk surface, in the normally unutilized space in front of your knees when you’re sitting. "Normally unutilized"? This is where the drawer goes. Otherwise, it's just a gl
48.
▲
by
munchler
7mo ago
I think OP is proposing a lump of antimatter with no net electric charge. My guess is that even in this case the lump’s positrons would immediately interact with the table’s electrons and explode.
49.
▲
by
munchler
7mo ago
You do realize that there a lot of people who sit at a desk and use a computer all day, right? Those are the ones whose jobs are vulnerable, not the ones who work with their hands or interact with the public.
50.
▲
by
munchler
7mo ago
Can’t tell if this is intended as humor, but I LOL’ed.
51.
▲
by
munchler
7mo ago
Well, I totally disagree with this. One of the main benefits of currying is the ability to chain function calls together. For example, in F# this is typically done with the |> operator: let result = input |>
52.
▲
by
munchler
7mo ago
Most true suburbs aren't within the big city limits, so I'm not sure your point is well-founded. For example, in the DC area, the suburbs aren't even in the same state as the city and yet the suburbs seem to be thriving.
53.
▲
by
munchler
7mo ago
Thinking about society is not introspection. Introspection is, by definition, only about one’s own thoughts and feelings.
54.
▲
by
munchler
7mo ago
I can feel my soul draining out of my body every time I visit LinkedIn. I'm old and my tolerance for corporate culture has run out. I still love making software and working with people, but not having to think about my stupid "car
55.
▲
by
munchler
7mo ago
But the hash alone shouldn't be enough to match the key. Isn't an equality check also needed to avoid a false positive? That's the idea behind a hash table, as I understand it. (I'm not a Python programmer.)
56.
▲
by
munchler
7mo ago
>>> my_dict[nan] = 3 >>> my_dict[nan] 3 Wait, how does that work if nan isn't equal to itself?
57.
▲
by
munchler
7mo ago
I can’t tell if “table of context” is a clever new phrase or a typo.
58.
▲
by
munchler
7mo ago
If things have a similarity as you change scale and if things also reduce to strings, then we would expect to see strings at all scales, which we definitely don't. That said, she makes the following observation at the end of the interv
59.
▲
by
munchler
7mo ago
If there’s surplus land, why build something unwanted in someone’s backyard? I’m a suburban NIMBY homeowner and I feel like you’re actually making my argument without realizing it. I’m all for building new houses on unused land. Can you ple
60.
▲
by
munchler
7mo ago
It would be more boring to watch at the end, and frustrating for the loser to be forced to play a losing position.
More ›