HNHacker News
TopNewBestAskShowJobs

mbauman

4,240 karma · joined February 3, 2012

mbauman.com
submissionscomments
mbauman··on How far neuroscience is from understanding brains (2023)
The even bigger challenge is determining _what_ you need to observe in the first place.

As a simplistic analogy, evolutionary designs of FPGA boards can end up relying upon idiosyncratic properties of the board(s) and create circuits that "shouldn't work" based on an idealized electrical circuit model. And they may not be transferable to other boards. In other words, to "understand" some evolutionary FPGA circuits, you need to "observe" more than just the gate configurations and idealized schematic.

Brains are not FPGAs or even circuits, but I think the analogy holds. They're not _just_ idealized representations of spiking neural networks.

mbauman··on Julia and JuliaHub: Advancing Innovation and Growth
The key for me — as someone who has been around for a long time and is at JuliaHub — is that Julia excels most at problems that don't already have an efficient library implementation.

If your work is well-served by existing libraries, great! There's no need to compete against something that's already working well. But that's frequently not the case for modeling, simulation, differential equations, and SciML.

mbauman··on Non-random uniform disk sampling
> We know an optimally dense packing for 2D spheres

We do? I think this is the latest state of the research here — only 14 Ns are proven optimal and it's certainly nowhere close to a general algorithm: http://hydra.nat.uni-magdeburg.de/packing/cci/

There's something to be said for a dozen lines of numpy that gets "close enough". That said, I do think there should be something better.

mbauman··on Amazon workers to strike at multiple US warehouses during busy holiday season
$20/hr fulltime is ~40k/yr or ~$3300/mo. As just one benchmark: can you find housing in your area for $1100/mo?
mbauman··on 1-800-ChatGPT
GOOG411 was actually very helpful in the dumbphone/limited-cell-data era! I'm not sure why I'd use this now.

It also brings back memories of trying random (and known) 800 numbers from payphones.

mbauman··on Interpol wants everyone to stop saying 'pig butchering'
Words and names are powerful — this is something that I've found over and over again as a programmer. If you can find the right name for something, then the abstractions immediately become clear.

This isn't unique to programming

mbauman··on Explore the Capabilities of Broadcasting in Julia Programming
My only regret is not making it even more explicit!
mbauman··on Brick and Mortar Triangle Fraud
Sure should be. But Krebs’ story on it is proof it can happen.

Story: https://krebsonsecurity.com/2024/01/canadian-man-stuck-in-tr...

HN discussion: https://news.ycombinator.com/item?id=39056733

mbauman··on Private Cloud Compute Security Guide
The most valuable "metadata" in this context is typically with whom you're communicating/collaborating and when and from where. It's so valuable it should just be called data.
mbauman··on Conway's Gradient of Life
Atavising was new to me. From https://nbickford.wordpress.com/2012/04/15/reversing-the-gam... :

> First of all, while I said “Predecessorifier” in the talk, “Ataviser” seems to be the accepted word, coming from “Atavism”, which the online Merriam-Webster dictionary defines as “recurrence of or reversion to a past style, manner, outlook, approach, or activity”.

mbauman··on Why Appalachia flooded so from Helene's remnants
> The seemingly high occurence of rare events is an artifact of how much we're measuring. If you have a thousand weather stations, every year you'll see a "thousand year" event at one of them. We just didn't notice the other 999 that didn't.

That would only be true if all those weather stations are fully independent. They're definitively not.

Drives should be independent, but all drives in a datacenter would similarly share their environment. Run the datacenter too hot and your MTBF will be out of spec.

mbauman··on Why Appalachia flooded so from Helene's remnants
This is utterly terrifying:

> ... three-day totals that were well above 20 inches at multiple stations. For context, a three-day-long precipitation event in Asheville, N.C., the largest city in the most-affected region, is considered to be a once-in-1,000-year occurrence if it produces 8.4 inches of rain. (A once-in-1,000-year flood is one that has a 0.1 chance of happening in any given year.) The longest period that the National Oceanic and Atmospheric Administration calculates that out to is 60 days, for which a rainfall event in Asheville is considered to be a once-in-1,000-year occurrence if it produces 19.3 inches.

I've long known that we'll bee seeing "hundred year" and "thousand year" events much more frequently than their name suggests, but I didn't really fathom storms this far off the charts.

I'm not sure how you even begin preparing for or shoring up infrastructure against these sorts of extreme events.

mbauman··on Floating points between zero and one
So where is the even split point? It's [0, 1.5) and [1.5, Inf)! There's `2^62-2^51-1` values in both those sets. Or `2^30-2^22-1` for 32 bit.

Or perhaps even more interestingly, there's the same number — 2^62 or 2^30 — in [0, 2) as [1, Inf).

mbauman··on Floating points between zero and one
But perhaps that's the interesting point — 1/x is *cannot be* an exact bijection for floating point numbers, because there's not a one-to-one mapping between the two sets.
mbauman··on Someone's been messing with Python's floating point subnormals
> floating point without can represent two numbers whose difference is smaller than the number can represent and rounds to zero

Did you intend to say "without FTZ/DAZ enabled"? If so, that's completely and provenly false.

https://en.wikipedia.org/wiki/Sterbenz_lemma

Perhaps a better example than `z/(x-y)` is `log(x-y)`. Unlike division by 0.0, `log(0.0)` often throws an immediate error whereas `log(5e-324)` is a finite — and meaningful! — result.

mbauman··on Someone's been messing with Python's floating point subnormals
That’s precisely the misapprehension that makes folks think that -ffast-math is fine. Each and every floating point number is an exact quantity. They are real mathematical objects that identify exact values. They just have limited precision and might round (think snap) to the nearest representable number after each computation. You might not use them that way, but it doesn’t mean others shouldn’t.
mbauman··on Someone's been messing with Python's floating point subnormals
I think the biggest thing is that programmers can safely assume that a floating point `x-y` is nonzero if `x != y`. You can actually go farther and know that it's an exact computation (with no error) if the two are close [1]. But both results only hold if subnormals don't flush to or behave like zero.

It's not too hard to imagine how an algorithm might depend upon that — there could be a branch for the case where `x == y` and then a branch that relies upon dividing by `(x-y)` and assumes that it's not a division by zero.

1. https://en.wikipedia.org/wiki/Sterbenz_lemma

mbauman··on Someone's been messing with Python's floating point subnormals
fp contract isn't a uniform "decrease in error" either, though. As a simple example, it introduces error in the straightforward:

     a*b - a*b
mbauman··on Someone's been messing with Python's floating point subnormals
In the case of flushing subnormals to zero, it's easy to end up with divides by zero when it wouldn't otherwise. `0/0.0` is `NaN` but `0/subnormal` is `Inf`.

In other cases, `-ffast-math` just introduces arbitrary and strange behaviors. Sometimes you end up with higher precision than you expected. Other times you end up with less. Other times it'll helpfully just re-arrange things such that it's a zero. For example, the classical Kahan summation does the following:

    t = sum + y
    c = (t - sum) - y
https://en.wikipedia.org/wiki/Kahan_summation_algorithm

A -ffast-math compiler will see that — algebraically — you can just substitute `sum + y` into the equation for `c` and get 0. It's `sum + y - sum - y`. And that's true for real maths. But it's not true for floating point numbers.

It explicitly destroys any attempt at _working with_ floating point numbers.

mbauman··on iTerm 3.5.1 removes automatic OpenAI integration, requires opt-in
Ironically, so many of these users are those _with corporate support_. And demanding "IT" support from the open source project. Without consideration.
mbauman··on Backdoor in upstream xz/liblzma leading to SSH server compromise
We know there's long-cons in action here, though. This PR needn't be the exploit. It needn't be anywhere _temporally_ close to the exploit. It could just be laying groundwork for later pull requests by potentially different accounts.
mbauman··on DBRX: A new open LLM
Is it even possible to have a video transcript whose copyright has expired in the USA? I suppose maybe https://en.wikipedia.org/wiki/The_Jazz_Singer might be one such work... but most talkies are post 1929. I suppose transcripts of NASA videos would be one category — those are explicitly public domain by law. But it's generally very difficult to create a work that does not have a copyright.

You can say that you have fair use to the work, or a license to use the work, or that the work is itself a "collection of facts" or "recipe" or "algorithm" without a creative component and thus copyright does not apply.

mbauman··on Weather Planning for Eclipse Day
Be prepared for day-of eclipse traffic, too!
mbauman··on Singapore Airlines Concorde
Aha, of course!

OK, if those are nautical miles this does make much more sense — 3698nm is 280 nautical miles (320 miles) longer than the great circle route. It's a bit longer than the naive calculation I made — increasing the average speed (and time at cruise) a little bit, too.

Then the BAH-LHR leg is more interesting too — its great circle route is 2754 nm, so they're going 366 nm (420 miles) out of their way. Their listed distance is approximately what it'd be if they routed through the Mediterranean over Malta.

https://www.greatcirclemap.com/?routes=BAH-LHR%2C%20BAH-MLA-...

mbauman··on Singapore Airlines Concorde
What _was_ the routing and speed? That was my very first question and the blog post doesn't really answer it. How much of the flight was supersonic? They talk about avoiding India for the BAH-SIN leg, and trouble over Saudi Arabia, but there's a lotta populated land between BAH-LHR. The flight listing says this:

    SIN-BAH: 3698 miles, 4 hrs  6 mins, Mach 2.02 cruising speed
    BAH-LHR: 3120 miles, 4 hrs 21 mins, Mach 2.02 cruising speed
Those numbers just don't make sense. That's 130 miles short of the great circle distance from SIN-BAH of 3935 miles. And then they talked about adding another 200 miles to go around India. So assuming the flight time itself is accurate, that leg should be:

    SIN-BAH: 4135 miles, 4 hrs 6 mins, Mach 1.3 average speed
But how much of that time _could_ be spent at the listed cruising speed? Mach 2 will travel 4135 in miles in just over 2.5 hours! So we're looking at less than half the flight spent in supersonic — and this is the leg that's mostly over the Indian Ocean.

The BAH-LHR leg is even trickier.

Anyhow, it's little wonder that a direct non-stop is near the Concorde's time with these restrictions and the refueling stop.

mbauman··on Saturn's largest moon most likely uninhabitable
Yeah, that's not at all what the actual journal article claimed. It starts super simple:

We know Titan has two things that seem so promising for life as we know it! Organic compounds on the outside, liquid water on the inside.

And then it asks:

Might those two promising things meet? Other work hasn't found the tectonics that would do it; could cratering do it?

And that very particular answer is pretty definitively no.

mbauman··on Why Y is pronounced as "igrek"
It's always very fun when you realize something you learned very early by rote (like an alphabet) actually has a clear meaning you should've long been able to understand, had you thought about it.
mbauman··on iPhone that fell from hole in Alaska 737 MAX flight is found, still open to Mail
What remained of the charging cable was not much of a cable — it was barely the connector that remained.

https://nitter.net/SeanSafyre/status/1744247194448961725#m

mbauman··on iPhone that fell from hole in Alaska 737 MAX flight is found, still open to Mail
This isn't much more than the original twitter post: https://nitter.net/SeanSafyre/status/1744138937239822685

The most astonishing thing to me is the destroyed charger cable.

Also a good reminder that it's a very good idea to have the screen lock after a set time — even if it's long.

mbauman··on OpenIndiana Illumos Distro
That website is in desperate need of an about page that doesn’t presume you know what illumos is. The wiki is slightly better:

https://en.m.wikipedia.org/wiki/OpenIndiana

← PreviousPage 2 of 9Next →