Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ben509
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
241.
▲
by
ben509
6y ago
Likewise; it's particularly bad when I view a light on dark website, I often have to use reader mode or invert the screen colors.
242.
▲
by
ben509
6y ago
During a class, especially one that touches on medical regulations, there's a lot of state information that needs to be transmitted during learning, so you'd expect cookies would help with that. j/k
243.
▲
by
ben509
6y ago
> So if I sell my laptop that still has some photos on it, the buyer would own the copyright over those photos because they own the laptop? No, since you made an agreement to sell the laptop, and only the laptop. > Copyright is not ge
244.
▲
by
ben509
6y ago
Hunter Biden left his laptop at the repair shop and never paid for the repairs. After waiting the legally required 90 days, the repair shop became the rightful owner of the laptop and its contents. Once they owned those photos, they had eve
245.
▲
by
ben509
6y ago
S-expressions are great once you've figured out functions, atoms, complex data types, etc. That's how Amazon's Ion[1] uses them: as a nice supplement to a serialization standard. > “CAR”/“CDR” are not a part of the ex
246.
▲
by
ben509
6y ago
I'm not entirely settled on that. My working approach is if you're writing a compiler, it wants to have an unambiguous grammar and shouldn't even attempt recovery. If input doesn't parse, the compiler can recommend (or j
247.
▲
by
ben509
6y ago
Doping itself isn't bad, and drugs aren't bad in moderation, either. So, yeah, the issue is someone getting an advantage, which in turn puts pressure on athletes to have to dope or take PEDs to have a career. I'm not sure wha
248.
▲
by
ben509
6y ago
I know people often read headlines and then instantly comment, but I really did read most of the post. What I realized after writing most of my comment was that the author was primarily interested in explaining a recursive descent parser, a
249.
▲
by
ben509
6y ago
Another comment brought up StrictYAML, and they have a good dissection of the problems with TOML[1]. Personally, after doing a few pyproject.toml files, I still find it confusing and awkward as soon as you get past simple headers and key-va
250.
▲
by
ben509
6y ago
Their sections on "Why StrictYAML" and "design justifications" are required reading for anyone working on a text-based serialization format. You may not agree with all their conclusions, you may have another use case, bu
251.
▲
by
ben509
6y ago
> Why simpler is better and why you don't need a parser generator. As far as I can see, this isn't fully answered, unless the claim is strictly limited to the question of need. In my case, I certainly want a parser generator.
252.
▲
by
ben509
6y ago
AppleScript, for all its faults, handled localization quite impressively. It parsed the whole script into an abstract representation, and could then could display it in another language as needed.
253.
▲
by
ben509
6y ago
Humorism probably produced observable benefits just by encouraging people to eat a balanced diet. Its basic notion that you have different things in your body that need to be balanced is not wrong.
254.
▲
by
ben509
6y ago
It's a joke, watch the video.
255.
▲
by
ben509
6y ago
It's not very sporting to rule out making things fit as a use case for measuring something. Even measuring the width of rendered text is done to make it fit some layout.
256.
▲
by
ben509
6y ago
> Perhaps thinking of Lance Armstrong, he added: “I was a big fan of a certain cyclist and a part of me understands the pressure to succeed at all costs. ..." Lance Armstrong didn't just cheat, he set up a whole doping ring.[1]
257.
▲
by
ben509
6y ago
I have done work in LaTeX simply because it was too complicated to do in LyX. I would never regret using a simpler, easier tool. That's not snobbishness, that's masochism.
258.
▲
by
ben509
6y ago
> Do you think it's acceptable for someone to circulate a manifesto that argues that conservatives are unlikely to make good engineers, because they are more authoritarian, and authoritarians are less creative, and are less likely t
259.
▲
by
ben509
6y ago
> Yes "data driven" does not always lead to what's best for the consumer. One solution might be consumers use more data.
260.
▲
by
ben509
6y ago
Nope. As the GP mentioned, billing is delayed, but you could set alarms on your lambda usage. You could even use something like X-Ray to get more insight into what your usage looks like. The problem is there's not a clear way to tell t
261.
▲
by
ben509
6y ago
Or peaches.
262.
▲
by
ben509
6y ago
The way I think of that trick is it's simply translating struct.field to struct(field). You can also use it to represent sum types and then pattern match on them. For instance, Python doesn't have a case statement. We could define
263.
▲
by
ben509
6y ago
Like any student, I did basic chemistry and physics and we tested various claims in the lab. Nobody personally tests all claims, even professional scientists have to accept some prior claims until they have some reason to believe they'
264.
▲
by
ben509
6y ago
> Not all functional languages have static typing. Even the multi-paradigm, late-bound languages that are adding functional programming are adding static typing, e.g. TypeScript and mypy. > No type checker will catch this error... Sur
265.
▲
by
ben509
6y ago
Yup, a black market swaps government for organized crime. Cartels would be incentivized to dominate the network.
266.
▲
by
ben509
6y ago
Nothing, unless you're from Norway.[1] [1]: https://hitchdev.com/strictyaml/why/implicit-typing-removed/
267.
▲
by
ben509
6y ago
The theory lets compilers catch a ton of bugs at compile time. When you can get a functional language to type check, it really does Just Work. And when you limit side-effects, you know another function isn't going to monkey with someth
268.
▲
by
ben509
6y ago
> To reduce the amount of harmful interference generated, USB3 links use a technique called scrambling, in which data is XOR'd with a fixed pattern before transmission. So I can take that pattern, repeat it a few million times, and
269.
▲
by
ben509
6y ago
The key is the tense. The past tense of "lie" is "lay", which is where the confusion comes from, whereas the past tense of "lay" is "laid". Handy chart[1]. After I laid bricks this morning, I was tire
270.
▲
by
ben509
6y ago
You wind up driving it underground, but it will still have value because you'll still be able to buy things with it on the black market. Given our past experience with the war on drugs, I'd expect this to make the situation even w
More ›