Why (and how) Pi is wrong

Not unlike computer security, mathematics, is also “about the lulz” 🙂

Comentários Desativados em Why (and how) Pi is wrong Publicado em geek, math

The blogger and the (cookie) jar

For a while now, I’ve been unable to post comments at *.blogspot.com blogs. Even anonymous comments, in blogs that allow them. Alas, when writing a comment and clicking the ‘Submit’ button, the page was just reloaded, and no trace of my comment was left behind. Weird is an understatement. Puzzled as I was, now I have discovered the reason: unlike *.wordpress.com blogs, to post a comment, any kind of comment, at blogger, you have to allow third party cookies! Yep, to comment you must open yourself to the possibility of “anonymous” surveillance (even more than what you are already exposed for just using the internet). Luckily, there’s an easy fix (if you’re a Firefox user, that is): install the Cookie Monster addon. Then disable third party cookies globally (Edit -> Preferences -> Privacy), and go submit a comment. It’ll reload the page, but the addon icon in FF’s bottom bar will tell you that the page tried to set a third party cookie. Allow it to do this always. This way, you disable third party cookies by default, while still allowing it for those sites that require it, viz. blogger. And presto, problem solved!

Addendum: I think this only happens when the comment form shows up after the “original” post, like so, and not when the comments are written in a separate page, like so. Blogger is weird…


Via the twitter feed of Wikileaks, came this interview of Assange, and in it, these insightful words:

When reading mathematics you must take your mind through each intellectual step. In this case, the steps of Heisenberg or Bohr. Because good proofs are very creative, it takes the full energies of your mind to reach through one step to another. Your whole mind must be engaged in a particular state of thought, and you realize that this mental arrangement is the same as the author’s at the moment of writing, so the feeling of mental similarity and rapport becomes strong. Quantum mechanics and its modern evolution left me with a theory of change and how to properly understand how one thing causes another.

Maybe that’s why all of the mathematicians I can think of are, well, thin! 😀

PS: now I mentioned Assange, I must also mention that, in an adversarial spirit, I started reading Inside Wikileaks, written by a WL former full time employee. So far, it has been surprisingly addictive (but now I must sleep).

Comentários Desativados em Math Publicado em geek, math

Internet Explorer

Is one crappy piece of software. But one which stirred a rather lively discussion yesterday, at the end of another day’s work. The main point of contention was not that IE sucks (everyone agreed to that: some versions more than others, but overall, they all suck). Rather, it was about whether Microsoft should be able to commercialize a browser that does not respect web standards. At first glance, this seems to be the case. I mean, why shouldn’t they be allowed to do so? Furthermore, as one colleague pointed out, back in the day of 56kbps connections, downloading a ~1Mb browser, was a royal pain: it would usually take more than two hours. So when Microsoft developed Internet Explorer, and shipped it pre-installed with the Windows CD, as the adoption of the latter soared, the former rode along.

To be clear: so far none of the behaviours described above are (or ought to be, IMHO) illegal. Of course, Microsoft’s demeanour went well beyond what I’ve described above. Its strategy “embrace, extend and extinguish” was particularly notorious (and nefarious):

  1. Embrace: Development of software substantially compatible with a competing product, or implementing a public standard.
  2. Extend: Addition and promotion of features not supported by the competing product or part of the standard, creating interoperability problems for customers who try to use the ‘simple’ standard.
  3. Extinguish: When extensions become a de facto standard because of their dominant market share, they marginalize competitors that do not or cannot support the new extensions.

It’s bullet point number 3 above, that is illegal. Microsoft could only do it after both Windows and IE achieved widespread adoption, i.e., after they achieved a monopoly, of both operating system and browser. The question now becomes why should #3 be illegal? After all, both monopolies were achieved by Microsoft’s merits.

The short answer to why should #3 be illegal, is that it stifles innovation. For the purpose of markets is to foster innovation through competition. This doesn’t automatically make monopolies illegal, but it does put them under a much tighter grip, for the potential for abuse is enormous. And that was indeed what happened: IE evolved in such a way as to create what in practice was a de facto custom standard, which made it very hard for competitors to implement browsers compatible with IE. It is of little comfort to claim that this isn’t Microsoft’s fault, but rather that of the web designers’, for using extensions that are not a part of the standard. After all, it’s not the designers that have a monopoly, nor should it be theirs the responsibility of ensuring a competitive market. The net result was that as Microsoft’s custom changes to HTML rendering were adopted for the majority of sites, because the majority of sites was designed to display properly in the most used browser (IE at the time), anyone trying to design an alternative browser was stuck fighting an uphill battle to keep things compatible with IE. In other words, this creates a much higher barrier of entry in the browser market, thus ensuring the IE continued to rule unchallenged, not because it was the best product, but because its monopoly hindered the entry of competing products. This killed innovation, and subverted market forces, and was what prompted legal action against Microsoft in the past. And this is why IE (or any other browser that enjoys a monopoly) should not be allowed to add proprietary extensions: because these will easily become a de facto standard, which will distort market forces in order to perpetuate its monopoly.

I’ll will end pointing that the different versions IE no longer have a browser monopoly, and that was possible because increasing versions of IE increasingly support web standards, which made it possible for other browsers to compete with IE on product merit alone. And that is the one feature that all competitive markets have: competition is based on product merit, and NOT on product user share.

Comentários Desativados em Internet Explorer Publicado em geek


Being a vim aficionado, I used Vimperator with Firefox, but I’ve found a fork of the former, called Pentadactyl, which looks really cool, and more flexible (although I haven’t explored this enough, yet). In the meantime, at least in version 1.0b5 (FF 3.5+), that status bar text, non https pages, is white on a light background, which sucks, because it makes the text very hard to read. Here’s a simple fix. Create a .pentadactylrc file in you home directory (don’t forget the initial dot), and put this in it:

” do not hide Firefox’s main bars
set guioptions+=mTB

” change the status bar default text colour to black
highlight StatusLineNormal color:black

NOTE: only the highlight line is needed to solve the colour scheme problem, the “set…” line is to prevent the addon from hiding Firefox’s main bars (which it does by default).

EDIT: In order to be able to be able to use some usual shortcuts when editing text, insert this in ~/.pentadactylrc:

 inoremap <C-a>      <pass>
 inoremap <C-b>      <pass>
 inoremap <C-c>      <pass>
 inoremap <C-i>      <pass>
 inoremap <C-u>      <pass>
 inoremap <C-v>      <pass>
 inoremap <C-x>      <pass>
 inoremap <C-y>      <pass>
 inoremap <C-z>      <pass>
 inoremap <S-Insert> <pass>