Fri, 19 Dec 2003

12:42 AM - Hmm...

Well i looked at rob's post in the database. I'll have to fix the comment.jsp page. It wasn't displaying because the new snapshot driver has a broken prepareStatement command. I had the same problem with the profiles page the other day.

Security and management of posts is a good idea. I was thinking about it last night. I should also get email notifications up.

As far as the comment goes, thats a typical thing for Rob to say. He's always dealt with critisism and insults in that manner since we first met. As far as I'm concerned, caryn can delete the comment but I dont' see any reason to delete his user account or anything like that.

If i want this site to be like livejournal, i have to keep things open. All users should be able to delete comments from their own journal.

I can't believe rob used farmerjackass as a username lol.

location: Home
mood: Awake

()

Wed, 17 Dec 2003

12:14 AM - Getting somewhere with mood icons

I actually got the recursive mood icon system to work. Its a tad bit slow and has a lot of sql queries but it works.

I need to add more "root" icons.

Here is how the system works:

There is a table of moods with parent moods. A parent mood of zero means the item is a "root" mood. Happy is a root mood. So is sad. Then there are sub moods which are based on the root mood like energetic or depressed.

If a mood doesn't have an icon specified, then my code looks up the parent mood and does another query for that mood's icon. Technically i could alter the code to do that step in one select instead of two but it would be more difficult to keep track of with the current design.

Basically i do an infinite loop looking for moods. if it hits a mood id of zero or doesn't get any records back then it breaks out of the while loop.

There are 28 root moods that need icons. Anyone want to donate some?

Here is the root list:


+----+------------+---------------+
| id | parentmood | title |
+----+------------+---------------+
| 1 | 0 | Happy |
| 2 | 0 | Sad |
| 3 | 0 | Awake |
| 4 | 0 | Tired |
| 5 | 0 | Angry |
| 8 | 0 | Silly |
| 9 | 0 | Confused |
| 10 | 0 | Bewildered |
| 11 | 0 | Smart |
| 12 | 0 | Not Specified |
| 13 | 0 | Hungry |
| 14 | 0 | Accomplished |
| 16 | 0 | Annoyed |
| 17 | 0 | Anxious |
| 18 | 0 | Bored |
| 19 | 0 | Accepted |
| 20 | 0 | Alone |
| 21 | 0 | Ashamed |
| 22 | 0 | Bittersweet |
| 23 | 0 | Blissful |
| 24 | 0 | Dark |
| 40 | 0 | Determined |
| 42 | 0 | Devious |
| 43 | 0 | Energetic |
| 46 | 0 | Enthralled |
| 87 | 0 | Indescribable |
| 88 | 0 | Nerdy |
| 91 | 0 | Okay |
+----+------------+---------------+

location: Home
mood: Optimistic

()

12:00 AM - Mood icons and other stuff

I've fixed a ton of bugs in the code. Not Specified doesn't show up for journal entries now except in the friends page.

You can't do != comparisons on strings in java and that is exactly what i was doing. how dumb of me.

This entry will allow me to test the nesting of mood icons. I hope it works.

location: Home
mood: Surprised

()

Tue, 16 Dec 2003

11:23 PM - jj mood system

I'm working on the jj mood system right now. Its much more work than i thought. very complex sql statements.

Maybe i'll get lucky.

location: Home
mood: Tired Tired

()

9:11 PM - My grades suck

D ECE250 (digital logic)
D Discrete Math
B REL305 Christianity
BA Computer Science I

location: Home

()

2:21 PM - Memory upgrade came.. what a pain

I was very excited... i popped out the battery, unlocked the keyboard, detached the pins, unscrewed 4 screws over the airport extreme card cover, and put in the chip. I put the machine back together, booted up and hit apple about. 128mb ram. AHHHGG! it didn't work. I had to take the whole damn thing apart again. Guess what one corner wasn't in tight enough. I had to put the chip in 3 times to get it right and had trouble putting the keyboard back in!

i'm starting to see why they tell people to take it somewhere in the manual lol. The worst part is that i plan on buying a bigger chip in the next year for it. This one only cost 20 bucks. I couldn't afford a 512mb chip.

I can get rtcw to run at 800 x 600 with ati tru form and nvidia fogging on (radeon 9200 supports both it appears) The game runs sweet. I'll leave tru form off though when playing multiplayer to get my framerate up. I also allocated 128 mb ram instead of 64 to VPC. Win2k is running better.

i can't get dreamweaver to run.. it just crashes. I don't know why. I deleted some stuff today that i don't like incluidng a game installed on this machine from apple. It rather sucked and i only have 9 gig free at the moment

location: Home
mood: Lazy
music: Aparently Bens as i hear loud bass

()

Mon, 15 Dec 2003

11:42 PM - Windows on my Mac

It took me 6 hours, but i got VS.NET 2003 Acedemic Pro with full MSDN docs installed in my VPC Win2k instance. I can now write windows apps on my iBook. It only cost about 5 gigs of space!

I'll have to burn some stuff to get more room as i only have 9.4 gigs remaining on a brand new computer.

Its rather responsive consider i have 128mb ram and only 64 allocated to vpc. The G4 chip really helps. It only takes a supercomputer to emulate a PC chip. Interestingly, PowerPC chips can't be emulated on an x86 chip. The only possible way to do it would be to convert the instructions and compile them which would be to slow to be useful.

VPC was the reason i chose the ibook over the compaq laptop i was looking at. I figured i could write windows, mac and unix stuff on a mac. Only windows and unix were available in windows. I do miss freebsd native though. If i had a bigger drive, i'd dual boot netbsd or darwin on this machine. At the very least i'd install freebsd in vpc.

The largest drive for an ibook was a 60 gig. I had to get a 14 inch in order to do that.. not enough money.

I've already paid back 100 bucks on my laptop. :)

I also bought a 128mb stick from crucial which shipped tonight. Its already in wyoming. 2 day shipping too. I'll have it by the 17th.

I wanted to port kards.com today to java but got stuck writing an app to connect to UPS for rates. (VB.NET) I used caryn's computer to do that (VPC win xp).

I watched the hound of the baskervilles today. I have a vhs tape with the A & E version from several years back i taped on cable. Pretty kewl.

Caryn's present came today for christmas. She's reading it now. My dad's came as well. I got him a history channel dvd set. He will like it if he doesn't already have it.

My aunt sent us a gift certificate for media play. The closet one is indiana and their website is broken and doesn't accept gift certificates.

JJ will expire soon. I will need to buy the domain again with my christmas money. I have to get an SSL cert for fg too. In the short term, i'll just make one with openssl. I want to buy one for JJ as well.

I'm starting to feel smart again. It must be the attitude at western that brings me down. How lousy.

My new mac has several kewl games loaded on it now...
RTCW
DOOM 1 & 2
quake
tony hawk 4
spy hunter
Trek (my asteroids clone)
sim tower
sim city 2000
leisure suit larry 1 (grayscale original)
chopper 1.0
Nascar 2003

Several of those are native with a few that require emulation or classic.

location: Home

()

Sun, 14 Dec 2003

5:19 PM - Mysql sucks

Mysql developers changed the protocol in the latest release.. thanks for the docs dick heads!

It only took a few HOURS to debug. JJ and fg news were down all that time.

location: Home
mood: Moody

()

5:17 PM - Stereo hooked back up finally

I had everything torn apart to steam clean... ahhhhhggg. Its a real pain to hook up my stereo again. I'm still testing the sound... i think the wire is getting old as the bass is weak. I got it fixed up a little.

location: Home

()

Sat, 13 Dec 2003

11:11 PM - Steve Jobs

I purchased the second coming of steve jobs on audio cassette through the apple music store (itunes) today. I just finished listening to it. (4 parts, 3 aroudn 2.25 hours + 1 30 minute)

wow! He is actually more messed up that Bill Gates. I'm simply amazed. The scariest thing to me is that the author's interpretation of Steve is that he never really changed. "Good Steve" and "Bad Steve" still exist. His friends are scared of his temper. His enemies are confused by his behavior.

I've read quite a bit about Bill Gates in the past. He is really a simple guy who has a keen power of observation. On a good day, Bill knows when to steal and when to deal.

Steve jobs on the other hand can feel out certain situations on the fly. Its rather shocking. More later...

location: Home
mood: Nerdy

()

Fri, 12 Dec 2003

Thu, 11 Dec 2003

11:09 PM - iBook G4

my new ibook rocks. I need a memory upgrade to run some apps, but aside from that i'm all set. I can't start any macromedia stuff without another 128mb. I can run windows 2000 in vpc, although its very slow. RTCW runs AWESOME on the machine. I gamed for quite awhile tonight.

The lcd display rules.

location: Home

()

Mon, 8 Dec 2003

6:51 PM - 2 finals down, 2 to go

I finished my CS111 final in like 30 minutes. My other final took me over an hour.

I hope things work out for the other two on wednesday.

location: Home

()

Sat, 6 Dec 2003

1:51 PM - OS upgrade on server

I'm compiling the latest stable today. I've had problems with PERL on 4.9 quite a bit. Hopefully this will help. The box has been up for quite a while though.

1:53PM up 21 days, 20:24, 1 user, load averages: 1.00, 1.02, 1.00

()

1:50 PM - STP: Thank you

I just wrote a review of STP: Thank you the CD/DVD set on FG. Its a kewl album and the DVD rocks.

()

1:44 PM - Mac OS Emulation

It is possible to emulate a 68K Mac on almost any platform now including windows, linux, freebsd and Mac OS X. Last night I finally got two emulators working on my Mac. One is black and white. It supports through system 7, but I'm running 6.08 on it. I actually got Leisure Suit Larry 1 to run on it. LSL was originally written for the Mac. It is the FIRST version of the game. Sound works too! Its something to see lefty's in grayscale with the LSL theme playing. Caryn and I played it for a bit last night.

There is also another emulator that will run a Quadra rom. I got that to boot system 7.5.5 in color without sound. The OSX native port doesn't work right, but i hacked the source code for the windows/unix/linux build to link with apple's X11 port. I got it to run fine except sound. I even got the math co to work. I still need to get networking, sound, and modem access to work. Its successfully emulation the 68030 chip with math co and 8mb ram. The only problem with that one is that X is running in high color so games that check for 256 color won't run! I'll figure out something. That emulator is called Basilisk 2. To get it to run in 10.3, you must run configure as a sparc... then delete the references to architecture in the final make file. finally, change references to gcc and g++ to gcc2 and g++2. It will build.

The other thing that got me is you must specify the path to the ROM image explicitly for it to work right.

location: Home

()

10:03 AM - My New computer!

I ordered an iBook G4 thursday night. I'm going to sell my iMac as soon as I get it.

Here are the specs on my new computer:
G4 800 mhz
128mb ram (i'm going to ugrade this)
40 gig hdd
cdrom drive (i have a firewire burner)
1 firewire 400, 2 usb 2.0
12.1 inch lcd
Mac OS X.3 Panther
Quicken 2004
Tony Hawk Pro skater 4
World Book 2003
AppleWorks

It will be nice to have a portable super computer. I want to get an airport extreme card and some more ram for it. Someday i'll get an external DVD for it.

Here is the specs on my old computer for sale:

iMac DV 400
G3 400mhz
512 mb Crucial PC133 ram.
100mhz system bus
Seagate 80 gig hdd (i upgraded this less than 2 months ago)
8mb ATI RAGE 128 PRO Video
2 firewire 400, 2 usb 1.1
Original Keyboard and Mouse (Apple Pro)
Harmon Kardon Speakers built-in
24x CD-ROM built in (note to upgrade this, you would need a laptop drive i think Its like half height)
Mac OS 9.0.4 came with the system, but i can provide 10.1, 10.2, or 10.3. THe original system restore disks and all the original software will come with the system.

It shipped with:
Bugdom, quicken, appleworks, and a few other things.

The system has a built in microphone that works with the apple voice recognition so you can control the computer and play chess in 10.3 with voice rec. (IBM ViaVoice is needed to use it with Word)

location: Home

()

Thu, 4 Dec 2003

9:44 AM - Visual Studio .NET

Caryn got a discount on an acedemic copy of VS.Net 2003. The cds are going to be shipped next week. That is so kewl. We are going to install it in VPC for the time being until i get my PC back.

Its the professional version with acedemic restrictions on use. Basically VB, C#, C++. Scary thing is i could probably use all three languages now. C# is a lot like Java only with subtle name changes. There are java to C# converters even.

I've been toying with getting a Pocket PC handheld. My first choice would be to get a laptop, but unless i find a good used one cheap i might as well hold out. I did see a nice one on ebay a few days ago. 200 bucks.. apple powerbook. It couldn't run OSX though. I do have a lot of classic apps still. It was like a 200 mhz or so. 10.1 might run with a processor upgrade. (only a 1.x gb hdd though) It had scsi, ethernet, 12 cdrom, floppy, etc.

My real eye is on one of the new iBooks. G4 with a radeon 9200 is NICE. Good gaming system right now. It would even run halo coming out this month for Mac.

Of course a 2.4 gig P4 laptop would be nice too. I could run FreeBSD 5.2 on that baby when it comes out. Linux emulation for ET and a dual boot of Windows XP Pro. I would need an onboard nvidia or ati card though to play games. Without gaming and wireless whats the point.

I like the alienware laptops on the PC front. There are a few centrino models lincluding a toshiba and compaq that are sweet too.

Even if i had the money today for a laptop, i'm not sure what i'd buy. I love Mac OS X, but FreeBSD is very sweet! its hard for me to pick between different BSD operating systems (except openbsd which sucks). I do have to say though that the founder of openbsd did great work on the netbsd sparc port in the past. If i had a sun machine, netbsd would probably be running on it. It makes solaris look like a toddler crawling to mommy compared to a formula 1 race car on I75.

Choices, choices.

I wish apple would stabalize the BSD subsystem in OSX. Software ports are behind and I can't get KDE on here anymore. Dual booting is not an option either (well maybe darwin). I'd want Netbsd or freebsd though.

location: Home
mood: Tired Tired

()

9:24 AM - What have i been up to? File sharing...

This is the last week of classes. Finals are next week. I have 1 class left this week (discrete tomorrow).

I went to the "review" session earlier. He went over test answers again and how to get them. I might still pass that course if i get my final grade up a bit.

I'm meeting caryn for lunch later. She wanted to go tuesday, but I didn't get the time for it.

Henry is sitting on the arm of my computer chair with me. He's been a little irritated because we won't let him eat everything. (diet)

I learned about some kewl software called bit torrent. It allows you to download files using others bandwith. Its not exactly like P2P gnutella stuff. Instead of using a client to search and waste bandwith having other people search, you go on the web to find .torrent files. Then, using these torrent files, you are able to access a "tracker". The tracker keeps track of all the people downloading and allows many peers to share their downstream/upstream. If a file is popular, you get awesome bandwith. If its not, then you get crap. (usually extremely slow or not at all) It looks like all types of files are shared with the method including legitimate and illegal content. I've seen torrent files for movies, software, tv shows, fonts, and other stuff. A quick search in google for torrent files will get you a lot of sources.

There are a few facts about the technology that are not clear and several that bother me. For one thing, the tracker and peers could EASILY track who is downloading what. In fact, there is an open source program on sourceforge for that task. Given a tracker file, anyone can track how many are downloading and their ip. Its certainly not good for music as the RIAA would have a field day. It seems popular in the US and Germany. I've seen a lot of german dub versions of movies and stuff. For smaller files that a lot of people want, you can't beat it. Apps like limewire are better for not so common files provided the person on the other end stays online long enough to get it.

Bit torrent is available for many platforms. I've used the mac client, but i know there are many windows clients.

My personal review of different file sharing things goes like this:

1. Bearshare (but its got spyware so you must install on a temporary install, or uninstall it after a few days and do a restore point in XP) I'd also use ad aware or similar afterword.

2. Bit Torrent seems like it has great potential especially for movies, and software if you are into that. I may use this technology for my jewel site download section.

3. Limewire is nice when you don't want to run on windows. The windows version has spyware but the other versions are much cleaner (linux and mac). The linux version is by far the fastest and most efficient. The Mac version consumes 512mb ram in no time. I had good success building my own version from the CVS repository and cleaning out BS like the media player and some of the panes to lower the memory usage. I switched back to a prebuilt version which seemed to fix some of the crashes and memory usage problems in 10.3 Mac OS. I must say that limewire uses way to much memory and the thread count is more than top can register. It opens a thread for EVERY connection and EVERY task. I would wager it would run much better on caryn's box with 2 cpu's. (provided its thread safe and java can use them)

The real problem is the memory usage for spawning a bazillion threads. lol. My hacked version had about 72 threads running when i was downloading 2 files and sharing 10. (no one was retrieving a file at the time)

Finally, if you want music i would suggest buying it through iTunes. Its only 99 cents a song and the quality is awesome. I've bought 187 tracks or so.

location: Home
mood: Tired Tired

()

Sat, 29 Nov 2003

6:50 PM - Asteriods clone released for Mac OS X

I published what i have done so far on the game for the mac.

It was compiled on 10.3, but might run on older releases.

http://www.foolishgames.com/luke/

()