Better HN
topnewbestaskshowjobs
Log inSign up

speedstyle

96 karma · joined Aug 18, 2021 (5y ago) · 76 submissions

Submissions

comment 23h ago · link · parent

I think most Qualcomm SoCs are derived from ARM cores, only the 'Elite' line from the last couple years uses their own Oryon design

comment 2d ago · link · parent

In London you can't end the ride and stop paying except at designated parking spots. Spots aren't quite as frequent as bike racks (you need a map) but they're within 200m of any destination, and right next to popular ones. I last saw one on the pavement maybe six months ago

comment 2d ago · link · parent

Windows users do not want you to use the system API (indeed most preinstalled apps don't) and Linux users don't have one.

comment 2d ago · link · parent

I think almost from first principles, computing frame n+1 can share a lot with frame n. A 'fully optimal' notepad wouldn't need to recompute the previous text when you insert a character, it could just reuse that part of the draw call. So the perfect retained/reactive/incremental framework should compile down to that. It's of course hard to do that in general, or even know where to rematerialize vs cache, but I don't think the answer is redo everything. As you say even egui caches things (sometimes invalidly) and I find the application code has to maintain a lot of state too

comment 3d ago · link · parent

I would guess they're giving signups and website visits to advertising networks, to link it to their ads and get discounts on future campaigns. They obviously shouldn't, and it may be worse than that, they shouldn't use such an opaque and hostile policy. But it doesn't include backups, and in practice I doubt if they're selling interactions from the desktop app at all?

comment 4d ago · link · parent

There aren't that many hate speech arrests in the UK. The statistics which purport to show that include stalking, harassment, violent threats, posts which are also illegal (and routinely enforced) in the US and elsewhere. In fact I wouldn't say there's significantly more restriction of speech overall. And polling suggests people across the political spectrum want limits on e.g. racial hatred and wouldn't prefer US-style absolutism. (This has become less 'bipartisan' as Reform voters do prefer protecting speech.)

The right to protest though has been restricted more recently. Probably less policing escalation/violence than say France, but more situations where they can legally ban protests and arrest or fine people.

comment 1w ago · link · parent

In the sense that a client couldn't have received milkshake 3 before ordering burger 8. But yes, many numberings might satisfy this

comment 1w ago · link · parent

Make it less distributed. A single leader can serialize hundreds of thousands of requests, even with the replication for proper consistency. It may not be 'scalable' beyond that, but very few systems are, the OP's problem statement has 100% contention. Ideally you can avoid having such a problem

comment 1w ago · link · parent

uBlock Origin handles AI overviews, among other things. settings > filter lists > annoyances > AI widgets

comment 1w ago · link · parent

My phone has no such delay or verification, but sure they'll roll it out eventually. Sideloading from a computer has no delay, only downloaded APKs, and that only once. You can get a developer account without ID or payment for up to 20 devices.

I think none of this should be the case, and I'll switch to a custom OS on my next device if not this one, but I don't think it's worse than iOS?

comment 1w ago · link · parent

Didn't codeberg ban LLM-written projects?

comment 2w ago · link · parent

I actually do use Firecracker without a network adapter, though vsock/virtio could have remaining issues

comment 2w ago · link · parent

At the moment I just use Zed, or I imagine I'd be fine with Sublime. When I used Jetbrains/VSCode, I would grab Notepad/Notepad++ when I didn't want to wait for them to open, set up a project, etc. But if something 'heavyweight' is quicker than notepad, and the features don't get in my way, I don't need anything else. In fact I still appreciate the extra functionality with those one-off text/data/scripts - format, regex replace, diff, occasionally even LSP like shellcheck

comment 2w ago · link · parent

OP suggests it was always fallible, they switched to a sentinel to mitigate callers dereferencing null, which they wouldn't have with Option/Result. https://git.musl-libc.org/cgit/musl/commit/?id=b3c4cc12

But in your version, you can't preserve backwards compatibility, making an infallible function fallible is a breaking change. For something comparable to libc you might want to (eg Rust std still has mem::uninitialized), but even with security issues, I feel like people would be more inclined to deprecate for a new function (or panic, which does have its own problems).

A good type system also means things are written with better forwards compatibility, and can be safely changed later. The Rust equivalent to `crypt` likely wouldn't exist: a low-level library would just provide hash functions, leaving callers to mitigate DOS etc; a broader library might return some opaque handle with equality/serialization, which you couldn't try to compare to a passwordless user; a high-level library would parse the account store itself. None of these really need to change in incompatible ways, they have all the information to add features and fixes at their own level of abstraction.

comment 3w ago · link · parent

'Coming soon'. 2027 perhaps?

comment 3w ago · link · parent

Of course it is, if you rely on that boundary. The 'consumer' use of tailscale is just as a reverse proxy, and that's how I figured GGP sees it. I don't have anyone on my tailnet, and when I did they didn't have ssh keys, and if they did I imagine there'd be many paths to privilege escalation, certainly it's a bigger surface than sshd. So I was clarifying it seems like an escalation from authorized execution to privileged execution, and not e.g. from unauthorized users to RCE

comment 3w ago · link · parent

I gather the bug allows people you've explicitly authorized to ssh into some account on your machine, to access more than that account can. So if you only use ssh yourself, or only give ssh keys for users with sudo, or only to people you trust not to exploit this, or if other vulnerabilities allow local shell users to escalate, or if you only use tailscale for port forwarding, then you're unaffected. Arguably even less exposed than a public openssh instance, though I can't say I have any issue doing that

comment 1mo ago · link · parent

I got a replacement widget recently, the website pushes the app but when I asked in branch they gave me one without even asking my name. I had to wait on the phone to register the new serial number, maybe I could've done that in person too, but it lasted years (and multiple phones) so I don't mind too much

comment 1mo ago · link · parent

They shouldn't be locked the day you buy them.

comment 1mo ago · link · parent

2% tolerance is not the same as 2% failure rate

comment 1mo ago · link · parent

Yeah, I don't think the problem needed billions of tokens

comment 1mo ago · link · parent

Well, that part is easy.

comment 1mo ago · link · parent

Not everything is trying to be a walled garden. Only 2 apps on my machine are nonfree, and not productivity ones I would care to integrate like this. But yes it's fundamentally hard (and I don't think their suggestions are great)

comment 1mo ago · link · parent

(More precisely, doesn't have the reasoning from when the code was written)

comment 1mo ago · link · parent

It's not that apps should be websites, but that you should be able to load apps as freely as websites.

comment 1mo ago · link · parent

uBlock Origin has a built-in option for AI overviews (among other things). Settings > Filter lists > Annoyances > AI widgets

comment 1mo ago · link · parent

I'm British and I think it's quite different.

comment 1mo ago · link · parent

Leaflet is (generally) for streaming image tiles, OsmAnd renders a set of geographical features itself. But yes, it could do so more efficiently

comment 1mo ago · link · parent

Yes, we need abstraction. X being written in Y doesn't mean you can build the same systems, with the same adaptability, reliability, and performance, within the same time and cost.

Obviously there are also unnecessary differences between tools, and hiring shouldn't focus on easily transferred skills

123