A Fantastic Account of Wanting To Change The World Through Literary Devices

Ellen McGuffin heaved a heavy sigh as she uncoupled the device from the battery and pocketed it in her lab coat. Wear a lab coat, it’ll make you look more professional and more people will buy into your story, she was told.

Fat lot of help that did, she thought to herself as she walked towards the exit of the garage. She turned her head to give the car one last look, switched off the lights and left the garage for the last time. It was a lovely evening – one worthy of stopping and taking in the sight. Ellen didn’t do that. Her mind was far too clouded by the incidents today. This was her sixteenth time in her attempt to raise funds for her invention, nay her sixteenth failure. She had succeded in closing a seed round a year ago, but tomorrow the burn chart comes to an end. There would be no more future for the device.

[Read More]

China Retrospective 2014

TL;DR and Meta – I visited China for the first time. I enjoyed it very much. These are elaborated from notes I took while in China. This is part 3 of a 3 part series on China, concerning impressions about China as a whole. Part 1 concerns my week in Beijing. Part 2 concerns smaller visits to various parts of China.

So, I visited China for the very first time - in essence, looking at my cultural roots. Along the way I have gained some impressions about China, as well as new views on old topics. This blog post summarizes my impressions of my first trip to China.

[Read More]

The Ancient Great Capitals of China + Hangzhou Retrospective 2014

TL;DR and Meta – I visited China for the first time. I enjoyed it very much. These are elaborated from notes I took while in China. This is part 2 of a 3 part series on China, concerning my explorations to other parts of China. Part 1 concerns my week in Beijing. Part 3 concerns my impressions of China as a whole

My travels to China also accidentally brought me to all of the four ancient great capitals of China – Beijing, Luoyang, Xi’an, and Nanjing. I had spent a lot more time in Beijing, hence the separate post. I didn’t spend as much time as I would have wanted to in the other ancient great capitals of China, but I had still taken some photos and notes.

[Read More]

Beijing Retrospective 2014

TL;DR and Meta – I visited China for the first time. I enjoyed it very much. These are elaborated from notes I took while in China. This is part 1 of a 3 part series on China, concerning my week in Beijing. Part 2 concerns smaller visits to various parts of China. Part 3 concerns my impressions of China as a whole

It was a hot and sweaty night in the Nanjing airport. Cigarette smoke wafted across the waiting area in slow curls. Overhead, announcements were made that due to weather conditions, some flights were being cancelled. I waited, sweating, fervently hoping that my connecting flight to Beijing wouldn’t be cancelled. To much of my relief, it wasn’t cancelled, only delayed. I soon boarded my flight and arrived in Beijing, feeling very tired and worn out.

Exiting the airport, my travelling companions and I took a taxi to the hutong (胡同) where our boutique hotel was situated. To our dismay, the taxi driver simply dropped us off at the junction between the road and the hutong. His taxi couldn’t enter the small alley that is the hutong. At 1.30 a.m, we trudged into a dark alley, not even knowing where the hotel is – it was about 600m into the hutong. I was getting quite cranky at that point and my impression of China wasn’t very good at that point.

The next morning however, marked the beginning of a change of impression, of both Beijing and China on a whole. The booking of the boutique hotel was a good choice. In the light of day, I got to know the location, and it was impressive. The hotel is a siheyuan (四合院). The receptionist later intimated to me that it was built in the late Qing dynasty, making it about 140-170 years old. It was small (I would visit much larger _siheyuan_s later), but surely impressive. It was quite interesting to think about how a family would live in a building with such architecture and how the architecture of such buildings dictate social convention and dynamics in a family.

[Read More]

Two Ways of Thinking

I went to a shopping mall today and I noticed they had installed a new feature in the parking lot* They had actually installed it at the end of last year, but I never bothered to notice how exactly it worked till now – it’s one of those things that told you whether a lot was taken. If a lot was taken, a red light will shine, and a green light will shine if a lot isn’t occupied. I’ve seen a lot of those in parking lots, but this one actually interested me. Here’s how it looks like:

parkassistm3

It’s a potato quality photo, but I think it shows how it works quite well. The system used is the ParkAssist M3. A camera is trained onto a parking lot. If there is a car with a licence plate in the lot, the system will know that the lot is taken, and display a red light. There are two cameras, so one light represents two spots.

As I walked past it, I had a hunch on how it worked – it uses computer vision, and one thought led to another, and I soon began to think about the two major ways of thinking about products. Well, technically there are three. If you were to give an assignment to any random guy off the street to design a parking lot monitoring system, there would be one of three broad response types: give up, innovation or invention. I’m not going to even deign discussing giving up.

This line of thought was quite influenced by a talk by Alan Kay I watched earlier this week:

After our shopping, I pointed out the cameras to my partner, who immediately asked “are those cameras?”, followed by “but that’s so wasteful!”. That was her inner electronics engineer speaking. Both she and I knew that there were cheaper, and probably more efficient methods of designing parking lot indicator solutions. She also highlighted her way of thinking: The innovator.

[Read More]

Eyetracking Jetpack Joyride, Smash Hit and Dungeon Keeper

TL;DR – I got a little upset that I didn’t get any jobs I wanted, so I decided to learn how to write an Android app to relax instead. The result is eyemap.io – Gaze Analytics For the Rest Of Us. The rest of the blog post chronicles how I got to that point.

The week before last was a terrible week for me. It was one week after I had published my books. I was looking to take some time off from updating the books. After about 6 months being self-employed, doing the things I love to do, I felt it was time for me to return to the workforce. Let’s face it, it’s not easy to be self employed and get a steady paycheck. So I started looking for jobs.

All was well. I had applied to a number of jobs that I was interested in. By the end of the week however, I had nothing – nobody called back. Naturally, coming off the high of having just published a couple of books, it was crushing.

Remember a few months ago, I was mulling over acquiring a tablet? Out of sheer coincidence, I came into posession of a Nexus 10 a few days after I blogged that entry. It’s an older model, but hey, beggars can’t be choosers. Despite coming to possession of the tablet, I never really used it.

Anyway, back to the week before last. Combined with the fact that I got rejected for those jobs that I wanted plus a few more not so nice news, I was feeling pretty shitty about myself. So on Friday evening, I altered my state of mind chemically to relax a little.

After some drinks, I took out my tablet and fiddled with it while relaxing with pineapples. I decided to download my favourite game on tablets since 2011 – Jetpack Joyride. Now, when your brain is under the influence, time seems to slow down – your body appears to lag. Specifically my eyeballs felt like they were lagging. I kept looking at the right of the screen, and I could feel my eyes darting to look at the right and back to Barry on a very regular basis.

This led me to ask a question: what does Jetpack Joyride look like when one’s eyes are tracked? What would a heatmap look like? Clearly there are eye tracking devices out there like the EyeTribe or Tobii which is fantastic. But I didn’t have access to any of those. The front-facing camera of my tablet appeared to frown at me. Then it hit me: why not use it to do eye tracking?

So I dragged myself to the computer, and started learning how to write Android apps. To their credit, the Android developer page is absolutely easy to use – if an intoxicated person can read and create an app in about an hour, you know it’s bloody good documentation. I didn’t get far, except to capture videos and detect my face, which is easy stuff anyone can do. I went to bed.

[Read More]

Configuration Management Tools As Operating Systems

Last year I wrote a blog post comparing programming languages to driving experiences. Today in the chatroom, my friends and I were talking about config management tools. I’ve had the opportunity to use most of them, so I compared them to operating systems as such: CM Tool OS Feels Like Ansible Mac OS Here's the one way to do things, chosen Your Lord and God, Steve Jobs. You can do things other ways too, but be prepared for a little pain Salt Linux Do whatever the fuck you want to do. [Read More]

JavaScript Books Published!

After a long time spent in the editing room, I finally published both books that I kept talking about for the past few weeks in my blog. You can get them here: Introduction to The Books Underhanded JavaScript catalogues the various kinds of “naughty” things that can be done with JavaScript. These are followed by explanations as to why they happen, and also how to maliciously use them (in tongue-in-cheek tones of course, I don’t expect you to actually deploy such code. [Read More]

Overdrive

My brain is in overdrive mode again. I hate it. It makes me quite unproductive. I hate it when I’m unproductive. This post is a brain dump in bid to win my productivity back I spent the early part of the day editing my books – pretty good effort with 1 chapter left to go for basic editing. Future edits can be done once the books have been published. The rest of the day was spent with my brain in overdrive. [Read More]

A Funny Thing Happened On The Way To A/B Testing

TL;DR: I split tested the titles of my book: Here's what happened

So, if you were following my blog (thank you to the both of you), you’d know that I’ve been writing a book on the quirks of JavaScript. I split tested the book across two titles: Underhanded JavaScript: How To Be A Complete Arsehole with Bad JavaScript Code; and JavaScript Technical Interview Questions. This is the story of the twists and turns and missteps that happened when I wrote the book.

[Read More]