It's been a while - update from Pankaj (#1)
Hey-yo,
Another beautiful Monday! I hope you all had a lovely weekend.
I am experimenting with a new format for my newsletter. Earlier, I used to send it whenever I publish a new blog post. Now every Monday, I am going to try and share, my thoughts and a tiny section for my updates, some interesting quick bytes & some good stuff from the internet that I have enjoyed.
Don't hesitate to reach out to me if anything triggers thoughts or ideas.
Updates
I got my hands dirty with some code and moved my blog to my personal website. (I am sorry if you tried https://blog.pankajtanwar.in and encountered some ugly SSL error. Everything is now at https://www.pankajtanwar.in/blogs)
I started my coding diary where I solve one programming challenge every day and document my thought process. (And it's day #17, btw)
My apache kafka post blew up 🤯 on Hacker News. I received some nice texts from people around the world for this sweet graphical explanation of Apache Kafka basics.
I built Rakshak. A simple chrome extension that detects if unintentionally, we left some personal information (PII) in API response. I am pretty excited to demo it in my current organization, next week. (P.S. - In case you are interested in the code, it's on Github)
Quick Byte
I was curious to know how long I can type in a browser (max length of a URL allowed). So, I did some research, and here are the results.
IE & Chrome ~2048 Characters
Firefox ~65000 Characters
Safari ~80000 Characters
I tried hitting the server directly, and most of them responded with HTTP status code 414
(Request URI too large).
Apache Server seems unhappy after 4000 characters. Cloudflare throws HTTP 414 for URLs large than 32KB. NodeJs has built-in request size limit (headers + URL size) of 8KB (earlier it was 80KB till NodeJs v10.16).
Search engines like URLs < 2048 characters.
Discuss on twitter.
In NodeJs, the max number of entries allowed in a Javascript Map and object is 2^24.
Articles I've enjoyed 📝
As always, feel free to reach out if you're curious to hear more about anything shared above. Thanks, y'all – I appreciate this community we have.