Building a shed

When we went out to parks, my daughter seemed she enjoyed playing in mini-houses,  which made me want to build one in our backyard so she can play whenever she wants.  Since it’s a bit more complicated structure than previous ones, I had to draw it up somewhere, and I used an online 3D modelling… Read More »

Mini Deck

Another retrospect to my wood work hobby, so I was looking for things to make (and make more use of the mitre saw), I managed to find a small project to do, building a mini-deck between the main house and laundry room, we used to leap across the concrete foundation between the 2 areas since… Read More »

Reading Material: Recognizing Traffic Lights With Deep Learning

A pretty good Non-AI-Experience required article talking about how to train models to recognise traffic lights. It has a few link references that will be very helpful for my future AI training/projects, eg. image-net.org https://medium.freecodecamp.com/recognizing-traffic-lights-with-deep-learning-23dae23287cc#.k941su69v

Django Rest Framework QuerySet

I have just created this python library so that you can query the remote api just like the Django queryset. It is particularly usefully when used in Django ListView with pagination. https://github.com/variable/django-rest-framework-queryset 

Posting image to thumbor using requests package

Seems like there are not many code sample there, and the requests documentation was giving the wrong hint to use files={‘file’: open(‘image.jpg’)} which you will end up getting 415 response code. I think I will just share my working sample code here to save someone’s time import requests # local file with open(‘image.jpg’, ‘rb’) as… Read More »