what I’ve been doing

I’ve been quite a bit of work in Powershell recently, just making sure I’m up to speed with it. I’ve found all my meddling in PHP quite useful and relevant actually, which is fantastic. Working with building GUIs in Powershell too, which is so much nicer than just doing plain CMD looking screens. Although, applying color to Powershell output is easily done too.

I’ve pulled/hacked together a couple of nice little scripts in the meantime, so I’ve posted them on the useful code page for your looking pleasure.

This year’s Google CodeJam is on the way too; just got my invite email to enter in a month’s time. Looking forward to it again; this year I’m going to not confuse my data type sizes like last year (such a n00b FAIL moment!!). Undecided on language as yet, tossing up between PHP and C#, but I want to do some prep and practice before making a call on that. Really, it’s going to involve having my iterable arrays pre-planned and ready to go. IEEE Xtreme 2009 t-shirts have arrived now too, so I’ll be getting mine next week!! Wahoo!!

On the job hunting front, I’ve had 2nd interview for one job which would be really cool; but another job has just appeared which looks purpose-built for me!! Even my boss commented that he thought they had written the job-spec and PD for me. Not going to say too much, ‘cause I don’t want to jinx it, but yeah.


next post, my fail, Kanye’s a f%$#tard

First off the bat, I didn’t make it through to Round 2 of CodeJam. The issue I posted about on Saturday reared it’s ugly head again and I kept getting the good old crash due to int not handling 10^18 !! Annoyed me a tad, so I haven’t reviewed my attempts just yet. My small datasets worked perfectly with the identical code, so I’m definitely puzzled. I’ll be posting the code once I have the issue solved. I’ll then be able to point out my epic fail that should have been obvious. Ah well, next year I’ll be back in for more. I’m also contemplating doing it in PHP next time instead of C# because I like the cleanlines of some of the algorithmic features of PHP. I’ve reviewed other competitors solutions in PHP and C# also; the other biggie for me is to review my regular expressions as I don’t use them anywhere near enough, so my code is full of while loops/if-else statements etc.

Moving on, I have to say that Kanye West is a “moustache on a woman” (thanks Paul Henry!!) for his efforts at the VMAs the other night. All the copies of the video keep getting pulled from YouTube, so the best I can offer is this link to mashable. Suffice to say, he’s acting like an arrogant douche and jumps into the middle of Taylor Swift’s acceptance speech to grab the mic and say he thought Beyonce should win!! He got booed off by the crowd, but even so he needs a big slap upside the head.

The video has also been remixed already too:

Other than that, I’m loving MonoTouch!! It’s an interface and IDE essentially which enables you to run your .NET and ASP applications within the iPhone/iPod Touch framework. From the website:

MonoTouch is the Mono edition for Apple’s iPhone and Apple’s iPod Touch devices.  MonoTouch allows developers to create C# and .NET based applications that run on the iPhone and can take advantage of the iPhone APIs as well as reusing both code and libraries that have been built for .NET as well as existing skills.

For example, here is the proverbial “Hello World” demo. So simple and sweet. I definitely want!

That’s enough for right now, but I’ll bring more later today, as well as some updates on launching site in the next few days. 99% done, just final testing now.

still chasing Round 1 codejam

So, I muffled on Round 1A of codejam, but never fear I had two more attempts to go. Got up at 3.30 this morning, revved myself with Mountain Dew and set o it at 4am….solved my first question in under 30 minutes, so I was feeling kinda groovy about the whole thing. That was the small dataset though, my large dataset attempt crashed immediately which wasn’t pleasant. You only have one chance and 8 minutes for the large dataset, so I was MEH MEH MEH. It was dying due to trying to make an int of a value it felt was too large….this befuddles me a lot as the limits for large data were 0<X<10^20, and type int, long, ulong etc are meant to handle this. I desperately Googled and tried to remedy, but this was to no avail inside the 8 minutes. So, the failboat picked me up on that one. Those points missed meant my place slowly slid down the list throughout the balance of competition from in the 400’s to a stunning sub-1000 placing (top 1000 go through).

Round 1C is tonight at 9pm my time, which is just as I finish work, so I’m making my last attempt then. At least the top 2000 competitors should be out now, so I’m competing against the lower 5000+.

Anyways, lunch with family now, so here’s a few YouTube videos that I love:

quick update: Sen. Al Franken draws US map from memory

I’m busy prepping for Round 1 of Google CodeJam, but I thought I’d quickly post this.

From the blurb:

Senator Al Franken draws a map of all 50 states from memory during an appearance on Minnesota Public Radio’s Midday at the Minnesota State Fair.

This is just plain awesome!!

More goodness later today/tonight. Back to it now.

Apple keynote, Google CodeJam, DNS dramas

OK. The DNS issues are now sorted; it turns out that the settings at the NIC end had not propagated out correctly and that took another 24+ hours to remedy. Anyways, I’m now able to get some testing and such started on the live site. At least I was able to FTP all my files via the IP address in the meantime; so, no harm no foul. Nice learning curve anyway getting to play with “normal” web-hosting and dev issues.

Apart from that, the Apple “It’s only Rock n Roll, but I like it” launch was a bit underwhelming I have to say. So we now have an iPod Nano with a camera, but we still don’t have an iPod Touch with a camera??? And, I’m sure Apple has a plan, but most of their clients are right-handed and they put the camera on the back lower left; ie just where a right-hander’s hand will be whenever holding their Nano. I dunno there, maybe Apple R&D is just full of lefties?? Hmmm. Although el Jobbso did discuss this a little with the NY Times, and indicated that they are seeing the iPod Touch as a game platform instead of an iPhone without the phone (an “i” ?), and that as they want to reduce the price-point for it they don’t want to add more hardware all the time.

Google has launched a new, bigger search box!! You can see a comparison pic here, as well as a timeline of the Google homepage over the years here. I see a movie in the making: “Search Wars”, or maybe “The Pirates of Mountain View”, or even “Google – the pre-Bing years” as a tele-drama. It’s going to be interesting to see how the Microsoft/Yahoo! changes the search market with Bing.

I’m still waiting to hear what’s up with CodeJam for the next round. I haven’t had an email, or been able to find any updates on the site, but I’ve now emailed asking as Round 1 begins in 48 hours or so from now. No stress, but it would be nice to know when I’m actually competing. I’m hoping for Round 1A, as that is at 13:00 Saturday for me, as opposed to being at 04:00 Sunday (not a pleasant thought!!). [Update – just as I went to post, Google has replied to me already. They are letting everyone compete in all three sub-rounds until they qualify. I like prompt service!!]

[Updated update!! – It turns out that the info above regarding Round 1 has not yet been released! So, you heard it here first. Google will be announcing this and emailing it out to qualifiers in about 24 hours time. YAY!! My first exclusive!!]

No YouTube for you today, but I will again tomorrow. I guess the best thing for you to do instead is to go check out engadget live from the Microsoft Windows Media Center event. Go to it!

back online again, so here’s a post

Since my last post last Thursday, I have qualified for Round 1 of Google codejam!! Awesome, and now I’m just waiting to hear if I get my first or second choice for my Round 1. I’m hoping for 01:00 UTC Saturday, as this is 13:00 Saturday for me which is kinda conducive to being alert and onto it. otherwise my second choice is 04:00 Sunday (my time) as the only other option I have is 21:00 Sunday (my time) while I am still at work. I’m hoping the 01:00 UTC is not pleasant for most of the rest of the world so I don’t get bumped out of it….

Other than that, I spent Friday finishing codejam qualifying in the morning, and then went to work for the rest of the day. I have seriously never been so tired, I didn’t realise how draining intense coding and screen-staring could be. Saturday AM Naomi and I went to the French farmers market in Parnell for coffee, croissants, and veges – as well as the divine stuffed olives and mini-peppers. Also got some free-range chicken, and planned the menu for a dinner party in a few weeks time. Sampled some absolutely delicious aged balsamic, 10 year-old and soooo sweet. We didn’t get to “sample” the 25 year-old, as that is $190 for a 200ml bottle!

After that cruisy start to the morning, we went back to mine for a few hours while I did some gardening for an agent viewing during the week. Then went to Naomi’s to fix her bike and have dinner, before finally making it to see Inglourious Basterds!! Fantastic movie. Brad Pritt was brilliant as a slightly cuckoo, yet totally debonaire Nazi-killer. He uses his smile so well.

Sunday was church, and then Fathers’ Day lunch for Naomi’s dad, then work. (How’s that for an entire day in 13 words??).

Today, I’m back into siting at varsity (even though it’s mid-semester break) and working on assignments. First one is my ANZIIF (Australia and New Zealand Institute of Insurance and Finance) module assignment as this is due on Wednesday evening. I did discover a few cool videos over the weekend too, so they’re here:

We’ll start with Tiesto himself, beautiful track. I love watching him mix, just brilliant.

And, there’s so much parkour to show, but I’ve settled on this race between a Peugeot 207 and some free runners courtesy of Top Gear

This is just ridiculous….how to show that you are just a bunch of red-neck biggots.

At the Norwalk town hall meeting on health care, Rep. Jim Himes (CT-04) takes question in Spanish from Stamord Bishop Emilio Alvarez. Himes was born in Peru and is fluent in Spanish. The anti-health care people in the crowd display their racism quite clearly

Ok, another from Tiesto, ’cause it’s a classic anthem

That’s about it, but I’ll probably post later today with some comments about the state of the world and so on. And maybe even some more wisdom and insight into possibilities for this Wednesday, you know that uber date in every fanboi’s calendar, September 9th – Apple’s next big announcement.

quick update: Google CodeJam is here!!

Just a quick post in the fifteen minutes before CodeJam kicks off. Qualifying round is from 23:00 UTC Wednesday 2nd September, so I’m lucky enough to be able to step into it at 11:00 NZST Thursday 3rd. AWESOME!! Quite a dignified time for a coder to slide into the whole shebang I feel. I’m looking forward to it this year, and actually feel like I might get somewhere. Lastyear’s effort was totally MEH, as I had no idea what I was getting into, and then got stuck working until 3 hours before the end of the round. That, and being shattered, meant I didn’t even make a proper honest attempt.

This year, I have no excuses; so I better not mess up eh??

Oooh, into the ten minute counter, so I’ll log off here. Update post, and other goodies, later today.

Oh, yeah, I’m doing it in C# this year.