Author: admin

Building Traceroute in JavaScript 0

Building Traceroute in JavaScript

(This article has been posted on Medium on the 4th of July 2018.)

I always found traceroute one of the most interesting network utilities, as it gives you an insight on how data travels through a network. If you ping a server and get a response, it’s easy to forget that the data travelled through a cascade of network devices until it reached its destination. If you do a traceroute you see the ip addresses and response times of all devices (bridges, routers and gateways) between you and the server. While this is helpful for a network administrator to debug network issues, I found it interesting to see the flow of data. Even more so when it’s combined with geolocation …

Reply to spam email 0

Reply to spam email

Just came across these hilarious videos of James Veitch, where he shows what happens when you reply to spam email:

And as a bonus the agony of trying to unsubscribe:

In the Loop 0

In the Loop

This talk by Jake Archibald is a must see! I’ve learned a ton about the event loop. He’s such a great speaker, I really really enjoyed this one. The stories about sneezing, the fizzy water and the eye doctor were just hilarious.

JavaScript 30 0

JavaScript 30

Build 30 cool things in 30 days, using vanilla JavaScript? Sure. Sounds great. Let’s get started and see what I learn. You can find my lessons learned on my github.

This was one of the most fun courses I completed in a long time. It was very good to get back to the basics and play around with vanilla javascript, even though this is not what I use on a daily basis. It still helped to clarify a lot of concepts and each day I was able to learn something new. I mostly enjoyed the data-tutorials, like the cardio array ones, but of course it was also fun to play around with the canvas object and things that are
Kyle Simpson about becoming a better developer 0

Kyle Simpson about becoming a better developer

This a a great podcast with Kyle Simpson, where he talks about about his personal habits and how you can become a better developer:

http://fixate.it/podcast/a-better-developer-through-collaboration-kyle-simpson/

I think the most important points are:

  • Truly understand the problem, before you try to fix it.
  • Have a very good understanding of the stack you are working on, and a good enough understanding of the abstraction / layer below.
  • Make sure you can explain your code. If this is not easy enough, the code probably needs refactoring.
  • Find the right balance between YAGNI (you ain’t gonna need it) and a higher level of abstraction. Don’t do premature optimisation.
  • Don’t be stuck for too long, when you don’t understand something, but also don’t jump on
IntelliJ Tips and Tricks 0

IntelliJ Tips and Tricks

I’m using VS Code for my private projects and IntelliJ at work. Coming from Eclipse, I’ve never really took the time to check out all the features of IntelliJ, instead I just started using it and learned as I went along. As soon as I knew how to do all the things I needed for my daily job, I settled and didn’t make any effort to further optimise my workflow and productivity. The things I knew were just good enough to get the job done, but I wasn’t very efficient. When I did pair programming with colleague recently, I saw that he was much faster as he really used the IDE to help him achieve what he wants. I decided …

Intercept 0

Intercept

An application that records and intercepts network requests. It includes a small proxy server, where you can route your traffic through. In recording mode all traffic will be captured. You can then switch to intercept and modify the response for future requests. The response can be delayed, the HTTP can be modified as well as the response itself. It’s a great tool for testing web applications, when you want to check the behaviour of your code under various circumstances.

Demo: No demo available as you need to run a local proxy server
Code: https://github.com/frnkst/intercept

Libraries used: