Profile avatar
samibadawi.com
Coder monkey πŸ’ - aerospace amateur πŸš€
179 posts 654 followers 100 following
Prolific Poster
Conversation Starter

Autechre - Bike from 1993. Their music style is ambient industrial, glitch and IDM. I forgot about them, but they are holding up well. www.youtube.com/watch?v=qkTJ...

Norman Wildberger is back on Youtube. His deleted videos on constructive mathematics have been restored, questioning ZFC as a foundation of math. He presents a new paper: Hyper-Catalan Series Solutions to Polynomial Equations He explains its use on quintic equation www.youtube.com/watch?v=oIHd...

Today I explained A rocket engine is a lot of steel and a little trigonometry. πŸ‘·β€β™‚οΈ My audience turned out to be an academic doing research in Rotating Detonation Engines. πŸŽ“ RDE is a brilliant idea, but very complicated for computational fluid dynamics. 😰 www.youtube.com/watch?v=dENz...

My music vocabulary had shrunk to Electronica, Jazz and Pop. I found this incredible music taxonomy: Ishkur's Guide to Electronic Music music.ishkur.com It has around 100 music genres e.g. Chiptune, Chill Out, Downtempo, Dark Ambient, Goa Trance and Nu Jazz. Many examples ordered by year

My recent cloud stack: AWS, Docker, FastAPI, Flink, Flink Kubernetes Operator, Helm, Helm Charts, Kubeflow, Kubernetes, PyTorch, SageMaker, Scala, Terraform. I felt: Challenging πŸ˜“, but better than multi-cloud engineer

Back in the old world 🏰 πŸͺ© Sounds like it did 30 years ago πŸ•Ί Thank you Spotify AI πŸ€– it is all coming back www.youtube.com/watch?v=JOfd...

I wondered how the Isar Aerospace engineers felt about seeing their beautiful new Spectrum rocket crash after 30 seconds of flight. A few of their guidance, navigation and control engineers stopped by on their way back from AndΓΈya, Norway, and went out for beers. They looked genuinely happy. πŸ˜ƒ

Watched the first launch of the Isar Aerospace Spectrum rocket with several rocket engineers. They cheered at take off. Isar Aerospace chief executive had said that he would be happy with a 30 seconds flight.

@shawnhymel.bsky.social has lecture series on so many topics I am trying to learn. Including his excellent #FreeCAD series. It covers the new FreeCAD v1.0 and has 3D printing examples. www.youtube.com/watch?v=8VPY...

I saw a Rocketdyne F-1 engine during a visit to the National Air and Space Museum. It was an enormous piece of steel, I had expected some sci-fi material. @smartereveryday.bsky.social give us a glimpse into its development: Apollo Engineer Explain the Saturn 5 Rocket www.youtube.com/watch?v=1nLH...

Excellent lectures on Power Electronics from MIT OpenCourseWare. Great place to start with electronics, since you can make simplifying assumptions. www.youtube.com/watch?v=f7oX...

This comment by Anders Hejlsberg on the choice of languages for TypeScript is worth reading. Spead that type of thinking! (And recognize the massive shift that Microsoft made)

☁️ Cloud Exit Strategy πŸ’” In cybersecurity training I heard that everybody should have a #cloud-exit-strategy. πŸ™€ The upside is you get better #cloud-architecture discipline: Avoid vendor lock in. Prefer simple technology that can be ported to another #cloud or #on-premise. πŸ€”

Blinky 2 Done with #Blinky, the classic #Arduino project with a blinking light diode. πŸ’‘ Moved on to Blinky 2, with complex logic and electrical relays that can pull higher currents. ⚑

Design Patterns in 4 acts 1: Hyped Design Patterns improved my C++ 2: They led to so much overengineering in Java 3: Happy they were forgotten in FP 4: DP makes comeback in C that needs structure Martin SchrΓΆder has excellent Udemy class on DP in #C-lang www.youtube.com/watch?v=24Sf...

Had another domestic dispute with my main LLM, Cursor πŸ’” It kept asking for permissions to see files in my project. Eventually I switched to CoPilot ... who also had a bad night. So I gave up 🀷 I don't understand πŸ€” LLMs are great at setting up new projects, but maybe not with bigger projects.

☯️ Zen of C-lang ☯️ 1: Use the monad 2: A Makefile is ugly, but small 3: You don't need libraries 4: Static variable is your encapsulation 5: Arena allocator is boss 6: Return struct wrapped in a Result monad 7: Enjoy C's lightness #C, #C-lang, #monad, #zen

The monad has finally come for C-lang. struct TextMonad { char *data; uint32_t len; uint32_t capacity; uint32_t error; }; No language is safe from roaming functional programmers. 😜

I worked on a fluid dynamic simulation. My chance to try the latest C++23: CMake, CPM package manager, lots of functional goodies. Popular libs: Catch2 unit test, Nlohmann json, spdlog, cxxopts. It was there and got the job done, but felt heavy to get everything working together πŸ—οΈ

Thanks, VLang looks nice. A TypeScript for C would be very welcome, #Dlang and #VLang are contenders. They would bring elegance to C libs, but also bring messy glue code. I tried Raylib binding for DLang and VLang, and wasn't able to click to definitions, as in C-Lang.

Tried a few more C like languages and found: #DLang and Koka Lang, fitting between the manual memory management and the garbage collected languages. They are simple, fast and can also do functional programming, thanks to advanced type systems. Worth a look.

C language is missing some basic data structures like HashMap, dynamic lists, strings. Nic Barker, @nicbarker.com argues that all you need is a little bag of tricks to make C productive. www.youtube.com/watch?v=9UII...

Odin lang first impression #Odin is the simplest of the C like languages I tried. Ergonomics is great. I wrote word frequency utility in minutes. Raylib game library, is part of the Odin install, and works. Still it's a system language, so harder than Python. www.youtube.com/watch?v=rCqF...

To me C Language was a relic from the dark ages. C++ fixes C's problems, but has much higher complexity. I tried 3 new minimal C like languages * Zig * C3 * Odin All more ergonomic than C and simpler than Rust. Here are some impressions

Small system languages are gaining popularity C, C3, Hare, Jai, Odin and Zig. I like them, despite being invested in both OOP and functional programming. Richard Feldman has some language statistics and thoughts in: The Return of Procedural Programming www.youtube.com/watch?v=vQPH...

www.theregister.com/2024/01/04/n... I haven't seriously used any Pascal language systems (including the popular implementations of UCSD Pascal and Turbo Pascal). Still, I know many languages have implemented ALGOL-and-Pascal programming paradigms.

Clumsy package and build systems have been C++ biggest problems. You could not ask a data scientist to use C++. All the top ML libs written in C++ had to be wrapped in Python. I once had to deploy many expensive GPU VMs to server up ML models on slow Python web servers. Running up cloud bill πŸ’Έ

πŸƒ πŸ‚

I got pose-estimation, Conan 2's computer vision example to build from same CI script on Mac and PC πŸ”¨ cd examples/libraries/tensorflow-lite/pose-estimation cp -r ../../../../test . python ci_test_example.py ./pose-estimation Never thought I would see easy C++ cross platform builds. 🀩

More tests of C++ package manager Conan 2. Computer vision example using OpenCV and TensorFlow also worked on Windows! Commands build and run: cd examples\libraries\tensorflow-lite\pose-estimation Copy-Item ..\..\..\..\test . -Recurse python.exe .\ci_test_example.py .\Release\pose-estimation.exe

Saw an alluring presentation on new C++ package manager Conan 2. Tried to build Conan's computer vision example: "Pose Estimation", dependent on 2 heavyweight C++ libs #OpenCV and #TensorFlow. It worked! C++ build process is finally catching up. Thank you Santa πŸŽ… www.youtube.com/watch?v=yC3E...

I have the serverless blues again 🎷 Very excited about getting Databricks serverless Notebook running in seconds. πŸ˜€ I tried to deploy a Python wheel application with Databricks Asset Bundle. After reading Databricks documentation and source code and many experiments I am back on the ground. πŸ˜‘