HNHacker News
TopNewBestAskShowJobs

SyzygyRhythm

449 karma · joined April 17, 2023

submissionscomments
SyzygyRhythm··on Pressed Penny Machine Map
I love penny smashers. I have a paradoxical attitude toward souvenirs: on one hand, I like to have reminders of places I've visited as well as a physical token of "proof" that I've been there; on the other hand, I hate household clutter and don't like to spend money on what amounts to junk. Penny smashers fill a perfect role. They are literally a token of proof that I've been to a place, while also taking up almost no space and being very cheap.
SyzygyRhythm··on A physicist rigged his pet hamster’s wheel to upload to Strava
Always hard to be sure, but I think so, yes. The dispenser is only triggered when he runs either fast enough or long enough (I forget the thresholds, but it's something like 10 mph or 10 seconds). Sometimes he'll run and not quite trigger the threshold, but wait next to the dispenser for the treat to come out. When it doesn't, he'll go back to the wheel and run/walk for a much longer period.
SyzygyRhythm··on A physicist rigged his pet hamster’s wheel to upload to Strava
OneFastCat. Very pleased with it, though it can be somewhat loud when I'm trying to sleep and the house is otherwise silent!
SyzygyRhythm··on A physicist rigged his pet hamster’s wheel to upload to Strava
Neat! Not to toot my own horn too much, but I put together a similar project for my cat's exercise wheel. Hackaday featured it a while back: https://hackaday.com/2023/04/02/spy-on-your-cat-to-make-sure...

His exercise routine is somewhat variable but he usually goes for a short jog a few dozen times a day. Most often at 5 am, for whatever reason.

Since the article I also built and hooked up a treat dispenser for extra motivation.

SyzygyRhythm··on Balcony Solar: $1.74/watt direct plug-in solar
This just plugs into an outlet and offsets whatever usage you have, though. No need for a battery or matching load. It just subtracts 180 watts from your household usage.

These types of devices are fairly popular in Germany, and maybe other places. For someone like me, with very high peak daytime prices, even a small offset would be valuable, but the full price here seems to be $500, which is too much. No reason it couldn't be much cheaper, though.

SyzygyRhythm··on Claude Fable produced a counterexample to the Jacobian Conjecture
Thanks, though I realize (thanks to tptacek) that I didn't properly emphasize that the determinant must be constant but non-zero.

If the determinant were zero, then (for basically the same reason as why you can't divide by zero) the matrix wouldn't be invertible. You wouldn't expect the polynomial to be invertible in that case, either.

If the determinant had free variables left over, then there is some combination of variables that will make it zero (e.g., if it came out to x^2-1, then it would be 0 for x=1 or -1). So maybe inversion won't fail everywhere, but it will fail in those spots, which would also lead one to think the polynomial is not invertible.

But if it's constant and non-zero, then there is no place where you can't invert the Jacobian. So it seems very plausible that this would apply to the polynomial as well. That's essentially what motivated the conjecture in the first place (leaving out some details, of course).

SyzygyRhythm··on Claude Fable produced a counterexample to the Jacobian Conjecture
Yeah, the only possible counterexamples would have a constant but non-zero determinant (in this case it was -2).
SyzygyRhythm··on Claude Fable produced a counterexample to the Jacobian Conjecture
Are you at least a little familiar with linear algebra?

If so, you've probably heard of the determinant. It's a certain way of "summarizing" a matrix with one value.

The determinant in this case is of the Jacobian, which is a matrix you can construct from a multi-variable function. Each term is the partial derivative with respect to each variable (x, y, z, etc.), with one line per output variable (vector element).

The Jacobian of a polynomial function is, in general, going to be a matrix where every term is some polynomial expression. And the determinant of that will also be a complicated expression. But in some cases all the variable terms cancel out and you're left with a single constant (0 or some other value).

The conjecture says that if the Jacobian determinant is constant (i.e., all the terms cancel out), then there must be a polynomial inverse. And the key condition for an inverse is that there must not be two input points that evaluate to the same output. It's just like y=x^2. It's not invertible, because both +2 and -2 square to +4.

So if you can find a function where the Jacobian determinant is constant and also find two or more points that evaluate to the same output, then you've found a counterexample to the conjecture. And that's what's been done. And remarkably, the counterexample is pretty simple. It would be tedious but a bright high school student could verify it.

SyzygyRhythm··on GTX 1080s: Testing a Legend
As others said, you can run more than one at a time, but even singly, 24 GB can be very useful in a hybrid approach. For instance, I recently had to process hundreds of high-res blueprints. Used Fable for the main orchestration, but all of the OCR and other work I did with a small local model. Didn't waste expensive Fable tokens on simple grunt work.
SyzygyRhythm··on Jurassic Park computers in excruciating detail
Movie-Nedry struck me as a certain kind of hacker trope (but whom I've also met in real life!) where part of their "compensation" is access to unusual and high end computer hardware. It's irrelevant whether it's the best tool for the job (and as the page notes, Nedry seems to use his fancy SGI system mostly to render 3D chess). But, at least in principle, it's relatively cheap payment to keep your programmers happy (though it didn't exactly work out in the movie).
SyzygyRhythm··on Why study Diophantine equations?
That's why 1 is not generally considered prime. If it was, 2 could be factored as 2, 2x1, 2x1x1, etc., which breaks the uniqueness property.
SyzygyRhythm··on Have you restarted your computer this week?
No. And in fact it annoys me greatly that our work IT department forces a reboot once a month.

My desktop is like an actual desktop. I have my tools laid out exactly how I want them for the task I'm working on. I want to come back to them in exactly the same place when I pause for the night or weekend.

I have to clean it up occasionally, to close out things that I'm no longer working on or forgot about. But I'd rather do that incrementally than all at once. Forcing a reboot is like tipping over a physical workbench with a bunch of tools and in-progress projects on it. Just awful, and often takes hours to set back to its original position (at least browser tabs restore reliably these days).

SyzygyRhythm··on Why does kinetic energy increase quadratically, not linearly, with speed? (2011)
To get speed from velocity, you need a square root, which is also awful (for the same reason that abs is awful).
SyzygyRhythm··on Why does kinetic energy increase quadratically, not linearly, with speed? (2011)
Cheat answer: velocity is a vector, and can be negative, while KE is a scalar and has to be positive. Therefore you have to square v to get rid of the minus sign.

Why not take the absolute value? Nature hates those, probably because the derivative is undefined at 0. So squaring it is.

SyzygyRhythm··on Die analysis of the 8087 math coprocessor's fast bit shifter (2020)
Why isn't the shifter built with a log2 arrangement, shifting 32-16-8-4-2-1 bits? Takes fewer sub-stages and doesn't require a separate decoder for the input.

The article mentions it already has a two-stage design, shifting bits and then bytes, so it can't be about shifting more than one bit at a time. Anyone know why?

SyzygyRhythm··on Show HN: Continuous Nvidia CUDA PC Sampling Profiler
Sometimes you have to optimize other people's code. Also, sometimes code behaves unexpectedly depending on the data, say over a certain size threshold. And sometimes it behaves differently on different hardware. You don't always find these things out until production.
SyzygyRhythm··on Semiclassical Gravity Efficiently Solves NP-Complete Problems
Doh! You are correct. I had been looking at a previous paper (which this new paper references). The previous paper showed that you can use any non-linearity in QM to solve NP-complete problems, and the new one shows that semi-classical gravity + QM has such a non-linearity. The earlier paper: https://arxiv.org/pdf/quant-ph/9801041
SyzygyRhythm··on Semiclassical Gravity Efficiently Solves NP-Complete Problems
Yes, I think that was implied in my original post, that if you define |0> as logical 1 then it works as an AND. It just seems confusing and unnecessary when they could have framed it to be consistent with classical logic.
SyzygyRhythm··on Semiclassical Gravity Efficiently Solves NP-Complete Problems
I was skimming the paper and came to this: > This transformation is like an AND gate - it ignores the index qubit and places the flag qubit in the state |1> if and only if either of the original components had the state |1> for the flag qubit.

Shouldn't that be an OR gate? Not only does the description above say "if and only if either of the original components had the state |1>", which is an OR, but the truth table listed above shows the same thing for the flag qubit.

Of course, one could say it's an AND on the |0> states, which is just De Morgan's law, but that's pretty awkward phrasing.

SyzygyRhythm··on The time the x86 emulator team found code so bad they fixed it during emulation
We always try to inform game devs about correctness issues, but generally we can push out a driver fix before the devs can fix things on their side, so that pretty much always happens. Many things can be fixed quickly by app profile (detecting executable name). And we have a pretty good relationship with most game devs and usually get some feedback. Of course, we don't have infinite resources, so bigger game devs get more attention to tiny ones.

I'm not sure what fraction of devs actually fix things on their side, though. Once there's a driver workaround, and we've informed the devs, it's off our plate.

Performance is more of a gray area. We contact devs if there's something we can't work around, of course. And if there's something truly breaking. But for things that aren't exactly bugs, just things that could be improved, and we can improve on our own... well, we'll probably keep that for the competitive advantage.

SyzygyRhythm··on The time the x86 emulator team found code so bad they fixed it during emulation
There are many, many, cases like this, including correctness fixes. One recent example I remember had a shader that computed: x = a / b * b

The optimizer was allowed, but not obligated, to transform that into: x = a

However, in this case, b was sometimes 0. And if so, the unoptimized version computed: x = a / 0 * 0 = Inf * 0 = NaN

So badness ensued if the that particular path didn't get optimized, which could happen under various circumstances. We had to add some code to ensure that transformation always happened on that game.

SyzygyRhythm··on Making glass-to-metal seals for home­made vacuum tubes
The article mentions that thin-walled copper tube can be used, but then says a precision lathe is required. But you can easily buy off-the-shelf copper tube with 1.6 or 2.0 mm diameter and 0.5 mm wall thickness. Is that not thin enough? If not, could one chemically thin the walls (acid, electrolysis) until it is enough?
SyzygyRhythm··on Waymo Premier
Numerous times now, using Tesla FSD, I've found the car seemingly drifting from the center of the lane, only to have motorcycles buzz by at high speed on the opposite side. It's very polite toward motorcyclists.
SyzygyRhythm··on Boron Buckyballs: B80 cages in the lab
Boron always seemed like an under-studied element to me. Starting from the bottom, hydrogen of course is very well understood, helium not useful for much, lithium used for many things, and beryllium interesting but unfortunately toxic. Next is boron. Low toxicity, light weight, interesting electron configuration. Compounds like boron nitride and boron carbide have remarkable properties, but seem to get less attention than carbon. Not sure why.
SyzygyRhythm··on Blue Origin's New Glenn blows up during static fire test
There are a number of ways of looking at this, which others have answered, but here's another:

The kinetic and potential energy of a 1 kg mass in orbit is around 33 MJ. The chemical energy of 1 kg of methane+oxygen propellant is only about 11 MJ.

Alternately, perfectly combusted methane-oxygen propellant has an exit velocity of around 3500 m/s. But you need about 7800 m/s to get into orbit.

Chemical energy is just very weak compared to the energy of things in orbit. It's really shocking that we can do it at all.

The result of this is that your vehicle is going to be almost entirely propellant. You simply can't just build a big, beefy rocket that's, say, only half propellant, with lots of extra safety margin for things that go wrong. Cars and bridges and things have immense margins. Airplanes, a bit less so, but still more than rockets. Rockets live right on the edge of what's possible, and as long as we use chemical thrust it'll always be that way.

Which isn't to say that rockets won't get more reliable. The Falcon 9 has had hundreds of flights since the last failure, and it isn't as optimized as it could be. But there will be a lot more failures before we get there.

SyzygyRhythm··on An OpenAI model has disproved a central conjecture in discrete geometry
That's already how civilization works. There's no one person that knows everything about (say) modern food production, from top to bottom. If it ever stopped working (because too much knowledge was lost somehow), most people would die. And yet the system seems fairly resilient. Mostly, only local knowledge ever seems to be necessary to keep the whole thing running. Super-intelligence (or even just super-normal-intelligence) might expand the scope of what constitutes local knowledge but it will still run into limits somewhere.
SyzygyRhythm··on 5x5 Pixel font for tiny screens
The ship computers in the old game Privateer (and probably Wing Commander) had a pretty nice pixel font. Most of the characters were 3x4, but with a few niceties: descenders (j, p, q) could go below the normal outline, and wide glyphs like m/n/w were more than 3 pixels wide. Overall, pretty readable for uppercase/lowercase/numerics, and included a few "futuristic" touches.
SyzygyRhythm··on Game devs explain the tricks involved with letting you pause a game
Early versions of Unreal Engine had these animated procedural textures that would produce sparks, fire effects, etc. The odd part is that when you paused the game, the animated textures would still animate. Presumably, the game would pause its physics engine or set the timestep to 0, but the texture updater didn't pause. I suspect it was part of the core render loop and each new iteration of the texture was some sort of filtered version of the previous frame's texture. Arguably a very early version of GPU physics.

Modern games can have the same issue. Even taking a capture of the exact graphics commands and repeating them, you'll sometimes see animated physics effects like smoke and raindrops. They're doing the work on the GPU where it's not necessarily tied to any traditional physics timestep.

SyzygyRhythm··on Artemis II Launch Day Updates
Starship "making LEO" is not a significant challenge--the existing flights have explicitly targeted a (very slightly) suborbital trajectory. They could have done otherwise at any point, but for now it's more important to guarantee that the stage comes down immediately. None of their current objectives require more than ~1/2 of an orbit.

Starship v3 flying will be a significant leap, though. It's the first with the Raptor v3 engines and has many other improvements as well, such as updated grid fins and hot staging ring. It will be the first that achieves close to the intended capacity of ~100 tons.

Propellant transfer is indeed a significant challenge. They have already demonstrated internal transfers between tanks, but not between spacecraft.

Very exciting times ahead!

SyzygyRhythm··on Artemis II is not safe to fly
There were 19 successful unmanned Dragon 1 missions before Crew Dragon, and an unmanned Crew Dragon mission before the first crewed one (actually two missions, but one didn't reenter from orbit). The heat shield material and design was essentially the same and so there was a great deal of flight heritage.
← PreviousPage 2 of 3Next →