close dialogue

Hello smile

I'm Siobhan Curran/Kisa Naumova, and this is my weblog. I tend to write about stuff like crossdressing, Macs, code, cats, wine and Second Life, but in general it's just an ongoing conversation about all sorts of stuff. If you'd like to know a little bit more about what this all is, I recommend starting on this page which has a little bit of info on who I am, and what I'm trying to do — or you could dive into my five years worth of archives if you like.

Otherwise, feel free to close this box and explore...

Monday, 1st August, 2005

Check $cache for $hash

My RSS feed is annoying me. I was slightly embarrassed by the way it was over-zealously updating itself recently, and switched to a manual update — calling the script by hand rather than by a cron job.

But even then, it's still a bit clumsy.

My main gripe with it is how little information it gives you — if I write a whole new bunch of Stuff™, then it still only shows you the first heading I wrote on a particular day, rather than all of them.

Y'know — like the little boxes over on the left do :unsure:

So I'm going to change it today — I figured that since I spent some time making each header into an automatic anchor (here, try it out: http://www.tranniefesto.co.uk/2005/07/27/#holiday), then I might as well use them in the RSS feed.

Here is the plan:

read each file

find lines that begin with "==="

$title = previous line
$text = next line
$time = the file modification date

if it's come via Flickr...
replace $text with the equivalent small Flickr photo

if this is a new heading...*
add this to the RSS feed

* This is the tricky bit. Somehow I've got to work out if this is a new bit of writing or not. What I'm thinking at the moment is that I need to be able to check the old feed for whether or not a heading exists — but making sure that if I use the same heading on two days (or perhaps on the same day) that it still knows it's new.

:unsure:

I'm toying along the idea of reading the old feed, and combining each $title and $text into an md5 hash — so that this from the other day turns from "Xtreme Crossdressing" and "(Transvestism to the Max!)" into d0cde2e5103f64a544d4d4059c794449, and show them all into an array called $cache.

Then I can do the same to the actual diary files themselves, and pull them into an array called $hash. Then I can compare the two arrays, and only add in the ones that don't appear in $cache.

It's inelegant, I know, and I'm not sure it's going to work properly. But when did anything I coded work first time eh?

Typical Siobhan. Not content with out-xtreming everyone with her recent Scottish exploits, she now out-does my recent "rather dry" meta-blogging posting with one so dessicated it's starting to flake. :wink:

I had noticed that Trannifesto wasn't flagging up on my aggregator quite so often just recently! Hope you get it working how you want soon. :smile:

one so dessicated it's starting to flake

You and your hoity-toity fancy language :wink: This is just a classic case of me using my own blog as a to-do list :biggrin:

Hope you get it working how you want soon

That may never happen. I can't seem to stop myself tweaking it :unsure:

At the moment, it's all fine and dandy — I just need to do some cunning RegEx on the Flickr posts and somehow sort out the bugs in my automatic anchor creating thingy. There are non-alpha-numeric characters slipping through into the URLs, and so they don't quite work.

RSS Apologies

It must be dead annoying when I fiddle with my RSS feed and everyone's aggregators get flooded with a ton of things that are probably days old. So, sorry. It might happen a few times today — but hopefully that'll be the last of it :unsure:

Do please let me know if it all goes screwy — it's working OK at my end, but I'm never too confident about these kind of things these days

Bloglines just told me that you had 29 new posts!

Yep — sounds about right :biggrin:

Sleepy Murphy

(via flickr.com/people/si08han)

Sleepy Murphy

I think he's missing his Mum

Couple of things from recent posts:

  • Extreme Crossdressing — At last, a sport we can be proud of.

  • The meme (part 1)... — I am Tartycus!

  • The meme (part 2)... — I once heard a 'shrink' use the phrase "...merely a fetishistic transvestite". Lost all respect for the gimp!

gravatar

Alli' Cat'

Bloglines is now reporting two headlines for today, Siobhan. In correct time order. So you've probably cracked it. :smile:

Bored

Meh. What a crap day.

I was intent on acomplishing Lots Of Things™ this week, but so far all I've managed to do is write a list, spend a good few hours logwatching, and watch a classic Channel Five afternoon film (which was actually quite good — The Sign of the Four, a Holmes gem :smile:)

I'm currently sitting here, waiting for rush hour to be over (about 6ish I reckon) so I can go and feed Murphy because I am a lazy-arsed-trannie who plans on driving to the other side of town.

But after that, I'm going to do something I haven't done for ages...

Eat rusks?

Stay sober?

gravatar

Selina Morse

More piccies for the site?

gravatar

Rachel

Dress up in a wedding dress and go trampolining?

Yes yes, you're all very funny :rolleyes: I was expecting something more cutting though — something like "Having a bath?" or "Eating some food?"

Nice pic of George, did we ever find out how Katies cat got on with the others??

And (thick moment) what's a blogline?

That's not George hon — that's Murphy (Kath's cat). George is dead.

We haven't braved the "Murphy Meets Biscuit And Tish" day yet — figured he needs a few more trips to the house on his own before that. A friend mentioned something the other day that seemed like really good advice — when he comes round first, we're not going to feed him for 24 hours, which may sound mean — but will make sure when we first let him out, he comes back.

Haven't done this for ages

(via flickr.com/people/si08han)

Haven't done this for ages

What do you reckon? Too shiney? Too stylised. Not stylised enough? Badly lit? (Ack, I want a set of proper lights for Christmas)

hmmm interesting shot. really really nice catchlights in the eyes. I would have cropped it a bit differently (just at your left ear loosing the left shoulder, putting you more in the right hand side of the frame and adding a bit of white space to the left). I like shadows on walls generally, but in this case I think is a bit distracting, so further from the wall — the way the composition is, its quite etherial (sp?), loosing the shadow would highlight this sense of space. would I have added a bit of light to the right side of your face???....hmmmm....not sure. it could work either way.

otherwise, a really nice shot (which is what I was trying to say in the first place :smile:

Ta hon — yeah, not one of my better ones :unsure: I dunno — I just couldn't seem to make it work tonight.

00059

(via flickr.com/people/si08han)

00059

How about that then? Better? Or worse?

It has to be said, I'm having a real problem with lighting just at the moment. That was taken with just a little bedside light, a clip-on spot-light, and the last remaining sunlight that was filtering through my bedroom window.

It's not ideal :unsure:

It's also (as I'm sure every trannie who's ever stuck herself infront of a camera will know) not easy to take a good picture of yourself.

Ack, I dunno. Maybe next time I'll ask Kath to take them. That's the lot for tonight — I wanted to take more but it just wasn't working out.

(I did, of course, take more than that — but they've gone into a special "Siobhan is the only person allowed to see them" folder. To be used for things I couldn't possibly mention)

The pics look good to me but Im no expert in photography I either like a pic or I dont. Sorry for messing the cats names up :sad: to early in the morning and not enough caffeine yet. Ive heard the not -feeding them trick works so good luck :smile:

I prefer the first one it has more "depth", it looks more 3d. This can be explained by depth of field and how you are positioned, but its simpler and more obvious to say "depth". Also with the uplighting in the second one, you have lost the catchlights in your eyes and its highlighting the texture and pores in your skin which is not so good.

I like the idea of mixing daylight and tungsten but it never works in reality, colour just looks a bit off — unless you really go for it. But I know strong colour is not your style.

It is mine though, here's an example of the tonality I am talking about

Thta's very very nice!