Learn to code part 1 posted 04 Apr 2011 00:01 by
So you've got your Linux machine set up nicely and you can do the basics on the command line. What's next? What should you do to stretch your imagination some more? Learning to code of coarse! But where do you start?
When I first started to program it was in the pre-easy-access-to-the-internet era and I sat with a tome of a book on my lap, reading and typing. I have to admit I quite enjoyed it. And now if I want to learn a new programming language I still browse the shelves in the bookshop for something to inspire me. But it is hard to find a book which explains the absolute basics, in a way that Is not unbelievably patronising or very, very dull. There are the "programming for dummies" books, but they make me feel so stupid. And the school textbook style books are a bit dull. But this set of articles is a great starting point for the beginner - http://m.lifehacker.com/5736011/learn-how-to-code-part-i-variables-and-basic-data-types It's easy to follow, covers the basics and doesn't make you feel like an idiot.
And what if you know the basics of programming already? Well this covers all the things that you should know but have either forgotton or never got round to learning in the first place!
Linux is a very cool girl posted 27 Dec 2010 10:56 by
May the source be with you posted 06 Dec 2010 14:21 by
I love this picture - I wonder if i can get it on a t-shirt?
A Sideways Look at Electrickery posted 22 Jul 2010 01:03 by
Electrickery is caused by Amps. These small tiny creatures live in batteries. If they can be sure of getting back home, they can be persuaded to run along burrows called wires, and the sometimes they have to squeeze through very tight holes such as the lights. Squeezing through tight holes is hard work, which makes the Amps very hot. That in turn makes the lights work because the burrow gets white hot.
They will do this trick on their own but get very tired of doing it and soon stop running through the wires. Which is a bad thing if you are out at night. This causes the old saying “Many Amps make light work”.
If they can be persuaded to run through a dynamo it acts as a sort of works canteen where the Amps can feed, but like any canteen there has to be some sort of control of the queues at the servery.
When the canteen is closed the Amps will try to crowd in and this will cause chaos when they discover that there is no food for them and they will set fire to the place.
The canteen door that stops this happening is called the cut-out. When the engine is stopped the canteen door is closed keeping the Amps out. Starting the engine opens the door allowing the Amps in for their dinners. You still have to control the hungry crowds of Amps and this is done by means of a sort of turn-stile called a “regulator.” The turnstile works at varying rates according... [Full article]
Can i eat more chocolate please? posted 09 Jul 2010 11:29 by
Crazy sign posts from around the world posted 04 Jul 2010 10:30 by
In a Swiss mountain inn:
SPECIAL TODAY - NO ICE-CREAM.
Airline ticket office, Copenhagen:
WE TAKE YOUR BAGS AND SEND THEM IN ALL DIRECTIONS.
A laundry in Rome:
LADIES, LEAVE YOUR CLOTHES HERE AND SPEND THE AFTERNOON HAVING A GOOD TIME.
Sign at a Methodist Church, N. America:
DON'T LET WORRIES KILL YOU. LET THE CHURCH HELP.
Information booklet about using a hotel air conditioner,
COOLES AND HEATES: IF YOU WANT JUST CONDITION OF WARM AIR IN
YOUR ROOM, PLEASE CONTROL YOURSELF.
On an Athi River highway:
TAKE NOTICE: WHEN THIS SIGN IS UNDER WATER, THIS ROAD IS IMPASSABLE.
A sign seen on an automatic restroom hand dryer:
DO NOT ACTIVATE WITH WET HANDS.
Hotel catering to skiers, Austria:
NOT TO PERAMBULATE THE CORRIDORS IN THE HOURS OF REPOSE IN THE BOOTS OF ASCENSION.
Supermarket, Hong Kong:
FOR YOUR CONVENIENCE, WE RECOMMEND COURTEOUS, EFFICIENT SELF-SERVICE.
The box of a clockwork toy made in Hong Kong:
GUARANTEED TO WORK THROUGHOUT ITS USEFUL LIFE.
Windows 7 deep sleep mode posted 12 Jun 2010 23:24 by
Converting movie formats in Mac OS X, Part 1 Installing Fink posted 02 Jun 2010 23:40 by
It seems like such a simple task, "Can you convert this .avi to a flash video?". My first question was um, why? Followed by a string of expletives. But instead of explaining why I didn't want to do it, I decided to give it a go. Or rather I asked someone else how to ... thank you Handyande http://andy.elcock.org/
So, the process of creating a flash video from an avi is as follows (Using Mcc OS X):
1. First you need fink. What is fink? Well I fink that ... sorry bad pun. Their website says "The Fink project wants to bring the full world of Unix Open Source software to Darwin and Mac OS X". i.e. they want to port UNIX software to MacOSX and make it available for people like you and me.
So go to http://www.finkproject.org/download/srcdist.php and download the fink file. I downloaded fink--0.29.10 which was released in September 2009.
Then follow the instructions on the website ... It sounds easy and it probably is if you don't have a tendency to being blonde. The more comprehensive instructions are
- open a terminal (swear, try and remember what a terminal is, find it in the applications folder under utilities, sigh)
- cd to the folder where you downloaded the fink file (probably /Downloads)
- type tar -xvf fink-0.29.10.tar OR tar -xvzf fink-0.29.10.tar.gz depending on if you have a .tar or .tar.gz file downloaded
- hold your breath
- when everything works continue to follow the instructions on the Fink page and type in ./bootstrap
- a whole... [Full article]
Marketing and moddern technology posted 20 May 2010 00:42 by
I for one do not beleive that "loosing" your state of the art, yet to be released equipment (eg 4th generation iPhone) is the most efficient method of advertising. However, there is no doubt that this is one of the many ways that technology companies engage "viral" marketing techniques. But what is viral marketing? And how can you make it work for you?
Viral marketing uses technology to increase the dissemination of information about a product, group or idea. Primarily this increases brand awareness, and thus sales, but it has also been used successfully as part of social, political and environmental campaigning.
The first, and most important problem is that viral marketing is, well, viral. Once it is out there you, as the producer, have no control over it's distribution or subsequent use. This is fine for a product which every one thinks is going to be, on the whole, wonderful. However what happens when the product is not liked, has flaws or is otherwise ridiculed? Well Bill Gates could certainly sympathise with this after the blue screen of death incident at the Windows 98 press conference. Before you can engage in viral marketing, and appreciate its beauty, you have to be prepared. Your beautifully planned and executed video will be distorted, mashedup and re-spun like the brokeback mountain spoofs or the countless Lego stop animation videos (the best in my opinion is the drinking song). Search for "viral marketing gone wrong/bad/funntly/etc" and you willbe able to waste
How to become a computer expert in three easy steps posted 27 Mar 2010 23:29 by