Ive been playing with Ajaxterm today. Its really kinda cool, I have it running behind some password auth and over ssl now. Which is good, it means that in places where they have an aggresive outbound firewall stance I can still get to a terminal on my machine and ssh from there.
Author: ranginui
Long Weekend
It started with a late finish from work on Friday, we didn’t get back to Wellington until about 7.30pm. I then met up with Laurel at Melissa’s farewell drinks at the Good Luck Bar.
But then when I got home at 11pm I still had some work to do for the library. Plus some work for the Horowhenua Library Trust also. So I went to bed around 1am.
I was up again at 7am to be ready for the library to open and keep an eye on how they went on their first day of using Koha fulltime. It went pretty well, so by 1pm I decided it was safe to stop watching.
That evening I went down to Waitangi park to watch the Matariki concert. It was a great line up, The Maori Volcanics, Whirimako Black, and finishing up with Katchafire. It was freezing but there was fry bread, soup, hangi and coffee to keep yourself warm with.
Then it was off to Matt’s for their midwinter Christmas party which was a lot of fun. Got home from that around 12.
And this morning I was up at 6.30am to head to the Hope Brothers pub to watch the Brazil vs France football match with Jeremy.
Consequently I’m pretty knackered now. Early night I think.
137169 MARC Records
Once the import of these records finish, and the rest of the data is imported (which takes about 17 minutes, vs the 5 hours to import the MARC) we should have the 3rd public library in NZ ready to go with Koha.
So all things going well tomorrow, by Saturday Koha should be all running live.
Working on site
Although I spend 90% of my working life in my office at home, occasionally I need to work on site.
Sometimes you can’t beat being there and person and face to face. For example today I spent about 5.5 hours on site and got quite a lot done. It would have still been about 5.5 hours work, but it would have taken me at least 10 hours to do.
My Date with Drew
This is one of the more fun movies I have seen in a while. Its low budget, but with a great idea. I wont tell you much more about it, as it will ruin it, but its well worth a watch.
Good Grief it’s Freezing
These last few days have been really cold, I’m hoping this cold front blows over pretty soon. Theres only so many pairs of socks I can fit on my feet.
Weird problem
So tonight we came across a weird problem. This chunk of code in one of the Koha modules was causing a script that called it to hang. Only when called from the web though, it works fine from the command line
my $query =
“Select quantity,datereceived,freight,unitprice,listprice,ecost,quantityreceived
as qrev,subscription,title,itemtype,aqorders.biblionumber,aqorders.booksellerinvoicenumber,
quantity-quantityreceived as tleft,aqorders.ordernumber
as ordnum,entrydate,budgetdate,booksellerid,aqbasket.basketno
from aqorderbreakdown,aqbasket,aqorders
left join biblioitems on biblioitems.biblioitemnumber=aqorders.biblioitemnumber
where bookfundid=? and aqorders.ordernumber=aqorderbreakdown.ordernumber and
aqorders.basketno=aqbasket.basketno and (budgetdate >= ? and budgetdate < ?)
and (datecancellationprinted is NULL or datecancellationprinted='0000-00-00')
";
warn $query;
If the warn is commented out it works fine, I think there is a bug in the apache installed on the machine this was happening on.
Testing the code tag
Just testing out the code tag here. Here is some perl
use Getopt::Long;
my ($input_marc_file,$number,$nowarning) = (”,0);
my $version;
GetOptions(
‘file:s’ => $input_marc_file,
‘n:s’ => $number,
‘v’ => $version,
‘w’ => $nowarning,
);
Here is some ruby
class Foo
def bar
“abcde”
end
end
Here is a snippet of xml
some stuff
Thats really pretty cool, I can see Ill be using it a lot more.
Worst game of volleyball EVAR!
Well that was pretty bad, periods of crap punctuated with pockets of utter rubbish. I don’t think I’ve played that bad in quite a while.
Ah well, here’s hoping next week I play a little bit better.Testing from Gnome-blog
I’m posting this entry from gnome-blog from my laptop. Seems to work just fine now im going to bed.