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
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