Category Archives: Rants

Quite enough Raspberry Pi for One Day

As you may know I started a website that runs from two Raspberry Pis. Today, it is my sad duty to tell you that it now only runs from one Raspberry Pi.

Why? Because while shifting around some ethernet cables under my desk, I accidentally pulled one that was attached to Hercule, my main Raspberry Pi with the entirety of Markpond on it. It hit against the inside of my Lego case, and snapped the SD card slot and splintered my SD card. Both of these, it is fair to say, pissed me off a great deal.

In an effort to keep Markpond up and running, I quickly took the slightly broken SD card and taped it into Sherlock, which luckily could boot from it successfully. I then (very) carefully put it in an iMac and made a dd backup of it, which took 4 hours, because it was a 16GB card. Finally I put it back into Sherlock, booted it, and changed the DCHP reservations on my router so that what was Sherlock is now Hercule.

So now I have one functioning Raspberry Pi and one broken one.

I’ve tried basically everything to try to get the (now) Sherlock to boot (superglue, tape, the lot), but all I get is that one red light. But the other problem is that I do remember that this one used to have problems booting even when it did have a fully functioning SD card reader.

And that’s a problem with the Raspberry Pi itself. There is no standard, or there wasn’t any when I bought them. So I don’t know if it’s the power supply that isn’t supplying the needed 5v and 700mA, or that the card is physically broken, or the SD reader that’s physically broken, or the OS on the card that it can’t boot from.

And much of the help online is speculation – “I’ve never had this problem but if I did this is what I’d try”. It’s all very well giving advice, but not very helpful if you have that problem. Stackexchange launched a Raspberry Pi site to try and combat this problem, but questions such as these come along far too often.

But it’s more than just my personal problems with this – everyone is going to have problems like these sooner or later. The Guardian reported that:

[People are enthusiatic about it] mostly because they hope its price, size, software and sturdiness (you can shove it in your pocket without damaging it, supposedly) will make it appeal to kids, and thus lead children into computer programming.

But it’s simply not robust enough for schools yet. If half a millimetre of broken plastic can render an entire unit worthless, how is it going to fare in the hands of over-enthusiastic 8-year-olds, or under-enthusiastic teenagers?

And another thing that people (adults, in particular) don’t seem to understand:

And so, you can’t simply “lead children into computer programming”, like you can’t force someone to do a sport they don’t like. They’ll build up resentment that they have to do it, and because it doesn’t appeal to them, they won’t give it a chance and they’ll hate it.

And one more intrinsic problem with the Raspberry Pi – it’s moving faster than Apple products. And by that I mean every week or so there’s a new OS update, and every few months a new piece of hardware comes out.

There is no documentation, there is no standard because updates come out faster than people can keep up with them, faster than people can write documentation for them.

Please, stop adding more RAM, and, if you must make a new version of the board, design it better. Have you ever tried to hold something square with sharp corners and wires sticking out of all four sides of it, let alone put it on a desk without having cables pulling it off the desk? Yes, it would add to the expense, but why can’t you just move all the cables to one side? Why can’t to design it so the SD card doesn’t stick out the back of it, waiting to be dropped on or broken?

And, I guess the last thing is, the GUI sucks. More than sucks, it’s uninviting, slow, buggy and just generally awful. And that’s why I only run my Raspberry Pis as servers. Because, if you can get them to boot, they’re robust and awesome as being servers.

But, in being good as servers, and bad at GUI, you’ve defeated the point of the Raspberry Pi as being a good tool for education and a good computer to learn to code on, because you either can’t afford or don’t want to spend the money on a laptop/desktop.

Because, in order to use the Raspberry Pi as a server, you have to have clients. Clients to do the code writing on, clients to connect to the web server, clients to connect to the media server. As you may or may not know, I wrote the code for Markpond on my laptop, and then used SFTP to shuttle it onto the Raspberry Pis, where it could be executed.

You couldn’t do that if you didn’t have a laptop/desktop/other computer which you had access to. And that other computer, no matter how old or broken, will still be a better coding experience than coding on a Raspberry Pi.

In conclusion, I would much, much rather pay £10 extra for a well-designed and robust board, with a metal SD slot and nicely aligned ports, than have a tiny piece of fragile plastic that renders the entire unit useless if broken.

What do I want? A standard. Because there is so much untested. That’s not to say that the Raspberry Pi doesn’t have a great community surrounding it, it does – but it has an inexperienced community. It’s almost impossible to be an expert in the Raspberry Pi. I want a definitive list of SD cards that do work, a definitive list of power supplies that do work, a well-built board and well-designed board, but most of all, a board with up-to-date, easy to understand for people less experienced than me, and well-written documentation. Something, that at the moment, the Raspberry Pi is sadly lacking.

Well isn't that an original logo.

Oh dear, AdSense.

Well isn't that an original logo.

Well, I suppose it’s about time for another blog post. This time I hope to give you a brief outline of my experience with Google Adsense. Which, by the way, is not a good one (as you can probably tell from the title).

I will start at the beginning. I generally find this is a good idea. I make YouTube videos, as you know. One day, after making my tutorials about Adobe Muse, I received an email from Google, asking if I wanted to make money from my videos by sharing some of the revenue of the ads that YouTube place next to your videos with me. I, of course, jumped at the prospect, being the entrepreneur that I am.

So I go through all these menu screens about signing up for a Google AdSense account, with (an estimated) 10,000,000 words of Terms and Conditions and Privacy Policies and Disclaimers. Why the capital letters? Why not. Eventually I reach a screen saying that the account that I’m about to create has to be in the name of someone over 18. Why? Legal reasons etc… but it does say that I can make it in the name of my parents and that’s all fine.

So eventually I start adding revenue sharing to all my YouTube videos, as well as some ads on my blog. You’ll see why they’ve gone later. I was earning between 3p and £2 a day. It was very erratic, but it was effectively free money for me. One thing I did note was that I would only be paid when my money hit multiples of £60 (or somewhere around $100 in the US). I thought that that would be fine.

Then, a few weeks later, there was red writing all over my AdSense admin page. I was slightly worried, but after actually reading what they had to say, it figured out it was not so bad. The text said that I would not be sent any money “Until my address had been confirmed”. How were they going to do this? They would send me a physical piece of paper through the post with a code on it that I would then type back into the website to confirm I live in a real place. Which I did because I do.

Over the course of about 4 months, I racked up a grand total of about £70. I was thrilled – every little step closer to a MacBook Air, and my first payment would be arriving soon. But then.

The next day I log into Google AdSense to be greeted by a message saying that my account had been disabled for “Invalid Click Activity”. I was shocked. And wondering what on earth “Invalid Click Activity” could possibly mean. So I had a look at what their definition was, and basically it means that they think I’ve been telling people to click on my ads.

How did they come to this conclusion? Well – I have a theory. As you can probably guess, I go to a school. I usually tell people about my blog from this thing called a school. They usually visit my blog from this school. And therefore, a fairly large amount of my ad clicks come from this school. They see this as one fixed IP address making multiple ad clicks a day. It is therefore OK to for them to assume that I have some kind of spambot clicking on all my ads from somewhere.

The truth is I don’t.

There is an “appeal” form, so I filled that in, outlining everything I have said above in under 400 characters. Why would you limit that? I have no idea. A couple of days later I received an email saying that “Google was sorry, but thought that re-instatement of my account would be impossible”. WHY?

*Rant Alert* (I try not to use capslock, as I believe that this is true, but in this case I have given an exception) Because SOMEONE AT GOOGLE IN IRELAND BECAUSE THEY CAN’T BE ARSED TO PAY FULL UK TAXES HAD NOT EVEN BOTHERED TO READ MY CLAIM FORM, WAS HAVING A BAD DAY OR GENERALLY WANTED TO PISS SOMEONE OFF. SO THEY DID.

And now I am. I sent an angry email back in a fit of disgust. I assume they did not even read it.

So bottom line: this has happened to multiple friends of mine at the same school. One of them had it happen to them twice. I cannot imagine any of them are happy bunnies either. There have also been some friends who have decided suddenly that they want to make money out of their (epic fail) YouTube videos. I have tried to explain why I don’t think this is a good idea (or even very likely to happen) any more, and maybe this blog post will help explain.

I now assume that just before every payment Google make to people they set an algorithm off to trawl through your click results to see if they find anything fishy. Upon doing so they terminate your account and don’t read your appeal form.

A very annoyed Alex, owed £70 by Google, singing off.

HTML4

Deprecated HTML Tags

HTML4

Stuff that shouldn't exist in HTML5

Separating content and styling is very powerful

Something I feel moderately strongly about is the use of tags which are specifically to do with presentation. I am therefore having a go at:

<i>, <em>, <b> and <u>

I will refer to these tags as the tags of doom, and I feel they are from an era when the web was made up of raw data. Paragraphs and headers. And lists. And tables. But not CSS. Continue reading