Life of a hashtag #nptech

Tips – Infographics for Non-Profits

There has been an up-tick in activity around infographics, but does it mean your non-profit needs to jump on board? That certainly depends upon your organization. Make a quick read of some the resources below and then take stock of what your organization does and whether this might be a fit. Infographics are but another way to communicate a story. Done poorly, they can reflect poorly on your organization. Do you fit the niche?

Tips   Infographics for Non ProfitsThink First

Here are a couple of points we’ve distilled:

  • Define a goal for the infographic. Absolutely do not create one just to create one. Are you wanting to incite an action? What is it? Do you want the reader learn more? Where?
  • It needs to tell a story that includes how your organization is impacting a positive outcome or goal.
  • Strong visual appeal is critical. Do not skimp on this, get a professional designer if you don’t have the skills.
  • It is tough to visualize data and tell the story without information. Find out what story you want to tell in the future but are not yet tracking the corresponding data. Start tracking it.
  • Simple colors. Two to three colors only and stick with it. If you end of printing these as posters, it’ll save your print costs as well.

Creating an Infographic: Tips for Nonprofits

  • Look at a wide variety of infographics, from nonprofits, businesses, and other sources, to get ideas.
  • Decide what the charity wants the infographic to achieve. Don’t create one just because it’s a trendy approach.
  • Identify what data the organization has collected, but also look for outside sources, such as Census figures, that could bolster the message or help put the group’s data in context.
  • Follow the organization’s style guidelines on fonts, color schemes, and tone to maintain the group’s brand.
  • Keep it simple. Convey the message quickly and clearly. Too many numbers or ideas can confuse or overwhelm viewers.
  • Balance esthetics and substance. An infographic needs to be useful as well as visually appealing.
  • Credit sources of data.
  • Experiment. Try free and low-cost software to see what’s possible.

Informational Resources

Tools

  • Google Docs Templates – has templates for charts and maps
  • Tegxedo - allows you to create infographics of the tag or word cloud variety
  • Gapminder.org - a fact based view of the world. See trends and data
  • Visual.ly – still beta but will allow you to create online visuals for sharing.
  • Balsamiq – mockup and diagramming tool. Non-profit friendly with their licensing. Friendly folks.
  • Creately.com – makes creating online diagrams a breeze

 

gfxCardStatus App - Discrete vs. Integrated mode

Poor Battery Life – MacBook Pro OSX Lion

MacBook OSX Lion Problem

Poor Battery Life   MacBook Pro OSX Lion

I know what you’re thinking. It is one of two things. Either, it is going to be something like “Dude, battery life depends on how you use your system.” or you may be in the “Please, I hope he has something that will really help.”. You are both in luck.

I completely agree that battery life is quite dependent upon how you use your system. High processing power, high disk activity, CD/DVD spinning away, etc… all contribute to a reduction in the amount of time you will be able to squeeze out of a battery charge. However, since moving from Snow Leopard to Lion on a Late 2011 MacBook Pro, I have indeed noticed a 25-30% drop in the amount of time I can run per battery charge. Sure, I run a few different settings and applications since moving to Lion, but overall I have noticed a general drop in battery life.

Recently, I got fed up and went to do a bit of quick searching. I came across this post from the Pundit Reporter. It indicated that they noticed that the built-in graphics switching was staying in discrete mode only (higher power consumption mode) rather than switching down to integrated mode (lower power consumption) when the higher graphics capability was not needed. They reference the gfxCardStatus app by Cody Krieger.

Macbook Battery Life Solution

So I installed the gfxCardStatus app and saw that in fact, even with all my normal apps closed, the system was still running in discrete graphics mode. After using the status bar app to switch to integrated mode only, I immediately noticed the time remaining  for my battery began to increase. This got my thinking that there must be an app or service that was causing the system to never switch back to integrate graphics mode. Let the testing begin.

Skype 5.7.0 is causing the system to remain in discrete graphics mode even when not in a call!

I set the gfxCardStatus setting back the dynamic switching. Instantly the mode went back into discrete mode. Quickly, the culprit was found. Skype. Boy, Skype has really been a bane for me on Lion already. When doing video chat, which we use extensively in our daily work, CPU goes high, the twin turbines on the MacBook go into high gear and  it sounds like a 747 taking off. Now, I noticed that as soon I killed Skype, the system switch to integrated mode and battery drain significantly decreased.

If you use gfxCardStatus, toss a donation Cody’s way. Heck, he just gave you back 2 hours of untethered life back and is pursuing Software Engineering at the Rochester Institute of Technology

Well at least the culprit in my case was found. Now unfortunately I need Skype daily for work so it appears the only option is to live with the gfxCardStatus app forcing the system into integrated graphics mode in order to get  my 6+ hours of battery life versus my previous 3-4 hours, or….plug in more often. Someday I hope Skype will really listen to the Mac community and address the silliness their product is causing. If it wasn’t for needing Skype to communicate with our organizations staff, I’d use an alternative. Time for change management to kick in perhaps.

thunderbird-logo

Moving Outlook .PST emails to Thunderbird on Ubuntu Linux

How to Convert Outlook PST to Thunderbird

During a recent disagreement between Windows 7 64-bit and my internal hard drive, I made a change. First, Windows 7 lost and the hard drive kept its life.

The change I made was to once again go down the road of running Linux as my primary operating system. This time it was Ubuntu 11.04 64-bit. However this article is not about the operating system, it is about the process I used to get my backed up local .PST files created by Microsoft Outlook to give up those precious emails so I could refer to them in my new email client, Mozilla Thunderbird.

There are plenty of articles you can Google that talk about the best process to make this happen. It tends to be along the lines of installing Thunderbird on a Windows machine that also has Microsoft Outlook installed along with your .pst files. In this setup, you can supposedly use the built-in Thunderbird import feature which makes calls to Outlook to get at your emails. In my case, I didn’t want to have to try and go through that time consuming process.

Instead I ended up using a Linux package to extract the emails, renamed all the files and imported them all using a Thunderbird plugin. So, let’s get to the details.

Step 1 – Get your email out of the .pst files.

Install the readpst package.

Now create the directory where you will want the extract email files to be placed.

Next execute the readpst command against a .pst file.

UPDATE: Ian Major commented on a simpler solution. “Works great, after reviewing the options for readpst I changed the command line to be ‘readpst -M -b -e -o pst-export archive.pst’ which doesn’t import deleted messages, and outputs with the eml extension, which means the rename isn’t required.”

Step 2 – Rename exported files

The readpst command will export all your emails into a folder hierarchy that matches the previous folder hierarchy in Outlook. The only problem is that every email is exported as a numeric filename. The text document are .eml files but don’t have the .eml extension. Therefore, we need to recursively rename all the email files to add the .eml extension. Lots of other articles will have you create bash, python, perl or other scripts to do this. I actually found the easiest to be a single command line.

What we are doing is finding all items that are files and do not already have a .eml extension. When we find these, we rename the file by adding the .eml extension.

NOTE: Depending on how many emails you have to rename, this is not the fastest approach and may run quite a while.

Step 3 – Import .eml files into Thunderbird

It’s now time to import all those email files into Thunderbird to make them useful. I found that what worked best for me was to install the ImportExportTools plugin for Thunderbird and use it to bring everything in.

Once you have installed the plugin it is time to use the tool. Inside Thunderbird, create a temporary local folder that we will use to house this mass of emails that you can later do what you please to get them where you want for their final location in Thunderbird.

Right click the folder in Thunderbird and choose the following menu path

import/export –> import all eml files from a directory –> also from its subdirectories

Then choose the folder you exported all the .pst emails tools (pst-export). Now sit back and wait while all your lovely emails you missed so much are made an active part of your new Thunderbird installation. Go get another cup of coffee and maybe a snack as this too will take a little bit to complete and you’re done.

Photo By loop_oh http://www.flickr.com/photos/loop_oh/4295295279/

Best Drupal Recipe? SSL and Non-SSL for Anonymous Users

Best Drupal Recipe? SSL and Non SSL for Anonymous Users

Photo By loop_oh

Two of our largest sites have run on Drupal since 2007. That was Drupal 4.7 for those who knew Drupal in those days. Best Drupal Recipe? SSL and Non SSL for Anonymous Users From day one, these sites allowed for online donations from anonymous users. Since we started on Drupal 4.7, LOTS of custom code was written. On Drupal 5 we began using the Secure Pages module to help the switching between HTTPS and HTTP for various URL paths and such. This wasn’t without it’s share of bugs which much has been fixed. Today we are on Drupal 6 but we’ve also grown up. Our hosting is now across multiple servers, dedicated DB server, memcache, etc… These performance and scalability changes has seemed to highlight some additional challenges with secure pages.

This is not a bash on the secure pages module, however it has caused me to think about architecture and strategy. See, these sites are not the typical “Here’s our non-profit and here is a form you can give donation through.” Instead we have 50+ different giving forms for different programs, partnerships and experiences with more being creating weekly it seems. Forcing a user to create an online account in order to donate is not an option. We have recently implemented integration between SalesForce.com and these Drupal sites. This integration with the CRM solution means that in short order, users on these Drupal sites will be able to see information about their partnership, contributions, pledges, update their contact information, make more decsions about how they interact and partner with this organization and more. Anticipated traffic spikes are going to require us to add Pressflow and varnish to our configuration in the near future.

All this to say that there is a definite need to secure a number pieces of these sites, but the majority of content is still really anonymous user content. So here is my question to the community of medium to large sites on Drupal that have the need for mixed HTTPS/HTTP traffic:

What’s the best recipe in Drupal 6 & 7 for ensuring certain, but not all pages, including login, user and other content types or paths, are delivered via HTTPS while the rest of the site is HTTP?

Actually wondering if a better approach is to have anything needing SSL to be delivered from a subdomain (secure.mydomain.com) that points to the same Drupal instance.

Curious how others deal with this for client projects. What’s your experience been?

 

The Economist front page screenshot

Dallas Drupal 2011 – The Economist: Tech Talk Session Notes

Four Kitchens staffers
Diana Montalion DupuisAaron ForsanderRobert Ristroph

All items relate to the ongoing support and development for http://www.economist.com/

Front page components:

Dallas Drupal 2011   The Economist: Tech Talk Session Notes

  • Frontpage made up of lots of pieces and parts
  • Hero box.
  • Each item in each area of FP is individually selected. Admin is a single place tabbed for each section so easily managed to “build the page”

London – New York – Austin

  • Mailing list (Team), IRC (Team), Skype (1 to 1)
  • Developers / Core Committers
  • 1 Designer
  • SCRUM manager

2 week sprints. 15 minute stand-up daily. (What I did yesterday, What I’m doing today, any impediments)
Demo what is done to customer.
Code review, Tested, Deployed.

Use Google Docs for multi-organization teams as the SCRUM tool. Four Kitchens uses JIRA internally.
Defined single person that is the final approved/decline of any feature request. (Product Owner)

The Most X Box (Most commented, Most recommended)

  • Too query intensive to run on every page load. Ran in cron, cached every x minutes and then use the cache for display.
  • No longer using it this way as it has gotten more intelligent.
    • Jenkins runs jobs that pre-load cache.
    • User page loads only every get this box content from cache. Never sets cache.
    • If no cache, blank box.

Dev Ops

  • Branching – BZR -
  • Every feature starts in a feature branch Use launchpad to manage.
  • Trunk -> Stage -> Live
  • Fridays – Promote to stage. Teams signoff via email
  • Tuesday – Push live.

Testing

  • Selenium – More features than simpletest
  • Wow! – Runs in a headless Ubuntu X-Window recorded with FFMPEG so you actually see what was happening on a failure.

Vendor Branching

  • Each contrib module has a vendor branch
  • Pristine version of contrib as base and changes tracked.

Topic trees

  • At least ten pieces of content for a topic before it will be vailable as a topic.

Jenkins

  • Web based system for automating builds. Used to be called Hudson.
  • Now can do other things.
    • Make calls to drush cron
      • Take your imports and such and make them as drush cron calls
  • Drupal CRON runs in order of module weight. If a module cron run fails, everything after will not run
    • Database download and sanitize user data.

Performance

  • Caching
    • Varnish front-end (Pressflow for Drupal 6 or Drupal 7)
    • Logged in session cookie, Varnish is setup to not serve cached is user is logged in.
  • Database
    • MySQL replication
      • All write queries to master (Pressflow)
      • reads are from one of the replicants

Migration

  • Continual Integration
  • All stories created in CCI – Oracle
  • Custom code pulls from Oracle and then creates/updates nodes in drupal

They wrote menu_callback_cache as finer grain control of caching in drupal

JRE manual download and installation 32-bit and 64-bit

Force.com IDE Standalone Installation Problem on Windows 7 64-bit

Force.com IDE Standalone Installation Problem on Windows 7 64 bit

Salesforce Force.com IDE Java failure

Today I attempted to install the Force.com standalone IDE on my Windows 7 64-bit laptop in order to make some Apex class changes in our sandbox and production orgs on Salesforce. I had recently formatted and reinstalled Windows 7 so going through this process again was supposed to not be a problem. Famous last words!

First, I needed a Java JRE. I fired up Firefox 4.0.1 and went to the  Get Java website. I allowed the site to detect my needs, downloaded the setup, ran it and everything looked good.

Next I downloaded and extracted the setup files for the Force.com standalone IDE for Windows 7 64-bit. When I attempted to run the setup executable, I was confronted with an error message as seen in the following screenshot. The error went something like this:

After doing some Googling and not really finding a good solution I decided that this must be something to do with the Java environment. I decided to go back and try installing both the 32-bit and 64-bit versions of the JRE manually. After installing the 64-bit version of JRE-6u25 I tried the setup executable again. This time everything worked perfectly.

Force.com IDE Standalone Installation Problem on Windows 7 64 bit

JRE manual download and installation 32-bit and 64-bit

Come to find out, Firefox is running as a 32-bit application. The Java site detected I needed the 32-bit version of the JRE. After be explicit about downloading and installing the 64-bit version of the JRE, the 64-bit version of the Salesforce Force.com standalone IDE installed without a hitch.

Hope this may help someone else out with the same issue. Sometimes running a 64-bit is a real pain when you mix environments. Oh well, the price of progress…. ? Force.com IDE Standalone Installation Problem on Windows 7 64 bit

Linode StackScripts and LAMP Servers

Linode StackScripts and LAMP ServersOn February 8th, 2010 Linode.com announced the availability of StackScripts. The StackScripts are described as:

StackScripts™ provide a flexible way to customize our distribution templates. They’re very easy to use — find a StackScript, answer its questions, and click deploy. When the deployment is first booted, the script is executed and does its thing. You can even watch its progress by viewing the console.

Continue reading