HNHacker News
TopNewBestAskShowJobs

xaduha

1,001 karma · joined February 1, 2015

submissionscomments
xaduha··on A 40ms Go garbage collector pause caused by swap
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.

xaduha··on A 40ms Go garbage collector pause caused by swap
> 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.

xaduha··on A 40ms Go garbage collector pause caused by swap
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.

xaduha··on A 40ms Go garbage collector pause caused by swap
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.

xaduha··on A 40ms Go garbage collector pause caused by swap
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.
xaduha··on Microsoft Edge stores all passwords in memory in clear text, even when unused
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.

xaduha··on Start all of your commands with a comma (2009)
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.

xaduha··on Start all of your commands with a comma (2009)

    [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.
xaduha··on EUCLEAK Side-Channel Attack on the YubiKey 5 Series
> 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.

xaduha··on IPMI
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.
xaduha··on IPMI
Since one of the solutions was to reboot "up to 15 times" I would imagine so.
xaduha··on The tiny chip that powers Montreal subway tickets
> 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.

xaduha··on Source code for Quake 2 rerelease
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...

xaduha··on A Modern C Development Environment
> 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.

xaduha··on ‘Baldur’s Gate 3’ Prepared for 100k Concurrent Players, They’ve Gotten 700K
> 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.

xaduha··on Fhtagn – A tiny CLI programs tester written in Awk
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/

xaduha··on Why did Nix adopt Flakes?
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

xaduha··on Hardware Hacking to Bypass Bios Passwords
Why are we even discussing TPM if it is not being used for its main purpose?
xaduha··on Hardware Hacking to Bypass Bios Passwords
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.

xaduha··on Hardware Hacking to Bypass Bios Passwords
If it was used to encrypt a disk, then what does replacing TPM accomplish exactly?
xaduha··on Russia’s Nukes Probably Don’t Work – Here’s Why
> 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.

xaduha··on Russia’s Nukes Probably Don’t Work – Here’s Why
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.

xaduha··on Learning DNS in 10 Years
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.
xaduha··on Learning DNS in 10 Years
> 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.

xaduha··on Passkeys: The beginning of the end of the password
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.

xaduha··on TOTP Authentication with Free Software
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.

xaduha··on Mastodon is doomed?
If you think in these terms you're better off staying on Twitter and that's completely fine.
xaduha··on Faster LZ is not the answer to 150-250 GB video game downloads
You can sort by the number of submissions to see more popular games.
xaduha··on Windows on Btrfs
This is a science experiment.
xaduha··on Faster LZ is not the answer to 150-250 GB video game downloads
> This feels wrong. In that, I'd be surprised if they are not using compression.

Check this out, you can sort by the number of submissions to filter out indie games https://docs.google.com/spreadsheets/d/14CVXd6PTIYE9XlNpRsxJ...

from https://github.com/IridiumIO/CompactGUI

Page 1 of 24Next →