• Skip to main navigation
  • Skip to main content
  • Skip to footer

fatgeek.uk

Father, Husband, Coder, Cook

  • Home
  • About
  • Fiction
  • Skip to menu toggle button
  • Yelp
  • Facebook
  • Twitter
  • Instagram
  • Email
  • Back to top ↑

Category: Coding (page 3)

Sourcecode Control and Alarm Bells.

Posted on: January 23, 2008 Last updated on: January 23, 2008 Written by: peterm Comments: 0
Recently, I had the opportunity to reinforce the need for solid sourcecode control within any software project to a friend who was looking for a new coder (PHP). Previously, his sourcecode control policy centred around having good backups. Needless to…
Continue reading “Sourcecode Control and Alarm Bells.”…

Bug, Buuuug, *BUG*!!!! I KNEW it.

Posted on: October 22, 2007 Last updated on: October 22, 2007 Written by: peterm Comments: 0
I am a stalwart follower of the PEEPCODE screencasts. I particularly liked the series about RSPEC. But, in reviewing the code for it, and using the code subsequently, I found this little gem. class Hash def except(*keys) self.reject{|k, v| keys.include?(k…
Continue reading “Bug, Buuuug, *BUG*!!!! I KNEW it.”…

in_batches_of

Posted on: October 22, 2007 Last updated on: October 22, 2007 Written by: peterm Comments: 0
Rails is nice. Rails is REAL nice, but, you would expect me to say that, I am a rails developer. One thing that rails is not nice about is efficiency. It’s elegant, its compact, but, the simplest things can have…
Continue reading “in_batches_of”…

Agile ain’t about FAST….

Posted on: September 6, 2007 Last updated on: September 6, 2007 Written by: peterm Comments: 0
… it’s about GOOD. Using Agile techniques, Rails for instance, or any of the other new frameworks popping up more quickly than mushrooms on a cowturn in a darkened room, and things like TDD, BDD, SPEC driven whatever, is NOT…
Continue reading “Agile ain’t about FAST….”…

A Peepshow anyone?

Posted on: September 6, 2007 Last updated on: September 6, 2007 Written by: peterm Comments: 0
Nudge Nudge, Wink Wink, Say NO MOWER! or so the old sketch goes. Well, here is a peepshow that even a mother could love. I am, of course, talking about the PEEPCODE screencasts. Wonderful episodes of skirt lifting, revealing the…
Continue reading “A Peepshow anyone?”…

Models make decisions, views and controllers ask PERMISSION

Posted on: September 6, 2007 Last updated on: September 6, 2007 Written by: peterm Comments: 0
Rails uses MVC. Its important to correctly partition what each section does. Views and Controllers should NEVER make decisions. Models should make decisions, and controllers and views should ask models for permission. For instance, if you have a a User…
Continue reading “Models make decisions, views and controllers ask PERMISSION”…

Users, RSPEC and Behaviour.

Posted on: August 28, 2007 Last updated on: August 28, 2007 Written by: peterm Comments: 0
The classic way in rails of implementing model behaviour control of controllers and views is to decorate your model classes with methods which expose behavioural information. For instance, for this message, we will consider an application which has users and…
Continue reading “Users, RSPEC and Behaviour.”…

RSPEC: Am I going too far.

Posted on: August 22, 2007 Last updated on: August 22, 2007 Written by: peterm Comments: 0
I just had a nice idea for how to make my current application prettier. Instead of stopping what I was doing (an item on the critical path, not ‘fluff’) and doing it, I added it as an unimplemented expectation in…
Continue reading “RSPEC: Am I going too far.”…

The loneliness of the long distance tester

Posted on: August 21, 2007 Last updated on: August 21, 2007 Written by: peterm Comments: 0
Well, today I have been coding a new section of the application my current client needs. I have been using RSPEC, and although I LOVE its expressiveness I find that if I use TDD/BDD to its upmost, I spend a…
Continue reading “The loneliness of the long distance tester”…

An evening wasted…

Posted on: August 21, 2007 Last updated on: August 21, 2007 Written by: peterm Comments: 0
I tend to use music as I code. I like to do about two albums worth of coding and then take a break. My current music player is gnomes musicbox and it does not have a feature to allow me…
Continue reading “An evening wasted…”…
« Previous page 1 2 3 4 5 Next page »

About This Site

These are just my personal ramblings on pretty much anything. Coding, Life, Family, Society, CATS.

  • APPLE
  • architecture
  • banks
  • bdd
  • Books
  • bug
  • cats
  • Coding
  • Cooking
  • crunch
  • dads
  • design
  • Diametrical Opinions
  • Django
  • dry
  • Family
  • funny
  • gas
  • geeks
  • ghetto
  • gougers
  • insightful
  • jruby
  • junkmail
  • kids
  • lego
  • Meta
  • metaweblog
  • MICROSOFT
  • moaning
  • money
  • Mr Angry
  • music
  • mvc
  • nigerian_scam
  • npower
  • ood
  • oop
  • OOXML
  • opensource
  • peepcode
  • physics
  • Projects
  • quotes
  • Rails
  • rants
  • Reviews
  • rspec
  • ruby
  • scam
  • sigint
  • simulation
  • society
  • south
  • sql
  • tdd
  • testing
  • tosh
  • travel
  • Uncategorized
  • web
  • xml
© 2025 fatgeek.uk | Using Reykjavik WordPress theme. | Back to top ↑
  • Yelp
  • Facebook
  • Twitter
  • Instagram
  • Email
  • Back to top ↑