Archive for September, 2013

I added the following two items to my .emacs file, and they have changed my life: (defun night-mode () (interactive) (color-theme-initialize) (color-theme-lawrence) (menu-bar-mode -1) (scroll-bar-mode -1)) (defun daylight-mode () (interactive) (color-theme-initialize) (color-theme-emacs-21) (menu-bar-mode 1) (scroll-bar-mode 1)) Both of these rely on the emacs “color themes” handler, but really, when working late at night when my […]

26Sep

Be smart. Don’t be clever.

Posted by Elf Sternberg as Uncategorized

At the office, I led a major initiative to create a lovely drag-and-drop manager for a toolkit of pre-packaged views of.  The views had their own complexities; Splunk search views come with the own controls, and the controls are populated by underlying searches, which may in turn be controlled by other controls.  I fumbled around […]

11Sep

The Functional Programming Crock

Posted by Elf Sternberg as Uncategorized

Quick, what’s the difference between these two expressions? // Javascript var add21a = function(a) { return a + 21; }; var add21b = (function(b) { return function(a) { return b + a }; })(21); // Coffeescript add21a = (a) -> a + 21 add21b = ((b) -> (a) -> b + a)(21) When I first […]


Subscribe to Feed

Categories

Calendar

September 2013
M T W T F S S
« Aug   Oct »
 1
2345678
9101112131415
16171819202122
23242526272829
30