Archive | Technology

New Hampshire Ruby, 16-Oct-2007: Rails Deployment

Organizer Scott Garman posts:

This month’s NHRuby.org meeting topic will be on deploying Ruby on Rails applications. While back in May our meeting focus was on using Capistrano as our primary deployment tool, this month Scott Garman will be demonstrating a simpler application to manage Rails deployments, called “Vlad the Deployer

Vlad the Deployer “targets the 80% use case” of deployments and boasts an engine written in less than 500 lines of code. Is simpler always better? Drop by our meeting and find out!

Scott will also be discussing various Rails-related tidbits he’s been working with recently.

Anyone who attends the meeting will be offered special coupon codes from Linode if they’re interested. The coupons give you two months of free service after purchasing one month of their Virtual Private Server (VPS) hosting. Linode sponsored the recent Rails Rumble and Nick Plante
had many good things to say about them.

WHEN: Tuesday, October 16, 2007. 7-9 PM.
WHERE: RMC Research Offices, 1000 Market Street, Portsmouth, NH.

For a map and driving directions, see our wiki site

Study: P2P effect on legal music sales

This is has been sitting around in the draft bin for too long: Study: P2P effect on legal music sales “not statistically distinguishable from zero”
“A new study in the Journal of Political Economy by Felix Oberholzer-Gee and Koleman Strumpf has found that illegal music downloads have had no noticeable effects on the sale of music, contrary to the claims of the recording industry.”

Great news. Music sales go up and down because demand goes up and down, quality goes up and down, the economy and affordability and attractiveness of music varies.

CentraLUG notes, 1-October-2007: Michael Kazin on Nagios

Ten attendees made it to the October meeting of the Central NH Linux Group, coming from as far away as Nashua, Laconia, Peterborough and Hanover. CentraLUG is a chapter of the Greater New Hampshire Linux User Group, and our meeting was held as usual on the first Monday of the month at the New Hampshire Technical Institute‘s Library, Room 146, from 7 PM to 9 PM.

Michael Kazin presented Nagios, the host and service monitoring system. Michael told us a bit of his colorful personal history, and his exposure to Nagios as a student administrator of the Rutgers University computer center. He had found a neat diagram of the relationships between the configuration files in Nagios (we covered the current 2.x and not the 3.x, currently in beta) and went to explain how it could be used for businesses and home users, keeping an eye on working systems, alerting the operating to problematic conditions of low disk space, high CPU usage or unavailability of resources or services. Nagios has a huge number of pre-built modules, a 240-page manual, and documentation on how to extend the system for your own use.

Michael ended up with a presentation of a working Nagios installation on his home network, and showed how shutting down a service would set off an alarm, how the operator could flag the alarm as acknowledged, fix the problem, and verify that the alarm cleared. While the audience watched, participated and pestered Michael with questions, we identified and fixed a couple of permissions issues with his install and got the system to do things he’d never tried before. A good time was had by all. Wish you were there.

Michael’s slides are available on the GNHLUG site.

Bill Sconce was present to point out that modules could be written in Python. Ben Scott was heckled. I made the usual announcements: GNHLUG meetings can be found on http://www.gnhlug.org; several related meetings are taking place this month: SwANH’s annual infoeXchange, the NEARfest ham radio gathering. See the web site for links.

Thanks to Michael for a fine presentation, to Bill Sconce for providing the projector, to NHTI for providing the space and to all for attending and participating.

Red Hat Magazine | A guide to GNU Screen

A handy reference, A guide to GNU Screen, appears in Red Hat Magazine:

The same way tabbed browsing revolutionized the web experience, GNU Screen can do the same for your experience in the command line. GNU Screen allows you to manage several interactive shell instances within the same “window.”

The killer feature of screen, in my mind, is the ability to launch a long-running task, disconnect and reconnect to it later. For a consultant on the go, or when your wireless isn’t reliable (or the dog pulls the ethernet out of the wall), screen lets you reconnect and pick up where you left off. It’s handy for setting up a set of screens on a client site and then using only one secure tunnel to connect to them and examine the state of various applications. This is a tool everyone should learn and keep in their toolkit.

Former TheOpenCD project lead starts OpenDisc

I’ve plugged TheOpenCD a few times on this blog before. We’ve talked at several recent LUG meetings on the value of TheOpenCD, in giving a customer, client, friend or stranger a CD of well-organized, easily installed, polished Open Source applications. In a recent blog posting, the former project lead talks about the management and infrastructural hurdles in TheOpenCD project and announces his own new project, OpenDisc. I wish both projects the best!

Book recommendation: CSS, Separating Content from Presentation

I wanted to make a strong recommendation you pick up Cascading Style Sheets: Separating Content from Presentation, Second Edition, Second Edition. I read the first half of the book a couple of weekends ago and was so inspired, I tore into one of my websites for a major overhaul. The book lays out the issues of CSS, the tricks to implementations, and the details of how rules and selectors and cascading and “inheritance” (I have to quote it – CSS inheritance is much more containership than OOP’s version of inheritance, a poor choice of terms, imo). The writing is fast-paced, easily-comprehensible and entertaining. Best CSS book I’ve read to date.

Notes from the NH Ruby/Rails Group, 25-Sept-2007: Scott Garman and Nick Plante

Five attendees made it to the September meeting of the NH Ruby/Rails User Group, held as usual at the well-appointed RMC Research offices, though not on the usual third Tuesday. A round of introductions lead to some vigorous discussions, including how to broadcast and record meetings (perhaps a future meeting will be available via WebEx?), other computing organizations and conferences in the Granite State (GNHLUG, SwANH, the infoeXchange conference, NH High-Tech Council, etc.).

Nick Plante had some great stories about the Ruby Rampage, a 48-hour online programming contest he help run. A large number of teams competed and a fair number actually delivered working applications, some of them looking quite polished. There’s open voting on the most popular applications, and winners will walk away with a number of desirable prizes. Nick’s also been tapped to do the closing presentation at Ruby East, where he will demonstrate some of the more popular applications. There are some great apps there, and some will be providing their source code, though not all. Check them out!

On to the main presentation: Scott and Nick had started a simple Ruby app for NHRuby members to be able to suggest future meeting topics and vote on them, giving the organizers some ideas on what to present next. Tonight, Scott presented the unit, functional and integration test frameworks built into Rails and/or available as add-ons. Nick showed the UI for the voting interface and dove deep into how the form functioned. There was a lot of discussion, with debates on where the boundaries are in unit vs. functional vs. integration, and how Javascript (via the Prototype libraries) can be integrated into the interface and how Rails allows graceful degradation on platforms with Javascript unavailable or disabled. Comparisons were made between the internal, programmer-centric tests provided by Rails and external tests a QA person might run with a tool like Selenium. Lots and lots of great ideas. In a future meeting, Scott and Nick will discuss the next step, deploying the application, perhaps using Vlad the Deployer (ow) and/or the new Capistrano 2.

Thanks to Scott for organizing the meeting, Tim of RMC for providing the meeting space, Scott and Nick for the presentation, Brian for mentioning Selenium and all for their attendance and participation!

raganwald: We have lost control of the apparatus

Reg Braithwaite passes on the bad news: “I am writing to you as a fellow programmer and software developer. I write in friendship and brotherhood. My heart is heavy, and the news I impart is not good: raganwald: We have lost control of the apparatus.” A funny piece, with a pointed moral to the story: the time of “the computer guy” dictating how the application should work is passing. Good riddance!

New Hampshire Ruby/Rails Group, 25-Sept-2007: Live Coding

Organizer Scott Garmin posts:

“Tomorrow’s NH Ruby/Rails User Group meeting will include a continuation of the live coding project Nick Plante and Scott Garman started during the July meeting. This project was to develop a web application where group members could submit proposed topics for future meetings, and vote on their favorites… This month, Nick Plante will demonstrate how to add the voting system to the application. Nick will use an AJAX-based 5-star voting system that you may have seen on many product review sites… Scott Garman will give an introduction to the Rails testing framework, demonstrating how unit, functional, and integration tests are written. Scott will also demo some useful third-party tools that make testing easier and faster, and how they integrate with the NetBeans IDE.”

WHEN: Tuesday, September 25, 2007. 7-9 PM.
WHERE: RMC Research Offices, 1000 Market Street, Portsmouth, NH.

For a map and driving directions, see our wiki site.

CentraLUG: 1-Oct-2007: Michael Kazin shows Nagios

The Central NH Linux User Group returns to the Library after a summer hiatus at the Sybase offices in Concord. The monthly meeting of CentraLUG, the Concord/Central NH GNHLUG chapter, happens the first Monday of most months at the New Hampshire Technical Institute‘s Library, room 146, at 7 PM. Next month’s meeting is on October 1st at 7 PM. Directions and maps are available at http://www.centralug.org Open to the public. Free admission. Tell your friends.

At this meeting, Michael Kazin will be presenting Nagios, the Open Source monitoring service. From http://www.nagios.org, “Nagios® is an Open Source host, service and network monitoring program.” Written in Perl and controlled by text configuration files, Nagios offers the ability to alert administrators to a huge number of possible problems with connectivity, speed, or performance. Nagios offers a web interface for close-to-real-time monitoring, email/pager alerts, the ability to launch other programs, etc.”

Michael is a computer consultant at a well-known consultancy working for well-known companies in the military-industrial complex. He is a member of the Greater New Hampshire Linux User Group’s Board of Directors. Previously, Michael helped run the Rutgers University Student Linux User Group and gained his experience with Nagios by monitoring hundreds of machines in the Rutgers Data Center.

Future Meetings: Currently, we have a couple interesting meetings coming up: November: Ted Roche on Cascading Style Sheets, December: David Berube on Ruby, January: Bruce Dawson on low-power Linux computers. As always, meetings are subject to change. You are encouraged to join the low-traffic announcement list to get announcement and cancellation information.

Powered by WordPress. Designed by Woo Themes

This work by Ted Roche is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States.