Live data from Hacker News

Viewing profile — markstock

markstock

HN member
Joined
Sun, Sep 08, 2024, 9:48 PM UTC
HN karma
46
Public activity
41 items

About markstock

HPC engineer, artist, designer

Recent public activity

  1. comment
    Comment #49140904

    The nice thing is that every gpu is like a little distributed-memory machine, and programming it for optimal memory locality (registers, shared, global) and bandwidth is an essenti…

  2. comment
    Comment #49122376

    The author is spot on. As an HPC performance engineer and computational artist, I could tell numerous stories about it, but I'll summarize three: The common method for evaluating M…

  3. comment
    Comment #49015828

    Please don't call this "full N-body dynamics" if only the outer planets are involved in the integration.

  4. comment
    Comment #48991940

    My go-to rule that's held since 2008 has been that a GPU can do about 10x the math that a similarly-priced CPU running properly optimized code can. My 5070Ti can realize about 20 T…

  5. comment
    Comment #48991596

    There have been polls. The AI hate thing is almost exclusively a USA thing.

  6. comment
    Comment #48555093

    Generative artist here: the beautiful thing about this exploration is that these techniques can be applied to ANY vector field, whether they originate in random noise or global sim…

  7. comment
    Comment #48407498

    Yes, I do 4th order interpolation (M4') on the GPU. This paper is for 3rd order, though, but the methods may extend. I suppose because the fetches are generally to similar memory r…

  8. comment
    Comment #48407335

    I should add that this is a major "tell" for detecting when an app uses the Stable Fluids method: obvious mass loss (and very viscous, energy-dissipating flow).

  9. comment
    Comment #48407285

    People who run WSL are not normal users. The filesystem problems make Windows+WSL feel like a Trabant when you're used to a Porsche.

  10. comment
    Comment #48407262

    Because Windows is the operating system of Not Getting Fired. Fear is a stronger motivator than creativity or productivity.

  11. comment
    Comment #48407242

    On the other side, I am a lifelong Linux user, and even with advanced LLMs, trying to get Microsoft Windows to behave sanely takes hours every month for years on end (thanks, day j…

  12. comment
    Comment #48338463

    Before you go adding vorticity confinement, consider performing a higher-order backward advection scheme (Runge-Kutta 2nd or similar), and using a higher-order interpolation method…

  13. comment
    Comment #48338426

    You are correct: Stable Fluids extends to 3d relatively easily.

  14. comment
    Comment #48338410

    One of the nice aspects of Stable Fluids is that you don't need to iterate the pressure correction terms to convergence. Just run a fixed number of Jacobi or Gauss-Seidel sweeps an…

  15. comment
    Comment #47642787

    Then you want Foundations of Multidimensional and Metric Data Structures by Samet. Unless you already have it, then enjoy some pretty (organic) trees.

  16. comment
    Comment #46365931

    Sure, I usually measure performance of methods like these in terms of FLOP/s; getting 50-65% of theoretical peak FLOP/s for any given CPU or GPU hardware is close to ideal.

  17. comment
    Comment #46354543

    Quadtrees and octrees are themselves quite deep research areas. If the acceleration data structures interest you, I highly recommend Hanan Samet's book "Foundations of Multidimensi…

  18. comment
    Comment #46354518

    Note that even without an acceleration structure ("direct summation" in N-body research terminology), a CUDA program or GLSL shader program can exceed 60 fps with 10,000 to 20,000 …

  19. comment
    Comment #46354500

    The general algorithm used here (of computing attraction and repulsion forces between pairs of particles) is very similar to that used in simulations of many interesting phenomena …

  20. comment
    Comment #46354458

    Thank you - I was just about to point out some of that. The reason that the flocks are tight is because the separation "force" is normally computed as a repulsion between a target …

  21. comment
    Comment #45190053

    Just a few volumes from my bookshelf related to this: Network Analysis in Geography, Haggett and Chorley Cities and Complexity, Batty Urban Grids, Busquets et al

  22. comment
    Comment #45189974

    Let's be a little more clear: these are not "laws" as much as they are scaling relationships, this is not "new math" (see Ziph and others), and central planning has always had an i…

  23. comment
    Comment #45171588

    Something doesn't add up here. The listed peak fp64 performance assumes one fp64 operation per clock per thread , yet there's very little description of how each PE performs 8 flop…

  24. comment
    Comment #45167476

    Exactly this. Whenever I talk about how I got started in computer art over 40 years ago, I always mention the fact that a screen back then was a one-way device: TV network to you. …

  25. comment
    Comment #45088859

    Yes, this appears to use Stam's Stable Fluids algorithm. Look for the phrases "semi-Lagrangian advection" and "pressure correction" to see the important functions. The 3d version s…