Sami Badawi's Avatar

Sami Badawi

@samibadawi.com

Coder monkey πŸ’ - aerospace amateur πŸš€

728
Followers
103
Following
231
Posts
19.10.2024
Joined
Posts Following

Latest posts by Sami Badawi @samibadawi.com

Wrote my first blog post in 5 years.

Now it is common to just read the web search AI summary.

But nice robots πŸ€– might appreciate my post, and summarise it for πŸ‘¨β€πŸ‘¨β€πŸ‘§ real people, like myself.

Maybe it's effective knowledge sharing πŸ€”
but I felt different and a little alienated while writing πŸ«₯

26.01.2026 21:17 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I remember F# could do some magic things with type providers.

haskell-effectful looks very cool.

Thanks for the links

26.01.2026 20:20 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Competitive Pure Functional Languages

I've used @haskell.org, Lean 4 and @unison-lang.org for a while. I'm impressed by improvements, but many languages have good FP features now. Wrote blog post

Competitive Pure Functional Languages.

blog.samibadawi.com/2026/01/comp...

Looking for niches where pure FP is better than OOP FP language

26.01.2026 11:12 πŸ‘ 10 πŸ” 1 πŸ’¬ 1 πŸ“Œ 0
Post image

Scala 3.8 is here! A major release modernising the ecosystem and paving the way for Scala 3.9 LTS.

Highlights:
- Standard library compiled by Scala 3
- Better Fors & runtimeChecked stabilized
- New experimental features
- Update to JDK 17+

🧡 Let's dive in...

22.01.2026 17:01 πŸ‘ 12 πŸ” 5 πŸ’¬ 1 πŸ“Œ 0
Pressure test controlled by failing Arduino Mega

Pressure test controlled by failing Arduino Mega

Scary microcontroller bug πŸ›

Arduino Mega just died during pressure test, with 80 bars of pressure on the tank πŸ˜…

18.01.2026 17:10 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Rewriting dataframes for MicroHs My fondness for alternative Haskells

Documentation is sparse, but here is an example project that uses MicroHS.

mchav.github.io/rewriting-da...

29.12.2025 14:17 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
MicroHs, a tiny Haskell Compiler – Lennart Augustsson (Language Pioneer & Compiler Expert)
MicroHs, a tiny Haskell Compiler – Lennart Augustsson (Language Pioneer & Compiler Expert) YouTube video by OST – Ostschweizer Fachhochschule

#MicroHS is a self hosting #Haskell compiler in 0.4 MB. 🀯

It makes 100x smaller binaries that run 5x to 10x slower.

Worked out of the box and compiles really quickly. Language extensions included.

GHC and Cabal are great but take up 4 GB.

www.youtube.com/watch?v=SJwv...

29.12.2025 14:17 πŸ‘ 4 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
A History of Effect Systems – Tom Ellis (Groq, Bluefin)
A History of Effect Systems – Tom Ellis (Groq, Bluefin) YouTube video by OST – Ostschweizer Fachhochschule

Tom Ellis presents

A History of Effect Systems

and pitches his new Bluefin #Haskell effect system.

Algebraic effect systems are normally nice, but complex.

#Bluefin is simple. You make handles to the effects you need.
Works for pure and IO.

www.youtube.com/watch?v=RsTu...

27.12.2025 14:30 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Bach Fest | WKCR 89.9FM NY

Annual Bach Fest on WKCR has just started.

www.cc-seas.columbia.edu/wkcr/program...

24.12.2025 09:05 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

At the university I did several different flavours of probability theory, but I am so brainwashed by the current ZFC foundation of mathematics, that it is hard for me to envision what to replace it with. 🀷

11.12.2025 07:43 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Mathematicians Discover a Strange New Infinity
Mathematicians Discover a Strange New Infinity YouTube video by New Scientist

New type of infinities causing problems for ZFC foundation of mathematics.

Cheers to the ultrafinitists. 🍺

www.youtube.com/watch?v=pzF2...

05.12.2025 18:58 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Sample Unison word frequency program written in VS Code with LSP support

Sample Unison word frequency program written in VS Code with LSP support

@unison-lang.org v 1.0 passes my language readiness criteria

* Good language server support
* Trivial to make a word frequency program with tests

It's mind blowing 🀯 to program with code fragments, instead of projects of files.

Very composable.

Promising, but hard to imagine its effect on DevOps

04.12.2025 16:06 πŸ‘ 8 πŸ” 1 πŸ’¬ 0 πŸ“Œ 2

I feel that Nix is a better technology than Docker.

But Nix is still pretty heavy weight.

Immutable code is a good idea.

That is the reason I am curious about Unison-lang.

01.12.2025 08:49 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Fighting words 😜

I remember trying 3 different ways of combining Haskell and Nix.

Revisiting Nix is on my todo list, but not on top.

01.12.2025 07:15 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
We're ALL IN on Omarchy at 37signals!
We're ALL IN on Omarchy at 37signals! YouTube video by David Heinemeier Hansson

www.youtube.com/watch?v=jfNO...

I started installing Omarchy, but my wife found out. She said:

It is either DHH or me! 😠

30.11.2025 09:31 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

πŸ₯³πŸ₯³πŸ₯³

30.11.2025 07:17 πŸ‘ 25 πŸ” 1 πŸ’¬ 1 πŸ“Œ 0
Haskell records in 2025 (Haskell Unfolder #45)
Haskell records in 2025 (Haskell Unfolder #45) YouTube video by Well-Typed

Haskell's clumsy records annoyed me, but it now has a dot notation.

@kosmikus.bsky.social explains how to use it here:

www.youtube.com/watch?v=9hrD...

29.11.2025 16:51 πŸ‘ 4 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Haskell word frequency application in VS Code. We Haskell extension running off HLS.

Haskell word frequency application in VS Code. We Haskell extension running off HLS.

The rumours were true:

Installing and setting up Haskell in 2025 is a breeze.

Install ghcup. Use that to install ghc, Cabal and HLS.

#Haskell feels ergonomic and modern.

Took an hour from start till I had made my sample app with unit tests in VS Code.

29.11.2025 16:51 πŸ‘ 13 πŸ” 1 πŸ’¬ 2 πŸ“Œ 1

The 2020's have to be the decade of great tooling for #Haskell. More investment in Developer Experience, reliable foundations and predictable performance will see us gain a lot of street cred.

29.11.2025 10:45 πŸ‘ 14 πŸ” 3 πŸ’¬ 0 πŸ“Œ 0
Screenshot of VS Code with word frequency code example written in Lean 4.

Screenshot of VS Code with word frequency code example written in Lean 4.

Lean 4 is a theorem prover that has been adapted by working mathematicians.

But it is also a nice Haskell style programming language. Solid with good tooling. I was productive right away.

29.11.2025 01:27 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

A pure functional programming language has long been a utopian dream.

We suddenly have 3 strong contenders:

* @haskell.org with better tooling
* Lean 4, adopted by mathematicians
* @unison-lang.org out in v 1.0

Good time to revisit pure.

29.11.2025 00:42 πŸ‘ 14 πŸ” 2 πŸ’¬ 0 πŸ“Œ 4
Preview
Announcing Unison 1.0 After years of engineering, design, and community collaboration, we're excited to release Unison 1.0. This version delivers a refined programming workflow and a mature toolchain. Join us as we celebrate this milestone and look ahead to the future of Unison.

πŸŽ‰ Unison 1.0 has landed!

After years of engineering, design, and community collaboration, we’re excited to announce this milestone!

Spread the word!

25.11.2025 19:01 πŸ‘ 120 πŸ” 62 πŸ’¬ 0 πŸ“Œ 6
This Scientist Explains How the Universe Emerges from Nothing
This Scientist Explains How the Universe Emerges from Nothing YouTube video by Curt Jaimungal

How the Universe Emerges from Nothing

Urs Schreiber starts with nothing and uses category theory and Hegel's dialectic process to build

* Pure being
* Fermions
* Bosons
* 11 dimensional Super Gravity
* M5-branes from M-theory

Cool.
But maybe it's a magic trick 🎩 πŸͺ„
www.youtube.com/watch?v=1KUh...

15.11.2025 16:17 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Is AI’s Circular Financing Inflating a Bubble?
Is AI’s Circular Financing Inflating a Bubble? YouTube video by Patrick Boyle

Trying to understand AI’s circular financing and how concerning this is. The best resource I found is by @pboyle.bsky.social

Is AI’s Circular Financing Inflating a Bubble?

www.youtube.com/watch?v=NbL7...

10.11.2025 13:53 πŸ‘ 10 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Lightning Talk: An Update On TinyGo - Ron Evans | GopherCon EU 2025
Lightning Talk: An Update On TinyGo - Ron Evans | GopherCon EU 2025 YouTube video by GopherCon Europe

I tried #TinyGo, and found it more ergonomic than:

Android IDE
Bare metal C
Embedded Rust Embassy
PlatformIO

Simple boards worked out of the box, but I had problems with TinyGo on multi MCU boards.

But TinyGo has growing support:

www.youtube.com/watch?v=Gmhz...

18.10.2025 07:46 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
NEW Arduino UNO Q
NEW Arduino UNO Q YouTube video by Programming Electronics Academy

Arduino Uno r1 has 2 KB of SRAM and has let millions play with electronics ❀️

Qualcomm just bought Arduino and released new Arduino Uno Q, which has 2 GB of RAM and 16 GB of flash for vision and edge AI. It runs Linux and Python.

Could level up electronics tinkering.
www.youtube.com/watch?v=xz3O...

09.10.2025 16:51 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Arduino Mega schematics from https://forum.arduino.cc/t/arduino-mega-pinout-diagram/143046

Arduino Mega schematics from https://forum.arduino.cc/t/arduino-mega-pinout-diagram/143046

Microprocessors are messy πŸ˜΅β€πŸ’«

Tried many abstractions to simplify, but I surrendered and embraced bare metal and embedded C.

Annoying to read a 300 page pdf datasheet in order to program a microprocessor, but it's better than leaky abstractions.

europe1.discourse-cdn.com/arduino/orig...

05.10.2025 16:45 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
How to Rust on the Pico 2 | DrJonea.co.uk
How to Rust on the Pico 2 | DrJonea.co.uk YouTube video by Dr Jon EA: Pico & Pico 2

Can Rust's strong types simplify microcontroller programming?

Tried embedded Rust on Raspberry Pi Pico 2, with good Rust bindings.
It's still messy. Got it to work after watching this video by @drjonea.bsky.social

Maybe #EmbeddedRust has reached critical mass now.

www.youtube.com/watch?v=oWTh...

29.09.2025 20:28 πŸ‘ 4 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Conway's Game of Life written in Mojo running Fedora 42

Conway's Game of Life written in Mojo running Fedora 42

Is Mojo πŸ”₯ Ready?

Documentation states 2 heavy dependencies:

* Pixi tool recommended
* Needs Ubuntu 22.04 LTS on Linux

I installed Mojo with uv tool, that worked on nightly build βœ…

Compiled Conway's Game of Life on Fedora, it segfaulted, but worked after fixing Pygame bindings β˜‘οΈ

Is that ready? πŸ€”

14.09.2025 07:39 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Three Cool Things in C++26: Safety, Reflection & std::execution - Herb Sutter - C++ on Sea 2025
Three Cool Things in C++26: Safety, Reflection & std::execution - Herb Sutter - C++ on Sea 2025 YouTube video by cpponsea

Earlier today I thought:
C++ will never catch up to Chris Lattner's Mojo πŸ”₯

Next up is Herb Sutter, the C++ language design genius, with the silver tongue. He says that nothing will be the same now that C++26 has reflection 🀩

Language development is moving fast now πŸƒ
www.youtube.com/watch?v=kKbT...

29.08.2025 19:41 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0