The Voidspace Techie Blog

Gravatar I read recently about Versions. Unfortunately, it's still in development phase. But looks pretty cool http://versionsapp.com/


Gravatar Looks interesting - but the beta isn't available yet...


Gravatar Re OpenTerminalHere: it isn't even necessary. Try this. Open a terminal window. Type "cd " (or any other command that needs a path). Drag a folder icon from the Finder into the terminal window (either from inside a Finder window, from the desktop, or from the title bar of a Finder window).

It's easier to do than to describe. Instant paths!


Gravatar ... actually, icons from the title bars of application windows work too. You get the path to the document.


Gravatar David: you can do the same thing in Windows - but 'command window here' and 'terminal window here' are both quicker.


Gravatar I've always thought it was obvious, but maybe it isn't:

>>> 3 is not False

is syntactic sugar for

>>> not (3 is False)

and it's not equivalent with

>>> 3 is (not False)

The same applies to the 'not in' operator. And yes, 'not in' and 'is not' are tokens of themselves.


Gravatar Hello Phillipp,

I only noticed recently that "3 is not False" is very different from "3 is (not False)". Perhaps it is obvious!

I don't think 'is' is not' are different tokens - but different operators. Having them as different tokens would make parsing harder.

Michael


Name:

Email:

URL:

Comment:  ? 

 

Commenting by HaloScan