Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Uncategorized
  3. Yesterday, I dug up some old computational #physics code and something wonderful happend: it worked!

Yesterday, I dug up some old computational #physics code and something wonderful happend: it worked!

Scheduled Pinned Locked Moved Uncategorized
physicsmatlaboctave
2 Posts 1 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Paul Cochrane 🇪🇺P This user is from outside of this forum
    Paul Cochrane 🇪🇺P This user is from outside of this forum
    Paul Cochrane 🇪🇺
    wrote last edited by
    #1

    Yesterday, I dug up some old computational #physics code and something wonderful happend: it worked! Out of the box. Wicked!

    I'd written some #matlab code back in ~2002 to solve the diffusion equation. Since I don't have Matlab anymore, I installed #octave and tried to run the code. Give it a go, see what happens. YOLO, and all that. And it ran without change! 😱 Even the plotting worked. I take my hat off to the Octave devs for ensuring such amazing compatibility. Thank you 😃

    Paul Cochrane 🇪🇺P 1 Reply Last reply
    1
    0
    • Paul Cochrane 🇪🇺P Paul Cochrane 🇪🇺

      Yesterday, I dug up some old computational #physics code and something wonderful happend: it worked! Out of the box. Wicked!

      I'd written some #matlab code back in ~2002 to solve the diffusion equation. Since I don't have Matlab anymore, I installed #octave and tried to run the code. Give it a go, see what happens. YOLO, and all that. And it ran without change! 😱 Even the plotting worked. I take my hat off to the Octave devs for ensuring such amazing compatibility. Thank you 😃

      Paul Cochrane 🇪🇺P This user is from outside of this forum
      Paul Cochrane 🇪🇺P This user is from outside of this forum
      Paul Cochrane 🇪🇺
      wrote last edited by
      #2

      Another thing that struck me was how fast everything ran. The code prints progress information so that the user knows something is happening while the calculation is running. At least, that was necessary back in the early 2000's, on a specialised "workstation". But, on my laptop yesterday, the progress text whizzed past so fast, I couldn't read it. It's no longer necessary. I know it's obvious, but computers are *so* much faster now. 🤯

      1 Reply Last reply
      0
      • R ActivityRelay shared this topic
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      Powered by NodeBB Contributors
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups