Cybernetist

Recent content on Cybernetist
https://cybernetist.com/ (RSS)
visit blog
You Should Probably Pay Attention to Tokenizers
21 Oct 2024 | original ↗

Last week I was helping a friend of mine to get one of his new apps off the ground. I can’t speak much about it at the moment, other than like most apps nowadays it has some AI sprinkled over it. Ok, maybe a bit maybe more just a bit – depends on the way you look at it, I suppose. There is a Retrieval-augmented generation (RAG) hiding somewhere...

Some Notes on Adversarial Attacks on LLMs
23 Sept 2024 | original ↗

Intro Last week I was catching up with one of my best mates after a long while. He is a well-recognised industry expert who also runs a successful cybersecurity consultancy. Though we had a lot of other things to catch up on, inevitably, our conversation led to AI, LLMs and their (cyber)security implications. I’ve spent the last couple of months...

My Three Favorite Scenes From The Bear
24 Jun 2024 | original ↗

I heard about The Bear TV show from my brother a few times over the past couple of years but I never really felt like watching it. A TV show about a frantic family-run bistro in Chicago? Color me sceptical. Don’t get me wrong, I’ve got nothing against the catering or hospitality industry! My brother is a restaurant manager and I spent a fair...

Using Cuelang With Go for LLM Data Extraction
13 May 2024 | original ↗

I have been aware of Cuelang (CUE) pretty much since the early stages of its development. It always seemed to me the language had the potential to solve a lot of problems in the ocean of YAML which we found ourselves drowning in the Cloud Native ecosystem. CUE excels in validating data against strictly defined schemas and is equally capable of...

Go or Rust? Just Listen to the Bots
25 Apr 2024 | original ↗

It all started as a joke. I was in a group chat with a few of my friends and we were talking about football (soccer for the American readers). I entered the chat during a mildly heated discussion about the manager of a team one of my friends supports. It was going on for a bit while with seemingly no end in sight when it occurred to me that I...

Builders Are Happier But What Happens When AI Takes Over
22 Apr 2024 | original ↗

I have been busy hacking since I got back from my long holidays. I didn’t miss computers while travelling around the world. Not for a second. When you hike up a volcano and engorge yourself in the beautiful views only this planet can reward you with it’s hard to think of computers let alone hacking. But now that I’m back and re-engaged my hacking...

Rust tokio task cancellation patterns
19 Apr 2024 | original ↗

Update: 19/04/2024: read at the end of the post for more info. I have been trying to pick up Rust again recently. It’s been a bit of a slow burn at the beginning but I think I’m finally starting to feel the compounding effects kicking in. Maybe it’s just my brain playing a trick on me, but I’m feeling at much more ease when writing Rust now than...

Circular Buffer Performance Trick
11 Apr 2024 | original ↗

Update 12/04/2024: Read at the end of the post for more info. I have been hacking on AI agents recently for both fun and profit as part of the work I’m doing for one of my clients. They’re mostly text-to-speech (TTS) agents leveraging LLMs for generating text which is then turned into voice by a trained TTS model. As you [probably] know,...

A Small Tool for Exploring Text Embeddings
27 Mar 2024 | original ↗

Last year I wrote about the superpowers text embeddings can give you and how I tried using them to compare the song lyrics of some music artists. Though the results failed to paint the picture I hoped for – this was due to the methodology, or rather lack thereof – it made me appreciate the importance of simple open source tools (OSS) in the...

On The Importance of Getting The Foundations Right
11 Mar 2024 | original ↗

Throughout my career, I’ve learnt, usually the hard way, the importance of getting the foundations of whatever I was working on right. Or at least as right as possible. I learnt how fundamental it is for setting your project — and by proxy, your team — up for success. I’d argue it’s one of the most important things you should pay attention to....

Fun With AI Embeddings in Go
7 Jan 2024 | original ↗

Update 9th January, 2024: Changed the title to “Fun With AI Embeddings in Go” Before the end of last year, I visited San Francisco (SF) for a few weeks. It felt great meeting some old friends and ex-colleagues face-to-face after a long hiatus. There is something incredibly refreshing about being in the same room with the folks you’ve spent...

Some [career] advice for engineers
5 Nov 2023 | original ↗

This blog post is a collection of advice or rules I’ve learnt to live by as a software engineer. It’s an accumulation of experiences I’ve gained through working for software organizations of various sizes. Most of the advice in this post is aimed at software engineers, but some may be applicable to other roles and industries. Understand the...

A Few Counterintuitive Ideas
1 Jan 2022 | original ↗

UPDATE: 4th January, The way out of burnout The beginning of 2021 marked the point when some of us were bracing with hope for the year that lied ahead. The year that we hoped to be “better” than the one that we were leaving behind. Little did we know we should have braced for impact instead. For me personally, if 2020 was bad enough then 2021...

Getting Started With LDAP in Go
18 May 2020 | original ↗

Recently I had to write a fair amount of Go code which interacts with Active Directory (AD) for one of my clients. AD uses Lightweight Directory Access Protocol (LDAP) [1] for client-server communication. LDAP is a very mature and powerful protocol to interact with directory services, though some of my friends argue that it’s a bit of a relic of...

Build a Graph of Kubernetes API Objects in Go
3 May 2020 | original ↗

Over the past few months, I have been rekindling my interest in graph theory. I’m not quite sure what has caused this shift in my mind as I didn’t play with graphs too much since I graduated many moons ago, besides the occasional interview preparation. Maybe it was my reading about all the new graph databases that have come to existence over the...

Happy 5th Birthday Kubernetes London
21 Mar 2020 | original ↗

On 26th March Kubernetes London Meetup planned to host another event. It was supposed to be our 5th birthday so we had worked hard to make the event, to quote Kelsey Hightower, “Dope”. Unfortunately, it wasn’t to be as the coronavirus disrupted all levels of public life in a way our generation never experienced before. This blog post is the long...

Swift ARKit Sun iPhone App for Londoners
17 Feb 2020 | original ↗

If you happen to be one of the lucky people living in London you couldn’t miss we’ve had a bit of a sunlight crisis [not just recently]. Instead of the usual vitamin D deficiency which we are used to being brought to our attention during regular health checks things have been a little bit worse than that. First we got a visit by storm Ciara which...

Breadth-first search using Go standard library
2 Sept 2019 | original ↗

Just like many Go developers out there, I’m a big fan of Go standard library. Over the past few years I’ve been hacking on Go, I’ve discovered some real gems that not only made my life as a developer easier (no need to maintain unnecessary code), but they also made my code considerably more readable for others to follow. The last time I blogged I...

WASM: Universal Application Runtime
25 Apr 2019 | original ↗

WASM: universal application runtime Last summer, fresh off my last freelance gig, I was catching up with my friend Asim, the founder of the widely popular microservices company, Micro at one of our favourite coffee shops in London. We would end up meeting almost every week talking about the presence and the future of technology. But that day our...

Weighted Random Draws in Go
24 Jan 2019 | original ↗

When working on my last project I needed to find a way to draw a random number from a list based on some weight assigned to it i.e. given a list of numbers each of which has a weight assigned to it, I had to find a way to draw a number from the list based on the weight. The numbers which have higher weight assigned to them should be more likely...

Apollo program, Kalman Filter and Go
13 Jan 2019 | original ↗

Before the end of the last year I went to see a movie made by one of my favourite movie directors, Damien Chazelle. The movie is called First Man and it tells the story of the journey of the first man on the Moon. I am also a bit of a space nerd, so my expectations were sky high. I was happy to find out the movie delivered on its promise. What I...

Edge computing with Go and Intel Movidius Neural Compute Stick
7 Oct 2018 | original ↗

This summer I spent quite a bit of time speaking to various people about “intelligent” Edge computing. I put double quotes around the word intelligent to avoid the wrath of the thought leaders on the internet as they fight each other over what intelligence is and what is not. The more I talked to people the more I was realizing the possibilities...

Tensorflow conditionals and while loops
27 Mar 2018 | original ↗

Tensorflow conditionals and while loops Recntly I found myself needing to implement more advanced control flow in some models I have been hacking on in my free time. In past I never really needed any graph conditionals or loops or any combinations thereof, so I had to dive into documentation and read up on them. This blog post covers tf.cond and...

Hopfield networks in Go
12 Mar 2017 | original ↗

As I continue to explore the realm of Artificial Neural Networks (ANN) I keep learning about some really cool types of neural networks which don’t get much attention these days. Many of these networks have not found much practical use in the “real world” for various reasons. Nevertheless, I find learning about them in my free time somewhat...

Kubernetes services and ingress under X-ray
30 Jan 2017 | original ↗

I haven’t blogged here for over 2 years. It’s not that I had nothing to say, but every time I started writing a new post I never pushed myself into finishing it. So, most of the drafts ended up rotting in my private Github gists. Although my interests have expanded way beyond the Linux container space, my professional life remained tied to it....

Self-organizing Maps in Go
13 Jan 2017 | original ↗

Couple of months ago I came across a type of Artificial Neural Network I knew very little about: Self-organizing map (SOM). I vaguely remembered the term from my university studies. We scratched upon it when we were learning about data clustering algorithms. So when I re-discovered it again, my knowledge of it was very basic, almost non-existent....

Fun with neural networks in Go
27 Jul 2016 | original ↗

My rekindled interest in Machine Learning turned my attention to Neural Networks or more precisely Artificial Neural Networks (ANN). I started tinkering with ANN by building simple prototypes in R. However, my basic knowledge of the topic only got me so far. I struggled to understand why certain parameters work better than others. I wanted to...

Principal Component Analysis - Part 2
20 Apr 2016 | original ↗

This is the second post of the series about Principal Component Analysis (PCA). Whilst the first post provided a theoretical background, this post will discuss the actual implementation of the PCA algorithm and its results when applied to some example data. Theory Recap In the first post we learnt that PCA looks for a vector basis that can...

Principal Component Analysis - Part 1
12 Apr 2016 | original ↗

This is the first of the two post series about Principal Component Analysis (PCA). This post lays down important knowledge bricks that are needed to understand the core principles of the PCA algorithm. The second post will discuss the actual implementation and its results by applying it to various data sets. Motivation The world is becoming more...

Docker vs Rocket gimme a break
19 Dec 2014 | original ↗

Alert! This is another rant blog post! I promise the next one will be more technical :-) Rocket launch me some opinions Past few days I’ve been playing around with Rocket, the new container runtime by CoreOS. Quite a few people have asked for my opinion so I figured I would put it into a blog post. I haven’t planned on publishing it any time...

Future of Docker networking
11 Nov 2014 | original ↗

Disclaimer: I do not work for Docker nor for any company whose business is tied to Docker in any way Recently there has been a lot of discussions about the future of Docker networking in various communication channels. It is due to hugely increased Docker usage over the past year. Users are now realising Docker’s networking limitations which are...

Tenus Golang Powered Linux Networking
30 Jul 2014 | original ↗

2014-07-30 22:35 Update: I’ve updated the post with the link to netlink RFC. I’ve also replaced references to golang with Go programming language on majority of mentions in the article. I do agree with the people in discussions on the topic of Go/golang, but I’ve adpoted golang in my vocabulary as that’s my standard search term on Google for the...

Exploring LXC Networking
19 Nov 2013 | original ↗

Daily Dilemma Recently I’ve been finding myself in various conversations about Docker and Linux Containers (LXC). Most of the time the conversations eventually end up with one and the same question and that is whether we should run containers in production. Initially this post had a few paragraphs where I philosophised about readiness of the...

Let's Work Together
10 Nov 2013 | original ↗

I am always open to new interesting opportunities. My current areas of interest are Go, AI agents and recently Rust. I enjoy all aspects of backend engineering and I’m no stranger to frontend either. If you work on anything interesting in these areas we should work together! Drop me an email to my GitHub email address. You can read about me here...

About me
10 Nov 2013 | original ↗

My name is Milos. I’m a software engineer currently living in London, UK. I graduated from Czech Technical University in Prague with Masters degree in Technical Cybernetincs, which is a fancy word that encompasses machine learning, control engineering and artificial intelligence. I’m one of the authors of a small book about Docker. I started...

2001-01-01
1 Jan 2001 | original ↗

"use strict"; let goecharts_QRpjOCEYdUGt = echarts.init(document.getElementById('QRpjOCEYdUGt'), "white"); let option_QRpjOCEYdUGt =...

2001-01-01
1 Jan 2001 | original ↗

"use strict"; let goecharts_eZqThWbsSZrq = echarts.init(document.getElementById('eZqThWbsSZrq'), "white"); let option_eZqThWbsSZrq = {"animation":true,"color":["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],"legend":{"show":true,"type":""},"series":[{"name":"Taylor...

2001-01-01
1 Jan 2001 | original ↗

"use strict"; let goecharts_XCuaBdOWfKou = echarts.init(document.getElementById('XCuaBdOWfKou'), "white"); let option_XCuaBdOWfKou = {"animation":true,"color":["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],"legend":{"show":true,"type":""},"series":[{"name":"Taylor...

2001-01-01
1 Jan 2001 | original ↗

"use strict"; let goecharts_BSPUksEqzlGe = echarts.init(document.getElementById('BSPUksEqzlGe'), "white"); let option_BSPUksEqzlGe =...

↑ these items are from RSS. Visit the blog itself at https://cybernetist.com/ to find other articles and to appreciate the author's digital home.