Search
-
Like Saint Thomas - 4
Encryption & Security
Level: Intermediate
In the previous installments, we did pretty much everything possible to avoid encrypting a message. We turned it into a polynomial, scaled it, multiplied it, rescaled it, and even built a modulus chain around it. The message has practically become one of the stars of Euphoria (and who would not …
-
Like Saint Thomas - 3
Encryption & Security
Level: Beginner
Last time, we left off with a few little questions. In this article, we will try to answer (hopefully) at least some of them. If you have not done so, catch up on the introduction to CKKS here, you will need it, because we will pick up right where we …
-
Like Saint Thomas - 2
Encryption & Security
Level: Intermediate
In the previous article we saw what homomorphic encryption is. Hard to believe, right? Go tell Saint Thomas. So by now we should know that we can perform computations on encrypted data without having to decrypt it. Yeah, fine, but in practice? That is what I want to tackle in …
-
Like Saint Thomas - 1
Encryption & Security
Level: Beginner
I’m starting this new article by saying that I needed to write it for reasons that will be clear later on (I mean in terms of months). But that doesn’t take away from the fact that what we’re about to see is truly cool. Long story short …
-
How I Fix Your Code - 5
Theory & Math
Level: Advanced
Finally we made it to this last part. It has been a very long journey, but we got to the end. We started from simple concepts like parity, then reached linear codes and went through cyclic ones, with pit stops to talk about Hamming and Reed-Solomon. One last piece is …
-
How I Fix Your Code - 4
Theory & Math
Level: Intermediate
In the previous article, we focused on talking about cyclic codes. In this one we will look at the cyclic code par excellence, the Reed-Solomon code. Given it has been a while that I have been saying I want to talk about it, and if my calculations are correct this …
-
How I Fix Your Code - 3
Theory & Math
Level: Intermediate
Here we are with a third article on error-correcting codes. It goes without saying, even though I already wrote it but repetita iuvant, that there are a ton of them and each one has its own characteristics. You can't even remotely think about doing a complete overview, but if you …
-
How I Fix Your Code - 2
Theory & Math
Level: Intermediate
We left off last month with some toy error-correcting codes. You could say we warmed up. I'm not saying we knocked out a mule, but at least we laid down the basics and a few fundamental concepts that, as everyone knows, are always at the base of everything. In this …
-
How I Fix Your Code - 1
Theory & Math
Level: Beginner
You read the title and got pissed off, right? You told yourself: who the hell does this guy think he is, fixing my code? Not at all. Easy there. I do not care about your source code at all. Compile it, interpret it, push it, patch it: do whatever you …
-
Chernobyl Disaster Optimization
Metaheuristic
Level: Advanced
The holidays have just passed. And yes, I know it is February, but the writing of this article started on January 5, so nothing, the holidays have just passed. All of us have had lunches, dinners, and little dinners, and I am sure you have been harassed by the usual …
-
Share Your Secrets With Shamir
Encryption & Security
Level: Advanced
In the previous article, I talked about two nice things: modular arithmetic and Galois fields. I introduced them in anticipation of this day. Yes, because today I will talk about a cryptographic algorithm. An algorithm that is not only really cool, but also has an emotional value, since I first …
-
Where Only Polynomials Grow
Theory & Math
Level: Intermediate
Who knows me knows that one of the topics I am most passionate about is cryptography. For this reason it was not a matter of if but of when, I would have written an article about it. Since forever however you cannot start abruptly, and this article serves exactly this …
-
Praise To The (Almost) Optimal
Between Code And Life
Level: Beginner
This article of mine is different from all those I’ve written so far. You won’t find formulas, algorithms, or other mind-blowing wizardry. Instead, I want to talk about a topic I care about: metaheuristics. That art of searching in a non-intuitive way for good enough solutions, when the …
-
I ODE, You ODE and the Neural ODE - 5
Theory & Math
Level: Intermediate
Here we are. We've reached the fifth and final part of the NODE series. Though take that statement with a grain of salt, if I run out of space, you might get a sixth one too. In any case, in this (hopefully) final part, we'll look at some code and …
-
I ODE, You ODE and the Neural ODE - 4
Theory & Math
Level: Advanced
Yes, I know, post-holiday slumps hit everyone hard. But hey, someone has to do the dirty work, right? So let's pick up, after a few weeks' break, our delightful little chat about Neural ODEs, or NODEs. If you missed the earlier parts, don't worry, they're linked at the end of …
-
I ODE, You ODE and the Neural ODE - 3
Theory & Math
Level: Advanced
There comes a time in the life of every mathematician, engineer, and mythological figure alike when You like analytics, huh!? Then take this ODE. And it smacks you with a nonlinear, coupled, implicit one, with coefficients changing like the Hogwarts staircases. The only thing you can do is not solve …
-
I ODE, You ODE and the Neural ODE - 2
Theory & Math
Level: Advanced
Here we are again with the second part of the series dedicated to Neural ODEs. If the first article was a mental beating this one will be a bit less so. But don’t get your hopes up: it’s still no walk in the park. We’ve already sunk …
-
I ODE, You ODE and the Neural ODE - 1
Theory & Math
Level: Intermediate
Once upon a time, there was a neural network that didn’t want to work layer by layer like all her friends. No, she wanted to be continuous, fluid, dynamic. She wanted to be a differential equation. This is not the usual nightmare for mathematicians. There's no Freddy Krueger waking …
-
Not Only BackProp
Metaheuristic
Level: Beginner
Do you ever wake up in the morning thinking: Damn, today I really feel like backpropagating some error... but I should probably watch my weight! No? Weird, but hey, good for you. Either way, even if nobody asked, I’ve got the perfect solution: the right compromise between indulgence and …
-
Neurons for Dummies - 3
Machine Learning
Level: Intermediate
And here we are, with the third part of the article series dedicated to neurons. At first, I had only planned two, but what can I say? I got carried away. I couldn’t just leave you hanging without explaining why neural networks are made up of so many neurons …
-
Neurons for Dummies - 2
Machine Learning
Level: Advanced
Here we are again for the second part of the article devoted to the neuron. If you landed here by mistake... RUN AWAY! Just kidding, of course you’re invited to read the first part here. That said, in the first part I left you with more questions than answers …
-
Neurons for Dummies - 1
Machine Learning
Level: Beginner
If you have ever heard about neural networks and thought: "how the heck do they learn?" you have landed in the right place. Let's start immediately with a fresh spoiler of the day: there is no magic, just tons of multiplications, sums, and derivatives. In this article, I want to …
-
Crystal Structure Algorithm
Metaheuristic
Level: Beginner
For my first article, I’d like to talk about a topic that’s very close to my heart: Metaheuristics. Despite the name, it’s not some ancient Assyrian demon, but rather a family of algorithms designed to solve computational and optimization problems, that is, problems involving finding a maximum …