A New Look

A redesign!

Well, more a redecoration. I happened on a nice-looking WordPress theme and tried it out. I like that it’s distinctly more modern in feel. I’m not totally gone on the current trend to areas of dead flat colour, but it’s healthy to experiment. Expect it to change again, as I try on themes like frocks.

And in the ripe plumpness of time I will give this place a theme of my own. The design itself is not the problem – I’m practically specialising in WordPress sites these days. But with these free hosted blogs they actually charge you to use your own code. I’m already paying them to use a custom URL, so it’s beginning to seem more sensible to host the thing myself. I’d learn more too, and have a lot more flexibility.

But first I have far more important websites to build. And as I am doing them for money now I will have to make a site about making sites – a pretty darn good one, needless to say. Plus my cartoon site is so technically outdated as to be an embarrassment – HTML 4.01. It doesn’t sound like it should be so different from the latest HTML 5, but between those two versions fifteen years elapsed! The practice of Web design has undergone a sea change – from static files to dynamic databases, crude table layouts to complex cascading style sheets. Using HTML 4.01 on my own site now is like being a cordon bleu chef while secretly living on pie and chips.

So I guess this is will stay a hosted WordPress blog for a while to come… But then there hasn’t exactly been a lot of posts in the last year, has there? Or for that matter, the year before. This is a good thing, in that it means I was doing something more useful than writing without being paid. As regular(!) readers will know, that thing was an MSc. That’s all done of course (bar, excruciatingly, my final grade), so perhaps I’ll be writing a bit more often now while I decide my next move.

Samsung Galaxy Note 4 – Unpacked Event

OK I’ll buy one.

Best to be clear about that from the start. After viewing today’s IFA Berlin presentation, I’m already planning to push substantial amounts of money onto the nice Korean people. So anything I say from here on cannot be regarded as truly neutral. Spectacles set to rose.

That being acknowledged, let me tell you why I want to spend excessive money on this excessive device.

The Galaxy Note has quite literally been my constant companion for the last three years. I bought the original one the day it went on sale in Ireland, used it in countless ways for both work and play. I’ve watched it grow year on year – the more refined Note II, the seriously powerful Note III – and with each new model, I have…

Stuck with the original. Though every iteration was more desirable than the last, it would not have been genuinely more useful. Not enough to justify starting another long and expensive contract anyway. The industry may love conspicuous consumers, but for most real customers a phone of this quality is a long-term investment.

And with the Note 4, the time may have come to begin again.

I don’t claim to be overwhelmed. Not a single one of the wilder rumours panned out. The Note 4 has a powerful 3GB of RAM, but not a revolutionary 4GB. Standard storage is still only 32GB instead of 64. Even the S4’s weatherproofing, considered almost a given by the rumour mill and greatly to be desired on such an expensive device, doesn’t seem to have materialised. On the other hand, we can be glad that some of the legends did not come to pass. Foldable AMOLED screens are an exciting technology with many possible applications, but would you really want to write on one? And though part of me would love to see the screen size creep up to 6” and beyond, it’s probably best to call a halt at 5.7”. A phone has to fit in pockets.

Rumours and wishful thinking aside, the Note 4 lives up to expectations. Specifications have been enhanced by respectable margins pretty much across the board, and there are a few highly significant improvements like high-speed charging and an ultra-low power mode that can keep it ticking over for a fortnight. Also the ghost of plasticky tackiness seems finally to be exorcised, with a slender metal rim and grippy leather-look back (now without the questionable faux stitching) lending it the air of a precision instrument like a classic SLR camera. At last the looks live up to its cost and quality.

If the Note 4 lacks anything it is one knock-down new feature to get excited about, but perhaps this is not surprising considering the nature of the beast. We’re long past the early days of the iPhone when each year’s model brought another feature that had obviously been missing. The Note already does about everything any other phone does, plus a lot of other things as well, all while pushing the form factor to its limits. Therefore Samsung tends to add its most experimental technology not to the flagship device itself, but to a special edition.

That bill is consummately filled this time by the Edge version with its cute auxiliary interface down one side. It’s an interesting and useful enhancement, but I’m not sure if this special-model strategy is paying off for Samsung. No doubt they worry that adding a controversial feature could raise costs while actually reducing the phone’s potential market, but I think if they’d been daring enough to put the edge display on the standard version it would have made the phone grab attention everywhere it was seen in use. Though it’s a cool extra, I can’t see myself paying extra for a version that has it. Indeed I’ll be a little surprised if any carrier even gives me the option.

The other way Samsung “adds” features of course is by offering new peripherals to integrate with. This time we see a bigger and better Gear watch, which I like but am neither rich nor ostentatious enough to buy. More excitingly, collaboration with Oculus brings a Gear VR headset – simply slot the Note 4 into a pair of goggles and you’re in another world. A technological tour de force by any standard and a sure headline-grabber, but not a reason for me to buy.

What does it for me is the solid improvements to the features I use regularly. More than once I’ve upgraded a phone basically to get a better camera, and with 16MP and real optical image stabilization, the Note 4’s is streets ahead of the original’s (already excellent) 8MP offering. And with a resolution breaking 500 pixels per inch and super AMOLED colour and contrast, its screen outclasses not just the fine precedent of the original, but every display available today.

Of most importance to me though are the enhancements to the Note’s core differentiation – the S Pen. This may mean little to anyone except artists, but there will now be interchangeable tips to adjust the pen-on-paper feel. Best of all the new pen will have 2048 levels of pressure sensitivity, the equal of professional graphics tablets. Do you really need that many levels to draw and annotate? No – but on the other hand you can never get too much sensitivity. The more nuance a pen is alive to, the more realistic the feel and the results.

I can’t see owners of the Note III rushing out to buy this, unless they are either blessed with excess wealth or cursed to own the most expensive phone available at any given moment. To them it would be only an incremental upgrade. For those of us who still have the Note or Note II however, decision time has come. And maybe it’s time for you too, if you haven’t yet sampled the delights of a device that, besides being everything a smartphone can be, is also a fine notebook and sketchpad.

The original Galaxy Note was a hard act to follow, so much so that it has taken three generations of enhancement to truly leave clear water. But a significantly better pen and camera make the Note 4 a significantly more useful tool.

Keeping XP

Screenshot 2014-04-07 19.02.15
Windows XP caught frolicking on its last day of freedom

So goodbye Windows XP. You know, I’m actually sad. Since it came out in 2001 I’ve grown from being indifferent (“Windows 2000 in a dress”), through slightly awed (when Tablet PC edition introduced handwriting recognition that actually worked), to comfortable and complacent. For a long time there, XP was just the way things were, an everyday ubiquitous tool. After using it for over ten years there was very little about it I couldn’t mend, maintain, or make better. And now Microsoft have declared those skills redundant.

You can see their argument: They haven’t made anything out of XP for years now. Well yes but…

The thing is, there’s a big secret about IT. In the terms I’ll be using in the exam I should be studying for right now, information technology cannot provide a strategic advantage (Carr, Harvard Business Review 2003).

In lay terms: IT is for suckers.

When it all began, people thought that computerising a business would mean radically improved efficiency and so lead to greater profits. That seems to make sense, yet somehow it never did. You do increase efficiency, sure. But that almost never translates into more money. This is because very quickly everybody was able to invest in the same technology, levelling the playing field again.

Only now to keep up with your competitors you have to keep on investing in your system, on a hamster wheel of hardware and software upgrades. That was never such a problem with filing cabinets. So bizarrely the technology may actually cost you more than you’ll ever save through improved efficiency – but you need it now just to stay in business. Nobody makes money directly from IT except the people who sell you the IT; Microsoft in particular have made billions and billions and billions and billions.

So I think they kind of owe us one.

It’s not that I don’t want to upgrade. I have a Windows 7 computer too and I quite like it. It seems fussy compared to XP, but it has some good points. I actually like a lot about Windows 8, despite its cool reception. Though Microsoft seem to have lost all sense of direction, their stuff has never looked better.

No, upgrading is just out of the question. Between my own devices and ones I administer for my family I am looking after four XP computers. At over €100 each, that’s far more money than I am either able or willing to give to Microsoft just now. And even if these computers can run Windows 7 or 8, they will not run it well. So I’d be paying them money to convert PCs that are fine into ones that are annoying.

Is there another way? Well yes. In a word: Linux. Two, possibly three of these computers will become Linux boxes now. High time too. But that is not for everyone, and I will want at least one of them to be able to run non-Linux applications like Photoshop. Can that be done?

I’m going to see, I guess… While continuing to use an unsupported operating system is not a course of action I’d recommend to anyone who doesn’t want to get their computer invaded, held to ransom by criminal gangs and used as a spam-vomiting zombie, how would you go about it?

Well there’s one safe way…

PLAN A

Don’t go online. It sounds a bit crazy now I know, but some of us still remember how computers were actually quite useful even before the Internet. If there’s a job you need to do that doesn’t actually require a live data stream it is perfectly feasible to disconnect. Your XP computer will be perfectly secure – forever!

(Well, you’ll still have the problem of moving your files onto and off it without getting it infected the old fashioned way.)

But if you really have to go online – say, you have no other computer – there’s…

PLAN B [>>>Not Recommended!<<<]

1. Stop being an administrator. Ridiculously, every account on an XP computer is an administrator by default. That means you can do pretty much what you like to the system. Unfortunately it also means that if you catch a virus while logged in as administrator, it can do pretty much what it likes too. It is far, far more secure to use a Limited Account. You may have to log in as admin to install software or other such tasks at times, but the security will be worth it. And if this is a family member’s computer that you mind for them, there’s a good chance that they won’t see any difference. Simply go to the User Accounts section of Control Panel and change the account type.

Unfortunately though there is some software that doesn’t like running without complete privileges, Adobe Photoshop being a particularly egregious example. If – like me – you need to work in Photoshop and then email the results, seriously consider logging out of your admin account and into a limited one before you go online. Ridiculous I know – Adobe and Microsoft really need to share the blame for that one – but far safer.

2. Tool up. When XP support goes, updates for Microsoft Security Essentials go with it. So if this is all you have in the way of antivirus you’ll need to upgrade. Currently I’m testing the different free options that are out there, and I’m really liking Bitdefender. This because it scores almost if not as well as the best available when it comes to detecting viruses, but demands very little of your system’s resources. In fact it seems significantly lighter than even Microsoft’s minimalistic solution, despite offering far better protection. Wish I’d used it years ago now…

3. If the OS can’t be updated, at least keep all your application software patched. A great tool to help with this is Secunia’s Personal Software Inspector, which checks the versions of what you have installed against its database of the latest ones, and lets you know when there’s an update you need. Sometimes it can even do the updating for you.

Apart from that, the usual rules still apply – just more so. Never use Internet Explorer (the version XP has is hopeless outdated now anyway), use Firefox or Chrome or… anything else. Make sure the device you use to connect to the Internet has some level of inbuilt protection like an NAT firewall. Only connect to known secure networks, not random Wi-Fi signals. Avoid visiting criminal corners of the Internet. Don’t install anything, ever, unless you’re absolute sure it’s safe. Be careful out there.

The Fire-Engine of Castlerea

Roscommon. After driving for an hour we stopped at a garage to ask directions, and I noticed this. It dates from 1937. Chassis and V8 engine by Ford. Coachwork by… a blind guy with a headache, apparently. It’s long retired of course, but the garage owner said they still take it out for runs occasionally. Only short ones though, as it does about four miles to the gallon. The thing must’ve had to carry more petrol than water. Which is sub-optimal.

PHP For Very Beginners

500px-PHP-logo.svg

I’ve been talking about PHP a lot recently, but so far I’ve said little about what it is and how it works.

So, What is PHP?

It’s a programming language, used to greatly increase the capabilities of a website. In this way it’s very comparable to JavaScript, and can even be seen as its complement. Both are ‘scripting’ languages. Unlike ordinary programs which are written in human-readable code and then ‘compiled’ to the binary instructions that computers can execute, scripts stay human-readable. Their code is executed by an interpreter program. With JavaScript, that program is your Web browser – any script in a web page you view actually runs as a program on your own computer. PHP however is interpreted by the PHP program, and this must be installed on the computer where the web page is held – the web server. For this reason it’s described as a ‘server-side scripting language’.

PHP files are a lot like HTML web pages, but also contain these PHP instructions or ‘scripts’. In normal Web browsing, the user requests a file by clicking on a link to it. If this is HTML it is sent directly to them, to be rendered on the screen as text and images by their browser. If it’s a PHP file however it is sent first to the PHP interpreter on the server. Here the scripts it contains are executed and the results – which are always HTML – inserted into the document where the script used to be. Now entirely HTML, it is sent to the user’s browser to be rendered in the usual manner.

So What Can They Do There, These Scripts?

It’s really just a programming language like any other. If you already know one of the more popular ones – C++, JavaScript, Perl – it will all look pretty familiar.¹ So you could use it for any computational purpose imaginable (it is ‘Turing complete’, as the theorists say). I wouldn’t though. What makes PHP special is not so much what it is as where it is: Sitting between the HTML and a database on a web server, allowing one to talk to the other.

In this way PHP can take requests from a website user, turn them into SQL or some other database query language, and format the results of the query as HTML to send back to the user’s browser where they can be displayed. As I mentioned in the previous post (and the one before that), this is a hugely powerful and flexible technique that can be used for untold purposes. While pages of search results would seem an obvious example, that’s just the nursery slopes. Systems as complex as Facebook are built in PHP. And systems that are good too.

¹Don’t worry if you don’t, there is much you can do with PHP without knowing any programming at all. Thanks to the likes of WordPress, Drupal, Joomla and many more, you can install and run a PHP-based site without speaking a word of the language.

PHP For Very Beginners

500px-PHP-logo.svg

I’ve been talking about PHP a lot recently, but so far I’ve said little about what it is and how it works.

So, What is PHP?

It’s a programming language, used to greatly increase the capabilities of a website. In this way it’s very comparable to JavaScript, and can even be seen as its complement. Both are ‘scripting’ languages. Unlike ordinary programs which are written in human-readable code and then ‘compiled’ to the binary instructions that computers can execute, scripts stay human-readable. Their code is executed by an interpreter program. With JavaScript, that program is your Web browser – any script in a web page you view actually runs as a program on your own computer. PHP however is interpreted by the PHP program, and this must be installed on the computer where the web page is held – the web server. For this reason it’s described as a ‘server-side scripting language’.

PHP files are a lot like HTML web pages, but also contain these PHP instructions or ‘scripts’. In normal Web browsing, the user requests a file by clicking on a link to it. If this is HTML it is sent directly to them, to be rendered on the screen as text and images by their browser. If it’s a PHP file however it is sent first to the PHP interpreter on the server. Here the scripts it contains are executed and the results – which are always HTML – inserted into the document where the script used to be. Now entirely HTML, it is sent to the user’s browser to be rendered in the usual manner.

So What Can They Do There, These Scripts?

It’s really just a programming language like any other. If you already know one of the more popular ones – C++, JavaScript, Perl – it will all look pretty familiar.¹ So you could use it for any computational purpose imaginable (it is ‘Turing complete’, as the theorists say). I wouldn’t though. What makes PHP special is not so much what it is as where it is: Sitting between the HTML and a database on a web server, allowing one to talk to the other.

In this way PHP can take requests from a website user, turn them into SQL or some other database query language, and format the results of the query as HTML to send back to the user’s browser where they can be displayed. As I mentioned in the previous post (and the one before that), this is a hugely powerful and flexible technique that can be used for untold purposes. While pages of search results would seem an obvious example, that’s just the nursery slopes. Systems as complex as Facebook are built in PHP. And systems that are good too.

¹Don’t worry if you don’t, there is much you can do with PHP without knowing any programming at all. Thanks to the likes of WordPress, Drupal, Joomla and many more, you can install and run a PHP-based site without speaking a word of the language.

System Of An Upload

cms-learning-curve

When considering what Content Management System to deploy today, one question needs to be answered first.

Why not just use WordPress?

WordPress was created to be the software behind the popular blogging service¹, and only a few years ago would have been dismissed as little more than that. It was never conceived as a general-purpose content management system, but designed with the singular goal of getting a person’s words and pictures onto the Internet simply and quickly. The thing is though, that is the core functionality of content management. Do it particularly well, and you’re onto something.

Combine that solid core with the ability to add functionality and you’re really onto something. Though invented for blogging, conversion into a different sort of content management system – say a gallery, a forum, or an e-commerce store – is available through third-party plugins. There is a staggering ecosystem of (the last I checked) nearly 29,000 of these. Consequently WordPress has become the most popular CMS in the world. And not by a margin – almost by an order of magnitude. Sixty percent of all content-managed sites use WordPress, one in five out of the ten million most popular sites on the Web. I’ll give that a second to sink in.

But by the same token, using something so well-accepted feels almost like copping out. We’re students of this technology, we’re assumed to be on the cutting edge. What’s the point in being just part of the crowd? There are innumerable content management systems out there. Many use the same attractive PHP + MySQL open source formula. Others again are based on ASP, Java, Perl. Some are even designed specifically to create online galleries, which is certainly closer to what our client needs than a blog is. But while these are worth looking into, the requirements go well beyond just the presentation of images. There is a great deal of text that needs to be easily and well presented, and a dedicated gallery system might not envisage that. The client also needs to manage membership, promote upcoming events, and automatically archive past ones. We will need something extremely flexible, and WordPress scores highly there.

But it’s not alone. Joomla¹ is also designed to be extended – it seems particularly rich in image galleries – and unlike WordPress it was a general-purpose CMS right from the start. It will have to be on our shortlist, especially as the team has had some experience with it in the past. Perhaps the biggest mark against it is that, with only around 6,000 available extensions – about a fifth of what WordPress offers – it just seems less likely that the functionality to meet our client’s needs will be readily available.

Initially, my instinct was to use Drupal. Also designed from the start to be a universal content management system, this one has put even more emphasis on flexibility. So while with WordPress you can have a usable blog virtually the moment it’s installed, Drupal is at first confusing – all you have is a framework, with few features except basic database and user management. Useful functionality is added by downloading and installing “modules”, over 25,000 of which have been contributed by the community, very comparable to WordPress’s 29,000 plugins.

But while plugins and modules might sound like two ways of describing the same thing, there is an important conceptual difference. WordPress extensions are very much goal-orientated. If you wish for example to add gallery functionality to your site, you compare the galleries available and plug in the one that best suits your needs. Drupal modules are function-oriented. To add a gallery, you consider what additional functions it would actually require – image management, display, cataloguing and captioning for example, possibly also resizing and retouching – and add modules for those functions. You’ve got a huge smorgasbord of features to avail of, what you mix is up to you. Such a level of flexibility is both challenging and exciting. A much more precisely customised result should be possible with Drupal, and this is why it is considered by some to be the best CMS of all. But the learning curve is also infamously steep (see illustration). I have to admit that this is part of the attraction. I’ve built several sites based on WordPress and it presented little challenge; the Drupal one I started over two years ago is still far from finished. It definitely represents the greater learning exercise. But that is not the objective today. Even if the team could become sufficiently skilled with Drupal within the timescale, it seems likely that that time could be better spent.

Plus, with Drupal skills being relatively hard to come by, future site maintenance would inevitably be more difficult. Perhaps a clinching argument in favour of WordPress is that, as by far the most popular CMS in use today, future maintenance and improvement should not be a problem. Indeed as an open source tool with both a strong community and the backing of a commercial interest, WordPress would seem to combine the best of both worlds in terms of support.

I wish we could use all three just to see which came out best, but the postgrad workload is too heavy for that. We should be making our decision shortly. For now though, my money’s on WordPress as the one most likely to deliver the client’s requirements without excessive drama.

____________________________________________________________

¹WordPress the open source blogging software, sometimes also referred to as WordPress.org, should not be confused with WordPress.com, whose business model is the hosting of WordPress-driven websites. Both the software and the hosting service are managed by the Automattic company. An aside: Though basic WordPress.com blogging is free – this site uses it – the feature set would be too limited for our client.
²Actually they style themselves “Joomla!”, but I have a strict policy on companies that expect you to shout their names. This policy being: Shush.