frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Find SF parking cops

https://walzr.com/sf-parking/
467•alazsengul•5h ago•273 comments

Qwen3-VL: Sharper Vision, Deeper Thought, Broader Action

https://qwen.ai/blog?id=99f0335c4ad9ff6153e517418d48535ab6d8afef&from=research.latest-advancement...
92•natrys•2h ago•18 comments

Libghostty is coming

https://mitchellh.com/writing/libghostty-is-coming
480•kingori•9h ago•136 comments

From Rust to reality: The hidden journey of fetch_max

https://questdb.com/blog/rust-fetch-max-compiler-journey/
53•bluestreak•2h ago•8 comments

Markov chains are the original language models

https://elijahpotter.dev/articles/markov_chains_are_the_original_language_models
219•chilipepperhott•4d ago•94 comments

YouTube says it'll bring back creators banned for Covid and election content

https://www.businessinsider.com/youtube-reinstate-channels-banned-over-covid-content-policies-2025-9
160•delichon•3h ago•212 comments

Kitty – GPU based terminal emulator

https://sw.kovidgoyal.net/kitty/
18•andsoitis•3d ago•8 comments

Getting AI to work in complex codebases

https://github.com/humanlayer/advanced-context-engineering-for-coding-agents/blob/main/ace-fca.md
181•dhorthy•8h ago•197 comments

Go has added Valgrind support

https://go-review.googlesource.com/c/go/+/674077
451•cirelli94•13h ago•118 comments

How to draw construction equipment for kids

https://alyssarosenberg.substack.com/p/how-to-draw-construction-equipment
69•holotrope•4h ago•29 comments

Context Engineering for AI Agents: Lessons

https://manus.im/blog/Context-Engineering-for-AI-Agents-Lessons-from-Building-Manus
22•helloericsf•2h ago•1 comments

Launch HN: Strata (YC X25) – One MCP server for AI to handle thousands of tools

110•wirehack•8h ago•58 comments

Is Fortran better than Python for teaching basics of numerical linear algebra?

https://loiseaujc.github.io/posts/blog-title/fortran_vs_python.html
33•Bostonian•3h ago•34 comments

From MCP to shell: MCP auth flaws enable RCE in Claude Code, Gemini CLI and more

https://verialabs.com/blog/from-mcp-to-shell/
110•stuxf•8h ago•30 comments

Always Invite Anna

https://sharif.io/anna-alexei
549•walterbell•7h ago•52 comments

Apple A19 SoC die shot

https://chipwise.tech/our-portfolio/apple-a19-dieshot/
59•giuliomagnifico•4h ago•28 comments

Show HN: Ggc – A Git CLI tool written in Go with interactive UI

https://github.com/bmf-san/ggc/releases/tag/v6.0.0
12•bmf-san•3d ago•0 comments

Is life a form of computation?

https://thereader.mitpress.mit.edu/is-life-a-form-of-computation/
46•redeemed•2h ago•45 comments

consumed.today

https://consumed.today/
135•burkaman•4h ago•27 comments

Mesh: I tried Htmx, then ditched it

https://ajmoon.com/posts/mesh-i-tried-htmx-then-ditched-it
158•alex-moon•11h ago•105 comments

Podman Desktop celebrates 3M downloads

https://podman-desktop.io/blog/3-million
21•twelvenmonkeys•2h ago•0 comments

Denmark wants to push through Chat Control

https://netzpolitik.org/2025/internes-protokoll-daenemark-will-chatkontrolle-durchdruecken/
180•Improvement•4h ago•85 comments

Triple Buffering in Rendering APIs

https://www.4rknova.com//blog/2025/09/12/triple-buffering
21•ibobev•3d ago•1 comments

Shopify, pulling strings at Ruby Central, forces Bundler and RubyGems takeover

https://joel.drapper.me/p/rubygems-takeover/
392•bradgessler•8h ago•252 comments

Zip Code Map of the United States

https://engaging-data.com/us-zip-code-map/
80•helle253•8h ago•82 comments

Android users can now use conversational editing in Google Photos

https://blog.google/products/photos/android-conversational-editing-google-photos/
114•meetpateltech•6h ago•105 comments

Show HN: The Blots Programming Language

https://blots-lang.org/
33•paulrusso•4d ago•9 comments

Zinc (YC W14) Is Hiring a Senior Back End Engineer (NYC)

https://app.dover.com/apply/Zinc/4d32fdb9-c3e6-4f84-a4a2-12c80018fe8f/?rs=76643084
1•FriedPickles•11h ago

Getting More Strategic

https://cate.blog/2025/09/23/getting-more-strategic/
147•gpi•10h ago•20 comments

Structured Outputs in LLMs

https://parthsareen.com/blog.html#sampling.md
192•SamLeBarbare•12h ago•84 comments
Open in hackernews

Is Fortran better than Python for teaching basics of numerical linear algebra?

https://loiseaujc.github.io/posts/blog-title/fortran_vs_python.html
33•Bostonian•3h ago

Comments

Bostonian•3h ago
A follow-up post is https://loiseaujc.github.io/posts/blog-title/jacobi_experime... "Jacobi method: From a naïve implementation to a modern Fortran multithreaded one".
stathibus•3h ago
If you are unwilling to teach through python's warts you should use Matlab, not fortran.
dubya•3h ago
I’d suggest Octave over Matlab, because current Matlab has tons of distracting AI and autocomplete front and center. Probably really helpful for getting a plot just right or implementing an algorithm from a paper, but not so good for learning the basics.
goerz•2h ago
Even better: Julia (although Fortran is pretty good!)
QuadmasterXLII•2h ago
I love julia, but the default workflow is

Step 1) Write the function using high level abstractions Step 2) Glance over the generated assembly and make sure that it vectorized the way you wanted.

mofeing•2h ago
> Glance over the generated assembly and make sure that it vectorized the way you wanted.

Isn't that sth you would also need to do in Fortran? IMO Julia makes this so easy with its `@code_*` macros and is one of the main reasons why I use it.

wtcactus•2h ago
In my experience, Fortran compiler is heavily optimized. It competes head to head with C.

Julia’s on the other hand, many times puts out very unoptimized code.

Mind you, last time I looked at Julia was 2-3 years ago, maybe things have changed.

patagurbon•15m ago
If you write Julia similar to Fortran, with explicit argument types and for loops and avoiding allocations it shouldn’t be too far off. Fortran IIRC has a few semantics which might make it more optimal in a few cases like aliasing

But indeed there are almost certainly less performance surprises in Fortran

adgjlsfhk1•2h ago
I translated the jacobi example to julia, and it does seem to address every one of his gripes with Python.
kergonath•2h ago
Fortran is much more approachable and more regular than Matlab. Really, there’s no contest.
a-dub•2h ago
this is the way. octave or matlab.

people like to complain about matlab as a programming language but if you're using it that way you're doing it wrong.

matlab (the core language) is awesome for expressing matrices and vectors and their operations as well as visualizing the results. matrix expressions in matlab look almost identical to how they look in mathematical notation (or how one might write them in an email). you shouldn't be using programming language flow control (or any of the other programming language features), you should be learning how to write for loops as vector and matrix operations and learning from the excellent toolboxes.

QuadmasterXLII•2h ago
Am I crazy or is the Jacobi iteration flipping the sign of u every iteration?

Also the swapping of u and tmp doesn't work like that in python. Might in fortran.

patagurbon•2h ago
The post dismisses Julia quite quickly, especially since it is a language essentially purpose built to teach numerical linear algebra. Numerical methods is taught in Julia in at least a dozen universities I'm aware of, including MIT.

Unicode support and a few other syntax niceties make translation from the blackboard to the editor nice and clean. Fortran is great but legibility and easy tooling like (reproducible) package managers are paramount in teaching

noobermin•2h ago
Saying fortran is not legible is not an argument that holds water against fortran 90. I don't want to be uncharitable but I don't know how anyone can have this opinion unless they just don't have much familiarity with it.
jcranmer•1h ago
A large share of the illegibility of Fortran code is actually just the aversion of numerics code to having meaningful variable names.
patagurbon•19m ago
I didn’t say it was illegible. I said legibility is paramount, and I don’t think it makes the right trade offs in that regard to be a great teaching language

It’s far more legible for numerics than a lot of languages, Julia was just driven in large part by teaching mathematics at mit and I think that shows

abdullahkhalids•2h ago
My scientific computing journey was

- Matlab in the first few science lab courses + first CS course.

- C++ in second CS course

- Fortran for the scientific computing course

I found Fortran worse than matlab. The error messages were difficult to parse, and it was much more difficult to do step through debugging like in matlab.

But later I learned Python, and now use it professionally to do scientific computing, and I would give anything to go back to Fortran. Or use Rust or Julia. Or if Wolfram/Mathematica if that was possible. Anything but Python.

The fundamental problem with Python is that all the math is hacked into it, unlike Julia/Matlab/Mathematica where the math takes first priority and other values are secondary.

naijaboiler•2h ago
correct. Python is a general purpose language pretending to speak math.
bluedino•1h ago
What are the obstacles in your using Fortran (or Rust or Julia) in place of Python?
abdullahkhalids•1h ago
Many other researchers I work with have almost no programming experience outside of Python or other high-level languages. Switching to Fortran or Rust will significantly slow down our work for at least an year or two while people catch up.

Julia would be easier to switch, but it's still months of work to port over existing libraries.

noobermin•1h ago
May be you learned all of these extremely recently before for decades I would definitely say C++ error messages were far worse than anything a fortran compiler has ever barked at me for. The bad days are definitely over but I still think C++ template errors can still be the thing of horrors even today. I know you compared matlab to fortran but you even said you took C++ just prior to this and I'm amazed that didn't harden you for anything gfortran/ifort would throw at you.
tomrod•2h ago
Fortran, Octave, or Julia are excellent for learning linear algebra.

This was the path I took, before going to Python, Go, and Rust.

criddell•2h ago
Fortran is not a better choice unless you are only thinking about the immediate needs of the course. In the wider world, Python is going to be a lot more useful to the students.
cultofmetatron•19m ago
if you're smart enough to learn fortran and learn to impliment and undersatnd numerical methods in it, I would argue that learning python will be an afterthought. You can learn python along with numpy in a week tops if you already understand the theory. I believe a lot of numpy libs are written in fortran code anyway though I could certainly be wrong there.
noobermin•2h ago
So, the OP is an actual educator whereas I've only really advised grad students or undergrads. I'm surprised being exposed to any new language doesn't come with it's "whys" for students. Like why should we care about type safety anyway? Or why not loop over all indices, why use (:) for some of them? May be I'm not really convinced that the whys from students in a python class are worse than the whys in fortran. Honestly, if there is some compiler option for turning on implicit none by default, I'd just do that too just to get people in the door as that too feels like more confusion than it's worth keeping, although they do need to learn what it means before they leave.

Also, the downside is fortran does not have nice plotting capabilities without an external tool. At least I know of no nice libraries like matplotlib, which again is a point in just teaching them a more general purpose language from the get go to get used to it so they can plot and code in the same language...or perhaps, matlab/octave et al as others suggested. I feel like the niceness of fortran (namely, well defined type safe function/subroutine interfaces and easy path to writing performant code) that isn't offered by python is only useful after the first threshold of learning to put algorithm to paper. The literally second (and arguably for some fields, even more important) task of actually plotting results doesn't have the same convenience as the intrinsic procedures in fortran, whereas if they had learned julia or python, these tools would be at the very least be at the same convenience level of the array facilities, essentially behind a rather easy[^] to use library. In fact, in julia, you're already mostly there although it's not my cup of tea. Perhaps the answer is julia after all.

Does OP's courses just use an external program (like gnuplot) or a black box to plot?

[^] easy to use once you know how to program a little, of course.

shakna•1h ago
Fortran has a few nice plotting libraries. [0] Including matplotlib.

Personally, I've only used ogpf, which is a single-file library, making it easier to run for beginners.

[0] https://fortran-lang.org/packages/graphics/

noobermin•1h ago
I did a cursory scan and some of these seem not my cup of tea, but honestly ogpf looks rather pleasant for quick plots. Thanks! I might use this.

That said, the point of these being external libraries and thus making them a bit less convenient still sort of stands, as being external libraries means you need to link them which exposes more CS tier stuff (installing libraries, make files, etc) that distracts from just learning codes, which again just motivates using a tool that abstracts some of that behind a managed package and library system.

I'm assuming you could use things like lfortran in jupyter which I imagine might allow these things to be bundled, although I haven't followed that effort as of late.

pklausler•17m ago
What language does have built-in plotting capabilities that don't depend on external libraries?
dgacmu•8m ago
Language vs system with a language?

Mathematica, matlab, maple, octave, etc.

veqq•1h ago
APL is better, obviously. There are even dozens of textbooks for teaching math with its notation.
constantcrying•1h ago
It seems pretty clear to me that the best language to use for numerical linear algebra is the language you know and a good curriculum would be structured in a way where your first encounter with a language is not a course where the choice of language is nearly irrelevant.
randomNumber7•1h ago
I think fortran would be cool if they program it by hand on punch card and the teacher then executes these to check the programs. Like in the very early days of programming where you had to submit these punch chards and wait until they get executed on the mainframe by an operator.
toolslive•45m ago
> No off-by-one error – By default, Fortran uses a 1-based indexing. No off-by-one errors, period.

I'm with Dijkstra on this one. https://www.cs.utexas.edu/~EWD/transcriptions/EWD08xx/EWD831...

dkga•23m ago
I personally think R and Julia are much better at this.