Skip to main content

Zero to Done...

I just got home from an overnight hackfest at my groupmate's place. We were faced with a pretty simple problem nobody wanted to solve: How to parse and extract content from an ATOM feed and create a data structure containing articles/entries to be rendered by either a GUI frontend, or some webservice others might want to build. *hint* *hint*

So there we were, 11 pm in the evening still sifting through the documents we could use for the crafting of an ATOM parser. Of course my conscience couldn't take just getting a ready made parser from the web and puttin it into our project. That wouldn't be very nice of me would it... Even if it was open source or something, it doesn't show what I can really do with my knowledge and abilities. And besides, my groupmates counted on me to get something working... Even I was counting on me to get something working, so I had to get at it with all my programming powers in high gear.

So after a couple of bags of chips, dimsums, matabang na pansit canton, and lots of water, we got from 0% complete to 70% complete. I did it. A functional atom feed parser, which I came up with by myself with the aid of the Java API, the internet, and very very patient groupmates. A LOT of brainstorming had to go on... And a lot of forehead slapping because of too many containers, variables, iterators, and method calls.

In 4 hours, a functional ATOM parser came out of me. The only thing left to do is integrate it with the GUI my other groupmate has already come up with, and an RSS parser which another groupmate is going to base on my ATOM parser.

And I thought XML parsing would be a headache... Thank God for JAXP. :D

Chill...

Comments

Post a Comment

Popular posts from this blog

Futures and Options III: Economics, Journalism, or Computer Science

I realise it's been a year since my previous post on this blog, and I've found myself having very little time to do another "brain dump" on the subject of my early choices in life. With that in mind (and as I'll be traveling again soon) I get to think a little more and reflect on a few of the things that have happened.

Much like the previous post, this one's set in high school -- where I was part of the swimming team, in a band, had been programming with Turbo Pascal, Java, and then C++ later on, and was about to make a choice that would literally change the course of my life. This one is about the choices I made, and the ones that were made for me.

Note: This is part 3 of a series about my early choices in life which have gotten me to where I am today. I would greatly appreciate your feedback and thoughts, as well as for your reading through this series!


Rant: Despair and Hopelessness

This weekend I had the chance to do a Google+ hangout with my father in the Philippines. He and I don't talk often but we do have a very good relationship. My dad is cool like that. In this hangout we talked about a few things happening in the Philippines and I've gotten the feeling that my homeland is getting ever deeper into economic disrepair, and that the politics to which I've come to be hopeless on is beyond repair. I've wanted to get something off my chest that's been bothering me for a while now, so if you would indulge me please read on.

Background

I grew up in a part of the Philippines where the land is fertile, there are thriving industries, and there's a certain sense of abundance and stability. This part of the Philippines has good schools, good employment opportunities (mostly industrial and service industries), good investment opportunities (real-estate and agricultural), and good potential for growth. This was true when I was young and this is tr…

Get a Life Coach

Have you ever played a sport whether individual or team sports where your top performance was required for any measure of success? If you have, you may have had the benefit of at least one coach guiding you to point out better form, better strategies, alternative approaches, keeping you accountable, identifying our strengths and weaknesses, and overall telling you to listen to your body and focus on your goals. If you haven't then would you like to have someone on your side, not judging you then generally cheering you on while you attempt to achieve whatever your goals are? For the past year I've been working with a life coach and I can say it's worked so well for me that I cannot help but recommend everyone consider investing in life coaching.

I used to swim back when I was a student in university as part of the varsity team. I had a number of coaches then who taught me not just the technical aspects of swimming, but also the mental fortitude required to train effectively…