HNHacker News
TopNewBestAskShowJobs

jmb99

824 karma · joined January 12, 2024

submissionscomments
jmb99··on Why AC is cheap, but AC repair is a luxury
Would your homeowners insurance not cover that? Mine would.
jmb99··on Tiny electric motor can produce more than 1,000 horsepower
https://en.wikipedia.org/wiki/SI_base_unit

"The kilogram, symbol kg, is the SI unit of mass. It is defined by taking the fixed numerical value of the Planck constant h to be 6.62607015×10−34 when expressed in the unit J s, which is equal to kg m2 s−1, where the metre and the second are defined in terms of c and ∆νCs.[1]"

The base SI unit for power is the watt. The base SI unit for mass is the kilogram. Yes, this is dumb, but it's the way it is.

[1] https://www.bipm.org/utils/common/pdf/si-brochure/SI-Brochur...

jmb99··on Apple Photos app corrupts images
> Why? If your app is used by billions of people, surely you can afford a few additional testers and engineers?

Unfortunately, in the real world, # of bugs solved per unit time does not scale linearly with # of developers - and, you eventually reach enough people that you can't effectively coordinate changes without wasting more time on processes than you're gaining by adding another person.

I've never worked at Apple and I don't know anyone on the Photos team, but I imagine a company at that scale probably has a good idea as to the optimal number of developers working on one application. Optimal to Apple probably involves optimal money spent:money earned ratio, not most bugs fixed per unit time, but I would wager those numbers are pretty similar anyways.

jmb99··on NPM debug and chalk packages compromised
Push to many repos with a brand new key would (should) trigger red flags.
jmb99··on NPM debug and chalk packages compromised
I'm not exactly pro-AI, but even I can see that their system clearly works well in this case. If you tune the model to favour false positives, with a human review step (that's quick), I can image your response time being cut from days to hours (and your customers getting their updates that much faster).
jmb99··on GMP damaging Zen 5 CPUs?
Different use patterns will result in different temperatures. Very tight math loops (no memory/IO wait) will lead to higher temperatures than something that that relies on L2/3 cache or main memory, even though they’ll both report “100% CPU use” and probably use similar amounts of power. And, different operations will produce heat in different areas of the die; depending on physical layout, some operations might generate heat in a tiny cluster, whereas some others might generate heat in larger spread out areas. Even though both of those cases might use the same amount of power and generate the same amount of heat, the temperatures will be drastically different due to the heat concentration.

Iirc the FFT step uses AVX, and on Zen 5 that’ll be AVX-512. It should keep 100% of the required data in L1 caches, so you’re keeping the AVX units busy literally 100% of the time if things are working right. The rest of the core will be cold/inactive, so if you’re dumping an entire core’s worth of power into a teeny tiny ALU, which is gonna result in high temps. Most (all?) processors downclock under heavy AVX load, sometimes by as much a 1GHz (compared to max boost), because a) the crazy high temperatures results in more instability at higher frequencies, and b) if the clocks were kept high, temperatures would get even higher.

jmb99··on It is worth it to buy the fast CPU
Ideally, you do both. Optimize on crap hardware, tweak on nice hardware.
jmb99··on The Framework Desktop is a beast
I am personally dealing with PCIe signal integrity issues at work right now, so I can say yes, it’s incredibly finicky once you start going outside of the simple “slot below CPU” normal situation. And I only care about Gen 3 speeds right now.

But in general yes, PCIe vs RAM bandwidth is like comparing apples to watermelons. One’s bigger than the other and they’re both fruits, but they’re not the same thing.

Generally people don’t talk about random-access PCIe latency because it generally doesn’t matter. You’re looking at a best-case 3x latency penalty for PCIe vs RAM, usually more like an order of magnitude or more. PCIe is really designed for maximum throughput, not minimum latency. If you make the same tradeoffs with RAM you can start tipping the scale the other way - but people really care about random access latency in RAM (almost like it’s in the name) so that generally doesn’t happen outside of specific scenarios. 500ns 16000MT/s RAM won’t sell (and would be a massive pain - you’d probably need to 1.5x bus width to achieve that, which means more pins on the CPU, which means larger packages, which means more motherboard real estate taken and more trace length/signal integrity concerns, and you’d need to somehow convince everyone to use your new larger DIMM...).

You can also add more memory channels to effective double/quadruple/sextuple memory bandwidth, but again, package constraints + signal integrity increases costs substantially. My threadripper pro system does ~340GB/s and ~65ns latency (real world) with 8 memory channels - but the die is huge, CPUs are expensive as hell, and motherboards are also expensive as hell. And for the first ~9 months after release the motherboards all struggled heavily with various RAM configurations.

jmb99··on Vanishing from Hyundai’s data network
I really, really wish my area had that mindset. Even on the -25 and lower days, the trucks will be out salting. Thick enough that it basically creates a layer of grit on top of the snow/ice. I end up undercoating my cars 2-3 times per season, and washing them as frequently as possible (every day sometimes). Every aspect of which is horrible for the environment, but letting the car disintegrate is even worse, so it’s a “lesser of two evils” situation.
jmb99··on The Framework Desktop is a beast
> The only essential part of sockets vs solder is the metal-metal contacts.

Yeah... And that’s a pretty damn big difference. A connector is always going to result in worse signal integrity than a high-quality solder joint in the real world.

jmb99··on Car has more than 1.2M km on it – and it's still going strong
> I don't think anything with mechanical moving parts is going to last that long, with regular usage, and have original parts.

I know of at least two cars with 800k km with original engines. Both GM small blocks (Gen 2, multiport fuel injection so computer-controlled). Neither engine has been opened since they rolled off the floor in the 90s. They’re not particularly efficient (only about 270HP out of 5.7L) but if taken care of, they probably will go forever.

Definitely an exception, though. Very little else on those cars is still original. But it can be done.

jmb99··on Japan: Apple Must Lift Browser Engine Ban by December
> I don't think they want to risk losing that.

It depends on the cost.

Translating the OS to Slovene really just costs whatever a translation service costs, plus review & a bit of ongoing maintenance. Even on the high end, I doubt it would push 8 figures up front, and probably 6 in yearly maintenance.

If compliance with the Japanese law means every iOS build in every region must support alternate browser engines, what's the cost to Apple? They clearly must believe it's high (otherwise they would have done so already). Brand risk? Maybe, and hard to price that, but at Apple's valuations and revenues that could be 9+ figures depending on severity. Loss of revenue from Google (if they still pay to be the default search engine in Safari)? That could be a large number too.

It all comes down to the numbers. How much will Apple lose by pulling out of Japan (possibly betting on such a move being temporary, hoping Japan changes their mind, and also hoping that their reputation worldwide doesn't suffer) vs allowing alternate browser engines worldwide?

jmb99··on Japan: Apple Must Lift Browser Engine Ban by December
It does, doesn't it? Even if you stretch "web app" to mean "PWA" iOS supports them. And it definitely supports the literal definition of "web app" (i.e. loading a website in a browser that runs JS or whatever to perform its "app" functionality).
jmb99··on FCC abandons efforts to make U.S. broadband fast and affordable
They were responding to:

> I don't see how running internet over wires to rural housing could ever be seen as a good expenditure of money.

In pure ROI, it's the same as running electrical service to rural areas. But still very important in general

jmb99··on Visa and Mastercard are getting overwhelmed by gamer fury over censorship
> Banks don't know who gets what serial number when you withdraw cash.

Do you have evidence to back this up?

In Canada, many bank branches don't carry cash except at ATMs, which means 100% of the cash transactions at those branches go through ATMs. Bills are inserted without an envelope, and are counted one by one, which means they're already being optically scanned (read: photographed) to determine the denomination. It's not a stretch that the serial number could be captured at this phase. When bills are withdrawn, they're withdrawn off the top (or bottom) of a stack of bills, so it is known which elements are removed from the stack. Again, it would not be infeasible to track all of the serial numbers in the stack, in order, and associate those numbers with withdrawals.

I do not have evidence that this occurs, but I've always assumed it was at least possible. It's technically trivial. But if you're claiming that it's either impossible or it doesn't happen, I'd need some convincing evidence that that's the case.

jmb99··on Visa and Mastercard are getting overwhelmed by gamer fury over censorship
You're welcome to be surprised then. Only cases I've heard of Interac blocking accounts is KYC/AML and actual fraud. E-transfer (the Interac's name for bank-to-bank online transfers between different people) is about as close to handing somebody cash as you can get, albeit with amount limits varying between $2k and $20k.
jmb99··on VPN use surges in UK as new online safety rules kick in
I have a residential fibre connection that’s 3Gbps symmetrical, unmetered. If there was something in it for me (and I was legally shielded) I would consider renting some of that out. And there’s definitely other people out there who would change that “consider” to “definitely.” It’s possible to even get a residential 8Gbps symmetrical connection here for not a ton of money; that can support a lot of video traffic.
jmb99··on Purple Earth hypothesis
> Could we engineer a more efficient photosynthesis?

Yes! They’re called solar panels, and our best ones are about 4x more efficient than the most efficient photosynthesis processes in nature, afaik.

jmb99··on TrackWeight: Turn your MacBook's trackpad into a digital weighing scale
Hardware cost & weight, fine. Glass doesn't need to be thicker than it currently is (I can press on my 13 Pro's screen about twice as hard as was needed for 3D Touch's max depth, and no issues with the screen), and the last time I replaced a battery on a 12, the screen was just as thick as the XS.

>Turns out nobody was really using it because discoverability sucked..

Sure, but then redesign the UI after removing 3D Touch to not be equally undiscoverable but less precise. Even on the latest iOS beta with its full redesign, there's still many, many actions that require a long press that are completely undiscoverable. (For example, if you don't have the Shazam app installed, go find the list of songs Siri has recognized when asked "What's this song?" Don't look up the answer.)

jmb99··on Coding with LLMs in the summer of 2025 – an update
Yep, ~1kW as mentioned. Depending on your electrical rate, break even might be years down the line. And obviously the Mac Studios would perform substantially better.

Edit: And also, to get even half as much memory, you need to spend $10k. If you want to host actually-large LLMs (not quantized/distilled versions), you'll need to spend close to that much. Maybe you can get away with 256GB for now, but that won't even host full Deepseek now (and I don't know if 512GB either, with OS/etc overhead, and a large context window).

jmb99··on Staying cool without refrigerants: Next-generation Peltier cooling
...why would I keep a container of filtered water in my fridge? My water comes out of the tap already filtered at my municipal water supplier?

Maybe if I was on a well I would need to filter my own water, but then I definitely wouldn’t trust that job to a fridge.

jmb99··on TrackWeight: Turn your MacBook's trackpad into a digital weighing scale
The single most irritating killed feature from Apple. Redesign half of their UI to rely on 3D Touch to make sense, then get rid of 3D Touch without redesigning the UI. Previewing links, moving the cursor, interacting with items, they’re all “press and hold until haptic feedback” instead of “quickly press hard and get immediate feedback.” Easier to accidentally trigger, slower to trigger on purpose.
jmb99··on Staying cool without refrigerants: Next-generation Peltier cooling
> Which seems insane; it cannot add that much to the price.

Be careful what you wish for.

When buying my current fridge, I specifically tried to go out of my way to avoid complexity, but the opening for my fridge is an odd size so my choices were limited. The only fridge I could buy that didn’t have a bunch of crap that’s was guaranteed to break (ice maker, water dispenser [seriously? aren’t most fridges right next to a faucet?], LCD-covered glass panel, etc) that also had a thermostat had a digitally-controlled thermostat. No knob or physical buttons, just a capacitive surface for temperature adjustment and some LCD screens showing the fridge and freezer set temps. (Not the actual measured temps, that would be too useful, just the set temps.)

In hindsight, I probably should’ve just gotten one with a regular dial, but I was a bit fixated on the “real” thermostat. So now I’ve got that to look forward to breaking in 4-5 years and figuring out where the hell to source a discontinued fridge LCD panel from.

jmb99··on Coding with LLMs in the summer of 2025 – an update
What’s your budget and speed requirement? A quad-CPU Xeon E7 v4 server (Supermicro X10QBI, for example) with 1TB of RAM gives you ~340GB/s memory bandwidth and enough actual memory to host a full DeepSeek instance, but it will be relatively slow (a few tokens/s max in my experience). Up front cost a bit under $1k, less if you can source cheap 32GB DDR3 RAM. Power consumption is relatively high, ~1kW under load. But I don’t think you can self host a large model cheaper than that.

(If you need even more memory you could equip one of those servers with 6TB of DDR3 but you’ll lose a bit of bandwidth if you go over 2TB. DDR4 is also a slightly faster option but you’re spending 4x as much for the same capacity.)

jmb99··on Hyatt Hotels are using algorithmic Rest “smoking detectors”
Generally speaking, no. Most major hotel chains require a credit card.
jmb99··on Most people who buy games on Steam never play them
I find for physical objects, I’m much more likely to actually use them. I have read 95+% of the physical books in my house, wear 90+% of my clothes in any given year, 95+% of the food I buy. Mainly because I’m physically limited to buying/owning a certain number of things before I run out of space. With a 150TB NAS and at least 4TB of local storage in each of my PCs (and the fact you don’t even need to download a game to buy it), it’s a lot easier to hoard digital items without using them.
jmb99··on Supreme Court's ruling practically wipes out free speech for sex writing online
> since children don't have developed critical thinking skills.

So should everyone under the age of 25 (roughly when your brain becomes fully developed) be prohibited from talking about any kind of medical treatment?

Also, how do you expect people to develop critical thinking skills if they’re never presented with challenging concepts or, you know, required to think critically about things?

jmb99··on Bypassing Google's big anti-adblock update
Why not only use features that are compatible with all browsers? You don’t need to use every bleeding edge feature to make a website.
jmb99··on Upgrading an M4 Pro Mac mini's storage for half the price
Performance was very, very good in my experience. Benchmarks normally took a 10% hit vs their equivalents on windows, but being able to run macOS on arbitrary consumer hard made performance incredibly cheap. My first proper bang-for-buck machine was an i7-4790k with an R9 270x GPU, 16GB of RAM, and a combination of SSD and HDD storage. Total cost was around $1300 CAD if I remember correctly, which is absurdly cheap compared to what you’d have to pay at the time for a Mac with that performance. I also ran macOS on a 2x E5-2670 machine with 64GB of RAM, as well as a 2x E5-2697 v2 machine, and an i9-12900k machine with an RX 6950XT GPU, all of which were incredible value compared to an off-the-shelf Mac. It’s only recently that Macs are catching up to hackintoshes performance-to-dollar wise, because Apple Silicon is very, very good. Once I get my WRX90 workstation hackintoshed it should give the Mac Studio and Mac Pro a run for their money, but not for much longer if Apple drops support for x86 after macOS 16.
jmb99··on Breaking Git with a carriage return and cloning RCE
In this case, there is more than enough information given to make an exploit trivial for anyone actually investigating the issue. I don’t see a reason to distribute PoC exploit code here, it’s fairly clear what the problem is as well as at least one possible RCE implementation.
← PreviousPage 3 of 12Next →