It's all about choices, Faith. The ones we make, and the ones we don't. Oh, and the consequences. Those are always fun.

Angelus ,'Smile Time'


Buffistechnology 3: "Press Some Buttons, See What Happens."

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!


Jon B. - Oct 03, 2012 6:25:52 am PDT #21134 of 25501
A turkey in every toilet -- only in America!

I haven't done coding like that in a while, but I was a big fan of libraries like Prototype & jQuery when I did.


tommyrot - Oct 03, 2012 6:39:06 am PDT #21135 of 25501
Sir, it's not an offence to let your cat eat your bacon. Okay? And we don't arrest cats, I'm very sorry.

Well, I've been using jQuery somewhat for a while now (but not for this).

Briefly, what I want to do is take a node of an XML document, do an XSL transformation on it and then replace that node in the XML doc with the results of the transformation. But I'm kinda' getting confused about all the different JavaScript objects that pertain to XML, so I'm not sure I'm going about this the right way.

Currently the code does the changes to the node using Javascript to manipulate the DOM (with no XSL transformation). This works but can be slow. Using the XSL transformation would (I think) increase performance.

Is this something that jQuery could handle?


DavidS - Oct 03, 2012 8:26:27 am PDT #21136 of 25501
"Look, son, if it's good enough for Shirley Bassey, it's good enough for you."

Hey Buffistae, I'm looking at a new phone. Does anybody have experience with or opinions on or anecdata about these three options?

Android LG Optimus One. (Totally sounds like a madeup Transformers character.)
LG Rumor Reflex. (Totally sounds like a mashup of Duran Duran titles.)

Samsung Nexus 4G. (Totally sounds like something made in Korea.)


§ ita § - Oct 03, 2012 8:28:41 am PDT #21137 of 25501
Well not canonically, no, but this is transformative fiction.

Weird, that, Samsung sounding Korean.


Consuela - Oct 03, 2012 8:29:25 am PDT #21138 of 25501
We are Buffistas. This isn't our first apocalypse. -- Pix

Here's a handy chart to find out which broadband providers cap your usage:

[link]


tommyrot - Oct 03, 2012 8:32:41 am PDT #21139 of 25501
Sir, it's not an offence to let your cat eat your bacon. Okay? And we don't arrest cats, I'm very sorry.

Well, the LG Rumor Reflex is not a smart phone, so you can't add apps (or maybe you can add a handfull of apps).

I had an LG Rumor before my iPhone. It was OK for a phone but I hated the touch screen. But now the Reflex has a capacitance touch screen, so it should be better.


tommyrot - Oct 03, 2012 8:36:18 am PDT #21140 of 25501
Sir, it's not an offence to let your cat eat your bacon. Okay? And we don't arrest cats, I'm very sorry.

This article is kinda' interesting:

As Apple and Samsung dominate, Japan’s tech giants are in a free fall - The Washington Post

Even the Japanese companies’ strengths matter less now, as consumers have lost the willingness to pay a premium for quality. Sharp and Sony and Panasonic make among the world’s best televisions, for instance, but such Korean competitors as LG and Samsung have found ways to make products that are almost as good for far less money.

“In the past there was a huge gap between the best of breed and second best,” said Michael Gartenberg, an industry analyst at Gartner, a technology research company. “Now, maybe there’s still a small gap between a Sony high-definition screen and an LG screen, but most consumers can’t see it. And if most consumers can’t see it, it’s not there.

Huh. I'm going to buy a new TV one of these days, and am leaning towards Samsung.


Jon B. - Oct 03, 2012 9:18:12 am PDT #21141 of 25501
A turkey in every toilet -- only in America!

Is this something that jQuery could handle?

Sorry, that's well past the limits of my knowledge.


Rob - Oct 03, 2012 9:34:59 am PDT #21142 of 25501

This works but can be slow. Using the XSL transformation would (I think) increase performance.

I doubt it will increase performance. I'm surprised you're finding modifying one DOM node in an XML DOM to be slow. How do you measure its performance?


tommyrot - Oct 03, 2012 9:43:31 am PDT #21143 of 25501
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'm surprised you're finding modifying one DOM node in an XML DOM to be slow.

Well, it's more like dozens or hundreds of DOM nodes. With three or more levels of looping.

How do you measure its performance?

With JavaScript alerts before and after all the looping.