Courtesy of Twitter

Archive for the ‘Uncategorized’ Category

Reliance

Monday, August 18th, 2008

I honestly don’t know what to write here. I am disappointed in the people around me, and myself. I rely on them to do things for me and they don’t get done, and I return the favour. Not feeling like the best of people right now.

Moving Topics

Wednesday, August 13th, 2008

Worked out topic moving. Code can be seen here.

There was a big whinge about how hard it is, but I was just in a retarded state of mind. One good night’s sleep and explaining it to multiple people (thanks Justin Smestad and Brenton Fletcher!) clarifies so much.

InLAN

Sunday, August 10th, 2008

Went to InLAN last night and it was great fun. Won the TF2 comp with Devastator, Insane Gazebo (aka Precious Pergola), Cadiniller and TheScream, came second in Warsow (even though Devastator was so confident that was his place) and won a door prize of about 500g worth of chocolate.

Upon driving home on The Golden Way, during very light showers on slippery road, a stoned pedestrian decides it an appropriate time to step out onto the road. Not only was he now ON the road, but my car was also ON the road and in the same lane. A short fight ensued between a 1-ton 70-kilometer per hour moving vehicle and a 90kg pedestrian in which the pedestrian destroyed the car’s front grill, dented the bumper and bonnet, rolled up the bonnet and proceeded to smash the bottom left hand corner of the windshield before bouncing off the car and onto the road to lay unconcious. All the while, Devastator’s screaming and I’m not too calm myself. Police arrived, ambos and fire crew too. Statements, blood alcohol readings (negative) and drug tests (negative also) were taken. Hilarity did not ensue. It was cold. It was raining. It was not fun at all. I don’t recommend doing it. Pictures of my now not-so-sweet ride can be found here.

Some more information is:

  • The police were apparently looking for a guy matching his description. I was never told why. Something about a petrol station.
  • He was unconscious after I hit him and still when I dragged him (and I’ve been told I wasn’t supposed to do that) but seemed to be regaining consciousness when he was lifted into the ambulance.
  • He probably has a collapsed lung due to the impact and possible broken ribs (yes, plural)
  • I heard over the police radio mention of marijuana in relation to the description of the guy
  • My dashboard is now loose on the right, but nothing a little glue can’t hold still
  • I’m fine, Devastator sounded a bit shaky still this afternoon
  • Thank you for your concern, especially Dad who didn’t hesitate to come out and pick me up that late at night.

So, tomorrow I’m taking the day off work and taking the car to get repaired. During the time of the day that I’m not getting the car repaired I’ll probably working. On what, we’ll have to decide tomorrow.

Job Offer Dissection

Thursday, July 31st, 2008

I used to do these when I didn’t have a job, and since then I’ve been looking a lot less (read: not at all) for a new job. This, however, was accidentally clicked on in Apple Mail and I was tempted to dissect yet another one.

From: ryanbrogan@gmail.com

This is what made me cringe the most. If you’re a recruiter sending out recruitment emails, why do it from a gmail address? Why not use your own?

One of my top clients and an incredible place to work…

Who? It helps to list names. Names attract people. If I told you I was going to buy you a beer you’d get all excited. Then I would reveal it would be a Fosters, and you wouldn’t be so excited.

secure two developers for staff positions paying 75-95k.

With / without tax? Numbers are great, but more information is definitely needed here.

Email me @ ryan [at] magnetagency.net

Ah! There it is!

or ryanbrogan [at] gmail.com

No really?

1000.00 referral fee if someone you refer gets the position.

Rupees? Zimbabwean Dollars? Kroner? Helps to specify a currency… but I guess American is inferred. Also, “fee”? Do we owe you money if we refer our friends to you?

  We know you’d send your pals for free, but that’s how we roll :)

Ah, a smiley face. It makes me feel all warm and fuzzy. Also, respect goes out to the use of non-professional language here, makes it feel much better.

We have an aggressive product list comprised of social, personalization, user-generated, and content publishing features planned for the site

“Aggressive product list”? What are we talking here? A few robberies with a weapon? Rape? Murder? Genocidal maniac?

and we’re looking for a self-motivated developer to join the team.

The team should motivate the developer, but it does help to be self-motivated too. Each member of the team should feed off each other’s energy.

If you’re interested in working in a fast-paced,

Running makes me sweaty. How fast are we talking?

energetic environment

Pepsi Max and a proper sleep cycle gives me all the energy I need

come work for us.

Rather not, I hear the commute from here to there is about 22 hours!

Core Requirements:

As compared to the other kind of requirements?

* You’re passionate about the craft of software engineering and love
building cool Web applications

So, say, an aspiring Trolley Pusher wouldn’t be the right kind of person for this job then?

* You’re familiar with Test/Behavior Driven Development and agile
software development

We spent long nights together in an orgy of code. There were files flying all over the place! A few commits took place, but nothing serious.

* You have production Ruby on Rail experience

Ruby’s going monorail now, huh?

including deployment

Inferred from last statement

with Mongrel

ditto

* You’re comfortable with semantic XHTML and CSS (not necessarily design)

Uh oh, -1 point for chucking in “semantic” in there. Big words make people sad. “Well-structured” is what I would put there.

* You’re familiar with Javascript and AJAX

I have nothing witty to say about this.

* Ongoing application development

Well, given that the position seems to be a Software Engineer-like position, this is pretty much a given. All application development is “ongoing”

* Production support and ticket management

Ah, so the position is now more of a Software Engineer meet Tech Support meet Project Manager position now? Cool. Probably a bit overwhelming for one person (we have this in three separate roles @ NetFox)

* Deployment management

Easy enough with Capistrano, which most Ruby on Rails developers worth their salt should know.

Overall, a fairly good job advertisement. Still struggling to come up with a reason for posting from Gmail, but I’m sure there’s a fairly good one behind it. Thanks for not using buzzwords (apart from the iffy “semantic”)! It takes me so long to pick them all out and decipher them… I once saw “increases business continuity” on a website and I’m still trying to figure out what it means.

What A Weekend!

Friday, July 25th, 2008

And it hasn’t even begun!

Here I sit on a Friday night, on my bed with two quilts over the lower-half of my body. Sitting by the open window (yes, open. Even though it’s winter and 7.7 celcius outside) on my bed with my laptop on top of the quilts. My mum’s boyfriend’s son sits on the only chair in the room, using UbĂ«rComputer and playing Spore Creature Creator, creating a dinosaur like creature. I feel relaxed, probably due to me getting off work a bit earlier than usual because the internet was balls (dialup had better ping times), and I know that there’s going to be a lot of stuff to do on the weekend.

Tomorrow I’m going to be attending AVCon, not because I like dressing up in a Sailor Moon costume (not that I’m going to of course), I just want to see what all the fuss is about. Two of my friends (Brenton and James) have both recommended in one way or another that I go, so I’m going. Hopefully I’ll enjoy myself, but it is an anime andvideogames conference, and I’m not all that in to anime…

I’ve been tasked (is this the correct word?) to host Railscamp #4! I have an idea for a venue and I’m going to check it out on Sunday. Hopefully if all goes according to plan there should be a formal announcement soonish. Price and what not is not worked out yet, but I have a good idea and I’m not going to tell you! I’ll have a better idea Sunday night, if I can be bothered blogging about it.

See you on the other side!

EDIT: I didn’t go to AvCon (thanks for answering my calls James!), instead I scoped out the venue for Railscamp #4, went cruising with Devastator in the epic quest for computer parts and generally lazed about like all decent people [should] do on a weekend.

Faking It

Monday, July 14th, 2008

Today I was doing the one thing I truly, truly love doing and that’s complaining about writing RSpec tests. I came across a doozy of a problem involving RSpec testing and faking subdomains. Here’s a stripped down version of what I did:

def login_as(user)
  session["user"] = users(user).id
  request.host = User.find(session["user"]).company.domain + ".example.com"
end

Just pop that into your spec/spec_helper.rb and then you can use login_as(:user) which will find the fixture with the name of “user” and then go from there to setting your faked host as being from, for example, blah.example.com.

Pretty simple, shame Google didn’t turn up any relevant results without me having to dig deeper than usual.

Empty Wallet Treatment

Sunday, July 6th, 2008

Thanks to the guys at NetFox (Yuji or Adam) for the name for this post.

Tomorrow I go to the dentist to have empty wallet (read: root canal) treatment (hereafter referred to as EWT). My tooth that broke at Railscamp has a serious bout of decay in it no thanks to me not caring for my teeth as I really should have, for quite too long. Consider this a warning to all the readers of this blog to look after your teeth. It’s going to cost me a fair bit (thankfully I save money, rather than spend), and thanks to a complete lack of Dental insurance I’ll be paying through the nose (or is that the mouth?). I am not in any way looking foward to the needles (notice the plural!) that are going to be going into my gum tomorrow morning. The best part is that a client is coming in tomorrow at 10:30 and I’m one of the people working on their project, so I’ll be [attempting to] speak with them. Perhaps I could type and get the text-to-speech voice on the MBP to read it out, or something.

Look after your teeth, please. You are not invincible, and neither am I.

RailsCamp ‘08 (#1?)

Saturday, June 28th, 2008

I had an enjoyable weekend last weekend at Railscamp, and I had this whole 3-page summary written up for you readers but I’d figured I’d spare you that lengthy document (for now, ahahaha) . These are the things you need to know:

1. It was held at Kariong (I kept calling it Kai-rong), about 6km from Gosford which itself is 1 hour and 30 minutes by train from Sydney. Scenic country-side, yada yada.
2. I am in love with Sydney trains. Flippable seats and no noisy engines.
3. The venue (one main hall, one “cafeteria” hall and two separate-but-joined domitories) was exceptional. We ran everything off a number of power points that you could count on one hand.
4. The people were exceptional. The talks were exceptional. Nothing beat Pat Allen’s talk (the very last one at Railscamp 2.0), and nothing will ever.
5. Yes Guitar Hero was played. Two and Three. Yes, I won. Yes, I’m a sore winner.
6. I also coded. Gitjour became a little weekend project and it was fun working on that with Lachlan Hardy, Tim Lucas, Dr. Nic & Others.
7. Other applications included the ever-awesome Duke (Upload, Vote, Boogie), Swore-DS, and Pete Yandell’s proposal to create an application to track species in the wild.
8. Dr. Nic was obsessed with Cherry Pie. When he wasn’t playing it on Guitar Hero 2, he was humming/singing it.
9. The beds were creaky. Earplugs were my saviour.
10. Lachie had a machine that made him sound like Darth Vader whilst he slept. Very chilling. Earplugs helped here too.
11. There was a waterfall. We walked behind it. Then we bashed through the bush to camp.
12. Risked life / possible broken bones to climb a large rock face. using nothing but what nature provided. All this whilst trying to stop my camera from bashing against it. Then walked back to “camp”, only come out 500m away at the office. Stupid GPS!
13. Went away feeling fantastic.

There was talk of possibly another Railscamp by the end of the year, or another one this time next year. I’m looking very much forward to it.

I am so freaking awesome

Tuesday, June 24th, 2008
  (Dir.entries("#{RAILS_ROOT}/app/models") - [".","..",".svn"]).each do |model|
    has_many model.split(".").first.pluralize.to_sym, :foreign_key => "owner_id"
  end

I tried adding:

 if model.classify.is_a?(ActiveRecord::Base)
      <<-EVAL
      class #{model.classify}
        belongs_to :owner
      end
      EVAL
    end

too, but Rails didn’t like that.

Going Dark

Friday, June 20th, 2008

I won’t be online for the next four days, I’ll be at Railscamp instead.

I need you not internet.