cyberspice: (Default)
This blog post is the first in a number of what I hope are useful coding related posts. I’ve been coding for many years in many languages on many platforms. I tend to solve issues using a combination of technologies so many of my posts will be based around combining technologies. Others will be basically describing gotchas that I have found during development and how I solved or worked around them. This post is about using PHP’s session handling from a Java client, i.e. not a browser... (cont.)
cyberspice: (Default)
ShevekThe day after the PHP UK Conference 2009 was Techadventure in Bristol. This was the second one held, the first being last year, and is the brain child of Shevek. It was held in The Trinity Centre.

Autosentry vs spyder botThe idea behind it is to have a celebration of technology. A chance for engineers, technologist, crafts people and artists to show off their latest technology projects or works based on technology. There were many classic computers from the eight bit era. All of which were modified or expanded to support modern technologies such as MMC. There was a 3D table carving balsa wood. The was a laser guided autosentry robot that fired plastic pellets and a hexapod robot.

It wasn't just technology though. There was also art based around technology. There was a reading of technology inspired poems. There were two musical performances. One piece was composed and performed by a Professor of Music from Boston and the other by DJ Lee Chaos. A large number of puzzle games had been brought for people to play with.

Classic computingWe arrived around midday during a talk about performance in computer systems and the best architectures for high speed computing. I had hoped to be able to demonstrate my BBC ethernet board but due to my broken wrist could not build it before the event. I did prepare slides but didn't get time to give a talk. The idea was to make a talk along the 20 slides in 20 seconds theme. The slides are available online. We all announced what we were doing to the rest of the attendees and I was surprised by the interest in the ethernet board. It was great to talk to other demonstrators about their projects and exchange ideas. I am definitely going to make myself one of those hexapod 'bots.

After the event some of us were invited to Shevek's place for a meal and a chat. It was a thoroughly enjoyable day and I can't wait for the next one.

cyberspice: (Default)
Actually it wasn't last night it was the whole of yesterday. Yesterday the worst nightmare of the jet-setting software engineer happened and my work laptop developed a bad fault. The Dell's hard drive became very unreliable! It wouldn't boot properly, spent time just thrashing, and generally was show signs of hardware faults an imminent failure.

Combined with virtualization my MacBook came to the rescue. I dislike Fedora as a Linux distribution however, for the current client, I have to use it. On the Dell I run Ubuntu with Windows XP in a virtual machine so it is a simple matter to run Fedora Core 8 in a virtual machine as well.

So when I realised that my Dell would just not boot I set VMWare Fusion and Slax, a lightweight distribution with XFS support, downloading on my MacBook and headed off to Frys Electronics. At Frys I bought a USB2.0 to IDE/SATA cable, a new 200Gb 7200RPM 2.5 inch Toshiba HD, a 320Gb 2.5 inch Maxtor external USB HD and some blank CDs.

When I got back to the office I set up work e-mail on my Mac and Skyped and wrote e-mails until Slax had downloaded. I then burnt that to a CD and used it to boot the Dell and tried to access the failing HD. I did manage to read my home directory so I copied across the virtual machine files and some other data on to the Maxtor USB drive. This took some time so I then set the download of an ISO image of Ubuntu 8.04 going so that I could install it on the new HD I had just bought.

Once the data had been copied on to the Maxtor I installed MacFuse and NTFS-3G on to my Mac so that I could read and write NTFS (by default OS X can only read NTFS). Fired up VMWare, pointed it at the VM files I had copied, and it just worked! I have to say that VMWare on OS X is a delight. I will write more about this in another post. Having the same virtual machine running meant I could start working again. This was some five hours after starting the working day.

In between waiting for builds, CVS and other time consuming processes, I swapped the Dell's old hard drive with the new one I had bought at Frys. I then set an install of Ubuntu going from another CD burnt using my Mac. Finally I used the USB 2.0 to IDE/SATA cable to connect the old hard drive and recovered more data.

This morning I was back to using my Dell If I had still had my old iBook I would have been held up somewhat more since I could not have run VMWare or the virtual machines on PowerPC architecture. And because it is a Mac it comes supplied with an awful lot of useful software which just made bringing the Dell back up easier. I am so relieved I had it with me.

cyberspice: (Default)
The post below is based on a comment I made in a friend's blog. Reading it back I realised it would make a good post in my own blog...

The first computer I ever used was an Altair 8800. It had a single 8 inch floppy and you had to toggle the boot sequence using the front panel switches. The first machine I ever really programmed in earnest was my father's TRS-80. When I should have been listening to the teacher at the back of my math class I would be thumbing through a well used copy of Rodney Zaks - Programming the Z80 and hand writing assembler in my exercise book. I wrote a full screen memory editor that way.

Eventually I got my own machine. My trusty Beeb with all of its IO taught me all about programming hardware and is probably why I am an embedded software engineer today. It was the British equivalent of the Apple ][ which I lusted after but could never had afforded at its British price. However I loved my Beeb and was a total Acorn fan girl for years.

I first used a Mac back in 1988. It was an SE and was an all-in-one luggable which was smaller than PCs, but not much, and they had 9 inch screens. They were slow 6800 machines. Then the PowerPC came along and the machines got better. But just before they did the Acorn Archimedes came along with their 32 bit RISC powered offering pipping Apple to the position of having an affordable desktop RISC workstation. These were machines I was used to; the 32 bit machines had a nice multi-tasking operating system; and macs were expensive; so bought myself an Acorn A3000 and I stuck with my Acorn machines through to relatively late in the 90s. I still have my Beeb, my A3000 and my Acorn RISC PC.

I have always liked Macs but, to be honest, as they went from System 6 through 7, 8 and 9 the operating system became more and more unweildy and showed its age. They were also incredibly costly, a reputation they still haven't really lost. The hardware was being beaten by PCs and a PC running Linux seemed a far better choice. Jobs was ousted from Apple and Apple looked doomed. Then he came back. With him he brought NextStep. This eventually became the basis of OS X and is still reflected in the naming of Cocoa classes. Macs looked interesting again but were sill out of my price range.

Then a few years ago I was offered an old Blue and White Mac for $100 which I upgraded to running Panther. I loved OS X. Unix with useability and none of the unfinished faffiness of Linux. My PC was rapidly left abandoned even though it was more powerful. I then bought myself an iBook G4. I also acquired a used Power Mac G4 which became my desktop machine. The iBook and G4 have served me for several years with the iBook being my constant companion. The PC sat under the desk virtually unused, turned off for months at a time.

OS X has had a beneficial effect on Linux. It has raised the bar. Modern Ubuntu has more than a few ideas borrowed from OS X which is not a bad thing. So recently the PC was re-installed and is now a development server. But Linux still hasnt got the sheer useabilty of OS X and Apple kit. And today I took delivery of a shiny new unibody MacBook. My love affair with the Mac continues. I am a total fangirl!

Originally published at Spice World!.

cyberspice: (Default)
If all goes to plan. This post should pop up on my LiveJournal. This is all courtesy of the Live+Press plugin.

Originally published at Spice World!.


cyberspice: (Default)

August 2010

222324 25262728


RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 28th, 2017 08:48 am
Powered by Dreamwidth Studios