Posts Tagged ‘laconica’



swamped

Monday, December 15th, 2008

Boy, oh boy! I have just been swamped recently between work, school, and actually trying to get to the gym once in a while. Glad I could make it in to post before the month since my last post rolled over. I already feel like a jackass not updating.

Work is going well. The students have their finals this week, which means the next two weeks I basically get to do nothing. For the next 4 or 5 days though, it will be sheer madness. Students seem to want to wait until the last minute when they’re desparately behind to ask for help, by which point they’ve frustrated themselves so thoroughly, they expect me to step in an just do it for them (to which I respond by giving them a big ol’ ticket for a free trip on the FAILboat). I’m also amazed sometimes by how much people want to (yes WANT) to not catch on, and continue to make excuses as to why they can’t do something instead of just learning to do it. It makes me wonder if in the past (or even currently) I have done the same things. I’d like to think not.

School, while intriguing and challenging, has been eating up a good hunk of time. I’m OK with that. In my programming classes over the past few weeks, I’ve had the pleasure of re-implementing the unix tools “cat” and “grep” in c/c++ and the FreeBSD passwd diff’ing security check in bash. It’s kind of neat to dissect and re-implement the tools I’ve been using for so long. While they seem like trivial exercises, it teaches alot about why software engineers design software they way they do. Who would have thought there were so many ways to put the contents of a file to STDOUT? Now the question is, whose way is faster, better, and more concise, and why is that? I know when I’m doing work for production, a lot of times these questions don’t receive alot of attention. “Oh, it compiles? Ship it!” It’s nice to see some time spent discussing the science behind our science. ;)

Fun stuff.

Since the recent laconica updates, lopost is indeed broken. I have not had the time to fix it. Sad but true. I’ll probably rework it over the semester break. Chances are I’ll have to take a look at the way gwibber does it, as my code was based on the original python at the laconi.ca trac, which no longer works.

I’ve also been asked to help out with the SQL security libraries for Photon CRM, although all of that is still in the planning stages. I’ve started writing some documentation (as in anything that doesn’t exist yet, document first, implement second), but we’ll see how much time I end up having for actually writing the code.

lopost python script

Friday, October 10th, 2008

Last post I talked about the laconica services and using linuxoutlaws.net. Well, I really enjoy it, but I wanted to be able to post without actually visitng the site. My first thoughts were to write something in perl so I could use it as an irssi plugin. I ended up just writing a stand-alone script in python and creating an alias in irssi to call it. It ended up being quite easy to add all the features I wanted, and I’m pretty pleased about that. I’ll be putting up the code, and I’ll keep it updated if I do more work on it.

Update: Code posted @ lopost

laconica on linuxoutlaws.net

Saturday, September 27th, 2008

Well, you may notice I’ve added a feed over on the right there of tweets (as in twitter). I’ve avoided sites like twitter for a few reasons:

  1. I feel like I can handle my own social networking, thank you very much. This is why I have my own blog, where I aggregate what I do at other sites (like the music I listen to and articles I digg) all on my own.
  2. Sites like Twitter and Facebook run proprietary software. No one is able to see, modify, or redistribute the code for these sites.
  3. Said sites also maintain licenses that can restrict what you post, and call into question the ownership rights of anything posted to them.

My friends over at Linux Outlaws have solved this problem for me. They’ve installed a service called Laconica, which functions much the same way as other micro-blogging software, like Twitter. The difference, however, between this and other services is that it is open-source software, and it is being run by some fellas I consider friends, which means that I am indeed, handling my own social networking. On top of that, I don’t feel like I should ever have to worry about doing something like aggregating my own posts over to this site and wondering if I really have a right to re-distribute my own content. One more neat part? You can subscribe to others’ tweets, even if they’re not on the same Laconica server.

If you’re interested, head over to Linux Outlaws’ Laconica site, and sign up. Also, if you have any interest in computers or Linux or you just hate microsoft, you should really head over to their podcast website and listen. To it all. Dan and Fab kick ass.

Ok, back to implementing a (yes, really) four-function calculator for fractions, in C++.