Dave's Free Press: Journal

violence, pornography, and rude words for the web generation

 

Recent posts

(subscribe)

Recently commented posts

(subscribe)

Journals what I read

geeky politics rant silly religion meta music perl weird drinking culture london language transport sport olympics hacking media maths web photography etiquette spam amazon film bastards books bryar holidays palm telecoms cars travel yapc bbc clothes rsnapshot phone whisky security home radio lolcats deafness environment curry art work privacy iphone linux bramble unix go business engineering kindle gps economics latin anglo-saxon money cars environment electronics
Fri, 25 Sep 2020

Goodbye cruel world!

In the rather unlikely event that anyone is reading this, then this is the last post. I have decided to restart my blogging at Wordpress.

I have also decided to split my cricket blogging to another Wordpress blog, and technical blogging out to dev.to.

And for the duration of the Pestilence Of 2020 I am keeping yet another Wordpress blog.

Posted at 16:23 by David Cantrell
keywords: bramble
Permalink | 1 Comment
Fri, 8 Nov 2019

Rugby World Cup roundup

Most exciting game Uruguay/Fiji
Best referee Wayne Barnes
Best player Faf de Klerk
Most exciting team Japan
Most exciting player Makazole Mapimpi
Most impressive player Mbongeni Mbonambi
Scariest looking player Isileli Nakajima
Most unexpectedly good team performance Uruguay, for their excellent tackling technique and turnovers against Fiji
Most unexpectedly bad team performance South Africa's error-fest against Namibia
Best national anthem Russia
Best Morris dance Tonga
Best kicking dance Elton Jantjies, for being eminently chargeable at conversions
Even I Could Have Kicked That Dan Biggar, 3 minutes into Wales/Georgia
Best facial hair Jake Ball. I was very disappointed by the poor showing from Canada who have traditionally excelled at this event.
Worst facial hair Maxime Medard's sideburns
Best hair Joe Marler
Worst hair David Ainuu's weird asymmetrical top-knot, even worse than Gorgodzilla's awful hair transplant and Goodhue's mullet. This even was especially well-contested this year.

Posted at 17:52 by David Cantrell
keywords: sport
Permalink | 0 Comments
Mon, 5 Jun 2017

Right Sort Of Mad

[originally posted on 27 Oct 2015]

I would like to draw your attention to a few splendid projects which are, like Jack Churchill, The Right Sort Of Mad.

  • Xplain attempts to explain how the X Window System works, something that is Plenty Mad on its own. In doing so it implements an X server in Javascript just because.
  • MOVfuscator compiles your code to nothing but MOV instructions. Just imagine, now that you're not using all the CPU area wasted for tiresome nonsense like ADD or NOP [EAX + ...], Intel could turn it all into cache! And it'll be super-efficient because the CPU doesn't have to decode whether each instruction is a MOV or something pointless like JNE!
  • ctypes.sh, because you always wanted to care about pointers in your bash scripts. I know I do! Mmmm pointers, I love 'em.
[update 5 Jun 2017]

  • reptyr takes an existing running program and attaches it to a new terminal. Not very portable, unfortunately, but still useful and a really nifty hack
Posted at 12:40 by David Cantrell
keywords: geeky
Permalink | 0 Comments
Mon, 9 Nov 2015

Rugby World Cup roundup

Best team New Zealand
Best game Canada / Italy
honourable mentions for the Scotland / Australia quarter-final
and for Japan / South Africa
Best referee Wayne Barnes
Most exciting team New Zealand
Most exciting player Julian Savea (New Zealand)
Most impressive player Brodie Retallick (New Zealand)
Most unexpectedly good and bad team performances Georgia's mighty effort against New Zealand's handling errors
Best national anthem Wales
Best Morris dance Tonga. Ooh, controversial! Mostly because I don't like Kapa o Pango.
Best kicking dance Dan Biggar (Wales), for looking like a meth addict trying to scrape the insects out from under his skin
Best facial hair Ray Barkwill (Canada), honourable mention for Hubert Buydens (Canada)
Best fans The South Africans who shared their whisky with me on the train back to London after watching their team lose to Japan.
Most science-fictional name Nehe Milner-Skudder (New Zealand)

My gripe from the last couple of years about scrums not being fed straight is at last being addressed a little bit by World Rugby. Feeds were a lot straighter in this tournament than they have been over the past many years, and a few of the most blatant skew-whiff feeds were penalised. The recent rule changes about setting up the scrum appear to have addressed the problem of scrum collapses at least a bit, but more work is still needed.

I have a new gripe though - I think that referees are playing Advantage for too long. They are currently playing it after an infringement until a team gets a significant advantage. It should be scaled back. In rugby league, advantage doesn't last anything like as long, and the game is better for it.

I propose that penalty advantage should finish when the team with advantage has carried the ball forward past the point at which the penalty would be awarded, even if only momentarily, or has kicked the ball forward no matter what the result of the kick. Knock-on advantage should end when the second player has possession or the ball is kicked. I realise that this makes advantage worth a lot less. As a result teams might be tempted to just stop playing so that there is no advantage. Therefore I also propose that not trying to take advantage should itself attract a penalty. It also makes penalties worth less, as you are less likely to get "two bites at the cherry". I'm fine with that. And it makes the punishment for technical infringements less onerous, which I'm also OK withI prefer a game with lots of running, driving mauls and so on leading to tries, as opposed to a series of penalty goals arising from pedantic nit-picking. Again, rugby league gets this right.

I also have a minor gripe about the amount of time taken up by kickers doing ridiculous dances. They have a minute to take the kick, and the few stupid dances that I timed averaged just over 40 seconds. I propose cutting the allowed time from when the ball is placed on the kicking tee to when boot strikes ball to 15 seconds.

Posted at 20:58 by David Cantrell
keywords: sport
Permalink | 0 Comments
Wed, 18 Mar 2015

Cricket World Cup 2015 awards

It is, of course, still not Real Cricket, but I've enjoyed this world cup so far. And I'm even enjoying it after England were knocked out and proved that ICC stands for Inter-Colonial Cup. I have a couple of awards to give out.

Best facial hair Virat Kohli of India
Worst facial hair Moeen Ali, for the sin of having a full beard but no moustache

I would have given Best Facial Hair to John Mooney of Ireland, but while he has more than Kohli, it's scruffy and looks like he just couldn't be arsed to shave. Kohli's may be a micro-beard, but it is at least deliberate. If Mooney wishes to be considered for this prestigious award in future he needs to man up and look like a tramp for a few weeks until his beard matures into a prodigious hedge, instead of just looking like a scruffy student.

Posted at 10:02 by David Cantrell
keywords: sport
Permalink | 0 Comments
Fri, 16 Aug 2013

Today I Learned ...

When storing a past event, always convert it into UTC and store it that way (I knew that). But when storing a future event (esp. if it's more than a year in the future), store it in the local timezone and only convert to UTC on the given day. This way you can properly handle the changes to time zones and/or daylight savings that might happen in the meantime.

(via Domm's blog)

Posted at 15:00 by David Cantrell
keywords: geeky
Permalink | 0 Comments
Sat, 29 Jun 2013

The Most Important Word in Publishing

Dustin Kurtz works for a publisher, and writes on their blog. His thesis is that authors do themselves a dis-service if they link to Amazon, and that they should instead link to some random small independent bookshop if they want to visitors to their websites to buy their wares.

In this piece, he omits the single most important word in the whole of the publishing industry. That word is "readers". He does mention customers twice, but only in the context of making sure that a bookshop is willing to post stuff to them and when he says "even if not a single customer finds them through you, [the bookshop] will be happy" - which is wrong. A bookshop to whom you direct no custom at all won't be happy. They won't be sad either, they just plain won't care, or even notice. Well, I suppose they might be pissed off if they made a special effort to stock your wares when you told them you'd be linking to them, and then didn't sell any. At no point does he consider even for a moment what readers, the people who are ultimately paying his salary, want.

Actually, the whole piece is confused. For example, he says that most people will go straight to Amazon in the first place and not visit author websites at all (which is probably true) but then thinks that that is a good reason for authors to not link to Amazon. Errm? The links to Amazon are for people who have visited the author's website and have not gone straight to Amazon. What people do who go straight to Amazon is irrelevant. Once someone has come to your website, they are, provided your site doesn't suck, yours, and they will keep coming back. Just like I keep going back to Charlie Stross and Hugh Howey's websites, via their RSS feeds.

But anyway, back to readers. What readers want is a combination of convenience and reliability. Amazon does both of those brilliantly, and with excellent customer service for the very few times that they screw up.

So, authors - please don't link to small local bookshops. It's far less convenient for your readers, who end up with a bazillion separate accounts with a bazillion separate online shops, and have to type all their details in a bazillion times, often fighting against idiotic web forms that simply won't accept their address* or phone number** or email address*** or whatever. Once the reader has fought through all that, he has to hope that your order fulfillment process works, that you know how to get stuff reliably to his door, and that if anything goes wrong you have heard of customer service.

Nah. Far better to just use Amazon.

In addition, I hear anecdotally that some authors make more money in Amazon Affiliates kickbacks than they do in royalties. If you don't link to 'em, I'll go there myself anyway if I want to buy your stuff.

* too many insist that all addresses have a state or a county, or don't have enough lines

** many won't accept phone numbers from other countries

*** many won't accept addresses with a + sign in them

Posted at 13:26 by David Cantrell
keywords: amazon | books | culture
Permalink | 1 Comment
Fri, 14 Jun 2013

MathML browser extensions

It's really annoying that there still isn't universal support for MathML. Things have got better recently though, with Safari finally supporting it. Of the major browsers, though, there are still two that don't.

First, IE. It doesn't matter. It is only used for three things: first, to download a browser that doesn't suck; second, if it is chosen by someone who is stupid, ignorant or malicious; third, by people who need to compare browsers.

Second, Chrome. Despite its lack of MathML, Chrome is IMO the best browser out there. It works on multiple platforms, has lots of extensions available, and has very good support for synchronising things like bookmarks and open pages across devices.

And now there's a plugin for it to support MathML! And of course Chrome supports it without a plugin on iOS, because it uses the Safari rendering engine there.

update: Safari on the desktop still doesn't render it particularly well, despite it working just fine on my phone.

Huzzah!

Posted at 11:04 by David Cantrell
keywords: geeky | maths | meta
Permalink | 0 Comments
Wed, 12 Jun 2013

The Nicaragua Canal

I doubt it'll happen - just about every mega-project that flares up in the news never actually happens - but one thing in this article grabbed my attention.

" Many have been asking whether Central America needs two canals, even in an age of growing world trade. "

No-one who cared about free trade would ask that. Competition is Good. While there are other routes between the Atlantic and the Pacific, they are either very long (around south America) or not reliably open (Northwest Passage). The Panama canal is also not big enough for many modern ships, and still won't be even after the current upgrades are complete (see image to right). Broadly speaking, the larger your ship the cheaper it is to run per ton-mile of cargo, and it's less polluting too. And, of course, shorter routes between the same two ports are also cheaper.

Posted at 17:53 by David Cantrell
keywords: economics | engineering | transport
Permalink | 1 Comment
Sat, 4 May 2013

Amazon efficiency, part 2

I recently ordered a Huawei 3G-to-wifi router thingy from Amazon. It's crap and doesn't work so, after ordering a replacement made by another manufacturer, I had to return the duff one.

Amazon make this really easy. All I had to do was fill in a form on their website, print out an address label with a barcode, stick that on an envelope, and take it to a Collect Plus franchise. There are bazillions of these, even in ruralistan. This is far more convenient than having to take something to a post office which is only open for a couple of hours a day because they want to go out of business.

And best of all, the newsagent I took it to could scan that barcode, and my refund arrived within the few minutes it took me to walk back home.

The mark of a business that knows about customer service is what they do when something goes wrong. When everything goes right it's easy to please your customer, but when it goes wrong, such as when you've sold something that doesn't work, it's much harder. By making returns so very quick, easy, and quibble-free, Amazon have done it. Bravo!

Posted at 18:57 by David Cantrell
keywords: amazon
Permalink | 0 Comments

Archive