Give me Little Snitch Advanced rules please

December 28, 2007

I just read the following Blog entry: Lies, Lies and Adobe Spies which mentioned Omniture 2o7.net cookies.

So I decided to block that domain.

Applications besides browsers seem to use 2o7.net. A quick search on Google showed a lot more applications using that spying domain than I expected. This means that disabling those cookies in your browsers is not good enough. So I tried to deny all access to 2o7.net with a Little Snitch rule.

Deny access

This does not work however if you allow an application unrestricted access. In my case FireFox is allowed to do pretty much everything. And by design Little Snitch considers this a more specific rule which has precedence. It would be nice if Little Snitch would add Global rules for these kind of use cases.

This makes me pine for my old Sygate Personal firewall still running flawlessly on my old Windows machine. In Sygate you could have Advanced rules overriding the application rules.
As a workaround I created an entry in hosts like this: 127.0.0.1 2o7.net. Hopefully advanced rules of some sort will be added to Little Snitch, because altering your hosts table for this is just stupid.


Farewell iGTD, welcome OmniFocus

December 4, 2007

I recently pre-ordered OmniFocus and started using it for actions, projects, contexts and other stuff . An actvity which I previously tackled with iGTD.

I was sort of happy with iGTD, but I had always issues with syncing. Regularly I had to interfere in task and calendar conflicts. More on Leopard than on Tiger. I was never certain why I had those conflicts. Additionally iGTD always felt a bit crude. So I decided to actively switch to OmniFocus. I had played a bit with OmniFocus already the last five months, but not used it actively.

I have used OmniFocus for two full weeks now.
I don’t regret it! Syncing with iCal, Mail (without MailTags) and my Palm is faultless, a much better experience than with iGTD.
The OmniFocus user-experience is also much better. The sidebar in project mode can contain folders and I really appreciate that extra structuring option.

Task notes and calendars were always taking way to much screen estate in iGTD. They are not visible in OmniFocus unless you want them to.
And I am really getting used to typing friday, tomorrow, today or next week in the Action field. I don’t need no stinking calendar!

Outline in planning mode is a nice overview of your projects, a feature which I haven’t found in iGTD and which I deemed unnecessary. But I started to use it for the big picture progress overview. Not GTD I guess, but still damn handy.

Leopard coolness: Attachments in actions can be opened with Quicklook!!

OmniFocus and Quicklook

Eye candy in my opinion, but nice nonetheless.

One thing I miss from iGTD is the automatic syncing. As far as I know OmniFocus can only do this manually, a thing which I often forget.

iGTD was a nice application, but I haven’t really missed it since embracing OmniFocus.


OmniGraffle Stencil Chaos

November 27, 2007

My OmniGraffle stencils menu was getting a bit chaotic. One big long list. The default Omnigraffle stencils use sub-menus. For instance the business stencil sub-menu.
But all the downloaded ones just wound up in the main stencil menu.
So I created some sub folders inside ~/Library/Application Support/OmniGraffle/Stencils and dropped some of my stencils there.
It just worked ™.

I tried symbolic links to have one stencil in multiple sub-menu’s, but that does not work. So I wound up copying them.

This looks a bit nicer:

Omnigraffle Stencils

Trivial.


Do not use the ATG ApplicationLogging API

November 4, 2007

In my current project we use atg.nucleus.logging.ApplicationLogging. This is with ATG 2007 on JBoss.
At the start it was decided to use the ATG logging API in stead of Log4J (or
any other Java logging framework). ATG and ApplicationLogging was common practice, why not use it I was told.
Later when I saw the code littered with complicated logging statements where the programmer had to include the method from which the Logging statement was executed I was not so sure.

1 Log4J ConversionPattern

Adding the containing method to your logging statement is not necessary. You can use the Log4J ConversionPattern %M in the PatternLayout.
which is used to output the method name where the logging request was issued.
It should be used with care of course since it is a performance drain. But we can alter this at runtime so that’s no biggie (see 2). But…
ATG logging attaches to JBoss logging, however the %M is lost since the ATG logging method is considered as the issuing method. So the
logDebug logInfo, LogError etc, are reported to be the issuing method, in stead of the actual method. Pretty useless.
This would not have happened if ATG ApplicationLogging was not used, but plain Log4J.

2 Different logging level

A used argument is that you can alter the logging level of the individual components in the ATG admin console.
This is trivial. You can also do this in Log4J.xml with the Log4J categories.

3 Dynamic Logging Level

Another argument: You can change the logging level in ATG without restarting the server.
Look at JBoss Log4JService. This automatically picks up changes to Log4J.

Moral

  • Don’t use atg.nucleus.logging.ApplicationLogging you butcher Log4J features.
  • Don’t think, because you have some patterns which used to work, that that is the best pattern in the future.
    What worked with DAS does not necessarily work with JBOSS.
  • Think.

Quicksilver drag and drop

October 22, 2007

Quicksilver keeps amazing me.

I had to mail a document so I wrote that mail and then browsed for the document in order to attach. I forgot where on the file-system that
document actually is since I always open it with Quicksilver. I then thought that I would be real neat if I could find it with Quicksilver and
then drag and drop it in Mail.

That just works ™™

Nothing new for the die hards and old old news: drag and drop.
Still I’m surprised it is in there.

I just love Quicksilver. It feels so simple, but has a wealth of features and keeps amazing me in that it always is one step ahead of me….. But that step is not in my face and is there when I realize I need it and are ready for it.


Follow

Get every new post delivered to your Inbox.