Mayday Programming Brain Teaser
Posted by adam in Interesting
Thanks to Sam for the idea.
int k = 0; k = k++;
After both lines execute, what is k equal to?
Mifos at OSCON 2008
Posted by adam in Interesting, Propaganda, Work
Mifos’s beloved director George Conard will be giving a talk on Mifos at the 2008 O’Reilly Open Source Conference in Portland, Oregon.
The phrase double bottom line refers to having a bottom line besides just profit.
Shell History Meme
Posted by adam in Fun, Interesting
As seen on Planet Fedora…
[adamm@snax ~]$ history | awk '{a[$2]++ } END{for(i in a)\ {print a[i] " " i}}'|sort -rn|head 79 svn 68 vim 57 cd 35 ls 32 pwd 25 ant 20 s 19 mysql 19 find 12 mv
“s” is aliased to “cd ..”.
Robocop is Still an Awesome Movie
Posted by adam in Fun
That is all.
Fostering a Volunteer Community
Posted by adam in Interesting, Propaganda
Jimmy Wales (founder of Wikipedia) knows a thing or two about fostering a geeky volunteer community. A desire to do well at my current post of “Mr. Open Source” on the Mifos project has led me to try and learn some lessons from people like Jimmy. Here are two crucial points gleaned from an interview with him on FLOSS Weekly:
- small group dialogs are best, too many people on one problem ends in voting/groupthink
- build a system that supports bees and and handles wasps (my verbage)
Eben Moglen on Technology and Freedom
Posted by adam in Interesting, Propaganda
I’ve been enjoying strolling through the FLOSS Weekly archives; a collection of one-on-one interviews with key players in FLOSS. Here’s a quote that really speaks to why FLOSS is something to pay attention to:
“Free as in Freedom” is a really important concept. That is, technology really as to be free in some important ways if people are to have political freedom.
- Eben Moglen, speaking on the GPL version 3 during FLOSS Weekly interview.
Sunstroke Prevention for Fun and Profit
Posted by adam in Fun, Odd, Travel
Bryan recently pointed out that a popular tourist “festival activity” in Beijing is “sunstroke prevention”.
Pidgin, IRC, Freenode
Posted by adam in Fun, Interesting, Work
IRC is an ancient, tried-and-true one-to-many chat protocol. Pidgin is a feature-rich instant messaging client that can handle many protocols, including IRC. Pidgin runs on many different platforms, including the three most popular ones. Pidgin integrates nicely with the desktop.
Here’s how to set up a Freenode IRC account in Pidgin:
- Open Pidgin; click
Accounts -> Add/Edit. - Click the
Addbutton. - Change the protocol to
IRCand enter
irc.freenode.netas the server. - If you have a Screen name (called a “nick” or “nickname” in IRC
parlance), type it (e.g.MrOpenSource) in theScreenfield. If you don’t own one yet, make one up.
name - Click on the
Advancedtab, and fill in theRealfield.
name
Now, register your nickname. This helps people recognize you, protects your
identity, and allows you to send private messages.
- Click on
Buddies->New Instant Message. - Fill in
NickServforName. - Change
Accountto the Freenode account you just created,
and clickOk. Now you can “talk” with the
NickServrobot. - The first message you send should be
register PASSWORD
(wherePASSWORDis one of your choosing). - Next, set an email address. This will give you a way to reset your
password later should there be a need. Sendset hide email on
toNickServ. - Next message should be
set email ADDRESS(where
ADDRESSis your email address)
Then, join #mifos.
Further instructions can be found here or by saying help to NickServ. Commands like /msg NickServ help do work in Pidgin.
This guide was heavily inspired by the following article on freesoftwaremagazine.com.
One more final tip: enable the “Join/Part Hiding” plugin to supress the many “so-and-so joined the room, so-and-so left” messages that will likely show up in the channel.
Kasper Hauser
Posted by adam in Fun
After being utterly and completely brow-beaten by Jesse Thorn plugging Kasper and Hauser, I decided to check them out. And I was rewarded for doing so.
Kasper and Hauser are a comedy team. They’re hit or miss, but when they hit, they really hit. They have a podcast, and a book. Haven’t seen the book, but here are a few hits from the podcast worth checking out:
Multitaskcraptastic
Posted by adam in Interesting, Odd
There are just too many shiny objects out there. Here’s how I ended up looking at some of the strangest C code I’ve ever seen.
- Started on the gslug mailing list, reading about a new keyboard layout. I continue to be drawn in to rumors that the QWERTY layout is a conspiracy to slow down typers, so hearing about a new keyboard layout called Colemak piqued my curiosity.
- Progressed quickly from colemak.com to the Wikipedia entry on Colemak. Cool, Colemak is supposed to be easier to switch to than Dvorak.
- The Colemak entry on Wikipedia mentions digraphs. I’ve heard of digraphs because I use them in Vim, but you can use them in C, too? Strange.
- The digraph entry on Wikipedia also mentions trigraphs. Trigraphs!
Sheesh. Interesting, but talk about distracting. I sure hope it isn’t true that multitasking kills your brain.