KBD

Keith Devens .com

Saturday, May 17, 2008 Flag waving
Everybody makes their own fun. If you don't make it yourself, it ain't fun -- it's entertainment. – David Mamet (as relayed by Joss Whedon)

Archive: March 21, 2002

← March 20, 2002March 22, 2002 →

Daily link icon Thursday, March 21, 2002

I think with all of PHP's crappy "features", I may actually be less productive now than I am in ASP, which astounds me. Magic quotes must go!

Well, I figured out the reason for that day-killer bug I was having. I think PHP is broken when you try to use the new "super globals" along with regular auto-registered variables. So in the code I'm writing I have to make sure not to use the super globals.

It's probably not actually broken, but it seems like it is. Before I believe myself I'd have to prove it though, and I don't have time for that now Smiley

I just saw my brother's ass crack... up close!. That image is forever burned into my memory. Oh, the horror!!

On the PHP home page there's an announcement that RC1 of PHP 4.2.0 has been released, PHP 4.2.0 is scheduled for April 22nd, and there's a new PHP QA website.

What's new in 4.2.0? I poked around and couldn't find anything...

There's a new resource site for Dev-C++. I'm looking forward to Dev-C++ 5.

We really need to come up with a name for those "Day-killer bugs". A bug so obscure you spend at least a big chunk of your day hunting it down. One of those bugs that only happens some of the time because of the interaction of a bunch of pieces of software, only on certain hardware and only on April 1st.

Here we go... a mandelbug is close to what I'm talking about. Although, now that I think about it, all the definitions of bugs in the jargon file kind of miss what I'm getting at. They all describe the bug in terms of its underlying causes... I want to describe it in terms of its effects on my productivity Smiley

I just noticed a boo boo when programming with PHP 4.1.0 or higher and using the new "super globals". Session variables (and cookie variables, but I use those less) seem to benefit the most from having an explicit $_SESSION in front of it to signify that it's coming from a session. It's not as clear otherwise.

My mistake, though, was that I used $_SESSION["varname"] and $varname as a post variable, thinking that they were different variables, when in reality, since REGISTER_GLOBALS is on, the fact that I had a session variable named $varname cancelled out the auto-registered session variable (EGPCS - session comes last), so $varname and $_SESSION["varname"] actually referred to the exact same variable Smiley Just something else to watch out for. I was able to get around it by just using the $_REQUEST["varname"] version, since that will refer to the post or get version instead of the session version.

Nice: "I have yet to encounter a vegan wo was not a bleeding-heart, bed-wetting whinning, socialistic, the-rich-have-too-much-money-and-should-share-more-with-us-on-welfare liberal."

Whoa, flashback to someone I haven't thought of in years. What ever happened to Gabbi? Don't know if I spelled her name right, but I think she was a vegan when I knew her.

Via VoidStar. This is bad. Google pulls anti-Scientology links. "Digital rights advocates said the Church of Scientology's takedown request is noteworthy because it underscores potential conflicts between the DMCA and free speech. "The danger is that people will attempt to silence critics under the guise of copyright infringement," said Fred von Lohmann, an attorney with San Francisco's Electronic Frontier Foundation. In the Xenu.net case, the removed links led to pages that contain material copyrighted by the Church of Scientology. On his site, Heldal-Lund defends this use of copyrighted material, saying that he believes Scientology survives "through the protection afforded it by copyright laws in a way that copyright laws were not designed to address.""

It astounds me more than any other religion (even more than Mormonism) that people would be so stupid as to believe in Scientology. It is so widely known to be a cult that you'd have to want to be in a cult to believe in it.

Update, looks like Google finally gave in and relisted sites it unlisted. Here are two Slashdot posts covering what happened, here's an awesome screenshot from someone who took out an ad on Google in protest, and here's the news log for Operation Clambake, the most prominent site being censored.

Davenet: Scientology and Google

← March 20, 2002March 22, 2002 →
May 2008
SunMonTueWedThuFriSat
 123
45678910
11121314151617
18192021222324
25262728293031



RSS feed RSS feed for Keith's Weblog
Atom feed Atom feed for Keith's Weblog
Weblog archive
Recent comments
  on 2 posts

Recent comments XML

new⇒Maps of Iraq

my husband is in Scania too..he​says it's not too bad..he's been at​worse...

Cristy: May 16, 3:54pm

"IMDB for music"

IMDB for Music? It looks to be a​couple of years old...​http://MusicTell.co...

Ken Empie: May 14, 9:57pm

Generated in about 0.05s.

(Used 7 db queries)