Time is an illusion, Unix time doubly so...
We all though time is an ever increasing number from January 1st, 1970, we called this epoch. But reality kick in, leap second, 2039, y2k.. Lets dig in to see how it was handle and gotcha dealing with epoch and its data type through … time.
How slack uses terraform
Using Terraform efficiently is a dark art. it’s very opinated and different among companies from what I see. terraform is often a mess because of the velocity of dev and workaround stuff we cannot do cleanly in terraform. Therefore learn from big company like Slack can be a great guidance to see how people handle big infra with it.
Bit Twiddling Hacks
There is a certain operation which can achive just by manipulation the binary represent of the data. It’s a bit C-heavy but understanding them make me has a better understanding of the lowest level that represent our data and how a certain operation is applied on these structure
you might not need js
Design tips for developers
Majority of BetterDev audiences are software engineers. And Im sure we love to build SaaS, when it comes to desigb, it is our painpoint. So here is a guide to help us design better.
Linux Security Hardening and Other Tweaks
with the power of search engine such as Shodan, it can easy setup a unsecure server and have it discovered. Better to have some kind of check lists we can go through to harden our server.
Code to read
pam allows you to delegate authentication to an external system. This is a nodejs package to show how we do PAM in nodejs.
a pretty complete pam/nss stack for using OneLogin as authentication source (with MFA) and user/group lookups. Primarily used for SSH.
the fastest JSON serializer for Ruby
tart: A Toy Gitlab CI Runner backed by Firecracker MicroVM.
We usually want a CI runner to be very isolated, one way to achive is using VM but they are expensive and slow to boot.
Other way is docker, but then we need to mount docker socket, solve “docker in docker” path issue, lot of gotcha.
A new method recently is to use VM that boot very fast so we can have the best of both world.
What’s in your data? Extract schema, statistics and entities from datasets
Simple mac binary signing from any platform.
Without this signing, we will have to go to “System Preference” to approve running unidentified code sign binary.
an open source MongoDB alternative but the underlying data is backed by … Postgres. So the best of both world
Have you ever need to do KYC(Know your customer) in the app? The kind of system where you have to enter a certain information, upload a certain doc and get approve or reject. This is an open source system that do just that.
Soul is command line tool, after installing it, Run soul -d sqlite.db -p 8000 and it’ll start a RESTful API on localhost:8000 back by the sqlite db
That's it for this round, have a great day! If you like this newsletter, please tell the world, or
tweet about this