Blogs

a simple way to re-install drupal modules

This website has been running on the Drupal CMS since upgrading from Joomla to Drupal 5 back in  2007. I've closely followed each new Drupal release and experienced the teething pains as modules have evolved to the excitng state they are in the moment.

Drupal Rocks and I'm eagerly awaiting the new Drupal 7 release (as soon as some of my core modules are compatible - your hear that ubercart? Wink )

During this time I've managed to throughly cock-up a number of drupal modules, and while playing the php-cleanup-game on projex.com this morning I discovered something rather nifty.

To re-install corrupted Drupal Modules using the Devel Module.

Drupal stores some information about themes/modules/theme engines in a table named system.  It's easy to edit manually and shows every single modules that you have installed on the site back to the year dot. Basically, all you have to do in order to make Drupal forget your module is this:

DELETE FROM system WHERE name = 'module_name' AND type = 'module'

Of course, to delete all the related modules and bits + pieces using the like opcode:

Endurobull

A few weeks ago, I had the opportunity to put together a Drupal Website framework for Endurobull

This fascinating company manufacture and distribute a fencing composite material that replaces the old fashioned metal fences with something that is indestructible, lighter than air and hotter than the suns surface. Erm... OK... so thats a little bit of exaggeration but it is pretty cool stuff.

The original Endurobull website was already mostly designed and running on a standard template from their web hosts CMS system. It was pretty poor and not very flexible. I'm not saying whose CMS it was but it rhymes with 'Bun & Bun'

My mission was to quickly migrate their data from the old servers over to the Projex Servers, install Drupal and import the basic website layouts. After discussion we decided on using the ASYNC Drupal Theme with only very minor modification: the layout already ticked their boxes and as the mission was to get the website online I fully expect its GUI to evolve over coming months.

IT versus Management

Having worked in IT for decades this is absolutely spot on:

A man in a hot air balloon, realizing he is lost, reduces altitude and spots a hiker below. He descends further and shouts to the man on the ground "Ahoy there, can you help me? I promised a friend I would meet him an hour ago, but I don't know where I am"

The chap below looks up, grins and says "You're in a hot air balloon, hovering approximately 30 feet above the ground. You're between 40 and 41 degrees north latitude and between 59 and 60 degrees west longitude."

"Wow! You must be in IT," says the balloonist.

"Actually I am" replied the hiker "How did you guess that?"

"It's quite obvious really" answers the balloonist "everything you have told me is technically correct but I've no idea what to make of your information and the fact is I'm still lost. Frankly, you've been no help. If anything, you've delayed my trip!"

The chap below laughs and says "Ahh yes, you must be in Management."

Brilliant viral commercial for the Triumph Rocket III motorcycle

I recently stumbled across this fantastic advert for the Triumph Rocket III. Apparently its a real viral advertisement commissioned by Triumph back in 2007. I cant believe I had never seen it. Most amusing, in the style of the old Hitchhikers Guide and just, well, Bloody Good:



"Ever since the dawn of time Triumph have been producing large powerful motorbikes in their Hinckley factory near Leicester. With over 900 years of motorbike building prowess behind them Triumph have created two wheeled motorbike classics.

This mornings batch of junk mail had one amusing one in it

Here is a little something someone sent me that is indisputable mathematical logic. It also made me Laugh Out Loud.
This is a strictly mathematical viewpoint...it goes like this:

What Makes 100%? What does it mean to give MORE than 100%? Ever wonder about those people who say they are giving more than 100%? We have all been to those meetings where someone wants you to give over 100%. How about achieving 103%? What makes up 100% in life?

Here's a little mathematical formula that might help you answer these questions:

If:
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

is represented as:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26

Then:

H-A-R-D-W-O-R-K = 8+1+18+4+23+15+18+11 = 98%

and

K-N-O-W-L-E-D-G- E = 11+14+15+23+12+5+4+7+5 = 96%

But ,

This week I mainly be working on timshel

"What the heck is timshel?" I hear you ask.

timshel is a hebrew word with various meanings depending on the angle at which you read it, or indeed, the number of glasses of red wine you have consumed before trying to explain its meaning. Essentially it means "thou mayest", or implies "rule of control" over something, but mostly it means "Southamptons best rock band".  Wink

So, as I have a weeks downtime I'm looking forward to spending some relaxed time at home, I'm feeding my IT Addiction by building a new website for the fellas. I have a family connection, as my cousin Rob Litten is the drummer for timshel, but it took only minimal bribery to get me excited about revamping their static old html site and building a modern site with online music, videos and shopping cart for buying CD's, MP3's and whatever the future holds.

New site will be evolving over the next couple of days http://www.timshel-band.co.uk

Check them out.

timshel rock!


IBMi + WDSC7.0 + TN5250 = Wow Squared!

WebSphere Development Tools for the IBMi is Very Very Very Cool!

I've just installed WDSC7.0 for the first time (/me ducks from the barrage of rotten fruit launched at him from the rowdy-RDi-crowd) and have almost had a religious experience with it.

For years I've been feverishly hammering away in S.E.U. and P.D.M. mistakenly thinking that I just haven't got the time to learn a new G.U.I for writing RPG and CL programs on the IBMi.

Look at that - I used WDSC, RDi, SEU, PDM, GUI and IBMi all in the same paragraph Wink but at least I never used the word leverage or any other business junk phrases like lets run that idea up the flagpole and see who salutes

Possibly I'm the only IBMi Developer who wasnt already using a modern source code editor, in which case you're laughing at me, but just in case you (dear reader) are still in the world of SEU then just stop right now and get a copy of WDSC7 from your IBM business partner. It's FREE as its been replaced by the new, very expensive, re branded Rational Developer.

From my perspective, WDSC7 is simply amazing.

Pay I.T. forward

Wow! It's December already!

After a whirlwind year involving moving the whole family, two dogs and a pile of News 3x/400 magazines to this side of the pond I cant believe it's nearly 2010 already. Two thousand nine has seen us settling into our new life in the US,  focussing mainly on IBMi and I feel that I've reached a kind of career milestone. After a couple of years focusing on other areas, in the IT wilderness, this year has seen my return to the IBM Midrange club and in the immortal words of Gary Glitter “I’m glad to be back

ILE RPG certified programmers are extinct

Well... they will be at the end of 2009!

For some very strange reason, IBM have decided to kill the ILE RPG Programmer certification. As we all know, being an RPG Programmer is a rare skill set nowadays... and it's becoming rarer. I kind of feel guilty for never standing up and doing the certification. But then again, as I'm typing that I'm also thinking that I actually dont want a little plaque in my dilbertesque cubicle announcing to the world that I know how to do my job: I have a job therefore I know how to do it.

is facebook a big book full of faces

No. It's a website which millions of people visit every day, or in some cases every hour of the every day so they can satisfy their inherent need to spy on their friends and family.

It's also used to grow crops and bug people in the incredibly annoying Farmthing application.

You can also really annoy people by persistently poking, hugging or smiling at them.

The facility to upload pictures and/or videos of family and friends and tag them as being in the aforementioned hollywood glitz is pretty cool, and just about the only useful thing on there.

Current weather

Roanoke, Virginia USA

Overcast, light rain
  • Overcast, light rain
  • Temperature: 55.4 °F
  • Wind: East-Northeast, 11.5 mph, gusts up to 20.7 mph
  • Pressure: 999 hPa
  • Rel. Humidity: 88 %
  • Visibility: 10 mi
Reported on:
Fri, 03/12/2010 - 23:54

Locations of visitors to this page

Bunch of Twits

  • adds 'Thievery Corporation' to his list of groovey background music to play while programming :) 13 hours 41 min ago
  • is watching very serious blokes playing plastic darts.... wtf is that all about? 1 day 4 hours ago
  • has discovered that his mighty hammer Mjölnir is missing. 3 days 15 hours ago
  • grabs a coffee and settles down for a day of post implementation checks, project closure and user documentation... bah! 4 days 16 hours ago
  • is about to embark on an IHOP pancake eating frenzy with the sprogs... 5 days 15 hours ago
  • just watching tv, a female marine running up a beach, teagan says 'i hope shes not wearing heels because thats hard' ;) 6 days 4 hours ago
  • saturday morning, determined to do no work today just gonna hang out with the kids, walk the mutts, watch movies and vejjjjjj... hurrah! 6 days 13 hours ago
  • is al about rpg3, rpg4, php, asp, IBMi, html, xml, wsdl's and any other acronyms I can think of.... 1 week 1 day ago
  • is pretending to type something important to avoid listening to someone talking a load of codswallop. 1 week 1 day ago
  • see... DOTnetnuke.... Microsoft products make my brain shout 'Uncle!' 1 week 3 days ago

Who's online

There are currently 0 users and 30 guests online.

Syndicate content