ORM Is an Offensive Anti-Pattern

ORM is a terrible anti-pattern that violates all principles of object-oriented programming, tearing objects apart and turning them into dumb and passive data bags. There is no excuse for ORM existence in any application, be it a small web app or an enterprise-size system with thousands of tables and CRUD manipulations on them. What is the alternative? SQL-speaking objects.

Source: ORM Is an Offensive Anti-Pattern – DZone Java

OS X Finder default window size

I don’t like to resize the Finder window every time I open the new one. Unfortunately, most of the time the size is too small and I have to change it again and again. Yes, I can go to fullscreen mode, but it’s not always the desired option.

The solution for this problem is simple, but not evident:

  • Open a Finder window and set it the size you want
  • Close all windows (Command + Options + W and click the close button)
  • Hold down the Option key, right-click the Finder icon, and select relaunch

Now, when I open the new Finder window it has always the same size.