BetterDev #194 - This man thought opening a txt file is fine, he thought wrong. macos cve-2019-8761
Better Dev #194 Apr 05, 2021
Hi all, This week, We had some interesting low level links about font rendering, IP parse, and a few tools which I’m sure will make you engineer life easier, checkout tools section. If you enjoy this newsletter, make a small contribution to help me to keep working on it.
Can you imagine simply open a TXT file will leak your IP address, make network request to attacker server, send your file out? It’s all because the text editor try to be smart and render HTML. And to have some fun, Jeff Johnson of Lapcatsoftware build a PoC that Distributing unnotarized Mac apps in a text file
Is this yet another guide to OAuth 2.0? No. This document is based on hundreds of conversations and client implementations as well as their experience building FusionAuth, an OAuth server which has been downloaded over a million times. FusionAuth is a great OAuth solution which you can self hosted in this space now given that Okta has acquired Auth0. Give them a try. They’re great product too.
Deep dive into a few limitations of AWS NLB. Ably learned that anything over 200,000 connections per NLB begins to be a challenge. This is unfortunately substantially below the advertised understanding of what the load balancers can currently do.
What happens when you set “font_size”: 32 in your favorite editor? I would’ve told you anyway, but I’m glad that you asked. And do you know that 16 pt text on Windows is ⅓ larger than 16 pt text on macOS. Fun!
This is a JavaScript package but you should give it a read to be more carefully when parsing data that can be represent in different notation. Example, what would you think 0127.0.0.1
? The ip actually is 87.0.0.1
When a worker thread that seems to hang and have no log to indicate, I usually do strace -p pid
on it to see what call it stuck on. In this artcile, Julia Evans shares 9 problems that strace can help us identity/debug.
PostgreSQL uses a cost-based query optimizer that tries to turn your SQL queries into something efficient that executes in as little time as possible. For many people, the workings of the optimizer itself remain a mystery, so we have decided to give users some insight into what is really going on behind the scenes.
Like programming in C or driving a car, contemporary shellscript languages require some knowledge and discipline to use safely, but that’s not to say it can’t be done. This article is a part of the tool shellharden we linked to below the code to read section for Rust.
For language that compile to native code, The output of the compiler is a number of object files. Then a linker assembling all these object files into one big program and create the final executable files. But most of Linux code use dynamic linking, means its object files are absence. At run time, it will borrow the file. Sound magically? Let’s dig in. Make sure to check part 2 as well.
One way to improve shell workflows is finding patterns in the execution order of commands and extracting those into little scripts; this can often be helpful and is part of what makes working in a shell so powerful. Another way is to understand how the parameters are added and try to simplify this; that’s what I will focus mostly on in this blog post.
Code to read
A single file httpserver in C, no external dependencies. Interesting to see how to parse HTTP request.
CAll the missing SQLite functions: regular expressions, common statistical functions, CSV files as virtual tables, Unicode string functions
CFast HTML Parser is a very fast HTML parser. Which will generate a simplified DOM tree, with basic element query support.
TypeScriptFast JSON encoder/decoder compatible with encoding/json for Go. aim of being the fastest library. Use a few technique such as: Buffer reuse, Elimination of reflection, and more. A lot to lean in this code base
GoThis is the heat in Ruby/Rails community right now. The mimemagic is moved to GPL and Rails only wants MIT, so Rails author write this, take the mime map from Apache Tika project. We sometimes take for granted simple things like detect file type. So let’s spend 30 mins to see how that’s done
RubyIt suggests changes to your script and highlight them, also support semi-automate the rewriting of scripts to ShellCheck conformance. Though we put this in Code to read, but it’s a great tool that you can install easily and use to improve your shell script.
RustVideo
perform an exhaustive case analysis using advanced “derp learning” techniques to discover what’s even upperercase than an uppercase A. AND I DON’T STOP THERE. For SIGBOVIK 2021.
Tools
the NATS.io persistence engine that will support streaming as well as traditional message and worker queues for At-Least-Once delivery semantics.
the Ultimate Plumber, a tool for writing Linux pipes in a terminal-based UI interactively, with instant live preview of command results.
an extension and service for PostgreSQL that monitors and manages automated failover for a Postgres cluster.
a high performance peer-to-peer mesh VPN over UDP supporting strong encryption, NAT traversal and a simple configuration. It establishes a fully-meshed self-healing VPN network in a peer-to-peer manner with strong end-to-end encryption based on elliptic curve keys and AES-25
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 #191 - A developers guide to HIPAA compliance and application development
Monday, March 15, 2021
Better Dev #191 Mar 15, 2021 Hi all, This week, We had some interesting tools which I'm sure will make you engineer life easier, checkout tools section. If you enjoy this newsletter, make a small
BetterDev #190 - Common Nginx misconfigurations that leave your web server open to attack
Monday, March 1, 2021
Better Dev #190 Mar 01, 2021 Hi all, I hope you enjoy this week's newsletter. We had some interesting links to help secure Nginx and practice breaking and fixing K8S. If you enjoy this newsletter,
BetterDev #189 - How Buffer Pool Works and Reconnecting your application after a Postgres failover
Monday, February 22, 2021
Better Dev #189 Feb 22, 2021 How Buffer Pool Works: An Implementation In Go a database need to read and write data from disk in an efficient manner. And the answer to that is: buffer pool. In this post
BetterDev #187 - Build a Regex Engine in Less than 40 lines of code
Tuesday, February 9, 2021
Better Dev #187 Feb 08, 2021 This week is a short issue since I have been focus a bit on my side project, hanami, an email forwarding service that support webhook and SMTP as well. Give it a try if you
BetterDev #186 - What am I running inside my bash
Monday, February 1, 2021
Better Dev #186 Feb 01, 2021 Happy February everyone. Time flews so fast these day. Cannot imagine it is amost one year since the world started to deal with COVID. Last week I launched my side project,
You Might Also Like
The Long Road Home: A Story of Loss, Learning, and Renaissance - PART 4
Wednesday, November 27, 2024
Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, November 27, 2024? The HackerNoon
Top Tech Deals 🏷️ PS5 Slim, 4K TVs, 10th Gen iPad, and More!
Wednesday, November 27, 2024
The Black Friday madness is here! How-To Geek Logo November 27, 2024 Top Tech Deals: PS5 Slim, 4K TVs, 10th Gen iPad, and More! The Black Friday madness is here! Black Friday sales are here, and we
The 165+ best Black Friday deals
Wednesday, November 27, 2024
Windows Super God Mode; Bluesky starter packs; Tech gifts under $100 -- ZDNET ZDNET Tech Today - US November 27, 2024 Black Friday 2024 live blog Best Black Friday deals 2024: 165+ sales live now
⚙️ Neuralink's new trial
Wednesday, November 27, 2024
Plus: Zoom is becoming an AI-first company
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!