Teaching to code

I started teaching at the University of Winchester in September. I teach an introductory module about cyber security and how to design secure systems. My expectation was that students were rather technical (being in a BSc Cyber Security track) and have a good understanding of how computers generally work, what…

Lack of continuity really kills productivity

I have this tendency of working on many things at once, and as a result I don't really finish anything, I just make small progress until I switch context to start working on something else. This really kills my productivity. It seems obvious now but when I'm working on a…

On learning to code

Last week I had started to answer questions on Quora. It's surprisingly addictive I should say, so I kept answering a couple of questions every day. As my interests include programming and various languages, I get plenty of "How do I learn to program in X?" or "As a beginner,…

Chatbots and the bad form-filling experience

I wrote this originally in 2017 and most chatbots are still just providing a bad form-filling experience in 2019. I think this post is still valid today. It's about how using a chatbot does not simply improve customer support and user experience. If it's not done right it just adds…

JavaScript pixel processing

Problem: thresholding an image using a HTML5 2D canvas. It's a really simple problem, but if implemented wrong it can lead to really bad performance. Original (right. credits greyamoon) and thresholded transparent image (left). Live demo on JSFiddle.My initial idea was to make a function everyPixel(ctx, f) that…

Reflection on hackathons

For first, a Hackathon is a competition where hackers get together to build something cool. Lots of times designers and business people also join and the judging also takes the business side into consideration. Usually justifying how the idea is useful and/or generating revenue and showing some proof that…

Google Summer of Code experience

This article was also published on Medium. I am glad I have contributed to open-source during the summer as part of the Google Summer of Code 2014 programme. For those who are not familiar with Google Summer of Code, it is a programme organised by Google and consists of connecting…