BetterDev #155 - Papers with code and Preparing Applications for IPv6
Better Dev #155 Jun 8, 2020
This week, I want to share a quick shell trick to check if a port open or not without using any external tool like telnet
or nc
.
And it’s a one liner: echo > /dev/tcp/host/port
. Example: echo > /dev/tcp/127.0.0.1/1605/
. If the port is open, no outout, otherwise it will say:
-bash: connect: Connection refused
-bash: /dev/tcp/127.0.0.1/1605: Connection refused
It only works on Linux though, so if you are on Mac, don’t bother to try it.
Have ever feel frustrated reading a whitepaper without code? So either you have to re-implement to verify or use the research theory? This site is a directory of paper with its code, as in they have a github repository.
A software developers guide to writing and migrating networked applications for use on ipv6 networks. Discuss strategies for apps supporting both ipv4 and ipv6 during the transition. Not just in term of network, it also discussed how to store ipv6 into database effectively. How to deal with ipv6 in your programing language etc. So a great guide both in term of networking and programming.
Is writing to a file from multiple processes safe? As in they won’t corrupted the file or overwride each other? and will all get append properly.
Jepsen is a framework to test distrubuted system. It uncovered many bugs in system like MongoDB, Riak, Redis, ElasticSearch. But what do you do if you are a developer and your app failed at Jepsen test. This is a journey of a dgraph developer try to fix one of the most complicated Jepsen test using distributed tracing. The test is so hard that you cannot just think of theory to quickly try fixing out blindly.
Recently Apple has a Zero-Day in thir Sign In with Apple system, which allow a way to login as anybody. The core issue is not validating user input data. If a single thing you can learn from this article is this: always validate user input data, especially in a multi steps flow, validate at every steps.
All code examples are JavaScript/Node but generally all good rule: never use GET to modify state, csrf token, check origin header, Use SameSite cookies, write nagtive test cases.
There are many ways of addressing performance bottlenecks, but for the sake of discussion here are several ways we can look at this issue: Tuning Performance Parameters, Session Connections, Bloat, Autovacuum, Data Hotspots, Competing Application Processes
A series about Postgres locks. This part is about dead lock, object-level locks and predicate locks.
Awk crunches massive data; a High Performance Computing (HPC) script calls hundreds of Awk concurrently. Fast and scalable in-memory solution on a fat machine.
Leverage ffmpeg. ffmpeg is awesome but it’s huge so knowing how to put thing together is a nice first step to get into video programming.
The code example is in Go but it introduce you to structure of JVM and how much you can achieve with a short amount of code. Also a good chance to understand some aspect of JVM, regardless you like Java or not, I think this is a great artcile and will level up your knowledge.
Code to read
Ever wonder how to generate YouTube-like ids from numbers? Here you go, in 400 lines of TypeScript
TypeScriptTools
Self-hosted, Node.js based analytics tool for those who care about privacy. Ackee runs on your own server, analyses the traffic of your websites and provides useful statistics in a minimal interface
Explore your data with SQL. Easily create charts and dashboards, and share them with your team
a distributed event bus broker that implements a RESTful API abstraction on top of Kafka-like queues, which can be used to send, receive, and analyze streaming data in real time, in a reliable and highly available manner.
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?
Older messages
BetterDev #154 - Everything you should know about certificates and PKI but are too afraid to ask
Monday, June 1, 2020
Better Dev #154 Jun 1, 2020 Hi everyone, Welcome to issue #154. Let's get straight to our link this week Everything you should know about certificates and PKI but are too afraid to ask X.509, ASN.1
BetterDev #153 - Ray Tracing In Notepad.exe At 30 FPS
Monday, May 25, 2020
Better Dev #153 May 25, 2020 Hi everyone, Welcome to issue #153. This week, I found a free course on Network Security, on OpenLearn. It's a short course and part 5) Implementing encryption in
BetterDev #151 - OWASP Web Security Testing Guide v4.1
Monday, May 11, 2020
Better Dev #151 May 11, 2020 Hi everyone, Welcome to issue #151. This week sponsor is programmingdigest.net, they are a weekly newsletter just like BetterDev but emphasizing on delivering five links
BetterDev #150 - The Best Medium-Hard Data Analyst SQL Interview Questions
Monday, May 4, 2020
Better Dev #150 May 04, 2020 Hi everyone, Welcome to issue #150. We continue to our pandemic with this novel virus global wide. I hope we all stay healthy, positive and safe. This week sponsor is
BetterDev #149 - What if Two Processes Write to the Same File simultaneously
Monday, April 27, 2020
Better Dev #149 Apr 27, 2020 Hi everyone, Welcome to issue #149. Given the current economy, many companies are looking to reduce infrastructure cost, many migrations need to be done. In this issue, I
You Might Also Like
JSK Daily for Nov 27, 2024
Wednesday, November 27, 2024
JSK Daily for Nov 27, 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
Ranked | The World's Biggest Importers of Goods 🌎
Wednesday, November 27, 2024
As Trump tariffs are anticipated to disrupt global trade and push up prices for consumers, we show the world's biggest importers of goods. View Online | Subscribe | Download Our App >> 📱Book
Daily Coding Problem: Problem #1621 [Easy]
Wednesday, November 27, 2024
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. A regular number in mathematics is defined as one which evenly divides some
Spyglass Dispatch: The Xitter Bail Out • OpenAI Tender • Grokking Grok • Smartphone Sales • Fischer Random Chess • Scott Bessent for Treasury
Wednesday, November 27, 2024
The Xitter Bail Out • OpenAI Tender • Grokking Grok • Smartphone Sales • Fischer Random Chess • Scott Bessent for Treasury The Spyglass Dispatch is a free newsletter sent out daily on weekdays. Feel
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. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏