Showing posts with label breaking things. Show all posts
Showing posts with label breaking things. Show all posts

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.

Wednesday, 8 April 2015

broke it again...

Continuing with the let's see how bad I can mess it up plan that I've been working with so far, this evening I've fixed one thing and really broken lots of others.


I now have an app that although it correctly describes things so has got rid of the depends on rubbish and replaced it with done before which is what I needed it to be. Unfortunately it won't now let you save a new step (and I don't like that description either).

In positive news I can continue playing tomorrow so I'll hopefully at least get something saving.

I did this evening manage to get some things right. I  managed to get rid of a load of the errors that I was having to ignore in the code.  These weren't actual errors, they were jslint (a tool for telling you where you've written your code badly) not being told to correctly ignore some errors.  I'd previously tried to fix this and failed, actually getting this fixed meant I could see the proverbial wood for the trees and pointed out some actual problems that I'd been missing because I'd ignored all the errors.

The other thing that this has pointed out is that I really (really really) need to add in some unit testing.  This is starting to get embarrassing, I don't actually know exactly when I broke saving things, I think it was this evening, I can role back code changes and find out but that's a faff. Proper unit tests would have highlighted this to me as soon as I broke it.  Fortunately I pointed this out about 3 months ago, less fortunately I paid no attention.

As a sort of PS you might have noticed that I turned ads off.  The reason for this was that I no longer needed them. I'd played with them, figured out how to get them working and better than that realised how to set them up and how to turn them off.

I've checked in the current (broken code base) here:
https://github.com/benjimouse/lunch

Tuesday, 9 December 2014

was that really necessary...

I've continued down the path that I was taking and my latest bits are in github and on lunch.ben.best you can now create your own steps (you'll need to login first).
I have now done a load of bits with this and I'm hoping that what I've done so far will help me to get the app to a point where I can start turning it into the app that I'd like to be.
I've ended up with a few bits that aren't quite right and I'm looking forward to culling them.  I'm going to ignore the previous statement of 'Later equals never' and go with a quote that I've heard before of 'make it work and then make it pretty'.
I'm pretty sure that what I'm going to do now is get to a stage where most things were working but the layout is wrong (probably end up with the add new step starting on a new 'page' for example).
If I can keep working at the rate I have been I hope to be at that stage by next Wednesday (but we'll see this is for fun, not work after all).  If I do manage that then I can start looking at where I can get to by Christmas.
I'm really enjoying this, but think that I might have bitten off a bit more than I can chew, we'll see. The DNS for ben.best is still not working, I'm sure I'll get that fixed eventually, but it's not there yet.

i broke the world

OK well maybe not the world...
I was as surprised as anyone that having looked at the analytics I'm getting about 30 or so folks every day (and even more so that someone's reading this on a blackberry!).  I thought I wonder if I can put google's adsense up on the blog and make some money.
I then followed the required steps and filled in the necessary form that needs a non sub domain so ben.best as opposed to blog.ben.best) this I filled in and although they promised me a response in a week a few hours later I received a response back telling me that there wasn't enough contents on http://ben.best/
Following my cname success with lunch.ben.best I thought "I can do this". Those astute enough to have looked at the website http://ben.best will have realised that I can't. Of course because this is DNS I will need to leave it a couple of days (at least) to confirm that I have messed it up and not got it right but it's not propagated yet.  I suspect it might be a few days before http://ben.best is also pointing to this blog.
I might have it right, and the little checkbox that says 'redirect ben.best to blog.ben.best' in the blogger settings might actually work or I might have it wrong and have to go back either way I suspect that it's a lucky thing I'm not relying on my DNS expertise or the (yet to exist) ads on this site.
In the meantime buy this book and read it (oh and I'll make a couple of pennies if you do).