Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
troad
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
troad
5mo ago
It's interesting to me how few people seem willing to just turn off notifications. I'm all on board with setting up a retro machine for fun, but if one wants to focus on writing, there are ways to achieve this that don't requ
32.
▲
by
troad
5mo ago
But no one is actually confused. You yourself understand what the author meant, from your comments. Everyone here understands what he meant. It's neither ambiguous nor confusing to use the word union in CS. The only person who's m
33.
▲
by
troad
5mo ago
> Maybe they are implemented similarly under the hood It's hard to know what to say to this. Tagged unions are not tagged unions, even if they are literal tagged unions? What? I reiterate what I said in my previous comment, you'
34.
▲
by
troad
5mo ago
> That's like saying Haskell is really an imperative language just because it's written in C I honestly don't even remotely understand how you got to that from what I wrote. Unions already have a definition. You cannot go
35.
▲
by
troad
5mo ago
Good observations. Judging by the community around Go, I also wonder if there's not an element of baby JS devs upskilling to Go, without yet having picked up a wider perspective. The performative aversion to DX could be explained if on
36.
▲
by
troad
5mo ago
> <br/> Only occasionally? I will die on this hill. Yes yes, someone is about to tell me that Opera running on a PS Vita with the language set to Basque will display those incorrectly. That ISO 714-4BΔ-鸡冠 defines them as undef
37.
▲
by
troad
5mo ago
I've always thought I'd end up in the US at some point, but as someone who prefers to make things rather than spend years at some faceless megacorp (writing up cover sheets for TPS reports), it never seemed hugely viable, even sta
38.
▲
by
troad
5mo ago
Underlyingly, all unions are the same concept, exposed by C's `union` keyword, namely overlapping memory (as opposed to `struct`s, which are sequential memory). You can add a discriminator tag to your unions, your call. If it is imposs
39.
▲
by
troad
5mo ago
String literal typing appears to be a common feature of type systems bolted onto dynamic languages: # Python MyStringBool = Literal("Yes") | Literal("No") // TypeScript type MyStringBool = &q
40.
▲
by
troad
5mo ago
Relatedly, it doesn't help that 'Kagi' sounds like poop in half of Europe.
41.
▲
by
troad
5mo ago
> Unless you make all the IT jobs a regulated profession and enforce significant yearly recertification, the mediocres will dominate. This would merely optimise the industry for people who are good at wiggling through bureaucratic hurdle
42.
▲
by
troad
5mo ago
Definitely! An interesting distinction. I spend much of my time in the BEAM these days, where "let it crash" is a common practice with a very distinct meaning (green threads under supervisor trees, etc). Different strokes.
43.
▲
by
troad
5mo ago
I don't think I will ever understand the culture of Go. The syntax of a very low level language (needlessly verbose), combined with the performance of a very high level language (needlessly slow), with a bizarre aversion to any DX conv
44.
▲
by
troad
5mo ago
Interesting difference in nomenclature. For me, "crash" absolutely includes intentional early termination. A Rust panic, for example. I think that that's by far the dominant usage of crash. It would surprise me if someone use
45.
▲
by
troad
5mo ago
I moved to neovim (stable) with as few extensions as possible, and those I've pinned to some geriatric version. I don't even know what the plugin upgrade command is, and I don't plan to find out. Recommended.
46.
▲
by
troad
5mo ago
Hardly a factor when you're (deliberately) months behind.
47.
▲
by
troad
5mo ago
I came from systems programming, so I think half of what happens in JS is nuts.
48.
▲
by
troad
5mo ago
Not likely to be a major risk if you update every few months, to some major version that's already over a month old.
49.
▲
by
troad
5mo ago
Only the frontend, which is already untrusted. Any risk would be restricted to individual users who used the compromised frontend to communicate something sensitive, and while that's not great, it is significantly better than the backe
50.
▲
by
troad
5mo ago
I'm very glad I never bought into fullstack JS/TS. My JS is frontend only, served as a compiled bundle off a server that doesn't even have a JS runtime of its own. Whatever random vulnerabilities the frontend contains are lim
51.
▲
by
troad
5mo ago
> After 96 hours of its launch, DJ Gemini was already grasping for content. It landed on discussing every mass historical tragedy that had ever happened, and subsequently pairing these short story horrific broadcasts with the most ironic
52.
▲
by
troad
5mo ago
I think there's points on either side here. It's certainly possible to ask in good faith, and it's certainly possible to ask in bad faith. But that goes for most questions, really. I would gently discourage you from assuming
53.
▲
by
troad
5mo ago
I think most people genuinely read "49% chance" as some kind of ironclad prediction of winning 49 out of 100 seats, and therefore losing. That's why people get all weird about probabilities flipping from 49% to 51%, and not a
54.
▲
by
troad
5mo ago
Interesting. Where I am, both six and eight digit phone numbers are valid, but seven digit ones are not, and yet that's the only one that gets linked for me. US assumptions bleeding through, I assume.
55.
▲
by
troad
5mo ago
You're right! I apologise for the tactlessness. I would find it extremely disheartening to hear what I said to you. There was a better, gentler way to express my overall concerns, and I owed it to you to take that extra minute to do so
56.
▲
by
troad
5mo ago
Issue trackers and discussions on FOSS projects are effectively a public forum, and on any public forum people start building brands and identities. Add comment reactions and GitHub stars into the mix and you have a vicarious karma system w
57.
▲
by
troad
5mo ago
To be generous to OP, none of this is intrinsic to FOSS. I write a library. I put it up online, for other people to use, if they like. At what point did I assume any responsibility to play nice with others? Or work with others at all? There
58.
▲
by
troad
5mo ago
FWIW, I think you're twisting my words and putting up strawman arguments too. Permissions are not a panacea, but it is a very rare plugin indeed that will need to run unsandboxed executable code with full disk and network access. Curre
59.
▲
by
troad
5mo ago
I'm a programmer, I have zero fear of programmable tools, and it's a clumsy attempt to divert from my point to suggest I do. You're creating a false dichotomy. A well designed sandbox with accurate permissions is HOW a person
60.
▲
by
troad
5mo ago
There is absolutely nothing wrong with that question in Jamaica. You're needlessly (and somewhat bizarrely?) problematising a genuine interest in others. What you're proposing appears to be some kind of conspiracy of silence where
More ›