Exceptions in Perl, Then and Now

In re-factoring ModExec, I have started with the exceptions. I’m debating how I used to do them. When I first started I used Error qw/:try/ and Error::Simple for exceptions. I still think I will, it looks like it’s still being well-maintained by Shlomi Fish (see here).

I think that the piece I will bite off first is to get some test coverage around my exceptions and add documentation. They’re not much more than what you get with Error::Simple, but there’s some stuff in there for stack dumps and things like that.

Goals for this first pass are:

  1. Pass a `perlcritic -3` for all exception code
  2. Add POD for all exception code
  3. Add a test for at least some of the methods (more tests will be added later)

Before and After

Here are some GitHub links:

Facebook, the Qt5 Web Application

This is a really cool idea, it’s a site-specific browser, similar to Fluid on OS X. This has alerts and such that come up as well, and it’ll sit in your KDE task bar. I’m digging it so far. I suspect that it’ll play nice in other DEs as well.

Facebook openDesktop.org

The app is available as a .deb as well as a source package, and many different OS’ and configurations are available. I’m using the Ubuntu package since I’m in Kubuntu land. This app does appear to be receiving updates, the most recent one according to openDesktop.org was on September 3rd, 2013.

Here are the features I see:

  • Supports SSL Facebook (very important for me since I have an ISP which engages in DPI)
  • Works with two-factor authentication with Facebook
  • Simply uses the web UI of Facebook (I see this as a plus, not a minus, that way I’m not stuck waiting for someone to implement changes that Facebook threw into an API update)
  • Very lovely Facebook blue window border, fits in very nicely

Here are some areas that I would like to see improved:

  • I’d like to be able to resize the window
  • I’d like it not to crash when something tries to use Flash (too much stuff on Flash crashes)
  • It’d be neat to not have to log in again every time I opened the app.

I think that with only some minor changes, this app could be one that I keep running in the background all the time. I’d love to see something like it for Twitter as well.

Here’s the app: Facebook openDesktop.org.

Bonus Post: Links About Process Control in GNU/Linux!

So, I’ve been looking into how process control works in GNU/Linux environments, and I thought I’d share some stuff with you guys since you totally care.

That’s all I have for now. Please use the comments section if you’d like to suggest additional articles.