Better HN
topnewbestaskshowjobs
Log inSign up

xaduha

1,004 karma · joined Feb 1, 2015 (11y ago) · 758 submissions

Submissions

comment 3w ago · link · parent

I think he's underselling Qemu/KVM side of things, quick search shows that Tahoe works for instance. It was always a better route for this, going back to patching kexts isn't an improvement in my book. I'm sure near-native performance should be possible on ARM machines.

comment 1mo ago · link · parent

I find that stuff that it offers over a normal Hyper-V VM is stuff that I don't need, leaky abstractions galore.

comment 1mo ago · link · parent

I don't get the point that you're even arguing. Are you saying that 60 is fine as a default? Or are you saying that people should even think about vm.swappiness because it doesn't matter? The alternative here is to disable swap completely, that's what started this whole thread.

> If you care about latency, disable swap.

comment 1mo ago · link · parent

> What do you think this value of 60 means?

Some arbitrary number.

https://docs.kernel.org/admin-guide/sysctl/vm.html#swappines...

> At 0, the kernel will not initiate swap until the amount of free and file-backed pages is less than the high watermark in a zone.

I don't see a reason why the default shouldn't be 0 then on modern systems.

comment 1mo ago · link · parent

Maybe, but it still there and probably has a different value between distros as well. Default value is 60, what is that good for exactly?

If you're in a position where you still want swap to be there, but only used in extreme situations, then you should set it yourself. Otherwise disable swap or switch a language.

comment 1mo ago · link · parent

Surely as long as it is all in memory these pauses are not going to be that significant, details like that should be left for the language devs to optimize.

You can tell an average Golang user to use mutexes, you shouldn't be telling them to lock memory manually.

comment 1mo ago · link · parent

I think discussing it in a vacuum is pointless, it should depend on how much memory you have. You can have a swap on, but with a low `vm.swappiness` number.

comment 6mo ago · link · parent

I was looking for an answer to this when it comes to using Edge password manager in particular, it uses Windows Hello as far as I know and while it does make 'synced' passkeys they don't seem to be usable anywhere than the original machine. Useful when reinstalling Windows at least.

https://yourpasskeyisweak.com does not mention Edge.

comment 9mo ago · link · parent

True enough, but in my experience it's not really much of a problem because if I'm not doing Nix, then I'm doing containers which are widely available.

What can be a problem is muscle memory, when you expect it to autocomplete one way and it doesn't because something you want now shares first two or three letters with something else in your path. That's where FIGNORE comes in.

comment 9mo ago · link · parent

    [user@nixos:~]$ which grep
    /run/current-system/sw/bin/grep

    [user@nixos:~]$ ls -l /run/current-system/sw/bin/grep
    lrwxrwxrwx 1 root root 65 Jan  1  1970 /run/current-system/sw/bin/grep -> /nix/store/737jwbhw8ji13x9s88z3wpp8pxaqla92-gnugrep-3.12/bin/grep
Basically, it is still in your environment, so I don't see how he can claim that this problem doesn't exist in Nix, unless you use flakes like a proper Nix afficionado.

comment 2y ago · link · parent

> I don't remember where I've used my YubiKey in the past.

I've yet to encounter a site that allows to enroll a FIDO device without setting up some other form of 2FA and for me it's TOTP which are kept in the app.

comment 2y ago · link · parent

IPMI and other solutions are nice, but what I would like to have is a standard serial interface to an UEFI shell running at all times. How I access that serial port should be my problem.

comment 2y ago · link · parent

Since one of the solutions was to reboot "up to 15 times" I would imagine so.

comment 2y ago · link · parent

> QR codes seem like a better ticket medium.

If it was a short-lived QR code generated on your phone, then maybe. But the whole point of MIFARE Ultralight EV1 cards is that they can't be cloned. It's for repeated use, not for printing and using once.

comment 3y ago · link · parent

Quake II soundtrack is still in some sort of copyright limbo. It's easy enough to find on Youtube, but it's not on streaming services as far as I know.

EDIT: maybe it's getting sorted out, there's even a fricking vinyl release

https://www.lacedrecords.com/products/quake-2-limited-editio...

comment 3y ago · link · parent

> If they are not fine, then C is probably not the right language for the project.

It's for C/C++ as author says, not just for C. And even if you're using Qt and write mostly QML you still need some C++ and it's much easier with code completion. I'd rather use VSCode than Qt Creator for that and I'm certainly not going back to vim.

comment 3y ago · link · parent

> it's not that you need any server capacity for that

They had Twitch integration since the beginning and judging by some accounts they weren't prepared for how much that would be in demand on full release. Each user can see streamer's full inventory and journal, vote on dialogue options when asked, etc. Surely Steam isn't handling that.

comment 3y ago · link · parent

Never heard of tush, but I've used cram for a while. I think tools like that are good for some stuff e.g. unix pipes, but complexity catches up with you very fast if you try to use them for something non-trivial.

https://bitheap.org/cram/

comment 3y ago · link · parent

I'd start by using Home Manager which is a way to use nix packages in a sensible manner on any distro.

https://nix-community.github.io/home-manager/index.html

comment 3y ago · link · parent

Why are we even discussing TPM if it is not being used for its main purpose?

comment 3y ago · link · parent

Completely stop what? If you encrypt your drive, then all these attacks fall into a category of 'continuing using a device after someone tampered with it'.

If you're that paranoid, then you can buy anti-tamper stickers. I'm not joking BTW, I think some of those are pretty damn impressive.

comment 3y ago · link · parent

If it was used to encrypt a disk, then what does replacing TPM accomplish exactly?

comment 3y ago · link · parent

> As things currently are, it's a smart move geopolitically to not be the country that takes that step back, or that opens that can of worms.

That's sounds a bit too rational, not MAD enough, you know? Putin clearly wasn't thinking rationally, otherwise there wouldn't be a war to begin with.

If you're going to threaten with nuclear weapons, then saying that you gonna do it and then repeating it a few times isn't it.

comment 3y ago · link · parent

Putin had a perfect opportunity to perform a nuclear test during the height of nuclear saber-rattling. Why didn't he do that?

I think that's when people stopped taking his threats seriously. NK is better at this than Putin.

comment 3y ago · link · parent

Neither will work by themselves as far as censorship goes because it's not just DNS, but either can solve some minor geofencing annoyances like Qt blocking access to https://download.qt.io or Spotify pointing their podcast CDN to 127.0.0.1 when using major DNS providers.

comment 3y ago · link · parent

> I am the network admin here. Please follow my rules.

In an organisation - sure. But sometimes countries act like a giant man-in-the-middle redirecting/blocking forbidden sites e.g. Russia. Most popular DNS servers like 1.1.1.1 and 8.8.8.8 are forced to comply.

comment 3y ago · link · parent

There's https://store.nfcring.com/products/omni, but chip it uses isn't the best, plenty of applets can't be installed on it.

There are payment rings a plenty though, for just using them instead of contactless credit cards.

comment 3y ago · link · parent

You can save QR code as a file and initialize as many devices with it as you want.

And by devices I mean proper smart cards personally, not old phones, but whatever floats your boat.

This https://developers.yubico.com/ykneo-oath/Releases installed on a java card (cheaper than a yubikey) is perfectly usable with Yubico Authenticator on a modern smartphone over contactless interface.

comment 3y ago · link · parent

If you think in these terms you're better off staying on Twitter and that's completely fine.

comment 3y ago · link · parent

You can sort by the number of submissions to see more popular games.
12345
26