|
29 June 2009, 12:19 UTCat90usb162 single-sided board I got an e-mail request for this board. You may use this eagle (4.x) library,
schematic, and board under the GNU GPL version 2 or later, or CC-BY-SA. read more…
29 June 2009, 1:20 UTCPowell Gardens
 | | Small Frog | (M) (L) |
We took a weekend trip to Kansas City. I got a few photos at the Powell
Gardens.read more…
22 June 2009, 1:41 UTCZenbot upgrades
 | | Zenbot's new servo motor | (M) (L) |
After some tiny little problems with ruined stepper drivers
that I don't care to talk about, I kept moping on IRC until Sam found me these pittman dc servos and I ordered some, intending on upgrading the zenbot
to servos.read more…
26 May 2009, 12:58 UTCTwilight hack source code
Last year, I made a halting attempt to reverse engineer the "twilight hack", but gave up. Now, the source has been released. [permalink]
25 May 2009, 21:20 UTCRemebering values between runs of emc This is a userspace hal component which stores values to disk so that it can be preserved from run to run.
Usage loadusr -W remember v1 v2 f:floatv u:unsignedv read more…
17 May 2009, 18:36 UTCReleased: EMC 2.3.1 I'm pleased to announce the first bugfix release in the emc 2.3
series, emc 2.3.1. A number of problems in the 2.3.0 release were fixed. See
below for a list.
The new packages are now available for Ubuntu 8.04 "Hardy Heron" and 6.06
"Dapper Drake" in the package repositories. If you already installed emc
2.3.0, this will be offered as an update.
If you still have 2.2.8 or earlier installed, 2.3.1 will not
be available as an automatic upgrade. For more information and
installation/upgrade instructions, please see http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?UpdatingTo2.3 read more…
12 May 2009, 14:33 UTCg++ trick for initializer lists
A couple of g++ extensions can give something like the proposed c++0x initializer lists, at least when it comes to initializing sets and vectors.
#include <iostream>
#include <set>
#define ARRAY_ELEM(x) (sizeof(x) / sizeof(*x))
#define ARRAY_END(x) (x + sizeof(x) / sizeof(*x))
#define MAKE_CONTAINER(T, i, ...) ({ \
static const __typeof__(i) _arr[] = {i,##__VA_ARGS__}; \
T(_arr, ARRAY_END(_arr)); \
})
#define MAKE_SET(i, ...) MAKE_CONTAINER(std::set<__typeof__(i)>,i,##__VA_ARGS__)
#define IN(v,c) (c.find(v) != c.end())
int main(void) {
std::set<int> s(MAKE_SET(1,3,7,21,13));
for(int i=0; i<30; i++)
if(IN(i,s))
std::cout << i << " ";
std::cout << "\n";
return 0;
}
[permalink]
6 May 2009, 2:10 UTCWildlife Safari visit
 | | Turtle on a log | (M) (L) |
We took a trip to the wildlife safari. It was a cool day and
partly cloudy. I got a few pictures that are worth sharing.read more…
5 May 2009, 1:43 UTCqq: quick & dirty terminal
qq is a quick and dirty terminal application for beagleboard. It's written in
Python and requires python-serial. I didn't like cu (no CLOCAL that I could
find) or minicom (terminal emulation, keyboard shortcuts and configuration got
in the way of real work)
Except for tilde-specials (similar to rsh, ssh and cu), qq just copies data
between the local terminal and the given tty. Two tilde specials are
defined:
<CR>~.: quit
<CR>~b: send break (useful for "alt-sysrq" actions on beagleboard)
Files currently attached to this page:
Copyright © 2009 Jeff Epler <jepler@unpythonic.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
[permalink]
2 May 2009, 12:56 UTCNew hardware
Last week my GIGABYTE GA-M51GM-S2G-based system bit the dust
(capacitor plague?).
I'll be updating this blog entry through the weekend with progress setting up
the replacement hardware, which arrived Friday. read more…
1 May 2009, 13:34 UTCDAT-160 USB tape drive on Linux 19 April 2009, 19:35 UTCRELEASED: emc 2.3.0 19 April 2009, 2:16 UTCKansas City, St. Louis, and Champaign trip 31 March 2009, 22:02 UTCNetflix 'Watch Instantly' problems 29 March 2009, 16:14 UTCBeta release: emc 2.3.0beta2 21 March 2009, 15:54 UTCHenry Doorly Zoo 20 March 2009, 23:42 UTCEmergent Blog, now with 100% more CNC 19 March 2009, 18:30 UTCTags 19 March 2009, 14:34 UTCAll the florida photos 19 March 2009, 2:36 UTCFlorida Birds 17 March 2009, 16:19 UTCShow recent e-mail in screen title bar or status bar 13 March 2009, 1:33 UTCFacepalm of the day 9 March 2009, 23:04 UTCIngredients Fail 1 March 2009, 19:47 UTCIngrid's Florida Trip Photos 1 March 2009, 2:54 UTCFlorida: Mostly Orchids 28 February 2009, 21:40 UTCFlorida: Animals 28 February 2009, 4:13 UTCFlorida: Non-Orchid Plants 24 February 2009, 23:09 UTCcropgui: A Linux GUI for Lossless JPEG Cropping 20 February 2009, 22:04 UTCFlorida: Bugs and Spiders edition 20 February 2009, 1:25 UTCFlorida: Fruit and Spice Park, and Everglades
All older entries
|