Issue No. 03/22
Moin!
This week we have Patrick on board, talking about programming a real-time machine learning pipeline using Kafka and R. And the best part is, he streams the coding sessions live via a room on stackstream! 🚀 We’ll also talk about multi-agent interaction via OpenAI, 9 rules for commenting code, personalizing the terminal (Hi, Z shell!), as well as threads, processors, CPUs and schedulers – the fun world of computer science. Enjoy reading, Ivy
From the home office to the Kafka Summit?
After great positive response of the blog article: Apache Kafka and R: Real-Time Prediction and Model (Re)training, in which a real-time machine learning pipeline was programmed and presented, I would now like to optimize it in the area of performance. You can follow the whole thing live, because the implementation will be coded and tested live on stackstream. I’m happy to get tips and tricks and share my knowledge about Apache Kafka.
Patrick – now investing in streaming equipment.
When AI plays hide and seek …
… and simulates evolution at the same time.After a total of 481 million runs, in which a varying number of hiding and searching agents competed against each other in randomly created playing fields, these agents developed a total of 6 strategies and counter-strategies to win the game. Here’s the full article, plus everything was compactly summarized in a video.
Charly – in search of the ultimate hide-and-seek challenge.
The 9 Commandments of Code Commenting
You know it – been on vacation for a few days, or taking over a task from a colleague. You pull up the current state and see – right, nothing! The code has not been commented and you have no idea what is actually going on. Stackoverflow has set up a total of 9 rules rules for commenting code. What do you think? Helpful or overkill?
Ela – has stone slabs and chisels ready already.
GUI was yesterday
You sometimes feel like you’re just faking everything? Then it’s 99% because of your boring terminal. Sure, the layman is already impressed by the terminal itself, but your developer colleagues? With Oh My Zsh you can make your Z Shell look like a work of art. With iTerm2 (macOS) you can open four terminals at once, like a real hacker. And as a real developer, Spotify is operated from the command-line interface 😎 Goodbye Imposter Syndrome 👋
Tim – the real hacker man?
The fun world of computer science
Threads are the atomic execution unit of a process. In fact, a computer (which has a processor with only one core) can execute only one thing at a time, but what if it is necessary that several things happen “simultaneously”? Threads are the solution. The best known example of using threads is a program with a graphical user interface or using external technologies, such as a mouse or keyboard. Learn the difference between threads and processors in 3 minutes and 50 seconds here.
A sample implementation for Java threads:
Image via SlideToDoc
Sophia – rough edges, soft core, likes to crochet.