I'm coming to the conclusion that Python has the power of Java with the simplicity of Basic. Mind you, complicated list manipulation is still a little complicated.
Just off the A1(M)
Thu, 19 May 2005
Tue, 17 May 2005
In my working life I've used lots of programming languages (various Basics, Pascal, C++). In my current position I use Magic and Oracle PL/SQL. This is all database related. There has also been some Java and I have applied that knowledge to a few little fun projects such as encryption. One of these was the Ciphersaber project.
Java is a very versatile language and widely used, but then I came across Python. This seems to be as versatile as Java, but with a clearer style of programming. It's very open and available on just about any platform. There are some very good tutorials on-line, e.g. Dive Into Python , but I had been trying to think of a project to really get into it.
Then I found the Python Challenge. This is a series of cryptic puzzle that require writing some programs to solve them. Each leads to a further web page with the next puzzle. I think there are 22 of them so far. I am on number 5. I know what to do, but need to work out how to implement it. Some of the early puzzles could be easily done in any language, but later ones rely on Python libraries. I'm enjoying the experience so far, but I'm prepared for some frustration. There is a forum where you can get some hints if you get stuck. This can be useful if you don't know about the Python features you need to use. It's a bit like playing one of the old adventure games in some ways. I was never that good at those, but I like a mental challenge.
Thu, 12 May 2005
I sold my BBC a few years back for £30 with a load of games and the cassette deck I used. It was still working fine. One thing it had over modern computers was that it started up instantly, but then you had to load some software to do anything practical. I never got around to getting a floppy drive.
Now someone has gutted an old BBC and installed a 600MHz PC with a 40GB hard drive as shown here. He runs Linux on it and can even run old BBC games via an emulator. It's a very neat job using the original keyboard and not making extra holes in the case.
I'm not into that sort of hardware hacking, but I may be building a new PC soon. The power supply in my big tower may be dying and it's very noisy. I've long lusted after something smaller and quieter. I've now discovered a couple of possibilities to remedy this. The Aspire X-QPACK is quite funky with it's transparent panels and carrying handle. There's also the Antec Aria is more restrained. Both will take my current components with space for extra hard drives. Both cost around £70, which is not cheap for a case these days, but worth paying for the benefits. For that Antec throw in a card reader as well. I'm mulling it over for now.
Wed, 04 May 2005
Meanwhile, I'm off sick today after major sniffles and sore throat struck yesterday. I hope it's not the flu that I had recently returning. That was horrible.
For those in the UK, don't forget to vote tomorrow.
Tue, 03 May 2005
I just have to work out how to install it to the drive. There's an install script, but that complains about a lack of available partitions and fires up QtParted, a user-friendly partition manager. I'm still working out if I can use that or if I should get geeky with some command-line tools as suggested by Simon. He is running an earlier version at home.
Sun, 24 Apr 2005
Grid.org is not available on Linux, but some people have made it run by devious means. For simplicity I was just running distributed.net on my Linux box. I had heard about Folding at Home a while back, but never got around to trying it. This is another medical project with similar scope to Grid.org, but wider support for non-Windows platforms. Well I've tried it and it works on this old PC. The question is whether it will complete a work unit before the preset deadline. There are ways around this that I may have to investigate. I don't really want a PC on all the time at the moment due to the noise and power consumption. For now I don't need that facility either, so the PC will be on when it is needed. The deadline is the middle of next month and I'm away for work in between, so I may miss it.
I've thought for a long time now that all those PCs around the world that just do nothing whilst waiting for the user to do something should be put to some use. There are lots of possible projects you can run that do not affect normal usage and may end up doing some good.
The first problem was the at the Ricoh combo drive in that PC has been playing up for a while and does not always read CDs. This is a drive that cost about £150 a few years back when mere mortals were not able to write DVDs. So I swapped in an old CD drive. That was refusing to boot too until I worked out that the jumper was set wrong on the back. After that I got my first sight of the Ubuntu start-up screen. The excitement was short-lived as it was followed by a blank screen and a dead keyboard.
There may be an issue with the motherboard (Asus A7N266-VM) that uses an nVidia chipset. I'll investigate that angle. Meanwhile I'm downloading the latest version of Ubuntu to try out. If that doesn't work then I may investigate Knoppix and Mepis, both of which I have seen at the LUG. It may just take me a while to download them. I'm still waiting for ntl to upgrade my broadband to 2Mb.
Thu, 21 Apr 2005
One is a programme (The Energy Gap) on Radio 4 that I missed at the time, but was able to listen to on-line. A UK family tried living on the same amount of energy as one in India. This meant cutting electricity use by 2/3 and sourcing food from local sources. They may have gone to extremes by having a solar panel fitted, using camping lamps and using less heating. They pointed out the wastage from all the low voltage adaptors that are left switched on all the time. I gather they reverted to some of their old ways when the experiment was over, but I hope they learnt something. The programme should be there for a couple more days.
The other is a list of statistics about how much more of everything the average home in the USA has. More TVs, baths, cars and bigger houses. I'm not sure if the UK is going quite to the same extremes. A lot of new houses are not very big, but we still have more gadgets. They point out that some devices that get left on standby can use more electricty overall in that state than when they are switched on.
Of course there's lots of things everyone can do to make a difference. Turn off lights and other devices when not required, don't boil more water than you need, re-use carrier bags. It all adds up. Oh, and try driving a bit slower. That seems to be a hard one for a lot of people. I've been taking it a bit easier lately and getting a few more mpg. Makes for a more relaxed journey too for the sake on taking a couple of minutes longer.
Tue, 19 Apr 2005
The coolness factor over other sites like Multimap is the way you can just drag the map around to see other areas. They also have local search, but that seems limited for now. Maybe they will start using GeoURL tags. Locations are indicated by '3D' labels. Multimap still wins on photo coverage of the UK, for now.
I like Google, but I also like Multimap because of their semantic web features and other cool features. I hope there's room for them both. My first experience of on-line maps was Streetmap, but they seem to have fallen behind.
Fri, 08 Apr 2005
I've added a few things to this site that give it more 'meaning':
Location - my geographical location is embedded in the site header as a latitude/longitude. This allows sites such as GeoURL to show where I am relative to other sites with that information. Maybe, one day, search engines will use this to allow searches for local services. Just using names, e.g. Bedford, is not so reliable as there can be multiple places with that name.
FOAF - the FOAF Project proposes a standard file format to give others information about yourself. The actual file is in a form of XML called RDF and is not that readable, but it can be extracted to nicer formats as you can see by clicking on my name at the top of the page. My file has information about who I know, what I do, where I've been and more. I intend to add more information. The 'who I know' bit has more potential if those people also have FOAF files so that our social network can be extracted.
XFN - this is a way to add meaning to links. By adding some extra parameters to the html you can indicate if the owner of a page is a friend, colleague, relative etc. This has similar implications to FOAF for building social networks.
There are more potential options including those that add more categorisation to articles. See my semantic links. There's a few reasons why this has not really taken off. Ignorance (many have never heard of it), apathy (why should I need that?) etc. Some have written about why they think it is not going to work. There are the usual internet risks of fraud to get visitors to sites. But there are many sites using semantic data. Simon has built a wiki that includes the locations.
One of these days I will get around to writing some applications to make use of this data. Python has tools for the job. I have some ideas for practical applications. Instead of using Multiply to link to friends I could use the information in my FOAF file. Users in there could request a password to allow them access to certain parts of the site. This could include thing like my DVD library that is hosted at DVD Lender. The idea is that I could take back control of my own data instead of relying on other sites to look after it and having the risk of losing it if they disappear. The other thing I want to do is to generate the details that appear on the right hand side of this page from my FOAF, so the FOAF would act as my information store. Other people seem to be working towards the opposite effect and generating FOAF from web pages, but I'm not so sure about that. I still have a lot to learn about this and the subject is still in flux generally.
<< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35  37 38 39 40 41 42 >>