Archive for the ‘mac’ Category

Eclipse Ganymede is coming

Sunday, June 22nd, 2008

Some time ago I write about next Eclipse version called Ganymede. Also some time ago I have switched to Mac and InteliJ IDEA. The reasons was that eclipse has poor dynamic languages support and also SWT was far from native cooperation with Mac Cocoa.

First at all I read all of new features eclipse will provide. Next I downloaded version for j2ee development and start to look at new features. Good news eclipse SWT going to native Mac Cocoa support, even Command+F5 reads eclipse screen and reads all the code I have in active windows. Maybe it is not important for programmer, but we are able to write SWT application with such accessibility support. Keep going Eclipse, nice work.

Eclipse was always on the top having so much editing possibilities. Now they added very nice breadcrumb so you press Alt+Shift+B, on Mac the shortcut is Alt+Command+B. You see nice breadcrumb which allows you to quickly navigate, depending on which step you use, we can switch between methods, class in the same package, packages, directories.

breadcrumb

Items counts depends on the position where you press shortcut. One thing to mention is that it is experimental and from my point of view there is a minor bug, because eclipse shows everything on the disk so in my situation is .svn directory and also .DS_store file.

After switch from eclipse to InteliJ I miss for quick assist Ctrl+1, when I found it Alt+Enter (truly my colegue told me) I think it is one of coolest feature in IDE. Ganymede adds some more quick fixes. And of course on Mac it is Command+1 ;)

  • Create getter and setters for fields

getters_setters

  • Expression extract to method
  • Expression extract to variable
  • Convert to StringBuffer

quick_fix

In InteliJ I really like format modified lines, I can set up on committing files, or call it when I want. Now Eclipse has the same feature, It’s a pity it has no shortcut but as you find this attractive you can setup it.

It also good to point that rulers now are more configurable and you can configure it by right click on it

rulers

And some others improvements

  • There is new eclipse java compiler, it now much quicker on multi core machines as my Mac ;)
  • JUnit shows now execution time, which I found very nice feature, because I can focus on test which takes to much time.
  • Quick find occurrence Ctrl+Shift+U (of course on mac it is Command+Shift+U), depending on context it shows search form, or if only one search is possible it fires this search. Very nice feature. A one thing to mention is that there is possibility to choose different colors for write and read.

find_occurence

  • Close tabs with middle click, I use middle click a lot at work in Firefox, but on Mac I haven’t middle click at all ;)

And last but not least is DLTK that means Dynamic Languages Toolkit subproject, and I must look closely at it ;) . In my opinion Eclipse always was on the top and new Ganymede is great. I’ve got now hard days, because I’ve got from InteliJ my own License.

Little Snitch

Tuesday, June 17th, 2008

On my Mac I’ve got firewall so I should fill secure. But as we know there are so much application which sends data from our computer thought firewall. I found very nice application called “Little Snitch“. It’s cost just 29.95$ and you can evaluate it for free, there is only one problem application stops every 3 hours and than you can restart it.

Installation is quick, but after installation is finished restart is required. After restart my machine starts for very very very long time, but finally it has started. Little Snitch has predefined rules and this rules is good start.

LittleSnitch default rules

It also has nice monitor which shows current use of network.

LittleSnitch Monitor

Very nice and useful application for person who wants to make his mac more secure.

about me

My name is Sebastian Pietrowski. I've finished Warsaw University as Master degree. I started my journey with Java 1.1 with Thread and JDBC programing in 1998 as I worked for merlin.pl. In 1999 I've passed Java Programer Certificate for Java 1.2, and was solution architect of merlin.pl infrastructure when we was moving from pl/sql to J2EE. It was great performance optimization with 10 times more req/sec than in requirements and 85 times faster as original solution.

Currently I work as Expert Software Development Java at F.Hoffmann-La Roche. The company was founded in 1896 and today, Roche employs over 80.000 people. After work I'm involved in activities related to Scala/Lift, Ruby/Rails/Merb, Python/Django. This is because I try to be pragmatic also I'm focused on application performance and tuning with success in my daily work.

My Yoda's motto: Do, or do not. There is no try.