Wednesday, January 17, 2018

The Leftovers - Departure (Lullaby) (piano cover)

Tuesday, December 12, 2017

Destiny 2 - The Farm (piano cover)

Destiny 2 - The Farm.
So many great songs in the Destiny 2 soundtrack.

Thursday, November 30, 2017

Destiny 2 - Journey (piano cover)

Such an awesome soundtrack.

Wednesday, May 24, 2017


So after upgrading to macOS Sierra one of my most critical utilities Karabiner stopped working.  I used it to map a bunch of shortcut keys on the mac to be the same as windows.  I switch between the two OS's all the time and it drives my muscle memory crazy having to use two different sets of keyboard shortcuts.  Unfortunately, Karabiner isn't supported under sierra.  Karabiner elements doesn't have the features I need like many to many key mappings (mod key combos to different mod key combos).  There is a fork that wwwjfy did that solves the one to many mapping but doesn't solve the man to many mappings.  In the end I completely ditched karabiner elements and uninstalled it.

In comes Hammerspoon and with a little scripting I think I have it all tweaked the way I like it.  My goal was to duplicate this mapping but use Hammerspoon instead:

First thing is to swap the option and command keys (the usual keyboard settings) if you are using an external keyboard.  I do this for all external keyboards but leave the apple internal keyboard as default:

Once you install hammerspoon and enable accessibility,  choose open config.  You should get a blank init.lua file.  Just paste the following.  Leave off the visual studio section if you don't use visual studio for mac.  Then, reload the config.  

-- home/end
hs.hotkey.bind({''}, 'home', nil, function() hs.eventtap.keyStroke({'command'}, 'left')end)
hs.hotkey.bind({"ctrl"}, "home", nil, function() hs.eventtap.keyStroke({"cmd"}, "up")end)
hs.hotkey.bind({""}, "end", nil, function() hs.eventtap.keyStroke({"cmd"}, "right") end)
hs.hotkey.bind({"ctrl"}, "end", nil, function() hs.eventtap.keyStroke({"cmd"}, "down") end)

-- home/end + shift
hs.hotkey.bind('shift','home', nil, function() hs.eventtap.keyStroke({'shift','cmd'},'left')end)
hs.hotkey.bind('shift','end', nil, function() hs.eventtap.keyStroke({'shift','cmd'},'right')end)
hs.hotkey.bind({'shift','ctrl'},'home', nil, function() hs.eventtap.keyStroke({'shift','cmd'},'up')end)
hs.hotkey.bind({'shift','ctrl'},'end', nil, function() hs.eventtap.keyStroke({'shift','cmd'},'down')end)

-- cut/paste
hs.hotkey.bind('ctrl','c',nil,function() hs.eventtap.keyStroke('cmd','c')end)
hs.hotkey.bind('ctrl','v',nil,function() hs.eventtap.keyStroke('cmd','v')end)
hs.hotkey.bind('ctrl','a',nil,function() hs.eventtap.keyStroke('cmd','a')end)
hs.hotkey.bind('ctrl','z',nil,function() hs.eventtap.keyStroke('cmd','z')end)
hs.hotkey.bind('ctrl','x',nil,function() hs.eventtap.keyStroke('cmd','x')end)

--file ops
hs.hotkey.bind('ctrl','s',nil,function() hs.eventtap.keyStroke('cmd','s')end)
hs.hotkey.bind('ctrl','o',nil,function() hs.eventtap.keyStroke('cmd','o')end)
hs.hotkey.bind('ctrl','n',nil,function() hs.eventtap.keyStroke('cmd','n')end)

-- search 
hs.hotkey.bind('ctrl','f',nil,function() hs.eventtap.keyStroke('cmd','f')end)
hs.hotkey.bind('ctrl','g',nil,function() hs.eventtap.keyStroke('cmd','g')end)
hs.hotkey.bind('ctrl','r',nil,function() hs.eventtap.keyStroke('cmd','r')end)
hs.hotkey.bind('','F3',nil,function() hs.eventtap.keyStroke('cmd','g')end)
hs.hotkey.bind('ctrl','F3',nil,function() hs.eventtap.keyStroke({'shift','cmd'},'g')end)

--visual studio
hs.hotkey.bind('ctrl','h',nil,function() hs.eventtap.keyStroke({'alt','cmd'},'f')end)
hs.hotkey.bind('ctrl','.',nil,function() hs.eventtap.keyStroke('alt','return')end)

UPDATE: 11/30/2017
I no longer use hammerspoon.  I highly recommend Better Touch Tool instead.  It's well worth the few dollars.

Saturday, March 04, 2017

Nintendo Switch

A few initial thoughts.  I've put a few hours in and just finished the Great Plateau area in Zelda.

- Hardware is really nice.  It feels like a quality tablet.
- I applied the screen protector that comes with the official case successfully with spot on alignment and no air bubbles or dust.  This is the first thing I did after taking it out of the box.  Just run the shower to steam up the bathroom slightly and lots of scotch tape and make sure you lift every spec of dust off first.
- You do initial setup in portable mode.
- Setup wifi, apply day 1 patch
- Stuck in a 200gb micro sd card.  Patch again.  Odd that after inserting an sd card you get prompted for a second system update.  Screenshots by default save to sd when there is one.
- Switch sound to surround.
- No way to pair bluetooth headphones.  Seriously Nintendo?
- Pro controller is awesome.  It feels very similar to the xbox one controller.  It's very comfortable, the size is just right, and you get a real d-pad.  The price is a bit insane though when you can get an xbox one type-s controller for < $40.
- The frame rate drops in dock mode are noticeable.  It doesn't kill the experience but it does become annoying occasionally.  I hope they can fix it with a patch.
- Playing in portable mode is ok.  The Joycon analog sticks feel very similar to the ps vita.  That is it is small, short, with less travel distance.  It's better than nothing but not nearly as nice as the sticks on the pro controller.  Right analog stick is a bit of a stretch for my thumb.  You can't really use your middle fingers for the lower triggers while holding the switch since you need those fingers to support it.  So you are left using your index fingers to hit the triggers and bumpers.
- I bought an anker usb-c to usb-a 3.0 cable and it works fine charging while on the go from this battery.  It took the battery from 93% to 100% while playing zelda so it had no problems keeping up.
- Motion controls MUST DIE.  Good thing you can turn it off in the options.
- Switching between dock and portable mode is completely seamless.
- System updates happen SUPER FAST.  Everything feels faster than the clunky wii u.
- Loving Zelda so far: open world that isn't ubisoft or bethesda.  It really is refreshing.

The more I play the more I'm impressed.  If you approach this as a home console first you might be a bit disappointed.  It's not going to be able to compete with my ps4 pro.  But if you look at it as the most advanced portable gaming system that also easily hooks up to your TV and has a nice full size pro controller then it really is a nice piece of tech.  Being able to game on my 80" for a couple of hours, getting to the last dungeon in the starter area, having the wife come home, then pop the switch out and join her on the couch downstairs and finish off the dungeon.....yeah I see the appeal.  Finally we have a portable game system that truly is no compromise with real AAA games so far.

Having the pro controller lets you leave the Joy-Con on the switch where they will charge while in the dock while you play with the pro controller.  Then when I go portable I just plug the pro controller into one of the dock usb ports and it charges while I'm playing portable.