TIL Typo Tolerance in Passwords
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 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 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.
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 that browsers store all the bookmarks in a single JSON file.
Brave stores it at this path: %LOCALAPPDATA%\BraveSoftware\Brave-Browser\User Data\Default\Bookmarks
This is particularly useful if you want to programmatically manipulate or work with your bookmarks.
See Stack Overflow: Parser for Exported Bookmarks HTML file of Google Chrome and Mozilla in Java
TIL that LinkedList
overrides equals and hashCode, but ArrayDeque doesn't!
This means that regardless of the contents of ArrayDeque
, it gives the same hashCode
value.
This bit me when using Deque<T> dq = new ArrayDeque<>();
See Stack Overflow: Why doesn't ArrayDeque override equals() and hashCode()?
Hello World!
I built my previous site using Next.js and MUI. The other day I set up a hugo site for a friend. I have been planning to write and publish content on my website for a long time now, but never got around to do it. To reduce friction I decided to move to a platform where I don't have to worry about implementing all the basic blog functionality from scratch. After some research, I decided on Docusaurus. Spent an evening setting it up and achieving feature parity with my previous site, making sure to not break any URLs. Lo and behold, my new site.