Readit News logoReadit News
stormfather commented on Ultrathin business card runs a fluid simulation   github.com/Nicholas-L-Joh... · Posted by u/wompapumpum
raincole · 6 months ago
Off topic, but where should one start learning writing physical simulation?

Several years ago I ran into this project [0] and got overwhelmed even the algorithm can be written in 88 lines of C++. I realized that out of all CS topics, physical simulation is probably the one I knew the less (not saying I'm a compiler/database expert or something, but at least I've implemented a toy compiler and some basic data structures used in database. When it comes to physical simulation my bran just draws a blank.)

[0]: https://github.com/yuanming-hu/taichi_mpm

stormfather · 6 months ago
Just go to Perplexity or something like that, its well trodden ground. And essentially, what you're doing is discretizing the relevant differential equations and getting that to run in a 2D or 3D cellular automaton.

I'll give you a simple example. For diffusion of heat between 2 points, the rate of change (first derivative) is proportional to the difference in temp between them. So you make an update rule for points on a grid that says "calc the average difference of a cell's temp with that of its neighbors, multiply by some constant, and that is the amount to update this cell at this time. Run that for every cell in parallel, many times." Then you tack on a visualization and you can watch the heat diffuse. A fun example would be the cooling of the proto-Earth. You can watch the crust form.

Heat diffusion is a good starter problem. So is gravitational interaction.

stormfather commented on Why U.S. dominance at sea is shrinking   washingtonpost.com/opinio... · Posted by u/Lyngbakr
stormfather · 7 months ago
The entire model of sea-borne power projection has changed. What does it mean when hypersonic missiles can be fitted with optical sensors to autonomously target ships? It means carriers now are about as useful as battleships in WW2. Nobody knows who can dominate which parts of the world ocean anymore.
stormfather commented on Grok 4 Launch [video]   twitter.com/xai/status/19... · Posted by u/meetpateltech
rpozarickij · 7 months ago
Grok's updated voice mode is indeed impressive. I wish there was a way to disable automatic turn detection, so that it wouldn't treat silence as an end of the response. I like Claude's approach (you need to tap in order to end the response), but it's not very reliable because sometimes it just abruptly cuts my response without waiting until I tap.

I was pleasantly surprised that Grok even supports (to some degree) Lithuanian in voice mode, which is a quite niche language. Grok's responses themselves are alright, but ChatGPT and Gemini way surpass it in speech recognition and speech synthesis.

stormfather · 7 months ago
I find for auto turn detection, models work better if you put in the system prompt "if it seems the user hasnt completed their thought yet, output silence". This hack works around their compulsive need to output something.
stormfather commented on When the digital nomad dream turns sour   theguardian.com/money/202... · Posted by u/robaato
vram22 · 7 months ago
Anyone here done it differently and better?
stormfather · 7 months ago
I lived with a host family in Lima for 9 months on their roof. They treated me like a son. Extreme tourism.
stormfather commented on Ask HN: What's the 2025 stack for a self-hosted photo library with local AI?    · Posted by u/jamesxv7
stormfather · 7 months ago
I would try the Qwen models before LLaVa

Do you need the embeddings to be private? Or just the photos?

stormfather commented on IDF officers ordered to fire at unarmed crowds near Gaza food distribution sites   haaretz.com/israel-news/2... · Posted by u/ahmetcadirci25
yoavm · 7 months ago
Genuinely wondering what terrible effects would there be for Israel if they used nukes? Not morally, internationally. IMO it's perhaps one of the few conflicts in the world where one side could theoretically use nuclear weapons and essentially no one will shoot back. "Trickle the deaths over time" doesn't make any sense - there are probably more births in Gaza than deaths now, and that's not including the general Palestinian population.
stormfather · 7 months ago
The point is to colonize Gaza, they won't irradiate it first.

Dead Comment

stormfather commented on IDF officers ordered to fire at unarmed crowds near Gaza food distribution sites   haaretz.com/israel-news/2... · Posted by u/ahmetcadirci25
stormfather · 7 months ago
Netanyahu, when addressing the troops, even said "Do not forget what Amalek has done to you", invoking the memory of the biblical commandment to genocide the Amalekites.

u/stormfather

KarmaCake day390June 6, 2022View Original