Thursday, January 02, 2014

ChromeBook

As I mentioned in passing in my last post, I recently bought an Acer 710-2688 ChromeBook from B&H Photo in New York. I was very happy with it, and took it with me - as well as the Samsung Tablet - on holiday to Germany over Christmas. The upshot of this experience is that I bought a second one from B&H for my wife, to replace her Asus netbook as Windows XP "expires".

So, being a programmer, the first thing that you would expect me to do would be to program the little thing. But, ...... there's no interface to the ChromeOS operating system! This kinda makes it a little difficult to program, but people have managed it, so there's a rather neat application called SourceLair that sits out there in the cloud and allows you to practice your programming skills in any of a variety of languages. In fact, this is just running programs from the Acer, not programming the Acer (see alternative IDEs here). To do that you develop Chrome Apps - see the developer docs here for some surprisingly readable documentation about it all.

BTW, for some more info (and more than a few typos!) on the ChromeBook you could look at ChromeBookHQ.

So right now I'm doing all my browsing on mine, am playing with Python, and even looking at remoting in to work using this little 11" monster. In short, this is what the netbook should have been, back in 2007, and maybe would have been, except for Microsoft "persuading" the manufacturers to use Windows XP instead of a Linux variant (which would have been faster, more reliable, and better for all concerned.

That's all for now - keep warm!

TTFN

Tuesday, December 31, 2013

Did I Break My Camera?

I have had a Canon T2i (right) since around June of 2011. It's a very nice camera, and I'm still learning the complexities of all its options - my previous high-quality camera was a Fujica ST605 totally-manual 35-mm SLR film camera (below) that I bought in 1979. I ended up with two ST605 bodies, one with a 28-70 Tamron lens and the other with a 70-210 Tamron one-touch zoom lens.

Back to the T2i. As I say, I've had it a couple of year now, and gave myself a birthday present of a Tamron 70-300 lens a little while ago.

So I was on holiday with the AG in Germany over Christmas - we stayed in Köln - and, of course, I brought the camera for holiday snaps. All in all we had a great time, as Köln has several Christmas Markets (Markt am Dom right) and also far more yarn than the AG was expecting.

After a day of taking pictures I settled down and uploaded them to Dropbox using my new Acer ChromeBook. I did some work on the ChromeBook and saved the files out to the SD card (it had 64 GB so plenty of room). A little later I picked up the camera and went out to take more photos, only to find that the info screen didn't light up and that I got a message "Err 80" in the viewfinder. Back to the ChromeBook to research the error!

A lot of people reported this as being a general error message, but often a shutter problem. I certainly had a shutter problem - it was being a Shut, not a Shutter! Pulling the battery and replacing it reset the camera and fixed it for a short while; using my 70-300 Tamron lens exacerbated the problem, with frequent "Busy" signs in the viewfinder as it hunted for focus, and eventually the camera started to take a picture, flipped up the mirror, and froze, mirror-up!

After going through every camera-related trouble-shooting operation that I could think of, I recalled that I had once owned an Olympus Z-3030 digital camera. The problem with the SmartMedia cards that it used was that if you didn't format them in the camera, and/or if you used them for certain types of file, they became unusable. The beginnings of a light over my head started to glow!

So I pulled out the (64 GB) card I was using, borrowed another (1 GB) from my wife, and the problem vanished. Err 80 was suddenly history. On looking (with the ChromeBook) I found that I had left two or three .pdf files on the card after using it in the Chromebook. Removing these restored the camera operation!

Tech Notes

  • SD Cards for Cameras. There's a class rating for these. If you want to use your camera for taking video then look for class 10. You'll find it marked on the card as an amazingly tiny number inside about 80% of a circle. Very difficult to read!
  • ChromeBooks. I have an Acer 710-2688, in a boring grey colour (offset now by colourful stickers from Köln !). It has a very good screen res., 4 GB of RAM, and 16 GB of SSD. I really like it for browsing the web, etc., and the AG has one too now, as her Asus Eee1000 has reached 5 years old and its Windows XP is becoming more of a liability than an asset. It's also getting very slow, especially compared to these Acers. 
  • Windows XP (1). Time to leave it behind, everyone. If your machine will run it (i.e.  not a netbook and less than 5 years old) then go get a copy of Windows 7 and replace Windows XP!  If you have custom programs that really really won't run on Win7, get a copy of VirtualBox, install it, and install your copy of Win XP inside that (see here). Without the browsers! 
  • Windows XP (2). If you've an older machine that just won't take Windows 7, or an Atom netbook like the AG's that just isn't powerful enough, then take a look at what you actually do with your machine. Do you really do any more than use the web in different ways? You write papers, use spreadsheets, make presentations? You can do all those with GoogleDocs. Email? Google's GMail. Storage? Dropbox! So, with the exception of iTunes, a Linux system will give you pretty much all you need. If you don't want to spend the $260-odd on a new ChromeBook then splurge instead on a new hard drive (get an SSD, even! This one costs $70 - gasp!). Get a copy of Puppy Linux and burn it onto a CD (or get one from the cover disc on a Linux magazine in Barnes and Noble), swap the new hard drive in to your machine (hang on to your old drive!), connect the CD reader, and boot from it into Linux. Then tell it to use all your brand new hard drive and let it become your new OS. Once you're up and running with Linux you can grab a 2.5" drive enclosure (e.g. here), put your old drive into it, plug it in to a USB port, and you can get at all your data again. Linux will read and write NTFS (Windows) drives fine, so there'll be no problem getting at your files. As I said above, you can use Google Docs to read MS Office files. 
Have a great new year in 2014
TTFN




Friday, November 22, 2013

OS Upgrade ... (Part 2)

Well, last post I touched briefly on starting a new operating system (OS) upgrade. Rather like what you do with Microsoft when you upgrade from Windows XP to Vista or Win7 or Win8. You hold your breath and pray. Really really hard. To all the Gods you can find mention of!

Well, the reason I was upgrading was that Ubuntu (and all Linuxes, in fact) do a kind of rolling release schedule, where the Upgrade Manager (or similarly-named program) polls the sources for all the software you have installed. If any change it makes a note of what's changed and what things it depends on. Then it periodically announces that you have upgrades waiting (I set that to weekly).

Pretty much always it goes off without a hitch, and you just keep working while it's doing its thing. A couple of weeks ago, however, it downloaded and installed new software to control my (NVIDIA) graphics card. That would have been fine, except that there has to be a corresponding alteration in the software that uses it - the kernel software. Unfortunately that didn't happen, so when I rebooted next I didn't get any GUI. All the programs were there - they just didn't show anything!

So after a couple of days I decided that as I was only at version 12.04, which was about 18 months old, I could surely migrate forwards and hopefully things would get better. Unfortunately not. So I bought a new hard drive ($70 for 500 GB), pulled the main drive of my laptop and plugged in the new one, put a bootable DVD in the drive with Linux Mint 14 on it, booted and installed.

At this stage I had no idea whether I would get a usable system - all I knew was that the image I saw from the live (bootable) CD was rendered by something called "Gallium 0.4 on NVCF". It turns out that this is the front of a driver software from a group called nouveau, and that it works very well indeed!

So, for non-standard software, I run the following:
  • Oracle VirtualBox - Provides me a virtual computer within which I can launch something else. Mainly this is Windows, as my email runs in Windows and I work with MS SQL Server, so my work is there too.
  • dvgrab - A command-line program that records video from the IEEE port. Right now I'm recording a copy of an old Jay Leno program so my wife can watch it - she's with some friends who live "BC" - "Beyond Cable"! They're "BC" - "Beyond Cell" too!!
  • K3B - A program to burn CDs, DVDs, and BluRay discs.
  • Quod Libet - This is a small audio player.
  • Chrome browser.
  • xSane - A program to work the scanner part of my hp psc 2410 MFP.
  • RipperX - This rips CDs. That's it. Sooo convenient!
  • UltraEdit - The best text editor, hands down!
  • Geany - Programmer's IDE.
  • Hugin Panorama Creator for creating single images from multiple shots, so I can make photos of wide or tall buildings.
  • Calibre and FBReader for managing and reading eBooks
  • VLC Media Player for movies (also available on Windows & Mac)
I'll probably get FireBird (i.e. InterBase) running eventually.


TTFN

Monday, November 18, 2013

Coming to Thanksgiving

Lots of little snippets this time.
My Laptop
As I'm sure you're all aware, I'm a programmer. In fact, I'm a database developer, ETL and reports developer, data analyst, and DBA. I use mostly SQL Server, but am known to help people out who are using VB, ASP, PHP, MySQL, Oracle, and other things too! I just got Guru level accolade on Experts-Exchange for helping people with SQL Server 2008 problems.

Anyhow, a while back (November 2011), I bought a new laptop, 'cos mine was getting a little long in the tooth. The wife practically collapsed at the price (>$1500!), and I've upgraded it since, but it was a really good deal for a 17.4" screen, 8-core Intel i7 cpu, 500 GB drive, and 12 GB of RAM. I've since expanded it a bit - another 500 GB of a second disk and maxed out the RAM at 32 GB.  I think I reviewed it back then: here's another review from about the same time that I've found.

So, to get to date, I've had this monster for just on two years now. It really doesn't seem that long, and I haven't seen anything out there to beat it down! In a year or so I'll probably start looking for a replacement - they've added a few features to it (System-76 are here) but I doubt I'll be replacing it any time soon, as it's doing fine. Right now I'm upgrading operating system versions, which is always fraught, but there you go!

My wife, OTOH, the AG of legend, has a little Asus netbook running Windows XP. It's fine, except that Windows XP is running out of support, meaning that I really have to get her to something more modern before the malware attacks start in earnest.

Food
Aah! Food!!
  1. Get a couple of pounds of chuck and cube it (1"). Brown it well, and put it into a slow cooker. 
  2. Get about a pound of sliced mushrooms and heat them on medium-low heat and stir occasionally After a few minutes they'll start giving off liquid. 
  3. After about ten minutes in all sprinkle about three tablespoons of flour, mix it into the mushrooms, and  cook on for about a minute (no more!).
  4. Next add in a couple of bottles of brown ale (Sam Smith's Nut Brown Ale or Theakstone's Old Peculier are great) and stir well.
  5. Bring to a light boil and stir while the liquid thickens. Then pour into the slow cooker.
  6. Add a chopped up large onion and about a pound of chopped carrots. Also a bay leaf, some pepper and a little salt, and a little caraway seed. 
  7. Leave on low for about eight hours.
  8. Serve with boiled new potatoes or, as I did, with freshly-baked bread (did I tell you what a wonderful cook the AG is?). Her bread is wonderful!
Enjoy!

TTFN

Wednesday, September 18, 2013

Kofta!

No, it isn't a curse! It's a meatball with herbs!
Yes, that's right, I've been cooking again.

This time I made little asian/middle eastern meatballs, grilled them, and served them with rice and some salad. For those who need a visual cue take a look to the right - that's from the food Network, and essentially what I made.

The ingredients are listed below.

Mix all the ingredients in a bowl until pretty-well blended together. Then pull pieces out and form them into little balls, between 1 and 2 cm in diameter. It doesn't really matter if they're all small or all big; just pick a size that you can push a skewer through and stick to it! The cook in the photograph formed long ones, I use round ones - it really doesn't matter!

1 spoonful of minced garlic 1 pound ground lamb or beef
almost a cup of well-chopped onion 3 tablespoons chopped fresh parsley
1 tablespoon ground coriander 1 teaspoon ground cumin
1/2 tablespoon ground cinnamon 1/2 teaspoon ground allspice
1/2 teaspoon cayenne pepper 1/2 teaspoon ground ginger
1/2 teaspoon ground black pepper

Once you've got your mixture in organised pieces, put them on a plate of baking tray and leave them in the fridge for from 1 to 12 hours. This lets them rest and the flavours blend.

Take them from the fridge and skewer them ! 3 or 4 should fit on a large skewer.

You can grill them on an outdoor grill or indoors if your oven is equipped with a grilling element on its ceiling. About 5-7 minutes should give you a soft and juicy kofta (not bloody and not crisp all the way through!).

Warning: if you do them indoors make sure your flatmates are either included in the meal or out - the smell of cooking these has been known to turn harmless little old ladies with blunt dentures into ravening tigresses!

Serve them with rice or couscous and a vegetable, or in Pita bread with salad (shredded cabbage and tomatoes).

Have fun!

TTFN









Thursday, August 29, 2013

Storage can be a Strange Thing

No, I don't mean the kids claiming that there are monsters under the bed when you know for an absolute certainty that there are only boxes of underwear and socks there. Oh! And the cat, so that's where they heard "the noise under the bed"! Am I Susan sto Helit to be chasing monsters with a broom?

Anyhow, after moving yet again earlier this year we have accumulated two storage units near where we used to live and another where we live now. A few weeks ago we intercepted some people clearing out their uncle's unit and grabbed the bookshelves that would otherwise have gone to Goodwill. So now the new storage looks like a library with a heap of boxes in the middle!

So, the Time of Consolidation is now upon us! I'm fed up of paying too much for all this, so I go in to get a small unit last Saturday and find that the unit next to ours is up for grabs! Bril! So now we have two big ones here ("New Storage") and a very big one and a small one there ("Old Storage").
Then on Monday the AG was in working in the units and I get a call.
"Darling?"
"Yes"
"The lights are all out. The power's out"
"Where are you?"
"In Storage"
"New or Old?"
"New"
"Go down to the office and hang out there - they have windows and light. You won't be able to leave with the car because the locks are all electronic"
"Oh. Ok"
So I left a little early from work and went back to get her. And talk to the people in the office there too. Turns out that there really weren't any problems. Except the answer to one question:
"What do you do to get out after everyone has gone from the office in the evening?"
"Call the police"
Hmmmmm. The end result of that will be confusion and a large metal fence with people on the inside trying to get out and armed police on the outside. Scarily reminiscent of the Berlin Wall and various gaols in places like Texas! Hopefully the police don't end up threatening the trapped !

TTFN

Found Food

I have published quite a few recipes here on my blog over the last few years, and I hope that all my readers have tried at least some of the...