Python asyncio critique
#Python 3 has managed to clean up a lot of historic baggage, only to add new pain points like the #asyncio implementation. 😫 Futures and tasks are kind of the same, but not? Refactor a lot of code to get it working, only to get a code which runs sequentially!
> Fortran expressions don't bind exactly like C's do. Watch out for exponentiation with **, which of course C lacks; it binds more tightly than negation does (e.g., -2**2 is -4), and it binds to the right, unlike what any other Fortran and most C operators do; e.g., 2**2**3 is 256, not 64.
Advent of Code: day 2
Once again #Python + #Fortran. This one was a bit tricky, and I understood how the power of Python in part two. Suddenly the problem demanded scanning a parameter space for a desired output. Painful in Fortran, smooth like butter in Python 😎
Advent of Code: Day 1
Ph.D in #FluidMechanics
Posts expire every 16 weeks.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!