HNHacker News
TopNewBestAskShowJobs

mrb

23,345 karma · joined May 29, 2010

https://www.zorinaq.com
submissionscomments
mrb··on The 49MB web page
Let's play a fun prediction: I ask HN readers what will be the page size of NYTimes.com in 10 years? Or 20 years?

Want to bet 100 MB? 1 GB? Is it unthinkable?

20 years ago, a 49 MB home page was unthinkable.

mrb··on Put the zip code first
Yup. I typed my French ZIP code (code postal) and this guessed a US city...

But the author has a point. Combine it with some approximate country-level geolocate of the web client and this would work perfectly 99% of the time modulo edge cases like VPN users.

mrb··on Personal Statement of a CIA Analyst
"Someone who hated computers so much that she had the secretary print out her emails so she could read them was interrogated for hours about hacking into Agency networks [...] there was often a gross mismatch between a person and the accusations made against them."

Well, isn't it expected? If I were a double agent, faking that I was so computer illiterate that I ask my emails to be printed out would be the perfect cover for my hacking =:-)

mrb··on I want to wash my car. The car wash is 50 meters away. Should I walk or drive?
Mistral's Le Chat also fails spectacularly. Although interestingly it assumes that the "walk" option means you are carrying washing supplies back and forth in order to wash the car while it's parked at home. I wonder if the other models assume this is what you mean, IOW they may not know how a "car wash" normally operates.

"""

Great question! Here are a few things to consider:

If you walk: It’s only 50 meters, so it’s a very short distance—less than a minute on foot. You’ll avoid getting your car dirty again on the way to the car wash. It’s a quick way to stretch your legs and save a tiny bit of fuel.

If you drive: It’s so close that driving might feel unnecessary, but it could save you from carrying any supplies (like vacuum cleaners or cleaning products) back and forth. If the weather is bad (rain, extreme heat, etc.), driving might be more comfortable.

Verdict: Walking is probably the easiest and most practical choice for such a short distance, unless you have a specific reason to drive. What’s the weather like where you are? That might help decide!

"""

mrb··on Fix the iOS keyboard before the timer hits zero or I'm switching back to Android
"caved to the blue bubble pressure"

As an Android user, I truly don't understand this "pressure". I exchange SMS/MMS with various users, some Android, some iPhone. I am in group chats with both Android and iPhone users. I feel there is no major issue. It's interoperable. We all see each other's emojis/photos/videos/etc. There are only minor technical rough edges: for example an iPhone's user emoji reaction sometimes (not always?) shows up as separate text instead of the emoji appended at the bottom of the text bubble... And I am pretty sure videos are sent in a lower quality. But is any of this really enough to cause a "blue bubble pressure"?

I asked ChatGPT to explain but only got this vague answer: "Group chats with a mix of iPhone and non-iPhone users can be less seamless (e.g., lower video quality, no read receipts, or issues with group chat features)."

I had to open my texts to check: I indeed have read receipts when texting Android users, but not iPhone users. And this is funny but up to this very second, I had never noticed this difference... because, at least to me, read receipts is such a minor feature that I rely on very infrequently.

This leaves me still as perplex: why the "blue bubble pressure"?

mrb··on Why is the sky blue?
"a property of surfaces"

You can conceptualize Rayleigh scattering exactly like you did so it doesn't conflict with my explanation: as light hits the "surface" of nitrogen and oxygen molecules, it "reflects" (scatters) blue wavelengths.

mrb··on Show HN: Algorithmically finding the longest line of sight on Earth
Ok! Ping me when you get it updated - I am very curious :-)
mrb··on Show HN: Algorithmically finding the longest line of sight on Earth
I suppose our hobby is related to the hobby of ground-to-ground long-distance observation. Except we don't perform the actual observation, just the math of where it is theoretically feasible :-) In my case, years ago, I did exactly the same as Tom and Ryan: I algorithmically searched for the longest sightline. It was a weekend project just to satisfy my curiosity. Then last year, Tom and I kinda connected informally over this hobby.
mrb··on Show HN: Algorithmically finding the longest line of sight on Earth
Well this is just a personal website, so it is has much (or as little) information as the owner wants to put up. The legal notice page (in German) tells you it's the site of a certain Dr. Ulrich Deuschle: https://www.udeuschle.de/impressum.html
mrb··on Why is the sky blue?
I dislike with passion the answer "because Rayleigh scattering". When someone asks why, especially if a child asks, the default answer should be the simplest correct answer:

Because it's the color of the atmosphere, specifically nitrogen and oxygen! It's technically correct to state this.

Gasp! But aren't nitrogen and oxygen usually described as "colorless"? Well, yes but... If they were perfectly colorless, the sky would be black. It's technically more correct to describe them as nearly colorless and very slightly blue. Very slightly because you need to see through kilometers of atmosphere to perceive the blue. It doesn't matter if the color is caused by absorption, or reflection, or (Rayleigh) scattering of certain wavelengths. The "color" of an object is simply the color you perceive with your eyes. If you perceive blue, it's technically correct to say its color is blue.

It's like saying plants are green because green is the color of chlorophyll. And in the case of chlorophyll, the color is caused by absorption not by scattering. But the physics is irrelevant. Green is its color.

Q: But sunsets/sunrises are red & orange not blue! A: the simplest answer is: color of an object can change under different light conditions. Specifically in this example, when seeing the sun through not kilometers but hundred of kilometers of atmosphere, all the blue-ish wavelengths have been scattered in random directions so only the red-ish wavelengths remain, thus the atmosphere is illuminated by progressively redder and redder light as the photons travel longer and longer distances through the atmosphere.

mrb··on Show HN: Algorithmically finding the longest line of sight on Earth
Ok that makes sense, thanks for the reply! Maybe document this "percent or so" error in the FAQ since it is about 16 times bigger than the (other?) ~0.0685% error you mention that can be caused by the AEQD reprojections.
mrb··on Show HN: Algorithmically finding the longest line of sight on Earth
Reply to my edit #2: I realize the "To" point 41.0181,77.6708 is just the coordinate of the center of the 1°-wide horizon line. The actual farthest visible point according to your analysis is probably this peak in the west half of the 1° field of view: 41.014862, 77.647818 So I retract my comment about the error being "clearly" on your side. However this does indicate that we definitely calculate things differently. In my analysis Pik Dankova at 41.059542, 77.684808 which is a few km further can actually be seen and that's the source of our differences. I don't know who is right.
mrb··on Show HN: Algorithmically finding the longest line of sight on Earth
For a 3D rendering of the longest sightline, see this direct panorama rendering: https://www.udeuschle.de/panoramas/panqueryfull.aspx?mode=ne...

Note that technically my link is a slightly longer sightline (longer by 7 km).

mrb··on Show HN: Algorithmically finding the longest line of sight on Earth
Hi Tom it's Marc, I'm glad to see you finished your sightline project ! Any clue why you report the longest sightline as "530.8 km" when it seems to be actually 538.1 km? That's what my code calculated (https://news.ycombinator.com/item?id=45512970) that's what Dr. Ulrich Deuschle also calculates (https://www.udeuschle.de/panoramas/panqueryfull.aspx?mode=ne...) You, Deuschle, and I all use the same DEM data (https://www.viewfinderpanoramas.org/Coverage%20map%20viewfin...) and the same refraction coeff (0.13), and nearly the same camera height (1.5m for me, 2.0m for Deuschle, and 1.65m for you—and these differing heights make no difference given the coarse DEM resolution). Something must be slighly off in your computations? Or do you think both Deuschle and I are wrong?

Edit: to be clear the difference stems from our coordinates. Our starting points are:

41.059167,77.683333 (me)

41.0181,77.6708 (you)

And our end points are:

36.295364,78.755593 (me)

36.314,78.7654 (you)

Also I calculate the distance assuming the Earth is spherical (which gives 538 km) not the standard geodesic (which would give 537 km).

And in the DEM data I measure the distance from the center of a cell to another (not the edge), while measuring from edge to edge may explain a difference of at most 0.1 km as the DEM resolution is 3 arcseconds.

So clearly we disagree on the coordinates of the exact actual sightline as we have a 7 km difference :-)

Edit #2: clearly the error is on your side. I should have checked this first, but the coordinates you give for the "To" point (41.0181,77.6708) land in a valley with the south view completely blocked so it's impossible to view 500+ km south as you claim. Look at where the marker lands on this Google Maps Terrain: https://maps.app.goo.gl/PgBWxi31WZC6vk3V9

mrb··on 1 kilobyte is precisely 1000 bytes?
Whenever this discussion comes up I liked to point out that even in the computer industry, prefixes like kilo/mega/etc more often mean a power of 10 than a power of 2:

I gave some examples in my post https://blog.zorinaq.com/decimal-prefixes-are-more-common-th...

mrb··on Hacking a Casio F-91W digital watch (2023)
Nothing was unnecessary since the goal was having fun & learning.
mrb··on I wanted a camera that doesn't exist, so I built it
Very impressive build! It's amazing what one can do thanks to CNC and FLPCB manufacturing services readily available to any motivated hacker.

One tip for the author who noticed the camera being warm: measure its power consumption, and compare to an unmodified G9ii. Especially because you noticed it drains the battery relatively quickly(!) This is a glaring "connect the dots" situation to me. The root cause might be something very stupid. For example when you removed the microphone jack, the camera thought a microphone was connected, so it activated a microphone nenu. But given the extensive number of mods you made, it's possible you are making the firmware think some accessory is connected—could be anything: (light) flash, external screen, USB gadget, JTAG reader, SD card, etc. So it's taking a code path to initialize the device, but it fails because the device is not present, and it retries repeatedly, thus entering a retry loop that's causing excessive CPU usage... That wouldn't surprise me. You are running a G9ii that's unique therefore a rare software code path like this would not happen on a standard G9ii and would never have been fixed by the developers.

Edit: I see the author measured power here: https://www.reddit.com/r/Lumix/comments/1oif3jp/how_much_doe... and to my eyes, these seem really high numbers. For example in video playback mode he measures 340mA, so 2.45W (battery is 7.2V nominal). The standard G9ii battery is 16Wh that means it would last only 6.5 hours playing back video. Compare this to a Pixel 9 phone: 18.3Wh battery and can playback video for 15 hours (I believe these are benchmark numbers reported playing back 4k H264 video, probably in a similar-ish format to the G9ii in terms of bitrate, etc). Plus the phone is at a disadvantage as it has a bigger, more power-hungry display. So it seems to me his G9ii consumes twice as much power as it should, if not more... If anything a pro camera should be more optimized than a general-purpose consumer device when playing video!

mrb··on The creator of Claude Code's Claude setup
"pushing 996"

What does this mean? You mean they have close to 1k employees? Odd typo or odd way to say it.

mrb··on Sabotaging Bitcoin
Tx fees make up a bigger and bigger fraction of miner rewards over time.
mrb··on Sabotaging Bitcoin
"Bitcoin's security inevitably weakens over the coming years due to diminishing miner rewards (denominated in BTC)"

That's incorrect. Security scales with USD-denominated rewards, not BTC-denominated. And there are 16 years of real-world data showing they have been generally increasing, so a healthy sign that the Bitcoin experiment is working:

https://newhedge.io/bitcoin/block-reward-per-block

And not only that, but rewards are still expected to stabilize even when measured in BTC (thereby not relying on an increase of BTC's price) as they are progressively composed more and more of tx fees instead of newly mined BTC.

It's puzzling to me why some still don't understand the systemic incentives that make all this work as it has for 16 years and counting...

mrb··on I program on the subway
"On the subway, I'm missing a lot of my normal setup [...] I don't even have an internet connection"

There is no cellular data in the NYC subway? I had to look it up online and apparently there is but coverage is quite patchy. That's very surprising to learn, NYC being one of the most developped and richest cities in the world. By comparison, and from my experience, the Parisian metro has excellent coverage.

mrb··on Show HN: Automated license plate reader coverage in the USA
Thanks for this CDC link! So the pedestrian death rate and the overall road traffic death rate is about three times higher in the US compared to other high-income countries... Mind-boggling.
mrb··on Cloudflare outage on December 5, 2025
Only way to change that it to shame them for it: "Cloudflare is so incompetent at detecting and managing outages that even their simple status page is unable to be accurate"

If enough high-ranked customers report this feedback...

mrb··on Show HN: HCB Mobile – financial app built by 17 y/o, processing $6M/month
That's awesome, and impressive you were able to build that. As an angel investor, my first question would be: how do you deal with financial fraud? Like users exploiting your app for money laundering via donations then spending... Any system that lets money get in and out is eventually used as a channel by launderers.
mrb··on Accepting US car standards would risk European lives
"Yet, EU vehicle safety regulations have supported a 36% reduction in European road deaths since 2010. By contrast, road deaths in the US over the same period increased 30%"

I thought this stark difference might be partially explained by US population increasing more quickly than EU. However it turns out in the 2010-2024 period, US population increased by +10% while EU27 pop increased +2%. So although there is a minor 8% difference, this is far, very far, from explaining the stark difference even if we compared per capita. The EU is certainly doing something right here.

mrb··on DIY NAS: 2026 Edition
"I was 8.5W over"

As I suspected :-) Also note that by measuring "36W POE consumption" you are excluding the AC-DC conversion losses from the switch's PSU which further makes the comparison a bit unfair. IOW your POE equipment draws more than 36W at the wall.

The only fair comparison is looking as only your NAS idling with drives (35W you claim, and I still believe it's closer to 40W) vs the OP's NAS with 4 drives (which should be 57W, or 67W minus 10W for his two extra drives). Then if the OP used a better sized PSU he might cut out another 10W or so (see my "PS" above) then you are comparing your 35W (or 40W) with his 47W which of course is still in your favor and a testament that Ubiquiti did a great job optimizing the UNAS Pro. But this 12W (or 7W) difference hardly matters for someone running a single NAS at their house. This extra power is around $1 or $2 monthly at average US domestic electricity rates.

mrb··on DIY NAS: 2026 Edition
"the NAS in idle consumes more power than my UNAS Pro with 4x8TB HDD and 2X8TB SSD, as well as a Mac mini M1 with a 2TB Samsung T7 SSD, and my 4 access points and 4 protect cameras combined."

I know that's not true. I say this as someone who measures the power consumption of individual components, and even individual rails with a clamp meter. The OP measures an idle power of 67W. He has 6 x 8TB HDDs. These typically consume 5W idling (not spun down). So the OP's NAS without drives is probably around 37W.

A UNAS Pro without drives reportedly consumes 20W with no drives. Adding 4 x 8TB at 5W per drive, means your UNAS Pro config with drives probably idles at 40W (again, drives not spun down). That means you are 17W under his NAS idle power. So you claim your remaining hardware (Mac mini, 4 APs, 4 cameras) run in under 17W... Yeah that's not possible. 17W is peanuts; it's half the power of a phone's fast charger (~30W).

PS: for the OP, an easy way to further reduce power consumption is to replace your 500W PSU with a smaller one, like 250-300W which is still amply over-specced for your build. Because the typical efficiency curve of a PSU drops sharply at very low loads. For example at idle when your NAS pulls 67W from the wall it's very probable it supplies only ~50W to the internal components, so it's running at 10% load and it's only 50/67 = 75% efficient. The smallest load for which the 80 Plus Gold standard requires a minimum efficiency is 20%. If you downgrade to a 250W PSU you are enforcing a minimum 20% load for which the 80 Plus Gold standard requires minimum 87% efficiency. The load at the wall would thus drop to 50/.87 = 57W thereby saving you 10W.

mrb··on NTSB Preliminary Report – UPS Boeing MD-11F Crash [pdf]
Yup. That's exactly what experts said of American Airlines flight 191 which was basically the same engine mount, same failure. Engine flipping over the wing.
mrb··on The internet is no longer a safe haven
Unpopular opinion: the real source of the problem is not scrapers, but your unoptimized web software. Gitea and Fail2ban are resource hogs in your case, either unoptimized or poorly configured.

My tiny personal web servers can whistand thousands of requests per second, barely breaking a sweat. As a result, none of the bots or scrapers are causing any issue.

"The only thing that had immediate effect was sudo iptables -I INPUT -s 47.79.0.0/16 -j DROP" Well, by blocking an entire /16 range, it is this type of overzealous action that contributes to making the internet experience a bit more mediocre. This is the same thinking that lead me to, for example, not being able to browse homedepot.com from Europe. I am long-term traveling in Europe and like to frequent DIY websites with people posting links to homedepot, but no someone at HD decided that European IPs couldn't access their site, so I and millions of others are locked out. The /16 is an Alibaba AS, and you make the assumption that most of it is malicious, but in reality you don't know. Fix your software, don't blindly block.

mrb··on Analysis indicates that the universe’s expansion is not accelerating
A funny coincidence is that the solar system was formed 4.6 billion years ago which is exactly when the universe's rate of expansion peaked according to figure 3.

If you want to believe in an intelligent creator—not that I do—it's as if they were accelerating the expansion until the solar system was formed, then turned the control knob down.

← PreviousPage 2 of 34Next →