Better HN
topnewbestaskshowjobs
Log inSign up

debugnik

2,567 karma · joined May 8, 2019 (7y ago) · 1,260 submissions

Submissions

comment 11mo ago · link · parent

Helldivers 2 is an always-online game, you won't find it cracked.

comment 11mo ago · link · parent

I first wrote an answer about how local variables can survive through a pointer, but deleted it because you're right that this Go code doesn't even address locals. It's a regular value copy.

comment 11mo ago · link · parent

> What you need is a unique handle type per container instance.

You can do this with path-dependent types in Scala, or more verbosely with modules in OCaml. The hard part is keeping the container name in scope wherever these handle types are used: many type definitions will need to reference the container handle types. I'm currently trying to structure code this way in my pet compiler written in OCaml.

comment 11mo ago · link · parent

On the web? Good luck. AVIF is considered a baseline browser feature as of last year by the W3C; whereas JPEG XL is not fully supported by any stable browser release whatsoever, only Safari has been shipping partial support.

comment 11mo ago · link · parent

Giving you the benefit of the doubt at first was completely wrong, that much I agree.

comment 11mo ago · link · parent

Okay I had upvoted you but now you're just being an asshole. Predictable from someone on multiple fucking throwaways created just to answer on a single post and crap on a piece of tech I suppose; I don't even care much about Rust. And I'm sorry to inform you I'm not Klabnik, but delusions are free: Maybe you think everyone using -nik is actually the same person and you've uncovered a conspiracy. Congrats on that.

I'd shove you a better data point but people aren't taking enough surveys for our sake, that's the one we've got. Unless you want to go with Jetbrains', which, spoilers, skews towards technologies supported by Jetbrains; I'm not aware of other major ones.

comment 11mo ago · link · parent

Oh I agree the survey has issues, I was just thinking about how each year the stats get more questionable! I just think it shows that interest in Rust doesn't come only from people with a C++ codebase to rewrite. Half of all devs have got less than five years of experience with any toolchain at all, let alone C++, yet many want to give Rust a try. I do think there will be a generational split there.

> Steve Klabnik?

Thankfully no. I've actually argued with him a couple times. Usually in partial agreement, but his fans will downvote anyone who mildly disagrees with him.

Also, I'm not even big on Rust: every single time I've tried to use it I instinctively reached for features that turned out to be unstable, and I don't want to deal with their churn, so I consider the language still immature.

comment 11mo ago · link · parent

He calls it open source in the title and the following paragraph to that. That sentence only means he thinks of himself as cheeky.

comment 11mo ago · link · parent

> most existing Rust developers are not "blank slate Rust developers"

Not most, but the pool of software devs has been doubling every five years, and Rust matches C# on "Learning to Code" voters at Stack Overflow's last survey, which is crazy considering how many people learn C# just to use Unity. I think you underestimate how many developers are Rust blank slates.

Anecdotically, I've recently come across comments from people who've taught themselves Rust but not C or C++.

comment 11mo ago · link · parent

That's Twitter currently, in a way. I've seen and had short conversations in which each person speaks their own language and trusts the other to use the built-in translation feature.

comment 11mo ago · link · parent

That's very different from what I thought you were arguing for in your top comment, though: a computer-use agent proving the app is usable through a screen reader alone (and hopefully caching a replayable trace to not prompt it on every run).

Guidepup already exists, if people cared they'd use it for tests with or without LLMs. Thanks for showing me this tool BTW! I agree testing against real readers is better than using a third-party's heuristics.

comment 11mo ago · link · parent

And then we're back at your own:

> I'm not convinced at all by most of the heuristic-driven ARIA scanning tools.

comment 11mo ago · link · parent

Prevented unless they assert the wrong invariant at runtime like they did last time.

comment 11mo ago · link · parent

EcmaScript too, but most browser JS runtimes don't (didn't?) support it. It's also part of .NET CIL but only F# uses it so support for it has historically been flakey outside the CLR's main JIT mode.

comment 11mo ago · link · parent

You say that, but people in OCaml keep bemoaning the use of mostly declarative s-expressions in the Dune build system. Imagine the reaction if MSBuild used an actual Scheme.

comment 11mo ago · link · parent

Fair, CLI tools is why I said almost, but there's much more competition there. I wouldn't consider devops tools to be its own category though.

comment 11mo ago · link · parent

In what sense is Go not a traditional language for web services? They're almost the only thing it's good at, and it's been doing them for 13 years.

comment 11mo ago · link · parent

Rephrasing, Endeavour is something that is started with a terminal system based on Arch.

I know that's a cheesy way to say it's an Arch distro but I hope you notice how poor the phrasing is for someone trying to understand what they've been linked to.

comment 11mo ago · link · parent

To be fair, that's what it shows by default. I recently created an account just for a short-term purpose, after years of not using it, and the starting algorithmic TL was just right-wing rage-bait about either my country or the US; nothing else. I chose to experiment, and it took days of active curation and follows for the algorithmic TL to stop trying and just show me game/anime stuff for example.

I can see people which open an account without a specific purpose just letting themselves fall into the first rabbit hole Twitter shows them.

comment 11mo ago · link · parent

Except by ogling your ID, the attendant isn't making a copy and linking it to your purchase in a database that will get breached, or shared with the wrong future government.

comment 11mo ago · link · parent

> You can just use a third party verification company.

That will ask for a government ID scan or selfie face capture. It solves the company-side problem only.

comment 11mo ago · link · parent

"Beef" is a strange way to denote reacting to adults relying on unsupervised teenagers to manage PII and then hiding and denying their mistakes. The beef here seems to be from one whose complaints about it were dismissed, instead of taken seriously.

comment 11mo ago · link · parent

There's no point in emulating just 32-bit x86 when modern games are all built for x86-64 plus several extensions. If they could make devs target an arch of their choice, they'd ask for aarch64 and skip funding FEX.

comment 11mo ago · link · parent

RISC-V SoCs are still underpowered for the job, and the software ecosystem hasn't matured compared to ARM, specially for Windows/x86-64 emulation. The focus on RISC-V chips is simply too recent and has lacked enough demand for it. Your question is at least a decade too early.

comment 11mo ago · link · parent

Right, and there's also no need for await syntax at all, they can be then-ed, ContinueWith-ed or whatever the language calls them, but people keep bringing syntax into a semantics battle, so I had to mention it.

comment 12mo ago · link · parent

In a sense, kinda? The function colour problem is that you can't call an async API from a non-async caller without modifying the entire call chain (or blocking the full thread). In async/await languages the conflict comes from changing the return types; the syntax is orthogonal.

Maybe in practice some properties of code are better off being whole-program than represented as types, even if they're less modular or harder to check.

Also thanks for the reference, I haven't touched Haskell in ages; I'm more of an F# and OCaml guy.

1
161718
42