Man... Google search is broken af.
I remember a time when you could easily find what you want but nowadays it even fails to show you relevant results.
Man... Google search is broken af.
I remember a time when you could easily find what you want but nowadays it even fails to show you relevant results.
I adore night. I basically wait all day for it. Wish it was a bit easier to handle the late night depression/anxiety though.
Ah! Didn't know that new models are coming. I'll wait then. Thanks!
I'd love to have Github runners in my homelab. Would be fun experience to integrate that with Kubernetes ig.
I'm this π€ close to spend ~650 bucks buying this Synology DS723+
God help me.
I'm so BACK
(Lying)
Linux kernel documentation says that if you find yourself only using the non-RMW operations of atomic_t (i.e. only store, load), you do not in fact need atomic_t at all and are doing it wrong.
It may turn out that the CPU didn't actually need the value - perhaps because a branch circumvented the load - in which case it can discard the value or just cache it for later use. [1]
[1]: Linux kernel's memory barrier documentation.
This permits the actual load instruction to potentially complete immediately because the CPU already has the value to hand.
Many CPUs speculate with loads: that is they see that they will need to load an item from memory, and they find a time where they're not using the bus for any other loads, and so do the load in advance - even though they haven't actually got to that point in the instruction execution flow yet.
TIL that this is UB in C++:
n = ++i + i;
If the corruption is happening in a single thread, then one.
If it's happening because of concurrency issues, it's Undefined Behavior.
I though I know memory orderings.... until I read the Linux kernel's memory barrier documentation.
Now I forgot everything I knew about memory orderings (in C++) and how to use them properly. Damn.
Merry Christmas!
Have you seen the approach taken by the Unimog team in Cloudflare? Its elegant.
The TLS Protocol Version 1.0 RFC, January 1999, in ugly meme form. Top text: I am not a toy I am not a Christmas present I am a 30+ years commitment Bottom text: Please think hard before you give someone an Internet standard this Christmas
What should I spend my time on? The job that my visa and stay in the Netherlands (and effectively being alive) depends on or some random concept in computer architecture detail in the Intel software manual?
Dammit, of course the latter!
How do you spot Noob Programmers: they are too enthusiastic about Tech.
Security pro tip: if you find a USB key on the ground somewhere, DO NOT plug it in to your home computer.
Take it to the office and plug it in there. They have way better software that will mitigate any threats.
I wasn't born π
I implemented a simple interruptible thread.
github.com/Moork0/Concu...
Now I'll move to Golang and eBPF
I want to be so many things all at the same time
I asked the electrician:
- How bad is the previous installation?
He replied:
- This isnβt that bad, things change over time, things get old. You measure a good implementation on how easy it is to replace. This one is easy to replace.
I love that way of thinking, it relates to programming as well.
Well, actually implementing a cancel/interrupt feature isn't difficult especially since std::jthread is in fact an interruptible thread. But I want to implement it myself so...
btw the repo for my C++ concurrency code (threadpool etc.) is here:
github.com/Moork0/Concu...
The first two features are now implemented.
I'm going to implement the third one soon.
After that, I want to switch over Golang and eBPF and do some experiments there. My main goal for them is to implement a L4 load balancer like the one @cloudflare.social unimog team has.
a bunch of diagrams showing how stdin/stdout/stderr work for various combinations of >, < , |
working on this unix redirects diagram today
For further analysis on this incident, be sure to check out the great work by Emile Aben of RIPE NCC and @dbelson.com of @cloudflare.social:
labs.ripe.net/author/emile...
blog.cloudflare.com/resilient-in...
It's been months since I submitted my PR to the openconnect project but not only the maintainers don't approve, but also they don't even respond π
βI'm now convinced that async/await is, in fact, a bad abstraction for most languages, and we should be aiming for something better instead and that I believe to be thread.β
lucumr.pocoo.org/2024/11/18/t...