Shearer Software

Andrew Shearer’s Drivel

99 and 44/100 percent pure.

Wednesday, November 7, 2007

Providence PHP November Meetup

Jeff presents Joomla! I present Drupal! The two web site frameworks go head to head at our next meetup this evening.

More info and RSVP form.

   Drupal, PHP, Software  Posted at 8:55 AM    Add a comment
Wednesday, September 12, 2007

Providence Web Developer Lunch Hour

If you’re going to be in the downtown Providence, RI area tomorrow, Thursday Sept. 13, please join us for the monthly Web Developer Lunch Hour meetup.

This time, my coworker Chris will demo Ruby on Rails.

Please RSVP [meetup.com].

   PHP, Providence, General  Posted at 10:58 PM    Add a comment
Tuesday, September 11, 2007

RI Nexus Beta

Check out the beta of the new RI Nexus site, full of news and resources about information techonology and digital media in Rhode Island.

I wrote some new Drupal modules to support it. Feedback and suggestions are welcome!

   PHP, Drupal, Providence, Open Source, Technology, General  Posted at 10:11 PM    Add a comment
Tuesday, September 4, 2007

Announcing Migraine, a Drupal Site Migration Tool

Thanks to Noosphere Networks, I’m releasing a script that helps developers of web sites built with Drupal to maintain separate development/test and production sites, pushing changes from test to production as needed. This is challenging with a stock Drupal installation. Changes to PHP code are no problem, because it lives in the filesystem and can be copied or committed to a revision-control system like Subversion. But a lot of Drupal’s configuration work take place within its web administration interface and is saved to the database, where production content such as user accounts and comments is also stored.

The desire to do this frequently comes up on Drupal’s forums, and the typical workarounds have some large drawbacks (involving some combination of extended downtime on the production site, duplication of work, and the loss of content, comments, and user account changes made in the interim).

This small script attempts to solve that by categorizing Drupal’s tables and moving only the right ones at the right time, while handling details such as merging sequence numbers. It also dumps Drupal’s databases to disk in a format that works well for checkin to a revision control system.

This is free software, licensed under the GPL.

There’s a more ambitious project called AutoPilot that aims to do this and more in the future, but its ability to merge test sites into production without losing production content isn’t available yet, and I needed something now.

Be warned, though, that this is an alpha release, intended for those with familiarity with MySQL and Drupal’s table layout. If you have CCK fields, there may be some manual work required when you modify your field layout because CCK tends to change your database schema, and Migraine does not currently attempt to automate all of those changes. It will detect them and warn of the problem, however.

See more information at the Migraine project page.

   PHP, Python, Open Source, Software, General  Posted at 7:21 AM    Comments (2)
Monday, September 3, 2007

Providence PHP September Meetup

I’m holding the next PHP meetup for the RI area tomorrow evening (Tuesday) at Trinity Brewhouse in downtown Providence.

If you’d like to join us for free-form discussion of web development, PHP, and various types of beer, please RSVP.

   PHP, Providence, Open Source, General  Posted at 10:58 PM    Add a comment
Sunday, April 1, 2007

Hike the Blue Hills, Sat. Apr. 7

Start the spring with a 7.5 mile hike through the Blue Hills. Begin at the Trailside Museum (Milton) and finish at the Shea Rink (Quincy). Spotting cars is necessary. This hike is for all levels, but geared towards beginner/intermediate hikers. Must be in good physical condition. L Stacia Zukroff, CL Andrew Shearer. 45 minutes north of Providence, half an hour south of Boston. It’s free, but please register online.

(Trip sponsored by the Appalachian Mountain Club’s Boston Young Members and cross-listed with the Narragansett Young Members.)

   AMC, Outdoors, Personal, General  Posted at 12:40 PM    Add a comment
Tuesday, March 27, 2007

Providence PHP Meetup: Tuesday, April 3

We have a new location and a guest speaker for our April meetup. Nate Abele of the CakePHP project will be here to show off the rapid web development framework and answer questions. We’ll make time for discussion too.

The new location is a really nice conference room at the Johnson & Wales Academic Center, with everything that implies (i.e. a projector).

All programming skill levels welcome. If you’re going to be in the Providence, RI area and can make it, please see here for more details and to RSVP:

Providence PHP April Meetup [meetup.com]

   Providence, Open Source, Technology, Software, General  Posted at 6:28 PM    Add a comment
Sunday, March 25, 2007

College classes by podcast: some recommendations

With so many courses now available as podcasts, I’ve been catching up on subjects I missed earlier.

What’s great about podcasts isn’t just that they don’t cost any money, but that they don’t cost any time. All those intervals during the day when your ears and mind are otherwise idle—the oddly-shaped and otherwise unusable plots of time during commutes, exercise, or errands—can all coalesce into full-length lectures thanks to an iPod with a pause control.

It’s certainly not the full college experience. You can’t ask questions. But you can rewind and play back anything that’s hard to catch the first time.

(There have been classes available online for longer through other means, including MIT’s OpenCourseWare. But their focus on the text of lecture notes or on videos means that they require undivided attention. Often they use streaming formats that keep you tethered to an Internet connection, and the most common player, RealPlayer, still has inexplicably poor control over rewinding and fast-forwarding. Even rewinding a single second makes you wait several extra seconds for re-buffering. So watching the streaming videos isn’t nearly as convenient as podcasts, which download in the background in their entirety.)

After you subscribe in a program like iTunes, it will automatically download the latest lectures as they’re posted and also make them available when you sync with your MP3 player. (If you’re catching up with a previous semester, you can just click the Download buttons beside the next few lectures whenever you’re about to run out.)

Here are couple to start with.

History 7B: Introduction to the History of the United States, 1865-2005

Jennifer Burns, UC Berkeley, Spring 2006

Course web sitePodcast web siteRSSiTunes

These well-planned and engaging lectures on American history after the Civil War are perfectly suited to podcasts. Their focus on changes in cultural ideas ultimately sheds light on the origins of today’s politics. The class doesn’t rely on slides and is perfectly understandable without any prior background in the subject. (My own previous background was a high school AP History class covering the same period, of which I remember just enough to know that it barely scratched the surface.)

Bio 2110/2120: Anatomy & Physiology

Dr. Gerald Cizadlo, College of St. Scholastica

Web siteRSSiTunes

This class weaves all over (but no more than a couple of other A & P courses I sampled, so it’s something about the subject). You could make a TV series out of it that explored the body in the same circuitous way that the Connections series explored history. (Strangely enough, History 7B itself, because it hangs its themes on an overall chronology, would probably come out more like a well-edited reality show.) Unlike Connections, the lecturer takes a deliberately slow pace to avoid complete bewilderment at the end. The rambling, conversational style makes for relaxed listening, and despite some digression and repetition, he covers a lot of ground while making sure you don’t get lost, even without any visuals.

Putting aside the minor issue of slow downloads due to the college’s severe bandwidth cap, there’s interesting information here for body owners everywhere, along with explanations for all kinds of body quirks you probably long ago stopped noticing you had. It does of course lack its own TV series, but it might make House marginally more comprehensible. And anyone who engineers complex systems can take inspiration from the amazing self-regulatory mechanisms behind it all.

Another one you might want to check out:

Chem 1A: Introduction to Chemistry

Alexander Pines and Mark Kubinec, UC Berkeley, Fall 2006

Course web sitePodcast web siteRSSiTunes

This chemistry class is definitely entertaining, even as review, with multiple-choice pop quizzes that you can play along with at home, and a Mythbusters-esque love of wrapping things up with a bang. It does require more concentration than some other classes. Much of it is understandable by podcast, though a few of the quiz questions aren’t repeated out loud, and to see them you need to watch the RealPlayer video. What I did was listen to them first by podcast, then played the videos for the tricky parts.

More classes:

(Tip: When checking out a new class, you can usually skip the first half hour, or even the first lecture. It tends to be full of generalities and and administrative information, and you can always come back to it later. The second lecture says a lot about the teaching style and whether the class works in purely audio form.)

   Politics, Science, General  Posted at 11:23 PM    Comments (2)
Monday, January 8, 2007

Providence PHP Meetup: Tuesday, Feb. 6

Lots of geeky news. I took over officially as organizer of the Providence PHP meetup this month, and our next event is at 729 Hope St on Tuesday, February 6 at 7 PM. So join us for coffee, pastry, a wide-ranging, informal discussion of anything related to programming with PHP, or all three.

This time, we’ll probably share some of the projects we’re working on, so bring some screenshots or a quick demo if you’d like. (If this starts to run long, we can always go into more depth next month.)

Please RSVP.

   Providence, Technology, Software, General  Posted at 10:29 PM    Add a comment

Web Developers Lunch Hour this Thursday, Jan. 11

If your usual lunch crowd doesn’t talk enough about computers for your taste, escape with us to the monthly Providence Web Developers Lunch Hour. (Chris, the usual organizer, won’t be able to make it, so I’m hosting in his place.) Please RSVP here.

   Technology, Software, General  Posted at 10:19 PM    Add a comment
Wednesday, December 13, 2006

Providence Web Developers December Lunch

We’re holding another lunchtime meetup this week, this time at Tazza on Westminster St. So if you’re in the Providence area this Thursday, Dec. 14, come join us. I’m sure your employer won’t mind.

Please RSVP, though:
http://webdesign.meetup.com/410/calendar/5255909/

   Providence, General  Posted at 12:01 AM    Add a comment
Thursday, November 9, 2006

Providence Web Developers Lunch Hour

If you’re interested in web development topics, work in the Providence area, and eat food, you’d be perfect for the lunch hour meetup event happening downtown today (Thursday, Nov. 9) at noon. I’ll be filling in for the regular organizer.

For more information and to RSVP, please visit the event’s Meetup page.

   Providence, Technology, General  Posted at 2:06 AM    Add a comment
Sunday, September 17, 2006

The New Englander Who Went Up a Hill, and Came Down a Hill

Last month's Blue Hills hikeJoin us for a (free) hike on Saturday, Sept. 23, with the Appalachian Mountain Club Young Members. (”Young” usually means 20s and 30s, though there’s no hard limit.)

This hike is in the Blue Hills, midway between Boston and Providence. It’s a great area to explore whether or not you have a lot of hiking experience.

See the trip posting for more information and to sign up.

   AMC, Outdoors, General  Posted at 10:37 PM    Add a comment
Friday, August 18, 2006

Beach Ultimate

Beach Ultimate

Every Thursday evening this summer, there’s a pickup Ultimate game at Narragansett Town Beach. This is what yesterday’s game (19 pictures) looked like.

   Outdoors, Pictures, Personal, General  Posted at 8:16 PM    Comments (1)

Photos: July 4 Weekend, Blue Hills hike, Ultimate frisbee tournament

Catching up on photo collections I’ve posted in the past few weeks:

  • FireworksA 4-day camping trip in the White Mountains with the Appalachian Mountain Club Worcester Young Members, in which we hiked a few mountains, took turns jumping from a ledge into Emerald Pool, and watched the fireworks display at the Mt. Washington Hotel.
  • Blue Hills hikersMy Blue Hills beginner hike, which drew a huge crowd. I took the first 25 to sign up, and could run another trip with the rest.
  • Frank passing disc to SunyaThe RIPUL tournament, where a relatively low-ranked Ultimate frisbee team went to near the top, in spite of my presence on it.
Next up for this weekend:
Sat Aug 19 A Shoe, a Sock, a Rock: Monadnock (C3C) Waitlist
No, the title doesn’t make sense, but it did catch your attention. If you haven’t hiked Monadnock before, give it a try and find out why it’s now the most-hiked mountain in the world. This 4.5-mile loop near the southern border of NH is great for experienced hikers who like the views and beginners who like a challenge. Second in a beginner hike series.
Reg. at http://ashearer.com/personal/trips/register.php?tp=2006-08-monadnock. L Andrew Shearer. CLs Andrea Hafner, Tim Smith.
   Outdoors, Pictures, Personal, General  Posted at 7:46 AM    Comments (2)
Sunday, June 11, 2006

Acadia Pictures

AcadiaSee what Acadia National Park in Maine looks like. I took a trip there a couple of weeks ago with 17 people from the Appalachian Mountain Club Worcester Young Members (an unofficial event). Great biking, trail running, kayaking, and sunrise on Cadillac Mountain—see the pictures. Thanks to everyone involved for a memorable weekend.

   Outdoors, Pictures, Personal, General  Posted at 11:04 PM    Add a comment

Snowstorm Pictures

SnowThere was a snowstorm in Providence last December 9. Most people left work early and traffic was backed up for hours, so I took the scenic route, with a camera pointed out the window.

   Providence, Outdoors, Pictures, General  Posted at 10:59 PM    Add a comment
Friday, June 24, 2005

AMC Providence Kayaking Trip

Providence from the waterI’m co-leading a kayak trip in Providence this Sunday, June 26, with the AMC Narragansett Young Members. If you’d like to sign up, we have available spots and a few kayaks for cheap rental. Since it isn’t a purely flatwater trip, you should be comfortable with sitting in a kayak, but don’t need a lot of experience in order to enjoy it.

You can sign up online.

Trip description:

We’ll spend time enjoying downtown Providence from the river, and also paddle outside the Hurricane Barrier to get a taste of Narragansett Bay. Not literally. L Bev Thomas, CL Andrew Shearer. The route is similar to the one in these pictures.

   Providence, Outdoors, General  Posted at 7:20 AM    Comments (1)

Announcing fs2svn: make a Subversion repository from archive folders

fs2svn is a new, free, open-source tool that converts a bunch of archive folders into a Subversion repository.

If you’ve kept a series of historical snapshots of your work in folders, fs2svn can help you upgrade to a full-fledged version control system.

fs2svn goes through all the folders under a given parent folder (in filesystem order) and creates a Subversion revision for each one, backdated to the most recent file’s last modified date. The log message is set to the folder name.

Additions, changes, and deletions between one folder and the next are all recorded in the repository.

The input format is very simple. It only covers the mainline trunk, not any tags or branches (though tags for major versions could be manually created later, if your folder names carry enough information).

The format is so simple it could be used as a common intermediary. If you wanted to migrate a mainline trunk from some exotic version control system to Subversion, you could write a script to export it to regular folders, then use this script to import the result into Subversion.

See the main fs2svn page for information, examples, and to download.

   Python, Open Source, Software, General  Posted at 12:14 AM    Add a comment

Bermuda 1-2

Congratulations to my father and my brother Rob, who just finished sailing back from Bermuda to Newport in the double-handed leg of the Bermuda 1-2 race. I still don’t know how they placed officially.

(This is the race I’d done the past few times as the crew, with my father as captain, for the double-handed return leg. The inital Newport-to-Bermuda leg is single-handed, so he of course does it alone.)

The first leg involved two emergencies where my father’s boat started filling with water. I still haven’t heard all the details, but it turned out not to be a real leak. For the return leg, one boat was dismasted, but they managed to rig up something to get to shore. No major disasters like the 2003 race, where one boat capsized, and the crew was picked out of the water by a passing cruise ship.

   General  Posted at 12:05 AM    Add a comment
July 2009
M T W T F S S
« Nov    
 12345
6789101112
13141516171819
20212223242526
2728293031  
Recent Reading

A Heartbreaking Work of Staggering Genius, by Dave Eggers

Harry Potter and the Order of the Phoenix, by J. K. Rowling

Player Piano, by Kurt Vonnegut

Bad News, by Donald E. Westlake

The Blank Slate: The Modern Denial of Human Nature, by Steven Pinker

The Jungle, by Upton Sinclair

Gödel, Escher, Bach: An Eternal Golden Braid, by Douglas R. Hofstadter

Speaking With the Angel, by Nick Hornby (Editor)

In Progress

The Language Instinct, by Steven Pinker

The Corrections, by Jonathan Franzen