Better HN
topnewbestaskshowjobs
Log inSign up

TheDong

10,263 karma · joined Aug 28, 2014 (12y ago) · 2,641 submissions

Submissions

comment 1d ago · link · parent

The analogy you have at the start there doesn't match this situation because rust doesn't make it _harder_ to write memory safety bugs in the normal course of coding, it makes it impossible (excluding unsafe code, which truly is exceptional).

I don't know if there's really a good analogy for driving cars because it would have to be a completely eliminated class of error, like "drivers drive slower and are less likely to hit potholes when they perceive danger, i.e. on a road with many potholes, however if we eliminated all potholes in existence, drivers hit even fewer potholes".

Anyway, humans stopped coding sometime this year, so it's all kinda a moot point.

comment 1w ago · link · parent

So to be clear, your suggestion is to have two computers, one you use for "important things", and one you use for google searches and other browsing, and to install uBlock on the one you use for google searches, but not install it on the one you use for nothing but "important stuff"?

And I guess when you travel, you carry two latops?

And since messaging friends seems pretty important, I guess if you want to google a restaurant name to get a link to send to a friend, you google on your uBlock laptop, and then send a message to your friend by manually typing it in on your secure non-uBlock laptop?

Do you actually live like this? Is this something anyone has ever done? Are you doing this with like Qubes VMs instead? Do you have any friends who are just like normal computer users, and do you also recommend they don't install uBlock?

comment 1w ago · link · parent

Quite a few of my "accidentally click on ad, end up on malicious site" are from perfectly trustworthy sites.

For example, google search result ads. Where an attacker pays more money than the real company. Wildly common.

And even if you don't login to google, you still get served potentially malicious links to accidentally click on. Stripping those out with an ad-blocker is better than hoping you never misclick.

comment 1w ago · link · parent

The number of drive-by malware attacks I've gotten from having uBO installed is zero.

The number of drive-by malware attacks I've gotten from ad-slots on various websites is non-zero, and the number of accidental "click on ad, end up on malicious website" incidents is even higher.

For me, the math on uBO has been working out great so far.

comment 1w ago · link · parent

A 2014 thinkpad had a touchbar (the Adaptive Keyboard, see [0]).

The 2011 Optimus Popularis keyboard [0] also had a very similar LCD screen innovation [1], and I think was the earliest good implementation of this sorta idea.

I think you can argue that it was largely derivative or reasonably innovative based on the fact that it had been done before (with even worse execution), but it hadn't ever been done at such a large scale, so it still felt very new to consumers.

[0]: https://arstechnica.com/staff/2014/01/stop-trying-to-innovat...

[1]: https://www.artlebedev.com/optimus/popularis/

comment 2w ago · link · parent

> People using llms with their native browser profiles are getting farmed, hard.

Got any references for the prevalence of this, even links to anecdotal reports?

Reading the reviews on the chrome store for the extension [0], I haven't found a single report of someone who was prompt injected, just a bunch of "anthropic's subscription is expensive" or "it doesn't work", but no "it stole my bank account".

[0]: https://chromewebstore.google.com/detail/claude/fcoeoabgfene...

comment 2w ago · link · parent

Wireguard allows effectively no configuration around auth, and so it's more likely that it is configured in a secure manner.

Openssh allows: password auth with weak passwords, PAM with potentially insecure PAM modules, gssappi, configurable ciphers, etc. Wireguard has none of those.

Each of those auth methods adds more possible vulnerable code paths and accidentally insecure configurations. It's very reasonable to believe that wireguard auth, since it has far fewer moving parts and configuration knobs, is likely to have fewer ways it can be insecure.

comment 2w ago · link · parent

I do personally find myself most productive with a cycle of 20 hours awake / 12 hours asleep. Circadian rhythms vary by person.

Unfortunately, the world makes it hard to keep that cycle, and so instead I mostly do 17 hours awake / 7 asleep, which makes me feel constantly tired (though less tired than 16/8 at least).

comment 2w ago · link · parent

That timing could also align with a device that is turned on and off at specific times, for example an insecure smart TV that is generally turned on to watch TV in the evening, and turned off around midnight.

Though the fact that it lines up with an 8 hour shift also makes it seem human-like, so I think I'd rank a human carrying an infected device as more likely than an infected periodically-active device.

comment 2w ago · link · parent

> I know some people will say "Good riddance" to the outcome and to what I did.

I will instead say "skill issue".

Using Playwright results in some very obvious and easy to detect fingerprints. I'd expect better of someone on hacker news.

Mine hasn't been detected as far as I can tell, so I know it's possible to do better.

comment 2w ago · link · parent

Buy a domain and server, rack up the server in a nearby datacenter, and host on that. Easy.

If you go with a cheap enough colo provider, you can get it down to like $200/mo (depending on electricity prices and such where you are) with an initial cost of like $800 for some used server hardware.

comment 3w ago · link · parent

> if you have an attacker inside the network, it's already too late.

It shouldn't be though. Just because my smart lightbulb has an RCE and is isolated on its own VLAN with the router doesn't mean it should be able to attack the router and escalate to access my devices on other VLANs. It should only be able to do damage limited within its own vlan.

comment 3w ago · link · parent

The quantitative data we have shows that NixOS is fresher than other distros in general by a significant margin.

See https://repology.org/repositories/graphs

If you pick a specific random package update, nixpkgs often has that update months to years before other distros.

If you pick a specific CVE, nixpkgs usually is better with the exception of embargoed ones, where Ubuntu, Fedora, etc get to prepare their patched packages ahead of time.

comment 3w ago · link · parent

Yes, NixOS has already patched this.

NixOS also makes it much easier than ubuntu to install your own patches and version of the linux kernel.

For example, assuming NixOS had not yet released the fixed linux version, 6.18.56 (though it has), you could upgrade to it before NixOS did it upstream with this one line:

    boot.kernelPackages = pkgs.linuxPackagesFor (pkgs.linux_6_18.override {argsOverride = {src = pkgs.fetchurl {url = "mirror://kernel/linux/kernel/v6.x/linux-6.18.56.tar.xz"; }; version = "6.18.56"; modDirVersion = "6.18.56";};});
You could add the patch yourself if you needed to with:

    boot.kernelPatches = [{ patch = ./cve-patch.patch; }];
And then you'd be updated.

The debian and redhat based distros all make it so configuring what packages are installed ('apt install' / 'yum install') is a different operation from configuring the packages themselves.

On NixOS, the specification of how to build a package, what package is installed, patches, etc are all in the same language, and so it's a lot more natural to patch things as needed.

And also, LLMs are pretty good at generating working nix, so you can have an agent apply patches to your kernel package with NixOS quite easily. Agents can also do this for ubuntu or redhat, but in my experience they're much worse at it, and it's harder to undo mistakes if they mess up.

comment 3w ago · link · parent

That's a cool thought experiment, but it doesn't work in practice.

> When it sees a certain string in any write to the disk

dm-crypt or zfs encryption or any other commonly used encryption will encrypt the data before it's written to disk, so the disk controller will not be able to do anything with writes or reads since it will not have the encryption key.

comment 3w ago · link · parent

It's almost impossible to verify the code on the hardware wallet really matches the code they released and that the hardware has not been tampered with.

Maybe the sim card is on a timer to broadcast your keys after a year, so you just can't detect cellular signal usage now.

To securely own bitcoin you have to first create a new chip fabrication plant to then make your own hardware wallet.

comment 4w ago · link · parent

Asahi linux only supports older M series processors still, and there's a lot of caveats with it.

comment 4w ago · link · parent

I purchase the hardware, I should be able to do what I want with it. I want apple hardware for the good processor specs and battery life and general hardware quality.

Apple should be forced to release the necessary hardware specs to develop drivers so that I can use my hardware I purchased as I want. They should be required to let me own my own signing keys to boot my own software.

Anyway, I'd personally want bootcamp because it's a step closer to being able to install Linux, an operating system that lets me have a good tiling window manager that works.

Why the heck would anyone want to use macOS willingly, where the window manager and file browser are both complete unconfigurable trash.

comment 1mo ago · link · parent

F-Droid on android was a far better app store than Google's.

An Open Source / Free Software Only app store on iOS which only allowed reproducible builds would be so much better than the iOS app store for security.

I would trust that so much more, and I feel like anyone even marginally technically competent would too.

If Mozilla made its own app distribution platform for Firefox and Thunderbird, I'd also naturally trust that.

At this point, I do not trust apple at all. The iOS app store sells ads. If I search for my bank's name, a different bank comes up as the first result.

If you search 'Ledger Bitcoin Wallet' on the app store, someone who pays more for the ad slot can present you with a crypto stealer (which has happened in the past! the app store review didn't catch that obvious bullshit).

The app store's "due diligence" and "vetting" all went out the window as soon as they started selling the top search spot to the highest bidder.

comment 1mo ago · link · parent

That dancing anime girl is from this video, "loli god requiem" https://www.youtube.com/watch?v=Ci_zad39Uhw

It's a video of an underage-looking ("loli") anime girl insulting the viewer for being a pedophile.

At this point it's mostly used by pedophiles in a sorta tongue-in-cheek way.

Of course, all the best security professionals are either pedos, israelis, furries, or all of the above, so it's not really surprising.

comment 1mo ago · link · parent

Oh, wow, that makes it even sillier. If I want to delete certs from my system certificate store, I can do that, the stdlib should not be making that choice if it's not even packaging the things.

comment 1mo ago · link · parent

I mean, they're the TLS certs are baked into the stdlib 'tls' package, not the compiler itself.

It's just an unfortunate unforced error that the go TLS package is bundled along with the compiler, in the same way Safari being bundled with iOS updates is an unforced error meaning a safari security bug requires a full OS update.

comment 1mo ago · link · parent

gTLDs at least have some minimal level of accountability and security standards.

ccTLDs are at the whim of the country. If you went with the '.su' ccTLD from the soviet union some years back, well, that would have been quite unfortunate.

Legally I feel like they're also worse. Like, say you're an abortion clinic operating in the regressive country of the US, and you get a '.us' ccTLD, surely it's more likely the government outlaws abortions and censors your domain via the registrar than if you used a '.com'?

comment 1mo ago · link · parent

Reverse engineering doesn't help for iOS very much since even if you build your own version of their app with that feature unlocked, iOS doesn't allow you to sideload.

You'd have to pay $100/year for an apple developer account and then refresh the app every 14 days (since publishing your own hacked version on the appstore would plainly be a copyright and trademark violation, and if you use a developer account to load a developer version of an app on your device, you have to constantly refresh it).

Switch to one of the linux phones if you actually want to install software on your device.

comment 1mo ago · link · parent

I mean, Tesla demoed, promised, and took reservation money for a roadster reboot that _also_ didn't contain any technology China didn't have in 2017, and at this point they still haven't delivered on that and it feels safe to call it a scam.

Just because the technology is technically feasible doesn't mean that a specific company is not scamming you when they promise it.

And Tesla already has enough of a history of fake promises (your tesla will be a self-driving robotaxi earning money while you sleep within a few years, FSD will take you across the country while you sleep by next year, humanoid robots, the new roadster is taking reservations now and will deliver soon, regulation is the only thing holding up FSD, etc etc).

comment 1mo ago · link · parent

You can install various linux distros (not android distros) such as postmarketOS and Ubuntu Touch on a Pixel 3a

https://devices.ubuntu-touch.io/device/sargo/

comment 1mo ago · link · parent

And "discord" means "disagreement", "lack of harmony", "arguments" in English. Even weirder name for a chat application in an even more commonly used language.

"Slack" associates pretty strongly with "slack off" (get no work done) too, so that one's also strange.

I think "Zulip" has the best naming of all these.

comment 1mo ago · link · parent

I wouldn't be surprised if Samsung or Xiaomi eventually forked to make their own "developed in the open" Android.

Though given how little those companies have respected their users so far, I feel like this is a bit of a monkey's paw.

12345
89