Skip to main content

Posts

Ubuntu Unity reports the battery level for Bluetooth devices

Users may notice that Unity under Ubuntu 13.04 reports two battery levels under the battery icon in the top bar.  At first, this seems like a bug with the battery reporting, but clicking one of the battery icons will open the Power Statistics application. The two batteries are listed here as well and the secret is realized when selecting between the two.  Notice that one probably indicates details that can be associated with the laptop's battery itself.  The other will probably be associated with a Bluetooth device. NOTE:  This behavior was not noticed prior to 13.04 but may well have been there.

Next and previous tabs key bindings in Eclipse

Oddly, the key bindings for switching between tabs by simply moving left and right across the tabs is missing in Eclipse .  The commands exist, but there are no key combinations assigned to them.  Fortunately, using the key binding system in Eclipse can fix this quite easily.  And as an added bonus easy-to-remember combinations don't even need to be re-assigned before doing so. Using Mac keys as the template, a good set of combinations might be: Option + Command + Left (move across the tabs to the left) Option + Command + Right (move across the tabs to the right) Translated to Linux -based and Windows systems, this would be: Alt + Control + Left Alt + Control + Right NOTE:  Using the Keys preference panel, search for the term "tab" to jump right to the command to make the key assignment easier. Perhaps more perplexing than having this capability and not assigning a key stroke to it is that the comm...

Force checkout a branch with git

Occasionally, and probably against better practice, it's necessary to force a checkout of branch.  Doing so, necessarily overwrites any changes in the currently checked-out branch, but so be it. Using git it's done like this: git checkout -f BRANCHNAME The "-f" part is the "force" option.  Using "--force" instead does the same thing. Why would one do this?  If for no other reason, than because it may just be easier to stomp on the changes in one branch than to resolve the conflict.

Just a few things about fonts for programmers

While not a complete list by any stretch, this article will hopefully at least serve as a collection of some pretty decent typefaces for text editors and IDEs.  As for the reasons why one would need to put any real thought into what typeface to use in his or her editor, consider the following things that experience has rendered. A programmer's font should: Avoid ambiguity between characters.  This is specifically true for characters such as 1 and l , and 0 and O . Should be clear even when italicized.  Many editors italicize comments by default. Be mono-spaced, which will assist with justification. Panic Sans There is no place to download this font as it ships with Panic Coda . DejaVu Mono http://www.dejavu-fonts.org/wiki/Main_Page Droid Sans Mono http://damieng.com/blog/2007/11/14/droid-font-family-courtesy-of-google-ascender NOTE:   The items above are URLs to packages of fonts that include the specifically named sans, mono, et cetera ve...

Jelly Bean update for Motorola RAZR and RAZR MAXX, finally

It would appear that after Verizon 's promise of Jelly Bean for the Motorola RAZR and RAZR MAXX in November of last year, the accidental roll-out in December, and the recent "soak test," the update is finally reaching users.  It's a doozy, at better than 330 megabytes, so be sure the phone is plugged in or has a good deal of battery before starting the update. The gradual release of this update on Verizon has seemed erratic.  The RAZR M , I , HD , and HD MAXX , all got the update.  The Samsung Galaxy S III got it.  Naturally, the Nexus got it.  So it's bizarre the way this has been coming out in waves without any apparent rationale for what devices gets it, when.  Over the years there has been plenty of criticism in discussion groups for the way carriers deploy updates in comparison to the way Apple does it.  That being, independent of the carriers.  None-the-less, it's here so the complaining can start to wind down now.  Happy Jelly ...

Verizon Wireless in application store shutdown mode

Verizon Wireless users can expect a change in the next month, and Motorola RAZR users should expect a second.  Verizon has chosen to shutter its app store with a stated timeline of the end of March 2013. According to the announcement the company has made available, users will have the store removed from their devices by March 27.  This presumably means that all the Verizon-developed applications will be gone as well.  With some digging around the Internet, it's easy to see that this change is welcome and that users will be happy to get space back on their phones, relinquished by the seldom used applications. RAZR users have also been promised an update to Android version 4.1 Jelly Bean with roll-out time frames going as far back as December of last year.  Currently, the roll-out is expected to be before the end of March which leaves the company with about a month left of wiggle room. This coincides nicely with the application store removal.  And it woul...

Limiting search results by site

Experts Exchange has the irritating marketing tactic of posting a discussion article that often seems to match exactly what I'm looking for, but the response to the question requires registration.  Since the answer to most any question is likely somewhere else on the Internet as well it's possible to restrict search results from even showing anything from this site. Here's how to do it.  At least Bing , Duck Duck Go , Google , and Yahoo have the ability to specify a "sites" argument in a search.  It can be used to either force results from a specific site to be included or excluded.  The real nice part is that the syntax is the same for all of them, so including the following snippet into a search string can eliminate search results from Experts Exchange: -site:experts-exchange.com NOTE:  Whether pages are included or excluded depends on the (-) operator preceding the limiter. The following example could be used to search for how to use the SQL TOP...