Hi all, Hope everyone has a great week ahead. Enjoy this week issue with articles cover a wide ranges of knowledge: from hardware to network to SRE and algorithm. Thank you to the readers who have bought me a coffee, really appreciate that ❤.️
One common problem that a lot of people seem to have is when they encounter error message like this:
psql:test.sql:1: ERROR: invalid byte sequence for encoding "UTF8": 0xb3
Why it happens? What can be done about it? Let’s see.
USB-C promises to use one port for everything. USB-C converters to DisplayPort or HDMI are common and inexpensive. USB-C hubs with external monitor support are also common, but understanding their capabilities and limitations can be extremely confusing. Some are Mac-compatible and some aren’t. Some need driver software
One frustrating thing that can happen to your database has nothing to do with performance and queries. Rather, it’s running out of disk space to store data. Today we’ll drill into some good practices you can put in place to help prevent such from happening. And if it does, show how to get you out of a bind as quickly as possible.
If a substring would be compared in reverse order, things may be different. For example, we search for a ‘CAT’ substring in ‘HORSE TURTLE CAT’ string. With naive algorithm, we will first compare ‘H’ and ‘C’, we see they are unequal characters and we will advance substring one character ahead. But if we start at the end of sub string CAT
we can jump back 3 character at a time.
Learn the history and evolution of same-origin policy and CORS, understand CORS and the different types of cross-origin access in depth, and learn (some) best practices.
Given their large scale operation, if any bug in network that arise, ebay sure experienced it. So Charles ended up with many Sherlock Holmes stories to tell. And this post is a troubleshooting case of mysterious traffic imbalance.
A private IP address is an IP address that’s reserved for internal use behind a router. They cannot be routed on the internet, only in LAN. 10.0.0/8 is private address spaces and we can guess the reason to choose it, easy to type and remember. But what’s about 192.168⁄16?
In this article I’m trying to explain the difference/similarities between dynamic programing and divide and conquer approaches based on two examples: binary search and minimum edit distance (Levenshtein distance).
This is a page for amateur compiler writers. Anything that I did not find practical is not listed here. (I also did not include the things that I do not yet know!)
A single tweet decribe a very creative method to check anagrams.
a Golang library for spawning and managing a goroutine pool, allowing you to limit work coming from any number of goroutines with a synchronous API.
GoAll Algorithms implemented in Python. I’m sure you will find some gem in here for your favourite algorithm.
PythonLike tmux but written in Rust. Rust is started to being used in many low level CLI stuff. It has layout system and a plugin system that leverage WebAssembly. The plugin has hook in load update, render state to allow you control how to render certain thing. Such as writing a status bar.
RustA tool for cleaning up your cloud accounts by nuking (deleting) all resources within it. Grunkworks reduce 85% AWS bill with it.
Open source self-hosted web archiving. Takes URLs/browser history/bookmarks/Pocket/Pinboard/etc., saves HTML, JS, PDFs, media, and more…
high-fidelity infrastructure monitoring and troubleshooting. Open-source, free, preconfigured, opinionated, and always real-time.
The smartest (no)SQL database client
Move messages from one maildir to another. Useful if you spend lot of time with Postfix
Open-source vector similarity search for Postgres
an open-source abstraction layer library that turns easy apps deployment on AWS, GCP, Azure, and other Cloud providers in just a few minutes.
BetterDev Link
Every Monday