Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
debugnik
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
44 ms
·
511.
▲
by
debugnik
1y ago
> as AI scrapers bother implementing the PoW That's what it's for, isn't it? Make crawling slower and more expensive. Shitty crawlers not being able to run the PoW efficiently or at all is just a plus. Although: > which
512.
▲
by
debugnik
1y ago
The point is to allow bots that play nice and don't claim to be real browsers, as those can be identified in logs and blocked or rate limited fairly. But bad faith bots can be undistinguishable from browsers, so everyone else gets a
513.
▲
by
debugnik
1y ago
> hopefully nobody is triggered by this kind of art Apparently a good chunk of HN is. Anubis-tan seems to me the main reason that this comment section about FFmpeg and Forgejo has devolved into a debate about Anubis; more than the inters
514.
▲
by
debugnik
1y ago
Our own governments are pushing for it, simple as that. I live in Spain, and both left and right parties, and to a lesser degree their voters, are increasingly leaning authoritarian and tacitly agree to extend surveillance; the police and s
515.
▲
by
debugnik
1y ago
> possibly also for C# and JS The representation for C# is very much fixed, as it allows, and very commonly uses, direct access into the string buffer as a ReadOnlySpan<char> or a raw char pointer, where char is the type of UTF-16
516.
▲
by
debugnik
1y ago
Depends on how one rides: Back when I was an edgy teen I accidentally rode too fast over a pothole right at the top of a rocky asphalt slope. I felt a whiplash on my shoulder, lost grip, rolled over three times down the slope, and slid head
517.
▲
by
debugnik
1y ago
Thanks for explaining! I see this is common then. If I'm understanding correctly the docs of NSPrefersDisplaySafeAreaCompatibilityMode[1], this is supposed to be a compatibility mode that apps can opt-out of to behave like I expected,
518.
▲
by
debugnik
1y ago
> But World of Warcraft is an older game using the legacy CoreGraphics display services full screen API. That API actually allows World of Warcraft to draw into the notch. Not knowing much about Macs, I would have thought games were supp
519.
▲
by
debugnik
1y ago
That's still the biggest hindrance in my opinion, at least for my use cases. OxCaml, Jane Street's fork, has some features for unboxed types and stack-based allocation of boxed types; hopefully it goes upstream.
520.
▲
by
debugnik
1y ago
Yes I actually ended up using Rider, although I don't like switching editors. But that only replaces Ionide, and I was having some growing pains with the entire toolchain.
521.
▲
by
debugnik
1y ago
> By default, ocaml runs in a VM, The Dune build system does default to ocamlopt nowadays, although maybe not back around 2020.
522.
▲
by
debugnik
1y ago
> and so de facto controls the ecosystem They really don't, less than 5% of opam packages depend on Base and that's their bottom controversial dependency I'd say. Barely anyone's complaining about their work on the OC
523.
▲
by
debugnik
1y ago
I mean, it's quite clunky, but on Linux or WSL I've never had the broken experience you talk about. Could you share your setup? Was this maybe on bare macOS or Windows, in which case I totally believe it because they've been
524.
▲
by
debugnik
1y ago
Funny, I moved to OCaml to sidestep F# tooling. At least last time I used F#: Slow compiler, increasingly C#-only ecosystem, weak and undocumented MSBuild (writing custom tasks would otherwise be nice!), Ionide crashes, Fantomas is unsound.
525.
▲
by
debugnik
1y ago
In short, OCaml modules are used for coarse-grained generics. Modules are like structurally-typed records that can contain both abstract types and values/functions dependent on those types; every implementation file is itself a module.
526.
▲
by
debugnik
1y ago
LSP isn't the protocol that interfaces with debuggers, that'd be DAP. You're right that OCaml debugging is kinda clunky at the moment. OCaml does have an okay LSP implementation though, and it's getting better; certainly
527.
▲
by
debugnik
1y ago
I've used equality witnesses in F# before, they kinda work but can't match proper GADTs. First you'll need identity conversion methods on the witness, because patterns can't introduce type equalities, then you'll re
528.
▲
by
debugnik
1y ago
They tried, by forking Xamarin Forms into MAUI, and even then they ignored Linux. It's really rough though, to the point many projects use it as just a glorified webview for Blazor. I expect it to eventually go into a silent maintenanc
529.
▲
by
debugnik
1y ago
I'll give you that the laptops models fare better, I said as much already I think, but I feel you're overselling the support for the form factor most people associate with the Surface brand: The 5G version of the Surface Pro 10 (s
530.
▲
by
debugnik
1y ago
> Linux runs perfectly fine on most of the Surfaces [...] There's the usual asterisk here or there, Are we reading the same tables? The last several models are full of question marks and crosses in the support matrix, and many model
531.
▲
by
debugnik
1y ago
But they do. Microsoft extensions are the only ones whitelisted in the VS Code marketplace to request experimental ("proposed") APIs in their manifest. Remoting, notebooks and now Copilot have all been using experimental APIs, ver
532.
▲
by
debugnik
1y ago
Even that is too high of a requirement if your target user runs low end hardware. Most Intel chips launched between 2017 and 2021 under the Pentium Silver/Gold and Celeron brands lack AVX (the first one, let alone AVX2).
533.
▲
by
debugnik
1y ago
You may be interested in Luau, which is the gradually-typed dialect of Lua maintained by Roblox. The game Alan Wake 2 also used it for level scripting.
534.
▲
by
debugnik
1y ago
I agree with your point, but > if we all had five different llvms or gccs Oof, those are poor examples. Most compilers using LLVM other than clang do ship with their own LLVM patches, and cross-compiling with GCC does require installing
535.
▲
by
debugnik
1y ago
That's what Gleam's use expressions[1] are for (the last example is exactly this case). Most languages with the same heritage as Gleam have grown a similar syntactical feature, such as OCaml's binding operators or F#'s c
536.
▲
by
debugnik
1y ago
When I asked dang about why are very low quality submissions allowed despite them resulting in low quality discussion, he told me and I quote: > You can flag submissions that you think don't belong on Hacker News. Well, this is a ve
537.
▲
by
debugnik
1y ago
Kicking kittens makes it sound simpler of a choice than it really is, because you're not a kitten and you could protect yours. Would you vote for "the party of beating people like Levitz and opposing chat control"?
538.
▲
by
debugnik
1y ago
I've qualified with "useless" for a reason. It's cool if you've got a novel use case, but so far I think most uses of AI art are either uncanny filler for blogs and slides; or a driver for the deprofessionalization
539.
▲
by
debugnik
1y ago
So far, the times had allowed artworks to be proxies for the artistry behind them; the artwork itself conveyed enough information to appreciate it. But as forgery of the art process itself spreads, that signal disappears and artworks, out o
540.
▲
by
debugnik
1y ago
Useless AI art (which is almost all of it) is not like the camera or the synthesizer, it's closer to when 50-60yo moms were sharing Minion memes on facebook: cringe and tasteless. It getting better won't make it more accepted, it
More ›