Winter

Dec 15, 12:52 PM

Neverending snow
white tears falling from the sky
coating all colours

Hannah

,

say something [2]

---

Into your eyes

Dec 4, 07:02 PM

In my gloomy dreams
I seem to always fall, fall
fall into your eyes

Malte

,

say something [2]

---

Sort magic

Nov 9, 09:00 PM

Fuck this took me ages to figure out with all the reference brainfuck.

Here’s the story:

I have a hash of anonymous arrays, and I want to sort the hash by the elements at index 2. Sort of like when you sort your mails not by date, but by subject or something like that.

Basically I need to create a sorted list of the elements at index 2 of the hash:

@sorted_keys = sort( 
    { ${$hash{$b}}[2] <=> ${$hash{$a}}[2] } keys %hash 
);

This will dereference every value (every array) in %hash and take its 3rd element (index 2), then sort the keys ($a and $b) by it and store that list in @sorted_keys.

Damn!

Just so this solution doesn’t get lost and others may benefit from it, I’m posting it here.

Malte

,

say something

---

Creativity void

Nov 9, 08:50 PM

My creative productivity index is going down. When I’m busy, with university for instance, when I’m out every day and my mind is kept in a whir all the time, then when I find time alone, quiet time… I mostly just waste it doing nothing in particular (gaming, playing guitar, sleeping). I need that time too, otherwise my head would explode.

So, these days I’ve been busy. The perl course is taking up all my mental resources, and during breaks I just need to relax. I don’t think about thinking anymore… Inventing haikus doesn’t happen by accident anymore.

This is not meant as an excuse, but an explanation. The days of the frequent haikus will return, though, I’m sure. For now, I will stick to posting those which are older, but which you haven’t seen yet.

For example:

By the ways of war
we conquer each other’s hearts
and bury them here

Malte

,

say something

---

All saints

Nov 1, 12:18 PM

I like to sleep in
like to dream long and deeply
on days like this day

Oh when the saaaaaints
oh when the saaaaaints
oh when the saaaaaints gooooo maaaarchiiiing iiiiiin…

Hannah

,

say something

---

« Older Newer »