BetterDev #250 - What's the toughest bug you ever found and fixed
Better Dev #250 Sep 25, 2023
Hi everyone, This week, many resorts in Las Vegas got hack and have to shutdown their system. That means many operation is handled by paper and pen. The hack appears to be executed by BlackCat/ALPHV ransomware group and you can read about their statement and analysis here. A reminder for all of us to be more caution with social engineering hacks.
A jpeg parser, running on a surveillance camera, which crashed every time the company’s CEO came into the room. Read to know why :-).
We know that it’s in your .git directory, but where exactly in there are all the versions of your old files?
Sometimes our Internet connection seems weird, and we don’t understand why. We know something is wrong, but we cannot really pinpoint the issue. And other times, there is weird file access that goes undetected simply because we don’t know what to look for. Logs won’t be helpful in those case because they might be logged. Lets’ look at the tool that help us identity and analyze network traffic.
Microsoft has played an outsized role in the development and importance of quality assurance across the industry. Microsoft was the first major company to come up with a specialized testing role which went well beyond manual testing.
Open up the browser’s network tab and you’ll see a lot of activity. Assets are being downloaded, information’s being submitted, events are being logged, and more. How can we priority more important request, and dedicated more browser(end-user) bandwidth to these.
How do we track changes to a database and react to it? Such as sending an email when a new customer are added to the table out of bound?
There is more to SQL joins than you might think. Let’s explore them a bit. I confess that I didn’t know about lateral join
While I’m a big fan of Postgres, I have used MongoDB extensively too and their replicaset is amazing. All the failover and done automatically, with built-in client auto-retry and auto discover help the whole setup. With Postgres, we still have a lot of work to do to get there, but thing are improving in Postgres 16.
No matter your stack is, at some point, NodeJS will enter the table. Knowing how to operate them securely is super useful.
To handle the tremendous growth of PayPal’s streaming data since its introduction, Kafka needed to scale seamlessly while ensuring high availability, fault tolerance, and optimal performance. In this blog post, we will provide a high-level overview of Kafka and discuss the steps taken to achieve high performance at scale while managing operational overhead, and our key learnings and takeaways.
Code to read
a pure JS lib to turn arbitraty date string to right datetime such as “2 day ago”, “week from now”, “this friday”…etc
JavaScriptA ruby job scheduler which runs jobs each in their own thread in a persistent process.
RubyPlumb a PDF for detailed information about each text character, rectangle, and line. Plus: Table extraction and visual debugging
PythonIn every engineer career, at some point, you would need to generate a PDF. This lib allow you to generate PDF as if working with bootstrap, a row has column, a column has component. Support many component for bar code, data matrix, custom style.
GoRuby bindings to re2, a “fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python”.
RubyFast, async, stream-based link checker written in Rust. Finds broken URLs and mail addresses inside Markdown, HTML, reStructuredText, websites and more!
RustVideo
A ~40 minute talk on WebAuthn, an authentication method that uses public-key cryptography together with biometrics.
RubyTools
Fast and simple video download library and CLI tool written in Go. Support many services like youtube, bilibili, tiktok, Tumblr, vimeo, instagram etc
a Rails engine that serves as an Artificial Intelligence (AI) assistant for your Rails project.
Postgres-first data-movement platform that makes moving data in and out of Postgres fast and simple. It enables you to sync, transform and query data across your stores using simple SQL commands. We implement multiple Postgres native and infrastructural optimizations for 10x faster data-movement in and out of PostgreSQL.
an open-source, command-line tool that brings your editorial style guide to life. It runs entirely offline, no cloud. single binary. Think of it like a tool that you run to enforce a certain kind of rule and language for your document. It supports markup language well.
Local-first sync layer for web and mobile apps. Build reactive, realtime, local-first apps directly on Postgres. Build your app with its standalone db, locally on device storage, sync to a Postgres db on the background for persistent across device, conflict free.
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 #249 - Running my own LLM
Tuesday, September 19, 2023
Better Dev #249 Sep 19, 2023 Happy tuesday everyone. We're back for other issue. Lot of exiciting article. Hope you like this issue. This issue is a bit short and lack the summary but hope you
BetterDev #248 - Putting the “You” in CPU
Monday, August 14, 2023
Better Dev #248 Aug 14, 2023 Hi all, I'm really sorry for sending out no issue in last few months. Works get in but I'm finally manage to spend time again on this newsletter. I missed it so
BetterDev #247 - Cryptographic Best Practices and A Journey through Color Space with FFmpeg
Wednesday, April 19, 2023
Better Dev #247 Apr 17, 2023 These continue to be big weeks in AI world. I share some LLM tools. Enjoy. Cryptographic Best Practices Putting cryptographic primitives together is a lot like putting a
BetterDev #246 - Is your Postgres ready for production and where to store your OAuth tokens
Monday, April 3, 2023
Better Dev #246 Apr 03, 2023 Is your Postgres ready for production? your database ready for whatever may come on launch day or even 2 months in? Here's a handy checklist to make sure you're not
BetterDev #245 - Scaling Kubernetes to 7,500 nodes
Monday, March 20, 2023
Better Dev #245 Mar 20, 2023 Scaling Kubernetes to 7500 nodes At this point no one doesn't know OpenAI and their ChatGPT. They run a massive K8S cluster with 7500 nodes. Needless to say that come
You Might Also Like
SRE Weekly Issue #423
Monday, May 6, 2024
View on sreweekly.com A message from our sponsor, FireHydrant: FireHydrant is now AI-powered for faster, smarter incidents! Power up your incidents with auto-generated real-time summaries,
⚠️ Avoiding AI Scams on Social Media — An Open Source Google Photos Alternative
Sunday, May 5, 2024
Also: Reviewing the Customizable Drop Mechanical Keyboard, and More! How-To Geek Logo May 5, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to
Daily Coding Problem: Problem #1432 [Medium]
Sunday, May 5, 2024
Daily Coding Problem Good morning! Here's your coding interview problem for today. This question was asked by Snapchat. Given the head to a singly linked list, where each node also has a “random”
PD#572 Good Ideas in Computer Science
Sunday, May 5, 2024
Ideas every programmer likes and why Garbage Collection and Object Oriented Programming don't count
RD#454 API Layer & Fetch Functions
Sunday, May 5, 2024
ixing API and UI code quickly leads to messy and unmaintainable code
The Shiny Toy Syndrome & Tiny macOS utility apps I love
Sunday, May 5, 2024
Lex launching its redesign, Raycast shares another monthly update packed with AI updates, prompts should be designed not engineered, and a lot more in this week's issue of Creativerly. Creativerly
Hyundai antes up $1B for AV startup Motional and Elon unplugs the Tesla Supercharger team
Sunday, May 5, 2024
Plus, layoffs come for Luminar, Fisker and Ola View this email online in your browser By Kirsten Korosec Sunday, May 5, 2024 Image Credits: Motional Welcome back to TechCrunch Mobility — your central
C#504 Adventures serializing absolutely everything in C#
Sunday, May 5, 2024
A fantastic journey porting Newtonsoft.Json to System.Text.Json
Sunday Digest | Featuring 'Which City Has the Most Billionaires in 2024?' 📊
Sunday, May 5, 2024
Every visualization published this week, in one place. Visual Capitalist Sunday Digest logo May 5, 2024 | View Online | Subscribe | VC+ The Best of This Week's Visuals Presented by Voronoi: The
The dark side of startup accelerators
Sunday, May 5, 2024
Plus: No easy solution to AI hallucinations View this email online in your browser By Anthony Ha Sunday, May 5, 2024 Image Credits: Bryce Durbin This Week, TechCrunch dug into the struggles at two