Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
diarrhea
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
391.
▲
by
diarrhea
3y ago
I don’t think the new way to write None is an improvement in this case. I use the pipe as a replacement for Union (of which Optional is a special case, but oddly, there is prefer to use Optional; it reads nicely).
392.
▲
by
diarrhea
3y ago
Handle errors as soon as you can is my stance. If a low-level function raises, but its immediate caller knows how to handle that specific exception, handle it (for example, turn a zero division error into None, if it makes sense for the dom
393.
▲
by
diarrhea
3y ago
I’ve had good success with step-ca. It was easy enough to be called trivial actually!
394.
▲
by
diarrhea
3y ago
- Certificate Transparency logs leak internal domain names, therefore potentially internal infrastructure or product still in stealth mode - HTTPS challenge requires opening the network to the entire internet - DNS challenge requires API ac
395.
▲
by
diarrhea
3y ago
This is not the way. So much churn for less effect.
396.
▲
by
diarrhea
3y ago
It mainly acts as a lower bound. If your pings return 5ns, you know that answer cannot possible be correct. But I agree that's a rather constructed use case.
397.
▲
by
diarrhea
3y ago
The speed of light is a physics topic, but I’d argue it’s relevant to most people working in IT: it’s the maximum speed information can travel at. Anything involving networks is very much affected by it. The internet runs on fiber, where th
398.
▲
by
diarrhea
3y ago
Harsh lesson, those five signal names are identical if one squints real good. Would have never known.
399.
▲
by
diarrhea
3y ago
> Try convincing everyone that grammarly is a keystroke logger. Funny how it's not the opposite viewpoint that is scrutinized. Prove how it's not a keystroke logger, then Grammarly can be deployed. Until then, it's assum
400.
▲
by
diarrhea
3y ago
Yes. I have been burned by this in C#, it’s very frustrating.
401.
▲
by
diarrhea
3y ago
I wish reading docs more or less fully was more normalised. Time and again I find myself suddenly the, or close to the subject matter expert just because I actually read the documentation of what everyone else had already been working with
402.
▲
by
diarrhea
3y ago
Why is distributing the certificate dangerous? It’s public knowledge anyway.
403.
▲
by
diarrhea
3y ago
Exactly the same line of argumentation people bring forward in defense of C. If only it was used correctly, it would work! But it isn’t and it won’t, and modern alternatives are popular for a reason. It’s a technology problem.
404.
▲
by
diarrhea
3y ago
Lots (all?) major frameworks push for dependency injection though, where interfaces are a must, as far as I know (not for DI-the-principle, but DI-as-implemented). ASP.Net Core is a good example. It's not C# at the language level forc
405.
▲
by
diarrhea
3y ago
That’s how I hide my password manager, but that’s HTTP and has Header fields to dispatch on in the reverse proxy.
406.
▲
by
diarrhea
3y ago
Convert to bitmap, then OCR again.
407.
▲
by
diarrhea
3y ago
It can do Mermaid diagrams just fine. Very convenient.
408.
▲
by
diarrhea
3y ago
I simply open multiple ssh sessions if that’s what’s needed. My terminal can then natively do tabs, panes, ligatures, emojis etc. There’s no middleman. So after all these years I still managed to not need tmux. Am I missing out? Everyone se
409.
▲
by
diarrhea
3y ago
I think at least my consumer router would block such DNS on grounds of DNS rebind protection.
410.
▲
by
diarrhea
3y ago
Reads like when I prompted ChatGPT for well-known, large and public projects written in C#. Yeah you’ll get a list, but it’s not a very exciting one and fizzles out after about three entries. As another commenter said, both operate in the “
411.
▲
by
diarrhea
3y ago
How will we go to newer Wireguard versions then? Throw it all away and use a wholly new product? Or have a Wireguard 2.0, where all participants need to upgrade in lockstep, with no backwards compatibility (actually sounds attractive: some
412.
▲
by
diarrhea
3y ago
Reading more about that… How does the verifier detect infinite loops anyway? Halting problem and all. It must use some rather crude heuristics, no?
413.
▲
by
diarrhea
4y ago
`expect` can be used instead of `unwrap` to print an error. That's quite idiomatic I'd say for situations where there's no way to recover anyway, as you mention.
414.
▲
by
diarrhea
4y ago
You're in agreement, they are additionally implying that the bar is much lower than you set it though.
415.
▲
by
diarrhea
4y ago
Mankind has pushed boundaries far beyond anyone’s wildest imaginations in countless scientific fields. Yet in 2023, there’s no consensus on stretching . Boggles the mind.
416.
▲
by
diarrhea
4y ago
Seeing Rust as a con in a Hackernews post, never thought I’d see the day!
417.
▲
by
diarrhea
4y ago
Can't wait for this to be locally-deployable and a resource-friendly commodity. I use paperless-ngx a lot , and its search alongside tags, document correspondent as well as document type are very powerful. I can dig up all sorts of fa
418.
▲
by
diarrhea
4y ago
A style I like as well, but methods are exactly that as well, only that `X` is implied, and there's a danger of abusing state (`f(X) -> Y` can and often is pure, whereas the entire point of methods is to be impure (modifying instanc
419.
▲
by
diarrhea
4y ago
> Aren't all distributed databases basically really clever wrappers around write-ahead log + really tight timestamp/clock syncing? As far as I know, the second requirement is often solved differently. Google’s Spanner has tight
420.
▲
by
diarrhea
4y ago
I’m TeX parlance, that makes it an infant.
More ›