wmeddie's comments

wmeddie | 10 years ago | on: Flux is the new WndProc

Angular is very similar to the MVVM style of GUI programming that's popular in Microsoft's XAML-based libraries (e.g. WPF, Silverlight, WinRT and now UWP). Which I think is interesting because that's where they ended up. Modern windows programming doesn't involve writing WndProc functions anymore.

wmeddie | 14 years ago | on: Sublime Text Plugin: Activate & reload Chrome with a keyboard shorcut

It's a little known fact that you can easily make these kind of keyboard shortcuts globally by making a Service. Here's how to make a global service that reloads the browser:

  1. Open Automator
  2. Select Service
  3. Search for run Applescript
  4. Copy and paste one of the following Applescripts
  5. Change the Service receives selected drop down list to "No input" 
  6. Save the service  (Automator will ask you what to name it)
You can then find the service under "Services" inside the Application's Menu.

You can also assign it to a global shortcut by:

  1. Open the Keyboard section in System Preferences
  2. Find your service under the Services list
  3. Click the service to reveal the Add Shortcut button
  4. Type the shortcut (Like Command+Ctrl+R)
Applescript for Safari:

    on run
      tell application "Safari"
        do JavaScript "window.location.reload()" in current tab of window 1
        activate
      end tell
    end run
Applescript for Chrome:

    on run
      tell application "Google Chrome" to tell the active tab of its first window
        reload
      end tell
      tell application "Google Chrome" to activate
    end run

wmeddie | 15 years ago | on: Ask HN: Best book you read in 2010 and briefly why

"Management: Tasks, Responsibilities, Practices" By Peter Drucker

Amazon: http://www.amazon.com/gp/product/0887306152

In Japan the book “What if the Female Manager of a High-School Baseball Team read Drucker’s ‘Management’" (By Iwasaki Natsumi) is incredibly popular. So I decided to read the original Drucker book and see for myself. Drucker's historical perspective by itself is interesting enough to warrant checking this book out. Although the advice is more focused on management in large companies, I think it lays a good foundation for those of us lacking MBAs.

page 2