Links: 20th Sep
This week: technology links and some other interesting articles.
- Regex101 — create, test and have your regular expressions explained.
- I think I already mentioned this article on regular expressions speed, but missed to mention even more interesting papers on regexes.
- My favourite world-clock tool: http://www.worldtimebuddy.com
- Released! Red Hat Software Collections now GA! Ruby 1.9.3, Python 2.7, Python 3.3, PHP 5.4, Perl 5.16.3, Technology Preview of node.js 0.10, MariaDB 5.5, MySQL 5.5, PostgreSQL 9.2.
- Bash bits: color output, debug messages, and other neat snippets
- iOS7 supports multipath TCP
- Don’t program for a phone like for a server
- From conversation on log processing:
- Just a peek at web interfaces to think — StackExchange’s DevOps tools
- Restore single database from full mysql backup:
mysql -u root -p --one-database destdbname < alldatabases.sql
or just cut the relevant part with
New Yorker’s The Ancient Roots of Punctuation
Amusing and witty airplane analogy for OOM mechanism in Linux kernel:
How about a sysctl that does “for the love of kbaek, don’t ever kill these processes when OOM. If nothing else can be killed, I’d rather you panic”?
An aircraft company discovered that it was cheaper to fly its planes with less fuel on board. The planes would be lighter and use less fuel and money was saved. On rare occasions however the amount of fuel was insufficient, and the plane would crash. This problem was solved by the engineers of the company by the development of a special OOF (out-of-fuel) mechanism. In emergency cases a passenger was selected and thrown out of the plane. (When necessary, the procedure was repeated.) A large body of theory was developed and many publications were devoted to the problem of properly selecting the victim to be ejected. Should the victim be chosen at random? Or should one choose the heaviest person? Or the oldest? Should passengers pay in order not to be ejected, so that the victim would be the poorest on board? And if for example the heaviest person was chosen, should there be a special exception in case that was the pilot? Should first class passengers be exempted? Now that the OOF mechanism existed, it would be activated every now and then, and eject passengers even when there was no fuel shortage. The engineers are still studying precisely how this malfunction is caused.
The religious rights anti vaccine hysteria is reviving dead diseases:
Remember measles? That old-timey disease we officially eliminated in the United States 13 years ago? Thanks to the wonder of inoculation, measles should be entirely nonexistent in this country, but yesterday the Center for Disease Control reported 159 cases from January through August of this year.
What’s unique about this year’s outbreak is that the CDC has finally admitted the spread of this “eliminated” disease is based on religious communities’ philosophical aversion to vaccines and reliance on divine healing through the Word of God. According to the report, 91 percent of the reported cases were in people who were unvaccinated, or didn’t know their vaccination status, and “of those who were unvaccinated, 79 percent had philosophical objections to vaccination.”
London Heathrow’s glissade timelapse: