Everything you should know about certificates and PKI but are too afraid to ask
X.509, ASN.1, OIDs, DER, PEM, PKCS, oh my…I was too embarrassed to ask questions so I never learned. Certificates are the best way to identify code and devices, and identity is super useful for security, monitoring, metrics, and a million other things. Using certificates is not that hard. No harder than learning a new language or database. It’s just slightly annoying and poorly documented
Development Environments at Slack
A look at how Slack setup development environment. They actually use cloud for dev environment instead of running them on developer laptop
because the Slack app is too complicated and they try to mimick production as much as possible.
The Myers diff algorithm
diffs are central to version control like Git. Once you’ve found a difference between two files, how would you find the next line in each version where the text matches up again? It’s more complicated than it looks! And different algorithms can even produce different difference result too.
Postgres EXPLAIN ANALYZE may be lying to you
The execution time as reported by EXPLAIN ANALYZE is substantially higher than that of the real query execution time.
Turn out the measurement overhead added by EXPLAIN ANALYZE can be significant, especially on machines with slow gettimeofday() operating-system calls.
So on system use KVM where click is as fast as hypervisor’s, the EXPLAIN ANALYZE looks faster than one from XEN which uses virtualized clock for VMs.
The radix 2^51 trick
To do long addition we sum right to left, if result is greater than 10, we carry 1 to its left.
The assembly code have extra instruction to hold that carry, if we can eliminate it, then our generated assembly code
has less thing to do. How can we do that?
Categorizing Products at Scale
One may describe their sock product as a “woolen long sock,” whereas another may have a similar sock product described as a “blue striped long sock.”
A detail look at how Shopify with more than 1M business owners, build a machine learning model to category this. They leverage Google Product Taxonomy (GPT)
which is a list that over 5000 categories and is hierarchical for a set of categories that represents all the products in the commerce space.
Cups AirPrint server with legacy printer driver support using Qemu
Explain how to setup a CUPS network printing server on an ARM-Linux which will still be able to use older or discontinued printer drivers, meant for other architectures, using Docker with Qemu platform emulation. Therefore we could use for example 32bit Linux printer drivers emulated inside the container on our ARM server
Code to read
A nifty RegEx test tool built with SwiftUI
Build frontend web apps with Ruby and WebAssembly. It uses mruby and emscripten to compile ruby code to WebAssembly
Listen to your to PostgreSQL database in realtime via websocket
Collection of Technical Interview Questions solved with Go
Privacy important, fast, recursive dns resolver server with dnssec support
Create and animate hand-drawn annotations on a web page
This talk will explain how to work with elliptic curves constructively to obtain secure and efficient implementations, and will highlight pitfalls that must be avoided when implementing elliptic-curve crypto (ECC). The talk will also explain what all the buzz in curve choices for TLS is about. This talk does not require any prior exposure to ECC.
Self-hosted, ad-free, privacy-respecting Google metasearch engine
Security auditing tool for Linux, macOS, and UNIX-based systems.
A modern and intuitive terminal-based text editor
Kubernetes CLI To Manage Your Clusters In Style!
a high-performance protocol-native connection pool for PostgreSQL.
a tool for powerful automation of OS X with Lua.
That's it for this round, have a great day! If you like this newsletter, please tell the world, or
tweet about this