Tips from a really lazy dad – #4 : Helping kids with homework via chat

So sometimes my parents pick up the kids from school, and Kahurangi loves chatting, so we sometimes chat online while I am at work. One of the things the school is working on is answering addition problems fast. (Fast is the key, it’s almost more important than right). Chat is a great way to practice that. Below is a sample of it, I cut a lot of the math bits out because that isn’t super interesting. However I decided to leave in the surrounding conversation because it cracks me up.

Are you being good for nan?
is atarau being good?
is atarau being good too?
you cant use the tablet unless you are being good
I’m sure I’m being good
heh ok
do nan and koro want me to get something for dinner?
If you like koko will pay you back
what do they want? fish and chips?
3 Sausages and one fish and wedges and chips
ok, thanks
You’re welcome
have you done some maths?
whats 3 + 9
whats 12 – 4
Oops sorry that was a mistake 9
you were right the first time
it is 8
What does lol mean
I’m serious
Does it mean lauf out loud
Atarau and nan are playing marble run
Are you responding
thats what it means
Hello jello bello
Are you coming home
yep, leaving in about 10 minutes
then gotta stop to get the fish and chips
Work until 5 o clock
the traffic is too bad
ill finish at 4.30
and then be home by about 5.30 with the food
ok i gotta get back to work, aunty might send you a chat invite
Hi ho
There was an old lady who swallowed a fly that wriggled and jiggled inside her
I need to charge this thing

Tips from a really lazy dad – #3 Not giving a crap people are judging you for giving your kid a pie for breakfast

This morning we were running late for swimming, and to make it worse we forgot one of the swimming bags. So after turning round and going back home to get togs we had very little time to get breakfast. Then I realised I needed petrol, screw it, I thought, pies for everyone.
So that’s not the tip everyone knows pies are good, the tip is not caring about all the looks you get when your 5 year old is munching on a pie by the side of the pool while his brother swims. The old me would have been seething and barely holding back the desire to yell “What! You don’t know me man”. Now I’m happy to just let it wash over me. So that’s my tip, judgers be judging, ignore them and enjoy your pie.

Tips from a really lazy dad – #2 Minetest bribery

This one is a little bit trickier to pull off, first you will need a friendly German colleague who gives you her Raspberry Pi. (I guess you could just buy one yourself too). Then you need kids who are mad keen on crafting games specifically Minecraft, or in my case Minetest. Minetest is an Open Source clone of Minecraft which means I can run it in on the Raspberry Pi pretty easily, and I can make any changes I like.

What I have done is set up Minetest running as a server on the Pi and running a world in which I have created a ‘Rewards hut’


In there is a locked chest which only I (well they could but they’d get in trouble if they did and they know that) can open


And a sign that tells them what to do to get the current reward.


You wont be able to read whats on the sign (unless you click through) but it says “Put your washing in the laundry for 10 steel ingots”.   This actually works pretty well, you have to make the reward worth it, ie it would take them a bunch of time to get steel by mining.  I guess it fits into a different definition of lazy, it does involve me making a bunch of things that can be used as rewards and going and changing the sign every so often. But it’s kinda fun too.

Tips from a really lazy dad – #1 The breakfast bar

A couple of years ago we went as a family to Rotorua, the highlight of the trip for the kids was not the geothermal parks, nor Paradise Springs, or indeed any other tourist spot we visited. It was the breakfast buffet in the hotel.

So what do you do when you are lazy, and leave making the kids lunches until the morning and so are trying to get them dressed, and make the lunches, and get them to eat. You create a budget breakfast buffet for them. Basically I just put bowls, spoons and all the cereals on the table, got two bottles and put milk into each so that when they spill (when not if) it won’t be a full 2 litres. And away you go.

Of course it wasn’t quite as successful as I would have liked, most of my plans born of laziness aren’t.

Here’s how it looked when I set it up.

2015-02-08 16.16.54

And here’s how it looked after a breakfast

2015-03-18 19.44.56

Yes that is a baseball bat on the table … and some of those damned animal cards from countdown, and someone snuck oreos in as a breakfast food.  They didn’t spill 2 litres of milk though, so I’ll take that as a win.

Stay tuned for more tips, that probably won’t work, from a lazy dad.

Useless Koha statistics – What files have been changed the most

So for no real reason, other than to see if I could, I figured out how to get the top 10 changed (well it could be any number) files in the Koha code base

git rev-list --objects --all | awk '$2' | sort -k2 | uniq -cf1 | sort -rn |
while read frequency sample path
    [ "blob" == "$(git cat-file -t $sample)" ] && echo -e "$frequency\t$path";
done | head

This told me (where the number is the number of commits)

  1. 3006 installer/data/mysql/
  2. 1220 C4/
  3. 1141 C4/
  4. 1137
  5. 997 C4/
  6. 996 installer/data/mysql/kohastructure.sql
  7. 914 C4/
  8. 796 opac/
  9. 752 circ/
  10. 710 opac/

You could of course leave the head off to get all or do head -20 to get the top twenty etc.

Like I said, useless statistic, but kinda interesting nonetheless

Catalyst Open Source Academy 2015

This year we had 6 students working on the Koha project as part of their project work for the Catalyst Open Source Academy  and a very productive 3.5 days it was too.

Getting the last patches into Koha by Kristina D.C. Hoeppner, on Flickr





In total we submitted 29 new patches, tested and signed off on 9 more, and even rescued one patch from languishing in the ‘patch does not apply’ status.

The Koha team scoreboard by Kristina D.C. Hoeppner, on Flickr

So far most of the patches have been signed off, and some have passed QA, and a few have even been committed into the codebase. In fact the upcoming 3.18.3 Koha release will have 5 patches from 3 of the students from 2015, and 1 patch from a former Academy student who is now an intern at Catalyst.

After all that hard work, I figured they deserved a cupcake, so I asked the wonderful Sweet Release Cake and Treats to make some, and we ended up with these, which everyone loved.
Koha cupcake - 2015-01-16 by Kristina D.C. Hoeppner, on Flickr





A++ would academy again.

2014 and Koha – by the numbers

2014 was another big year for Koha, there are now 2847 libraries in Libwebcats listed as using Koha. That doesn’t include 1037 public libraries in Argentina, the 1106 public libraries in Turkey, and the multitude more in many other countries.

On top of the ever growing number of users, many more features were added, and bugs fixed, here are some statistics for the year:

  • There were 2225 commits to the master branch of the Koha codebase
  • The busiest month was May with 278 commits
  • 1570 Patch sets were signed off
  • 1299 Patch sets Passed QA
  • 673 Patch sets Failed QA (almost all were fixed and went on to pass in the end)
  • Katrin Fischer signed off on 47, and QAed 815
  • Jonathan Druart – was author of the year with 325 patches, he also signed off on 74 and QAed 336
  • 87 People had patches in Koha
  • There were 34 people who got their first patch in Koha this year