Category Archives: Technology

Geeky stuff

Orcon connection issue…

The graph below is the connection graph on Orcon VDSL, see the arrow pointed regular connection drops, it is particularly obvious during online gaming. The graph below is the connection graph tethered on my phone on 3G Mobile Data, comparing to above, a lot less connection drops.

New technology to crack down on house-flipping

Just read an article on cracking down house flipping in NZ, it says “New Zealand’s real estate watchdog is ramping up its crackdown on house-flipping by investing in new technology which allows it to track when properties have been quickly re-sold for huge profits.” So what’s the new technology is about? You would have thought… Read More »

Current state of solar energy for NZ customers

Recently there is a wave of ads/posts on my facebook about solar energy, ranging from installations to solar tax. I did a quick calculation from https://www.energywise.govt.nz/tools/solar-calculator/, using all the standard attributes and costs, it worked out that I will save a HUGE(not) $1100 in 22 years, that is without any issues within 22 years. I don’t really think… 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