Jared from subway and blockchain sandwiches
Recently, the algorithmic trading firm Wintermute launched the Alpha Challenge. One of the topics that caught my attention and sparked my interest was a task titled “Jared-from-Subway.“: You are click trading a newly launched memecoin and notice you are being sandwiched by Jared. You see that Jared made a bunch of money doing this, and you’re interested in checking their...
Read 31 Aug 2024 95 0When an FTP Transfer Breaks Your Software: A Troubleshooting Tale
Upgrading software can sometimes be more of an adventure than you’d expect. Recently, I decided to upgrade kdb+ to version 4.1 on my Ubuntu server. Seemed simple enough, right? I downloaded the archive to my Mac, unzipped it, and then connected to the server via FTP using Filezilla. From there, I dragged and dropped the q.k and l64 folders over to the server. With everything in place, I...
Read 21 Aug 2024 157 0Q – unpredictable global vars
The behaviour of the Q language can often be unpredictable and unintuitive, leading to numerous ways to shoot yourself in the foot. I think every developer has a piggy bank with such cases. Here’s one example: q) f: { a: 1; b,: 2 } q) f[] q) a 'a [0] a ^ q) b ,2 q) get `. f| {a: 1; b,: 2} b| ,2 12345678910111213 q) f:...
Read 31 Jul 2024 272 0Builder pattern
Hey there Pythonistas! Have you ever found yourself in a situation where you needed to create complex objects with lots of different properties? Or maybe you’ve been frustrated with having to remember a bunch of arguments to pass to a constructor every time you want to create an object. Fear not, because the builder pattern is here to save the day! In this blog post, we’ll be diving...
Read 11 Oct 2022 280 0Total Recall
I have a keen interest in technology and enjoy acquiring new knowledge. However, I have come to the realization that it is impossible to retain all the information in my head, such as the details from a Kafka book chapter that I read yesterday, which I can hardly recall today. In today’s world, it is essential to have familiarity with multiple languages and frameworks, as well as various...
Read 03 Oct 2022 222 0