Friday, February 03, 2012

A Small Contribution: Substitution in The World of Lambda

Feeling a humble joy for being able to make a small contribution to a great resource: Semantics Engineering with PLT Redex, errata on substitution

Thank you Professor Matthias Felleisen for posting it and Professor Amr Sabry at Indiana University for the inspiring course on B522 - Foundations in Programming Languages, which made this possible.

Friday, January 27, 2012

SugarSync Public Link: Direct Download

SugarSync public links are great, but unfortunately they've added an intermediate download page instead of the direct download that used to be there (see more on this at http://www.sugarsync.com/blog/2012/01/10/if-you-love-your-public-links-set-them-free/).

May be it was done with good intentions, but it broke all the image links we had in our Web site. Anyway, it seems there's a way around to get images working back in your Web pages without much hassle.

The solution is just add the following to the end of each image link (I know it's bit work too, but way better than having copy images to a local folder and linking them again manually).

old-link?directDownload=true

Wednesday, May 25, 2011

Either "either", "or","and" or "and/or"?

http://en.wikipedia.org/wiki/And/or

Thursday, March 17, 2011

Copy Path to Clipboard : Another Life Saver

Want to copy the path of a file to clipboard in Windows without having to open properties window? Just try Copy Path to Clipboard v 1.00 (http://www.softpedia.com/get/System/OS-Enhancements/Copy-Path-To-Clipboard-JA.shtml). It's a pretty neat tool that saves quite a bit of human I/O time :D

Note. It works fine with Windows 7 as well.

ReSharper: Life Saver for Visual Studio Users

If you are using Visual Studio for application development then most probably you may have noticed the lack of built-in refactoring support. At least for me it was so obvious, probably because I was used to the rich environment provided by IntelliJIDEA (http://www.jetbrains.com/idea/) for Java development. So finally did some search to see if there's any third party plug-in for Visual Studio on this aspect and guess what! The same guys who build IntelliJIDEA has a plug-in called ReSharper (http://www.jetbrains.com/resharper/). I had no second thoughts to use it based on my experience and it sure changed my clumsy feeling towards Visual Studio :)

Unfortunately it's not free, but if you are doing open source development they give you it for free. Anyway, the cost isn't sky-high to purchase as well.

Tuesday, February 22, 2011

It's Cold Again

අඳුරු වළා ලං වුනා ද
එලිය නුඹේ නැති වුනා ද
සීත අහසෙ රජ වුනා ද
නුඹ ආයෙත් සැඟ වුනා ද

2/22/11

(C) Saliya Ekanayake

Friday, February 04, 2011

Subscript and Superscript with MS Word 2007 Equations

If you happen to use MS Word 2007 for equations and wonders why the heck there isn't a shortcut to subscript and superscript then you will like what I just found couple of minutes ago.

If you want to type e1 with 1 as subscript just type e_1. The moment you hit space it will become what you want. To make 1 superscript type e^1 and space. Enjoy!

Friday, December 03, 2010

Open Cubicles and Work

I wanted to blog about this for a long time and finally it's out today. If you are in the computer science world working in some company or doing research, cubicles will not be a new thing for you. A large room partitioned into blocks of small cubicles and two or more people working nearby are the typical nature of these work areas.

Honestly, I really really don't like this setting. I wonder who came up with this idea of having people sit nearby in the open and work. May be people are thinking that having open cubicles give more freedom to people because they are not physically constrained by walls or doors. But have they ever thought the effect on mind? Does physical boundaries affect the same way to mind? In fact, I think it's totally the other way around. You cannot think effectively when you are in open with others. Essentially what happens is that you are physically free, but mentally constrained.

The truth with everyone, no matter how much they don't like to show it, is that they have unique ways of working optimally. This may include things like clapping and rubbing the hands when your code works and say "Oh! Sh*t" when it doesn't. Not to mention the luxury of thinking silently. How much of these can you do when you are in a professional setting surrounded by others? Also, how much actions of others can you tolerate. Here's one of my personal experience. A person who sat next to me used to sip his coffee so loud and end each sip with the sound "aah". I understand that it's how he likes to enjoy his coffee. That's perfectly fine, but for me that sipping was annoying and disturbing.

So in my view, if you want to work effectively specially when you have to think, open cubicles are nothing but jail to your mind. If you think I am crazy, think of theses (http://www.guardian.co.uk/books/2009/sep/19/books-written-in-prison). These guys were in prison physically, but they had all the "space" in mind to think. No I am not suggesting to go to prison to work :D.

Anyway, another good video on "Why work doesn't happen at work", by Jason Fried from one the TED talks can be found from here (http://www.ted.com/talks/jason_fried_why_work_doesn_t_happen_at_work.html).