Intent

This is a repost promoting content originally published elsewhere. See more things Dan's reposted.

I am almost certainly racist.

I don’t intend to be racist, but like I said, intentions aren’t really what matter. Outcomes are.

Note, for example, the cliché of the gormless close-minded goon who begins a sentence with “I’m not racist, but…” before going on to say something clearly racist. It’s as though the racism could be defanged by disavowing bad intent.

Yes indeed.

To claim you’re free of prejudice almost certainly means that you’re not looking hard enough. The aim of the exercise is, as always, to keep improving yourself: find where you have (or are) a problem, get better, repeat. We’re not one of us perfect, but we can all strive to be better tomorrow than we are today.

Stethoscope

This is a repost promoting content originally published elsewhere. See more things Dan's reposted.

My partner @scatmandan just completed his Masters degree. His sister @bornvulcan sent him a stethoscope as a congratulations gift which is one of the funniest things to happen in these parts for a while.

I’m not sure my sister understands that a masters degree is not a doctorate. I don’t feel like I’m qualified to use this.

Dan with a pink stethoscope

×

Unreal Engine 5 is meant to ridicule web developers

This is a repost promoting content originally published elsewhere. See more things Dan's reposted.

Our sources report that the underlying reason behind the impressive tech demo for Unreal Engine 5 by Epic Games is to ridicule web developers.

According to the Washington Post, the tech demo includes a new dynamic lighting system and a rendering approach with a much higher geometric detail for both shapes and textures. For example, a single statue in the demo can be rendered with 33 million triangles, giving it a truly unprecedented level of detail and visual density.

Turns out that the level of computational optimization and sheer power of this incredible technology is meant to make fun of web developers, who struggle to maintain 15fps while scrolling a single-page application on a $2000 MacBook Pro, while enjoying 800ms delays typing the corresponding code into their Electron-based text editors.

Funny but sadly true. However, the Web can be fast. What makes it slow is bloated, kitchen-sink-and-all frontend frameworks, pushing computational effort to the browser with overcomplicated DOM trees and unnecessarily rich CSS rules, developer privilege, and blindness to the lower-powered devices that make up most of the browsing world. Oh, and of course embedding a million third-party scripts to get you all the analytics, advertising, etc. you think you need doesn’t help, either.

The Web will never be as fast as native, for obvious reasons. But it can be fast; blazingly so. It just requires a little thought and consideration. I’ve talked about this recently.

Celebrate Seventeen

This is a repost promoting content originally published elsewhere. See more things Dan's reposted.

May 27th, 17 years ago, the first release of WordPress was put into the world by Mike Little and myself. It did not have an installer, upgrades, WYSIWYG editor (or hardly any Javascript), comment spam protection, clean permalinks, caching, widgets, themes, plugins, business model, or any funding.

Seventeen years ago, WordPress was first released.

Sixteen years, eleven months ago, I relaunched I relaunched my then-dormant blog. I considered WordPress/b2/cafelog, but went with a now-dead engine called Flip instead.

Fifteen years, ten months ago, in response to a technical failure on the server I was using, I lost it all and had to recover my posts from backups. Immediately afterwards, I took the opportunity to redesign my blog and switch to WordPress. On the same day, I attended the graduation ceremony for my first degree (but somehow didn’t think this was worth blogging about).

Fifteen years, nine months ago, Automattic Inc. was founded to provide managed WordPress hosting services. Some time later, I thought to myself: hey, they seem like a cool company, and I like everything Matt’s done so far. I should perhaps work there someday.

Lots of time passed.

Seven months ago, I got around to doing that.

Happy birthday, WordPress!

Man makes money buying his own pizza on DoorDash app

This is a repost promoting content originally published elsewhere. See more things Dan's reposted.

The owner of a pizza restaurant in the US has discovered the DoorDash delivery app has been selling his food cheaper than he does – while still paying him full price for orders.

A pizza for which he charged $24 (£20) was being advertised for $16 on DoorDash – and when he secretly ordered it himself, the app paid his restaurant the full $24 while charging him $16.

He had not asked to be put on the app.

This entire news story is comedy gold.

So it looks like food delivery network DoorDash try to demonstrate demand for their services by providing them even if you didn’t ask, then show you how popular they were. So if you run a pizza restaurant, they might start selling your pizzas as “deliveries” to customers, then come and pick them up as “collections” and deliver them. Because they’re trying to drum up support and show how invaluable they would be to you, they might even resell your product at a loss in order to get customers on-board early. It’s all pretty slimy, but I’m sure that wherever they’re operating (New York, in this case) they’ve had the common sense to make all the legal language line up.

(If you can’t see the problem with this model, remember that the customers will be reasonably assuming that the restaurant is involved, so when their pizza turns up cold they’ll phone the restaurant and complain and ask for their money back [or slate them in reviews online]. Plus, let’s not forget that this is a strongarm tactic: once a restaurant has been seen to be offering delivery, customers will be upset if you take the option away… even if you never actually offered it in the first place.)

Anyway: this guy noticed that his restaurant was on DoorDash without his consent, and that they were selling his pizzas for less than he did. So he ordered them from himself: he paid DoorDash $160 for the pizzas, DoorDash paid him $240 for the pizzas, DoorDash sent somebody around to pick them up from him and deliver them to his neighbour. Free money.

Pizza made of money

Next time he did it, the restaurateur didn’t even bother to put toppings on the pizzas. After all, he didn’t need to be eating them anyway! He was just paying DoorDash to pay him (more) to move them from place to place. The restaurateur and his friend pulled off several off these trades and DoorDash never seemed to catch on. With some investigation, they discovered that it was probably an imperfect scraper that had resulted in the price DoorDash advertised being lower than the price they would pay the pizzeria, which immediately makes me wonder whether you could honeypot it with deliberate scraper-traps… (Owing to various bits of work I’ve done in the past, I’m pretty well-versed in offensive and defensive screen scraper techniques.)

And to finish the news article off, we’re reminded about the attitude of Mosayoshi Son, the CEO of DoorDash’s parent company (which incidentally also tried to buy, and then got sued by, WeWork, demonstrating his financially-savvy). Recently, defending his company’s general trend to attract venture capital and then lose it very quickly, he compared himself first to Jesus, who was also a “high-profile visionary who was initially misunderstood”, and then to the Beatles, who “did not become a success overnight”.

Comedy gold I tell you. And now I want pizza. (Especially if I can persuade a stupid startup to pay me to make and then eat it myself.)

Scunthorpe Sans

This is a repost promoting content originally published elsewhere. See more things Dan's reposted.

 A s*** font that f***ing censors bad language automatically.

This is pretty beautiful, in a sick-and-wrong way. It’s a font which contains ligatures that can be automatically used by supported software. But instead of ligatures for things like æ and œ, this font replaces the letters of common swear words with a glyph that looks like a censor bar. So it’s an automatically-self-censoring font.

Better yet, the authors were aware of the Scunthorpe problem and attempted to mitigate it; this also provides the font’s name. Unfortunately it’s not possible to do so perfectly without adding ligatures for just about every dictionary word individually (now that would be a font) so words like shitake and cockerel still get censored. And even where the mitigation works, it produces other problems: e.g. the use of the ligature Scunthorpe means that the word cannot be broken e.g. hyphenated across two lines. Nor will letter counters work properly.

But I don’t think anybody’s suggesting that this font should actually see mainstream use. Right?

Why $FAMOUS_COMPANY switched to $HYPED_TECHNOLOGY

This is a repost promoting content originally published elsewhere. See more things Dan's reposted.

As we’ve mentioned in previous blog posts, the $FAMOUS_COMPANY backend has historically been developed in $UNREMARKABLE_LANGUAGE and architected on top of $PRACTICAL_OPEN_SOURCE_FRAMEWORK. To suit our unique needs, we designed and open-sourced $AN_ENGINEER_TOOK_A_MYTHOLOGY_CLASS, a highly-available, just-in-time compiler for $UNREMARKABLE_LANGUAGE.

Saagar Jha tells the now-familiar story of how a bunch of techbros solved their scaling problems by reinventing the wheel. And then, when that didn’t work out, moved the goalposts of success. It’s a story as old as time; or at least as old as the modern Web.

(Should’a strangled the code. Or better yet, just refactored what they had.)

Lucky Devil Eats

This is a repost promoting content originally published elsewhere. See more things Dan's reposted.

Lucky Devil Eats

The lockdown’s having an obvious huge impact on strippers, whose work is typically in-person, up close, and classed as non-essential. And their work isn’t eligible for US programmes to support furloughed workers. So Lucky Devil Lounge in Portland decided to adapt their services into one that is classed as essential by providing a drive-through food service. With strippers.

This is Erika Moen’s comic about the experience of visiting the drive-through. Her comics are awesome and I’ve shared them with you a few times before (I even paid for the product she recommended in the last of those), of course.

Thursday

This is a repost promoting content originally published elsewhere. See more things Dan's reposted.

Today is Thursday. YOU MUST NOT GO OUTSIDE!

  1. Ordnance Survey, the national mapping agency for Great Britain, is set to publish revised maps for the whole of the British isles in the wake of social distancing measures. The new 1:50,000 scale maps are simply a revision of the older 1:25,000 scale map but all geographical features have been moved further apart.

Gareth’s providing a daily briefing including all the important things that the government wants you to know about the coronavirus crisis… and a few things that they didn’t think to tell you, but perhaps they should’ve. Significantly more light-hearted than wherever you’re getting your news from right now.

The next time we want to import a horse to Russia it will be a doddle

This is a repost promoting content originally published elsewhere. See more things Dan's reposted.

This is the best diplomatic report I’ve read in a long time. A real gem. Recounts the story of the horses gifted by Saparmurat Niyazov (Turkmenbashi) to the British government. A fantastic snapshot of life in the FSU in the early 1990s. Posting the whole thing – enjoy the read.

Telegram page 1.Telegram page 2Telegram page 3Telegram page 4

Also worth seeing: (then Prime Minister) John Major’s official response.

×

Visitors, Developers, or Machines

This is a repost promoting content originally published elsewhere. See more things Dan's reposted.

The performance tradeoff isn’t about where the bottleneck is. It’s about who has to carry the burden. It’s one thing for a developer to push the burden onto a server they control. It’s another thing entirely to expect visitors to carry that load when connectivity and device performance isn’t a constant.

This is another great take on the kind of thing I was talking about the other day: some developers who favour heavy frameworks (e.g. React) argue for the performance benefits, both in development velocity and TTFB. But TTFB alone is not a valid metric of a user’s perception of an application’s performance: if you’re sending a fast payload that then requires extensive execution and/or additional calls to the server-side, it stands to reason that you’re not solving a performance bottleneck, you’re just moving it.

I, for one, generally disfavour solutions that move a Web application’s bottleneck to the user’s device (unless there are other compelling reasons that it should be there, for example as part of an Offline First implementation, and even then it should be done with care). Moving the burden of the bottleneck to the user’s device disadvantages those on slower or older devices and limits your ability to scale performance improvements through carefully-engineered precaching e.g. static compilation. It also produces a tendency towards a thick-client solution, which is sometimes exactly what you need but more-often just means a larger initial payload and more power consumption on the (probably mobile) user’s device.

Next time you improve performance, ask yourself where the time saved has gone. Some performance gains are genuine; others are just moving the problem around.

The Board Game Remix Kit

This is a repost promoting content originally published elsewhere. See more things Dan's reposted.

New rules for old games! The Board Game Remix Kit is a collection of tips, tweaks, reimaginings and completely new games that you can play with the board and pieces from games you might already own: MonopolyCluedo, Scrabble and Trivial Pursuit.

The 26 rule tweaks and new games include:

  • Full Houses: poker, but played with Monopoly properties
  • Citygrid: a single-player city-building game
  • Use Your WordsScrabble with storytelling
  • Them’s Fightin’ Words: a game of making anagrams, and arguing about which one would win in a fight
  • Hunt the Lead Piping: hiding and searching for the Cluedo pieces in your actual house
  • Guess Who Done It: A series of yes/no questions to identify the murderer (contributed by Meg Pickard)
  • Zombie Mansion: use the lead piping to defend the Cluedo mansion
  • Judy Garland on the Moon with a Bassoon: a drawing game that uses the answers to trivia questions as prompts

The Board Game Remix Kit was originally released in 2010 by the company Hide&Seek (which closed in 2014). We are releasing it here as a pdf (for phones/computers) and an epub (for ereaders) under a CC-BY-SA license.

If you enjoy the Kit and can afford it, please consider a donation to the World Health Organisation’s COVID-19 Response Fund.

Confined to your house? What a great opportunity to play board games with your fellow confinees.

Only got old family classics like Monopoly, Cluedo and Scrabble? Here’s a guide to mixing-them-up into new, fun, and highly-playable alternatives. Monopoly certainly needs it.

Pass The Pepper: Social Distancing is Nothing to Sneeze At

This is a repost promoting content originally published elsewhere. See more things Dan's reposted.

You’ve seen a few Rube Goldberg-style machines before. You watched that OK Go music video twice. But this… this is something else.

(Everything else on his channel is gold, of course, too: if you’re looking for a jumping-off point, try his dinner-productivity machine.)