paulgorman.org

< ^ txt

Thu Aug 20 05:39:39 EDT 2015 Went to bed around nine, and woke up around four. Slept OK, but maybe should have gone back to sleep for another hour. Raining this morning, so I didn't walk. But it should be in the low to mid seventies today, so I'll walk at lunch. Hmm. CEO told me he has an announcement to make later today, which is somewhat ominous. I decided I should probably be generally prepared even if this turns out to be nothing. I got my start dates from HR: - System administrator start date 2/2002 - IT director start date 1/2005 I'm not in a hurry to jump ship, but it's always prudent to keep one's resume in good order. Took a thirty-five minute walk at lunch. Saw a couple of dragon flies. Got a good, long look at a red-tailed hawk in flight, circling and looping in the storm-clouded sky like stunt kite. Augury. Hope it's a good omen. (Hmm. I thought the etymology of "augury" was strongly avian, but it's unclear: http://www.etymonline.com/index.php?term=augur) ... CFO announced that Mr. Tyner passed away. The funeral will probably be on Sunday. Played with neovim tonight. Looks promising, but it's not something I feel the need to jump to right away. Also, the negative attitudes some neovim fans express for vim (and Bram personally) turns me off. Goals: Work: - Finish switch configs Worked on the firewall instead. Dedicate a physical interface to the management vlan. - Play with tig https://news.ycombinator.com/item?id=10090348 Home: - Do more exercises from K&R Done. - Play with pdcurses. Use pdcurses or ncurses? Done. http://nethack-curses.wikia.com/wiki/Which_Curses_Library pdcurses if multiplatform. ncurses allows play on a tty (telnet, ssh). Compiling pdcurses: % sudo apt-get install libxt-dev % sudo apt-get install libxaw7 libxaw7-dev % git clone https://github.com/wmcbrine/PDCurses % ./configure -x-libraries=/usr/lib/x86_64-linux-gnu/ That should get us 'curses.h' and 'panel.h', as well as building the demos under x11/. For the sdl version: % sudo apt-get install libsdl2-dev --- bava 2516 PDCurses/sdl1 % make make: sdl-config: Command not found cc -O2 -Wall -I.. -DHAVE_VSNPRINTF -DHAVE_VSSCANF -c ../sdl1/pdcclip.c In file included from ../sdl1/pdcclip.c:3:0: ../sdl1/pdcsdl.h:5:17: fatal error: SDL.h: No such file or directory #include <SDL.h> ^ compilation terminated. Makefile:68: recipe for target 'pdcclip.o' failed make: *** [pdcclip.o] Error 1 Hmm. Can't find SDL.h. I'll look into how to tell it the correct path later. Time for work. (Also, `apt-file search foo` is pretty damn useful (after installing apt-file).)

< ^ txt