Spike: Ladies. Come on in. Plenty of blood in the fridge, don't be shy. Dawn: You mean like, real blood? Spike: What do you think? Dawn: Mostly I think, 'Eew!'

'Potential'


Buffistechnology 2: You Made Her So She Growls?  

Got a question about technology? Ask it here. Discussion of hardware, software, TiVos, multi-region DVDs, Windows, Macs, LINUX, hand-helds, iPods, anything tech related. Better than any helpdesk!


Rob - May 05, 2005 8:34:47 am PDT #2743 of 10003

It looks like get_object_vars will do what you want for you in either PHP 4.2 or 5. Before 4.2, not so much, as unset object properties aren't reported.


§ ita § - May 05, 2005 8:35:54 am PDT #2744 of 10003
Well not canonically, no, but this is transformative fiction.

Kewl. Thanks.


Stephanie - May 05, 2005 9:16:26 am PDT #2745 of 10003
Trust my rage

Thanks, Tom. Problem solved.


tommyrot - May 05, 2005 12:23:51 pm PDT #2746 of 10003
Sir, it's not an offence to let your cat eat your bacon. Okay? And we don't arrest cats, I'm very sorry.

I don't know if anyone will know this but... I'm working with xml and xsl, using JavaScript. I have a param in the xsl called "parSelected", and I've proven that I can pass values to it from JavaScript. Now I want to have something in the xsl that compared the value of the param to something in the xml. Something like this:

<xsl:when test="@n = " + <xsl:value-of select="$parSelected" />>

But not the same as that, as that doesn't work. Apparantly is is not valid xsl.

I also don't know if the '+' is correct to concatenate....


Tom Scola - May 05, 2005 12:26:09 pm PDT #2747 of 10003
Remember that the frontier of the Rebellion is everywhere. And even the smallest act of insurrection pushes our lines forward.

You have to use the concat() function.


tommyrot - May 05, 2005 12:54:33 pm PDT #2748 of 10003
Sir, it's not an offence to let your cat eat your bacon. Okay? And we don't arrest cats, I'm very sorry.

Thanks, Tom.

But on further research on the internets, it seems I can't construct the test string on-the-fly, so some other solution not involving concatenation of this type may be required.

Going home now....

eta: I am an idiot. At first I thought it would be something simple like:

<xsl:when test="@n = $parSelected">

but that didn't work. Turns out I was passing the wrong variable into $parSelected. I wasted three hours yesterday because of this. OTOH, it's nice how a night's sleep can improve one's perspective.


tommyrot - May 06, 2005 9:42:11 am PDT #2749 of 10003
Sir, it's not an offence to let your cat eat your bacon. Okay? And we don't arrest cats, I'm very sorry.

Court Nixes 'Broadcast Flag'

WASHINGTON -- In a blow to the entertainment industry, a federal appeals court on Friday found that federal regulators overstepped their authority by requiring consumer-electronics manufacturers to help restrict digital home recording.

The U.S. Court of Appeals for the District of Columbia reversed a Federal Communications Commission order requiring that makers of consumer-electronics devices capable of receiving broadcast digital TV signals recognize a "broadcast flag," which is code that allows content owners to place limits on redistribution of digital content streams. The rule was to apply to devices manufactured on or after July 1, 2005.

[link]

How 'bout that?


Jessica - May 06, 2005 9:44:16 am PDT #2750 of 10003
And then Ortus came and said "It's Ortin' time" and they all Orted off into the sunset

Go team activist judges! Stick it to the man!


Jon B. - May 06, 2005 11:12:57 am PDT #2751 of 10003
A turkey in every toilet -- only in America!

Damn those activist judges! Making laws instead of interpre.... Oh, wait.... It was the FCC that was making a law outside its authority, not the judges.


DXMachina - May 06, 2005 11:16:17 am PDT #2752 of 10003
You always do this. We get tipsy, and you take advantage of my love of the scientific method.

I guess the FCC's next move will be to cancel HDTV, just in case someone might attach a VCR to their set.