Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wk_end
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
271.
▲
by
wk_end
11mo ago
I mean, you can trivially do it with a (non-G) ADT, if you're content with wrapping the return value. OTOH you can do this in TypeScript easily without wrapping; it could return a union type `number | string`.
272.
▲
by
wk_end
11mo ago
Neither here nor there, but the plane was hijacked in Victoria and then flown over to Vancouver. (Only picking this particular nit because, as a Victorian, we constantly live in the shadow of our bigger brother, so I need to shout us out wh
273.
▲
by
wk_end
11mo ago
Absolutely. Everyone uses OCaml at Jane Street; pretty much everything at Jane Street is OCaml. If an OCaml version of something doesn't exist, there's a decent enough chance that they'll write it themselves rather than resor
274.
▲
by
wk_end
11mo ago
> I could be an OCaml expert and have no chance of making it through an interview without equal talent in high performance fintech and relevant mathematics. Unless their hiring process has changed in the past few years, if you're a
275.
▲
by
wk_end
1y ago
I can barely say that in English, and I'm a native speaker.
276.
▲
by
wk_end
1y ago
I don't feel like this really answers OP's question, which is more about the user experience than the technical approach. When, as a dev, I use Smalltalk, it opens up what's effectively a virtual machine on my desktop. The wh
277.
▲
by
wk_end
1y ago
Really depends on where you are in the city; I used to shop at Whole Foods on the UWS and it was lovely, and when visiting this past summer my friend and I visited both the Bowery Whole Foods and the Wegmans near Astor Place and zero compla
278.
▲
by
wk_end
1y ago
That's probably OK when the poorest workers are making the difference ten times over per hour.
279.
▲
by
wk_end
1y ago
Whether or not public grocery stores are a good idea, the comparison to state-run liquor stores doesn't really make sense; the justification for state control of liquor sales is entirely different (arguably even kind of the opposite) a
280.
▲
by
wk_end
1y ago
It's not that simple, right? Because the computation can actually rely on the types, so the types can't always just be erased. The complexity around knowing when the types are going to be erased or not is part of what motivated Id
281.
▲
by
wk_end
1y ago
There’s hobbyists using m68k Macs, Amigas, and Atari STs. Definitely a small niche, and those running Linux on those machines more so.
282.
▲
by
wk_end
1y ago
Yeah, might be a UK thing. In Canada/the US I've only ever heard "headphones" and "earbuds" (a specific kind of headphone).
283.
▲
by
wk_end
1y ago
> Americans are just very scared of Mossad. Tons of money goes into Holywood to make them appear invincible to the world. I don't believe I've ever seen Mossad depicted in a Hollywood movie? I guess there was Munich. Are ther
284.
▲
by
wk_end
1y ago
What's "for ({} of this)" about?
285.
▲
by
wk_end
1y ago
> In a case like that `as const` doesn't work, since the function doesn't expect a readonly argument.
286.
▲
by
wk_end
1y ago
As someone who loves git, has always thought the criticisms about its interface were overstated... but also feels like it maybe has too many incoherent ways of doing things, this is the best sales pitch I could've asked for (and I came
287.
▲
by
wk_end
1y ago
> Gödel incompleteness I agree with your comment, FWIW - I have no idea what OP is trying to demonstrate - but to maybe suggest some context: Gödel incompleteness is a commonly suggested "proof" as to why computers can't b
288.
▲
by
wk_end
1y ago
So what, in the analogy, would be the program? Surely it's not the printed rules, so I think you're making the "systems reply" - that the program that knows Chinese is some sort of metaphysical "system" that
289.
▲
by
wk_end
1y ago
He uses it to mean all sorts of things. He describes "string interpolation" as a "spherical cow".
290.
▲
by
wk_end
1y ago
The lockout chip isn't related to the converters, per se. The converter has a lockout chip, but so does every official NES game. The Famicom didn't have any kind of protection scheme, so unlicensed and bootleg games were commonp
291.
▲
by
wk_end
1y ago
TBH even as a native English speaker who grew up with them, I never realized that "cassettes" were (only) supposed to contain magnetic tape; I just internalized that audio and video tapes were "cassettes" and games came
292.
▲
by
wk_end
1y ago
It's kind of a silly question, but: when the N64 came out in 1996, MIPS CPUs were high-end workstation chips; by the time the PS2 was released in 2000, SGI had effectively declared MIPS a dead-end and was shipping Intel-based machines.
293.
▲
by
wk_end
1y ago
No. “Allowing” still opens up the possibility for restrictions, it just means there isn’t a blanket prohibition. “Banning restrictions” means that everyone is forced to allow it.
294.
▲
by
wk_end
1y ago
That’s from a dub, though. Whole other ball game.
295.
▲
by
wk_end
1y ago
> That’s why the best subs, are always fan subs! It's wild to hear someone - especially someone in the industry - say that. Fans definitely bring the most enthusiasm to their work, but fan subs are notorious for mistranslations and
296.
▲
by
wk_end
1y ago
Just visit Infinite Mac and use them in your browser: https://infinitemac.org/
297.
▲
by
wk_end
1y ago
Oleg covers this on his page "An argument against call/cc" (which is linked). The long-and-short of it is: only in a toy-like way; in practice even call/cc + state are insufficient primitives. https://okmij.or
298.
▲
by
wk_end
1y ago
I know Robert Harper has advanced that argument, but I think it's only really interesting for striking a single rhetorical blow: that, uh, actually statically typed languages are trivially more expressive than Python, since Python ha
299.
▲
by
wk_end
1y ago
The culture of "hall monitoring" is one of the best things about HN, IMO. It's one of the few places on the internet where people - including/not just the mods - care about maintaining a high quality of discourse.
300.
▲
by
wk_end
1y ago
I can't speak for Ada, but C++ closures require that you explicitly specify what's captured from the enclosing environment and how (i.e. copy or reference). That capture is also unsafe, which relates to the issue of automatic memo
More ›