November 24, 2007

mdfind is picky

mdfind is powerful, but can return bad results for complex searches unless you really know how to use it.

One thing that had me stumped for the past 2.5 hours was how to make a query with onlyin and multiple restrictions. Normally, for such a query, you can write it like so:

mdfind -onlyin ~/work 'kMDItemDisplayName == "*col.psd*"'

If you want to have two restraints, you need to use the rounded brackets.

mdfind -onlyin ~/work '(kMDItemDisplayName == "*col.psd*" && kMDItemContentModificationDate >= $time.today(-30))'

If you look at any example from smart folders, the rounded brackets go around each statement, not around the entire query!

November 18, 2007

USB Eco Powerstrip

This is a power strips that turns its self off!
and for $35 each, it's not a lot of money. Remember all those big power bricks use power as long as they are plugged in; even if you are not using the device!

verisign labs

Security now was talking about Verisign labs who offer a security key chain for there openid server. Paypal is offering them for less-than-cost; only $5! I picked up mine some time ago; they work great! The openID end is fun, however because it's all so new; no major company is using it. Signing in to openID has blended a nice mix between security and ease of use. Sites need to be given permission by PIP, item-by-item you offer information to a site (name, age, location, etc.) The site knows to use Verisign as your openID provider by a URL you give them. To make your life easier, you can get a firefox plug-in that will enter it for you when you click on the field; normally at this point... if you were not already logged into PIP, you will get a login screen. I type in my user name and password; then it prompts me for my number... after that; I'm back on the site I was originally at; logged in. Because, to many this may sound like a hassle; let me tell you what hassle you have just avoided; no matter if your normal user name is used or not; the login steps are the same... No matter if you have an account with a given site or not, you can give a new site your info without entering your data over and over again. Also, if it's a site you don't want to 'keep' an account at any site, you can make it good for this one time; or for xxx amount of time!

I played around with this thing for a while; and now that PPP are out, I'm still feeling quite safe with PIP, and the key chain. It's just one more layer of security between me and paypal/ebay, and in the future maybe other sites (Verisign labs is an open platform, if you have the money, you can use these keys for you business, and if someone already has one, they don't need a new one.

November 17, 2007

back, and married!

so, it's been a really long time. I got married, I moved in... I went more than a WEEK without internet! But all that's behind me. I am nearing the 1 month mark. The wedding was fun; I love every bit of it; but every day that has gone by since then, I have been more enthralled with how the future looks.

There are so many things about married life you never give much thought to! inlaws are great; we get along quite well; and everyone is happy. Becca and I help eachother out in every day chores, and that makes the load seem so light. I only hope I always feel the way I do right now