Hi all, It has been 3 weeks without an issue and I miss BetterDev myself. We’re planning for some new release of a new version of BetterDev to also contribute useful content on its own instead of just being a link collector :-). So stay tune. BetterDev is here to stay and defintely not giving up on helping our subsribe become a better programmer.
No this isn’t crypto currency. The Joy of Cryptography is a free undergraduate textbook that introduces students to the fundamentals of provable security.
JavaScript is an impressive technology. Not because it’s particularly well-designed (it isn’t). Not because almost every single consumer device with internet access in the world has executed a JavaScript program. Instead, JavaScript is impressive because almost every single feature of the language makes it a nightmare to optimize and yet, it is fast.
A software bug where the network stack crashes in reaction to a single received network packet, taking down the whole operating system with it.
When optimization, we optimize our code, what if the compiler optimize its own to emit more efficient assembly code, therefore make your code run faster than before. This is the case for Go, though it’s still a good read for everyone to understand more about assembly and register vs stack based function calling.
With more than 1.5M room nights booked per day, Booking.com requires a solid infrastructure that’s constantly monitored. Booking.com now has a footprint of 50,000+ physical servers running across four data centers and six additional points of presence. The sheer size of this server fleet makes it viable for Booking.com to have dedicated teams specializing into looking only at the reliability of those servers.
A bank for sure has a lot of secret key they would like to keep secure. In this post, monzo, a modern bank shares how they levrage PKI(Public Key Infrastructure) to do authentication and authorization. It’s crazy insane how deep they secure their system
Let’s make a gzipped file and see what’s in it. We’ll keep it simple: just write 8 ‘a’s to a file and see what is the final gzip file and decode it by hand, looking at byte by byte.
Introducing QOI — the Quite OK Image format. It losslessly compresses RGB and RGBA images to a similar size of PNG, while offering a 20x-50x speedup in compression and 3x-4x speedup in decompression. All single-threaded, no SIMD. It’s also stupidly simple.
We constantly hear that indexes improve read performance and it’s usually true, but we also know that it will always have an impact on writes. What we don’t hear about too often is that in some cases, it may not give any performance improvement at all. This happens more than we want and might happen more than we even notice, and foreign keys (FKs) are a great example. I’m not saying that all FK’s indexes are bad, but most of the ones I’ve seen are just unnecessary, only adding load to the system.
A blazingly fast JSON serializing & deserializing library. Improve performance of JSON parsing by implement JIT and some Assembly optimization. Over my head I must say but interested to figure it out
Gossh mitm server for security audits supporting public key authentication, session hijacking and file manipulation
Scalable PostgreSQL connection pooler
a high-performance open-source monitoring, incident and alert system written in Golang with Bazel and love.
An open-source screen recorder built with web technology
If you ever store large binary file in git you know how painful it is. This is still a need for design system or game assets. elfshaker is a low-footprint, high-performance version control system fine-tuned for binaries. It stores snapshots of directories into highly-compressed pack files and provides fast on-demand access to the stored files.
BetterDev Link
Every Monday