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
Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator
Friday, February 14, 2025
What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Defining Your Paranoia Level: Navigating Change Without the Overkill
Friday, February 14, 2025
We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy
5 ways AI can help with taxes 🪄
Friday, February 14, 2025
Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help
Recurring Automations + Secret Updates
Friday, February 14, 2025
Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
The First Provable AI-Proof Game: Introducing Butterfly Wings 4
Friday, February 14, 2025
Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%
GCP Newsletter #437
Friday, February 14, 2025
Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers
Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰
Friday, February 14, 2025
Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from
The Great Social Media Diaspora & Tapestry is here
Friday, February 14, 2025
Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great
Daily Coding Problem: Problem #1689 [Medium]
Friday, February 14, 2025
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,
📧 Stop Conflating CQRS and MediatR
Friday, February 14, 2025
Stop Conflating CQRS and MediatR Read on: my website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your