Home

Wednesday, April 05, 2006

Home > N

I finally got my N, well I got it on the 14th of feb, but like I ever update this thing :p. I moved to a new server, as well as a new connection, nice and fast (and cheap). I now live at my moms. which I cant tel if its better or worse than my dads. My dads has more to do, but I eat better at my moms. Well, its quarter after 1am, so I better get to sleep. Also, today is a special day. it has the odd time/date of 1:02:03 04-05-06. Well, gnight.

Wednesday, December 14, 2005

Links > Hippo Noodles

Just click it. U'll be glad you did.

http://www.hipponoodles.com

> Well...

Its time for another update. Many things have changed since I last posted on this old thing. Time for a new theme/skin I suppose. Maybe if I ever get time. Anywho, lets see. well, my projector is torn down, as I need to replace a part. I got a reflector for it, which is good. I should start to mock up a good prototype #2 soon. I should probably finish off my room while im at it. I also need to finish my 5 channel amp for the speakers.

On friday I take my drivers test for my N. Finally. Only took me what, 3 years? I also bought a 1991 ford explorer. The shift motor went in it, so i only have 2 HI. Meh, not like i go 4x4ing anyway. I still suck atparking, but hopefully over the next 2 days I improve well enough to pass my test.

I also finally upgraded my computer. I bought a MSI GeForce 6600GT 128MB. Comes with video in so I can get rid of my tuner card. I also bought a new power supply, 400W, and a new 250GB harddrive. Yup, its already full For the first time EVER, I beat dana's 'dragons' in a 3d mark test. He gets 5316 in 03, and I get 7778. I was pretty stoked. I also over clocked my cpu to 2.2 ghz ala XP 3200+. So overall it perferms quite nicely. I managed to find a video card fan control program so my comp doesnt sound like a vaccuum cleaner, unlike anthony's...

Hmm. what else is new.... Call of Duty 2.. ROCKS!!!! I'm playing it on veteran. Hard as hell. On a few levels you start off, and if you dont do it perfect, you die in like 3 seconds. Those were a major pain. Im on the last british mission. I was almost finished it, but stupid me I loaded a diff level, and it killed my progress.

Well, seeing as I cant think about anything to post, ill go now. Ill post some more stuff tomorrow, er, later today.

Thursday, August 11, 2005

Code > Final winamp parsing code

Heres the final code. I've been using for a while now. Works 100% perfect for my setup. YMMV.

  1. global $title; 
  2. $title=eregi_replace(" ", " - ", $title); 
  3. $info=explode(" - ", $title); 
  4. $last=count($info)-1; 
  5. $title=$info[$last]; 
  6. $artist=$info[0]; 
  7. for($b=1;$b<(count($info)-1);$b++){ 
  8. if(!eregi("([0-9]{2})", $info[$b])){ 
  9. $artist .= " - $info[$b]"; 
  10. } else { 
  11. $track=$info[$b]; 
  12. $artist=explode(" - ", $artist); 
  13. $last=count($artist)-1; 
  14. $artist=$artist[$last]; 
  15. if($info[1] == $artist){ 
  16. $artist = "$info[0] -$artist"; 
  17.  
  18.  
  19.  
  20. $sql="select * from winamp order by date DESC, time DESC limit 0,1"; 
  21. $result = mysql_query($sql); 
  22. $row=mysql_fetch_array($result); 
  23. $time=strtotime($row[time]); 
  24. $now=time(); 
  25. $today=date("Y-m-d"); 
  26. if ((($now - $time) < 30) || ($today != $row[date])){ 
  27.  
  28. $sql="delete from winamp where id=$row[id]"; 
  29. mysql_query($sql); 
  30.  
  31. $sql="update songs set count=count-1 where id=$row[title] and artistid=$row[artist]"; 
  32. mysql_query($sql); 
  33. $sql="update artists set count=count-1 where id=$row[artist]"; 
  34. mysql_query($sql); 
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41. $sql="select * from artists where name='$artist'"; 
  42. $result=mysql_query($sql); 
  43. $artinfo=mysql_fetch_array($result); 
  44. $artcount=mysql_num_rows($result); 
  45.  
  46. $sql="select * from songs where name='$title' and artistid=$artinfo[id]"; 
  47. echo $sql."<br>"; 
  48. $result=mysql_query($sql); 
  49. $songinfo=mysql_fetch_array($result); 
  50. $songcount=mysql_num_rows($result); 
  51.  
  52. if($artcount > 0){ 
  53. $artistid=$artinfo[id]; 
  54. $artcounter=$artinfo[count]+1; 
  55. $sql="update artists set count=$artcounter where id=$artinfo[id]"; 
  56. mysql_query($sql); 
  57. } else { 
  58. $sql="insert into artists(name, count) values ('$artist', '1')"; 
  59. mysql_query($sql); 
  60. $sql="select * from artists where name='$artist'"; 
  61. $result=mysql_query($sql); 
  62. $artinfo=mysql_fetch_array($result); 
  63. $artistid=$artinfo[id]; 
  64. echo "song count $songcount"; 
  65. if($songcount > 0){ 
  66. $songid=$songinfo[id]; 
  67. $songcounter=$songinfo[count]+1; 
  68. $sql="update songs set count=$songcounter where id=$songinfo[id] and artistid=$artinfo[id]"; 
  69. mysql_query($sql); 
  70. } else { 
  71. $sql="insert into songs(name, count, artistid) values ('$title', '1', '$artinfo[id]')"; 
  72. mysql_query($sql); 
  73. $sql="select * from songs where name='$title' and artistid=$artinfo[id]"; 
  74. $result=mysql_query($sql); 
  75. $songinfo=mysql_fetch_array($result); 
  76. $songid=$songinfo[id]; 
  77.  
  78. echo "Curr album: $curralbum:"; 
  79. mysql_query("insert into winamp(artist, title, date, time, track, songlength) values('$artistid', '$songid', now(), now(), '$track', '$length')"); 

Friday, July 01, 2005

DIY Projector > Projector

Yay. It works. Not perfectly, but well enough to watch movies on. The image isnt as bright as I'd like it to be, the sides are a little blurry and dark. Its hot, and loud. But its also a prototype. The box needs to be reshaped, everything needs to be adjustable, it needs to be painted black inside, and it needs a reflector. Also keep in mind that my wall isnt painted either. So once i get some more done, i'll let ya know.

Monday, May 09, 2005

Links > Video

Why NOT to put stuffed animals in your car with a sub. Here.

Wednesday, May 04, 2005

Main > Hi

Well, seeing as I kinda have a life, I haven't been posting here. The tempered glass for my projector came in on friday, I'll be picking it up today hopefully. I finished unit 1 of English 12, and will be starting unit 2 tomorrow. I know its due friday, but I'm lazy. At the latest it'll be handed in on Monday. We'll, thats about all for now. Maybe somethign exciting will happen to me eventually for me to post

Friday, March 25, 2005

DIY Projector > Lenses are here.

Well, I got the lenses yesterday. They were here like a week ago, but fucking purolator didn't deliver it because theer was no phone number. but because there was no number, they couldnt phone me. how fucking stupid is that. Ah well. I ordered tempered glass. 7-10 days, $20. I need a bulb and ballast, cause the big bulb is too big, but the balast is back ordered, so i cant do anything cept my wall till like the middle of april. Ah well. thats the way it goes. Thats all for now.

Saturday, March 05, 2005

DIY Projector > Lenses Ordered

I ordered the Lenses and I picked up a UV filter. $113 with shipping. SHould ship monday, and be here hopefully by the following monday.

Tuesday, March 01, 2005

DIY Projector > LCD is here.

Ok. I recieved my LCD today. BenQ FP557s. 15 inch, 16ms, 1024x768 res, 450:1 contrast ratio. $299 with a $100 rebate. $398 after taxes, before rebate. So far I'm pleased with it. Even if this projector thing doesnt work out, this is a nice little monitor. I'm going to a job tomorrow morning. Hopefully I'll make enough to pick a decent digital camera to take pics. I phoned a local lighting place called Evett Electric. they have the bulbs and ballast, so I'll drop by within the next couple days, scope out the prices. I also checked out cable length on the monitor. its like 6 feet, and i have a 6 foot extension. The picture quality stays the same, so I'll put my computer on the floor next to my door.
Select a Page
Page 3 of 11 Pages < 1 2 3 4 5 6 7 8 9 10 11 >