OSSMichigan.org - Not quite a planet but a state.

February 08, 2010

Andrew Turner

Data Dissemination to the Haiti Government

Haiti Data Dissemination Project In a joint project with the World Bank, USAID, and numerous other partners, there are now 6 TB hard drives on the ground in Haiti with mapping tools and satellite and remote imagery data being shared with the Haitian government. Read more about the project on the FortiusOne blog.

Schuyler Erle and Tom Buckley will be heading down on Tuesday to provide on the ground support between the government agencies and the community.

A tremendous thank you to the numerous individuals and groups that helped and provided tools or data: World Bank, San Diego State University / Calit2, Internet2, Georgetown University, DigitalGlobe, Delta State University, Sahaha, Crisis Mappers, OpenStreetMap, NOAA, Ushahidi, DevelopmentSeed, TelaScience, STAR-TIDES, CrisisCommons, USAID, GeoCommons, OpenSGI, GeoEye.

by Andrew at February 08, 2010 03:09 PM

February 06, 2010

Jorge Castro

Social By Default….


Shane blogged about the me menu, I want to show you the full blown experience. Thanks to the intense amount of hard work by Ryan Paul and Ken Vandine, we now have this:

They’ve fixed major parts. Moving to desktopcouch has made the application more stable, use less memory, and syncable with your computers. This is the version of Gwibber we’ve all been waiting for. Unfortunately Ken just got on a plane so for Lucid you’ll have to wait until Monday. They should be in the latest PPA though ….

by jcastro at February 06, 2010 07:28 PM

Application Indicator Update


People ask “what’s the big deal about application indicators, they’re just little icons!” As it turns out, when you drain a swamp you can make cool things. KDE applications support StatusNotifier already so Aurélien Gâteau has started landing fixes that will make things like this possible:
Check out the video here.
(Sorry, I failed at video tag and I’m at the airport so I went with the easy fix)

What you see here in the middle is Rhythmbox, ported by Cody Russell (upstreamed patch), then Kopete, and Kmix. You’ll notice that since we’re running GNOME the KDE apps look LIKE THEY SHOULD. If you run KDE and run rhythmbox it will look like IT SHOULD. Nice and “nativey”.

  • More accessability, and note how he’s scrubbing through the menus with his keyboard.
  • For third party applications of the world this means they can support one “linux” thing.
  • Everything behaves the same in both desktops and everything is consistent.
  • My tray doesn’t feel like a back alley.

We have work to do, the stuff in the old notification tray (on the left in my video) need to be ported. We have committed to fixing the things in main for this cycle. Here you will find a list of bugs of apps we’ve listed to so far. I’ve filed corresponding wishlist bugs in upstream GNOME Bugzilla. If you want to help with this, it’s not considered done until it’s submitted upstream – we also offer a fallback method so that application maintainers can support both with minimal effort.

Find more about our rationale, guidelines, and porting guide here.

PLEASE FEEL FREE to check into application indicator support for your favorite apps in Universe, we need help to figure out which apps people love and want support for. We’ll handle the things on the CD, but we need help to catch all the little fish too. Even filing wishlist bugs and tagging them would be a help.

If you have an upstream with questions, send them to me or #ayatana and we’ll be there to support their efforts, we want people to use this. If you want to go ahead and just port an application then this is an excellent way to get something slick into user’s hands.

by jcastro at February 06, 2010 07:08 PM

February 05, 2010

Jay "jwren" Wren

double.IsNaN is 100 times slower

Its not just your programming group that can’t get it right. I work in a semi-disfunctional group on contract for a client who, not matter how hard we try, doesn’t seem to listen to basic software engineering principles.

I feel a little better (and a great deal worse after thinking about it) when I see that the largest software company in the world deals with some of the same problems.

I found this gem in the WPFToolkit (it is MSPL) source.

// The standard CLR double.IsNaN() function is approximately 100 times slower than our own wrapper,
// so please make sure to use DoubleUtil.IsNaN() in performance sensitive code.
// PS item that tracks the CLR improvement is DevDiv Schedule : 26916.
// IEEE 754 : If the argument is any value in the range 0×7ff0000000000001L through 0×7fffffffffffffffL
// or in the range 0xfff0000000000001L through 0xffffffffffffffffL, the result will be NaN.        
public static bool IsNaN(double value)
{
    NanUnion t = new NanUnion();
    t.DoubleValue = value;

    ulong exp = t.UintValue & 0xfff0000000000000;
    ulong man = t.UintValue & 0×000fffffffffffff;
    return (exp == 0×7ff0000000000000 || exp == 0xfff0000000000000) && (man != 0);
}

 

My jaw was open pretty far for quite a few seconds as I read this.

by jrwren at February 05, 2010 08:16 PM

Jorge Castro

Introducing “Squid Deb Proxy”


I’ve blogged in the past about a squid configuration so you can cache debs on a server for use on your local network. Perennial apt-god Michael Vogt has now added squid-deb-proxy to the archive.

You are now one command away from a rock solid caching solution. Here’s the config if you want to check it out. Just in time for an LTS. :) Squid has been rock solid for me with a similar configuration.

We were chatting about this and we both came to the conclusion that the next step is to connect this to avahi for the win. I’m sure conference organizers would love it! If you’re interested in adding this feature feel free to branch it in Launchpad and bust it out as Michael will be rocking the Software Center.

by jcastro at February 05, 2010 04:33 AM

February 04, 2010

Jorge Castro

OMSI Visit (Yes, they have a T. Rex)


A bunch of us went to the Oregon Museum of Science and Industry since we’re in Portland.

We got to see Samson, a T. Rex, and to my delight, they let me clean up a real fossil. Dinosaurs are awesome.

From OMSI 2010

Here I am cleaning up a Juvenile Triceratops horn. This specimen’s name was Brokenhorn.

From OMSI 2010

A hungry velociraptor devours Colin Watson:

From OMSI 2010

and of course, Smilodon is always nice to see:

From OMSI 2010
From OMSI 2010

Rest of the pics are here.

by jcastro at February 04, 2010 10:14 PM

February 03, 2010

Jorge Castro

F-Spot Jam time


Round 7 of 100 papercuts is ready to go, with this set concentrating on the default photo editor, F-Spot. If you’re interested, grab a bug and rock it.

by jcastro at February 03, 2010 08:08 PM

January 30, 2010

Jorge Castro

Karl Fogel on Bugs


Karl Fogel works on Launchpad’s Bugs team. He’s also famous for a bunch of other stuff. Since he’s not syndicated on Planet Ubuntu I would like to point out his post on bugs and tech debt, which is a useful read for everyone!

(Thanks Gabriel Burt for sharing this on greader!)

by jcastro at January 30, 2010 11:13 PM

Jay "jwren" Wren

An Application of iPad

I really hate the timing of this post, but the ideas are fresh in my head. You can consider this ‘just another iPad post’ if you want.

Ever taken a survey on the streets from someone with a PC style tablet? I’ve taken a few. I’m always surprised by the hardware choice. For some things, it seems like a clipboard and paper would be better.

At work, there is an upcoming project that involves something like the above. Here is why I think the iPad is a better choice. It mostly comes down to boring IT Operations reasons, aka management of the underlying platform.

  • With iPad, you never have to defragment your disk.
  • With iPad, you never have to run antivirus or update antivirus definitions.
  • With iPad, you never have to run anitspyware or update antispyware definitions.
  • With iPad, there is no moving and spinning disk which is prone to higher failure.
  • With iPad, you don’t have to worry about some slick-kid or script kiddie downloading and installing some crazy software that turns your computer into a bot or even just overwrites important files preventing you from booting the next time.
  • With iPad, you don’t have to worry about not having a replacement part available if a piece of hardware fails.
  • With iPad, the user will have a more familiar experience. Given the prevalence of iPhone, it is likely that an end user will understand many of the touch and drag gestures.
  • With iPad, there is no stylus like the PC Tablets of old.
  • With iPad, there is a very clear future. When was the last time apple canceled a product line? Newton? Ok, how about under Jobs? I’ve no idea.

I’m as anti-fud as any person that I know. Yes, the above is definitely anti-windows fud cited by Mac and Linux lovers everywhere and normally I’m the first person to refute it. However, I think under that fud there are tiny grains of truth. For certain applications those bits of truth are highly amplified. It is a different risk vector. These things become very important and translate directly to cost of ownership.

Notice that I’ve listed no pros or cons for iPad as a general purpose device. I don’t care to go there. I’ve also not mentioned if there is much of a market for the above use case (there isn’t enough to sustain the device alone). These are all things to be answered elsewhere. My point in short: here is a use case if you have been wondering for what kind of things iPad can be used.

by jrwren at January 30, 2010 04:57 PM

January 29, 2010

Greg Grossmeier

New Laptop: Setting up Email

And my email configuration addiction continues. As you may recall, I did an extensive (now out-dated) post about my email setup. I’m still using the basic configuration outlined there (all of the same programs) just some of my settings have changed a little. I tend to make little changes every now and then which I think will save me a tiny amount of time wet-ware processing my email. Below I outline how I am making the transition to new machines/installs easier for my email setup.

Restore Config Files

With the purchase of a new laptop, I have to re-setup my email’s (and other applications’) configuration. Luckily, I keep all of my configuration files in version control which is synced between 3 computers; my old laptop, my desktop, and my webserver (for mostly backup purposes, but also for imapfilter). All I had to do was run the following very basic commands:

mkdir src
cd src
bzr branch greg@my.server.net:/home/greg/src/dotfiles .
bzr branch greg@my.server.net:/home/greg/src/scripts .
cd scripts
./restore_email_apps.sh
./restore_symlinks_desktop.sh

The first 5 things are pretty self-explanatory: make a directory called “src,” go in there, then create 2 branches of the bzr repos for dotfiles and scripts.

Then, lets run two of the scripts in ~/src/scripts/.

restore_email_apps.sh is really just an easy way for me to remember which applications I use for email and its supported functions. The contents of that shell script is merely:
sudo aptitude install mutt-patched offlineimap msmtp abook
Yep, thats it.

The restore_symlinks_desktop.sh file is a little more involved. Basically, since I keep all of my dotfiles in a bzr repo called ~/src/dotfiles I need to tell the associated applications where to find those files. Well, I don’t really tell the applications, I trick them. I create symbolic links from where they are expecting the file to where I actually keep it. This is a common trick for these types of setups. In fact, if you didn’t want to use a traditional version control system to handle the versioning/syncing between computers you could store your dotfiles in your Ubuntu One folder and then they will be synced automatically. So, restore_symlinks_desktop.sh goes and creates all of those symlinks for me.

offlineimap

Now, you may have noticed that I use offlineimap with my email system. I won’t go into all of the benefits of offlineimap here, but the main ones that I enjoy are: local really fast storage of my mail (vs online) and brain-less email backups (its already backed up already).

However, using offlineimap creates one speed bump in this email setup; you need to redownload all of your email again, which, if you are like me and don’t delete anything (just put it in an Archive folder) then this can take a long time depending on your mail server. And, if you use gmail’s servers, they can lock you out of IMAP access if you download too much. Luckily, offlineimap is pretty robust and allows you to get around that problem fairly easily.

Note: I have only done this with offlineimap using the MailDir format so I don’t know what would be different for the other formats. Also, I haven’t seen any other guides like this online which is A) why I wrote this out and B) makes me wonder if this is bad for some reason [I did this over 5 days ago and haven't lost any email yet].

Anyway, here is what I did:

1) copy my .maildb folder from one computer which had a recent sync to my new laptop using a local LAN. I did this using rsync so it would compress during transit, because even at 10 megs a second, 6 gigs is a lot to transfer.
rsync -e 'ssh -ax' -auhvz --progress greg@192.168.1.102:/home/greg/.maildb/ /home/greg/.maildb/

2) rename the MailDir format email files to reflect the new computer’s hostname. The files look like this:
1264133355_0.24102.alexandria,U=3422,FMD5=e727b00944f81e1d0a95c12886ac4641:2,S
That “alexandria” part is the hostname of my desktop. So, I need to change that to “zen” so it looks like this:
1264133355_0.24102.zen,U=3422,FMD5=e727b00944f81e1d0a95c12886ac4641:2,S
But I need to do that for ALL of my email. find and xargs to the rescue!
find . -name '*' -type f -print0 | xargs -0 rename -v 's/alexandria/zen/'

3) setup offlineimap; ie: install and configure your email accounts. This is already done for me by running those two scripts above. Note: Make sure your ~/.offlineimap folder is empty (ie: don’t copy it over from your old computer).

3b) A big change from my last email setup is that I am now checking one of my mail account (grossmeier.net) over ssh. Basically, offlineimap ssh’s to the server, then runs an imap server (in my case, rimap). I followed the instructions set out here: http://eagain.net/blog/2007/02/09/imap-over-ssh.html (changing the pertinent parts about the imap service on the server, of course).

4) run offlineimap. You should see it SCREAM through your email archive as it adds the metadata to its .offlineimap folder from the local maildir you just copied to the machine.

There ya go. Now when you get a new machine and you use offlineimap to sync your email you don’t need to re-download all of your email again.

by Greg at January 29, 2010 02:23 AM

Jorge Castro

Great job everyone!


If this comments like the ones left in this story are indicative of how we’re going to present ourselves to users then we should just get it over with and treat them like this.

Thank you for making our jobs harder, the bugs aren’t enough!

by jcastro at January 29, 2010 02:13 AM

January 28, 2010

Greg Grossmeier

New Laptop

I finally broke down and purchased a new laptop.

My old trusty companion was a System76 Darter Ultra (revision 2). It was a great little machine with a 12.1″ screen, as much processor and RAM (4gig after purchase) as I need, and Ubuntu pre-installed. I can’t say enough about the people at System76; a small company out of Denver, Colorado where you know pretty much the whole company by first name. Carl is the owner; Tom is the guy answering your support questions; Erik is in charge of sales; and one of their daughters or nieces helps stuff envelopes on the weekends. I’m sure there are more people involved, but those three people I have had personal communication with via email and/or phone and every time it was great.

Why am I telling you how much I love System76? Because I feel bad not sticking with them for my latest purchase. I now have a Lenovo X200s. Another 12.1″ screen machine that is really light and works great.

Why did I switch my supplier? Honestly, because I wanted a machine that had a little better structural build quality (my Darter was a MSI barebones and started having structural issues near its 3rd year of life) and the X200s is just a little “better” (lighter and higher resolution).

So far, everything is working great out of the box*! The best part is I had a 160gig Intel SSD waiting to be put in it when it arrived. As soon as I replaced the harddrive I installed Lucid using a USB flash drive which was extremely quick. What that means is I never booted the original drive and thus never even saw the Windows 7 logo. :)

This machine, with the SSD drive, simply just screams. Best upgrade investment I ever made.

Action pics:

writing this blog post at my work office:

* The only thing not working correctly is two finger scrolling using the nipple and third mouse button (there is no trackpad). I tried the adding the hal quirk identified here, but it didn’t work. Haven’t messed with it too much, really.

by Greg at January 28, 2010 12:52 AM

January 26, 2010

Jorge Castro

You sound like you’re from London!


The Canonical design team is looking for volunteers in London to participate in user testing.

The testing will take place this Friday (29 Jan) during the day and extends all through next week, if you have the time to participate, please email iain at canonical.com directly and he will give you all the information you need.

They’d like a variety of users, so if you’re an expert but your spouse isn’t then you should both come. There will be a paid incentive for volunteers who participate.

There will be heavy testing of Empathy. If you meet these criteria we could use a hand:

  • People who don’t have an account with Empathy (who will be setting one up for the test)
  • People who use the Ubuntu version of Empathy
  • People who use the Upstream version of Empathy

by jcastro at January 26, 2010 03:23 PM