Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
diarrhea
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
271.
▲
by
diarrhea
3y ago
A password is a secret. A certificate is fully public (it’s useless if not). I don’t see how they’re similar in that dimension. Or how certificates are possible without a third party (a core reason for all the ceremony). Passwords get away
272.
▲
by
diarrhea
3y ago
Interesting idea. What use cases would this make easier or even possible? At first, it sounds like more work (you’re now your own CA but without full freedom of a truly self hosted one).
273.
▲
by
diarrhea
3y ago
All vapourware.
274.
▲
by
diarrhea
3y ago
Enforcement of what exactly? Locking up half a city?
275.
▲
by
diarrhea
3y ago
Which is concurrent but not parallel.
276.
▲
by
diarrhea
3y ago
I still have nightmares from having adopted Thunderbolt 3 early when it was new (Lenovo T480 with TB3 dock). Tons of issues. And my Surface Laptop 4 doesn’t even have Thunderbolt! But that’s a pathetic failure on Microsoft’s part. Point bei
277.
▲
by
diarrhea
3y ago
I was under the impression GCed languages aren’t necessarily slower than non-GC. Rust still cleans up after itself (RAII and destructors). The difference is in latency, predictability and perhaps total memory use; but not actual speed, I th
278.
▲
by
diarrhea
3y ago
Do not feed the troll.
279.
▲
by
diarrhea
3y ago
Agree. The core downside to this approach is pinpointing failure points. A large integration test failing can have many causes. In the same vein, technically, detailed unit tests can immediately discover these. However, in reality, having s
280.
▲
by
diarrhea
3y ago
A great deal of people have. Uncle Bob and his substantial following, for example.
281.
▲
by
diarrhea
3y ago
What’s above SRE? You mean Senior or higher or managing/tech lead?
282.
▲
by
diarrhea
3y ago
But async Python is a single threaded. I’d prefer async over multithreading in python nowadays. Otherwise code can be slow as piss, if it’s doing a lot of I/O. Then, async is almost table stakes for almost any level of reasonable perfo
283.
▲
by
diarrhea
3y ago
If your passport is taken you are not free to leave. You physically cannot. On an H1B you are free to leave whenever, and under certain circumstances forced to. It’s a black and white difference. I don’t grasp why it’s hard to understand.
284.
▲
by
diarrhea
3y ago
I had to stop reading your list after point 6. Too overwhelming.
285.
▲
by
diarrhea
3y ago
> quite easy if you bother to learn how it works A timeless tautology. Some things just are easy and pleasant. Caddy server, Cargo, ripgrep come to mind. Some things are easy only once you've learned them. No kidding!
286.
▲
by
diarrhea
3y ago
`ls` doesn't have a 'parent' in the hierarchy. `exa` does, it's `ls` itself, so there's a fallback. When there's no fallback, it cannot be deprecated; there's nothing to use otherwise. So it's either
287.
▲
by
diarrhea
3y ago
Some of our engineers talk about SonarCube this, dependabot that, Snyk this so much I am suspicious any actual work is done. Shackles made of red tape. Standstill is velocity. Freedom is slavery?
288.
▲
by
diarrhea
3y ago
> Digging in, it looks like people are working around this by returning exceptions, which is very clever and I hadn't thought of it before. Never came across that! Where did you find that? Pretty interesting. I'd call it deeply
289.
▲
by
diarrhea
3y ago
> academic PL research has diverged significantly from the kinds of problems people are really facing Was it ever not?
290.
▲
by
diarrhea
3y ago
I am familiar with both Python and its typing, and Rust. Obviously, Rust has ADTs, which open up a whole new class of types. However, I wouldn't call Python's type system weak! It's still under very active development, but ma
291.
▲
by
diarrhea
3y ago
Two random thoughts: - why is there `safeParse`? Why is parsing not safe by default? Have an `unsafeParse` as an escape hatch, not the other way around. - the imperative check for `success` seems unfortunate. Then again, I am familiar with
292.
▲
by
diarrhea
3y ago
If we need to ask, don't we know the answer?
293.
▲
by
diarrhea
3y ago
So far, in Rust, that has always felt unidiomatic and I haven't seen this pattern around a lot. It always felt like reimplementing Option/Result but worse: "Why use this when something conceptually similar exists in the stdli
294.
▲
by
diarrhea
3y ago
Abuse, how? What does not abusing it look like? Not using it is not an option either; it would make for very boring containers.
295.
▲
Ad-hoc polymorphism erodes type-safety
(cs-syd.eu)
44 points
by
diarrhea
3y ago
|
38 comments
296.
▲
by
diarrhea
3y ago
Managing 200 Python servers/nodes certainly sounds operationally challenging.
297.
▲
by
diarrhea
3y ago
Not sure I follow. How did you ever read or learn anything more than pseudo code or, at best, Python? Any language at all will have hurdles like those.
298.
▲
by
diarrhea
3y ago
The very first example resonates strongly. Here I am struggling with the simplest bugs, all of Sunday wasted on something oh so obvious. Proud of the effectively 7 lines of code produced. Then looking over HN in the evening, yet again “ever
299.
▲
by
diarrhea
3y ago
That’s why I think the whole “self-care” and “love yourself” movement, if it can be called that, is actually subtly but genuinely dangerous.
300.
▲
by
diarrhea
3y ago
Ah. That part was unclear from the text. Thanks for clarifying.
More ›