Saturday 20th September 2008 - 08:52:41

Chip

Today we set up the pool on the patio for Liam and Emily to play it. What a hot day it was!

Emily loved it, she was content to sit there and splash with her feet - usually nothing keeps her occupied long. Kel found a cute pink hat for her to wear.

Liam stayed there for hours hopping in and out. He got pretty upset when it was time to go inside. Big, big Tantrums!

I bottled my Pilsner - I'm not sure how well it's going to go. It does taste a bit odd. Hopefully the yeast hasn't gone into autolysis... It was in the fermenter a week extra. Very very cloudy too - probably due to me dropping the spent grain from the flavor pack into the boil. The sieve I was pouring the steep mix through fell into the fermenter.

Friday 19th September 2008 - 08:51:03

Chip

Another really heavy week... I've taken today off...

Lots of yard stuff to do and some more photos to take for Kel's cloth nappy selling spree.

Friday 5th September 2008 - 20:13:20

Chip

I took the day off today. I had acrued extra hours last week.

We bought Liam a little Roary the Racing Car toy that came with a DVD. That DVD has been on repeat for hours!

I bottled my APA (American Pale Ale) - It should taste really good. It's still a bit cloudy though. I started off a Pilsner as well. It's bubbling away nicely now.

I came across a weird file on the server. 78 PETA Bytes! Yes. 78PB. 87,806,822,618,104,772. Pretty impressive since the partition is only 800GB.

Friday 5th September 2008 - 19:48:42

Chip

Inode 30375975, i_size is 87806822618104772, should be 24576. Fix<y>? yes

Saturday 30th August 2008 - 19:02:16

Chip

Oh Yeah! New Drives and New U320 Cable.

Target 0 Negotiation Settings
User: 320.000MB/s transfers (160.000MHz RDSTRM|DT|IU|QAS, 16bit)
Goal: 320.000MB/s transfers (160.000MHz RDSTRM|DT|IU|QAS, 16bit)
Curr: 320.000MB/s transfers (160.000MHz RDSTRM|DT|IU|QAS, 16bit)
Channel A Target 0 Lun 0 Settings
Commands Queued 40885
Commands Active 0
Command Openings 4
Max Tagged Openings 4
Device Queue Frozen Count 0
Target 1 Negotiation Settings
User: 320.000MB/s transfers (160.000MHz RDSTRM|DT|IU|QAS, 16bit)
Goal: 320.000MB/s transfers (160.000MHz RDSTRM|DT|IU|QAS, 16bit)
Curr: 320.000MB/s transfers (160.000MHz RDSTRM|DT|IU|QAS, 16bit)
Channel A Target 1 Lun 0 Settings
Commands Queued 43304
Commands Active 0
Command Openings 4
Max Tagged Openings 4
Device Queue Frozen Count 0

1TB Mirror of j0r

# mdadm --detail /dev/md5
/dev/md5:
Version : 00.90.03
Creation Time : Sat Aug 30 19:10:28 2008
Raid Level : raid1
Array Size : 976759936 (931.51 GiB 1000.20 GB)
Used Dev Size : 976759936 (931.51 GiB 1000.20 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 5
Persistence : Superblock is persistent

Update Time : Sat Aug 30 19:10:28 2008
State : clean, resyncing
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0

Rebuild Status : 10% complete

UUID : a09dbd93:faf5d9d1:abf542e5:d7389fec
Events : 0.1

Number Major Minor RaidDevice State
0 8 81 0 active sync /dev/sdf1
1 8 97 1 active sync /dev/sdg1

Friday 29th August 2008 - 21:52:47

Chip

So, what am I supposed to do when I fill 1TB of drives? Yell

...

That's right! Get more. Laughing 2TB more. Well 1. It's going to be mirrored.

I've also got myself a new U320 cable so that I don't have to stretch it over the top of the CPUs. In fact. I think I will move the U320 boot mirror to another lower bay. Photos Later.

I'm currently brewing an APA with a 3Kg ESB APA kit, a BMBS Lager & Draught infusion pack and extra cascade. I'm also using US-05 yeast which is better for APAs. Should be yummy. The last one was!

Sunday 13th April 2008 - 18:12:17

Chip

Blog?! Where! - I see no blog...

diff Saves the Day!

Chip

A customer had changed their code before it was under version control. So, it was different to the snapshot of it that I had.

This nifty command saved me

Skips all the ".svn is only in svn/blah/"

diff -r --brief current svn | grep -v "\.svn"

Great Fiber Termination Tutorials

Chip

http://www.lanshack.com/fiber-optic-tutorial-termination.aspx

http://www.datacottage.com/nch/fibertermination.htm

Converting FLV (Flash Video) to MPEG

Chip
ffmpeg -i video.flv -ab 56 -ar 22050 -b 500 -s 320x240 test.mpg

Friday 7th December 2007 - 10:42:41

Chip
Got the day off! And rightly so after working from 8:30 in the morning to 9 at night one of the days last week! Been having a number of PC problems. Game crashes, lockups, freezes. It's mainly my power supply I'd say. I need a replacement. The air coming out of it is very warm, perhaps it's overloaded - but that would mean it's not performing to spec; it's well over-powered (to spec) for what I have in this box. I added some more fans to the case and we'll see how it goes. All of the hot CPU air was exiting the case via the power supply which I guess wasn't helping the situation. I decided, in case it's not a power supply problem, to scan. Found a bloody root kit. How that got in there I don't know. Maybe it was inadvertently downloaded by another user (no names). The virus scanner didn't get it either. I also noticed this "sus" icon in the alt-tab list that has no title. That wasn't, however; a threat. It was the windows nicety that is called "Windows Image Worker" some stupid M$ service that belongs to IE7 (which isn't installed yet?!) besides which, why does a service need to be in the task-list anyway?! It doesn't have a window to "switch to" so why... it boggles the mind and trying to determine the thought process behind it will just hurt my brain... Anyway, until I start using IE7 (which is never) it's set to disabled. So many svchost.exe instances that do lots of different things, unless you have a tool like process explorer you can't tell which instance is doing what. Hows a normal user supposed to work out what the hell this icon was?! The only reason windows is on the box, is because I need it to play games on. The second they port the games I want to Linux; BAM! It'll be wiped. I'd take pleasure in completely removing the partition from the drive and re-creating it in Linux. Just to be sure. Supporting Windows for clients has been very draining of late. It's just painful. Last week was good. I finished off a project to replace a Win2k server with a Linux box that does the lot. It's just a pain in the bum, there's one last printer on the server that is directly connected to the LPT port. Of course, sharing this printer with machines that aren't part of the domain (any more) is a pain in the butt. The client machines keep forgetting their authentication details on the domain (as they aren't part of it - you connect to the server as administrator or something so you can connect the printer). Even though the printer has permission for everyone to access, the clients still need to authenticate on the domain to connect to it. I'm going to stick it on a client machine and be done with it. It's just a pain in the arse re-adding the printer on each machine each time they restart. The grass at the back looks like a miniature African grass plain. It's up to about 1ft at the back. I ran out of petrol last weekend when I was mowing, I got most of it done except this back part.

One line Seach and Destroy

Chip

Find and remove in one line. HTML files for example. This prevents bash (or the rm it calls) from bailing when it finds a file with a space in it.

find -type f -name "*.ht*" | while read file; do rm "$file"; done

Web Permissions

Chip

This is my little permissions fix script. Its great for folders that apache serves from.

#/bin/bash
if [[ "$1" == "" ]]
then
echo "Fix Web Permissions Script - Tim 10/09/2007"
echo "Recursively changes permissions on folders 775 and files 664"
echo "Usage: fixperms &lt;user:group&gt; &lt;folder&gt;"
else
chown -R $1 $2
find $2 \( -type d -exec chmod 755 '{}' \; \) -o \( -type f -exec chmod 644 '{}' \; \)
fi

Continuous Tail Script

Chip

This is my continuous tail script. It's good to have running on another screen while you are working on PHP code. You can ct the apache error_log and watch the log as the page is accessed. Streamlines the whole debugging thing.

#/bin/sh
if [[ "$1" == "" ]]
then
echo "Continuous Tail Script (50 Lines, 5s Interval). Tim 10/09/2007"
echo "Usage: ct [file]"
else
clear
tail -n 50 -s 5 -f $1
fi

Sunday 11th November 2007 - 23:08:38

Chip
Had a great game of Cyberpunk today. Josh DM'd and Ben also came and played. Had a great bbq too! This was my first game of Cyberpunk. Finally.

Sunday 4th November 2007 - 20:11:03

Chip

My blog is looking kinda sad at the moment. Very neglected indeed.

Got lots of work on which is great. Starting to get a few new customers too for service and web design work. I'm still maintaining the webserver. I've got a new one going in soon to replace the current Dual P3 733 HP LH3000. A Quad 2Mb Xeon 700Mhz HP DL580 with 1Gb of RAM and a RAID 5 configuration of four 18.2GB 15,000RPM SCSI hard drives. That will wipe the floor with the old servers. I may look at virtualisation too.

I also scored two NEC 8500-120s 1U dual P3 servers in Ra and an Ed variants. I'm planning on setting one up as a watchdog and maybe a failover server for some of the functions on the LAN such as DNS and traffic monitoring.

Little Liam has learned 'Ta' now when he takes something from someone or gives something to someone. He's doing well. New bub is doing well all the checkups and stuff are clear.

Thursday 18th October 2007 - 09:07:38

Chip
*** Tumbleweeds *** Wink

Monday 3rd September 2007 - 08:19:28

Chip

What a month. I've been so busy and so tired.

The store is nearly established and I am nearly established for webdesign, hosting and mail. Soon all the live sites will go onto the new hardware in the rack. (Pictures Later)

Sunday 5th August 2007 - 10:59:44

Chip

It's been quite a while since I've written anything!

Our large SugarCRM project is nearing it's end. We've cut up SugarCRM up in heaps of places and even added extra modules that we created in-house. It's a great system now. We get a pre-approval into sugar in our custom module passed from the website, after the customer has entered their details and borrowing info. They get a yay or nay. From there the consultants pick up these Pre-Approvals from the list view in our module. We then move through the project (cut up + rebuilt by us) for the rest of the application then into the contact module for the rest. (also cut up and rebuilt).

It's been great. We've implemented lots of great technologies that are really meshing well. We've got SOAP, JSON and YUI. Some other cool tools we're using are Jasper Reports and PDFTK.

One form in particular has roughly 300 fields. It's a monster! About 150 of those are visible. We have so many hidden fields because the modified contact edit view allows you to edit all four related contacts on the one form using a drop down.

The cool bit (which I wrote =P ) is the part where we gather a collection of static PDFs dependent on the data in the application, run a few reports that make PDFs and then glue them all together. We then attach it to a templated email and send it off to the customer. It ends up about 20 pages and 700KB.

I finally had time (and it wasn't raining) to mow the lawn and gardens. Yes, you read correctly. Mow the garden. Two reasons. One the gardens are full of grass and needed to be trimmed/removed. I gave up in the end. They're only bare gardens with grass in them. The last tenant must have removed their plants. So... I mowed them. That way they are still green at least =P The second is in the back yard, one third of the backyard used to be a garden bed for fruit or veggies or something. There was a small rain forest growing on this garden bed because it's such good soil and has obviously improved because it's nice dark loam, whereas the rest of the backyard under the grass is a terrible mix of part sand part clay. The grass was about 1ft high! I nearly stalled the lawnmower in a few places it was that thick! I had to actually run the mower without the catcher to get through it. Otherwise I was emptying it every few meters!

Mum and Dad gave me their old mower and whipper snipper. They worked well. I found out why the fuel hose kept splitting on the whipper snipper too. It was (I theorize) because I cut the hose, when I was re-joining it the last few times it broke, with side cutters, thereby crimping one side of the hose at a very sharp angle. This last cut-and-re-join I did, I used a sharp Stanley knife to cut the hose. It's holding up fine now. All of the white smoke that the whipper snipper was making is now gone too, I guess it was just rubbish in the fuel system from not being run for so long that caused that.

Kel had the idea of using the back beds as a garden for veggies. I reckon it's a great idea and we'll probably go ahead with that. Kel is keen for the usuals carrots, silver beat broccoli and cauliflower etc as well as maybe some tomatoes. We'll have to go down the hardware and see what gear we need. We already have gardening equipment (Thanks Mum and Dad!). So we just need to, I guess, check the soil ph and see what we need to do. Then plant stuff after it's OK. The bed already has walls around it. So all I need to do is pull up the grass and turn over the soil a bit.

It's nearly my birthday. I spent my Ezydvd gift card from last birthday finally. I got Hot Fuzz, Tomb Raider (1 and 2 set), Harry Potter and the Goblet of Fire, A Discovery Channel doco on the C-130 Hercules (One of my favorite planes) and an Elmo video for Liam.

Sunday 17th June 2007 - 18:11:35

Chip

Had a nice time on the roof today fixing our TV reception. I couldn't work out why our TV reception was so poor. We have an external antenna in the house we're in at the moment. The problem was twofold. The antenna was connected to a different outlet in the house, not the outlet in the lounge room and the antenna was pointing in the wrong direction!

The first time I got on the roof I checked the connection of the cable to the antenna's balun. It was OK but the connector (an F-Connector) was shoddily done. Instead of being crimped with a crimping tool, this connector had been fitted with a pair of pliers or something, it wasn't round or hex crimped, just crushed. So I took the tape off the mast to release the cable, draped the cable over the gutter and fitted a new connector. I then wanted to test the cable for continuity. For that I needed to make sure it wasn't plugged into the TV. I noticed that the type of cable coming out of the floor in the lounge room (no socket, just a cable out of the floor... yay) was a different type to that which is coming down the antenna mast. So I ended up cutting the connector I fitted off anyway to get the baluns rubber boot back off the cable.

I remembered noticing a stub of coax that had been cut off poking out the side of the chimney cover. I went to check that out next, but dropped the damn thing down the chimney! Luckily it was pretty rigid and folded on it's self in an 'S' shape touching the sides, halting it's descent. I just reached in and grabbed it. I then taped it with a long piece of tape to the mast so it didn't happen again.

The little stub of coax didn't actually reach out of the chimney so I had to terminate it with an F-Connector (Properly crimped!) and then use a joiner and fly lead. I sealed the lot up with tape and connected the fly lead to the antennas balun. The connectors I used were different to what was on there. The type I used were weatherproof. They have a rubber 'O' ring in the bottom of the screw thread to seal the cable end and on the crimp end they are injected with some sort of grease which forms a seal on the other end when you force the cable in.

I drew a map and got the bearing to the ABC transmission towers from here. I copied that line onto my map and voila. I borrowed a compass off Dad and oriented it. I climbed onto the roof and pointed the antenna parallel with my ABC towers line. The nuts on the U-Bolts on the bottom end of the mast weren't budging, so I had to reach up and loosen the U-Bolt on the antenna and rotate it that way which was a bit precarious as I had to use both hands and lean on the chimney.

I don't know how (or if) the other neighbors TV are working. The two neighbors either side have archaic, bent and cracked antenna elements and they aren't pointing in the right direction anyway. Most people in the street must have cable or something because not many others have antennas.

The reception is now flawless! I'm really pleased. It should also do well for my digital tuner card in the home theater PC.

I also started building a shelf in the garage. I ran out of screws though Frown