Heard this today morning on the radio. Hilarious!!
Wednesday, October 21, 2009
Tuesday, October 20, 2009
Sunday, October 18, 2009
Sneaky Microsoft plug-in puts Firefox users at risk
An add-on that Microsoft silently slipped into Firefox [in an update delivered via Windows Update last February] leaves the browser open to attack:
http://www.computerworld.com/s/article/9139459/Sneaky_Microsoft_plug_in_puts_Firefox_users_at_risk
Actually its two Microsoft add-ons. Firefox has since blocked them:
"Microsoft .NET Framework Assistant and Windows Presentation Foundation, all versions, for all applications. Reason: remote code execution vulnerability (see bug 522777)"
https://www.mozilla.com/en-US/blocklist/
I never knew these add-ons were installed until I got a popup saying Firefox has blocked two add-ons! i first thought they were trojans by a 3rd party - because it's so unlikely for a so-called reputed company to install stealth plug-ins.
http://www.computerworld.com/s/article/9139459/Sneaky_Microsoft_plug_in_puts_Firefox_users_at_risk
Actually its two Microsoft add-ons. Firefox has since blocked them:
"Microsoft .NET Framework Assistant and Windows Presentation Foundation, all versions, for all applications. Reason: remote code execution vulnerability (see bug 522777)"
https://www.mozilla.com/en-US/blocklist/
I never knew these add-ons were installed until I got a popup saying Firefox has blocked two add-ons! i first thought they were trojans by a 3rd party - because it's so unlikely for a so-called reputed company to install stealth plug-ins.
Wednesday, October 7, 2009
LSE Buys MillenniumIT
The Business:
http://online.wsj.com/article/BT-CO-20090916-709424.html
http://www.ft.com/cms/s/0/de196d06-a2a3-11de-ae7e-00144feabdc0.html
The Technology:
http://www.computerworlduk.com/community/blogs/index.cfm?entryid=2568
http://linux.slashdot.org/story/09/10/06/1742203/London-Stock-Exchange-Rejects-NET-For-Open-Source
http://online.wsj.com/article/BT-CO-20090916-709424.html
http://www.ft.com/cms/s/0/de196d06-a2a3-11de-ae7e-00144feabdc0.html
The Technology:
http://www.computerworlduk.com/community/blogs/index.cfm?entryid=2568
http://linux.slashdot.org/story/09/10/06/1742203/London-Stock-Exchange-Rejects-NET-For-Open-Source
Thursday, July 9, 2009
Tuesday, June 30, 2009
Monday, June 1, 2009
Outlook Is Painful
It's funny when such a supposedly sophisticated program cannot do a very simple task. Apparently, MS Outlook cannot keep attachments when you reply. If you want to keep attachments in reply, you have two options:
1) You have to Forward - losing the participants in the mail
2) Let Outlook attach the original mail as an attachment instead of including it.
Both options kind of suck. At the moment I'm stuck with having to Forward and manually add back all the participants. And this is one of the many problems I have with Outlook: it's agonizingly slow, The whole machine grinds to a halt when it's downloading a message, and when it gets a message it does not like, it obliges by crashing over and over again. Thunderbird in comparison is super fast and never crashed on me. I only use Outlook (2003) at work, and that too only because the company has standardized on Outlook as the default mail client. They didn't go with Thunderbird because it did not have a (good enough) meeting facility. That I guess is a good example of how bad software triumphs over good software simply thanks to Bloat.
1) You have to Forward - losing the participants in the mail
2) Let Outlook attach the original mail as an attachment instead of including it.
Both options kind of suck. At the moment I'm stuck with having to Forward and manually add back all the participants. And this is one of the many problems I have with Outlook: it's agonizingly slow, The whole machine grinds to a halt when it's downloading a message, and when it gets a message it does not like, it obliges by crashing over and over again. Thunderbird in comparison is super fast and never crashed on me. I only use Outlook (2003) at work, and that too only because the company has standardized on Outlook as the default mail client. They didn't go with Thunderbird because it did not have a (good enough) meeting facility. That I guess is a good example of how bad software triumphs over good software simply thanks to Bloat.
Friday, May 29, 2009
PHP on Google App Engine
Earlier I blogged about GAE and the PHP implementation in Java called Quercus. There is still no official support for PHP on GAE. I was wondering about the possibility of combining these two to run PHP apps on GAE, and it seems like it's already been done. See here and here. A google search will return tons of results on it.
Hopefully this will make GAE apps a little more portable between the truck loads of web hosts that support PHP.
Update: there is a whole blog about running PHP on GAE here.
Hopefully this will make GAE apps a little more portable between the truck loads of web hosts that support PHP.
Update: there is a whole blog about running PHP on GAE here.
Wednesday, May 27, 2009
Monday, May 25, 2009
tpl: Simple, Lightweight Serialization for C
"There are no library dependencies. You can compile its source code (one file) right into your program."
Should come in handy when you want to do some quick serialization/deserialization but doesn't have the time or is overkill to bring in a heavy duty player (or if you are working in pure C). The API looks simple and elegant. License is BSD.
Site: http://tpl.sourceforge.net/
Should come in handy when you want to do some quick serialization/deserialization but doesn't have the time or is overkill to bring in a heavy duty player (or if you are working in pure C). The API looks simple and elegant. License is BSD.
Site: http://tpl.sourceforge.net/
Saturday, May 23, 2009
Tuesday, May 19, 2009
United At Last!!
How historic is today? I don't think I can do justice in describing. I will only say that, it is as a greater day as the day World War II ended to a Briton, or the day the American Civil War ended to an American. Certainly it is the greatest day in the last 30 years of Sri Lanka's history, and that is longer than my lifetime.
Monday, May 11, 2009
Sunday, May 10, 2009
Saturday, May 9, 2009
Star Trek
I'm no Trekkie, but the trailer looks awesome. (would have embedded it, but the video has embedding disabled.)
More trailers.
More trailers.
Friday, May 8, 2009
Friday, May 1, 2009
7-zip: Better Than WinRAR?
I knew 7-zip was an excellent open-source compression program (and library), but the last time I checked (which was years ago), WinRAR was slightly ahead in text compression ratio. However, I downloaded the latest one and tried today, and it seems to have overtaken WinRAR.
I compressed the JDK 6 documentation from Sun, and the sizes were:
Uncompressed - ~265MB (12499 files, 851 folders)
Zip (original download format) - ~56MB
RAR (v3.71) - ~25MB
7-zip (v4.65) - ~20MB
Mind you, this were all text files. I didn't try with binary files but as I recall, last time I try with binary files and 7-zip did compress binary files better than WinRAR. Also the WinRAR version I have is not the latest, while the 7-zip version is the latest (cheat!). You might also notice that both RAR and 7-zip beats the pants off standard zip.
Anyway, that's enough convincing for me: fully open source, with a permissive license, good GUI, and now possibly the best compression ratios of all: I'm switching over to 7-zip. So its Goodbye to shareware WinRAR and Hello to open-source 7-zip!
I compressed the JDK 6 documentation from Sun, and the sizes were:
Uncompressed - ~265MB (12499 files, 851 folders)
Zip (original download format) - ~56MB
RAR (v3.71) - ~25MB
7-zip (v4.65) - ~20MB
Mind you, this were all text files. I didn't try with binary files but as I recall, last time I try with binary files and 7-zip did compress binary files better than WinRAR. Also the WinRAR version I have is not the latest, while the 7-zip version is the latest (cheat!). You might also notice that both RAR and 7-zip beats the pants off standard zip.
Anyway, that's enough convincing for me: fully open source, with a permissive license, good GUI, and now possibly the best compression ratios of all: I'm switching over to 7-zip. So its Goodbye to shareware WinRAR and Hello to open-source 7-zip!
Thursday, April 23, 2009
Monday, April 20, 2009
AsmJit - Binary Code Generation at Runtime?
Wanna generate high performance binary code on the fly at runtime, all through a simple C++ API? AsmJit might be the answer:
http://code.google.com/p/asmjit/
We already have such nifty libraries for the JVM such as ASM and BCEL. This is the first time I've seen it for native x86.
another introduction: http://cplus.about.com/b/2009/04/19/something-a-bit-different-asmjit.htm
[Update] More JIT Libraries:
GNU lightning (LGPL)
libJIT (LGPL)
http://code.google.com/p/asmjit/
We already have such nifty libraries for the JVM such as ASM and BCEL. This is the first time I've seen it for native x86.
another introduction: http://cplus.about.com/b/2009/04/19/something-a-bit-different-asmjit.htm
[Update] More JIT Libraries:
GNU lightning (LGPL)
libJIT (LGPL)
Thursday, April 16, 2009
Wednesday, April 15, 2009
Mercurial Windows Installer: A Good Example of Lightweight Installers
Python windows installer is something like ~10MB. Mercurial (which is written in python) has a stand alone windows installer (i.e, you don't need to have python installed on your system to run it) of about ~3.5MB - probably because it only contains the subset of python needed by Mercurial. The installation is a breeze and hg works flawlessly out of the box. This installer is made using py2exe, which I think showcases the maturity of py2exe: to have a reasonably complex and widely used program using it. py2exe website lists other high profile examples such as BitTorrent.
Although I don't use Python anymore, this is a good example of lightweight (in other words: easy) installers, a question to which Java still does not have an equivalent answer. Lightweight installers help make your program more popular: average joe users wouldn't want to download separate runtimes to run your little program. They are likely to go with something easier to setup. JavaKernel comes close, but it's still a separate installation, and you cannot control the packages included/excluded in it.
Although I don't use Python anymore, this is a good example of lightweight (in other words: easy) installers, a question to which Java still does not have an equivalent answer. Lightweight installers help make your program more popular: average joe users wouldn't want to download separate runtimes to run your little program. They are likely to go with something easier to setup. JavaKernel comes close, but it's still a separate installation, and you cannot control the packages included/excluded in it.
Tuesday, April 14, 2009
Sunday, April 12, 2009
A Song Who’s Remakes Are Much Better Than The Original
After watching a song on American Idol that got a standing ovation from the judge Simon Cowell, and also hearing the song that sounded kind of familiar, got me checking it out on the web. I couldn’t view any of the original videos in youtube because they are blocked for my country (bad youtube! What has Sri Lanka ever done to you?).
Anyway, I managed to fish them out through other sites or fan uploads in youtube: The song is called "Mad World" turns out the song was featured on an award winning ad for Gears of War and on the sound track of cult movie Danny Darko.
The version on Gears of War is also a remake (by Gary Jules), and to me sounded a little better than the version on Idol - which got me curious about the “real” original. After some fishing around, I managed to dig up the original, and was a bit disappointed. To me it sounded like it was sung to the tune of tapping trash cans with beer bottles :D.
Anyway, I managed to fish them out through other sites or fan uploads in youtube: The song is called "Mad World" turns out the song was featured on an award winning ad for Gears of War and on the sound track of cult movie Danny Darko.
The version on Gears of War is also a remake (by Gary Jules), and to me sounded a little better than the version on Idol - which got me curious about the “real” original. After some fishing around, I managed to dig up the original, and was a bit disappointed. To me it sounded like it was sung to the tune of tapping trash cans with beer bottles :D.
Saturday, April 11, 2009
Google App Engine adds Java Support
Link: http://code.google.com/appengine/docs/java/overview.html
Java or Python, GAE looks like an amazingly easy platform for scalable web application development:
I wonder if this will make app engine the better free platform for facebook application development. Currently the best free hosting option for general facebook apps is Joyent, which only has the first year free. As for using GAE for facebook hosting, Python facebook libraries still seem to be in early development stages, which could be the reason we haven’t seen any significant facebook apps on GAE. The Java library is also unofficial. But it used to be official and is now maintained as an open source project, so I think it should be reasonably complete. So would the Facebook + Java + GAE combination yield some good facebook apps (assuming there is such a thing as a good facebook app)?
Having said all that, GAE Java is still in the “early access” stage and may still have some glitches. Google is giving away java access to the first 10000 who request it, probably as a soft launch. I managed to sneak one for myself - Don’t know whether I’ll do anything with it though ;-).
Java or Python, GAE looks like an amazingly easy platform for scalable web application development:
I wonder if this will make app engine the better free platform for facebook application development. Currently the best free hosting option for general facebook apps is Joyent, which only has the first year free. As for using GAE for facebook hosting, Python facebook libraries still seem to be in early development stages, which could be the reason we haven’t seen any significant facebook apps on GAE. The Java library is also unofficial. But it used to be official and is now maintained as an open source project, so I think it should be reasonably complete. So would the Facebook + Java + GAE combination yield some good facebook apps (assuming there is such a thing as a good facebook app)?
Having said all that, GAE Java is still in the “early access” stage and may still have some glitches. Google is giving away java access to the first 10000 who request it, probably as a soft launch. I managed to sneak one for myself - Don’t know whether I’ll do anything with it though ;-).
Friday, April 10, 2009
Twilight is a Chick Flick!
What a disappointment. I was expecting an action movie - judging from all the hype surrounding it. What I didn’t know was that it was all due to the fanboyism (or fangirlism?) of the book it was based on. And the special effects were as good as those of a high school play.
The reason for the confusion was that I made it a point not to read reviews or check out Wikipedia before watching this movie for a change. Guess that’s the end of that practice!
On a more positive note, I watched Pineapple Express and it was quite good: it was the stoner movie I expected it to be.
The reason for the confusion was that I made it a point not to read reviews or check out Wikipedia before watching this movie for a change. Guess that’s the end of that practice!
On a more positive note, I watched Pineapple Express and it was quite good: it was the stoner movie I expected it to be.
How to Make Eclipse Content Assist Work like Visual Assist
Some people like overly helpful IDEs, some just plain hate IDEs (“real programmers use vi”!). I for one am squarely in the former category. I love refactoring tools, reference searches, content assist and any other feature an IDE throws at me that help me increase my productivity. Heck I would let it write the program for me if it can churn out quality code!
I like Eclipse, but I’m a huge fan of Visual Assist style content assist. With Visual Assist, content assist pops up whenever you are typing, not just when you type “.” or “->”. But Eclipse, out of the box is configured to only popup content assist when you type “.” for Java. Luckily it’s trivial to change it so that it pops up whenever you are typing:
Simply enter all the letters in the alphabet (both simple and capital) in the “Auto activation triggers for Java:” box as shown below:

Not sure whether this is available for other languages though. You may have noticed that I have also lowered "Auto activation delay" to 0, so that it opens immediately.
I like Eclipse, but I’m a huge fan of Visual Assist style content assist. With Visual Assist, content assist pops up whenever you are typing, not just when you type “.” or “->”. But Eclipse, out of the box is configured to only popup content assist when you type “.” for Java. Luckily it’s trivial to change it so that it pops up whenever you are typing:
Simply enter all the letters in the alphabet (both simple and capital) in the “Auto activation triggers for Java:” box as shown below:
Not sure whether this is available for other languages though. You may have noticed that I have also lowered "Auto activation delay" to 0, so that it opens immediately.
Tuesday, March 31, 2009
Study: Action video games improve eyesight
http://www.rlslog.net/study-action-video-games-improves-eyesight/
Damn!
Better get started with that UT...
Damn!
Better get started with that UT...
Monday, March 30, 2009
GCC Optimizations Quick Reference
Document is for GCC 4.3.0 and above. But some, if not most, should apply to older versions as well. Since it's from AMD there are some AMD64 specific options as well.
http://developer.amd.com/assets/AMDGCCQuickRef.pdf
Speaking of AMD, Some companies, such as MIT, uses AMD64 based servers because of their very good price-performance ratio.
http://developer.amd.com/assets/AMDGCCQuickRef.pdf
Speaking of AMD, Some companies, such as MIT, uses AMD64 based servers because of their very good price-performance ratio.
Sunday, March 22, 2009
Resources for creating your independent contracts
If you are planning on doing some freelancing, or even starting your own little company, this might be a good resource:
http://blogs.techrepublic.com.com/project-management/?p=386
http://blogs.techrepublic.com.com/project-management/?p=386
Eclipse Quick Bookmarks
Eclipse bookmarks out of the box wants you to enter a name for each bookmark. This is sometimes inconvenient when you are used to bookmarks in say, Visual Studio. Luckily there is a plugin to get just what you want:
Page: http://www.etc.to/eclipse_bookmarks_plugin
Update Site: http://eclipse.etc.to/updates/
Just Ctrl+B to add a bookmark.
Note: last time I visited, the website had a problem but the update site worked (and so did the plugin :) )
Page: http://www.etc.to/eclipse_bookmarks_plugin
Update Site: http://eclipse.etc.to/updates/
Just Ctrl+B to add a bookmark.
Note: last time I visited, the website had a problem but the update site worked (and so did the plugin :) )
Wednesday, February 25, 2009
Native Client: Running Native Code on the Web
Ever wanted to create a hot new game with blazing 3D graphics that runs on the browser? Well, you can't. In the obviously untrustworthy and seedy world of the internet, allowing others to execute machine code on your PC is as safe a thing to do as leaving the doors and windows of your apartment open, publishing the directions to get there in the classifieds along with your credit card and and bank account details, and leaving everything behind for a three week vacation in the woods. Therefore almost all web technologies use some kind of virtual machine concept to shield the actual machine from the outside.
This works fine in most cases, and usually downright useful - where your don't have to worry about idiosyncrasies of each platform or memory leaks or corruptions. But when you really need to tap the full potential of the hardware, like a modern computer game, you are left stranded....
... until now. Google's Native Client "aims to give web developers access to the full power of the client's CPU while maintaining the browser neutrality, OS portability and safety that people expect from web applications". The project's homepage shows an example of Quake (1?) running on the browser, which is pretty neat. The tool chain seems to be based on gcc. License is BSD. Check it out. Hopefully it is a welcome respite from some of the bloat and sluggishness of Flash and Java.
This works fine in most cases, and usually downright useful - where your don't have to worry about idiosyncrasies of each platform or memory leaks or corruptions. But when you really need to tap the full potential of the hardware, like a modern computer game, you are left stranded....
... until now. Google's Native Client "aims to give web developers access to the full power of the client's CPU while maintaining the browser neutrality, OS portability and safety that people expect from web applications". The project's homepage shows an example of Quake (1?) running on the browser, which is pretty neat. The tool chain seems to be based on gcc. License is BSD. Check it out. Hopefully it is a welcome respite from some of the bloat and sluggishness of Flash and Java.
Subscribe to:
Posts (Atom)
