Shubh's Digital Garden Blog

Shubh's Digital Garden Blog
https://cshubh.com/blog (RSS)
visit blog
Extracting Discord's Welcome Messages
1 Jan 2025 | original ↗

I was learning about WebSockets today for a college project and decided to build a chat webapp as defined in the homework section of Socket.io's getting started guide.

TIL Parity check with %
28 Nov 2024 | original ↗

The result of modulo operator (%) varies between programming languages especially when one of the operand is negative.

TIL Accessing App Data using ADB
23 Nov 2024 | original ↗

While working on an Android app, I had some issues with the SQLite database and wanted to delete it. This db is stored in the app's internal data directory (/data/data/com.cshubh.myapp), which is inaccessible using file managers on the device.

TIL Typo Tolerance in Passwords
9 Nov 2024 | original ↗

TIL that some companies allow typo tolerance in passwords. Instead of simply rejecting a login attempt with small mistakes, they accept some common typos like an accidental uppercase or an extra character.

TIL Pizza box servers
1 Sept 2024 | original ↗

TIL that those flat servers used in data centers are called pizza box servers. I came across this term while reading Computer Networking: A Top-Down Approach 8th Edition.

Obfuscate email
20 Aug 2024 | original ↗

I was building contact page for this site where I've put up my email. How do I deal with bots harvesting plaintext emails from websites and sending spam?

TIL Brave bookmarks JSON file
18 Aug 2024 | original ↗

TIL that browsers store all the bookmarks in a single JSON file.

TIL ArrayDeque hashCode and equals
16 Aug 2024 | original ↗

TIL that LinkedList overrides equals and hashCode, but ArrayDeque doesn't!

Hello World!
5 Aug 2024 | original ↗

Hello World!

↑ These items are from RSS. Visit the blog itself at https://cshubh.com/blog to find everything else and to appreciate author's digital home.