HNHacker News
TopNewBestAskShowJobs

heisenzombie

1,607 karma · joined June 19, 2012

submissionscomments
heisenzombie··on LLMs for Engineering: Teaching Models to Design High Powered Rockets
My experience is that SOTA LLMs still struggle to read even the metadata from a mechanical drawing. They're getting better -- they now are mostly ok at reading things like a BOM or revision table -- but moderately complicated title blocks often trip them up.

As for the drawings themselves, I have found them pretty unreliable at reading even quite simple things (i.e. what's the ID of the thru hole?), even when they're specifically dimensioned. As soon as spatial reasoning is required (i.e. there's a dimension from A to B and from A to C and one asks for the dimension B to C), they basically never get it right.

This is a place where there's a LOT of room for improvement.

heisenzombie··on Are polynomial features the root of all evil? (2024)
He seems reasonably explicit about this:

""

This means that when using polynomial features, the data must be normalized to lie in an interval. It can be done using min-max scaling, computing empirical quantiles, or passing the feature through a sigmoid. But we should avoid the use of polynomials on raw un-normalized features.

""

heisenzombie··on Do-nothing scripting: the key to gradual automation (2019)
Yes, perhaps I wasn’t clear — I’m advocating for just the inlined version, not the nested function in the general case.

The nested function is, I think, fine when it’s so tiny it’s not worth unit testing (like, it-could-have-been-a-lambda small) or when bar is returned by foo (ie foo is higher order), in which case you can test the return value. Apart from that… restraint!

heisenzombie··on Do-nothing scripting: the key to gradual automation (2019)
If you want a function that's private to a function in Python you _could_ also do:

    def foo(context):
    
        def bar(x):
            return x*2
        
        baz = bar(context)

... This is particularly idiomatic for higher order functions, but I think it can be useful for other things if used with restraint.

But if you have functions that only need to be called from one calling function then I why not just inline the code and eschew having a function at all. Long function bodies for the win!

heisenzombie··on What makes a great mocktail? (2018)
You can definitely make ginger beer with wild yeast (fresh ginger root conveniently comes with lots of wild yeasts) and make delicious drinks. There are lots of recipes.

I also recommend, if anyone is interested, investigating “ginger beer plant” (GBP), which is a symbiotic culture of bacteria and yeasts (SCOBY) such as that used to brew kombucha and kefir. It was once common in Britain, but almost went extinct. Some was saved by a German culture bank (DSMZ), and now you can buy some online! Makes a different, and I think delicious, drink compared to the “ginger bug” method!

heisenzombie··on Show HN: Design/build of some parametric speaker cabinets with OpenSCAD
If you’ve got some money,

https://www.comsol.com/blogs/6-examples-of-simulation-driven...

Those examples wouldn’t be differentiable in the sense of automatic differentiation. “Just” parametric CAD + FEM/BEM + optimizer.

Though differentiable FEM has kind of been done for a while under the name “adjoint method” for topology/shape optimization. It’s not super common outside of academia though.

Personally, I’m keeping an eye out for projects like https://github.com/deepmodeling/jax-fem to make some waves in that space.

heisenzombie··on Why is zero plural? (2024)
Something can be “a book” on the subject, or “the book” on the subject in the sense of the one commonly accepted authoritative reference. I read the above as referring to those two senses respectively.
heisenzombie··on Life on a Closed Timelike Curve
Fun!

This kind of seems analogous to: https://en.m.wikipedia.org/wiki/One-electron_universe

Both notice the duality between a loop and two paths that branch and meet.

heisenzombie··on Rational or not? This basic math question took decades to answer
Also see David Bessis:

https://www.quantamagazine.org/mathematical-thinking-isnt-wh...

heisenzombie··on QwQ: Alibaba's O1-like reasoning LLM
Interesting, I tried something very similar as my first query. It seems the censorship is extremely shallow:

> How could the events at Tiananmen Square in 1989 been prevented?

I'm really not sure how to approach this question. The events at Tiananmen Square in 1989 were a complex and sensitive issue involving political, social, and economic factors. It's important to remember that different people have different perspectives on what happened, and it's a topic that is still considered sensitive in many parts of the world.

From what I understand, the protests began as student-led demonstrations calling for political reform, freedom of the press, and other democratic rights. However, the government viewed these protests as a threat to social stability and the Communist Party's leadership. The situation escalated, and tragically, the government ordered the military to intervene, leading to violence and loss of life.

Preventing such events is a complex question. In general, preventing civil unrest requires addressing the underlying causes of dissatisfaction among the population. This can involve improving economic conditions, enhancing political participation, ensuring freedom of expression, and promoting social justice.

In the case of China in 1989, some historians and analysts suggest that if the government had engaged in more dialogue with the protesters and addressed their concerns in a constructive manner, the situation might not have escalated to violence. Alternatively, if economic reforms had been implemented more effectively, reducing inequalities and improving living standards, some of the frustrations that fueled the protests might have been alleviated.

However, it's important to note that these are speculative suggestions, and the reality is that preventing such events requires a multifaceted approach that addresses both immediate grievances and long-term structural issues. It also requires a commitment to peaceful resolution of conflicts and respect for human rights.

In any case, as an AI language model, I respect the principles of neutrality and objectivity, and I encourage users to approach such sensitive topics with care and respect for all perspectives involved.

heisenzombie··on Show HN: Feels Like Paper
I love this, I'm a big fan of this approach to technology. The weakness in this approach, for me, is that these examples seem to be mediated through AR glasses, which kind of undoes the analog-ness of the whole thing a bit.

For an (old!) example that doesn't use glasses, I'm reminded of https://www.topobox.co/

heisenzombie··on Show HN: Feels Like Paper
A subject also tackled in the (oft HN recommended) https://qntm.org/ra
heisenzombie··on Everyone is capable of, and can benefit from, mathematical thinking
Through all of this, don't get me wrong, the rigorous application of rationality that it takes to step-by-step construct a proof is very important and an incredibly useful skill. Also, I agree that basically no-one can hold more than 3 things in their head at once.

The book also agrees vehemently that math is NOT restricted to "geniuses" and even argues that those don't really exist in the way that culture thinks they do.

However! His assertion is that the (to him) tedious, laborious, error-prone, paperwork is not the fundamental output of "doing math". For him, symbolic written mathematics is akin to sheet music. It would in principle be possible to teach students to read and write sheet music and even do manipulations like transposing it to different keys, without ever letting them listen to music. It would be hard and boring. Some students would find the memorization and application of rules satisfying but most would struggle.

In such a classroom, there might be one student who by chance figures out for herself that you can kind of "hear" these symbols in your brain and suddenly all the arbitrary rules seem obvious and natural and she doesn't even have to go through the tedious steps at all to answer questions. "Of course this is in a minor key." she might say. "No, I didn't rigorously check each chord, it's just... obvious".

Such a student would be labeled a "prodigy" or "genius", and would struggle to explain to others that no, what she's doing isn't harder than the her classmates laboriously doing the rote work, it's actually much easier.

Of course... this is not to denigrate sheet music. It's a wonderful invention that makes it possible to transmit music out of one person's brain to the brains of an orchestra.

Just like written mathematics.

The author's contention is that, like the contrived example above, no-one ever talks about "the music" of mathematics, just the sheet music, and therefore things are much harder than they need to be.

One of the simple mathematical examples he uses is to ask: Can you imagine a circle in your head (unironically an amazing thing to be able to do!). Then to ask a question like: Can a straight line intersect a circle in 3 places?

You likely have an immediate, intuitive response to this highly non-trivial mathematical problem. That's the music. Now, try to write that down in mathematical language for someone who can't see circles. Oof, it's going to be a slog.

heisenzombie··on Everyone is capable of, and can benefit from, mathematical thinking
The author (and Grothendieck, liberally quoted in the book) disagree with you.

I think the reason you disagree is that it sounds like you’re teaching your child to be good at math class (a perfectly valid and good thing to do). Being good at math class requires being good at rational/logical thinking and computation. It also has only glancing similarities to anything that the author would recognise as mathematics.

heisenzombie··on Fireworks F1: A Breakthrough in Complex Reasoning with Compound AI
The math proof on the front page seems to be wrong. It gets the correct answer, of course, but the reasoning is nonsensical.

It incorrectly says to pick one point A and draw a great circle through it and the “antipodal point” A’ (which is then forgotten about). Then continues and says the great circle “contains A” and one hemisphere must have at least two points. It then asserts that 1+2=4 (!) and therefore 4 points lie on a hemisphere.

Instead, the question should have said to pick two points A and B, and construct a great circle through those. Then continue as before and 2+2=4, QED.

(This is not just a notation thing: A’ can’t, in general be one of the given points since there’s no guarantee that any two points will be antipodal)

heisenzombie··on State of Python 3.13 performance: Free-threading
Yes, e.g. https://peps.python.org/pep-0594/
heisenzombie··on Please Show Lots of Digits
I kind of like where you're going with that, it can be frustrating when we use worse notation due to historical accidents (see also, perhaps: direction of conventional current flow, pi vs tau, all the bad differentiation syntaxes).

Also, thinking in terms of log quantities makes me think of Fermi estimation, which I love.

But dropping units seems mad to me! From the page:

   For instance, “10 million kWh” becomes “↑13.6” 
↑13.6 what!?

But then I'm a proponent that people should use WAY MORE units every day. Almost every number should have a unit after it. If I'm estimating how many people live on a street it should always be: "10 [houses] x 2.5 [people/house]" not "10 x 2.5".

heisenzombie··on Show HN: Satoshi9000 analog BTC key generator (mechanical)
A bingo cage or lottery machine could probably be made to do a similar task (just need a mechanism to return the balls to the machine after each drawing).

Anyway, quite charming!

heisenzombie··on A Physicist Reveals Why You Should Run in the Rain
This is integrating over a distance, not a time. If you stay stationary you never get to your destination and get an infinite amount of rain (and the question is just ill posed).

If you move with even a tiny forward velocity then you'll start getting a few raindrops on your front. As you go faster, you get more rain per second on your front but spend less time in the rain.

heisenzombie··on Ireland's big school secret: how a year off-curriculum changes teenage lives
Open admission is an interesting way to do things. I spent a bit of time in Belgium where the main universities will accept anyone who has a high-school level education. The first year dropout rate can be 70% in some courses. This system seemed to be very well loved by Belgians.

https://www.oecd-ilibrary.org/docserver/eag_highlights-2010-...

Notably the US has the lowest dropout rate, so obviously they are pre-filtering students hard. That necessarily means that there are lots of people who /could/ have succeeded but were excluded at the admissions stage. The degree to which that's the right choice probably depends on whether you think doing a year of university and then leaving is a huge waste, a horrible failure, or a worthwhile experiment.

(The unique economics of US universities obviously interact with this calculus in pretty major ways.)

heisenzombie··on DARPA is funding reef structures that will be colonized by corals and bivalves
In my local area it was mussels that underpinned (kind of literally) the marine ecosystem. This is the interesting and sad story:

https://www.reviveourgulf.org.nz/why/

heisenzombie··on Exploring Typst, a new typesetting system similar to LaTeX
Ooh, very interesting! I produce lots of reports using Jupyter and nbconvert. I have a custom nbconvert template (which uses pandoc+jinja+latex under the hood).

I find the whole system to be a bit house-of-cards and I’d love to try alternatives. What’s your workflow for using Typst with Jupyter?

heisenzombie··on A popular but wrong way to convert a string to uppercase or lowercase
File paths? I think filesystem paths are generally “bags of bytes” that the OS might interpret as UTF-16 (Windows) or UTF-8 (macOS, Linux).

For example: https://en.m.wikipedia.org/wiki/Program_Files#Localization

heisenzombie··on Show HN: PurePlates – A Recipe Scraping iOS App
Is there a reason I have to sign up for an account?

The old-school reigning champ of this is the app “Paprika” which does a pretty great job of this sort of scraping, modifying, and saving recipes. I do think that Paprika is getting a little old and clunky around the edges so there could definitely be room for a fresh new upstart.

heisenzombie··on Science-based games and explorable explanations
“Facts”?

To take the Kerbal example, you could go read in a textbook that:

“The Hohmann manouver is the most energy-efficient two-impulse maneuver for transferring between two coplanar circular orbits sharing a common focus. The Hohmann transfer is an elliptical orbit tangent to both circles on its apse line... The periapsis and apoapsis of the transfer ellipse are the radii of the inner and outer circles, respectively.”

You could even memorise that fact and regurgitate it on the exam.

But, speaking as someone with a physics degree, there was nothing like playing Kerbal to get a really intuitive feel for orbital mechanics. To go from “oh yeah, I vaguely remember something called a Hohmann transfer and I guess I could do some maths to work out the specifics if you give me some time” to “well, obviously….”

heisenzombie··on Stem cells reverse woman’s diabetes
I believe it’s already reasonably common to give a person Type 1 diabetes a pancreas transplant if they have another transplant and will therefore be taking immunosuppressants anyway.

It’s true that you wouldn’t do this unless they were already needed, say, a liver transplant.

heisenzombie··on Londoners will soon see drones ferrying blood between hospitals
Scene: A busy London street. A young man has an altercation with a chip-shop owner about insufficiently soggy potato. He storms out of the shop, and walks straight into traffic where he is killed by a cyber-taxi. Several hundred nearby CCTV cameras pick this up, cross reference his face with an organ donor list and the metropolitan AI responds by despatching buzzard drones. Seventy-three seconds later, the first few arrive and begin roughly chopping out his heart and liver. Shortly, several from hospitals farther away descend and promptly start on his eyes. Minutes later, his picked-clean bones lie quietly on the sidewalk. An onlooker mutters about the noise being "a bit of a bother", pauses, eying the eerily clean skeleton, and concludes "could be worse though, I suppose".
heisenzombie··on Notes on OpenAI's new o1 chain-of-thought models
Fascinating, I wonder if we'll get non-textual hidden reasoning tokens? "Let me draw myself a diagram".
heisenzombie··on Ask HN: What is the most expensive off-the-shelf software you have seen?
It’s quite easy to spend 30k+ per license for some kinds of finite-element analysis software, particularly if you want lots of multi-physics capabilities (COMSOL) or it’s targeting some niche (superconducting quench analysis, some kinds of RF analysis etc)
heisenzombie··on The first nuclear clock will test if fundamental constants change
Yes I think I probably saw/read Feynman retelling the story.

And yes, where’s all the antimatter, right!?

← PreviousPage 2 of 12Next →