The Coding Nightmare

So everyone has been talking about coding. This is the “in thing”, and everyone is doing it. It can’t be that hard right. I mean if everyone is doing it then it should be relatively simple. So you decide to look up some online coding courses. Ah Codeacadamy! Looks neat, and easy to understand. You start on a HTML/CSS course, I mean what’s the point of coding if you can’t build your own website. You spend a few days following the tutorials closely, earning all those little badges which tell you that you have learnt something new. After a week or so you have successfully built a website. Wow! You did it! You managed to learn the basics of building a website. This is BIG!

It’s time to do it on your own. So you start building your own project, your own website. Oh this other site looks pretty cool let’s see if we can do this! Hmmm, okay you don’t think the course thought you this. Let’s try googling it. Woah okay! Nope this is just getting more confusing. All you want is for the freaking title to fade out when you scroll down, how hard can that be! What’s this jQuery bullshit all these sites are telling you about? And so you forget it and make do with something simpler. At least it’s something, not too bad right?

Months later, the greatest coding you ever did was that shitty website which was mostly off a web tutorial. This coding is hard, how did anyone even believe that anyone can code. Surely you weren’t born for this. This is not your thing at all.

All that sounds familiar? Well that was almost exactly what I went through when I first tried to pick up web development. And I realised why coding is such a nightmare for most first-timers.

Coding is an attitude.

Most people don’t realise that being a coder, or developer is not as much about the skills or talent to be able to program as much as it is about having the “coding attitude”. What is the “coding attitude”?

Accepting that you are a dumb piece of shit, and you cannot single-handedly control any circumstance.

Coding is no place for a person with ego. If you have ego about your knowledge or experience or expertise, the code will take a massive dump on your head. Every time you believe that you are right, the code will throw an error. Every time you think it will work, the code will give you a new glitch. Every single bug you fix, a new one pops up. When you have finally mastered that Javascript framework, it becomes deprecated and a new version is released.

So how to handle this? Accept that you have no control, and be open-minded. Coding is somewhat close to attaining a higher state of consciousness. A state of mind where you accept that you have no control over what happens, and you are ready to face whatever scenario thrown at you, with all the resources that you have at your disposal. The coding attitude is the “Come at me with all you got” attitude, knowing you don’t have much but you’re still going to do all it takes to tackle the issue. This is not something that is taught in schools, but it is a hard lesson that one learns after failing many times.

I would not say that I have mastered this attitude, but I am trying to believe in it and let it sink in. I feel that this attitude is something which can hold in all aspects of life, when looking at it from a broader perspective. No scenario or circumstance is ever within our control, however what is within our control is how we choose to react to the particular scenario. Whether we choose to get upset and frustrated, or if we spend that energy looking into ways of resolving the issue, is always within our control.

That’s exactly how you glorify the glitches 😉

Cheers till the next time!

Keep glitching!

Hack a ton

So over the last weekend, Hackathon@SG happened and me and a bunch of friends just decided to go ahead and take part in our very first hackathon. This was apparently the largest hackathon in Singapore, jointly organised by Infocomm Development Authority of Singapore (IDA) as well as the Information Technology Standards Commitee (ITSC).

To be honest, we were a bunch of inexperienced students who were just there for the experience and fun. The challenge was to build something that resonated with the theme SmartNation, given that Singapore was turning 50 this year and we are trying to move forward with the tech age.

So we had a few hardware devices that we could work with: Google Cardboard, Razer Nabu X, Tweeq, VR One, or simply open data. Basically we had to come up with a solution to problems faced across various sectors such as living, healthcare, business and education. We all agreed on working with the Nabu X, mainly due to the ease of software implementation and the practicality of the solution. Also cause wearables have become all the craze right now.

This little black thing with three coloured lights costs 80 bucks??!!

So the Nabu X is pretty much the same as any other fitness band out in the market, except for one feature called the “Handshake”. Basically this feature allows for two Nabu devices to communicate with one another. SO we decided to make use of this feature in an app we named “Zink”.

Basically what Zink does, is that it allows for users to exchange digital business cards, through the means of a handshake, eliminating the need for a real business card. This allows for users to really involve themselves in conversations and establishing a repertoire as compared to focusing on exchanging contacts for future communication.

Not too complex an idea, and we thought on making it a user friendly application. End of the day, it was about having a good learning experience so we did not want to over complicate the idea.

So 24 hours passed by, with a few naps and a lot of code and coffee in the middle. Presentation time came and we put up a little presentation of our prototype and went home, glad that the thing got over and we could get some good sleep. To our surprise, the next day we got the news that we made it to the finals. What??? How??! And out of 150 over teams in the student category, we had made it to the top 10. It was humbling, and shocking, since this was all of our first times in a hackathon, and this was supposed to be the best minds in Singapore coming together to compete their hacking skills.

So two days ago was the final presentation, where we presented the same project in front of close to 30 judges , all from varying fields and walks of life. Was not an easy one, as we got shot down numerous number of times by various judges. We fought hard, but we knew that our idea could only go so far without much implementation in the prototype itself.

Minister Vivian Balakrishnan came down to take a look at some of these projects as well.

We went on to take a look at the other projects, and damn, it was humbling indeed. Some of these guys had come up with really concrete and amazing ideas in the span of 24 hours. Fitness apps which used machine learning to figure out what exercise you were doing, networking apps which tracked human flow using MAC address tracking, and a bunch of 15 year old kids had come up with a augmented reality remote control using the VR one. WOW. Simply amazing. These guys were all my age or much younger and they were creating these amazing pieces of technology. And that’s when winning did not matter as much, as being given the opportunity to be amongst these talented individuals and know and realise how much more room for learning and improvement there is.

Looking forward to such opportunities again, and hope to constantly find such opportunities which allow me to understand how limited my abilities are and give me insight into the massive room for growth and improvement.

Keep glitching! (: