Home
Blog
About
Coding
Websites
Photos
Twit-Map
Links
Only Idiots Assume - Blog Home

Archive for January, 2010

TTPMO: Windows and Un-installing things

1 comment

Hey,

The task with which I am currently charged has sparked off the second “Things That Piss Me Off” post.

My laptop has been running a bit sluggish recently.  And after a bit of thought it became obvious as to why.  It currently has running on it the following:

  • Microsoft SQL Server Express
  • Microsoft IIS Manager
  • Microsoft Visual Studio IDEs
  • MySQL Server
  • PHP Server
  • Apache Server

Plus all the other things which come with my life, like Adobe CS4 Master Edition and the like.   What I have realised is that most of the above services are not used 100% of the time, especialy the Microsoft IIS and SQL servers, as most of my dev work at home is PHP/MySQL based (note that at work I am a Microsoft SQL and .NET developer).

As such I have decided to fire up a few Virtual Machines to hold my Microsoft Servers, and another to hold my LAMP (Linux, Apache, MySQL, PHP) servers.  That way when I am not working on local servers, they can just be paused!!  As such saving the resources.

BUT ANYWAY!! The Thing That Pisses Me Off is….
Read the rest of this entry »

I see you…

No comments

Hey,

I saw Avatar in 3D the other day and I was very much impressed, great movie and amazing effects. But away from the movie I have been made aware of these two websites:

A Na’vi name generator:HERE
And a Na’vi Avatar generator: HERE

And yes I tried them, my name is Ateyo, and my avatar is…

Thank you to my Girlfriend Emma for pointing the websites out…. Yes Emma you have been mentioned on the internets!

Nite,

James

Twitter Feed from a Local Source

3 comments

Hey,

I have always been a bit annoyed with the Twitter HTML feed, its not particualy standard compliant  and insists on using unordered lists.  However that could all be dealt with via a little code rewrite, and some creative CSS.  What has really started to irk me is its speed, it often holds up my pages slowing them down by a long shot.  So I have created a locally served Twitter Feed.  Which as a side line also backs up my Tweets, should those Twitter-Hackers ever actually manage to take down the site fully!  Yes Yes I am that sad as to want my Tweets backed up!

It makes use of a PHP Twitter class written by Tijs Verkoyen, which can be found via the Twitter API pages.  Otherwise it uses a basic MySQL database, actually only one small table which could be hosted on your sites main website.  The script to create the table is attached to the post. It was attached but WP seams to be playing silly buggers, will re-attach when sorted.

A separate PHP script is run server side every X minutes, to get the latest Tweets.  It only grabs new Tweets by ensuring that the Tweets it gets are after the last TweetID (id in table) from your database table.  Even pulling the maximum 200 tweets a time only takes a second.

Read the rest of this entry »

Site problems

4 comments

Hey Everyone,

Had a few problems, an upgrade trashed my theme so I’m re-writing it as we speak.  So sorry if some things don’t look quite right.

Feel free to let me know of any bugs you find!

Thanks

James

UPDATE: Well the theme is fixed now, and hopefully works better now that it did originally!  Still let me know if you find any bugs in the blog, or the rest of the site for that matter!  James.

TTPMO: DLink and the prat on Amazon

2 comments

Hey,

Just a quickie, I just spent all evening installing a new router, carefully running the cables, etc ,etc ,etc.

It was a DLink DIR-615 that I brought new from Amazon. Once I had it all set up and entered all my port forwardings, I sat down to test it. And low and behold it didnt work. I mean yea the internet worked, but port forwarding didn’t.

Turns out that the one that was sold to me was a Virgin Media firmware’d version (V1.0VM), which is renowned for having screw ups. So back to my trusty Linksys WRT54G for the time being. And an email to the Amazon seller explaining that selling me someone else’s property (Virgin Media’s) is just not on!!

UPDATE: the man from amazon has refunded me and told me not to bother refunding it. So all is good. Nice man!!

Night All,

James