BetterDev #205 - A from-scratch tour of Bitcoin in Python and Logging Tips for Postgres, Featuring Your Slow Queries
Better Dev #205 Jun 28, 2021
Hi all, Crypto is going chao last few weeks but when looking at it purely from an engineering purspective, it’s quite interesting system. Have fun enterainment with these links. Happy monday.
Usually when programming we call a public api on an object and the real works are being done. We don’t know exactly what happen under the hood. Imagine you read a file, you call fopen
or fseek
but that’s that. Who move the hard drive tip? who fetch the data from hard drive and put it to memory so your program can access it? The way to know that is working directly with the protocol instead of relying on the SDK. Today, we do the same with Bitcoin. It’s written by Tesla AutoPilit director
At some point in your career, you have to deal with slow queries and would wish a way to print out those queries so you can identify a pattern.
After an almost stellar 2 year uptime, on 22nd of June, bunny.net experienced a 2+ hour near system-wide outage caused by DNS failure. In a blink of an eye, we lost over 60% of traffic, and wiped out hundreds of Gbits of throughput. Despite all of these systems being in place, a very simple update brought it all crumbling down, affecting over 750.000 websites.
in 2010 the iPhone 4 came out, and the screen was 640×960, whereas the similar-sized iPhone 3 was 320×480. The resolution doubled, while the screen size was roughly the same, so in effect the screen density doubled. Apple couldn’t just run the same apps but at a higher resolution, because things like text and buttons would be tiny, so they doubled the size of everything. 1 pixel became 2 ‘device pixels’. On the web we call this the ‘device pixel ratio’, or DPR. The iPhone 4 had a DPR of 2. This is sometimes referred to as having a 2x screen, or 2dppx. So you see the mess?
How do you sort this ‘Bären’, ‘Käfer’, ‘küssen’, ‘Ähnlich’, ‘Äpfel’ with built-in sorting in your language? In JavaScript B will be the first where as Ähnlich is the right one
Simply change the user-agent of device just trick simple system. But it isn’t simple like that because a device also share many information such as screensize. And these parameters can be used to figured out the real device model.
WallStreetBets and the Gamestop incident causes spike in Reddit traffic and cause internal dependency failure cascaded as the core systems started degrading due to the database performance issues.
Despite Rails in its title, it can apply to any software stack. Check out the previous injection attack too
Despite Django in its title, you can just ignore and read all of the title, they will apply to your own SaaS or startup app.
Probably not need in our daily life but it’s great to know the language and toolchain available. Plus, I imagine it’s quite fun to write a parser to parse a language
Code to read
The smallest CommonMark compliant markdown parser with positional info and concrete tokens.
JavaScripta feature rich logging framework, and replacement for existing Ruby & Rails loggers.
is a campaign mailer for Rails. If you run a SaaS, it can be useful to schedule timing campaign for users. Stuff like send first email after signup. second emails after 2 days etc
RailsDozens of minimal operating systems to learn x86 system programming. Tested on Ubuntu 17.10 host in QEMU 2.10 and real hardware
multi-langTools
Hide your scrapers IP behind the cloud. Provision proxy servers across different cloud providers to improve your scraping success.
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 #204 - What Every Programmer Should Know About SSDs and Is an event loop just a for/while loop with optimized polling
Monday, June 21, 2021
Better Dev #204 Jun 21, 2021 Hi all, Last week I was busy working on an IMAP implementation for my email forwarding app and also have some consultant work so the issue was put aside. This week we'
BetterDev #203 - The repeated deahths of Object Oriented Programming and How a Jenkins Job Broke Slack's Jenkins UI
Monday, June 7, 2021
Better Dev #203 Jun 07, 2021 Hi all, Every companies has to have a CI/CD and also have to organize code. This week I got links on that topic. Jenkins, code organization and a few WebAssembly/CSS links.
BetterDev #202 - Let's build a Regex Engine and File Permissions: the painful side of Docker
Monday, May 31, 2021
Better Dev #202 May 31, 2021 Hi all, Happy holiday for US reader. We have quite a few interesting tool of this week. Check them out. For video, let's sit down and listen to Louis Pilfold, creator
BetterDev #201 - MVCC in PostgreSQL - Rows Versions and Teardown of a PC power supply
Monday, May 24, 2021
Better Dev #201 May 24, 2021 Hi all, This week, my email forwarding app reached a certain scale and I had to dive into Postgres performance to reduced our disk usage and improved performance. I did
BetterDev #200 - Don’t push that button: Exploring the software that flies SpaceX rockets and Starships
Monday, May 17, 2021
Better Dev #200 May 17, 2021 Hi all, Hope everyone has a great week ahead. For any readers who are in Gaza, stay safe, I hope everything will be fine. This week, we have many article that focus on high
You Might Also Like
Data Science Weekly - Issue 540
Friday, March 29, 2024
Curated news, articles and jobs related to Data Science, AI, & Machine Learning ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
This Week in Rust #540
Friday, March 29, 2024
Email isn't displaying correctly? Read this e-mail on the Web This Week in Rust issue 540 — 27 MAR 2024 Hello and welcome to another issue of This Week in Rust! Rust is a programming language
The Value Of A Promise 🤞
Friday, March 29, 2024
How much is a promise from a tech company really worth, anyway? Here's a version for your browser. Hunting for the end of the long tail • March 28, 2024 The Value Of A Promise When you hear a
New Elastic Security for SIEM Training Course
Friday, March 29, 2024
Detect and respond to evolving threats ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ elastic | Search. Observe. Protect Detect anomalies and malicious behavior March
SBF gets 25 years
Thursday, March 28, 2024
Sam Bankman-Fried is sentenced View this email online in your browser By Christine Hall Thursday, March 28, 2024 Welcome back to TechCrunch PM! The editorial team spent a chunk of the day discussing
💎 Issue 410 - Being laid off in 2023-2024 as an early-career developer
Thursday, March 28, 2024
This week's Awesome Ruby Newsletter Read this email on the Web The Awesome Ruby Newsletter Issue » 410 Release Date Mar 28, 2024 Your weekly report of the most popular Ruby news, articles and
💻 Issue 403 - Microsoft defends .NET 9 features competing with open source ecosystem
Thursday, March 28, 2024
This week's Awesome .NET Weekly Read this email on the Web The Awesome .NET Weekly Issue » 403 Release Date Mar 28, 2024 Your weekly report of the most popular .NET news, articles and projects
💻 Issue 410 - Node.js TSC Confirms: No Intention to Remove npm from Distribution
Thursday, March 28, 2024
This week's Awesome Node.js Weekly Read this email on the Web The Awesome Node.js Weekly Issue » 410 Release Date Mar 28, 2024 Your weekly report of the most popular Node.js news, articles and
💻 Issue 410 - JSDoc as an alternative TypeScript syntax
Thursday, March 28, 2024
This week's Awesome JavaScript Weekly Read this email on the Web The Awesome JavaScript Weekly Issue » 410 Release Date Mar 28, 2024 Your weekly report of the most popular JavaScript news, articles
📱 Issue 404 - Dependency Injection for Modern Swift Applications Part II
Thursday, March 28, 2024
This week's Awesome iOS Weekly Read this email on the Web The Awesome iOS Weekly Issue » 404 Release Date Mar 28, 2024 Your weekly report of the most popular iOS news, articles and projects Popular