Sportsmanship

Thoughts

It’s December, so time to crack open the drafts vault and publish a post that never was. This was from mid-2016, but seems precient given what happened in Australia last week.

Diving, badminton, and table tennis are the only Summer Olympic sports I’m interested in, mostly given I knew people who played them. When you know what to look out for, it’s easier to appreciate. The latter two are also the de facto national sports of Singapore, and I like seeing my tiny, adopted home facing off countries with orders of magnitude more people!

Which reminds me, why is squash still not an Olympic event? It requires skill, and is fast-paced to keep people’s interest. It’s also one of the few sports I played decently in high school (cough). But I digress.

In this hyper-competitive atmosphere, I like it when some humanity shines through. In the scene above, a member of the Australian team tapped her Chinese opponent to shake her hand for her amazing performance. It wasn’t the stilted, formal handshake mandated by certain sports before starting, it was spontaneous awesomeness.

I wish there was more of that everywhere, not least Olympic sport. Some pretty Free! boys would have done it too, I’m sure.


Buried under eBay chargers

Internet

The biggest problem with eBay is the rhemes of accessories, cases, chargers, adaptors and other junk that appears for something, rather than the thing itself. The signal to noise ratio is extreme.

Say you’re doing a search on eBay for a vintage computer. This is what you’ll get:

  • Vintage computer
  • 100× useless junk listings (chargers, adaptors, cases)
  • Vintage computer of similar build
  • 100× useless junk listings (chargers, adaptors, cases)

Then you begin filtering out the crap. So your search query for “vintage computer” starts looking like this:

vintage computer -for -mAh -64mo -cq56 -frame -memoria -speicher -modules -battery -latch -transport -“mémoire” -batterie -batteria -battery -supply -laptop -pour -adaptador -caricatore -goddamnit

You can also do saved searches and block out the most egregious listing spammers, but that doesn’t scale. And an update from 2020: They come with their own irrelevant junk.

I’ve got to think there’s a better way. Maybe it’s time to write a Greasemonkey script, assuming people still do that.


CRN poll on fate of the NBN

Internet

It’s December, so time to crack open the drafts vault and publish a post that never was. This was from October 2017.

CRN Australia is polling us on this:

NBN chief Bill Morrow says the network is unlikely to make a profit in its current form. What’s the best option for the NBN?

  • Write down NBN’s value
  • Tax on 4G broadband
  • Government bailout
  • Force ISPs to buy more NBN backhaul
  • Sell it off

Or option six, treat it as a utility with value not derived from how profitable it is.

For those outside Australia, the National Broadband Network was a proposed fibre optic replacement for degrading copper phone lines. When the current mob were elected, they replaced economies of scale with a “multi technology mix” that put new copper in the ground, costing more and not working as well. Needless to say, it’s a shambles.


Marriage equality now law in Australia 🎄 🌈

Thoughts

Scott Jenkins:

ABC News, via Antlers Furze:


FreeBSD swapinfo

Software

Today I learned:

Want to see how much virtual memory you’re using? Just type “swapinfo” to be shown information about the usage of your swap partitions.

Sure enough:

Device          1K-blocks     Used    Avail Capacity
/dev/md99          524288    22316   501972     4%

Boom!


Only upgrade Apple on .2 releases now

Software

With this latest root exploit fun and usability problems on High Sierra, and the unstable mess of iOS 11, my decade-long advice to wait for the first .1 release before upgrading no longer stands.

You know things are bad when your Linux boxes have fewer glitches! Which reminds me, I need to review the new post-Unity Ubuntu, which I won’t be running because it’s not an LTS, but I’m impressed with what they could do with stock GNOME. But I digress.

In the meantime, I’ve downgraded the one machine I updated to High Sierra back to Sierra, and am checking if KRACK was ever patched in iOS 10 so I can go back to that.

Which leads us to the ultimate conclusion: it totes wouldn’t have happened under Steve Jobs; cough Snow Leopard!


Selling on eBay, December 2017

Thoughts

I’m selling a few things on eBay. Free shipping in Australia!

This page, like so many for loops, is subject to addition.


Retina image downscaling with CSS

Internet

I learned a new CSS trick today! It’s possible to make lower resolution images not look like blurry crap on Retina-class displays, and all it takes is a typical phonebook-length list of attributes. From Phrogz on Stack Overflow:

.pixelated {
    image-rendering:optimizeSpeed;             /* Legal fallback */
    image-rendering:-moz-crisp-edges;          /* Firefox        */
    image-rendering:-o-crisp-edges;            /* Opera          */
    image-rendering:-webkit-optimize-contrast; /* Safari         */
    image-rendering:optimize-contrast;         /* CSS3 Proposed  */
    image-rendering:crisp-edges;               /* CSS4 Proposed  */
    image-rendering:pixelated;                 /* CSS4 Proposed  */
    -ms-interpolation-mode:nearest-neighbor;   /* IE8+           */
}

You can view my previous Windows 2000 blog post on a Retina screen and a modern browser to see this.

Why is this necessary? What a handsome question. Let’s say you have a standard, non-Retina display that looks like this:

╔═══════════════════╗
║                   ║
║                   ║
║                   ║
║                   ║
║                   ║
╚═══════════════════╝

The equivalent Retina display would be the same size, but with twice the pixel density. So its effective resolution compared to the above display is this:

╔══════════════════════════════════════╗
║                                      ║
║                                      ║
║                                      ║
║                                      ║
║                                      ║
║                                      ║
║                                      ║
║                                      ║
║                                      ║
║                                      ║
╚══════════════════════════════════════╝

Text and vector graphics look gorgeous on these higher resolution displays, because they have twice the level of vertical and horizontal detail to play with in the same size.

The challenge is what to do with raster images. If you display a photo in the same pixel-for-pixel space, it’d be a quarter of the size:

  Non-Retina             Retina
╔═══════════════════╗  ╔═══════════════════╗
║ ┌──────────────┐  ║  ║ ┌───────┐         ║
║ │ Image        │  ║  ║ │ Image │         ║
║ │              │  ║  ║ └───────┘         ║
║ └──────────────┘  ║  ║                   ║
║                   ║  ║                   ║
╚═══════════════════╝  ╚═══════════════════╝

This would break site designs, and make detail difficult to see. So web browsers and macOS elected to stretch images so they were the same size on Retina screens:

  Non-Retina             Retina
╔═══════════════════╗  ╔═══════════════════╗
║ ┌──────────────┐  ║  ║ ┌──────────────┐  ║
║ │ Image        │  ║  ║ │ Image        │  ║
║ │              │  ║  ║ │              │  ║
║ └──────────────┘  ║  ║ └──────────────┘  ║
║                   ║  ║                   ║
╚═══════════════════╝  ╚═══════════════════╝

Theoretically, this should be fine. The whole point of doubling the resolution was you could just double the size of an image’s pixels, and it’d look the same as an equivilent non-Retina screen. No complicated maths, no interpolation, just double and be done.

Except, browser rendering engines decided not to do this. Instead, they stretch images like you would in Photoshop, so the end result is a muddy, low clarity image.

With these new CSS directives, we can do pixel doubling on these older or non-Retina images! I’m tempted to tag images on Rubenerd older than 2011 with “classic” or something, then set these CSS attributes on them.


VMware Windows 2000 KB835732 additions error

Software

Windows 2000 still has official Guest Additions support on VMware Fusion 10, the latest release at the time of writing. But if you try installing on a fresh Windows 2000 VM, even with the latest SP4, you’ll get this error:

VMware Product Installation error: Microsoft Runtime DLLs cannot be installed on this operating system. Please see Microsoft KB835732 for details.

The quick solution is installing the Update Rollup 1 for SP4 that Microsoft released in lieu of an official Service Pack 5. I’m not sure which update in that pack adds the right dependency, but I’m happy!

As an aside, I still posit Microsoft’s UI department peaked with Windows 2000. Everything since, from Luna to Aero and the new Windows 8+ Metro have been downgrades in usability, efficiency, and class. BeOS still reigns supreme, though.


Dangerous of reporting on “wiki” and “crypto”

Internet

2018 Update: This should have been titled Dangers not Dangerous. But I've already got this cross posted with its incorrect permalink and title everywhere. Lesson learned, don’t chide reporters when you can’t grammar yourself!

I’m willing to concede that language changes, and I like to think I’m less pedantic, but there are a few terms that are so useful, and potentially dangerous, we should push against people using them inappropriately.

Wiki is one. Journalists use it as a short hand for both Wikipedia and Wikileaks, two projects with very different objectives. Julian Assange doesn’t run an encyclopedia of world knowledge, and Jimmy Wales doesn’t leak documents. Whole Wheat Radio also had a Wiki, even Clara and I do!

Another discussed at work this morning is crypto, based on this Vice article by Lorenzo Franceschi-Bicchierai:

Lately on the internet, people in the world of Bitcoin and other digital currencies are starting to use the word “crypto” as a catch-all term for the lightly regulated and burgeoning world of digital currencies in general, or for the word “cryptocurrency”—which probably shouldn’t even be called “currency,” by the way. (That’s another story.)

For example, in response to the recent rise of Bitcoin’s price, the CEO of Shapeshift recently tweeted: “don’t go into debt to buy crypto at these prices.”

Lorenzo is right. There are serious legal and safety implications for confusing these terms. Please report on them responsibly.