Desktop Linux security complacency

Whenever the topic of viruses comes up on any tech-oriented public forum, we are often told by clueless commenters that Linux doesn’t have viruses because it is secure by design. When pressed, such people will talk of privilege separation in Linux. Sure, Windows has privilege separation too, and it has filesystem ACLs enabled by default, …

Continue reading ‘Desktop Linux security complacency’ »

Measuring memory usage with strace

In the tradition of abusing high-level Linux tools to produce useful low-level data, I present a method for estimating peak memory usage in Linux by text-processing the output from strace: measure-memory This Perl script invokes an arbitrary command via strace. It adds up memory allocated by mmap2() with no location hint and the file handle …

Continue reading ‘Measuring memory usage with strace’ »

PHP memory optimisation ideas

My vague rant about PHP 5.3’s memory usage on php.internals turned into something potentially more useful when Stanislav Malyshev (a.k.a. Stas) started responding to it in an intelligent way, forcing me to come up with some more concrete ideas and to justify them. Some of the resulting text is quoted below, edited so that it …

Continue reading ‘PHP memory optimisation ideas’ »

Response to mailing list posts about climate change action

[Update: Aryeh has asked me to change instances of his well-known full name to his Wikipedia handle “Simetrical”, to reduce the impact on Google.] Simetrical has taken up an opposing position to my foundation-l post, which was copied to this blog under the title Should Wikimedia buy RECs. In the interests of avoiding offence to …

Continue reading ‘Response to mailing list posts about climate change action’ »