CS courses

http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/

http://www.aduni.org/courses/

https://www.coursera.org/category/cs

http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-00-introduction-to-computer-science-and-programming-fall-2008/

coursera

Advertisements

Consistent hashing

Nice article

Dynamo – Amazon’s proprietary KV Data store employs “consistent hashing”

LockModes in Hibernate

from “Hibernate in Action” –

Hibernate defines several lock modes:
■ LockMode.NONE—Don’t go to the database unless the object isn’t in either
cache.
■ LockMode.READ—Bypass both levels of the cache, and perform a version
check to verify that the object in memory is the same version that currently
exists in the database.
■ LockMode.UPDGRADE—Bypass both levels of the cache, do a version check
(if applicable), and obtain a database-level pessimistic upgrade lock, if
that is supported.
■ LockMode.UPDGRADE_NOWAIT—The same as UPGRADE, but use a SELECT…FOR
UPDATE NOWAIT on Oracle. This disables waiting for concurrent lock releases,
thus throwing a locking exception immediately if the lock can’t be obtained.
Understanding database transactions 167
■ LockMode.WRITE—Is obtained automatically when Hibernate has written to
a row in the current transaction (this is an internal mode; you can’t specify
it explicitly).
By default, load() and get() use LockMode.NONE. LockMode.READ is most useful with
Session.lock() and a detached object. For example:
Item item = … ;
Bid bid = new Bid();
item.addBid(bid);

Transaction tx = session.beginTransaction();
session.lock(item, LockMode.READ);
tx.commit();
This code performs a version check on the detached Item instance to verify that
the database row wasn’t updated by another transaction since it was retrieved,
before saving the new Bid by cascade (assuming that the association from Item to
Bid has cascading enabled).
By specifying an explicit LockMode other than LockMode.NONE, you force Hibernate
to bypass both levels of the cache and go all the way to the database.

Programming

Guidelines from Bruce Eckel’s classic – Thinking in C++

http://www.codeguru.com/cpp/tic/tic0316.shtml#fnB76

http://programming.oreilly.com/

User Interface Links and Generally Interesting stuff

Thanks to Karan, here’s some interesting UI links and generally geeky tidbits from his blog – Visit his blog for more info – http://geekscribble.blogspot.com/2005/08/book-debugging-development-process.html

MSDN Architecture Center

  1. http://msdn.microsoft.com/en-us/architecture/default.aspx – Useful link to Architecture related topics. I like the Architecture Journal specially.
  2. http://msdn.microsoft.com/en-us/magazine/bb985026.aspx – Avoiding DLL Hell using application metadata in the .NET framework
  3. Design Guidelines for class library developers
  4. Discovering the Design Patterns you are already using in .NET 
  5. http://msdn.microsoft.com/en-us/library/ff921345.aspx – Patterns and Practices
  6. http://msdn.microsoft.com/en-us/library/ff649315.aspx – Security code review
  7. http://msdn.microsoft.com/en-us/library/ff648637.aspx – Code review