BetterDev #199 - TLS: demystifying communication encryption in PostgreSQL
Better Dev #199 May 10, 2021
Hi all, Hope everyone has a great week ahead. Things are getting better, if you are an Indian or Colombian reader. Stay safe. Thank you to the readers who have bought me a coffee, really appreciate that ❤.️
In this post, we want to give you a brief introduction to TLS (Transport Layer Security), which is a technology widely used in combination with PostgreSQL to encrypt client / server connections.
What can we do to make ORDER BY RANDOM()
query faster? Another great one Getting random rows faster. Very much faster
Code that has a predictable/repeat pattern through gain performance code from CPU branch prediction? if that prediction is wrong or the code has many if branch. the cpu has waste some compute? how much? read to know more.
When it comes to memory usage, there are two types of programs. The first type are programs that allocate memory in large blocks. The second type use data structures that require an allocation of a large number of chunks using malloc or new. They allocate a large number of chunks, it uses them for some time and then it returns them back to the system. This post tell about the second type and their cost.
It obviously way more complex than my one-person email forward app, but really interesting to see how big comapnies do these kind of stuff.
DNS, Email are one of things people always advised to buy, not build. So why replit did that?
Six 0days that allow a remote attacker to get full RCE on a box with no user interaction. MouseTrap is a suite of vulnerabilities and accompanying exploits that targets the RemoteMouse application and service. As of the release date 05/06/2021, the vulnerabilities have not been patched.
When I was working on my email forwarding app, I have lot of confusion such as MAIL FROM, RCPT vs FROM/TO in email header. MTA vs MSA. Why do we have to authenticate to send email out and why do we can send email in without authentication? Why port 25 vs 465 vs 587? This posts explain a lot of those concept.
What if I needed to shuffle a list but couldn’t hold the whole thing in memory? Or what if I didn’t want to shuffle a list, but just traverse it in a shuffled manner? (That is, visit each element once and only once, in a randomized way.) What if I wanted to traverse it, but didn’t want to precompute or store the traversal for some reason?
Code to read
You have to try telnet mapscii.me
to see how cool this is. You can even zoom the terminal. You would want to see how this is done
A big big code base to dig in but I always want to learn more about visualization and animation so I think it could be interesting to read this
JavaScriptInstead of generating HTML code using go template file or string/template rendering, you can go with a functionalal based approach to generate HTML5 using pure Go function. It can easily embeded into your code and have type-safety due to them are just pure Go function and argument. It’s similar to Elm view. I found it useful to wite small Go app with these embeded view
GoTools
Atuin replaces your existing shell history with a SQLite database, and records additional context for your commands. Additionally, it provides optional and fully encrypted synchronisation of your history between machines, via an Atuin server.
allows you to quickly and easily generate inventory reports of your AWS resources.
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 #198 - PostgreSQL: Understanding Deadlock and basics of Futexes
Monday, May 3, 2021
Better Dev #198 May 03, 2021 Hi all, Hope everyone has a great week ahead. This week we focus on deadlock and concurency primitive. Thank you to the readers who have bought me a coffee, really
BetterDev #197 - Postgres error: invalid byte sequence for encoding
Monday, April 26, 2021
Better Dev #197 Apr 26, 2021 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
BetterDev #196 - Allow arbitrary URLs, expect arbitrary code execution and curl those funny ipv4 addresses
Tuesday, April 20, 2021
Better Dev #196 Apr 19, 2021 Hi all, This week is an issue of network knowledge, tips and tricks. The fundamental of how computers can talk to each others :-). If you enjoy this newsletter, make a
BetterDev #194 - This man thought opening a txt file is fine, he thought wrong. macos cve-2019-8761
Monday, April 5, 2021
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
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
You Might Also Like
Is TikTok trying to get banned from the App Store early?
Wednesday, May 1, 2024
TikTok is offering some users a way to buy its in-app tipping tokens outside of Apple's App Store. View this email online in your browser By Alex Wilhelm Wednesday, May 1, 2024 Good morning, and
Get Compliant in 2024 - Download Ultimate PAM Policy Template Today
Wednesday, May 1, 2024
Privileged Access Management Policy Template What are your PAM policies for 2024? Get ready for the New Year Is your approach to Privileged Access Management as current and effective as it could be? In
What's new in Autodesk Inventor 2025?
Wednesday, May 1, 2024
Post from Syncfusion Blogs on 05/01/2024
Wednesday, May 1, 2024
New blogs from Syncfusion Chart of the Week: Creating a WPF 100% Stacked Area Chart to Visualize the World Vehicle Production in Major Countries By Karthikeyan V Let's visualize the world vehicle
New U.K. Law Bans Default Passwords on Smart Devices Starting April 2024
Wednesday, May 1, 2024
THN Daily Updates Newsletter cover Webinar -- Uncovering Contemporary DDoS Attack Tactics -- and How to Fight Back Stop DDoS Attacks Before They Stop Your Business... and Make You Headline News.
Our verdict on Beats' $200 Solo 4 headphones
Wednesday, May 1, 2024
The Morning After It's Wednesday, May 01, 2024. Beats today announced the Solo 4, a $200 set of familiar-looking cans with significant upgrades inside, even if they look almost entirely the same as
Power BI Weekly #256 - 1st May 2024
Wednesday, May 1, 2024
Power BI Weekly Newsletter Issue #256 powered by endjin Welcome to the 256th edition of Power BI Weekly! No announcements this week, so we'll jump straight into the highlighted articles. Firstly,
Apple AI browser 🌎, Tesla fires Supercharger team ⚡, new sudo replacement 👨💻
Wednesday, May 1, 2024
Apple is testing a version of its Safari web browser that includes an AI-powered tool called Intelligent Search Sign Up |Advertise|View Online TLDR Together With Modern Treasury TLDR 2024-05-01 The
JSter #218 - Libraries and more
Wednesday, May 1, 2024
All JavaScript is good JavaScript. I'm close to done with my SurviveJS rework. The new site will have more content while being much lighter and faster to compile so that's all good. Libraries
BetterDev #258 - Build an 8-bit computer from scratch and Home automation with ESP8266
Wednesday, May 1, 2024
Better Dev #258 Apr 30, 2024 Hi all, We come back with a new issue this week. If you like BetterDev, please help spead word out by refer to your friends. Buy me a coffee would be great too. Build an 8-