HNHacker News
TopNewBestAskShowJobs

soneil

4,800 karma · joined December 20, 2010

submissionscomments
soneil··on Final Cut Pro transforms video creation with Live Multicam, new AI features
Not just third-party, but pre-existing solutions. The PR is announcing what's new, it's that simple.
soneil··on Is it okay to daisy chain a UPS?
There's a lot of compromise in UPS design.

For example, a common topology in offline UPS is that the inverter and the charger are the same circuit driven differently[0] - so you can't charge the battery while the inverter is carrying load. This is popular at the low-end because you have literally half as much UPS, but makes what you're describing impossible.

Another common issue at the low end is that the inverter isn't thermally sized to run non-stop, they know they can cut a corner because your battery presents a finite and known duty cycle.

There are ways around this, but at some point you end up fixing the wrong problem - eg, it's cheaper, safer, and more resilient to buy a transfer switch instead of uprating two UPS to be capable of daisy-chaining.

[0] https://patents.google.com/patent/US5302858A/en

soneil··on Airlines required to refund passengers for canceled, delayed flights
They can offer vouchers but you're entitled to the refund. The problem in that past has been that they weren't obligated to inform you of that right.

Hopefully now that the refund entitlement is automatic, vouchers will only make sense if they can beat the cash offer.

soneil··on The legendary Zilog Z80 CPU is being discontinued after nearly 50 years
It does seem to be much wider than that. The second page of the EOL notification[0] lists PEG, VEG & AEG variants - DIP40, PLCC & QFP respectively. They've made it clear as mud by putting different parts in different EOL notices (eg, the Z80 SIO[1]), but it seems to affect all Z80, Z180, support chips and Zbus peripherals - but not EZ80. (Also doesn't help that I can't find any trace of the Z80 ever existing on Littelfuse's site, so I can't get much from the horse's mouth.)

[0] https://www.mouser.com/PCN/Littelfuse_PCN_Z84C00.pdf

[1] https://www.mouser.com/PCN/Littelfuse_PCN_Z84C40.pdf

soneil··on How to stop losing 17,500 kidneys
If you donate your family don't benefit. If you don't donate, your family don't benefit. The only logic I can find here is spite.
soneil··on How to stop losing 17,500 kidneys
That's pretty much my take on it too. Mid-40s, and to be honest if you got my corneas you've hit the jackpot. If you're after anything else .. I've got bad news for you.

The idea that 25% of us have goods that aren't worth selling, does not blow my mind.

soneil··on Fastest way to get IPv4 address from string (2015)
> IPv4 representation spec

As silly as this sounds, I wasn't aware there was a spec. That's half the fun!

soneil··on Why is 1 GB equal to 10^9 bytes instead of 2^30?
To quote Jerry, show me the money?

For example, https://www.ebay.com/itm/225315397038

The label of this drive gives us CHS figures for three different models:

           cyl * h  * s  *  B
  127MB =  919 * 16 * 17 * 512 = 127,983,616B (124MiB)
  170MB = 1011 * 15 * 22 * 512 = 170,818,560B (162MiB)
  340MB = 1011 * 15 * 44 * 512 = 341,637,120B (325MiB)
So we're at 127MB and they're already base10.

For some reason everyone remembers it, but no-one's been able to show me.

soneil··on Why is 1 GB equal to 10^9 bytes instead of 2^30?
This is a myth. The very first harddrive was 5,000,000 characters - in the 1950s. The first PC harddrives came in 10 & 20MB. Harddrives have always been base10. Linespeed has always been base10. Clock speed has always been base10. It's RAM that's the odd one out.

I believe that where the disconnect has occurred, is that when home computing started - RAM is pretty much all you had. We didn't have megabit networking, we didn't have harddrives, if we were lucky we had cassettes. So the binary prefixes were absorbed in isolation.

soneil··on Ubuntu 24.04 Beta Delayed Due to XZ Nightmare
I use Debian on entirely up-to-date servers. I wouldn't call it outdated, I consider it stable, reliable, and trustworthy.

But a more interesting point here, is that this issue was caught by someone running debian unstable. So I'm glad someone is using them, even if they don't have your approval.

soneil··on GitHub Disabled the Xz Repo
I don't think the situation is very typical, so I don't why the response should be.

There's two maintainers, one is on an "internet hiatus", the other is either suspected of being the bad actor, or is otherwise so thoroughly compromised to destroy any short-term trust.

I assume if homebrew had such an egregious issue, they'd have someone able to respond to it.

soneil··on Debian on xz-utils: revert to version that does not contain changes by bad actor
First, the "bug" jumps through several well-crafted hurdles in order to hide itself from co-maintainers, package maintainers, and anyone else who might be looking. Hiding code in binary objects, hidden within in testcases and injected into the build under just-so conditions, would be incredibly difficult to justify with any other intent.

Next, the affected codepath skips itself if it's not executed under just-so conditions. Specifically testing to see if it's being run interactively to avoid diagnosis, and testing to see if the executed binary is sshd.

Lastly, what good reason could a compression library possibly have, for overriding encryption routines in sshd?

It's a fair question, but it doesn't survive inspection at all. This is like finding someone in a ninja suit, wearing night vision equipment, creeping around a museum in the middle of the night, with the crown jewels in a bag slung over their shoulder - and asking yourself if they're perhaps a lost tourist.

soneil··on Backdoor in upstream xz/liblzma leading to SSH server compromise
That's how I understand it. A build script that's in the releases tarballs but not the git repo, checks to see if it's being run as part of the debian/build or rpm build processes, and then injects content from one of the "test" files.
soneil··on I asked ChatGPT to write the code to print "Hello, world " as a junior developer
I think it'd be interesting to see the actual prompts that went with this.

I followed it through to the accompanying blog post[1] and I found the examples for "we close at 6pm on Friday" interesting because none of them work. They fail the stated problem (they don't test for Friday) and the unstated problem (when do we re-open? the examples re-open at midnight). And of course, without the prompts I can only guess whether the fault was in the answer or the question.

If the complex version worked and the simple version was naïve - or vice versa - it'd make for a much more interesting conclusion.

[1] https://koenvangilst.nl/blog/keeping-code-complexity-in-chec...

soneil··on Show HN: Auto-generate an OpenAPI spec by listening to localhost
This looks interesting - it seems like it wouldn't be a huge lift to turn this into something that compares against an existing spec too. create an AutoSpec, take your defined spec, and spot the difference.
soneil··on Nokia Tells Reddit It Infringes Some Patents in Lead-Up to IPO
Sure does feel like that, doesn't it. "That's a nice IPO you have there, it'd be a shame if anything happened to it."
soneil··on Review: The New Essential Guide to Electronics in Shenzhen
Tonality is nuts. One of the first things you learn is that the questioning ‘ma’ can also become ‘horse’ or ‘mother’ given a tone.

“Māma qí mǎ, mǎ màn, māma mà mǎ” - “Mom rides a horse. The horse is slow. Mom scolds the horse.”

soneil··on So you want to abolish time zones (2015)
Does it really simplify the model? It rephrases my google query if I want to call a colleague in the Philippines. That's it. It does not make it better, easier, harder. It rephrases the question, it does not abolish the question.
soneil··on Engineer bought prison laptop and 1,200 incarcerated folks lost their devices
Aside, "published on a hacker website" referring to hackaday tickled me pink.
soneil··on Ask HN: Nobody interested in an open hardware iPod Nano?
I realised you've already ruled out the full-size ipods as too bulky - but a thought that crosses my mind once in a while, is that given the number of aftermarket parts for 5G/6G iPods - I'm surprised no-one's come up with an aftermarket logic board.

My desired feature set otherwise doesn't differ too much from yours. Flac, BT for headphones, wifi to sync (from something that isn't itunes), support for larger sdcards, and maybe charging over anything but the 30pin. And then that one annoying bug - it'd be nice if 'shuffle all' didn't internally create a playlist that contained every song, creating an artificial limit on how many tracks can be used because that playlist fills the ram.

But what the full-size ipod really benefits from at the moment is aftermarket parts - chassis, shell, screen, touchwheel, batteries, etc. The logic board is really the only supply-constrained part left, and just addressing that one part cuts down the manufacturing dramatically.

Unfortunately the Nano doesn't garner the same aftermarket. Largely because it's dangerous & near-impossible to remove the innards once the battery starts swelling - so the biggest driver to rebuild it comes hand-in-hand with the inability to do so.

soneil··on Ask HN: Why is HN so often down?
User-accounts mean limits can be applied per-user instead of per-IP. Especially when a lot of us are connecting from the same office/site, or the same corporate VPN.

But being logged out is more efficient for cached responses. The more load the site is under, the more this pays off.

It makes sense that they're both true - it's not a case of which is more recent, it's what problem they're solving.

soneil··on Dad died in 2022. Since 2023, things he selfhosted have slowly begun breaking
The main threat for normal, well-behaved people is the growth of services that encourage us to put all our eggs in one basket, multiplying the routes by which you might attract the wrath of The TOS Overlords.

An example would be the number of people who don't want to issue perfectly valid chargebacks against Amazon because they'll lose access to digital purchases (kindle, audible, etc) in retaliation.

So more on-topic, it's conceivable that, for example, you have a dispute over a Google Play purchase, and in trying to exercise your consumer rights, you lose your access to your gmail account.

You don't need to be a troll to be violating a TOS, "if they're being punished they must have deserved it" is no more valid online than off.

soneil··on KKR to Acquire Broadcom's (VMware) End-User Computing Division
AIUI mostly the thin-client side. It's my (third-party) understanding that workstation/player/fusion are surprisingly difficult to break out because they borrow strongly from ESXi.
soneil··on I don't think the cheapest APC Back-UPS units can be monitored except in Windows
Lithium in smaller UPS is mostly stuck in a marketing gap at the moment.

Generally lithium UPS win in a 10-year TCO, but SLA wins in up-front costing. Which leaves us with two issues - most consumers look at the sticker price not the TCO, and no-one wants to market their products as "Our lead acid offer only /looks/ cheap, until you see what we charge you for consumables!"

soneil··on I don't think the cheapest APC Back-UPS units can be monitored except in Windows
That's always drove me nuts because the underlying issue is a great idea, frustrated by its implementation.

The serial port serves dual-purpose. Along-side the obvious serial, you can also provide some inputs by grounding certain pins, and some outputs by sinking current from others. This has got me through some unorthodox integrations by having the UPS signal that it's on battery by having these "simple signals" close a contact/relay on the load. It's not quite a full suite of dry contacts, but it's pretty serviceable.

The problem is that 9 pins doesn't leave many spare, so to achieve this they've repurposed some. I really wish they'd implemented this as an alternate mode so you'd, for example short tx to rx to change the behaviour - instead of having the 'alternate behaviour' sitting on standard DTR/RTS pins.

Getting industrial interfaces at SOHO prices was awesome. The unintended consequences .. less so.

soneil··on Updating Gov.uk’s crown
There's apparently some still in use - the oldest still in use is in Kent train station in Cork, which has a 160yo postbox.

They're increasingly rare - which makes sense, given they have to be 100+ years old by definition. But they're out there.

soneil··on Updating Gov.uk’s crown
Related trivia there is that you'll still find some postboxes with royal cypher - usually GR, ER, or VR (George, Edward & Victoria) across Ireland. But painted green.
soneil··on Broadcom-owned VMware kills the free version of ESXi virtualization software
I'm actually pretty excited by this. VMWare has been the "nobody gets fired for buying IBM" in this space for a while, and Broadcom abandoning and alienating large segments of the market could finally open up some ground for alternatives to grow into.
soneil··on How iTunes Is Changing on PC
My issues with the individual apps isn't that they're individual, it's that they're all Catalyst apps. This brings with it mandatory sandboxing, so my media files must live on my system drive. Any attempt to relocate them violates the sandbox, and it's recreated clean.

It's pretty neat, and pretty surprising, that I can still sync my iPod in 2024. But having a large collection of audiobooks means there's a lot of data clogging up my system drive - where audiobooks would otherwise be an ideal candidate to be offloaded almost anywhere else (they're slow, they're infrequent, etc).

soneil··on The first email from space [video]
A bit of a tangent, but I'm surprised to hear that Clinton was the first sitting president to send an email, in 1998. The Queen sent her first in 1976, which is quite a gap.
← PreviousPage 5 of 34Next →