walkerb, to vscode

I recently installed Fortran and wrote a program in it for fun.

VSCode had an extension for it, which provided syntax highlighting and intellisense.

For some reason it did not come with build and launch commands configured. So I spent some time a little earlier figuring them out.

Put it into a video I hope others find helpful.
#vscode #Fortran

Showing how to add build and launch tasks to VS Code

walkerb, to random

Was talking to friends earlier about how #Fortran was now an in demand skill again.

I worked in it years ago writing real programs that worked out orbits and radioactive decay.

Three decades later I blew the dust of my brain with my now usual version of Hello World - the Leibniz algorithm.

Felt a lot like working in a longhand version of Python.

Interesting the speed is comparable with Java coming in at 56ms.

Yeah this is what I do for fun...

nolan, to random
@nolan@toot.cafe avatar

Updating node dependencies is a full-time job.

Are other ecosystems this bad?

ArneBab,
@ArneBab@rollenspiel.social avatar

@nolan And readonly is still just a shadow of what #Fortran has been supporting for decades: https://www.draketo.de/english/free-software/immutable-java-js-fortran

It often feels like in actual features we’re regressing, because we get blinded by cool modern features and follow them too far, losing the balance needed to stay in a sweet spot.

mucephie, to random

I was forced to make the full time switch to Linux last year by Microsoft's dull policies around hardware requirements for Windows 11 (Windows 10 was also no longer an option). I had dipped my feet into trying linux over the years, but I guess I wasn't ready until MSFT pushed me. Now I can say that I will never look back and I'm super happy to see some of my friends and coworkers in physics/astronomy talking about making the switch with me after seeing how it's going for me.

mucephie,

I want to contribute to other #FOSS projects in my spare time as well, and of course make some friends along the way.
Does anyone have any recommendations?

I have alot of experience in #physics #astronomy #astrophotography #raspberrypi #python #jupyter #telescopes and I have a comfortable amount of experience with #javascript #C++ #Fortran #julia #arduino #stem etc. But I'm willing to step outside my comfort zone to learn other things

thomasfuchs, to random
@thomasfuchs@hachyderm.io avatar

“Haha lol banks use 60 year old programming languages!”

Yes, young whippersnapper, that’s because they need things to be reliable and not change all the time, the code probably has to run for another 60 years.

“Modern” devs could learn a lot from not trying chase every trendy new framework and every shiny new programming language.

MoonshotErin,
@MoonshotErin@mstdn.social avatar

@thomasfuchs truth.

A neighbor of mine wrote & maintained a payroll system written in for 110,000+ employees until she retired after 50 years there.

Her last programming task was writing, migrating and documenting the replacement system she wrote when she was hired in C++

Andbaker, to science
@Andbaker@aus.social avatar

I published my first academic paper thirty years ago.

Overnight, a researcher contacted me to ask if I had the data for the main figure in the paper so that they could reproduce it.

Could I help? The data was from the time before Windows, 5.25-inch floppy discs, and graphs sent from a Unix environment directly to a printer for redrawing for publication by a cartographer.

You bet! In my archive, there was the original input data and code (Fortran77). And now shared.

#academia #publishing #science #research #HigherEd #caves #climate #academicchatter #Fortran #datascience

edbott, to random
@edbott@mastodon.social avatar

I am old enough to remember when Gmail invite codes were scorching hot.

zyz,
@zyz@mas.to avatar

@edbott you wouldn’t happen to remember when #Amazon was just an online bookstore, would you?😅
(or #FORTRAN?)

#FeelingOld

qlp, to random
@qlp@linh.social avatar

The Skills Gap For #Fortran Looms Large In HPC

https://www.nextplatform.com/2023/05/02/the-skills-gap-for-fortran-looms-large-in-hpc/

Linked in the article is a paper titled "An evaluation of risks associated with relying on Fortran for mission critical codes for the next 15 years" from Los Alamos National Laboratory:

https://permalink.lanl.gov/object/tr?what=info:lanl-repo/lareport/LA-UR-23-23992

chemoelectric, to science
@chemoelectric@masto.ai avatar

Here is another #RosettaCode entry, in a dialect of Lisp that annoys me a whole lot, with compilers whose error messages make #ATS error messages look easy, but which I insist on using for these tasks, just the same:

Xiaolin Wu's line algorithm - Rosetta Code https://rosettacode.org/wiki/Xiaolin_Wu%27s_line_algorithm#Common_Lisp

I did some #math this time. It’s a catenary (the curve of a loosely hanging rope) made by drawing lines perpendicular to a tractrix. (The tractrix itself is not depicted.)

chemoelectric,
@chemoelectric@masto.ai avatar

Here is a similar program in #Fortran -- which to me is NOT annoying, as long as I am not trying anything really difficult:

https://rosettacode.org/wiki/Xiaolin_Wu's_line_algorithm#Fortran

#RosettaCode #math #GraphicsProgramming #ellipse #evolute

labarba, to random
@labarba@fosstodon.org avatar

Interesting report: "An evaluation of risks associated with relying on Fortran for mission critical codes for the next 15 years," Los Alamos National Lab. Finds that it's very likely they will be unable to staff #Fortran projects with top computer scientists/engineers, and even chance they can get computational scientists…

Link to PDF: https://permalink.lanl.gov/object/tr?what=info:lanl-repo/lareport/LA-UR-23-23992

JensHannemann,
@JensHannemann@mastodon.online avatar

@labarba Real programmers™️ can write #Fortran in any language. 😇

aka_pugs, to random
@aka_pugs@mastodon.social avatar

TIL: Even if you couldn't afford disk OR tape for your IBM 360, you could still get an all-card OS and Fortran IV too! (1966). Punched cards were a primary storage medium -- until well into the 70s, a box of punched cards was way more memory than most machines had as core. 2000 cards * 80 bytes = 160K #ComputerHistory #Fortran

vmagnin, to random
@vmagnin@floss.social avatar

You can try #Fortran with online #compilers:

Infrapink, to linux

So apparently I was supposed to make an post. Oh well, better late than never.

I'm an early , and I'm further left that most people on most issues.

I use /, currently satisfied with .

Also a big guy because all have sinned and fall short of the perfection of .

I'm a somewhat active contributor and I sporadically work on a converter written in 93% and 7% .

I'm pretty obsessed with calendars.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines