19 Mar 2011, 14:45

Any opinions on 15.4' laptops?

#“Any opinions on 15.4\” laptops?”

Youngfella's confirmation money is burning a hole in his pocket. After a short-lived diversion towards getting a Tablet, he is now back in the market for a laptop. He currently uses my ancient Acer Aspire with a lines of dead pixels running down the middle of the screen and buttons missing from the keyboard.

Given that his main activity is editing his card-trick videos, Netbooks were immediately cast aside. He needs something with a decent screen and some welly that costs less than 500. It ended up being pretty easy to narrow the field down to 4-5 possibilities. The spec I came up with, based on browsing what's out there was:
  1. 15.4" screen
  2. 2-4 GB RAM
  3. Intel i3 or similar dual-core CPU
  4. Decent GPU (incl built-in)
Some nice to haves would be:
  1. HDMI out
  2. More than 3 USBs
  3. Firewire or USB 3.0
When you take the first 4 spec items, you end up with a set of laptops all within 20 of each other and all compromising in different ways. We found:
  1. Samsung R540
  2. Acer Aspire 5742
  3. Lenovo G560
  4. Asus K52F
It looks like we'll go with the Samsung. It has the faster 2.4GHz i3, 3GB RAM and a 320GB HDD. Downsides are a slightly washed out screen, plasticky body and poor battery life. Since this will spend 90% of its time in the house, the latter two are no big deal.

I was disappointed to see that Dell had nothing competitive in that 450 (inc VAT) range.

Anyone have experience of these type of spec? Any other suggestions?

18 Mar 2011, 17:54

Avoid @wittertainment loss, install doubleTwist on Android

#“Avoid @wittertainment loss, install doubleTwist on Android”

Media_httpwwwdoubletw_phpce

I've been pretty lucky with the SD card in my HTC Desire. Despite being hammered constantly due to all apps being installed on an EXT3 partition, the main FAT32 partition has never lost any data. Until today.

The whole thing went bang and everything disappeared (the EXT3 partition was fine). For most of my stuff it's no big deal, I sync it all out to the cloud. But the one exception is podcasts. I had a backlog of months of Mark Kermode's movie reviews, Material World and This Week in Google to listen to. And all of them were gone in the blink of an eye.

For many podcasts, this is not a problem, since you just re-download. But for some reason the bloody BBC only shows the most recent podcast in each feed. Hopefully I'll be able to copy some of the Kermodes off my wife's iTunes.

I immediately bought and installed doubleTwist on the phone and PC to stop this happening in future. It is now syncing all podcasts and music over wifi between the two so I have an offline backup and I don't have to worry about USB cables. Steve, it ain't post-PC if you still need to plug your iPhone into the PC.

Of course, once Google releases the music app that they previewed last year at Google IO, then I can sync everything to the cloud.

18 Mar 2011, 13:32

Alienate Yourself

#“Alienate Yourself”

App Screenshots

The Androidify App kept some of our kids quiet in a church for a confirmation earlier in the week. I think this could have a similar benefit.

15 Mar 2011, 08:23

Check out those sexy pin pegs

#“Check out those sexy pin pegs”

Img_20110314_191419

And the Vibram FiveFingers too :-)

Full opinion post coming Wednesday. Initial opinion: I'm a fanatic after an hour. It's like I have a new left leg.

09 Mar 2011, 14:48

Brace yourself Belfast. Here We Come.

#“Brace yourself Belfast. Here We Come.”

Finalist in Best Tech Blog in The Irish Blog Awards.

See y'all there.

06 Mar 2011, 20:17

Oscar's First Android Game via App Inventor

#“Oscar’s First Android Game via App Inventor”

I have to say I’d dead proud of young Oscar. Seven hours ago he’d never seen a line of code. Now he has finished his first from-scratch game. He calls it “The Reaction Game” and it involves tapping buttons as fast as possible in 60 seconds.

Screenshot_3

We’ve had some choice quotes from him today:

  • I want to build a game like all those stupid ones people play on Facebook
  • It’s still Beta. We’ll add high scores and difficulty levels next week.
  • I think this could be the next Angry Birds
  • Wait a second, this means I could build a Chuck Norris Soundboard!
  • Why won’t it work on an iPhone?

If you want to try it out, download the APK and install on your Android phone.

Few quick thoughts.

  • Google has built a great tool 
  • It needs more kid-attractive tutorials
  • As I said in last post, web services need to be wired in to allow cool audio, video and image applications. Maybe even Twitter/Facebook APIs.
  • Kids love games, work that to the max for tutorials
  • But Google completely lacks coolness and mindshare. He wants to tap into Facebook. Not sure how Google fixes that.

So a kid who was building a Google Android App has this as the back of his laptop. Why? Cos Facebook is cool. (Yeah and I gave him the stickers). Do you see a Goog logo or Android logo anywhere?

Img_20110306_203349

Screenshot of the designer:

Thereactiongamepic1

Screenshot of the blocks editor:

Theractiongamepic2

I really only had to give him a few pointers on using timers and conditional logic. He figured the rest out himself.

11 years old and he’s already thinking monetization :-)

 

06 Mar 2011, 14:54

Google AppInventor for Android is a Massive Hit with 11 y/o Son

#“Google AppInventor for Android is a Massive Hit with 11 y/o Son”

When Google AppInventor launched I was really excited and signed up for the pre-release immediately. The idea of a drag n drop application creator for Android that was kid-friendly sounded fantastic. Of course all I did was start it up and play for 10 minutes before forgetting about it and ADHDing over to the next cool thing.

Then a few months back I came up with an idea for an Android App which would pull info from a specific RSS feed and do something useful with it. But apart from a horrific hack involving running a webapp on Google AppEngine, it seems AppInventor has no real ability to interface with Web Services. So I dropped it again.

This afternoon the youngfella asked again about creating games on Android. We’d bounced the idea around a few times previously when he was using my old G1, but we’d just never got around to it.

So we finally sat down with his knackered old Ubuntu laptop and my knackered old HTC G1 and got started.

20 minutes later we had our first app running on the phone and both of us were over the moon. The tutorials are extremely good and he had no problem following them. We tested on the Emulator first and then generated a barcode which enabled us to install it on a real phone. Whilst we should be able to use the phone for live deployment and debugging, we are having some Linux glitches with the setup and haven’t got it working yet.

So here is the designer setup for the first app:

Appinventor1

 

Here is the blocks editor where you define the functonality:

Appinventor2

Here it is in action:

06032011238.mp4 Watch on Posterous

And here is the second app which he created by following the next tutorial and not asking me a single question.

06032011239.mp4 Watch on Posterous

Next up is the Whack a Mole tutorial which will show him how to create games and then I think he’ll try and create his own App from scratch. He already has some ideas.

I’m thrilled to see him so excited about creating something rather than just consuming media. It’s the way I want all of our kids to be.

As I said when it launched, AppInventor has the potential to be the ZX Spectrum, C64 or BBC Micro of this generation. But Google needs to put more effort into expanding its capabilities. Imagine what kids could build with easy access to YouTube and Picasa APIs.

 

06 Mar 2011, 12:16

Monitoring EC2 Servers with Zabbix

#“Monitoring EC2 Servers with Zabbix”

Amazon Cloudfront is great for monitoring EC2 servers but it can only do external monitoring so it cannot see things like memory being exhausted etc. I tried using Cacti but it was a nightmare to configure with plugins. Nagios always looks like it’d take weeks to sort out.

A bit of Googling found Zabbix and people seem to like it. Install was a doddle but configuring can be a pain unless you just copy the demo settings.

You can obviously install all of this on the server to be monitored but it is only useful in non-catastrophic cases. If the server runs out of memory or goes to 100% CPU you won’t be able to login to see what happened in the run-up. So ideally use a separate server. We use one of our test servers for monitoring since they spend most of their time unstressed.

The Monitoring Server Install

sudo aptitude install zabbix-server-mysql zabbix-frontend-php
sudo vi /etc/php5/apache2/php.ini
Increase some of the PHP variables in that file (you will be warned when you login to the Admin Panel)

sudo /etc/init.d/apache2 restart
sudo apt-get install zabbix-agent

Login with user=admin, password=zabbix

Each Monitored Server Install

sudo apt-get install zabbix-agent
cd /etc/zabbix
sudo vim zabbix_agent.conf
Add the Monitoring Server’s Public and Private IP addresses
Open up ports 10050 and 10051 in your EC2 security group (using Elasticfox or similar) and allow the monitoring server’s private IP

sudo /etc/init.d/zabbix-agent restart

SNMP (Optional)

You can use SNMP monitoring too but the Zabbix agent seems ok so far.

Extra Config Afterwards

The easiest way to start monitoring is to do a full clone of the demo localhost monitoring and just change the IP address and DNS name to the monitored server.

Authenticated SMTP Alerts

We use AuthSMTP for all email sending from EC2. Zabbix doesn’t handle authenticated SMTP out of the box so you have to use an external script.

sudo apt-get install sendEmail

Create a script “zabbix_sendemail” (chmod 755) in the AlertScriptsPath folder specified by /etc/zabbix/zabbix_server.conf (/etc/zabbix/alert.d/)
————————————–
#!/bin/sh

export smtpemailfrom=zabbix@yourdomain.com
export zabbixemailto=$1
export zabbixsubject=$2
export zabbixbody=$3
export smtpserver=yoursmtpserver.com
export smtplogin=smtpuser
export smtppass=smtppassword

/usr/bin/sendEmail -f $smtpemailfrom -t $zabbixemailto -u $zabbixsubject -m $zabbixbody -s $smtpserver:25 -xu $smtplogin -xp $smtppass
————————————–

Set a Media Type (Administration / Media types) script to zabbix_sendemail
Add that Media to the Admin user (Administration / Users / user)
Set the Action (Configurations / Actions) for the alert(s) you want to trigger on and who should get them (Admin) 

SMS Alerts

Sign up for something like Clickatell and buy a block of 400 credits for €17. Then repeat the steps for SMTP above but with the following script. I have both SMS and email set to be sent on certain triggers like low memory.

#! /bin/sh

/usr/bin/wget –spider –no-check-certificate “http://api.clickatell.com/http/s
endmsg?api_id=NNNNNNN&user=XXXXXXXXX&password=YYYYYYY&to=$1&text=$2”

Monitor What?

Zabbix allows you to monitor a wide range of parameters and processes. So everything from network activity to whether your FTP server is contactable. It’s not the easiest web-app to configure but so far I’m finding it extremely useful.

02 Mar 2011, 17:15

Oi Posterous, fix this please. What is a Liquid Error?

#“Oi Posterous, fix this please. What is a Liquid Error?”

Liquid

I haven't changed that post since it went up so the problem is on the Posterous side.

02 Mar 2011, 15:09

ASCII Star Wars via Telnet

#“ASCII Star Wars via Telnet”

Starwars

In my first job in S3, I was handed a VT102 terminal as my main "computer". Having done my Masters on PCs and HP Unix boxes, I nearly cried. I still have the scars.

@sos100 has just tweeted something that makes up for all those scars. Star Wars done in animated ASCII Art by telnetting to towel.blinkenlights.nl

Utter utter genius.

If you don't know how to Telnet, well I'm sure you'll enjoy your iPad2.