HNHacker News
TopNewBestAskShowJobs

tirutiru

11 karma · joined September 7, 2023

Former physicist turned i and j programmer. fingerslip at gmail
submissionscomments
tirutiru··on GPT-6 Astra Solves a WWI German Radio Cipher
Aah thanks for explaining that. I was wondering how a fake key could possibly help.
tirutiru··on Principia Mathematica is modern and insightful
I heard about St. John's from a twitter thread and find it deeply baffling.

It's as if a group of monks wanted to keep the quadrivium and trivium but their clock stopped at the 16th century. One of their faculty proudly said they study analysis by reading Descartes! Which I thought was a highbrow joke but nope, dead serious.

There's a reason that 'standing on the shoulders of giants' is a thing. Dive into the classics after you have gained the maturity from modern texts.

Take one of the easier problems from Rudin. Prove that a continuous function from the unit interval [0,1] to itself has a fixed point. I wonder how a student immersed in the 'classics' would even begin to tackle this.

tirutiru··on The Sylvester–Gallai Theorem
The boundary lines of the convex hull can easily have 3 points each. So not as obvious as all that.
tirutiru··on The Sylvester–Gallai Theorem
The Appolonius circle is a theorem in pure geometry. It is used in the 'method of images' in physics. And not just for ancient textbook problems either. I saw a paper in experimental fluid mechanics that builds up the intuition with images (2D incompressible flow). Appolonius live and kicking in the 21st century.

The Kochen-Specker theorem is interesting (if not useful). The proofs have a similar flavour to Sylvester. One tries to make a set of projections 'compatible' and it turns out to be impossible. Maybe there's a deeper connection.

tirutiru··on Optimization Solver as a Service
I work on vehicle routing for a living. Our routing engine is mostly original heuristics, no MIP.

The thrust of your remarks is correct IMO. We are forced to support a large number of granular constraints, too large for my comfort.

But no solver will deal with large 'global events'. That's just not its job. Different levels of decision making altogether.

My email is in my profile. Would be happy to hear more.

tirutiru··on Optimization Solver as a Service
I'm curious too. And what are the far better alternatives in your opinion?

Hexaly claims to go far beyond MIP. Amazon uses it for packing VMs into servers. This video by one of their research scientists was widely circulated at the time [1].

I work on combinatorial optimization too but a specific problem so we write the heuristics from scratch. Seems exact solvers are doing a lot more these days?

[1] https://www.youtube.com/watch?v=GIh6d3rb0_4

tirutiru··on Claude Fable 5: mid-tier results on coding tasks
How did you straighten it out?

I am drowning in gating propagating semantic mismatches...

tirutiru··on CUDA Books
It's a bit confusing now with Numba Cuda also being officially maintained by Nvidia. Also Cuda Python, which looks older.

Which of these - warp, numba, cp, is the best bet for a beginner?

https://nvidia.github.io/numba-cuda/

https://developer.nvidia.com/cuda/python

tirutiru··on Profiling.sampling – Statistical Profiler
I wrote a logistics optimization program (think travelling-salesman++) in Python and it gradually took over from the v1 version written in Java.

People generally compare "speed of execution" to "speed of coding".

I'll add "speed of troubleshooting". When something goes wrong and the clock is ticking, you need tools to identify quickly if the data is inconsistent, a config set wrongly or the algorithm stuck at a local optimum. And then decide if things can be mitigated with a patch or we should we grovel and buy time from the client... All of this is much easier in Python (bar the grovelling).

LLMs are changing things though. I recently ported a complex part of the kernel to C++. 90% of it was creating the scaffolding before the actual algorithms were ported. Very tedious work but Claude can just chug through. Wouldn't like to maintain it just yet.

tirutiru··on Ask HN: We just had an actual UUID v4 collision...
I did not. Post-conditioning by your comment and the other one,I can see some signs such attempting to be unusually comprehensive. The 'atoms in your liver' could be an awkward human trying to be poetic about scales.

I still don't see idiomatic markers of AI so that's scary if your claim is correct.

tirutiru··on Sam Altman may control our future – can he be trusted?
I can roughly guess the train of thought and I am a bit surprised that Claude is failing you.

That said, I am puzzled at the algorithms that Claude & GPT "get" and ones that they do not.

(former physicist here. would love to know the kind of things you're working on. email on my profile)

tirutiru··on How to check for overlapping intervals
I wonder how many completely u related applications have that interval check logic coded up somewhere. I'm pretty sure I wrote one for my work codebase. Would I bet my life that the < and <=s are correct? Nope.
tirutiru··on Solving a wooden puzzle using Haskell
Yes that's a brilliant article. I do not think it is in the book yet?

I used a poor man's version to solve a puzzle where one arranges polymino pieces on a grid spelling out the date [1]. No pointers, just keeping track of deleted rows and columns in the recursion.

It is not at all obvious that all 366 days can be solved. To my dismay all of them can be solved in multiple ways - as a human I find some days quite tricky.

[1] https://metterklume.github.io/puzzle/2024/12/24/calendar-puz...

tirutiru··on YouTube No Translation
Hey I am trying to get back into German. What are some of the good channels that you've found? I remember Fokus Deutsch.

Spent 4 years in Germany but never took a course out of sheer laziness. I can read children's books but every native speaker sounds like they are zipping along at 2x speed.

tirutiru··on Ricochet Robots Solver
Ah this is great.

I wrote my own solver in Python+Numba. You've probably seen Robot Reboot https://www.robotreboot.com/challenge. I had a parser that could take a screenshot of the daily puzzles and feed them into my engine. Your post might just give me the kick in the pants to put it up online.

Curious if think this made you better at RR. I started out absolutely terrible, and actually got to the point where I could occasionally match the best scores on Reboot (but not their times of course!).