HNHacker News
TopNewBestAskShowJobs

justinsaccount

3,638 karma · joined March 3, 2009

submissionscomments
justinsaccount··on The worst bug we faced at Antithesis
for what it's worth, it also comes in super handy when trying to troubleshoot existing systems. Running a complicated system that has weird latency spikes sometimes at a 60s interval and the config file has like:

  - timeout: 1m
  - expireInterval: 1m
  - updateInterval: 5m
  - etc
The first thing I do is go in and change them all to

  - timeout: 59s
  - expireInterval: 61s
  - updateInterval: 307s
  - etc
and then see what the new "problem interval" is. It's either gone, because the spike was from contention from all 3 jobs running every 5 minutes, or the new problem occurs now at 61s intervals.
justinsaccount··on The worst bug we faced at Antithesis
Why?
justinsaccount··on The worst bug we faced at Antithesis
I think you underestimate how badly people mess this up now, with piles and piles of cron jobs and timers all configured to run at 1/5/15/60 minute intervals.

If other things did this there would not be "more collisions", since the status quo is multiples of 5 minute intervals everywhere.

justinsaccount··on The worst bug we faced at Antithesis
If you are ever building a platform and have control over everything, one thing that can make problems like this easier to find is to not use regular intervals like 5/15/30/60 minutes everywhere.

At some point you'll have a weird problem, or a load spike that shows up at regular intervals. If all of your intervals are 5/15/30 minutes, you will have 2 things running every 15 minutes and 3 things running every 30 minutes, you won't necessarily know which one causes the issue.

If you use (co)prime numbers, say, 5/7/11/13/17/19 as intervals: One, you won't have a thundering herd of tasks all running at the exact same time every few minutes, and two, when someone notices a weird issue that happens every 17 minutes, you will know exactly what the cause is.

justinsaccount··on IBM to buy HashiCorp in $6.4B deal
Not unexpected, I saw a comment a ways back when they started with the BSL stuff that it had nothing to do with terraform, but was a response to IBM selling Vault.
justinsaccount··on Read Google's memo warning employees to 'think again'
> The overwhelming majority of our employees do the right thing.

Do they?

justinsaccount··on Reflections on Distrusting xz
I don't see anything like what you are describing. What line exactly are you talking about?
justinsaccount··on Reflections on Distrusting xz
Also because the 'safe' version only checks

  dict->pos == dict->limit
and not

  dict->pos >= dict->limit
if you can get one call of dict_put somewhere to pass the limit, all later calls of dict_put_safe will happily overwrite memory and not actually be safe.
justinsaccount··on XZ backdoor: "It's RCE, not auth bypass, and gated/unreplayable."
> Apparently the backdoor reverts back to regular operation if the payload is malformed or the signature from the attacker's key doesn't verify.

Does this mean it's possible to send every ssh server on the internet a malformed payload to get it to disable the backdoor if it was vulnerable?

justinsaccount··on Monogon: A Linux userland in pure Go
gokrazy can also be used to build little VM images: https://gokrazy.org/userguide/qemu/
justinsaccount··on Sudo-rs dependencies: when less is better
Did you check the real sudo binary, or the setuid wrapper?

On my system sudo is `/run/wrappers/bin/sudo` but that is a setuid wrapper for `/nix/store/z008bzqrl2zc848gjhh04012jhxpl72q-sudo-1.9.15p5/bin/sudo` which is dynamically linked.

justinsaccount··on DBOS Operating System
> Linux is legacy code at the present time and is having difficulty making forward progress. For example there is no multi-node version of Linux, requiring people to run an orchestrator such as Kubernetes.

I can run linux on a raspberry pi. I can run kubernetes on a raspberry pi (if I wanted to). Can I run DBOS on a raspberry pi?

justinsaccount··on SimplyNUC Introduces Onyx Pro: Featuring 10GbE SFP+ Fiber and Dual 2.5GbE Ports
A comment on their youtube video says:

> if you were to spec them the same, the Minisforum costs a whopping $829 vs $1499 for the Onyx Pro

I agree that dealing with a local US company is nice on paper, but not sure what value you'd be getting for almost twice as much. If you were planning on doing something like buying 4 of them for a cluster, you could get 7 for the same price..

justinsaccount··on SimplyNUC Introduces Onyx Pro: Featuring 10GbE SFP+ Fiber and Dual 2.5GbE Ports
It doesn't just look similar, it looks like it IS the ms-01, with a new name and inflated price.
justinsaccount··on Google enables OS upgrades for older PCs post-Windows 10 support cutoff
Wow really? Please tell me more about this amazing new technology.
justinsaccount··on Google enables OS upgrades for older PCs post-Windows 10 support cutoff
10 years for a good PC. The problem is people and business buy shitty minimum spec computers that are borderline obsolete the day they arrive. My wife got a "new" laptop a few years ago. It had 8G of ram and a HDD.
justinsaccount··on I Fucking Hate Jira (2022)
I fucking hate JIRA, the interface is clunky and slow and makes me angry.

- Me, 2024.

justinsaccount··on In Reversal, Guinness Gives a Frenchman's Matchstick Eiffel Tower the Record
well he didn't order sticks, he ordered matches without tips:

> ordering custom matches without the tip from Flam’Up, a French matchstick maker

justinsaccount··on Meta and Mark Zuckerberg must not be allowed to shape the next era of humanity
Infrastructure does not have an algorithm or "recommendations" that decide what you see.

It's the same reason people don't criticize the power company for allowing people to use their products.

justinsaccount··on Why is the mouse cursor slightly tilted and not straight?
> since the times of single-digit Windows.

Do you mean 15 years ago with windows 7, or 30 years ago with windows 3?

justinsaccount··on Just
Often "Just" is... justified. At least, as a question to understand why someone is doing something the hard way.

As the post ends with:

> We should try to understand what makes it hard. And make it easier.

Yes, and I often do that by asking a question like "Why don't you just use [X]" i.e. Someone is saying something like

"Transferring files between these two servers is too hard. It keeps timing out and then I have to look to see which files have already been transferred and manually skip those. Sometimes a file is present but incomplete and finding those is even more work"

Why don't you just use rsync?

justinsaccount··on Play Ghost 'N Goblins online, courtesy of Capcom
Have to click the little controller icon on the right side and set player 1 to keyboard, then the controls are WASD + KL
justinsaccount··on Bug Thread
I always find it funny when an early reporter decides to include irrelevant information in their post, which then causes every single reply to do the same thing. i.e.

I get a segfault when I run the tool. OS: Debian. RAM: 8G. RGB lights: 4. Breakfast: French toast.

...

I have the same problem. Breakfast: bacon and eggs.

justinsaccount··on How to solve the "Mastermind" guessing game? (2009)
This game is part of the Simon Tatham's Puzzle collection as "Guess" (https://www.chiark.greenend.org.uk/~sgtatham/puzzles/js/gues...)

I've seen a lot of algorithms for how to play this, Donal Knuth has one that can win in 5 moves, but none that are really usable by humans. The method I use, which seems to always win is:

Guess 1111

Depending how many 1's were right, Guess 1222, 1122, 1112, 2222

Continue in this manor until the solution is found.

I just played this game ID: https://www.chiark.greenend.org.uk/~sgtatham/puzzles/js/gues...

where it worked perfectly:

RRRR -> (1, 0) One red, somewhere.

RYYY -> (0, 1) No yellows, red is not first

GRGG -> (0, 2) One green in the 2nd position, red is 3 or 4.

BGRB -> (1, 1) No blues, red must be last.

OGOR -> (4, 0) Success.

Have been meaning to simulate this and see if there are any games where this method would not work. Sometimes it takes all the moves but I've never lost.

justinsaccount··on OpenIndiana Illumos Distro
https://github.com/classilla/kopenray
justinsaccount··on 7 watts idle – building a low powered server/NAS on Intel 12th/13th gen
> The hardware is much more purpose equipped to store files long term

What hardware would that be, specifically? The low end embedded platforms that don't even support ECC?

> how many recoveries and transitions have you been through

3 or 4, at this point, using the same 2 disk zfs mirror upgraded from 1TB to 3TB to 10TB.

justinsaccount··on I forked SteamOS for my living room PC
TIL about RAUC (https://rauc.io/) I had been wondering how valve implemented the A/B update scheme.
justinsaccount··on String pinsetters are upending bowling
My reply was to this suggestion:

> Why not attach them to the bottom and have the setting machine underneath?

justinsaccount··on String pinsetters are upending bowling
Where do the pins go between the first roll and the second roll??
justinsaccount··on Null Island Tourist Shirt
Some of the fault for that issue is with the application developers and not the mapping firm.

At least one of the popular data sources does NOT return a long,lat coordinate, it returns a long,lat coordinate plus an "accuracy radius". For unknown US locations this was the "center" of the US plus a 1000km radius.. but most people never used the radius value and only blindly returned the center coordinate as truth.

You can see this in action if you go to https://www.maxmind.com/en/geoip2-precision-demo and search for 17.1.2.3. it comes back with (37.751, -97.822) with a radius of 1000km.

(37.751, -97.822) being the new "adjusted" center that's now in the middle of a reservoir.

← PreviousPage 3 of 33Next →