RSSAmplifier

Blog

The Knife of Phaedrus

Recent content on The Knife of Phaedrus

lafolle.caRSS feed ↗5 posts

Latest posts

Did you send it?

Is DNS secure without DNSSEC??? No. All queries made by clients to recursive resolver, authoritative name servers, TLD name servers or root name servers are un-encrypted. Apart from that DNS is based on UDP protocol which is connectionless in nature such that if i have a DNS server running on my (public) machine anyone who knows the IP and port on which the server is listening for traffic, can…

On asyncio class hierarchy

_UnixSelectorEventLoop is used as a _loop_factory . That is, it is used to create new event loops in unix based system. What does it look like? class _UnixSelectorEventLoop(selector_events.BaseSelectorEventLoop) It is a subclass of BaseSelectorEventLoop . Rather than going into the details of the unix selector, i’ll first dive into the base class. class…

On asyncio run

Python formally introduced concurrency using asncio in 3.7+. A simple program that can demonstrate the hello world of async stuff goes like this- import asyncio async def main(): print('hello') await asyncio.sleep(1) print('world') asyncio.run(main()) In this case asyncio.run is the blocking call. It takes coroutine as a param, that is created by main() due to the async qualifer. Does it also…

Breaking the Resolution

Two machines on the internet can talk to each other iff both of them know each other’s IP addresses. When we type in “google.com” in the browser, the first task of the browser is to get the IP address of “google.com” which it does by communicating with the DNS system. Once an IP address is received, the browser establishes a TCP connection to the server, does a TLS…

(untitled)

Hi, I’m Karan Chaudhary. My interests span from designing and debugging distributed systems to improving developer productivity. Currently I’m a Senior Software Engineer in Demonware. My previous gigs were at Amazon, Fresworks and a triple of startups. You can reach out to me here: fghjklp at the rate gmail dot com. Thanks, Karan