HNHacker News
TopNewBestAskShowJobs

lathiat

4,395 karma · joined November 23, 2015

e9d97d2d4a137fcf296c2fb30e80f4e5aa0af50b8197ac37a429e5fe35cf3611
submissionscomments
lathiat··on Let's order strange things from NIST
Tom Scott & Half as Interesting did a few related videos:

https://youtu.be/9mAcJRFfAL0

https://youtu.be/nAsrsMPftOI

https://youtu.be/jvJzi0BXcGI

lathiat··on WebKit Quirks.cpp
It can be a time saver and helpful when you’re writing it. But hurts even yourself a year or two later. Others with no previous code base experience have it 10x worse.
lathiat··on Digging into a QEMU problem of slow data copying
Right but this fix was on the “qemu 9p server”.

On WSL you would be using the “hyperv 9p server”.

Same Linux 9p client in both cases but that’s not where the fix was.

Reasonable question but the answer is still no.

lathiat··on Performance reviews don’t assess performance
“I’ve got to ding you on something” - Bryan Cantrill

Worth a watch: https://youtu.be/1KeYzjILqDo

lathiat··on Ask HN: Where is the ARM desktop PC?
Honeycomb LX2 https://www.solid-run.com/arm-servers-networking-platforms/h...

Plus any apple machine and the thinkpad x13s

And the raspberry pi

lathiat··on UML: My Part in Its Downfall
Am I the only one that defaults UML to User Mode Linux and not Universal Modelling Language?

Yep just me ok

lathiat··on GCP, AWS, and Azure ARM-based server performance comparison
It was my understanding Amazon does in fact do this for most instance types, it's why the amount of RAM and other resources scales with CPU core count.

There are exceptions though in the very small "burstable" etc instances, like the micro etc.

EDIT: Seems I am wrong.

"Each vCPU is a thread of a CPU core, except for T2 instances and instances powered by AWS Graviton2 processors."

From: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance...

lathiat··on Why do all these 20-somethings have closed captions turned on?
Having an audio receiver and cranking the centre channel helped a lot for me.

Turns out I’m also half deaf in one ear.

Anyway I’d recommend both a centre channel with adjustable volume and a hearing test.

lathiat··on TermVideo: View Video Files in a Terminal
Circa 2005 mplayer supported both “aalib” and “calib” output for black and Color ascii art respectively.
lathiat··on Multitasking, something we copied from computers
Sounds a bit like “System 1/System 2” thinking.

can definitely drive and listen to a podcast when you’re good at it.

https://youtu.be/5eW6Eagr9XA

lathiat··on Show HN: Low-cost backup to S3 Glacier Deep Archive
With backblaze B2 both of those are not an issue. So not sure.
lathiat··on Show HN: Low-cost backup to S3 Glacier Deep Archive
I use rclone and Backblaze B2 for this. B2 used to be cheaper though not sure if that’s true with the new deep archive but it is much less fiddly and no crazy fees at restore time.

Rclone is also multi threaded so goes much faster compared to rsync

lathiat··on BliKVM PCIe puts a computer in your computer
PCIe provides standby power on 3.3v only. I can't find a specific number for "standby" but even not in standby it seems to be 1100mA @ 3.3v =~ 3.63W - so may be enough. You'd need a step-up to 5V for the CM4 though.

Seems like it may be borderline enough for the video part not being active but maybe similar to USB it might be "not quite enough".

lathiat··on Mtime comparison considered harmful (2018)
The problem with that is for good performance reasons that checksum is typically on smaller blocks than the whole file. For example ZFS splits files into a maximum of “recordsize” (128K) by default and checksums each block.

Not so likely whatever remote target you are looking at has the same blocks and checksum algorithm.

On the upside you can often ask such file systems to take two snapshots and what changed between them. Or to export some kind of differential to transform the original snapshot to the newer snapshot. Both ZFS and Btrfs can do those.

lathiat··on Dark Sky iOS app will no longer work from Dec 31
I get that from the "Rain Parrot" app.
lathiat··on Apple Announces iPhone 14 and iPhone 14 Plus
Next time you plan to buy an Apple product, check the macrumours buyers guide which estimates where in the product lifecycle it is and whether it’s a good time to buy it or not.

https://buyersguide.macrumors.com/

lathiat··on Tell HN: Otter.ai bot recording meetings without consent
You’re right that’s the wrong link. It’s part of macOS Ventura (not yet released)

Details: https://www.maketecheasier.com/enable-live-captions-ios-maco...

lathiat··on Tell HN: Otter.ai bot recording meetings without consent
macOS added this to the OS

https://www.maketecheasier.com/enable-live-captions-ios-maco...

Google meet also has it built in on the client.

Edit: previously incorrectly linked to https://support.apple.com/en-au/guide/mac-help/mchlc1cb8d54/...

lathiat··on BigFAT – Backward compatible FAT extension for unlimited file size
ExFAT is not limited to a 4GB maximum file size. It just has more than 4GB in the file.

I guess 4GB seemed like a reasonable limit when FAT32 was designed.

Most likely FAT32 has a 32bit number for file size and ExFAT presumably has either a 64bit one or stores file size in some format other than bytes.

lathiat··on Bitwarden raises $100M
I agree. That’s a huge investment for a product with a currently very low individual user price.

I expect to see a rapid push to enterprise with individual users left behind and a lot of broken stuff along the way :/

lathiat··on Nova Microhypervisor
Oops didn’t even think Good call.
lathiat··on Nova Microhypervisor
Seems like a poor choice of name given the OpenStack compute service is called Nova. Will hurt your Google fu at best.
lathiat··on We clone a running VM in 2 seconds
Hit that exact bug with a customer at work in libvirt. Two machines booted at approximately the same time generated a VM with the same Mac. Due to very poor choices of random seed using the boot time and PID and xoring which made that even less random.

Details here: https://bugs.launchpad.net/bugs/1710341

It was since fixed though I never updated the bug.

src/util/virrandom.c:virRandomOnceInit seeds the random number generator using this formula: unsigned int seed = time(NULL) ^ getpid();

This seems to be a popular method after a quick google but it's easy to see how this can be problematic. The time is only in seconds, and during boot of a relatively identical system these numbers are both likely to be relatively similar across multiple systems which is quite likely in cloud-like environments. Secondly, by using bitwise OR only a small difference is created and if the 1st or 2nd MSB of the pid or time are 0 then it would be easy to have colliding values.

Though problematic from basic logic, I also tested this with a small test program trying 67,921 unique combinations of time() and pid() which produced only 5,693 random seeds using PID range 6799-6810 and time() range 1502484340 to 1502489999.

lathiat··on Why our screwdriver took 3 YEARS
I've always wanted some kind of curation of products that are obviously designed better than the rest (for better or worse). They often have a price tag but functionality to match. Of course, the required functionality is not the same for everyone can often you can make do with the cheap good enough. You always need to choose, just the same as product design I guess.

Some of the best I've had:

  - Crumpler Backpacks (Dry Red No 5 & an older model I don't remember the name of)
  - Bellroy Slim Wallet
  - Bellroy Passport Wallet
  - AirPods Pro
  - UniFi AC Pro Access Points
  - 2018 Subaru Outback Premium
lathiat··on Everything I've Learnt About the Public EV Charging Businesss
I always appreciate a bit of behind the scenes info you might otherwise see, as I'm sure many on HN would.

Also with pricing, pricing transparency is a real PITA.

lathiat··on Dear Linux, Privileged Ports Must Die
You can use linux capabilities to grand the CAP_NET_BIND_SERVICE privilege only.

You can do this either by launchign with "capsh" and should also be able to configure a systemd service to do it.

There seems some gotchas though so I haven't tested it with systemd but some references: https://serverfault.com/questions/916807/net-bind-capability...

https://stackoverflow.com/questions/413807/is-there-a-way-fo...

If you were to disable/lower privileged ports entirely you need to also realise there are, as always, a bunch of implicit security boundaries related to this that you need to account for. As a most simple example, if you can trigger a local DoS to force a process to exit then you can race to bind it's port and potentially do something nefarious - depending on the protocol you raced it may give you some privileges to deceive a remote host etc. Which is not to say you shouldn't do it in general but one must be aware of these implications when you want to change a literally decades old design decision that like all good bugs, many people depend on.

lathiat··on A Linux-powered microwave oven (2016)
I still want this. Also want one over my stove.
lathiat··on Twillio the only way to send transactional SMS?
Also somewhere must still have a folder of scripts to bulk register ICQ accounts and send free SMS
lathiat··on Twillio the only way to send transactional SMS?
In the old days (2006 ) we used to connect a Nokia phone in the data center with a USB cable
lathiat··on 6 Raspberry Pis, 6 SSDs on a Mini ITX Motherboard
@mike_d you are right I made a very bad assumption about the size of the environment :)

@antongribok sounds like you have it in hand having seen your subsequent comments just didn’t want to leave someone assuming that error rate was normal in the smaller clusters that are more commonly but not universally the case. Evidently not the case for you :)

← PreviousPage 14 of 34Next →