Archive for the ‘Uncategorized’ Category

Sleep

Uncategorized

There are many ways to make a program/script pause for a few seconds. Here are some of my favourites.

Windows

There are two built-in sleep functions you can include in command scripts (.cmd, .bat and PowerShell):

pause

The pause command pauses until you press a key. It has no option to set the period of time. While pausing, it displays the message “Press any key to continue…” (or “Press Enter to continue…:” in PowerShell).

timeout /nobreak /t 20

This will sleep for 20 seconds, displaying a constantly refreshing message saying “Waiting for N seconds”. With the /nobreak option you have to use Ctrl-C to cancel the timer. If you omit the /nobreak then pressing any key will stop the timer.

[click title to read more…]

Automangle

Uncategorized

Artificial Intelligence (AI) is in the news a lot these days. It’s even possible that some of the news was itself written by AI. We are seeing the emergence of applications of Large Language Models (LLMs) that have been fed mind-bogglingly enormous amounts of raw content in an unsupervised learning process. This “learn by example” approach aims to create a system that uses the balance of its observations (e.g. the likelihood of a sentence starting with “Once” to be followed by “upon a time”) to produce plausible sentences and even whole narratives.

It’s probably OK to accept that the entirety of human content (at least that which has been made available online) is for the most part garbage. As examples [click title to read more…]

Apps by the billion

Uncategorized []

Last week, well over a billion apps were downloaded, according to results from Flurry. About 500 million downloaded in the US, 100 million in China and about 80 million in the UK. Just as everyone expected, Christmas was a big time for app downloads.

How many of these apps will still be in use next week? How many will be lost in the clutter of confusion that faces the nearly 4 million new Android users this holiday period? How many will need to be patched, or withdrawn, as users find problems?

Keeping an app visible, relevant and functioning correctly is a major challenge for any app developer, and is one that is less of a problem for Web-based solutions.

Or [click title to read more…]

Bandwagon

Uncategorized [ | | | ]

Bandwagons seem to be increasingly popular. The latest surrounds the fact that Apple is intentionally slowing Web applications to make native applications from the App Store more appealing.

Only it’s not a fact.

First we had suggestions that Apple were slowing HTML5 in mobile Safari.

http://m.wired.com/epicenter/2011/03/app-store-html5-slowdown/

Then we have The Register quoting a developer:

Citing a conversation with Apple, one developer told us earlier this week that the company did not intend to add all of Safari’s optimizations to the embedded web viewer. “Apple is basically using subtle defects to make web apps appear to be low quality – even when they claim HTML5 is a fully supported platform,” the developer said.

http://www.theregister.co.uk/2011/03/17/apple_confirms_ios_webview_apps_dont_include_same_optimizations_as_safari/

The headline and opening lines of the [click title to read more…]

Cancun?

Uncategorized

193 countries have just signed up to a UN-brokered deal on climate change, and the first thought is: why in Cancun? It’s a luxury beach location in Mexico. Did they all go on a jolly and get caught up in the pleasant surroundings, so much that many of them signed up to give the rest of them a few billion here and there over the coming years? To build windmills. And wave stations. And probably hike up the tax on flying to pay for it.

Then you might think: perhaps getting nearly 200 representatives of the world’s countries (including the big ones) into one place, with all the necessary meeting facilities and less of the goldfish-bowl mentality, is a challenge. [click title to read more…]