Sci-Ence! Justice Leak!

Suggestions for web-based feed readers?

Posted in computing by Andrew Hickey on October 8, 2012

Since Google Reader lost half the functionality that made it worthwhile, I’d switched to Goodbits, which had the functionality that Google Reader still had, and didn’t belong to Google, and which was planning to implement the other functionality.

Unfortunately, Goodbits is shutting down in a week’s time. Can anyone recommend a good web-based feed reader? It has to be web-based because I use multiple machines and don’t want to spend half my life coping with duplication. Ideally, it would have sharing facilities, too. Can anyone recommend anything?

(Basically, what I want is Google Reader as it existed in September 2011. I am aware that nothing like that currently does exist, but the closer I can get the better.)

Were it not for the fact that any code I write is owned by my employer, I’d be very tempted indeed to knock a Google Reader clone together. The demand is definitely still there…

Tagged with:

Why I Won’t Be Blogging The Hugo Shortlist This Year

Posted in books, computing by Andrew Hickey on July 5, 2012

This year, an actual majority of the entries in the Hugo Awards have made their Hugo Packet submissions PDF-only. See Charles Stross’ blog post about this from two years ago for why this is a bad thing.

Last year, for those books which were PDF-only, I was able to reflow them in the ereader I had then (an iRiver Story). However, that broke a few days ago (just after the warranty expired, of course), and I discovered that the wonders of market forces now meant that there are only two ereaders (by which I mean e-ink devices which are designed for reading, rather than generic tablets marketed to readers) available in the whole of Manchester — the Kindle and the Kobo. (Actually, there is a third, a Sony ereader which Argos sell, for sixty quid more than the most expensive price I saw for either of the other two).

I bought the Kobo because I’d rather a duopoly than a monopoly, but unlike the iRiver I used to have the Kobo doesn’t have PDF reflow capability.

(This is one reason why Free Software needs to become more prevalent, incidentally — people *want* PDF reflow on the Kobo but can’t get it, and can’t write it themselves. Unfortunately, I know of no eink device that runs a free OS.)

This means that I have the following choices if I want to read the books (those where I even have the option — the books by Mira Grant get as far as the ‘by the same author’ page and then stop):
a) Read them on a computer. I don’t want to do this as I spend enough time staring at a computer anyway, and because I do a lot of my leisure reading on the train and bus into work and on my lunch break,
b) Squint at a tiny little picture of what a book page would look like — one of the main reasons I like having an ereader is that it allows me to reduce eyestrain, because of the aforementioned staring at a computer. I can do this for short scientific papers, but not for a 900-page novel like A Dance With Dragons
c) Use the magnify function and keep scrolling round a screen, shuttling from one side to another as I read each individual line — no chance.
d) Use Calibre to convert the books from PDF to ePub. This is what I’m going to do, so I’ll eventually get to read them, but I won’t have time to do this before the voting period ends.

So no Hugo votes from me this year, and I suspect none from any user of the Kobo, which is I believe second most-popular ereader in the UK and third most popular worldwide. (I *may* for example vote for Among Others by Jo Walton because it’s the ONLY novel that’s provided in multiple formats).

I truly appreciate the Hugo Packet, and I think it’s a wonderful thing in many, many ways. But if publishers aren’t going to provide actual ebook versions of books, why are they bothering?

Tagged with: , ,

Why the pirate bay ‘block’ won’t work

Posted in computing by Andrew Hickey on May 1, 2012

The High Court has apparently ordered most British ISPs to block access to the Pirate Bay, a website which allegedly hosts copyright-infringing material, as of later this month. They’ve been ordered to do this by blacklisting it on their DNS servers, so the name won’t resolve to its IP address.

The problem is, this is trivially easy to circumvent. In order of increasing technical difficulty, these are the ways round this that I’ve thought of in less than five minutes:

Visit an online DNS lookup service, type the pirate bay’s URL in, copy-and-paste the IP address into your web browser’s toolbar.

Use an online anonymising proxy to visit the site.

Install one of the at least two Firefox plugins I know of that would get around this.

Set up your own DNS nameserver, and have it get its information from OpenDNS (I actually already do this on my own machine, not for nefarious lawbreaking purposes, but because TalkTalk’s nameservers are so awful.

Install TOR (not the publisher, a piece of anonymising network software) and route all your traffic through that.

Note that I am not suggesting anyone actually do any of these things — if nothing else, there are much easier ways of accessing copyrighted material illegally than that — but I’m pointing out that for anyone with enough technical knowledge to use BitTorrent at all (it sounds daft, but a majority of people online now simply don’t have even that level of knowledge), DNS blocking is about as much of a barrier as a sheet of thin tissue paper.

I think when enforcing a law becomes this impossible — and this shows how impossible to enforce the current law is — we need seriously to consider alternatives to that law, rather than having ever-stricter (and ever-more-unenforceable) versions of the law. I don’t know what the solution is to the problem of compensating people for their ‘intellectual property’ in a world of near-instantaneous perfect copying (and it’s a problem I’m keenly aware of — in my day job I’m a software engineer, and I at least attempt professionalism in my writing and my music) but we won’t find it if governments keep looking in the same place…

Windows : Not Ready For The Desktop

Posted in computing by Andrew Hickey on April 7, 2012

(Almost all of the following is true)

I had to install Windows on a computer on Thursday, after ten years of using GNU/Linux almost exclusively (I’ve occasionally used Solaris or AIX for work stuff). The results convinced me that no matter how much people online talk about this Windows thing, it’s definitely not ready for the desktop.

Firstly, you actually have to *pay* for this thing. Not pay for support, like with Red Hat, but you actually have to pay for the actual software. And you don’t even get the source code with it, just a binary ISO.

There are so many choices, as well — Windows 8, Windows 7, Windows Vista, Windows XP Pro SP 2 — how is the average user meant to know which is the right one? This Windows thing will never get off the ground until there’s one clear option.

So I download Windows XP Pro SP 3, because that seems to be the most popular one, burn the CD, and stick it in the computer.

The installer is rubbish, especially the partitioner — it doesn’t even have fairly standard options like shrinking and enlarging existing partitions, you can just keep them or wipe them. But that’s OK — this is going to be the only OS on this machine. So it takes about an hour to do a simple format of a fairly small drive, before it starts installing.

The installer only creates a single account by default, which has full root access! That’s a good way of ensuring your user is going to wreck their computer…

So it completes its install, and I log in, and there’s no network, even though the ethernet cable is plugged in. No problem, I get a terminal open. Whatever shell they’re using is useless — it doesn’t even have tab-completion (it has C:\ at the prompt, so I’m guessing it’s csh), and ifconfig just returns some sort of error.

No worry, I try to open the config files in vim, so I can fix them manually. Turns out this antiquated piece of junk doesn’t even have vim on it! The only text editor that comes pre-installed is some GUI crap called Notepad, that’s like a really bad clone of gedit — it doesn’t even have syntax highlighting! What use is that?!

But it turns out anyway that you can’t fix your config files manually in Windows, because they’re in some kind of non-human-readable form. How ridiculously user-unfriendly can you get? Does this mean I actually have to learn how to manually edit binary blobs just to get stuff working?!

Fortunately, I get assistance. Apparently, Windows does have some diagnostic tools, but (get this!) you can’t just type the names in and have them work — you have to go through four or five nested menus to get to them. And you have to know which ones you want before you can get to them. If I hadn’t had an expert on hand, I’d have been stuck. You shouldn’t have to get expert help just to get your computer running!

Anyway, after a load of arcane GUI manipulation that I could make no sense of at all, we finally found out that (you won’t believe this, but I swear it’s true) Windows doesn’t come with drivers for the network card! I had to download them from the website — not of the operating system, like you might think, but of Dell, who made the computer! Thank God we had another computer there.

(Oh, and I only found this out after googling for the error message I’d been getting, and getting a ‘help’ page that wouldn’t tell me how to fix it because I wasn’t using the OS I was asking about!)

So I download these files and stick them on a USB stick. Apparently Windows doesn’t recognise a perfectly straightforward ext3-formatted thumb drive! So I reformat it on the GNU/Linux box I downloaded the files onto, into FAT32, and try again — it still thinks it’s not there. I end up having to format the stick on the Windows box, move it back to the GNU/Linux one, copy the files across, and then move it back again.

Then the ‘diagnostic tool’, which is meant to help you but is just some uninformative GUI, greys out the thumb drive when you try to search for the drivers, even though it asks you to select where it should look. Luckily, my Windows-expert friend knows you can also run these drivers separately and they’ll install themselves.

So we ‘double-click’ (what a ridiculous thing to have to do!) the files, and up pops about twelve pages of some ridiculous roll-your-own license that they expect us to read through! Why they can’t just use the GPL or a BSD license or something, I don’t know, rather than this ridiculous thing I can’t even be bothered to read. Nobody can possibly understand this stuff — how do they expect non-techy types to cope with it? Licenses should be simple.

Anyway, after clicking this thing, it installs! It doesn’t ask for the root password or anything! Click a GUI thingy and the next thing you know you’ve made an irreversible change to your machine’s configuration! That’s incredibly dangerous.

So now we’ve got the network drivers installed. I’m not even going to *try* to get the right video drivers installed, I’ll just leave everything on the screen embiggened, but I need to install a particular piece of software.

It turns out Windows doesn’t even have apt or yum installed! There are no software repos at all! If you want, say, VLC, you can’t just type apt-get install vlc and have it install itself, you have to actually visit a potentially-insecure website — a different one for every piece of software — and download something called an ‘exe’. Who understands all this techy jargon?! Why can’t they just have a nice, simple repo with all the stuff everyone needs, like vim and gcc and LyX and so on, like GNU/Linux distros do?

And finally, the machine keeps warning me that it’s unsafe, because I don’t have something called ‘virus protection software’ installed. A quick Google tells me something I should have known from the start — this whole Windows thing is simply a protection racket. You install it, and then it scares you into installing some other software you have to pay loads of money for, and if you don’t then some kid from Russia can get control of your machine and use it to send spam out! “Nice computer you’ve got here. Wouldn’t want anything to… happen to it…” Quite why people continue to pay money to these ‘virus’ people I don’t know. Personally, I won’t submit to blackmail in that way.

So there we go. Windows is conclusively not suitable for the desktop, and it never will be so long as it continues with these horribly user-unfriendly things. In this day and age you simply can’t go about having no driver support, or support for common file formats, and as for the whole software installation process and the virus thing, don’t get me started.

No, I’ll stick with my nice, simple, user-friendly Debian install, and leave this Windows thing where it obviously belongs, as a hobbyist’s OS for techies who like frustration.

Tagged with: , ,

Using Spotify to sync music to iPod from GNU/Linux

Posted in computing by Andrew Hickey on March 13, 2012

Just a very quick tip for Linux users with iPods – you can use Spotify to sync music between your desktop and the iPod.

The reason I mention this is that my wife’s well-meaning parents got her an iPod for Xmas, and we quickly discovered that it’s not possible to plug a new iPod into a GNU/Linux computer and have it ‘just work’ (libimobiledevice, which sorts out syncing of older iPods, doesn’t yet have music syncing for iOS5, and nor does it have it planned for the next release). And while Apple have their iCloud thing which allows you to store stuff on their servers and then access it from an iOS device or web browser, to *upload* music to their cloud you need to use their proprietary software which doesn’t work on GNU/Linux.

We could, of course, run iTunes in WINE – except that downloading iTunes requires some Windows-only hackery that means you can’t do it from a browser running on GNU/Linux as far as I can tell.

This sort of thing is why I normally avoid both closed devices and non-free software, and why I have a loathing for Apple and all its workings that sends me into a blood-boiling rage whenever the name of Steve Jobs is mentioned. But happily, I have a single piece of non-free software installed on my machine, and that software provides a solution.

If you have a Spotify premium account (and it is *well* worth it if you don’t and you love music – unfortunately new accounts require a Facebook account (older ones didn’t), but there’s nothing to stop you creating a FB account with a disposable email address and never using it again if you don’t want an account there) and wireless internet you can do the following.

First, allow Spotify to see the local files you want to sync. You do this by going to edit->preferences and then clicking “Add source” under “Local Files”.

Next, create a playlist of those files.

Now connect your iOS device to the same wireless router your GNU/Linux box is connected to, and from the App store, download Spotify. Log onto Spotify with the same ID you use on the GNU/Linux machine. Within a few seconds, your iOS device should show up under ‘devices’. Click on it.

It will show a list of all your Spotify playlists, with a checkbox in the top left hand corner of each. Check the playlist you have created of your MP3s, and they will be copied across to your iOS device, where you can play them in Spotify (you can’t play them in iTunes this way, but you can play them).

While Spotify won’t let the same user play streaming music on multiple devices simultaneously, it *will* let the same user play *local* files on as many devices as you want, so this can be used for multiple iOS devices.

Unfortunately, for those of you who want to watch video, I know of no way to sync video between iOS devices and GNU/Linux computers, but this way works very well for MP3s.

(For those of you running OpenSolaris, one of the BSDs or some other odd OS, Spotify works extremely well in WINE on Debian, and I imagine it will work equally well on any OS on which WINE is supported)

Tagged with: , , , , , ,
Follow

Get every new post delivered to your Inbox.

Join 192 other followers