The price of dynamic memory: Allocation
When it comes to memory usage, there are two types of programs. The first type are programs that allocate memory in large blocks.
The second type use data structures that require an allocation of a large number of chunks using malloc or new. They allocate a large number of chunks, it uses them for some time and then it returns them back to the system. This post tell about the second type and their cost.
Six 0days that allow a remote attacker to get full RCE on a box with no user interaction. MouseTrap is a suite of vulnerabilities and accompanying exploits that targets the RemoteMouse application and service. As of the release date 05/06/2021, the vulnerabilities have not been patched.
Email explained from first principles
When I was working on my email forwarding app, I have lot of confusion such as MAIL FROM, RCPT vs FROM/TO in email header. MTA vs MSA. Why do we have to authenticate to send email out and why do we can send email in without authentication? Why port 25 vs 465 vs 587? This posts explain a lot of those concept.
What if I needed to shuffle a list but couldn’t hold the whole thing in memory? Or what if I didn’t want to shuffle a list, but just traverse it in a shuffled manner? (That is, visit each element once and only once, in a randomized way.) What if I wanted to traverse it, but didn’t want to precompute or store the traversal for some reason?
Code to read
a minimal, fast, safe sql executor
Fast, lightweight xlsx parser for Ruby that provides nothing a CSV parser wouldn’t
You have to try
telnet mapscii.me to see how cool this is. You can even zoom the terminal. You would want to see how this is done
A big big code base to dig in but I always want to learn more about visualization and animation so I think it could be interesting to read this
Secure 🔒 headers for Python web frameworks
gomponents: view components written in pure Go
Instead of generating HTML code using go template file or string/template rendering, you can go with a functionalal based approach to generate HTML5 using pure Go function. It can easily embeded into your code and have type-safety due to them are just pure Go function and argument. It’s similar to Elm view. I found it useful to wite small Go app with these embeded view
Atuin replaces your existing shell history with a SQLite database, and records additional context for your commands. Additionally, it provides optional and fully encrypted synchronisation of your history between machines, via an Atuin server.
Like cURL, but for gRPC: Command-line tool for interacting with gRPC servers
allows you to quickly and easily generate inventory reports of your AWS resources.
a distribution of NDB Cluster developed bring to us by the MySQL team at Oracle
Extremely fast tool to remove duplicates and other lint from your filesystem
File synchronization on top of ipfs with git like interface & web based UI
A kernel designed to run one and only one application in a virtualized environment
That's it for this round, have a great day! If you like this newsletter, please tell the world, or
tweet about this