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

From FOMO to JOMO

Until very recently I believed that I needed to be on top of the latest news and happenings not only in my field (computer science and software engineering) but also in as many things as I can be on top of. This meant subscribing to all sorts of magazines, newsletters, YouTube channels, Twitch streamers, watching TV and live sport events, etc. — I was on top of a lot of the latest happenings, trends, news, interesting developments. I was having fun and I felt busy. What I did not feel was particularly effective nor productive. I felt like I was consuming so much information with the thought that it might be useful someday. When I was younger this wouldn’t have been an issue but I realised that ever since I’ve started taking stock of what I’ve been spending my time on, that a lot of it I’ve been spending just staying on top of things that I really didn’t need to be on top of. This article is about some of the realisations I’ve made in the course of exploring this issue of “FOMO” or

Appreciating Rizal...

Nope, this is not an academic post. More of a reflective and wrote-because-i-was-enlightened type post. Anyway, I just passed a paper on Rizal's notion of a nation according to Quibuyen (a local writer who devoted a book -- A Nation Aborted -- on his treatise on Rizal). Chapter 6 was an interesting read, and a definite eye opener. Rizal all of a sudden became interesting, especially to someone like me who could care less. It seems that most of what Rizal aims for and wrote about is still evident in today's Philippines as I see it. I wonder why I didn't get to appreciate Rizal and his work when I was still in high school -- might be the fault of the high school and the curriculum, or might be because I was still considerably immature then. I wasn't able to understand most of Rizal's writings though even if I got to reading them basically because they translated from Spanish to Filipino/Tagalog. I don't have problems with Tagalog, until you put it in writing. I

Reconnecting with people

2021 started with a a good sense of connection for me, having spent time with friends and family in a simple celebration of the oncoming year. The transition from 2020 to 2021 and being able to look back at a good part of my recent history got me thinking about how life has been for me and the family for the past decade. There’ve been a lot of people that I’ve met and become friends with while there are those that I’ve left behind and lost touch with. There’s a saying about treating old friends different from new ones, which I do appreciate now that I’m a bit older. It also means that my relationships with people that I get to spend a good amount of time with take a different shape. This reflection has given me some time and space to think about what it means to reconnect with people. Friends are the family we choose ourselves. — Edna Buchman I have the privilege of having life-long friends that I don’t always stay in regular contact with. From my perspective, if I consider you a frien