Writing code is fun. Period. If someone tells you otherwise, they’re probably lying, frustrated, or gatekeeping (combinations are a possibility.). However, as any skill you can develop in life, you have to be conscious about the environment and the requirements of that particular environment.
When generating PDF files in NodeJS, one of the most used ways is to render them through Puppeteer. However, there is no standard way to change the filename on the Puppeteer side when serving the Buffer through Express (or any other webserver), in this post I explain how to change the filename by using appropriate HTTP headers.
Last Christmas my uncle gave me this little book: Superintelligence: Paths, Dangers, Strategies, by Nick Bostrom, and it captivated me from the very first pages. As I kept reading, my understanding of “the big picture”, as it should be called, became clearly expanded. There is no other way to call this book as an eye-opening experience towards the imminent technical, moral and philosophical struggles within AI development that will occur during the following years (centuries?) and here’s my personal review about it.
pcap library is one of the most famous and used network packet sniffing tool around the world. libpcap is the underlying library running under the famous
tcpdump program which is a powerful network diagnosis tool.