Learning to use Aperture - Removing Keywords

Before the holidays I started to use Apple’s Aperture photo management software. Mainly because my new camera lets me shoot in Raw, and I also wanted more control over editing and organizing all my photos. It took me awhile to figure out how to bulk remove keywords in Aperture.

VMWare Fusion stuck at Shutting Down

This morning when I got to my Apple Mac Pro, I saw that VMWare Fusion, which had been running Window XP, was stuck at Shutting Down Windows. Presumably Windows decided to do an upgrade during the night and got stuck when it tried to reboot.

Going to the menu ‘Virtual Machine->Shut Down Guest’ didn’t do anything. The trick was to hold down the option key, which changes the Shut Down Guest to ‘Power Off’. Selecting this worked fine.

Hope this tip helps someone else.

{deprecated} Flash flaw puts most sites and users at risk

Computerworld is running a story on a significant security hole in Flash.

The long and short of it all is that a security hole in Flash is in the wild, and is unpatchable according to Adobe.

Mike Murray, the chief information security officer at Orlando, Fla.-based Foreground Security says “The best mitigation is to not use Flash, but we know that that’s impossible for most users, since Flash is so widely used on the Web. Almost everyone using the Internet is vulnerable to a Web site that allows content to be updated inappropriately. That’s not hyperbole, it’s just fact. This has the potential to affect any social media site, any career site, any dating site, many retail sites and many cloud applications. That’s why this attack is so serious. End users would never know they got exploited.”

To read all about this, and how it might affect you, please take a moment to get educated and read the story at ComputerWorld.com.

No equivalent to strace on OS X and the mysterious left square bracket

Tonight a friend pointed out that there is a weird file in /bin on OS X. If you do ‘ls -la /bin’ you will most probably see a file called [. That is not a typo, the file has the left square bracket as a name.

Curious off the bat about what it does, I fired up strace and ran the [ file. Except strace doesn’t exist on OS X. strace lets you trace system calls and signals on a running file or a file that you run. Basically strace lets you watch what a file is doing. This can be very useful to solve mysterious problems.

So if you are on OS X and you need strace, you can always use ktrace instead. It works mostly the same it seems.

As for the /bin/[ file, it didn’t seem to do anything when I ran ‘ktrace /bin/[’

If I use otool to see what [ depends on it gives me:
[php][root scripts] otool -L /bin/[
/bin/[:
      /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
      /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.5)
[/php]

running strings - /bin/[ gives me long list:
[php][root scripts] strings - /bin/[
__PAGEZERO
__TEXT
__text
__TEXT
__cstring
__TEXT
__textcoal_nt
__TEXT
__DATA
__data
__DATA
__dyld
__DATA
__const
__DATA
__common
__DATA
__IMPORT
__pointers
__IMPORT
__jump_table
__IMPORT
__LINKEDIT
/usr/lib/dyld
/usr/lib/libgcc_s.1.dylib
/usr/lib/libSystem.B.dylib
,[^_]
[^_]
[^_]
,[^_]
,[^_]
?8!u
?8!uu?x
|[^_]
__dyld_make_delayed_module_initializer_calls
__dyld_mod_term_funcs
%s: %s
%s: out of range
%s: bad number
argument expected
closing paren expected
missing ]
unknown operand
_NXArgc
_NXArgv
___progname
__mh_execute_header
_catch_exception_raise
_catch_exception_raise_state
_catch_exception_raise_state_identity
_clock_alarm_reply
_do_mach_notify_dead_name
_do_mach_notify_no_senders
_do_mach_notify_port_deleted
_do_mach_notify_send_once
_do_seqnos_mach_notify_dead_name
_do_seqnos_mach_notify_no_senders
_do_seqnos_mach_notify_port_deleted
_do_seqnos_mach_notify_send_once
_environ
_receive_samples
__DefaultRuneLocale
___error
___keymgr_dwarf2_register_sections
___maskrune
__cthread_init_routine
_abort
_access
_atexit
_errno
_errx
_exit
_getegid
_geteuid
_isatty
_lstat
_mach_init_routine
_stat
_strcmp
_strtol
8__PAGEZERO
__TEXT
__text
__TEXT
__symbol_stub
__TEXT
__picsymbol_stub__TEXT
$__symbol_stub1
__TEXT
__cstring
__TEXT
__picsymbolstub1__TEXT
__DATA
__data
__DATA
__nl_symbol_ptr
__DATA
__la_symbol_ptr
__DATA
__dyld
__DATA
__const
__DATA
__common
__DATA
8__LINKEDIT

/usr/lib/dyld
/usr/lib/libgcc_s.1.dylib
/usr/lib/libSystem.B.dylib
#x|y
}“Kx@
9),?H
}“Kx
<8c,
@8c,
88c,
H8c,
L8c,
P8c-
- 9k-4
D8c-HH
x?B0
k0d}i
3x8`
X|BJ
__dyld_make_delayed_module_initializer_calls
__dyld_image_count
__dyld_get_image_name
__dyld_get_image_header
__dyld_NSLookupSymbolInImage
__dyld_NSAddressOfSymbol
libobjc
__objcInit
__dyld_mod_term_funcs
%s: %s
%s: out of range
%s: bad number
argument expected
closing paren expected
missing ]
unknown operand
_NXArgc
_NXArgv
___progname
__mh_execute_header
_catch_exception_raise
_catch_exception_raise_state
_catch_exception_raise_state_identity
_clock_alarm_reply
_do_mach_notify_dead_name
_do_mach_notify_no_senders
_do_mach_notify_port_deleted
_do_mach_notify_send_once
_do_seqnos_mach_notify_dead_name
_do_seqnos_mach_notify_no_senders
_do_seqnos_mach_notify_port_deleted
_do_seqnos_mach_notify_send_once
_environ
_receive_samples
__DefaultRuneLocale
___error
___keymgr_dwarf2_register_sections
___maskrune
__cthread_init_routine
_abort
_access
_atexit
_errno
_errx$LDBL128
_exit
_getegid
_geteuid
_isatty
_lstat
_mach_init_routine
_stat
_strcmp
_strtol
[/php]

So, I have no more time to investigate further right now, and Google shows nothing useful. If anyone has an idea of what the mysterious [ binary does, please let me know. Thanks!

Page 1 of 2 pages  1 2 >