Suffering 1-2 second sound delay between video on Macbook Pro and bluetooth speaker (Jabra Solemate in my case) I searched for a solution.  Updating the bluetooth speaker firmware (from version 1.33 to 1.34 on the Jabra Solemate) solved/fixed the sound video sync delay problem for me between a Macbook Pro Retina (2012) and a Jabra Solemate bluetooth speaker.  Sound and video synchronization is still not 100% perfect but the delay is very small and almost imperceptible unless you’re really looking for it.

The Sony A7r camera body vs. Leica M9 camera body sensor dynamic range comparison in these two photos illustrates the advantage Sony has in its latest 24MP CMOS full-frame camera sensor (same as used in the Nikon D600/610).

Sony A7r with Leica 75mm f/2 lens

Leica M9 with Leica 75mm f/2 lens

(Use left & right arrow keys on your keyboard to flip back and forth between the Sony A7r photo and the Leica M9 photo on Flickr.)

The lights and darks in the Sony A7r photo contain color and definition of lines and texture.  They’re not just white and black.  Compare the Sony photo to the Leica M9 photo where the bright and dark areas are mostly just white and black without much visible definition of what is in those areas.  Colors are also more recognizable in the Sony A7r photo compared with the Leica M9.  Granted, the Sony A7r camera CMOS sensor is basically one year old, whereas the Leica M9 CMOS Sensor, released in 2009, is now 5 years old.  This type of dynamic range difference between Sony sensor and Leica sensor 4 years older, should be expected, regardless of manufacturer.  Chip technology will continue to advance whereas lens designs and materials are much more stable and only improve slowly over time.

Another thing to keep in mind is the Leica APO-Summicron-M 75/2 ASPH (aspherical) lens mounted on the Sony A7r is using an adapter mount and is not meant for the Sony EF mount.  There are few lenses available for the Sony A7 and Sony A7r for the moment, so there’s currently a rush to find out which lenses work well with this new full frame mirrorless camera.

Once Sony releases lenses that are meant for this brand new full-frame body, we should see some more comparable photo results vs. off-brand (Zeiss, Leica, Voigtlander, etc.) lenses.

(Photos by Dierk Topp)

./splunk enable boot-start -user splunk

returns error:

This account is currently not available.

First-time-run has not finished.  Ignore this error when previewing migration - exiting.

Cause for error is the specified user has no shell.

Fix - set the shell for the splunk user (”splunk” in this case), to /bin/bash.

Run in the terminal:

usermod -s /bin/bash splunk

./splunk enable boot-start -user splunk

If all goes well enabling boot-start you should see splunk return:

Adding system startup for /etc/init.d/splunk …

/etc/rc0.d/K20splunk -> ../init.d/splunk

/etc/rc1.d/K20splunk -> ../init.d/splunk

/etc/rc6.d/K20splunk -> ../init.d/splunk

/etc/rc2.d/S20splunk -> ../init.d/splunk

/etc/rc3.d/S20splunk -> ../init.d/splunk

/etc/rc4.d/S20splunk -> ../init.d/splunk

/etc/rc5.d/S20splunk -> ../init.d/splunk

Init script installed at /etc/init.d/splunk.

Init script is configured to run at boot.

This is for an Ubuntu 12.04 LTS system.

To avoid the security risk of having another account with shell access, you can remove ssh access for the account by adding the following line to /etc/ssh/sshd_config:

DenyUsers splunk

Then restart SSH daemon:

. /etc/init.d/ssh restart

This specifically blocks the user splunk from logging in via SSH.  Even though the username/password challenge still works for this account, it will never successfully login to a shell, even with the correct password.  And splunk’s stormforwarder actually needs shell access from this user in order to start at boot time.

Alternatively you can block SSH login access to all accounts except the one you specify with this line:

AllowUsers chosenaccount

Where chosenaccount will be the only user that can login via SSH, using password or keys.

Sorting directory or file listing by date last changed/modified on Mac OS X (with long listing & attributes such as size & permissions):

ls -latc

On linux:

ls -laSt

cp -rp /source-dir/. /destination/

-r = recursive

-p = preserve

/source-dir/. = dot means the entire directory contents, including hidden files

In bash terminal, to skip forward or backward whole words you need to send meta + f and meta + b, but Mac’s don’t have alt keys, rather option.

iTerm allows you to change option to meta under profiles (or globally in Keys).  Change option key to meta shown below and you’ll be able to use Option + left-arrow and Option + right-arrow to skip jump backward and forward whole words within your bash terminal.

iTerm option-key to meta

Debian / Ubuntu linux visual package manager, a step-up from apt / apt-get command line for installing your LAMP server.

aptitude - Packages marked for installation

Navigating aptitude with hot keys

? - help screen with partial list of hot keys

l - filter packages (lower case L), shows only packages

/ - search, places cursor (within context of all packages) on next package that matches your search term.  No filtering.  You’ll see all unrelated packages above/below your search hit.

n - search & find next item going forward / down

N - search & find next item going backward / up

[ - expand fully tree under cursor (useful after using "l" filter, which doesn't open any tree, just reduces visible packages within their hierarchical trees)

] - collapse fully tree under cursor

^ - back up one level of tree

Ctrl + f - move forward one screen

Ctrl + b - move backward one screen

Ctrl + u - undo last action

q - back out of current screen.  If at top level of screen, will offer to quit aptitude.  Try “^” if you don’t see what you want and “q” offers only to quit aptitude.

Enter - expand/collapse current item under cursor, can be tree (expands/collapses) or package (shows/hides package description)

+ - mark package for install

- remove package from system

g - review packages for install (and dependent packages approved for install to support packages selected for installation).  When in review window, pressing “g” again will start installation.

View

Packages are marked in the left-most column as either:

  • p - Package (not installed).  Pressing “+” while highlighting item will mark/queue package for installation.  ”-” will remove package from installation queue.
  • i - Installed Package.  Pressing “-” will mark package for uninstallation.
  • i A - Installed Package as dependency to another Package
  • pi - Package marked for installation (highlighted green)
  • piA - Package marked for installation as a dependency of another chosen package
  • id - Package marked for deinstallation. (highlighted purple)

aptitude - Package (and dependencies) marked for installation

aptitude - Packages marked for installation

aptitude - task list showing packages for installation

aptitude - Task List Screen (after pressing "g" once)

aptitude - package marked for deinstall

aptitude - package marked for deinstall

Tips

Filtering

Filtering uses regex.  To unfilter packages, filter on “.” to show everything. i.e.

l - bring up filter dialog

Enter “.” (no quotes) and hit enter.

Root

Some (many) actions will ask you to become root if you’re not before aptitude will complete task.

After finding Jeff Tchang’s Python (programming language) Eye-Fi lightweight file transfer server, I’ve decided to uninstall completely the Eye-Fi Center and Helper from my Mac.  Mostly because the Eye-Fi Helper continues to start on boot of my Mac, even after I’ve set it to Not Start on Boot.

There’s no uninstaller for Eye-Fi Center & Helper, so you’ll need to:

  • Quit Eye-Fi Center (if it’s running)
  • Quit the Eye-Fi Helper in the top right menu bar (if it’s running, looks like Wi-Fi icon with a dot at bottom)
  • in Finder, drag and drop Eye-Fi folder into your Trash Bin
  • in Terminal (Applications –> Utilities –> Terminal) delete the remaining files
    • rm ~/Library/Preferences/fi.eye.center.plist
    • rm -r ~/Library/Eye-Fi

Then empty the Trash Bin.  And you’ve uninstalled Eye-Fi.

Opening the lid of MacBook Pro Retina from sleep, I sometimes get black screen and no wake up.  Only solution is to hold down the start key and do a cold reboot.  Keyboard function still appears to work somewhat (caps lock lights).  Changing brightness keys do nothing (nor a bunch of random button mashing, unplugging attached accessories like wireless mouse receiver, headphones, external monitors).

My MacBook Retina is running basic OS X 10.8.2 Mountain Lion (haven’t yet installed Supplemental Update 1.0 as of January 2013).

Symptoms

Opening Terminal (Applications –> Utilities –> Terminal) and going to the log directory (cd /var/log) and checking which log files have been updated recently (ls -lTt) nothing out of the ordinary appears.  So I check system.log (less system.log).

Paging up and down the log file I notice a few things show up a lot:

  • mdworker: Unable to talk to lsboxd
  • sandboxd[1016] ([1015]): mdworker(1015) deny mach-lookup com.apple.ls.boxd
  • kernel[0]: Sandbox: sandboxd(1016) deny mach-lookup com.apple.coresymbolicationd

Will try the solution of rebooting Mac into safe mode, then rebooting normally.  Apparently it’s helped to reduce the occurrences of “Unable to talk to lsboxd” and issues with “sandboxd deny mach-lookup”, working to delete temporary cache files and performing disk permissions & file checks (similar to what Disk Utility can help do: verify file/directory permissions and make repairs as needed).

Will report back if this solves the issue of “no wake from sleep” for my MacBook Pro Retina (2012).

http://www.bandwidthplace.com performs its Internet connection speed test using HTML5 unlike every other bandwidth testing site, which has lots of useless graphics and ads.

Recommended!

Internet Speed Test - Bandwidth place