HNHacker News
TopNewBestAskShowJobs

herf

3,137 karma · joined July 13, 2009

Made f.lux. CTO Picasa->Google Photos. CMU, Microsoft Research. Imaging, 3-D, color, vision science.
submissionscomments
herf··on Launch HN: Magnitude (YC S25) – Self-optimizing inference engine for agents
https://github.com/magnitudedev/magnitude/issues/141

would love to try it again when you have updates

herf··on Launch HN: Magnitude (YC S25) – Self-optimizing inference engine for agents
I have two NVIDIA GPUs (16GB+16GB) here, and it detects them each twice (says I have 4 GPUs). But then, it says most models are too big (anything >8GB?) and seems to run only on one GPU (5070ti).

Unfortunately even with my 5070ti, llama.cpp seems to be about 20-30% faster at decode, running as:

set CUDA_VISIBLE_DEVICES=0 build\bin\Release\llama-server -hf google/gemma-4-12B-it-qat-q4_0-gguf -ngl 99 --no-mmproj-offload -mg 0 -c 262144 -fa on --host 0.0.0.0

herf··on AI needs $6T in annual revenue to justify data centre boom
Total software developer comp (worldwide) is ~$1T
herf··on Hackers influence ChatGPT and Gemini to direct users to scam centers
AIs are no better than their training data, and there aren't high-quality cues everywhere - go ask advice for some highly-spammed topic like "mattresses".
herf··on The UV index is not the warm sensation of sunlight on bare skin
Good post - the UV index is related to how short the "column of air" that the sun traverses to get to your skin - noon is the shortest distance. Scattering is a density function (more air, more scattering), so this is why it looks like cos^p when compared to normal irradiance (cos). It also explains why it is hard to get a sunburn in the temperate winter, since the sun always appears at an angle, it doesn't go directly overhead.
herf··on iOS 27, iPadOS 27, and macOS 27
My MacBook has an external 1440p monitor (@1x) which has been adequate for Sequoia, but macOS 26 and 27 look awful for bold text, like the list of users in Messages looks really bad. The AppleFontSmoothing fixes seem to make you pick between "bold text looks ok" or "everything else looks ok" - and macOS 27 doesn't fix it.
herf··on Ask HN: Can we please limit the AI news flood?
I've been hearing a lot of "Amdahl's law" regarding AI - the rule that says the slowest part of a system sets the speed of what you can accomplish. On one hand, this means that AI has sped up software (so there is more software news because you can make a 20-page blog post in one prompt now), but it doesn't speed up, say, shipping hardware products that much. I guess we need to re-weight the news to include how hard it is, not just how many tokens it makes.
herf··on Factoring RSA 260
One problem is that the core-years for RSA-250 were in 2017 Skylake Xeon single core terms.

If you can rent a dedicated 96-core Epyc for $1/hour (cheap dedicated host), the combination of IPC improvements (>2x) and core count make 7,010 "skylake core-years" cost only $175k, not $5M. On-demand cloud servers (which cost more than $1, maybe $5/hour) probably make the GPU cheaper, but it's closer than the author says.

herf··on Matrox: Graphics for Professionals
I remember thinking the Matrox cards in the 90s (Millennium, G400) had super-solid drivers, and their 2-D image quality was amazing. Interestingly, at the time, we were doing software 3-D rendering and NVIDIA RIVA TNT was much slower for bitblt. I guess they've fixed that by now. ;)
herf··on Quantifying Colour
This is both interesting and weird!

We know the typical LMS responses for human cones (e.g., Stockman-Sharpe) that could easily be plotted instead of the bell-curve-like things they use here - why? Is it good enough for illustration? You could say, kind of but then all the colors are kind of wrong too. For example, D65 is very blue here.

The article takes a really long time to get to the thing everyone should know: which is that our cones responses overlap a lot, and we get color sensations by (kind of) differencing them. Doing a matrix transform after ten pages to get to chromaticity is technically correct, but it's not the most accessible/intuitive way to teach this.

Nice effort but it would be better if it were closer to "real" color math.

herf··on MS Paint and Photos inivisibly watermark even locally generated output with GUID
No - there is a huge difference between "this AI created this image" and "this user did it" - the first we need more of, and the second is a big privacy concern. The article does not say anything about identifying a user.
herf··on Anthropic's 'watermark' text adulteration in Claude is a perversion of writing
Not telling someone you used AI is a perversion of writing. Also agree that an AI proofreader should not claim authorship, but in most other cases, the AI is not reading your mind, it's only watermarking its own usage, and we kind of need more of that.
herf··on As a Windows user, it's a surreal way to install a program
It's fine for installing, but uninstalling is madness: Windows uninstallers try to clean up all the registry and user profile stuff they install. Mac apps seem to just leave stuff behind in Local Settings or Caches forever? Containers are not such a bad idea.
herf··on Show HN: Simple algorithm and color space to generate diverse skin tones
This seems to do XYZ->RGB without any gamma correction. XYZ is linear, as is the transform to RGB, so we usually convert linear RGB to (gamma-encoded) sRGB at the end.

The JS code seems to output linear RGB directly to the webpage (missing gamma). I guess the difficulty with "adding gamma" to it is this: if the training data were also gamma encoded, then it might need to be refit with linear values.

herf··on Taylor Farms has rewritten its cyclospora statement four times in sixteen days
GPTZero "AI" score for this post: 100%
herf··on Run Kimi K3 using 29 GB of RAM at 0.50 tok/s
So if this Mac uses 30-50W, that's 40-60 tok/Wh...vs maybe 80k for a modern GPU cluster? So that's about 1000-2000x more power for the SSD streaming, unfortunately.
herf··on How JPEG works: Interactively explore JPEG's lossy compression methods
Nicely illustrated, and only one criticism: our preference for luminance (using more bits for "Y" vs "Cr/Cb") isn't due to the number of rods in the eye - there are so many rods so that we can capture more photons at night, and they are usually saturated at daylight illuminances. The effectiveness of the YCbCr encoding is much more related to the predominant pathway to the LGN (80-90% of the "number of bits" used) encoding luminance and center-surround, so those things both map well to using more bits for "Y".
herf··on Passkeys were invented by engineers with zero understanding of consumer brain
I think portability is very confusing: they rolled out passkeys with no device portability (device-bound) and only recently added it (CXP). So for anyone with multiple devices it was a relative disaster - why should my Windows PC hold a device-bound passkey to anything? How do I login on Linux or macOS? Picking a password manager to do portability also means another kind of lockin, though maybe you can live with that kind if you really trust the company. Even so, the password managers all seem to be competing to have relaxed security, so that vault and account passwords are the same, or you are asked to type your master password into a webpage - surely we didn't replace per-site passwords with this?
herf··on Apple to skip high-end M6 Mac chips in favor of AI-focused M7 line
You can turn off the notch, I mean crop it out at least.
herf··on Windows 11 New Media Player Uses 3.5x More RAM, Charges for Popular Video Codecs
HEVC used to be a capped license per organization, so not providing it in the OS seems really harmful and expensive. Has the cap changed recently?
herf··on Want your images back? That'll be $5
Yes, I think part of it was the "dark fiber" at the time, made bandwidth relatively cheap. But most personal photos don't use that much bandwidth - being able to use them anywhere online (which iCloud and Instagram don't allow) was a big idea. We went from "my content hosted in the cloud" to "Instagram's content" in a lot of ways. That is only partly a pricing issue.
herf··on Has AI already killed self-help nonfiction books?
AIs and podcasts (which also grew a lot recently) are free alternatives, and pricing matters as much as attention.
herf··on Want your images back? That'll be $5
This is gross, it could be a onetime fee.

It's hard to remember with all the ownership changes, but the Photobucket era was really a different time, of "it's your data, you're in charge, and we give you maximal control of it" - people would upload there to post elsewhere, and I recall they ran ads to monetize. But this era had the ethic that uploading was expensive, and you'd maybe want to do it once and have control of your stuff after that.

Now we have photo hosting services that barely work on the web (iCloud), or work only within a walled garden (Instagram), and I do miss the "it's your stuff, we're just a website" kind of attitude from the mid-2000s.

herf··on Should you normalize RGB values by 255 or 256?
good point - alpha is a notable exception, it is not luminance
herf··on Should you normalize RGB values by 255 or 256?
I'll argue for the +0.5 solution. First, I don't like half-sized intervals at the edges, and second, a 255-based representation is typically a SDR (not HDR) image.

RGB values represent luminances against some adapted state, and a "zero" in a daylit scene is not "zero luminance" - it's just about 0.001x as bright as the brightest point - it's millions of photons, way more than zero. In a sense our eyes experience contrast on a sliding scale, and there is no absolute zero in the system. For example, broadcast systems historically used 16-235 as their luminance range for SDR. I think any argument that says "we must have zero" is going to have a bias, but I don't think zero is needed for most things.

herf··on Meta launches Instagram, Facebook, and WhatsApp subscriptions
Guess you can't pay to get end-to-end encryption back in Instagram DMs? They dropped it a couple weeks ago.
herf··on Private Equity Bought America's Essential Services
Link to the Musharbash article that spurred the congressional investigation (2025):

https://www.thebignewsletter.com/p/did-a-private-equity-fire...

herf··on Was my $48K GPU server worth it?
Except this math is 10x too high (unless accelerated depreciation is all of it) - a million tokens at 28 tokens/sec and 75W and 20c/kwh should cost $0.15 not $1.50. (And less with MTP.)
herf··on Indexing a year of video locally on a 2021 MacBook with Gemma4-31B (50GB swap)
Two questions:

1. What is the search index?

2. The "description.md" example has things like "faces -> cluster_id". Is this from Davinci Resolve's face index? Things like faces+names and locations are really important with photo collections, but general LLMs don't handle them so well.

herf··on Googlebook
We started taking the phones out of schools, so I guess now we are building them back into education laptops instead?
Page 1 of 15Next →