Fullers Folio
  • Blog
  • Book List 2015-16
  • Book List 2014-15
  • Book List 2013-14
  • Book List 2013
  • Book List 2012
  • Book List 2011-12

Backup Backup wherefore art though Backup

12/17/2013

0 Comments

 
Friends, as you may be able to guess from the title this is about backups. The other day sadly, my desktop, started emitting clouds of black smoke out of the back, and stopped working. When it had cooled down, and the smoke had stopped coming out I was able to have a closer examination. It seems as if the motherboard has burnt out, as it all looks a bit black. But don't worry everything is all backed up and copied to the cloud isn't it.

I don't know yet if the hard disks have been trashed, I am waiting on delivery of a SATA to usb connector so I can see what is on them. So till then I am reliant on a borrowed laptop and my backup. Arh but what about the cloud. In the last few years I have had four cloud accounts. This is not because I want to but because the cloud service I have signed up to has changed in some way, so I need a new cloud account, and hence I am now on account four. Even that has just notified me that it is changing so I will need to look for another come the new year.

There is one major limiting factor on the cloud – The speed of ones internet connection. If it is not good then this is not an option for large scale backup, but for the small scale – files that are being worked on in the here and now.

So we come back to my backup – I have a couple of external usb disks, that I use, swapping them over as father and son. I normally try and do this at the weekend and midweek. I also use the backup as an undo facility so do not use a complicated all encompassing system, (For our business I use Fbackup 5 which works well) rather I use Karens replicator, with each job coping a folder root. This is relatively quick and easy to do. Having got the files onto the hard disk all it does it update any changes. Roughly every month I do a more major copy to ensure there is not too much rubbish collecting in the backup, as being super cautious I do not use the delete function with the replicator.

So having go a machine and worked out what files I am using I have taken the latest backup and copied that onto a temporary disk, which will now become my live disk (as cant copy the files onto the laptop), and future backups will now run from the temporary disk via the laptop to the backup disk.

So yes it is worth spending a bit on money on a couple of external hard disks, which you can then use as a backup. You should always have two copies of the backup just in case one is damaged in some way and then the backup and all data can be lost.

So now I need to decide do I want a linux or windows machine next, and if the hard disks are not trashed then do I take this opportunity and set them up as a NAS (Network Area Storage). We will have to wait and see.




0 Comments

When a Pane becomes a Pain it causes Trouble

4/18/2013

0 Comments

 
Friends

I have not recently commented about coding but a few days ago I was very frustrated with an error that I could not easily work out. At the time it was not funny but now looking back on it, I think it is quite amusing, so I will share it here. It certainly makes quite a good blog title.

Being dyslexic I used to use a variety of code letters and number when giving names and tags to things. I did this to try and reduce errors for example bd-mn-im1 cannot be confused with anything else, but it does not make my code that readable.  

Picture
It was suggested to me that I could improve my code by using descriptive words rather than codes. Well this maybe the case but it does not make life easier for me. I give a recent example.





Picture
I was updating a website for responsive design using the viewport meta tag

<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">


and things were progressing quite well, until I got to an image section of the site. Because they looked like windows the elements had been called panes (window panes). Somehow I had run a spell correction over the bit I was changing (trying to do things in a hurry in the evening), which was not good. The pane had now become a pain!!


The bit of code the helpful spell correcting software helped me with is given below

#pane-main{left:330px;}
@media only screen and (max-width: 768px){#pain-main{left:220px; } }

And of course it does not work 

Picture
To compound the problem somehow the error had been replicated several times.

After much frustration and using Google chrome developer tools I eventually identified the lines of css that were not working, but my dyslexia prevented me from seeing the error, only that it was not working. The tags looked correct so only by coding to a non verbose tag and proving that it worked and then retyping it back as a verbose tag did I spot the error and fix it.

#pane-main{left:330px;}
@media only screen and (max-width: 768px){#pane-main{left:220px; } }

giving the desired result


The time wasted on trying to find the error means that I have still to finish off updating the site, which I will try to do over the next few days.

0 Comments

Raspberry Pi - A PiFace Valentines Day Present

2/22/2013

0 Comments

 
Picture
This year I got a very original Valentines day present – a PiFace for my Raspberry Pi. This is an interface board made by element 14, that sits on top of the Pi.

Fortunately I had fairly recently updated the Pi operating system to the latest version of Raspbian wheezy, so knew I did not have that to do before installing the PiFace

On opening the little box it came in there was the circuit board, and a leaflet that had health and safety info on it. Nothing else. Using a bit of initiative the board was fitted easily, making sure the Pi was turned off before fitting, though unfortunately it does not fit within the current plastic case, so will have to leave the top off.


Then I suppose with not having any instructions I tuned the Pi on and vaguely hoped that it would see the board. Sadly this was not the case, spoilt by too many plug n play add ons. So had do some searching as to how to install the PiFace.

(For ease of use I connect to my Pi via vncserver that I have preconfigured and set up. This allows me to connect to the Pi via a vnc viewer. I have ultravnc viewer http://www.uvnc.com/ on the laptop I am using for this.)

I found some instructions here http://piface.openlx.org.uk/174770794 for the PiFace, but they have minor errors. Though minor they do stop things working, so with further investigation this is what I did to get it working

     sudo nano /etc/modprobe.d/raspi-blacklist.conf.

(The install instructions miss off the leading slash (/), so if the file that appears is empty, you need to add the slash before editing it).

     add a # to both the blacklist lines and then save the file.

Do a restart and then it is a good idea to make sure everything is up to date so run

     sudo apt-get update.

Once everything is updated run 

     wget http://pi.cs.man.ac.uk/download/install.txt


Then I ran (This is slightly different form the official instructions, but that did not work for me)

     bash install.txt. 


This takes a long time to run, certainly more time than it took to go and boil the kettle and drink a cuppa. Fortunately it shows you that it is working as it writes to the screen all that it is doing and there are pages and pages of it.

Once it had finished I did a restart for good measure. Then I ran the command 

    piface/scripts/piface-emulator.
Picture
The emulator started and works fantastically well.

To Control an output via the emulator 

    Click Override Enable.

    Click Output Pin 1 to enable it. 

The PiFace interface will click as the relay turns on and the corresponding LED will illuminate. The screen updates to show the LED being on, the contacts have changed over on the relay and the first output pin is on.

All the LEDs are in parallel with the outputs terminal connectors and indicate when the output is enabled.


Picture
I then tried some simple Python commands – (Note I could only get this to work with Python 2 not Python 3)

To use Piface with Python import the piface.pfio module:

     import piface.pfio

Then before use, the board must be initialised with a call to init()

There are three main functions to control the interface

     digital_read(pin_number) - which returns 1 or 0 depending on the state of the input numbered pin_number

     digital_write(pin_number, state) - which sets the output numbered pin_number to state 0 or 1. State 1 turns the LED on and enables to open collector to sink current

     digital_write_pullup(pin_number, state) - which sets a 10k pullup on input numbered pin_number to be state 0 or 1. State 1 is pullup enabled

Having got this far I was feeling quite pleased with myself, so thought I would try and get it working with Scratch – Mmmhhhmm!!


Lots more searching on the web for some instructions which work, and sadly I have to say I did not find any. From opening the box to giving up with scratch it had taken around 5 hours. I did notice a comment from a dad on one site I looked at who had said he had spent most of the previous weekend trying to get the PiFace working with scratch with his son. He did say that he had eventually succeeded but it had taken more than 12 hours. It was a shame he did not say what he did. Still this is my challenge for this next weekend.






0 Comments

Useful Windows Software (Mainly Freeware or Open Source)

9/1/2011

0 Comments

 
Having recently had to rebuild some machines following on from the great Kielder power issue, I thought it would make sense to set out a proper list of what I like to put on a machine, rather than just using the back of an envelope and my memory. No doubt over the coming weeks I will find that i have forgotten something but this is certainly a start and I hope useful to others as well.

Machine Protection
  • Anti Virus Avg Free Anti Virus http://free.avg.com/gb-en/homepage
  • Comodo Personal Firewall Free basic version http://personalfirewall.comodo.com/
  • CCleaner A program that cleans out all the rubbish that the machine collects enabling it to work much faster http://www.piriform.com/ccleaner
  • Malwarebytes Anti-Malware – Very effective anti malware program http://download.cnet.com/Malwarebytes-Anti-Malware/3000-8022_4-10804572.html
  • Spybot Search and Destroy anti malware http://www.safer-networking.org/index2.html
Productivity
  • Cool Timer - A Machine timer/reminder http://www.harmonyhollow.net/products.shtml
  • Windows Pager - WindowsPager is a desktop-switcher/pager for Windows Vista/7/XP/2000 to manage 'virtual' workspaces/desktops. http://windowspager.sourceforge.net/
  • Crimson Editor - http://www.crimsoneditor.com/ Good alternative to notepad
  • Notepad + + http://notepad-plus-plus.org/
  • PDF Creator – Does what it says on the can via open source http://sourceforge.net/projects/pdfcreator/
  • Word Processor Q10 http://www.baara.com/q10/
  • Office suite
  • Open Office http://www.openoffice.org/
  • Libre Office http://www.libreoffice.org/
  • Email – Thunderbird http://www.mozilla.org/en-GB/thunderbird/features/
  • VLC Media Player - cross-platform multimedia player http://www.videolan.org/vlc/
  • EverNote – Fantastic cloud and machine based note taker http://www.evernote.com/
  • FTP Uploads – Core ftp lite http://www.softpedia.com/get/Internet/FTP-Clients/Core-FTP-Lite.shtml
  • Project - Open Project compatable with the purchased version just free http://openproj.org/
Utilities
  • Bulk Rename Utility http://www.bulkrenameutility.co.uk/Main_Intro.php . Easy to use program that does what it says on the can
  • Defraggler – A defrag that allows you to defag large files or folders rather than whole disks making it much easier to carry out if pushed for time http://www.piriform.com/defraggler/download
  • Truecrypt ­ Free open-source disk encryption software http://www.truecrypt.org/
  • KeePass Password Safe – Open Source easy to use password manager http://keepass.info/
  • Backup Copier – Karens Power Tools Replicator http://www.karenware.com/powertools.asp
Graphic Programs
  • Paint.net http://www.getpaint.net/
  • GIMP - GIMP is the GNU Image Manipulation Program http://www.gimp.org/
  • Irfanview Graphic Image view http://www.irfanview.com/
  • Google Picasa – Fantastic for organising your images http://picasa.google.com/
  • 3D Graphics – Blender http://www.blender.org/
The final two areas are more for fun. Living in one of the most unspoilt areas of England as far as light pollution goes means that it is almost impossible not to look up at the stars and wonder what is out there.

Astronomy
  • Cartes du Ciel - This produces star and planet maps http://www.softpedia.com/get/Science-CAD/Cartes-du-Ciel.shtml
The final area that I am slowly working on is my Family Tree and this is what I prefer to use

Family Tree
  • My Heritage Family tree builder http://www.myheritage.com/family-tree-builder


0 Comments
    Picture

    Tim Fuller

    Dyslexic doodles on photography, food (growing, cooking & of course eating), faith and other fascinating things. This is a personal blog expressing my views.


    www.fullersfolio.co.uk
    www.trostriecottage.co.uk
    www.thespinneycottage.co.uk
    www.cardswithamessage.co.uk
    www.gallowaygetaways.co.uk
     www.tpfuller.com


    Archives

    November 2015
    October 2015
    September 2015
    August 2015
    July 2015
    June 2015
    May 2015
    April 2015
    March 2015
    December 2014
    November 2014
    October 2014
    August 2014
    July 2014
    May 2014
    April 2014
    March 2014
    February 2014
    January 2014
    December 2013
    November 2013
    October 2013
    September 2013
    August 2013
    July 2013
    June 2013
    May 2013
    April 2013
    March 2013
    February 2013
    January 2013
    December 2012
    November 2012
    October 2012
    September 2012
    August 2012
    July 2012
    June 2012
    May 2012
    April 2012
    March 2012
    February 2012
    January 2012
    December 2011
    November 2011
    October 2011
    September 2011
    August 2011
    July 2011
    June 2011
    May 2011

    Categories

    All
    1 Peter
    1 Samuel
    2 Kings 6
    2 Samuel
    52 Books In 52 Weeks
    Acts 14
    Adrian Plass
    Agatha Christie
    Alanna Knight
    Alexander Mccall Smith
    Alexandre Dumas
    Alistair Moffat
    Amy Orr-Ewing
    Andre Norton
    Andrew Harrington
    Andrew Paterson
    Anna K Green
    Ann Cleeves
    Anthony Horowitz
    Arthur B Reeve
    Autumn Colours
    Banana
    Baroness Orczy
    Beetroot
    Biomass
    Blackberries
    Blog Sites
    Booklist 20112012
    Book List 2012
    Book List 2013
    Book List 2013 2014
    Book List 2013-2014
    Book List 2014
    Booklist 2015
    Bread
    Bt Broadband
    Business (Ad)venture
    Butterflies
    Charles Dickens
    Charles Elliott
    Charles Petzold
    Chicken
    Chocolate Brownie
    Christmas
    Christmas Traditions
    Chutney
    C J Sansom
    Clare Francis
    Colin Dexter
    Conn Iggulden
    C S Lewis
    Dan Brown
    Daniel Defoe
    David
    David Baldacci
    David Donachie
    Derek Wilson
    Desmond Bagley
    Diet
    Dorothy L Sayers
    Edmund Clowney
    Elijah
    Elisha
    Elizabeth George
    Eric Van Lustbader
    Faith
    Fish
    Folio
    Food
    Frederic Forsyth
    Frederick Bartlett
    Free Wallpapers
    Freeware
    Gardening
    Gayle Lynds
    George Hendry
    George R R Martin
    G K Chesterton
    Good Choice Foods
    H G Wells
    Holiday Cottage
    Home Group
    How To Loose 50lbs Or More
    H Rider Haggard
    Hungry Giraffe
    Ian Rankin
    Irfanview
    Jack Higgins
    Jam
    Jean-Yves Ferri
    Jed Rubenfeld
    Jeffery Archer
    Jeffery Deaver
    J Jackson Bentley
    John Buchan
    John Cheeseman
    John C Lennox
    John Grisham
    John Le Carre
    John Mortimer
    Johns Gospel
    John Thomas McIntyre
    John Wyndham
    Jo Nesbo
    Jules Verne
    Kate Atkinson
    Ken Follett
    Kielder Power Problems
    Kielder Water
    Kirkcudbright
    Laurence Clarke
    Laurie R King
    Lee Child
    Len Deighton
    Lentils
    Librivox
    Librivoxorgb9a2cc43c9
    Louis De Bernieres
    Low Fat
    Luke
    Margery Allingham
    Martin Bell
    Martin Cruz Smith
    M C Scott
    Michael Chabon
    Michael Crichton
    Michael Dobbs
    Mick Brooks
    Mincemeat
    Monty Don
    Netprotectplus Problems
    Ngaio Marsh
    Nicky Gumbel
    Northumberland
    Oats
    Open Source
    Pasta
    Patricia Highsmith
    Patrick O Brian
    P D James
    Peter
    Peter F Hamilton
    Peter May
    Peter Robinson
    P G Wodehouse
    Phillip Margolin
    Photos
    Pierson
    Plums
    Prayer
    Productivity
    Prophecy
    Python
    Raspberry Pi
    Recipe
    Richard Preston
    Risotto
    Robert Dale
    Robert Goddard
    Robert Harris
    Robert Louis Stevenson
    Robert Ludlum
    Roger Stelljes
    Rory Clements
    Sardines
    Scottish Borders
    Sebastian Faulks
    Simon Conway
    Simon Monk
    Simon Scarrow
    Sir Arthur Conan Doyle
    Sir Walter Scott
    Snow
    Software
    Soup
    Spiders
    Spring
    Stella Rimingtom
    Stephen
    Steve Berry
    Steve Timmis
    Story Behind Image
    Stuart Clark
    Summer
    Superfoods
    Suzanne Collins
    Talk
    The Cloud
    Three Wise Men
    Tim Chester
    Trostrie Cottage
    Valerio Massimo Manfredi
    Vegetation
    Victor Appleton
    Vince Flynn
    Watermakering
    Wayne A Grudema172e2ef81
    Weather
    Web Site Design
    Wigtown
    Wilkie Collins
    William Boyd
    William Le Queux
    Willow Wood
    Winter
    Yann Martel
    Zane Grey

    RSS Feed

Powered by Create your own unique website with customizable templates.