C++ is not fun

August 14th, 2008

It’s horrible, in fact. So you’re trying to do something simple, like mute the windows volume using C++. You know that this isn’t going to be in the core libraries obviously, so logic dictates it’ll be in WINAPI or .NET somewhere, so you go to MSDN and read about it.

You find 2 ways of doing it. One way only works on Vista, the other doesn’t work on Vista. So you have to impliment these two ways of doing it. The non-Vista route requires over 9000 lines of code, and the Vista version, too, requires over 9000 lines of code. To mute your system sound volume.

Why the fuck isn’t there a setVolume(newvolume); function that works with just a line of code? Cross-platform?

Anyway, if I do manage to get it to work, I’ll be sure to write exactly how: MSDN is bollocks due to not having any example code so you’ve got to google everything, and you get over 9000 of these “EXPERT FORUMS LOL” sites where you pay over £9000 a month to read solutions to the problem you’ve been having.

Anyway, I’m writing a sleeper timer/alarm clock app. I know such things exist already, but none are exactly what I want for various reasons, so I figured it shouldn’t be too hard to just write my own.

I love VC++’s GUI editor, it’s like Visual Basic’s but not in noob-mode, and it allows you to define shit in your code which for some reason you can’t do in my school’s utterly abysmal choice of Visual Basic 6 that they teach in the computing department. But anyway, here’s my GUI so  far. It’s designed to be as simple as possible, and I’ve yet to impliment the alarm clock functionality into the GUI, just the sleeper stuff.

gui.png

No Country for Old Men

August 14th, 2008

So I’ve decided I’ll maybe review a few films I’ve seen recently.

No Country for Old Men is rubbish. Wilf is wrong.

Well, shit.

August 5th, 2008

Exam results, woo.

  • Computing - A (pass)
  • English (Exam Only) - C (pass, just)
  • Graphic Communication - B (pass)
  • Mathematics - D (fail)
  • Physics (Exam Only) - F (srs fail)

Shite:

Now I have to resit maths and physics. Funfun -_-

Good:

I do not have to resit the utter drain of life that was higher English. Hurrah. This almost makes up for the maths/physics thing.

Ach well, I wasted a year, my fault, can’t blame anyone else. I’ve got a year to fix things I guess. Sigh.

uhh

July 4th, 2008

Oh, hai there.

So I’m not dead.

Not much been goin’ on recently, so nothing to write about, recently.

So I bought myself a 24″ monitor and it’s lovely. There’s something quite satisfying about opening a web page that uses maybe 300 pixels horizontally on my 1920×1200 screen, knowing that all that extra space is going to waste. It’s like having loads and loads of food and then only eating some but rather than giving it to African kids you just keep it but don’t eat it. Awesome.

So I’m gonna start my “IMDb Summer Challenge 2008″ on Monday. I planned on doing this last year but I failed, so I didn’t write about it. The plan is to watch 42 movies from IMDb’s top 250 list in 6 weeks. Watching the films isn’t much of a challenge, obviously, but choosing 42 films out of 250 is quite hard, as there’s a lot o’ shit on that there top 250 list. Look at The Godfather, what a terrible film. So yeah I plan on (yeah, right) writing about every film I watch. We’ll see.

I also plan on coding some shit, and watching SG-1 s06-s10 again. We’ll see.

So I was in Glasgow for a few days as a nice wee break from Perth. I went to IKEA and had hot dogs and chips and I was going to buy some puppets but decided against it when there was a massive queue with over 9000 people in it. I also bought a T-Shirt that says “Alliance” on it and it has the Alliance crest it’s awesome you should buy one. And I bought me some new guitar strings as my old ones were fucking stinking.

Oh yeah I got a guitar and I’m learning, it’s coming along quite nicely. It’s only a Squier Strat, but it’s a cheap and cheerful guitar untill I choose to get a better one. Using a Line6 TonePort USB interface instead of an amp, it’s not convenient but damn it’s awesome. I’m even in a band I’m that awesome. Our drummer has never played drums. I maed a logo lol:

BAND FUCK YEAH

That about wraps it up.

Shut the frak up, BSG

March 3rd, 2008

Okay, as much as I love you, BSG, stop it with the fucking use of “frak”. If you’re going to say “fuck”, why not just say “fuck”? I know what you’re implying, so just say it. I won’t be offended, I promise.

Rawr.

Also, Turisas + Alestorm + Norther tomorrow with Murray and Peter, really can’t wait <3

Captain Dan and the Scurvy Crew

February 3rd, 2008


My brother bought me an album for Christmas. It’s awesome. Included on it is this song.

I loved it so much I made a video of it because I’m so awesome. Awesome.

Alestorm’s “Captain Morgan’s Revenge”

February 3rd, 2008

I bought an album. It’s from my favourite band; Alestorm.

The new album is called Captain Morgan’s Revenge. Alestorm are awesome. Alestorm are a True Scottish Pirate Metal band. It’s awesome.

The album actually has 12 billion songs on it because Alestorm are so awesome. If Alestorm were any more awesome, the universe might just explode.

The album cost me £13.13. Is this awesome? You decide.

But yeah, here’s a break down:

  • Track 1 - Over the Seas - 10/10 - Pure awesome, good instrumentals and good vocals.
  • Track 2 - Captain Morgan’s Revenge - 10/10 - Captain Morgan’s Revenge is one of those songs you can see yourself singing late at night when you’re drunk or something. It’s well-written and awesome.
  • Track 3 - The Huntmaster - 8/10 - A bit disapointing, but awesome because it’s Alestorm.
  • Track 4 - Nancy the Tavern Wench - 10/10 - AWESOME.

My wrist hurts from all this typing among other things. I suggest you listen to them on MySpace and then buy their album.

I Am Legend

February 3rd, 2008

I Am Legend is shit. It was alright for like the first hour, then it was as if the writers all died or some shit so they just didn’t bother writing an ending. Here is the plot of the film:

[00:17] z3rb: my dog died so now i will become an hero
[00:18] Wilf: and i hate th voice at the end, whilst like “HE IS LEGENDZORZ!!!!!11111″

What a shitty film. 4/10.

Spam Spam, eggs and chips and Spam.

February 3rd, 2008

Y’know, Askimet, my blog’s anti-spam plugin thing has captured 4,957 spam comments on mah blog. That’s pretty mental, but a few still get through. I just deleted around 30 of them, my favourites advertised:

  • “japanese fecal fetish” - Hmm, not sure I really want to advertise that on my blog.
  • “cat urine remover” - Who would buy this shit over the internet? Ok maybe a few would but does that justify spam? Hmm?
  • “piss shit girls who like shit” - I see a pattern emerging here :o
  • “naked girls” - Naked girls? On the internet? I’m only interested if they’re covered in shit.
  • “shit licking asshole lesbians big tits shemales” - Holy shit, it’s li– really? Where, when? Here’s my credit card number.

There were also obviously the standard drugs ones,

  • “viagra cheap online” - Clearly this will help me when I’m thinking about shit-covered girls.

The internet is a wonderful place.

Enterprise

December 21st, 2007

Anyone who knows me will know how much I love Star Trek, and how I often compare real-life situations to those which I have seen in the voyges of the Enterprises.

I finished watching Star Trek Enterprise a few weeks ago. It came to a rather abrupt end, but over all it was 4 seasons of pretty decent Star Trek. There were a few episodes and story arcs in there that were just brilliant, which makes it the best Star Trek series to me. I liked DS9 and TNG, but the more modern feel of Enterprise gave it a much better atmosphere, and it’s a lot easier to watch than any previous series. I think that’s because of the uniforms. I mean, come on. What the hell was with the 23rd-24th century Starfleet uniforms?

Anyway, here’s a few noteworthy episodes:

In a Mirror, Darkly

These two episodes were absolutely epic. I loved them.

When the First Contact footage started, and Zephram Cochran shoots the Vulcan, I was all like “WTF MATE” and then I was like “AWW YEAH” and then I was like “:O”. I’m not sure if they were supposed to be funny, but with Phlox being evil and when they find the USS Defiant and start wearing the 1960s TOS uniforms it was just brilliant. Plus T’Pol in the parallel universe uniform. Awesome.

These Are the Voyages…

This episode was cool because Riker and Troy from TNG were in it. It felt a little tacked-on, but it was pretty decent as a series finale.

Daedalus

I just knew that black guy would be causing trouble!

Storm Front

Alien fucking Nazis from the future.