BetterDev #231 - Time is an illusion, Unix time doubly so
Better Dev #231 Oct 31, 2022
Hi, everyone, happy halloween. This issue is a haloween treat :-), it has a lot of short and small articles which you can apply to your daily work and small tips and tricks too.
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.
Simon shares with us how we help Causal Spreadsheet engine achive its performance. Simon pioneer the idea of first-principle thinking to estimate systems performance fast, by going to its root to understand and estimate it before writing any code. He moves the enginer from browser into node js into Go, scale from 10,000 rows to 100,000 then to 1,000,000.
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.
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
I won’t drop JavaScript for these but it’s great to see how we can push the limit by leveraging CSS. Example, galery slide, modal box
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.
a short list which you can quickly do to write better shell script
Stefan shareds how he wire his home network using fiber.
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.
deno is a new platform and a language at the same time written by NodeJS creator. In this post,they benchmark fly vs cloudflare vs vercel vs deno.
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.
nodejspama pretty complete pam/nss stack for using OneLogin as authentication source (with MFA) and user/group lookups. Primarily used for SSH.
pamcWe 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.
GoTools
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.
I recently working on a video app and remember all the ffmpeg detail isn’t an easy job
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
You can view this issue in web browser.
If you have any suggestion/feedback, do tell me by replying to this email. I read them all.
No longer want to receive these emails? Unsubscribe
Older messages
BetterDev #230 - Secure your server by limit outgoing connection
Monday, October 24, 2022
Better Dev #230 Oct 24, 2022 Hi, everyone, welcome to our second issue of the come back. I had received many emails with encouragement about my resumt. I really really appreciate that. Thank you so
BetterDev #229 - BetterDev is back
Monday, October 17, 2022
Better Dev #229 Oct 17, 2022 Hi, everyone. It has been almost 6 months with out any betterdev issue :-). It was due to my busy schedule. I finally started to get thing back on track. I will come back
BetterDev #228 - Memory leaks: the forgotten side of web performance
Monday, February 7, 2022
Better Dev #228 Feb 07, 2022 Memory leaks: the forgotten side of web performance I've researched and learned enough about client-side memory leaks to know that most web developers aren't
BetterDev #227 - How to avoid layout shifts caused by web fonts and Scaling Kubernetes to Over 4k Nodes and 200k Pods
Tuesday, February 1, 2022
Better Dev #227 Feb 01, 2022 How to avoid layout shifts caused by web fonts Fonts cause layout shifts when the size of the containing element (eg a or paragraph) changes when the web font is downloaded
BetterDev #226 - Build your own Anycast network in 9 steps & UK COVID-19 dashboard built using Postgres and Citus for millions of users
Tuesday, January 25, 2022
Better Dev #226 Jan 25, 2022 Build your own Anycast network in 9 steps Anycast allows you to have same IP address round to different node depend on geo location, This is the kind of guide I wish I know
You Might Also Like
Matrix Botnet Exploits IoT Devices in Widespread DDoS Botnet Campaign
Wednesday, November 27, 2024
THN Daily Updates Newsletter cover The AI Value Playbook ($35.99) FREE for a Limited Time Business leaders are challenged by the speed of AI innovation and how to navigate disruption and uncertainty.
The Sequence Chat: Why are Foundation Models so Hard to Explain and What are we Doing About it?
Wednesday, November 27, 2024
Addressing some of the interpretability challenges of foundation models and the emerging fields of mechanistic interpretability and behavioral probing. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Overcoming Perfectionism: How to Break Free from the Enemy of Progress
Wednesday, November 27, 2024
Discover how perfectionism hinders progress and learn practical strategies to overcome the fear of imperfection, boost productivity, and achieve your goals without getting stuck in the pursuit of
🖤 Laravel Black Friday Deals!
Wednesday, November 27, 2024
The biggest deals of the year Laravel Black Friday Deals View in browser Laravel News Editor Note: We are sending this outside the regular Sunday newsletter schedule because some of these specials end
BetterDev #271 - Memory: The Forgotten History and Why did Windows 95 setup use three operating systems?
Wednesday, November 27, 2024
Better Dev #271 Nov 26, 2024 Hi all, Welcome to thanksgiving issue of BetterDev. Hope everyone had a safe and warm thanksgiving. It's getting so cold these days. If you are in warzone such as
Mapped | Unemployment Rate By U.S. State in 2024 💼
Tuesday, November 26, 2024
As of October 2024, DC and Nevada tied for the highest unemployment rate in the US at 5.7%. Which states saw the lowest rates? View Online | Subscribe | Download Our App FINAL CHANCE - ENDS TONIGHT!
🔊 7 DIY Tips for Soundproofing a Room — Why I Switched to Xfce for Linux Mint
Tuesday, November 26, 2024
Also: Home Theater Sound Terms Explained, and More! How-To Geek Logo November 26, 2024 Did You Know The shiny layer of a CD doesn't contain the data; the plastic polycarbonate layer does. The shiny
JSK Daily for Nov 26, 2024
Tuesday, November 26, 2024
JSK Daily for Nov 26, 2024 View this email in your browser A community curated daily e-mail of JavaScript news JavaScript Certification Black Friday Offer – Up to 54% Off! Certificates.dev, the trusted
NumPy, Loop Targets, Vector Animation, and More
Tuesday, November 26, 2024
NumPy Practical Examples: Useful Techniques #657 – NOVEMBER 26, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo NumPy Practical Examples: Useful Techniques In this tutorial, you'll learn how to
Your Games Quarterly newsletter has arrived
Tuesday, November 26, 2024
What's new for games in Google Play and Android Email not displaying correctly? View it online November 2024 The First Developer Preview of Android 16 The First Developer Preview of Android 16