Honney I’m Home

Came back from my holiday today :>. Pretty good, I would upload photo’s but I have too many and their to large. I bought a Western Digital 320gb External Hard Drive, which is pretty sweet, and I’m about to catch up with some mates tonight for a LAN. It’s good to see that my server, modem, ISP, UPS, Power, or any cables didn’t pop it while I was gone. I made some pretty useless python scripts while I board in the car too. Here’s the output of one.

‘ ‘ ‘ ‘ ‘
”””””
.’.’.’.’.’
……….
.-.-.-.-.-
———-
-/-/-/-/-/
//////////
/////
\\\\\
]]]]]
]]]]]]]]]]
[][][][][]
[[[[[[[[[[
}[}[}[}[}[
}}}}}}}}}}
}{}{}{}{}{
{{{{{{{{{{
And the code

lol = [” “,”‘”, “.”, “-”,”/”,”\\”,”]”,”[”,”}”,”{”]
line =”
width = int(raw_input(”Size?”))
import random
for a in range(1, len(lol)):
for z in range(1,width/3):
for x in range(1,width + 1):
if x in range(0, width + 1, z):
line = line + lol[a-1]
else:
line = line + lol[a]
u = random.randint(0,len(line))

print line[u:]+line[:u]
line = ”
print lol[-1]*width

Programing a human.

Today I set out atempting to program 2 human brains just for the fun of it. I choose the male brain and the female brain, although it was not hard to choose. Anyway I set my MSN and other IM accounts to busy and start coding after about 2 hour’s and 1 and half pages of code I ended up with the male brain. I used python as it was a simple but good programming language that was still new to me. Yes, I will post the sorce code later, but here’s the output of the brain.

>>> male()
’sex’

Wow, it’s extremly accurate… anyway, I continued my work on the female brain and about 6000 pages and 11 hours of coding the results we’re amazing.

>>> female()
Traceback (most recent call last):
File “”
NameError: female is not definable

I was puzzled why this happened as I had checked my code sevral times over. I decided to give up on the female brain, I gathered it was either designed by a super good company that makes it impossible to reverse engineer or it was made by Microsoft and just spits out random stuff making it impossible to work out what it actully does. Anyway, I’ll post my source on the downloads page later.

NCSS 2007

Just came back from NCSS ‘07 . I had a great time. If you didn’t know already, NCSS is National Computer Science School. It’s run yearly for a week by theuniversity of Sydney and we take part in programing as a group a search engine as group and a website, this year it was Hands of Help which got a redesign. Our version of the site can be seen here, though I only worked on the search engine and not the website. The search engine was built with python, which many of us hadn’t used before. Over this week we had python lectures, web lectures, trips to Microsoft and IBM, free time, group bonding activitys and last but not least “Kens Morning Games” which has the motto “It’s fun and you meet people”. On the last night we ended up staying up the whole night rushing to get the search engine working and listening to Techno Music. At the awards ceremony alot of us were half asleep or asleep. I my self made some great friends and had a fun time and learnt a new programming language “python” which I have decided to continue learning as the easy of use and good programming practices are extremly useful. After arriving at home I had the fun task of setting up my server has it had crash while away (some sort of motherboard problem). Now I have a nice Compaq Proliant DL380, with 2 x 1ghz CPUs’, 4 x 9.1gb SCSI hard drives raided to create a nice huge hard drive, 2 x PSU incase one fails. FreeBSD is setup on it now and the server is running fine with 100% idle. Now what? xD