What are anonymous functions?
I read an interestig article on The Verge the other day entitled ‘Google’s iron grip on Android: Controlling open source by any means necessary’. It basically details how Google is slowly but surely closing up Android, by stopping maintenance and new development on the Open Source versions of most important apps and instead improving only the closed source forks of these apps in the Google Play store.
(Image courtesy of Anythingbutiphone.com)
It is an interesting strategy: Start out by giving something away for free and only once you have gained a strong foothold in the marketplace, start closing it up so you get/keep full control and can start milking your new cash cow.
Turns out that The Verge is doing a series of articles on this subject and I spend quitte some time reading some of them. I also tend to read comments and it was one of the comments that triggered this blog post. Basically the commenter was saying that if Android would have been GPL licensed this strategy of Google would not have been possible:
OK, a Nook can run programs that were coded for an older version of Android, maybe even a recent version. But it cannot be called, nor IS it called “Android.” This is sorta like Linux where you can only use version 2.2. Except that Linux is GPLv2, which would never allow this sort of foolishness.
This is pertinently false!
I hate it when people spread disinformation about topics I care about, such as Open Source. So much so that I created an entire blog just to store the standard message I give people who claim that Open Source software is not necessarily free as in free beer, when in fact it is.
So why would a GPL license here have done nothing to prevent ‘this sort of foolishness’?
Ladies and Gentlemen! For tonight’s fight, in the blue corner, weighing in at two and a half billion users, Wooorldwiiide Weeeebbb BROWSERS!!!! And in the Red corner, weighing in at hundreds of corporations, institutions and individuals, Oooficiaaall Weeeebbb STANDARDS!!!
Browsers versus Standards may sound a bit weird, but if you are a web developer like me you may have had the feeling too sometimes that some standards as described by the organizations governing them actually seem to be hurting your attempts to write cross-browser compatible web pages. For example:
Phasing out basic elements such as
u and leaving the
iframe element out of the
Limiting the use of text/html for xhtml to xhtml 1.0 only.
Trying to replace the
img tag with the more generic
For some years, after finishing HTML 4, W3C has been, in my opinion, straying from ‘the path’ when they ventured into the dark woods of xhtml 1.1 and 2 and it’s many modules. They had made HTML so complex, just trying to figure out what doctype to use for your new HTML template could lead to hours and hours of internet research, leaving you more confused afterwards than you started out.
Oooh the shame. That I ever had to see this day. It’s sad, sad indeed.
Oracle is now officially EVIL!
Oracle has turned Java into malware, by installing addware such as browser toolbars and search providers, without explanation or asking for permission, as part of *critical* Java security updates.
My girlfriend suddenly noticed that the Ask.com toolbar was installed on her machine. And today I found out why. Installing the latest update to Java (which is basically a MUST as it fixes critical security vulnerabilities) will, if you don’t pay close attention, also install nasty browser toolbars and search providers. Even if you had originally declined those pesky things, Oracle’s Java Installer will keep offering to install them, for *every* single (security) update, averaging about once each month or two. Until you finally forget to decline or give up on Java altogether.
Read more about it on ZDnet.
UPDATE: I found this great Youtube video on what happens if Oracle does not change it’s ways. Very funny.
About a month ago I wrote a post on this blog about what I like to refer to as the Passive 3D myth which states that
Passive 3D systems offer inferior resolution when compared to Active 3D because each eye only gets to see half of the image lines on the screen.
That post has received some good and insightful comments that made me rethink my position… and come to the exact same conclusion that the statement above is indeed a myth.
The comments did give a very good insight into where the source of the confusion lies when discussing this so I decided to revisit this subject with a more detailed explanation of why I think the statement is a myth and why the refresh rate of the television or the frame rate of the source material are largely irrelevant to the discussion of the merit of this statement.
Active glasses (back) shut out each eye in turn, passive glasses (front) filter the light
If you want to import a project from GitHub or Heroku into Eclipse, you can use the Git import wizard found under:
Eclipse menu: File -> Import -> Git / Projects from Git
However for me, the wizard would refuse to finish. There was no error dialog, nothing just happened when I pressed Finish. When something like this happens in Eclipse, you should check the error log. You can open it’s view from:
Eclipse menu: Window -> Show View -> Error Log
When I pressed finish, this log entry appeared:
Unhandled event loop exception
. at org.eclipse.egit.core.securestorage.EGitSecureStore.calcNodePath(EGitSecureStore.java:86)
. at org.eclipse.egit.core.securestorage.EGitSecureStore.putCredentials(EGitSecureStore.java:55)
. at org.eclipse.egit.ui.internal.SecureStoreUtils.storeCredentials(SecureStoreUtils.java:36)
. at org.eclipse.egit.ui.internal.clone.GitCloneWizard.performFinish(GitCloneWizard.java:197)
. at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
UPDATE: This issue has been fixed now!
So today I created an account on Heroku and downloaded the Heroku Toolbelt for Windows. The installer seemed to work very well but on attempting to run the
heroku command I got an error message:
The system cannot find the path specified.
After some digging around I found out that this is a problem in the batch file Heroku uses to start Ruby, heroku.bat. This batch file is trying to determine the path to Ruby but for some reason is failing on Windows Vista. I managed to get it to work by adding two lines that solve the issue on Vista and (I think) won’t break other systems (Windows 7). Here is the fragment that I changed, with the lines I added marked: