Disable Windows-L

As per this article I found… you can disable the Windows-L = Lock Windows behavior on windows with a registry hack.

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System

Add DisableLockWorkstation = 1 to disable.

@SuppressWarnings

A full list of @SuppressWarnings options (per environment) are available here.

In Eclipse… The list of tokens that can be used inside an SuppressWarning annotation is:

  • all to suppress all warnings
  • boxing to suppress warnings relative to boxing/unboxing operations
  • cast to suppress warnings relative to cast operations
  • dep-ann to suppress warnings relative to deprecated annotation
  • deprecation to suppress warnings relative to deprecation
  • fallthrough to suppress warnings relative to missing breaks in switch statements
  • finally to suppress warnings relative to finally block that don’t return
  • hiding to suppress warnings relative to locals that hide variable
  • incomplete-switch to suppress warnings relative to missing entries in a switch statement (enum case)
  • nls to suppress warnings relative to non-nls string literals
  • null to suppress warnings relative to null analysis
  • restriction to suppress warnings relative to usage of discouraged or forbidden references
  • serial to suppress warnings relative to missing serialVersionUID field for a serializable class
  • static-access to suppress warnings relative to incorrect static access
  • synthetic-access to suppress warnings relative to unoptimized access from inner classes
  • unchecked to suppress warnings relative to unchecked operations
  • unqualified-field-access to suppress warnings relative to field access unqualified
  • unused to suppress warnings relative to unused code

The Sun JDK has seven categories (as mentioned here): all, deprecation, unchecked, fallthrough, path, serial, and finally.

Netstat

Ever wonder what network activity is happening on your machine? Use netstat.

The most useful command line options:

  • -a = show all network access
  • -b = shows the process, or on windows the process id that is using the network (the process id can be matched up to a process via the task manager)
  • -n = don’t do a dns lookup

You can obviously chain this command together with grep:

  • netstat -anb | grep 80

Mac Blogging Software

I used to use Microsoft Live Writer on Windows to post to my WordPress blogs, but now am looking for an equivalent program on the Mac… so far, no luck.

Here are the programs I’ve reviewed, and the shortcomings they have… I started with this list, and the most reasonable app I found was Ecto.

All of the programs fail on one of the simpler (in my opinion) tasks — rendering your post in edit mode with the blog’s live css stylesheet. They also often failed with some other relatively simple tasks, such as being able to edit Pages and not just posts.

  • Ecto – doesn’t show preview with css
    • $18 for this? I guess that’s reasonable, but Live Writer had more features and was free…
  • MarsEdit – doesn’t allow you to edit pages, no css preview
  • Flock – have to sign up for pictures account (aka Flickr or PhotoBucket) to upload pictures. Also, no css preview, no page editing…
  • Qumana – doesn’t even seem to work with OSX 10.5
  • iBlog – doesn’t support WordPress (just writes files to file system or ftp)
  • JBlogEditor – no active development; focus on html editing
  • Journler – not obvious how to use for blogging, focus is on journaling
  • MacJournal – looks nice, not focused on blogging, no css view, no page editing, expensive @ $35

Thank-You.gif