Grin with cat attached
| XSL query | Sep. 26th, 2005 01:25 pm | |
|---|---|---|
|
I need to insert a bunch of CDATA sections around certain XML tags with XSLT (I want to be able to use a stream parser on the resulting data and treat various parts as CDATA rather than tags & content). However I can't get the CDATA block in there without it stopping XSL processing (unsurprisingly enough) or breaking the XSL Best attempt is: <xsl:template match="flashXML|text"> <xsl:copy> <![CDATA[<![CDATA[]]> <xsl:apply-templates /> <![CDATA[]]]]><![CDATA[>]]> </xsl:copy> </xsl:template> but then my output is <![CDATA[... Anyone help with this? I'm really not having a great day after last night's lack of sleep and XSL is far too new to me... | ||
| Certification? | Sep. 24th, 2005 10:46 pm | |
|---|---|---|
| Tech OD moment here - I'm sitting on the tube listening to the In The Trenches podcast... Which is talking about certifications. Have any of you ever taken any IT industry certs? What methods did you use? And what do people generally think of such certs? | ||
| Samba "Modify" permission | Sep. 22nd, 2005 07:43 pm | |
|---|---|---|
|
I've set up Samba on a debian box to share a subversion sandbox. When I try and perform SVN operations such as commmit, update, I get the "scream of the dying tortoise" and get told I can't set a file in the share read-write. Now, looking at the permissions on that file in a windows box, I can see that I have Read, Write permissions, but not "Modify", "Full Control" or "Read & Execute" (IIRC). Now I'm pretty sure what I need is either Full Control or Modify. How in *&*&*(& do I get this? All help *VERY* gratefully received! Once I crack this I might actually be able to get this server controlled. | ||
| Tonight, I have mainly... | Sep. 19th, 2005 11:40 pm | |
|---|---|---|
| been installing a working copy of http://www.placeopedia.com/ | ||
| Lapse of tech... | Sep. 12th, 2005 08:04 pm | |
|---|---|---|
|
I'm sitting here listening to internet radio, adding songs 850-866 to an iPod smaller than a casette and syncing a podcast. And I have my 10-year-old tape walkman on my belt, because all my goon shows are on cassette... | ||
| Repeated logins from screensaver | Sep. 11th, 2005 06:48 pm | |
|---|---|---|
|
Frequently when my PB wakes from sleep, I'll give my password to the screensaver, it'll accept it, show the desktop and apps, then go straight back to the screensaver login panel, requiring me to type the password again. Occasionally it'll go right back to sleep. Anyone familiar with this problem or have a solution? I'm fairly sure I'm not just mistyping my password; it happens far too frequently for that, and I know I'm >>95% accurate typing it in elsewhere. PowerBook G4 12", Mac OS X 10.4.2 | ||
| Podcasts? | Sep. 10th, 2005 07:33 pm | |
|---|---|---|
|
Anyone use 'em? ETA: SNB! Unrelated: Might I direct the group mind here ? | ||
| N-dimensional geometric proximity | Sep. 8th, 2005 02:46 pm | |
|---|---|---|
|
For reasons likely to bore, I need to write an algorithm that includes finding the distance between two points in an N-dimensional geometric phase space. Now I know that in 2D the distance from x1,y1 to x2,y2 is sqrt((x1-x2)^2 + (y1-y2)^2), but all the maths they failed to teach me at Uni has drained away, meaning I can't remember the algorithm for higher dimensions. I have a vague memory that the 3D equivalent should be sqrt((x1-x2)^2 + (y1-y2)^2 + (z1-z2)^2). Is that right or do I need to deal in higher powers? Is it always square root(sum of squares)? | ||
| Sep. 7th, 2005 08:04 pm | ||
|---|---|---|
|
svn status | grep ^? | awk '{print $2}' | xargs ls -1 | grep / | grep -v : | xargs svn add Optimisers need not apply :p | ||
| F'king humans | Aug. 26th, 2005 10:05 pm | |
|---|---|---|
|
Woman in the restaurant listening to each ringtone on her phone in turn. Me: "Excuse me, that really doesn't harmonise with the background music in here". Her: "I'm setting the ringtone" Me: "I can't believe you need to do that right now" Her: "But I'm bored" No response to that, really. She shut up though. Then the next-door neighbour comes round with some petition he wants us to sign. Having made three attempts to read his letter I determined that it was incomprehensible, aggressive, but (as much as I could tell) self-contradictory, selfish, and suggested that certain of the proposed parking restrictions should be removed "as pedestrians could walk on the road instead". This he has the gall to put out under the banner of RoadPeace. On returning the unsigned petition to him I'm told (in a loud, highly aggressive fashion) that my opinion doesn't count as it differs from most of the rest of the street - including his buddies at the garage who use the street as a scrapyard. Whether many of them had actually read it, or been intimidated into it (or more likely just signed it to get rid of the drunken fool) I can only wonder. ION Learning a bunch of XSL at the moment - anyone recommend any good resources? Don't seem to have any work 'til Wednesday now. Tomorrow's plans don't seem to have got made. | ||
| Forgot to mention | Aug. 23rd, 2005 09:17 pm | |
|---|---|---|
| My dad managed to upgrade the RAM in his PC today. I'm kinda proud of him ;) | ||
| Geek-fu | Aug. 19th, 2005 12:06 pm | |
|---|---|---|
|
Self-indulgent post maybe, but I've now got my phone's calendar to automatically update the one on my website :) Now to stop getting flu, heatstroke and the rest and get to more of the listed events ;) | ||
| Reg Roundup | Aug. 20th, 2004 09:51 am | |
|---|---|---|
|
Expect ever more email fraud attacks http://www.theregister.co.uk/2004/0 US continues to prove reliabilty of intelligence and security measures: http://www.theregister.co.uk/2004/0 Pure coincidence it happens to a Democrat, of course. IBM sue SCO under GPL http://www.theregister.co.uk/2004/0 | ||
| Easily amused. | Aug. 13th, 2004 12:39 pm | |
|---|---|---|
|
With apologies to Jasper Carrott | ||
| Microsoft unveils Linux-Killer | Aug. 12th, 2004 05:04 pm | |
|---|---|---|
|
With Windows XP Starter Edition, first-time home PC users can have up to three programs and three windows per program running concurrently. Further simplification of the operating system includes the display resolution set to 800x600 maximum and no support for PC-to-PC home networking, sharing printers across a network or more advanced features such as the ability to establish multiple user accounts on a single PC. http://www.microsoft.com/presspass/pres This, by the way, is the product they've created for East Asia, to wipe out Linux and put a stop to XP piracy. | ||
| Cron revisited | Aug. 8th, 2004 06:00 pm | |
|---|---|---|
| For anyone who was wondering (and thanks to those who made suggestions) the problem with crontab on the Raqs was indeed that vi wasn't writing changes to the original filehandle. A config option in .exrc (which I've momentarily forgotten) fixes this. | ||
| Colossal fuckup, Nildram style | Aug. 2nd, 2004 08:47 pm | |
|---|---|---|
|
If anyone uses Nildram for ADSL (or possibly any other service) you will have recently received a mail inviting you to log into a "new user area" at http://users.nildram.net/. I strongly recommend that you log into your account at this address IMMEDIATELY and go to My Controls -> My Account Details and check that the postal address, emails, credit card details etc are your own. In my case, I got someone else's. This probably means that someone else got mine. Fuck knows how many credit card details this could have leaked. I have just torn a gaping strip out of their tech support team (the words "Colossal fuckup" did indeed get used). They'd better have some bloody good answers for me tomorrow. Upd In fact I'm not sure I want to continue service with them any longer. Are Zen still as good as they're claimed to be? | ||
| IPv6, therefore ICANN | Jul. 29th, 2004 09:52 am | |
|---|---|---|
|
(worst subject ever?) ICANN are adding IPv6 to root DNS: http://www.internetnews.com/infra/p Meanwhile, Microsoft are making their own contributions to the future of computing: http://urghthatsalongurl | ||
| Neeed Geeeeeks.... (and sleep) | Jul. 27th, 2004 10:06 am | |
|---|---|---|
|
For reasons I've yet to fully figure out, the network throughput on my personal primary server suddenly jumped 8fold this morning. I'm fiddling through a few tricks to try and work out why, but I'm completely zoned out today. Does anyone have any suggestions on how to figure out the source / port / app causing this leap? Upd According to tethereal, the traffic is almost entirely comprised of DNS AAAA requests for ns.dnseu.com ns3.dnseu.com ns2.dnseu.com (which have bugger-all to do with me) from: heifong:/home2/wechsler# host 12.170.116.67 Name: pita67.mercurylink.net Address: 12.170.116.67 heifong:/home2/wechsler# host 12.170.116.66 Name: pita66.mercurylink.net Address: 12.170.116.66 heifong:/home2/wechsler# host 12.166.51.68 12.166.51.68 PTR record not found, server failure | ||
| Once upon atime: curious and bored | Jul. 22nd, 2004 01:59 pm | |
|---|---|---|
| Tempted to make this tweak to one or both of my VMs. It also makes me wonder - what does anyone actually use atime for? | ||
![[rss feed]](http://www.phase.org/images/rss2.gif)