my life

day to day

Archive for October, 2006

TMobile WiFi Hotspot Login Script

Friday, October 20th, 2006

curl -d username=username -d password=password -d Login= -d postURL=https://hotspot.t-mobile.com/user/homs/ https://service2.hotspot.t-mobile.com:443/pages/checkInput.jsp

add to del.icio.us    add to technorati favs   email this

Debian 2.6.17-smp

Sunday, October 15th, 2006

It has been over a month since 2.6.17 has been released and there is still no version of 2.6.17-smp out. Not only that, I also wanted a prebuilt kernel with bigmem (pae). Turns out the packages without the “-smp” extension have SMP support starting in 2.6.17. Duh? Isn’t that obvious?

 

add to del.icio.us    add to technorati favs   email this

The American Affordability

Wednesday, October 11th, 2006

http://health.msn.com/reports/obesity/default.aspx

The presentation on this link prompted an interesting discussion with my friend Jamie. I really think she pinpointed a core value in America that contributes to our obesity complex. I agree with it so much, I’m gonna pass her words off as my own. In America, we give way too much credence to affordability. The Walmarts and Mcdonalds have taken this concept and perfected it–sucking out every ounce of value and replacing it with high-calorie fructose bs and every other cheaper alternative Americans live for. America is so affordable that even our homeless are plump. Affordability at the cost of poor quality is actually high-cost in disguise. Sure you save 2 bux, but you pay for it with your health.

 

add to del.icio.us    add to technorati favs   email this

PHP Lesson Learned

Wednesday, October 11th, 2006

PHP’s reference implementation is flat out broke. Running their latest release 5.1.6, my server application segfaults randomly all over the place. Using references seemed like the best way to accomplish C/C++ style pointers (think Search Trees, DLinkedLists/LRU Cache, etc..), but at a cost way to high. As previous posts indicate, I’ve spent a great deal of time trying to resolve these conflicts. Ultimately, my solution has been to rely on the implicit refrence-like properties of objects. Objects are passed in a way similar to PBR, but not identical. That is, you can access the object and modify properties of the object, but you can’t modify the object itself. What I mean by that is you can’t change an object of type Foo to an object of type Bar. Using explicit & style references, however, you can….. but you can also blow your leg off like I found out.

add to del.icio.us    add to technorati favs   email this

Image Maddness

Wednesday, October 11th, 2006

javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.images; DIL=DI.length; function A(){for(i=0; i<DIL; i++){DIS=DI[ i ].style; DIS.position=’absolute’; DIS.left=Math.sin(R*x1+i*x2+x3)*x4+x5; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5}R++}setInterval(’A()’,5); void(0);

add to del.icio.us    add to technorati favs   email this

Van Halen

Tuesday, October 3rd, 2006

Eddie Van HalenFound out this past weekend that Van Halen is my neighbor. There was a bad ass release party thrown just below our house, where we have a birds eye view of his house. Played were all his classics, in addition to some new releases apparently. Got confirmation that it was him living down there after reading Google News and coming across http://93x.com/blog.asp?id=283513&SBID=4444.

add to del.icio.us    add to technorati favs   email this