Mayday Programming Brain Teaser
Thanks to Sam for the idea.
int k = 0; k = k++;
After both lines execute, what is k equal to?
Thanks to Sam for the idea.
int k = 0; k = k++;
After both lines execute, what is k equal to?
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.
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 ..”.
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:
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.
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:
Accounts -> Add/Edit.Add button.IRC and enterirc.freenode.net as the server.MrOpenSource) in the Screen
name field. If you don’t own one yet, make one up.Advanced tab, and fill in the Real
name field.Now, register your nickname. This helps people recognize you, protects your
identity, and allows you to send private messages.
Buddies -> New Instant Message.NickServ for Name.Account to the Freenode account you just created,Ok. Now you can “talk” with theNickServ robot.register PASSWORDPASSWORD is one of your choosing).set hide email onNickServ.set email ADDRESS (whereADDRESS is your email address)Then, join #mifos. :)
One problem sometimes occurs when you have connection problems. You may be disconnected from the internet and the IRC server may not realize you’ve dropped off. When you reconnect, you may see what appears to be two of your username in the channel with slightly different names. Like: USERNAME and USERNAME_. Send help release to NickServ, and NickServ will tell you how to release the original, correct nickname.
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.
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.
Sheesh. Interesting, but talk about distracting. I sure hope it isn’t true that multitasking kills your brain.
The GNU build system (aka Autotools) is/are too fricking hard to use. But I’m split… when the conventions of autotools are embraced, the product is quite portable. Though not very maintainable. Is it impossible to be infinitely adaptable and still be user friendly?
Ian Lance Taylor captures what’s wrong with autotools quite nicely. Ian says Cmake isn’t a suitable replacement, but perhaps it could evolve into one
http://jwz.livejournal.com/830604.html
rotfl.
I agree that it is basically vandalism in that the reason everyone is there is to see the what’s on the TVs, but it’s still funny as heck.
Like a couple of the commenters, I’ve found the TV-B-Gone indispensable in airports, bars, restaurants; any place where the management seems to think people need a TV playing in the background (or foreground) at all times.
Here’s the thing they probably used to turn off the TVs.
(via Patrick)
We’ve got online banking, auctions, and dating. What about elections? I want to vote online to decide who gets to run our country and how it is to be run.
Online voting is a complex problem and I haven’t thought it completely through, but I feel like moving to some type of online system is inevitable and I’m curious how it will happen. Maybe I want to be involved. I love to kibitz about it with friends like Mark and Patrick.
Some points that any online voting system should address:
But I’m an engineer. Of sorts. So I want to know how it would really work. I feel like it needs to involve some sort of high-grade encryption and should be FLOSS. Beyond simply being implemented as FLOSS, the blueprints of the entity creating the secure online voting system (including business processes involved, like project management, financials, etc.) should be completely transparent. And that’s the extent to which I’ve thought through the problem.
But at least one person has gone further. Check out Alex Weir’s proposal on SMS external encrypted voting. Here are my humble thoughts about it.
My feedback and opinions aside, this is a very exciting idea! It should at least provide some starting points for future secure online voting systems. Kudos, Mr. Weir!
Powered by WordPress