Tuesday 9 October 2018

And slowly we get worse...

So this timelog project started as a simple zsh script:

function timelog() {
if [ "$1" != "" ]
then
echo $(date +%H:%M) "$1" >> ~/timelogger/$(date +%Y-%m-%d).txt
fi
}

This created a new file if one didn't exist called <<date>>.txt (for example 2018-10-09.txt) that would then put whatever details were passed to it into it.
This had several advantages over what I've got to now, mostly it was nice and easy to edit.

With the changes I'm now making it does appear that I'm getting further away from where I was.

I've now got just about a graphql server running that just about works to retrieve whatever has been written, but I'm not yet using that to write to, soon, but not yet.

Adding more interesting and fun technology has been it's own reward, but it's not made what I'm working on much more useful (yet).

The git repos for the more confusing bits are here:

Tuesday 25 September 2018

Adding a pile of issues...

This evening I added a pile of issues to GitHub, and in a shocking turn of events I've managed to fix one of them. By fix one of them I of course mean I found that things already worked that way.

I've also done some tidying up.

Next I want to start getting some unit tests in and then start some unit tests in a TDD style manner.

After that it's to the fun world of Graphql with go. I've found some fun filled exciting blogs about this.

I'm really quite enjoying go.

Monday 24 September 2018

Keeping going with go

Well another evening of GO, which has been really quite good fun...

I've started moving some things about so that the code has separated a bit better. I had started with some testing, but that wasn't going so well, so that's a plan for next time!

Things that I've got going so far:

  • Working and compiling!
  • Reading config file
  • Connecting to a remote mongo db
  • Writing to a reading from mongo db
  • Reading the passed in parameter
I've also got a whole lot of VS code plugins working.

Go seems to encourage multiple repo's which is a little odd, but I suppose it's nice for encouraging code reuse and other bits, sure I'll get used to it (or start with one and then slowly move things out).

Repo's

Tuesday 18 September 2018

Trying out a new language.

So about a year ago, my then (and now no longer) boss handed me a book saying you might be interested in this.
That's sat on my desk unopened for almost a year.

The Go Programming Language I've still not opened the book, but I put together a small command line app that could be used to record what I'm doing, while I'm doing it. I'll keep playing I quite like it (so far). If you're interested the repo is here: https://github.com/benjimouse/timelog I'll update with more details later.

Wednesday 13 September 2017

Tortoise cam has arrived!

In exciting news tortoise cam has arrived!
I've put it together and followed a pile of instructions using a raspberry pi I had sat round not doing very much and now we have the capability to live stream the tortoises!
The instructions I followed are here:
http://www.makeuseof.com/tag/live-stream-youtube-raspberry-pi/
And they were remarkably easy to follow.

Now without further ado you should be able to see tortoise cam, obviously this is running off of my home wifi, so it could well stop working at any point (and that's without interruptions from a 3 and 6 year old).
The live stream should be able to be found at:
https://www.youtube.com/c/BenBest/live

If you follow that link in the next few minutes you should see my wife and I attempting to put together a "tortoise table"!

Monday 11 September 2017

Tortoise cam...

Tortoises!

So in a not very shocking piece of news I've taken a(nother) break from playing with the meteor project. There are a number of reasons for this including 2 children, busy job, life and mostly it stopping being as much fun.
However we now have baby tortoises!
So I'm planning on setting up a "tortoise cam"...
I've got a raspberry pi and I've ordered a pi-cam so the plan is to set something up to watch them. I've even got a friend who's set up one of these before so have some help when I get stuck...
I'll be posting technical updates here with details of how I'm doing it (and probably the odd cute baby tortoise pic).
---

The story so far:

We were given 2 very old tortoises (A'tuin and Molly) both over 100 years old, to our shock Molly laid 5 eggs not long after she moved in. This led to us buying an egg incubator at very short notice, reading the instructions meant we realised we needed a thermometer  as the incubator (linked above) had lots of warnings about how it wasn't great at keeping the temperature! We went for the bluetooth thermometer so we wouldn't have to keep opening the incubator door to check in on the temperature.
For those of you not following the links so far we've spent about £100.
Towards the end of August disaster struck! The incubator was knocked over, we lost one of the eggs and we were very worried about the others.
Then on September 3rd there was great excitement when 2 of the eggs started to hatch!
This of course meant more things! A tortoise table, a heat lamp, a heat mat and a thermostat. Fortunately we had had the vet on the hill round to film the tortoises and he had been kind enough to offer to source some of these things for us, they are going to turn up this week.
We now have the tortoises in their temporary home (an old draw), they are starting to eat and everyone is really excited about it.
More details to follow!

Sunday 5 February 2017

Left the previous domain...

Well I couldn't justify owning the ben.best domain, it was £70 a year that I could spend on other things. Especially as I own benbat.com. So welcome to the new domain.

I've also got as far as I'm going to with the Lunch project. I learnt some bits and it stopped being quite as much fun. I may well return to it in the future, but for now I'm moving onto new and exciting other projects...

Tonight my bit of work was to move the blog, as we've seen previously that can be a lot of hassle, however this time things appear to have "just worked".

The near future I've got some plans to play with "groovy" and docker, but mostly the idea is to write up fun techy things that I'm doing.