Note #17243

With #lockdown guidance as it stands, only six of the seven dwarfs can meet together in the park?
The seventh dwarf won’t be Happy.

In fact, he’ll be Grumpy.

Which is a problem, because that means one of the six is Sneezy.

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.)

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.

×

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.)

Note #17025

For the benefit of my South African colleagues on Slack, I give you the #maskchallenge #emoji:

:maskchallenge:

×

Happy Birthday, You’re Fired

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

I walked the dog, bought myself a wax jacket from a local garden centre – so I could feel more ‘Country’ – and in the late afternoon my boss called me to say… you’re fired.

So begins Robin‘s latest blog (you may remember I’ve shared, talked about, and contributed to the success of his previous blogging adventure, 52 Reflect). This time around, it sort-of reads like a contemporaneously-written “what I did on my holidays” report, except that it’s pretty-much about the opposite of a holiday: it chronicles Robin’s adventures in the North of England during these strange times.

I’ve no doubt that this represents the start of another riotous series of posts and perhaps exactly what you need to lift your spirits in these trying times. A second chapter is already online.

The 7 Types Of StackOverflow Answers

StackOverflow‘s one of the most-popular and widely-used resources for software developers. It dominates the search results when you’re looking for answers to techy questions. If you know how to read it, it can be invaluable.

But… I’m not sure what it is about the platform or the culture surrounding it that creates a certain… pattern to the answers that you can expect to receive on StackOverflow. To illustrate, let’s suppose we have a question:

SnackOverflow question: Let's say I'm camping and I need to make toast. I have a loaf of bread and a campfire. What's the best way to make toast?

Here are the answers you might see:

The Golden Hammer

The top answer is often somebody answering not the question you asked, but the question they’d like to think you asked.

Answer: Just plug a toaster in. You can do this with: npm install toaster

Never mind that you specifically said that you were using a campfire, the answer suggests that you use a toaster. Look back a few years and you’ll see countless examples of people asking for solutions using “vanilla” JavaScript and being told to use some heavyweight, everything-but-the-kitchen sink jQuery plugin. Now we’re in a more enlightened time, those same people are being told to use some heavyweight, everything-but-the-kitchen-sink npm module. How far we’ve come.

The Belligerent

Far often than you might expect, a perfectly reasonable “how do I do this?” question is met with an aggressive response of “why would you want to do that?”

Answer: Why would you want to make toast on a campfire? When you're camping you should be eating beans, soup, and spit-roasted meats and fish. Every time I've tried to toast bread over a campfire I've ended up unsatisfied. Uneven toasting, burnt bits, even the whole slice catching fire. I can't imagine why anybody would ever want toast like that! If you want toast you should stay at home. It's still pretty pointless, though: toast isn't a very good meal. It's basically empty calories with no protein, no vitamins, no minerals. I mean, it'd be okay as a snack but that's clearly not what you're asking about. There's a reason that the Chef's Guide To Camping doesn't include a recipe for toast. Just don't do it!

These are particularly infuriating to read when you come to a closed thread and you know that you do want to be doing the “forbidden” thing. You’ve considered the other options, you’ve assessed the situation… and now some arrogant bugger’s telling you that you’re wrong!

This kind of response is among the most annoying, second only to…

The Kindred Spirit

You’re getting a strange and inexplicable error message. You search for it and get exactly one result. Reading the thread, after hours of tearing your hair out, you suddenly feel a sense of relief: you’ve found another soul in this crazy world that’s suffering in precisely the same way as you are. Every word you read reconfirms for you that you and they have the same issue. At last, a solution is in reach!

Answer: I'm having almost exactly the same issue. I've brought bagels to my campfire, though. If anybody knows how to toast either bread or bagels on a campfire please let me know how! Edit: NM, I've worked it out.Nope.

Not only have you not got a solution, but the saviour you thought you’d found? They do have a solution, but they were thinking only about themselves when they got it, so they didn’t share it.

I get it: when you’re deep in focus on a problem you forget that the forum you’re on will receive search traffic indefinitely. But “NM, I’ve worked it out” is the most infuriating sentence on the Internet. When you solve a tough problem that you’d talked about online, for the love of God put the solution online too.

The Expert

There’s always somebody who answers the question but in a way you’d need a PhD to comprehend.

Answer: What you're looking to do is increase the ratio of 6-Acetyl-2,3,4,5-tetrahydropyridine on the surface of the bread, as described by Louis-Camille Maillard. Aim to maximise the surface area exposed to heat to accelerate the reaction of the carbonyls with the nucleophilic amino acids, without increasing the temperature enough to produce significant amounts of benzopyrene nor acrylamide.

StackOverflow is often used by beginners. Make your answer beginner-friendly if possible.

The Hero We Don’t Need

Like the Golden Hammer, the Hero We Don’t Need answers the question that they know the answer to rather than the question you actually asked. Unlike the Golden Hammer, the question they answer isn’t even remotely related to the question you asked.

Answer: Place the loaf down on a broad flat surface. Use a serrated blade in a moderately-rapid back-and-forth motion to cut through it. Now the bread will be sliced and ready to use. Don't cut any more than you need at once: sliced bread goes stale much faster.

Perhaps some future site visitor who chose their search terms badly might benefit from this out-of-the-box look at a completely different problem. But I wouldn’t count on it.

The Correct Answer

Eventually, if you’re lucky, somebody will provide the actual answer to the question. You’ll often have to scroll about this far down the page to find it.

Answer: There are two approaches. Both are equally valid - choose the one that's right for you. Method #1: place flat rocks near to your campfire and allow them to heat up. Slice your bread, and lay each slice on a hot rock, being careful not to touch the rock. Turn it over when it's done on one side. Method #2: use a long fork, skewer, or stick to impale a slice of bread lengthways (here's a diagram) and suspend it over the fire either by holding the utensil or by poking the other end into the ground. If holding it, be sure to keep your hand lower than the bread as heat will travel up metal implements. Happy camping!Still, at least there’s an answer. And it only took four hours between posting the question and it appearing. Sometimes that’s what it takes, and at least the answer will be there for the next person, assuming that they, too, scroll down far enough.

Unfortunately hundreds of novice developers will have no way to tell that this alone is the correct answer amongst the endless stream of bullshit in which it resides.

The Echo

And finally, there’s always some idiot who repeats one of the same (useless) answers from before. Just to keep the noise-to-signal ratio up, I guess.

Answer: Just install toaster from NPM. Comment 1: @KISS DRY already said this. This is the correct answer. Comment 2: Can toaster slice bread, too?

StackOverflow’s given me so many useful answers to so many questions, over the years. But it’s also been a great source of frustration for me at the hands of six of these seven archetypes. Did I miss any?

× × × × × × × ×

Note #16952

(Fake) letter from Boris Johnson stating that the government's new policy is just to write-off 2020 and carry on from 2021, after the coronavirus crisis has passed.

I’m 100% behind the #covid19 strategy @BorisJohnson proposes in his latest letter. But then, I’ve already had my birthday this year…

×

Death Leaping from Man to Man

Comic, three panes. First pane shows derelict supermakets, caption: Scattered about, the putrefactive disease of the coronavirus lay slain. Second pane shows people celebrating, caption: Slain, after all men's devices had failed, by the humblest things that God, in his wisdom, had created. Third frame shows the celebrating people in the shadow of a tripod war machine from War of the Worlds, caption: Martian fighting machines.
It’s just possible that being confined to my house is driving me a (a little more than usually) crazy. Maybe I shouldn’t have smoked that red weed.
×