Goodbye Evernote, Hello Simplenote

Simplenote launched a client for Linux at the end of March, 2016. As a longstanding Evernote premium user, frustrated initially by the fact there’s no Linux client, and then frustrated even more by the fact I could no longer get the Windows client to run under WINE, I thought I’d give it a look.

As the name implies, Simplenote is simpler than Evernote. No notebooks, no reminders, no support for pictures.

In fact the only thing Simplenote handles is text, and that’s its great strength. Sticking to tiny text files means that notes load and sync quickly. Also, the whole experience doesn’t seem as cluttered as Evernote has become with its "all things to all people" approach.

Sticking to text means that Simplenote does a few things extremely well. It has Markdown support built in, for example. I write most of my Evernote notes using markdown format, but Evernote has a habit of adding extra hidden formatting that only becomes obvious when those notes are opened in Draft or Stackedit (it also throws in odd whitespace characters when I copy notes across to Emacs)

Simplenote allows you to download a zip file of all your notes, and its at this point the advantage of sticking to text only really hits home: the files downloaded are text files. That sounds obvious, but it means that rather than picking your way through xml or whatever, you can open an individual note in your favourite text editor and start editing. It’s that simple.

Keeping things text also reduces memory usage, which in turn allows Simplenote to add a history feature – pull back a slider and see previous versions of your notes.

There are some things that aren’t quite there… For example, although you can tag notes in Simplenote, I’ve yet to find a way to filter multiple tags, something that is essential if you want to replicate Evernote’s notebook stacks, which I do.

In summary then, Simplenote does a lot of things better than Evernote, but it’s not a full Evernote replacement.

So which will I be using in future?

No question. Simplenote, for the sole reason that it has the Linux client. It’s not just a question of what to do when there’s no internet connection, it’s also a question of speed. Chrome is so big nowadays it takes an appreciable amount of time to load. Add to that the occasional hiccup when changing between notes on a web browser and the benefits of having a client become obvious.

I wrote this blog entry on Evernote. It may be the last one I do…

EXIF: WordPress Images Appear Rotated

I recently encountered a problem with images appearing rotated whilst updating the latest posting in the How Writers Write feature on this WordPress powered website.

The images looked fine whilst I was editing the page, but when previewed they appeared rotated.

Searching online showed this to be a known problem, all to do with EXIF data. You can read more about EXIF data by following this link to How-To Geek

The WordPress problem seems to be that the images are recorded with one orientation and then displayed with the rotation stored in the EXIF data added to them.

The easiest way I’ve found to get the images displaying properly is to first strip the EXIF data and then to rotate them appropriately before uploading. There are instructions on the How-To Geek link above on how to strip EXIF data in Windows.

It’s a lot simpler in Ubuntu or similar.

First, install exiftool

sudo aptitude install exiftool

Exiftool allows you to look at the EXIF data in an image as follows

exiftool someImage.jpg

We want the data stripped. Copy your images to a directory (I just copy them to my pristine desktop) and then run the following command

me@comp:~/Desktop$ exiftool -all= -overwrite_original -ext jpg .

And that’s it. Time for a cup of tea.

Upgraded to Windows 10 and Ubuntu 15.10

… and that’s it.

Absolutely no problems at all. I didn’t even have to reinstall GRUB as some sites warned me I’d have to.

That’s a dual boot machine, partitioned flash drive.

I don’t know what else to say, I almost feel cheated. Both upgrades took about 15 minutes.

Looks like I’ve got no excuses for not filling in my tax return now.

Ubuntu 15.04 + Chillblast Fusion Quasar

I’ve installed Ubuntu 15.04 on my new PC with little difficulty. The machine came with 64bit Windows 8.1 pre-installed, I partitioned the SSD and HDD drives appropriately and Ubuntu went on with no problems…

… once I’d managed to get the usb drive with the installer to boot in the correct mode.

Windows had been installed in legacy boot mode, the usb kept booting in UEFI mode. First I changed the BIOS settings so that devices booted in legacy mode only. This meant that the PC wouldn’t boot from the usb at all. I eventually found an option in the BIOS to force boot from usb and everything went fine.

So far everything is working okay apart from printing from usb (network printing is fine) and Geeknote connection to Evernote. I did have problems getting the Linux Spotify client to work, but the following post gave a solution: http://www.webupd8.org/2015/04/fix-missing-libgcrypt11-causing-spotify.html

I hope the above is of some use to someone!

Update 10/5/15: Had to download the latest hp-lip to get usb printing working. All sorted now

Codes that Changed the World: Fortran

Before Fortran there was no poetry in programming

The BBC are doing a a very interesting radio series on programming languages called Codes that Changed the World, starting with this one on Fortran.

I learned Fortran 77 at university as part of my maths degree. What most sticks in my memory are the dreadful videos we were made to watch featuring a male programmer trying to explain concepts to his dumb girlfriend. That we found the videos offensive goes without saying. I (and many others) stopped going to the lectures and taught ourselves using the text book.

What really puzzled me was why they showed the videos in the first place. Even the lecturer used to apologise for them, saying they were dreadfully old fashioned, but they can’t have been that old. I went to university in 1984. Now, when did Fortran 77 come out, I wonder?

5 Common Linux Misconceptions

1. The Linux Filesystem Hierarchy is a logical, sensible structure

It’s not. It’s something that has been cobbled together in an attempt to unify diverging practices. In an age of terabyte hard drives its easy to forget a time when you were limited to just a couple of floppy drives for storage and had to store programs across different locations.

That’s why program files today are stored in /usr and /opt. And /usr/local. And /usr/bin and /usr/sbin. Oh and /bin and /sbin. When you can’t store everything in one place, you have to make (sometimes artificial) distinctions between where things go. Remember a time when you used to boot up a computer with one floppy, then put in a second floppy with an application program, then a third floppy with data files?

Someone designing a directory structure in a world where terabyte HDDs are the norm might be persuaded it was a good idea to keep bootup files separate in /bin. But /usr/sbin? /opt? I don’t think so.

Have a look at Gobolinux http://www.gobolinux.org/ As they say

GoboLinux is an alternative Linux distribution which redefines the entire filesystem hierarchy.

If you want to know what goes where, there’s a nice overview of the Linux Directory Structure here: http://www.comptechdoc.org/os/linux/usersguide/linux_ugfilestruct.html

2. Bash is just like the Windows shell, except with different commands

Here’s a simple test. How do you use the ls command to list directories only?

Checking the man page, it’s obviously ls -d, right?

Wrong.

Do a Google search on linux list directories only and you’ll find a lot of people making the same mistake. It all comes down to failing to realise that its Bash that’s expanding the * wildcard, and not the ls command itself.

If you’re going to use Bash, you’re going to have to take a little time to read up on how it works. This is a great site: http://linuxcommand.org/

(My preferred method is ls -d */, btw.)

3. The .exe files are in there somewhere

It’s easy to accept that file extensions aren’t necessary in Linux, but it’s hard to shake the idea that something like exe files are still lurking in there somewhere, albeit under different names.

Not really. Linux is far, far more modular than Windows. This is down to the philosophy on which the system is built: programs tools chain their input and output to produce results. A typical Windows application is a flat pack wardrobe, something that solves one problem. A typical Linux application has been formed from many parts using the equivalent of saws, hammers, screwdrivers and chisels.

As an example, a GUI based program that would be a single exe file in Windows would typically be a graphic interface to command line utility in Linux. In terms of user experience, there should be no difference, but behind the scenes, things are very different.

4. Linux is faster/uses less resources than Windows

That may have been true back in the Windows Vista Bloatware days, and it may be true for lightweight distros like Puppy Linux http://puppylinux.org/ and Damn Small Linux http://www.damnsmalllinux.org/, but its not so true now.

Windows 8 may have the worst user interface ever devised, but it installs quickly, loads quickly and runs quickly, matching if not beating systems like Ubuntu 14.04 in benchmark tests.

Why mention Ubuntu 14.04? Well, that leads onto the next point…

5. It doesn’t matter what it looks like, so long as it works

It does.

It really, really matters.

You might do everything via the command line. You might think that Openbox is all you need as far as desktop management goes, but you’re in a minority.

If you’re the only person using your computer, then fine, but if your less technologically inclined partner, friends, parents or children are relying on you to provide the IT then all of a sudden looks really matter.

Of course they does. In a world slowly being taken over by Apple this is so obvious it shouldn’t need saying.

The command line is fantastic, lxde is a miracle of economy, damn small linux is damn fine, but they’re not what most people regard as a solution. What most people want is something that looks good and is so easy to use they don’t even have to think about it. And there’s nothing wrong with that. I don’t care how my shirts are made as long as they look smart and feel comfortable. Most people feel the same way about their computer.

Change

I’ve just changed the hosting for my websites. I’ve been meaning to do it for a couple of years now, but there are always other things to do. Add to that the worry that there are so many services dependent upon the hosting provider its no surprise that I ended up staying where I was, paying over the odds for a declining service.

That’s the modern business model, get you tied down to so many different services you find it harder and harder to move. That’s why Apple and Google like to make themselves so indispensable to all the different parts of your life. That’s why people hate to move banks: they’re worried about the fuss of changing all their standing orders. Well, I moved banks in the mid 90’s, and once I’d done it I realised how easy it was to do it a second time. Once you become aware of how something works you become free to uproot and move somewhere better. People accept second best because they’re afraid to move on. They’re afraid because they don’t know how.

That’s my view, at least.

Vincent Deary writes far more convincingly on why people find it so difficult to change in his book How We Are (How to Live Trilogy 1).

Vincent Deary is a health psychologist, but don’t hold that against him. He’s written a quietly literary book that meanders through an impressive range of sources and references on just why people are creatures of habit. From urban planners to Terry Pratchett, from Primo Levi to Buffy the Vampire Slayer, this is a book packed full of small revelations that unite to form an oddly positive and refreshingly different perspective on what it is to be human.

As for the new webhosting… Well, so far it’s very, very good indeed. So good I’m thinking of giving them a mention on my tech site.