Last thing you'll ever read…again
Posts tagged work
It’s just the way I are!
May 19th
So this morning I hopped on a train to work and began going through facebook on the iphone. I should probably stop doing this as it’s killing my data usage and I’m not even stalking remotely attractive looking girls!
Anyway, facebook brings a face to what would be trolls on internet forums. I read one post that aggravated me. It’s one of those “Look at me I’m posting something that most people would have seen anyway AND I’ll add my own obnoxious opinion about it!” Then of course you’d have the minions that follow that go “oh yes, this is so true”. Fuckers.
Basically, the feed was regarding Portugal and same-sex marriage. That’s fine. We’re in the 21st century, if a man could be forced to marry a goat, I don’t see why a man can’t marry another man or woman with another woman. Fair’s fair. I do, however, have a issue with the statement that came after “…congratulations to another country far more civilised than our own.”
Excuse me?
Whether or not same-sex marriage is allowed does not determine if a country is “civilised”. It just shows that the Portuguese government has an open mind to these kind of things. Australia is great, maybe the technology isn’t up to date with the rest of the developed nations, maybe the transport system is a bit poor, maybe we have a government that promotes internet censorship, maybe we do have egg laying, duck like mammals with poisonous spurs, but honestly, every country has their problems and I think we can tolerate our problems. In fact, isn’t that why most Australian’s are immigrants in the first place, sick of the problems in their home country to come to a country with lesser problems? Hmmm.
Though I do not understand why there are so many rallies for same-sex marriages in Australia. Sure. Gays want equality. I understand that. I want them to have their equality. But maybe wait a generation? Think about the people in power right now. What era were they from? Thought about it? Do I really need to explain why they will never give in to your demands/requests? These are the same people trying to censor our PORN. Personally I think that the next generation of government will be absolutely revolutionary. Having said that…the generation after will be epic fail. The prime minister will most likely be some epic troll, trolling the entire country by adding rick rolls to his/her speech. I’m lolling just thinking about it. I can’t wait to troll my kids.
Any who, I think I’m done in terms of ranting. You can probably stop reading here as I’ll be talking about something else now.
I thought that my day would be slow, boring and tedious. But it wasn’t. Manager was away so I got to sit in the same row of desks as my team. Worked on a relatively simple problem that took the entire day to implement.
Basically I had to implement a form for uploading multiple files. Simple right?
Well…yeah…it is pretty simple but I wanted to do it elegantly and either there’s a gotcha that I didn’t know about or it’s just Spring being a whiney little bitch that it is. Basically I have 5 input fields and I wanted it to bind to a File array, except, it would only bind the first input field. Googled a lot, didn’t turn up with anything. So in the end I gave up and did it in a not so nice manner.
File file0, file2, file3, file4;
File getFile0()…
void setFile0()…
You get the gist of it.
In addition to that…because it didn’t bind properly I couldn’t use an index to look up the corresponding “description” that correlates to the file being uploaded.
So I had to do something like
if i == 0 getFile0()…
Yuck.
My manager arrived as I was about to leave so I showed it to him…the form that is…not the code and he was like “Perfect, that’s exactly what we want”. Well, just shows, as long as the end result satisfies the client’s requirements nothing else really matters.
So the day ended on a positive note.
Any who it’s taking me forever to write this blog >.>
Comment so I feel loved!
A hundred papercuts
Apr 14th
Ubuntu launched the a hundred papercuts project a while a go encouraging developers to fix small annoyances in the OS. More companies/teams/groups should do this.
I’m currently working one day a week at Macquarie and I’m more or less working on papercuts, things that take 1 or 2 days to finish that aren’t critical but will save people a lot of time.
I quite enjoy it. The work is challenging, you get given different tasks each day. The work is fulfilling, you get well recognised by your efforts.
However, I’ve come to realise that unless it’s PERFECT, users will always complain about something. I had to implement a brand new screen today to enable a functionality that involved calling a stored procedure manually beforehand. This could take days and involve sending multiple emails around to get approval. So in a couple of hours I had drawn up a new screen, did some simple tests and polished it up with meaningful helper messages. I showed it to the client and he seemed pretty impressed about the turn-around. BUT. It was missing one particular functionality.
I guess it’s understandable, when you want to get something done it might as well be done perfect or you might as well not do it. Let’s just say due to the way pyodbc (the python library for connecting to DBs) works it does not support return codes from stored procedures. What. The. Fuck. Because of this the stored procedure returns the same value every single time. This means that when they’re running the stored proc manually the DB client throws the dummy, whereas pyodbc is all chillin’. But yes, there is a solution to the problem which is to return a result set by running another query. Argh!
Anyway, that’s my mini rant. I’ll have to fix that up next week.
Oh and my contract came in today. The remuneration is pretty handsome plus we get bonuses each year. Hurrah!
Workity Work
Mar 10th
Spent 10 hours in the office today.
2 hours spent setting up my PC…again.
1 hour spent at lunch.
6.8 hours getting jboss, swing and python 2.4 to work
0.2 hours of coding, totalling a massive 10 lines of java.
You would think I was getting paid for each line that I write.
Sounds horrible doesn’t it? Well, it’s alright, I mean the work is not that high priority, I’m getting paid well and I don’t mind it.
Some guy also burnt his toast and set off the fire alarm. Had a fire truck rock up, check the premises and leave. Quite hilarious. Macquarie probably got slapped with a massive bill though. To make it worse, it’s apparently the 3rd time that it’s happened since I left. The toaster did not suffer from any injuries.
Chopsticks is holding “amazing race” on Saturday, if you want to come ask me for more information. It’ll be fun with lots of Asians.
Oh and Ben…screw you…I was trying to pronounce “ball” today. Made me realise that I’m one of those few Asians that’s not a banana but hang around a bunch of white guys, w00t?
Sorry, I’ll go back to being polite. Speaking of polite I was lining up to buy ham and delicious sandwich pickles at Woolies. Got up to the counter and the lady said “Hi, how are you?” in one of those extremely bored and rehearsed way. I gave the usual “I’m good thanks. How are you?” but slightly more enthusiastic than usual, with a smile of course, and her faced literally turned from a frown to a confused smile. I guess she doesn’t get a lot of friendly customers, which is a reason I hate customer service jobs. I cannot tolerate lack of appreciation. If I do something nice, you better appreciate and acknowledge it.
My WongFuProductions t-shirts came in yesterday along with my awkward turtle I’ll be wearing them most likely tomorrow, Friday and most definitely Saturday.
Anyway, I’m gonna finish my dinner and watch House. In the mean time here’s a video
and proud of it
Edit:
Oh and I realised that people don’t comment unless a) They really want to get their voice heard b) I tell them to
So um…comment!
Start of corporate life
Dec 1st
I started working at Macquarie yesterday. Went through an induction where there were team activities, presentations and of course free food. Today, I got told what I would be doing.
It seems easy enough, but like everything, it’s all easy when you first hear it.
I have 3 tasks.
First task is to upgrade an existing permission system. Currently users are allocated various permissions given their role. However, if their role were to change, admins would have to manually remove and add permissions. This worked when user base was small, but in order for it to scale a new system would have to be implemented. I would have to create a profiling system, where each user would have 1 profile rather than several different permissions. The profile will then contain the permissions. This way you just have to change the profile rather than changing a dozen or so permissions. Seems easy huh?
Well, I guess the problem I have at the moment is understanding the system. It is quite monstrous (by my standards anyway, probably small compared to some of the other applications). The code is actually quite easy to navigate, it doesn’t contain any javadoc but is intrinsic enough to understand. Hopefully I can work out how the permission system work by this week. It uses hibernate which is an ORM for java, which is extremely funky. Basically turns DB table rows into objects which you can manipulate directly upon.
Two other tasks that I have to do is replace the webware python framework with another framework (possibly cherrypy) and also migrate the system to unix (as opposed to windows).
I stayed back till 6:45pm today, and it’s only been my second day. It was by choice though, nobody forced me to. I’m also sick so I feel like crap.
I’ll probably be a sellout
Jul 17th
So I went for my interview at Intersect today. It’s a not-for-profit organisation that does projects for research institutions. It went pretty smoothly in my opinion. My interview was scheduled for 9:30am and I got there just in time.
Interview started off like any other, brief run down of the company, asked some questions about myself and what I do. Finally they decided to get technical. Gave me a rather simple problem. You have a char array and you want to reverse it how would you do it?
My answer was…”Well, I’ll first look up if there’s any inbuilt functions to do so”. I was pretty sure there isn’t such function in Java but in python it’s just one line. They replied with “Let’s assume there isn’t, but that’s a pretty good place to start.”
They then left me for 5 minutes which was more than enough time to write it up.
When they got back the Director of Engineering said “It’s wrong” and then the Senior Software Engineer replied with “That’s absolutely correct”. So I’m guessing I heard incorrectly but it left me to ponder on words that could possibly sound like “wrong”.
They then showed me a simple ui diagram and asked me what I would test to try and break it. I replied with the usual stuff like division by zero, overflow and underflow, letters and symbols, rounding errors etc…
They seemed fairly happy with my replies and said they’ll get back to me after all remaining interviews have been conducted.
As I was walking home I began thinking about the upcoming months. If I do get the role it’ll be a 3 months contract. By the time it ends it’ll also be around the time that exams kick in. After exams is Internship period. Now if I happen to be working for Intersect and if they do happen to hire me after the 3 month contract with a more long-term role would I still be with them? Or would I take up the internship? It’ll probably come down to money.
It’s a decision between working for a not-for-profit organisation that’s dedicated to helping research institutions or working for the corporate money hungry giant.
On a side note I recently re-discovered this childhood anime of mine. I watched it in China and when I came to Aus, it was on Cheez TV. I could never remember the name and whenever I described it it was something along the lines of “These people have these things that they hold in their hand and then they transform into these robots…except they’re not robots but humans…”. It’s called Tekkanman Blade and it’s extremely extremely old so I doubt anybody would take interest in it. I’m watching it again to regain some of my childhood memories. If you’re interested just wiki it.