Tuesday, August 16, 2011

Tuesday, August 09, 2011

Graduate school is not easy, but it's definitely fun - otherwise how could you survive 5 years of hard work? An important part of grad student life is choosing a topic to work on that will treat you well - you will enjoy woking on it and you will generate new knowledge (in units of posters, presentations, papers, talks, even books). Uri Alon gives tips on how to choose a good scientific problem - a short read that can save you some pain later in your career!

Thursday, February 17, 2011

Words that warn me against the scientific work:

  • "theorizing the web"
  • "are people using NationOfNeighboors.com a community?" (take a guess)
  • "cultivate creative ecologies for learning"
  • "cultural economy"


In general, people using too many fillers in their talks and writing turn me off big time making it hard to assess the significance of their work.

Tuesday, February 15, 2011

Tuesday, January 05, 2010

IDropInListItemRenderer instead of IListItemRenderer ListBase will pass more information to the itemRenderers

Wednesday, January 21, 2009

to replace the password for ColdFusion server:
find a /lib folder, open password.properties file and set "password" to be your new password, "encrypted" = false. Restart the ColdFusion services. Login with the new password.

Friday, December 19, 2008

if you have these tuples in your database:
a b c
1 1 r
1 2 e
2 3 t
4 2 s


SELECT DISTINCT ON (a) a, b, c will return:
a b c
1 1 r
2 3 t
4 2 s

Thursday, November 20, 2008

Flex inheritance.

Let B be a base class, E - a class extending B, and X be some random class that does not extend B nor E. By default all fields and methods in AS3 are declared internal, so if you did not provide a scope specifier for your method/field, it will be treated as internal.

Scope specifiers available in AS3:
  • public methods and fields are visible to code anywhere (Both E and X have access to those).
  • private fields and methods are visible only within the class defining them (E has no access to any private fields or methods from B, nor does X)
  • protected fields and methods are visible to the class defining it and all subclasses (E has access to protected entities, independent of the package it belongs to, but X has no acces to them).
  • internal methods and fields are accessible by all classes in the same package and can onlny be inherited by a class in the same package (E has access to internal only if E belongs to the same package as B, same applies for X.)
More detailed discussion on inheritance in ActionScript 3.0: here

Monday, November 10, 2008

To force child to show scroll bars instead of resizing the parent: set parent's minHeight = 0, height = 100% and that should do it.