Thursday, September 07, 2006

misc.

Well, here is what has been going on. Whether it be work, school, freelance it doesn't matter its in this post.

#SCHOOL
School started Tuesday.
1st Hour: Programming
2nd Hour: Drafting
3rd Hour: Contemporary Themes
4th Hour: Cisco

#WORK
Nothing new.

#FREELANCE
For the children's cancer fund. Wow, what a mess up there. For some reason, after noting that part of their site is in ASP while the part I am doing is in PHP, I for some reason did not pay attention that they were not running Apache. So my mod_rewrite did not and will not work. Along with having the webhost run a SQL query to use the "old" authentication password. However, we are in the testing phase.. w00t w00t.

#OTHER
My stupid car had a leak in one of the gas lines. I was expecting it to cost a few hundred dollars. However, thanks to Rays Auto, they got my car done quick, and it was only $120. So hopefully, I can still get my laptop soon.

Wednesday, August 30, 2006

damn you sessions

So, I am working on a project for HereNextYear. Basically, they have a client "Childrens Cancer Fund" and I am re-working their online donation page to work with Authorize.Net . Fun Fun. It also allows them to have teams sign-up, kinda like when people come to your house for a 5K run pledging how much money they will do. However, the teams have their own little page, with the donation form on it. So using some mod_rewrite I have it so they can do www.domain.tld/TeamName/ and it will pull data from a database based on their team name. Well I was having problems in the fact that, on one section of the page it returned the team_id session as one number, while on a different part of the page it returned something else. After 2 days of dicking with it, I finally found the solution, because of another session variable, I managed to catch the value and it was odd. What makes things weird is, 1. it was html that wasn't even wrapped around <?php ?>. 2. Why it was actually causing the problem. So here is the bugged code.

<body bgcolor=#ffffff marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" bottommargin="0" background="images/ccf_bg.gif">

Here is the fixed code
<body bgcolor=#ffffff marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" bottommargin="0" background="<?php echo PATH_TO_DISPLAY; ?>/images/ccf_bg.gif">

Basically I have a PHP constant that holds the url to the base project. That way, with the mod_rewrite I don't get anything funky like, www.domain.tld/teamName/images/ccf_bg.gif . Thats what the PATH_TO_DISPLAY is. That was my fix. After 2 days, it turns out something so random I just don't know what else to say..

Well thats it, for now. I gotta get this thing done.

Sunday, August 20, 2006

Second Weekend At RSB

So this weekend was pretty cool. I got off at like 9:30 this morning. w00t. We did some cool drills, that were related to medical / evacuation stuff. There was a competition divided into two teams, whoever won got to pick the PT(physical training) exercise the loosing team had to do. Luckily my team won all four rounds. I got to see some hand to hand fighting (not to hard, no injuries), with some moves to get the person on the ground. Overall it was a pretty good weekend. I just really have to work on push-ups and running so its not so hard on me. Thats about all the interesting stuff this weekend. So I leave you with this .....................................

Friday, August 11, 2006

shopping cart of the future

So, I am currently working on a multi-site shopping cart, that is URL friendly. That way if you were to have a cart it wouldnt be cart.php?cartid=12353456346&productid=3246346346346235246232346325 instead it is like /yoursite.com/products/HotDog. Now isn't that a crap load easier to remember. I think so, also works better for search engines. Thats all i am gonna tell of the project so far, as there is still a lot to develop and a lot that is a secret. I gotta tell you, when its done it will be a BAMF (bad ass mother f***er) ('thank you Dane Cook for that one'). With loads of stuff other subscription based carts don't have.

Thursday, July 27, 2006

$$$$$$$$$$$

Guh!!!! What do you know. Another almost record breaking profits quarter for the gas companies. Exxon gas(i believe) holds the record for #1 profits, and now for quarter 2 of 2006 they also hold record #2. (not gas stations, but to those who provide to them.) I am not sure about you guys/gals, but I am tired of them saying "oh the tensions in the middle east is driving prices up". Oh bull shit, thats why the last few years your profits sky rocketed. Unfortunately I have to buy gas for my car contributing to their profits. $3.10/gallon is outrageous and you gas companies can burn in hell (seriously). Those in Europe, yes I know your prices are a lot higher, but this is a lot here in the U.S. I remember the days where everyone was outraged at $1.50 now its over double that in just a few years. :(

</rant>

Tuesday, July 25, 2006

impatient

guh!!!!! At the end of the last school year, (last week of may), when I started back working at the school, I asked about possibly graduating in January 2007 instead of May 2007 as I would have enough credits at the end of the first semester. I was told, that I would be notified before school starts up again September 4th. However, I have little patience for almost all things, so I am waiting, and waiting and waiting, to see if I get to graduate early. How sweet would that be.

Come to school the first day of the 3rd marking period, but have graduated the Friday before. w00t w00t. Then I could get to laugh at all the students ... "haha your ass still has to wake up everyday and come to school" type thing. One could only hope, and I am hoping alot. Though I will probably go to basic training early if they will let me. So I would have 9weeks gone down in Missouri, come home for a month or two, then go to Oklahoma for another 7weeks and 1day. Though I am not sure what I want to do. All in one or split op, even if they would let me do it.

Sunday, July 23, 2006

First Weekend At RSB

Well this weekend was the first weekend at RSB. Don't ask me what it stands for as I don't know. However, it is for, the National Guard, before you go to basic training (ie. boot camp) you can learn a bit before you go, so you don't make as big of a fool as you would before hand.

Overall it was ok. I am quite sore from it. Lots of marching and standing. I knew I wasn't it shape, but dang, I am in horrible shape. Had to do 2 mile run Saturday around a track. That horribly sucked as many can imagine. (no i didn't get within the passing time). Seeing as I felt horrible that morning (woke us up at 4:xx) and was ready to puke, I lasted through the push-ups and the sit-ups. Though for the run, I threw up 4 1/2 times. Now your asking yourself, how do you half way throw up. Here is how, when you have threw up all the liquid in your stomach, and your body is trying to throw up but nothing is coming out. :( . But hey I made it the full 2 miles, and was not last to finish. w00t w00t!!!

Well, better luck next month.