Sunday, Counter Riot, Wings and Microcontrollers

It’s already Sunday night, and the Sunday sadness is currently being mitigated by Pepper preening on my left hand, a jug of Carlo, a bellyfull of home-made Mulligatawny soup, some nice dub and the prospect of a three day week ahead.
Apologies for yet more bullets but it saves a bunch of neurons from exhaustion:

  • Friday night was a rare excursion from the sofa. Duttybwoi and I got the train from work to Manayunk and then performed the old magic trick of turning into a pub. Michele wandered down and after a few pints, some hush puppies and some seriously ring-threatening wings we headed over to The Grape Room where our friend’s band was performing in celebration of the release of their new album. Hearing them in the flesh was unnerving; there’s only three of them, and they all play conventional instruments, but it sounded like it did on the album… they had the crowd properly rocking too.
  • Yesterday I topped up on testosterone by visiting our local hardware store. It is one of those magical places that sell everything and are staffed exclusively by psychotically helpful and knowledgable people who seem driven solely by their desire to make you leave the shop confident and contented. One of the items purchased was an “awl” as they call it over here. It has now replaced the hoe as my favourite tool; even though it’s essentially a pointed stick, and bigger than I’d hoped for, it helped me put up another blind in record time with no drill required. Damn I love my awl.
  • Mr Fritz just pointed me to a particularly excellent interview of Jon Stewart by Rachel Maddow, together with a recipe for Spruce Beer which I now crave.
  • Microcontrollers have moved on since I last worked with them (8 years ago, almost to the day). Today I plugged in a toy I bought almost a year ago and was blown away by it: a CUI-32 development board. It’s tiny, cheap and comes installed with its own Operating System called StickOS. No extra hardware beyond a USB cable is required to start programming this little beauty. Perhaps it was a fear of the unknown that prevented me from trying it out until today, but it does what it says in the blurb! You plug it into to your USB port and you can program the little guy with nothing more than a terminal! On the mac I used screen. BTW – I also had to install FTDI drivers under OS-X – even snow leopard. I thought these were pretty standard now, evidently not.
    From the terminal you can write fully functional programs in BASIC, or send your assembler directly to the device and it’ll work as well as you wrote it. The really amazing thing to me was that it did exactly what it was supposed to do with no aggro. Growing up with PAD’s and Terminal Servers has made me utterly respectful of terminal interfaces – so this is just too cool.
  • I still managed to have a chat with the family which was lovely except for the news that Uncle Bert has died. This type of news never makes me happy. Even though I only really ever saw him at funerals (for the last 20 years anyway)he was still my mum’s brother. Not good.
  • Thanksgiving is next week – that means we workers get a day or two off work. That is good thing.
Share

A dog with two nobs

Finally, we made it to the Library to pick up the book I’d ordered weeks ago: GEB. I’m not complaining that the Library isn’t open on weekends – well actually I am. OK it’s great that unemployed people have access to the truly awesome wealth of knowledge of the Philadelphia Free Library but why rule out us wage slaves? But they do open until 8pm a couple of days a week and so a small amount of planning makes it less painful. And PHL really does have an enviable library system.

Anyway, my first dive into the book has already started firing neurons like an arsonist on fireworks night. It wouldn’t have mattered how many times I listened to Bach’s music, the true bloody genius of it would never have sunk in. At most I’d have been able to enjoy it, or not. But once the patterns are explained, it opens up a whole new world of experience. Until this evening I had no idea of what a Canon or a Fugue were in musical terms – now I’m aware of a entire universe of stuff I don’t know anything about; learning can really make you feel stupid.

Here’s a really simple example of the kinds of magical tricks Bach performed with his music, elegantly illustrated by some dude on teh Internets, taken from Bach’s Musical Offerings. Not only is this a very impressive example of extreme cunning in the musical arena, it also sounds beautiful, and he could come up with complexities like this on the fly! Here’s another, albeit more difficult to understand, example from Musical Offerings that illustrates his wilyness.

Yes, sorry to those of you who know this stuff already – but I’m afraid there’ll be more of this boring evangelising until I finish the bloody book.

Share

Some Football/Muggy-bonehead

Here is a random selection of football/muggy-bonehead:

  • Muggy-Bonehead: Video Howtos.
    HOWTOs were one of the best things about Linux when I first started. They explained exactly how to do something in simple layman’s terms. They were written in plain, easily comprehensible HTML and could be printed out to be used wherever your computer was located. Network was optional.
    But nowadays, people can’t just sit down and write clear and plain text, they all have to be fucking TV presenters. The You-Tube tutorial is one of the worst consequences of the cheap CCD. Rather than skimming a page for relevant information, we have to try and scrub through a tedious 10 minute video which mainly consists of some little twat’s poor typing on a black console screen! Just type it out in a text editor! You will not get famous, asked to present X-Factor or laid as a result of this bullshit. Type it out in plain text/HTML/Docbook and you will get the unspoken respect of thousands of your peers. If that isn’t enough for you, get a coke habit and leave the rest of us alone. Here’s an example: I wanted to find out about some of the inner details of the web-cam drivers under Linux. For example, what does GSPCA stand for and what interfaces does it provide? After a bollocksload of googling all I kept coming up against was this tedious fucking video of a geek with no communication skills, typing shit into a terminal: http://www.youtube.com/watch?v=FxVsxxfbggg.
    “Feel free to pause the video if you need to copy these lines into your terminal” – this is NOT progress. If, rather than trying to be the worlds least charismatic TV presenter, you had simply typed this shit into a text editor, we could “Copy and Paste” the lines directly into the terminal! Unless we were using Windows Phone 7 of course. Either way, you have a face for text-files – stop trying to make yourself more interesting and instead, gain some respect from your peers.
  • Football: The Toy Will Win is an excellent tech post and it made me happy.
  • Muggy Bonehead: Dan Bull. He did that open letter to Lily Allen thing and I liked it, and found myself liking him. But today his youthful smugness got right on my tits as he wrote another one of his identical semi-raps, but this time objecting to the “bad apples that spoiled an otherwise significant demonstration” – the students that raided Millbank. They’re not wankers Dan, you are. They’re angry – as am I – but they got up and caused some aggro, while you and I got on with our poxy day jobs. Your little publicity coup with the Lily song is now in the past – you’re going to have to try harder from now on. That you made a tune about the activists highlights the fact that you had heard of them. That’s because they got on the news. They got on the news because they started doing “bad” things. Much like the Poll Tax riots, the Brixton Riots, the Miners’ battle and all of the other significant public displays of anger that have shaped history. If no-one broke a window, no-one else would ever hear about the demonstration. Fuck you Dan Bull – you’re not angry enough to matter.

That’s enough for tonight. BTW I know Dan Bull doesn’t read this, but he is clearly the sort of bloke who Googles himself on a regular basis, so eventually he will.

Share

The Green Green Grass

Every time I go back to the old country it feels like I’ve pressed a Pause button on the life in Philly, and then pressed Play back in London. The only real changes are, for the most part, superficial and so it feels like no time has passed. The problem is that as a result of this, coming back to Philly and pressing Play feels like no time has elapsed, and so the entire vacation (holiday) is lumped together with all of the other English memories. It feels like the break never happened; obviously the memories are there, but they don’t feel recent.

The other problem is that international travel is still, even in 2010, a major pain in the brown-eye. By now we really should have the ability to pop over to London for the weekend, and then come back via a small sojourn in Amsterdam – finishing off the end of Sunday night with a couple of pints in New York. Ideally I’d like to be able to get on a 321 at the top of the road and spend the day in Eltham with my family, then catch a 99 up to New York for a few drinks before popping onto a 9 to Manayunk and getting into bed. Why is that still not possible, scientists?

As a result of the enormous hassle of travel, a two week “break” is filled with desperate attempts to do everything, see everyone and relax at the same time – which results in stress and failure.

As the whole experience is already drifting away from memory here is a list of things wha appen:

  • Seeing my ever expanding family – which now includes the loveliest niece in the world and some of the best Roast Lamb dinners available on the planet.
  • Spending time with K8 and family whilst working on moving from one ISP to another. It also provided ample time for slagging off Dame Shirley Porter, Blair and Murdoch.
  • A great first Friday night at the pub. I think. At the time it seemed like the best night I’ve ever had – and then I woke up in footscray, on the 321, sitting next to a box of fried chicken, with the bus driver shouting at me: “I tried to wake you up”. There’s no lonelier place on earth than Footscray at 2am. Probly. After staggering for what seemed like hours, with tears of tiredness and defeat, I managed to get a lift home. I still don’t remember how. It may have been the result of an outstretched thumb, but he may also have been a cab. But maybe not. I vaguely remember giving him a score for the journey – but still can’t be sure. I was in bed by 4am though – so no harm done…physically anyway.
  • Many visits to many pubs with old friends who managed to instantly fall back into friendship without aggro or annoyance at how crap we had been, individually or bi-directionally, at staying in touch with each other. Perhaps that’s a good definition of a friend: someone with whom you can meet after years of minimal contact, and still feel as comfortable as the last time you met. Frankly I’m always amazed when someone can be bothered to talk to me after not seeing them for a number of years – especially when they’re someone I really like and miss. It’s quite a comfort to know that despite how much we’ve changed, we can still have a laugh in a pub.
  • A computer fair where I managed to buy an iPod shuffle ripoff (which took micro SD cards) for a tenner.
  • Spending time with my family. Yeah I know I’ve already said this – but it was really excellent.
  • Quality curries, and quality bitter. Szn made this even more special by not only joining me in a post-curry Calvados but also by suggesting a drink in the Dacre. Perfection.
  • The grass is greener there. Then again that does make sense when you consider the utterly depressing amount of persistent pissing rain that comes down.
  • Sutcliffe Park and all of the local birds. We miss you.
Share


Eat The Rich

For a while now I’ve had a “bee in my bonnet” (horrible cliché I know but better than the bug/ass one) about the only battle that matters: rich vs poor.

During our lunch break today a “heated debate” (horrible cliché I know but better than slanging/match one) took place about politics. The cause can be discussed later, but yet again it touched on my main gripe about all politics, in all countries, in all historical periods: we’re all avoiding the real issue, and that is intentional.

In a nutshell, what I’m trying to say is that throughout history there has only been one battle: rich versus poor. Additionally, the rich have taken it upon themselves to divert the attention of the poor from this battle and onto other, less important things. For simplicity, from this point on I’m going to refer to “the rich” as “the thumb”. You could substitute “The Man”, “The Police”, “The Military” or “The Market” there, because they all exist for the same thing: protection of the rich.

It’s also important to realise that “The Thumb” doesn’t include people who earn X hundred thousand dollars a year. As rich as these people are, they’re still under The Thumb – it just affects them less. The Thumb is a class of people whose income is difficult to discern because they have so many ways to hide it.

The important thing to realise about The Thumb is that they only have one job, and they’re very, very good at it: diverting our attention from the battle against rich and poor, to other shit that doesn’t matter.

When do you ever hear about people being angry at the rich?
People bitch about immigration, taxation, socialism, social security and all of the other things that are, financially, a piss in the ocean compared to the amount of money made by The Thumb. Compare the amounts of money that were plucked out of thin air during the GFC and given back to The Thumb. The only people who got hurt were the poor! Poor people were evicted! How does that help anyone at all?

We are all subjected to propaganda every day of our lives ranging from discussions about celebrities, Chilean Miners trapped in a hole, X-factor contestants, to Democrats Vs Republicans. These are all fake – they are distractions from the real battle of rich vs poor. And we go along with it.

33 Miners rescued in [currently Thumb-friendly] Chile. Good for them. But where was the reality TV show showing the devastation of the thousands of people in Pakistan following the floods? Well, they’re only Pakis after all I suppose. Muslims. No 24 hour coverage of thousands of families dealing with their grief. No 24/7 coverage of the poor families who were made homeless even though no-one else could afford to live in their old house either. No-one really cares…unless they are given in-depth details of the problem. But that needs the media. So, as the media is run by The Thumb, this kind of topic gets left out of the schedule.

OK end of rant. Remember, in the words of Faithless: Inaction is a weapon of mass destruction.

Share

My first Quine

My first Quine:

#!/usr/bin/perl
$str="dXNlIE1JTUU6OkJhc2U2NDsKCiMgVGhpcyBpcyBteSBmaXJzdCBR
dWluZSEKIyBmYXRzcXVpcnJlbC5vcmcvdmVnaGVhZAoKcHJpbnQgIiMhL3
Vzci9iaW4vcGVybFxuXCRzdHI9XCIkc3RyXCI7XG4iLmRlY29kZV9iYXNl
NjQoJHN0cik7Cg==";
use MIME::Base64;

# This is my first Quine!
# fatsquirrel.org/veghead

print "#!/usr/bin/perl\n\$str=\"$str\";\n".decode_base64($str);

(thanks to Gary for cluing me in to Syntax Highlighter)

Share

Another lacklustre update:

  • Last week my dad told me about an article in New Scientist concerning flaws in mathematics. After reading it I have become fascinated with Gödel and the incompleteness theorems. It took several readings of some excellent on-line publications before I understood how he did it, but once you understand, you cannot help but appreciate what a genius the man was. Not only did he put a spanner in the works of all philosophy and mathematics, he did it in a most sneaky, brilliant and legitimate way. He was a true Hacker. It turns out that I share a birthday with him – if you ever needed proof against astrology then that should do it. The Philadelphia Free library has several copies of Gödel, Escher, Bach; one of which is going to arrive in my local library rsn.
  • Bruce Schneier has a typically brilliant analysis of the professionally created worm that’s currently scaring people.
  • Why did no-one tell me there was a new series of New Tricks?
  • Firefly turns out to be as good as people have been saying! For geeks, think Blakes 7 crossed with Deadwood – except that the swearing is in Mandarin.
  • Why did no-one tell me there was a new series of Phoneshop?
Share

Microshit, WordPress, Charlie Brooker, George Orwell and Electricity

Some stuff:

  • After spending far too much time trying to get some perfectly correct CSS to work in IE8 this afternoon, it’s nice to know that Microsoft is abandoning its lame blog-hosting service so that it can concentrate on The Kin The Tablet…something or other. Instead, they will be migrating their user-base to the free, open-source, everything-they-stand-against-but-works-better-than-any-of-their-shit: WordPress.
  • Charlie Brooker has written a lovely description of why sport sucks which is satisfyingly reminiscent of George Orwell’s discussion of “The Sporting Spirit”.
  • Matt Taibbi, the disproportionately high quality journalist for Rolling Stone, has written a description of how the astroturf “Tea Party Movement” came to be. Read to the end.
  • Walking from the bus-stop on Ridge down to our home is a surprisingly pleasurable experience. Not only because it is downhill, but because it gives a lovely perspective on our life: we live on a friendly street.
    On reaching our home tonight, I was surprised to see how many people were on their porches/stoops; our neighbour, Denise, told me why:the power was out. So after shouting some swearwords, I stumbled into our dark house and tried to find the Megatorch [flashlight]. The Megatorch had evidently run out of batteries, because that is what they do, but I managed to get enough light to find the wine, and a glass, and rejoin our neighbours on the porch.
    It was a lovely evening, and I was really enjoying the outside air when the lights came back on. The cheer from the surrounding area was more impressive than anything provoked by any sporting event I can remember. We are all slaves to electricity.

But the Internet is awesome, isn’t it?

Share

An instant solution to the problems of the DNS

This afternoon a few workmates and I discussed domain names and whether the internationalization of them was a good thing or a bad thing. Through a convoluted series of arguments I found myself defending a ridiculous point of view: that domain names should be restricted to fewer characters than currently, rather than more.
As stupid as this sounds, it was based on some reasonable arguments, which I won’t go into because they’re clearly ridiculous; but still fun to argue. Also, it’s because I’ve found a much better solution.
During the bus-ride home, I came up with a way to fix many of the problems of the DNS, together with the ubiquitous problems inherent in domain-name registration in one go: get rid of domain names altogether.

Hear me out before you scoff.

While I was mulling this over, it became apparent that not only was this the correct next step, but it was already starting to happen.

It’s probably easier to explain what I’m trying to express by giving real-world examples of how domain names are already being rendered pointless.

  • You need to visit “My Big Assed Bank” – how would you get to their site without domain names?
    Well, how do you do it now? Do you type their “correct” URL into your browser? Or do you type their name into Google and click on the link? Maybe you click a bookmark? Either way, you don’t need to know their “real” domain name – especially as most of these hopeless organisations will bounce you to third-party “verification” systems en route to your final destination where you part with your cash. Domain names are currently ignored during this process. Even TLS (SSL) has been abused at this point with the use of iframes. “Verified by Visa” is one of the worst ideas ever produced – and it undermines the vast majority of sensible, effective, and cheap authentication mechanisms available today.
  • How would someone be able to send you a link to an interesting site without a domain name?
    Well, how do you do it now? Do you send someone a link and rely on them copying the text of the link and pasting into their browser? Or do you send them a blob of opaque stuff that they click on? Maybe you drag the link to the email? Why need an address when you can send an opaque “web site link object” (which could mean anything from an .lnk file, to a shortened URL) that they click on?
  • What about advertising? How will companies promote their website without a URL people can use?
    People don’t need a URL! They type the company name into Google! The technology to prove that someone has connected to the correct website is already available. It’s called TLS – and if banks understood it well enough to use it properly we would all be much better off.
  • But URLs (URIs) are memorable! What would we do without them?
    Do you know your friends’ cellphone numbers by heart? If so then you are in the minority. Most people rely on their phone’s contact-book – to connect them to the correct party. Why need the details of the address? Opaque addresses are not only feasible in this day and age, but widely used! If you’ve ever clicked on a bit.ly link, or scanned a URI from a QR code, you’ll understand what I mean.

But there is a fly in the ointment: HTTP currently gives a great deal of credence to domain-names when identifying websites. For example, a single IP(v4) address may host a thousand websites; the only way the web server knows which site you actually wanted is by the domain name you requested. But, like NAT, this is a workaround for the inadequacies of IPv4. When IPv6 actually comes into play, this need is obliterated. There will be no need for people to know the address of the server to which they are connecting. Already, when you go to google.com, you have no idea, nor any reason to care, which IP address you are connecting to. And why should you care?

The DNS is tightly tied to IPv4, which is on its way out. Let’s ditch it once IPv6 becomes as ubiquitous as it bloody-well should be by now.

People don’t need domain names, they need “links” which can be abstracted as much as you like. URI’s need to stick around, obviously – but they work perfectly well without DNS.

Share