Google supporting Flash doesn’t make it open

Software

Google IO

Lance Ulanoff quoting a speaker from Google IO:

Android 2.2 2 support Flash and Air. Google: "Part of being open means you’re inclusive, as opposed to exclusive."

I call shenanigans!

Your company is supporting (tacidly or otherwise, the effect is the same) a closed file format readable only by one company's software on the same level as open web standards.

Android has so much going for it, don't use it as a pawn to take cheap shots at a company you can't even summon the courage to name (cough! Apple cough!), and please don't insult our intelligence by saying Flash is part of being an open solution when it isn't.

Your properties such as YouTube have realised Flash is old and unnecessary, and Apple has done much to sway people and old media companies to developing on web standards instead of proprietary plugins; a change that was long overdue. If we all had Android tablets and phones with your open Flash ecosystem instead of the super duper evil iDevices, the latter either wouldn't have happened, or would have happened around 2030.

If it's true that inclusivity equals open, someone should tell Adobe about FreeBSD.


#Anime Hey cool, Mugi can make teh tarik!

Anime

From Pixiv. She's probably not making teh tarik, but I thought it was fun to post anyway! I could go for some right now, might head off to Mr Prata this evening ^^.


Aussie customs can now search laptops

Hardware

It just keeps getting worse.

Australian customs officers have been given new powers to search incoming travellers’ laptops and mobile phones for pornography, a spokeswoman for the Australian sex industry says.

On this post I could…

  • make a a ton of low brow jokes
  • tell you how appauled I am people can legally search laptops without a warrant or due process as stipulated in the Australian constitution and the United Nations Charter of Human Rights
  • point out the technical challenges ranging from legal drive encryption products like TrueCrypt to different operating systems such as Linux and FreeBSD that customs officials might not even know how to use
  • despair that we already have some of the most obnixious, arrogant and rude customs officials in the world and this will only make it worse while the rest of the country watches on a terrible but highly rated television programme
  • lament that come election time we have a choice between the the [supposed] centre-left party that’s been bought off by the Christian lobby as seen in this story, or the conservatives headed by Tony Abbott that tacidly support all Labor’s measures and would probably extend them.

Instead…

This internet filter, our delapidated IT and communications infrastructure, refusal to classify mature games… all this from a supposed free Western society. I have offically lost what little respect I had for my birth country.

As Jim Kloss said on my post on the subject before:

Educated people, when treated badly, will simply leave.

When I'm treated with more respect by foreign officials than people in the country of my citizenship, I know there's something wrong. :/


Jim Kloss woke me up this morning

Internet

Jim Kloss from Whole Wheat Radio

The heading reads like the opening line of a terrible blues song.

You know that feeling you get when you realise something and your heart stops beating for a second? Or when you go to make a grilled cheese sandwich and you realise you don't have a cast iron frypan OR the right cheese? Argh!

This morning while casually checking my alpine email (sounds like I have imap servers in the Alps or something) I got a message from the Whole Wheat Radio servers:

Dear Ruben,
I am already aware my last name sounds like a furry animal that eats coffee fruit. You will not get any money from me in exchange for your silence on this, and shame on you for attempting it.
~ Derek Sivers

That’s clearly the wrong message.

Dear Ruben Schade,
The WWR page User talk:Ruben Schade was changed or deleted on 05:30, May 20, 2010 by EJ On Duty.

I was made aware recently that accounts on WWR are deleted if there is no activity in a predetermined period of time (a month, is it?) but I was sure I'd logged in recently. Anyway I got the idea that my account was deleted, and along with that all the artists and songs I'd tagged and rated over the years! I nearly sprayed my overpriced Starbucks coffee all over my ThinkPad.

Fortunately my account wasn't deleted, just my old user page. PHEW! Turn the fire alarms off! Stand down red alert!

Jim Kloss from Whole Wheat Radio

It’s a really good idea

It turns out the reason why this happened is because Jim has implemented a new policy on the WWR wiki that demands people buy twelve new CDs from CD-Baby with WWR referral codes a month, otherwise electric shocks are sent from your computer's keyboard the next time you use it and send you into a cardiac arrest. Only when you've taken out your credit card and shown it to your webcam along with a signed statement that you'll buy CDs will the shocks stop and a sense of normality return.

I have two problems with this. Firstly, if you're convulsing on the floor, how are you supposed to buy CDs? Secondly, what if people are cheapskates and spend all their money on expensive Starbucks coffee that they spray on their laptops which necessitate replacing keyboards? Hey, that's the solution! Spray coffee on your keyboard and it'll disable the WWR personal doomsday device!

Whole Wheat Radio

Jim is not impressed

It turns out the reason why this happened is because Jim has implemented a new policy on the WWR wiki that demands people use their real names. I've been using the name Rubenerd since I was a little kid because at the time I thought it was a really clever contraction (or portmanteau, or whatever it is) and even lent the terrible name to my site here, but I think using proper names is a great idea.

  • It makes the site look more professional
  • it encourages people to be more honest and friendly
  • if people don’t like it they could always call themselves James Bond or Chuck Peddle. Hey, that’s cool, I could change my name to Chuck Peddle. "Jim Kloss, why can’t I edit wiki pages on my KIM1 or PET?!"

I think I'll stop now.


Caution: filename not matched unzip error

Software

Torchlight ZIP icon

Quick tip I picked up this afternoon. If you try to extract a series of archives with unrar or unzip and you get this error:

% unzip *zipcaution: filename not matched

… you can get around it by escaping the asterisk.

% unzip *zip

I wonder why it works like this when virtually nothing else does?


Eyes, and scripting Tumblr posts to WordPress?

Thoughts

(Update 2021: Oh Ruben, you used to be so cringe. Wait, used to?)

Photo from Cherry's Most Wanted on Tumblr.

While I revel in this more traditional approach to blogging (when it works, looking at you WordPress), I do admit I'm jealous of how it easy it is for people on Tumblr to re-post entries from other tumblogs (that is the term, right?). Say… this one, for example!

So here’s my idea

Usually I would start reading up on a site's API, but with so many things to do right now I decided to take the easy way out given I'd only be using it in a personal context. Here's my idea:

  1. Write a crappy Python script that accepts the URL/URI/address for a Tumblr entry I’d like to re-post in true Tumblr-like fashion.
  2. Use curl to grab the page, or fetch, or… heaven forbid, wget.
  3. Extract the textual information from the post, including the links to the people who re-posted it.
  4. Download local copies of the image(s) in a post and use ImageMagick to scale and convert them.
  5. SFTP to my webserver and upload the image(s)
  6. Connect to my WordPress database, add all the stuff, done.

Of course things aren’t that simple!

How so? Ugh I hate rhetorical questions, mainly because I always need to consult a spell checker whenever I spell rhetorical.

For example, the picture of the girl above whom I can't stop looking at for some reason was saved on Tumblr as a gigantic PNG. What?! I know it could be saved as a JPEG and save a ton of space and bandwidth, but ImageMagick can't tell that from a diagram that should be kept as a PNG. In other words, it couldn't be an entirely automated process. Perhaps I could specify along with the URL I'm giving the script whether or not the images should be messed with. Ugh, but then it's not as automatic, which kinda defeats the purpose.

Secondly, Tumblr allows people to share far more than just pictures. If someone embedded a YouTube video or something else, what do I do then? I prefer hosting my own copies of stuff with attributions becuase I don't like relying on third party sites to stay alive. Why am I hearing Bee Gees all of a sudden? Ha, ha, ha, ha, staying alive… staying alive. Ha, ha, ha, ha, staying aliiiiiiive!

Thirdly, I shouldn't do this hack job and instead use the public APIs to get all the information I need and implement it in a WordPress plugin. It'd mean I'd have to actually learn PHP for real instead of just the hackish bits and pieces I've picked up from my Perl days and from maintaining MediaWiki and WordPress installs.

Okay I admit it!

This entire post was an excuse to post that picture. I'm a sucker for eyes, and I'm lonely, shaddup.


Common Fedora GCC problems

Software

Fedora icon

It seems all I had to do was mention Fedora a few times and I started getting technical support emails :). I'm still more of a FreeBSD guy, but I hope these help.

Problem 1: No GCC Installed

configure: error:no acceptable C compiler found in $PATH

This happens if you're attempting to build a C application and you don't have the GNU Compiler Collection installed. Most likely this was because you installed Fedora using the Live CD which (I think, feel free to correct me) doesn't have it, but it's easy enough to install:

# yum install gcc

Problem 2: No GCC-C++ installed

configure: error:installation or configuration problemC++ compiler cannot create executables.

Similar problem as above:

# yum install gcc-c++

Problem 3: No grilled cheese sandwiches

The solution:

% echo Grilled cheese sandwiches

Replacing coffee with tea

Thoughts

With my chronic sleeping problems, I've decided to try cutting back on coffee and replace it with tea. Ritsu is SHOCKED! And Mugi is… hold on, I'm distracted again.

Much like a smoker who has oral fixation after quitting, I realised as much as I need the bean it's the experience of having a steaming hot beverage while I'm programming or doing other work that I miss when I'm not having coffee, so tea is a really good analog. Except I program computers which are digital.

I'm the only one in the family who likes it, but I love Earl Grey tea. I'd make Jean Luc Picard proud, and disappoint Janeway ;). English Breakfast, Chai and Green are my other favourites, depending on my mood and the time of day. While we were in Ireland I also became quite partial to Irish Breakfast, but the supermarkets here don't stock it.

Twinings is the staple around here (cue Bakemonogatari reference), but Dilmah makes a mean green tea. I had some Oxfam English Breakfast from Australia which made me feel all warm and fuzzy, but I'm not sure if they have shops here.

Picard: Tea. Earl Grey. Hot

The backstory you don’t care about

For those who aren't bored of the story already, back when I was in school my mum would often have chemotherapy early in the morning so we weren't in the oncology ward during the busy hours of the day. To the frustration of Ms Sameuls, my high school year coordinator who called me a "part time student" on several occasions behind my back, I would always go with her to the hospital to keep her company, even if it meant skipping morning classes or taking whole days off when she'd have to go to the ICU which occured more frequently as the years went by.

Because it was so early in the morning, we got into the habit of having me go upstars to Delifrance to buy takeaway coffee and "medicial cakey substances", to use her lingo. She was the most epically awesome person, so of course The God(s) had to take her out while keeping people like Bush alive. Karma is bunk.

Anyway getting back on track, I got into the habit of having one cup, then two, then three to stay awake in those early hours, and eventially it became a dependency. I was up to seven a day a few years ago (which ironically helped my abnormally low blood pressure!), but I've since cut back to four. It's my hope by drinking more tea to have that down to two or three a day. Here's hoping I can pull it off!

You know what would help?

If Mugi and Jean Luc Picard (or Mugi's seiyuu and Patrick Stewart!) came over to help me drink more tea. I'd ask Yui to serve it, but she'd probally spill it everywhere. Or Mikuru, that works :).


Writing a post from… phpMyAdmin

Internet

Another WordPress error

I'm not sure whether these problems are just the typical WordPress fare or because SegPub is playing up again. Either way, I can't wait to get a new host and start fresh with some nice Django goodness, I'm getting so tired of all these problems :'(.


Fedora 13 countdown in the sky with rockets

Software

And a good thing too! Doing a fresh Fedora install for people, then having to immediately download 480+ package updates is a bit tedious… especially when this always happens anyway.