Archive | OpenSource

Open Source means that users have the freedom to see how software works, adapt it for the own needs, fix bugs and limitations and contribute back to the community.

PySIG, 22-March-2007: Project Night

An even dozen people showed up for the Python Special Interest Groups March meeting, held as usual at the Amoskeag Business Incubator in Manchester, NH.

Bill Sconce called us to order promptly at 7 PM and we proceeded through the printed agenda. It was duly noted the Ben Scott deserved heckling despite his absence. We ran through announcements of a couple of upcoming meetings, plugging the MythTV installfest beta and pointing out Jarod’s book. We mentioned meetings upcoming for the LUGs, including ZFS at DLSLUG, LVM at CentraLUG and the new Ruby group.

Kent’s Korner: Kent S. Johnson presented his month talk, this month on list comprehensions. Kent had a great handout, and has collected his past couple of handouts in one place. Starting with simple examples and building in complexity, Kent lead us through what can be an intimidating topic in a way most couple follow. Some great discussions, on-topic and off-, regarding assignment and Python idioms, always make this a fun part of the meeting.

There was some discussion of Python 3000 and its expected schedule. Bill Sconce had a video of Guido practicing his Py3K presentation in front of an audience at Google, which he went on to present at PyCon.

For the Gotcha of the month, Bill Freeman offered up an “Un-Gotcha:” a=b=4 works, but not for the reason you might think. Assignments of this style in C have a different underlying meaning, and perhaps in some circumstances, different side effects. A key to understanding the single = assignment in Python is to understand that it is a STATEMENT. There is no value associated with the statement and “chained” assignments in Python like the above are specially-coded as an exception case. This lead to yet another great discussion.

Ric Werme showed off the web pages that result from his Python software that collects and forwards weather data from his weather station. His current conditions page, http://home.comcast.net/~ewerme/wx/current.html has links to everything else. Ric bought the weather station in part to have an excuse to write more Python code, and his current code runs the gamut from implementing the weather station protocol through pyserial.py and the serial port to CGI scripts that take data requests, fetches the data from MySQL, creates gnuplot data files that create .gif files, and returns a HTML page to display the results. His description of the software is at http://werme.8m.net/wx/vantage_software.html .

Ric also demonstrated a Python cgi script for collecting data for a weather observers group that Todd Gross created while he was WHDH. It’s customizable, so people can create a form preloaded with their location that offer just the data they collect, and the submission code adds it to a MySQL database and recreates a web page of members reports over the previous day.

Shawn O’Shea showed off Python running in the Win32 and COM environments. Shawn does a lot of work administering and automating Windows configurations, and the COM set of interfaces can allow a lot of internal manipulation of the major applications, a big step up from the VBScripts supplied by Microsoft with some of the tools. Shawn demonstrated the canonical Hello, World with Microsoft Word, but then dug into a couple more concrete and practical examples with querying the Registry and spelunking in the IIS metabase.

Lots of interesting stuff coming up at future meetings: Martin Ledoux offered to show something on the work he’s done with amateur book-binding with pytut/pyref books. Kent has promised an update soon on his real-life experiences with Django. Ray Côté may be able to show off the new web site he used as an excuse to miss the meeting. And I’ll bet Bill will wheedle some more cookies from Janet.

Thanks to Bill Sconce for organizing, Alex Hewitt for getting the networking working, the Amoskeag Business Incubator for providing the great facilities, Janet for the awesome cookies, Kent for his great Korner, Bill Freeman for the csv module and those strange blinking white blocks, Ric Werme for demoing his weather projects, Shawn for the Win32-COM-Automation and everyone for attending and participating.

P.S. Anyone got python running on a WRT54G?

P.P.S. Tom Mosco mentioned to me that the Chicago Python group had a very long presentation on Django by the creators and also a Ruby on Rails presentation by its author. Videos can be found at here and here

CentraLUG, 2 April 2007: Bill Stearns on Logical Volume Management

The monthly meeting of CentraLUG, the Concord/Central New Hampshire chapter of the Greater New Hampshire Linux Users Group, occurs on the first Monday of each month on the New Hampshire Institute Campus starting at 7 PM.

This month, we’ll be meeting in our usual location, Room 146 of the Library/Learning Center/Bookstore, http://www.nhti.net/nhtimap.pdf , marked as “I” on that map. Directions and maps are available on the NHTI site at http://www.nhti.edu and on the GNHLUG site at http://wiki.gnhlug.org/twiki2/bin/view/Www/DirectionsToCentraLUG. The
main meeting starts at 7 PM, with Bill Stearns presenting LVM: Logical Volume Management. Open to the public. Free admission. Tell your friends.

Bill is an authority in the field of security, an instructor for the SANS Institute and an activist in several anti-spam efforts. Visit
http://www.stearns,org for a list of some of the interesting projects he’s been working on and packages he maintains. At April’s meeting, Bill will explain the infrastructure of LVM and how to work with it. LVM is a great technology that allows you to add disk space to running systems, manage the mapping of logical and physical volumes and manipulate disk usage. With the correct choice of hardware and file systems, much of the work can be done while the systems continue to run! Bill has some practical insights into how these systems work, and can talk about some of the subtleties of why you might choose LVM-atop-RAID vs. RAID-atop-LVM. Attendees are encouraged to bring laptops: using temporary space (no need to repartition), Bill will use some loopback tricks to let you create some devices and manipulate the LVM commands – a great hands-on experience!

More details at about this meeting and the group are available at http://www.centralug.org and http://www.gnhlug.org as I learn them!

In future meetings, we are looking forward to Ben Scott demoing OpenWRT (May) and Seth Cohn showing off Drupal (June) – dates and times not yet confirmed and in flux, so stay tuned. Hope to see you there!

Notes from MerriLUG, 15-March-2007, Matt Brodeur on PGP/GPG Encryption and key-signing

Nineteen attendees participated in the March meeting of the Merrimack Valley Linux User Group, MerriLUG, held as usual on the third Thursday of the month at Martha’s Exchange in Nashua, NH.

Matt Brodeur gave a presentation on GNU Privacy Guard, GPG, the Free/Open Source implementation of the Pretty Good Privacy algorithms and protocols. Matt pushed the presentation pretty quickly, as he wanted to ensure we had time for the keysigning, as well. Matt’s presentation is available from his website and that link, in turn is on the GNHLUG Wiki along with the announcements and instructions.

Following the presentation, Matt and Heather Brodeur organized the key-signing. Nearly a dozen of us had prepared and registered our PGP certificates in advance, and we read out-loud our identifying information, practicing our phonetic alphabet and confirming that I should have brought my reading glasses. Following that phase, we lined up in two queues and exchanged identification to confirm we had IDs that matched our names on the certificates. Heather was the caller for this slow-motion folk dance and kept us on task despite our urge to chat and socialize. An odd number of attendees and one additional volunteer made the sequence interesting, and we completed successfully.

Overall, I think the keysigning went quite well, by the number of signed keys I’ve received in the last week. I suspect we’ll have some feedback for Matt, too, on whether there might be some way we could make the follow-up key exchange easier. This was a lot of work, and I want to express my personal thanks to Matt and Heather for all the work. Thanks too, for all who attended and participated and asked questions, and thanks to Martha’s for providing the facilities.

FireFox gets a new update; FF 1.5 run nearly over

mozilla.org news reports “Firefox 2.0.0.3 and Firefox 1.5.0.11 Security and Stability Update”

“As part of Mozilla Corporations ongoing stability and security update process, Firefox 1.5.0.11 and Firefox 2.0.0.3 are now available for Windows, Mac, and Linux for free download from http://getfirefox.com… Due to the security fixes, we strongly recommend that all Firefox users upgrade to these latest releases… Note: Firefox 1.5.0.x will be maintained with security and stability updates until April 24, 2007. All users are encouraged to upgrade to Firefox 2. Firefox 1.5.0.11 is available for download from http://www.mozilla.com/firefox/all-older.html.”

So, there’s only about 5 weeks left of FF 1.5 support. Get testing your apps under 2.x. And get patching for the latest releases!

CentraLUG notes from Andy Bair’s Digital Forensic File Carving presentation

Our thanks to Andy Bair for making the trip north from Massachusetts to present to the Central New Hampshire Linux User Group on March 5th, 2007, the first Monday of the month, at the New Hampshire Technical Institute’s Library. Andy announced that his work at MITRE was done and that he would be starting a job at Korelogic in the immediate future.

Andy worked with several friends at KoreLogic to take on the Digital Forensic Research Workshop (DFRWS) 2006 File Carving Challenge. They were supplied with a 50 megabyte “chunk” from a hard drive with the assignment to find as many files in that chunk as possible. The DFRWS’ motivation was to move the state of the art forward, and all participants were required to supply the source code of the applications they developed. Andy and his team won the challenge, beating out a number of other teams, notably Simson Garfinkel, who came in second. Andy demonstrated the procedures they worked out, talked about the algorithms they used, and showed the graphing of the results that made boundary detection and anomaly detection more easy to pick out. Andy and his team extended the UNIX magic technique to detect patterns in files, extending magic to XMagic which included regular expressions and more sophisticated rules to match files to the patterns. It was a very interesting presentation, presented well. Andy’s presentation, the source code and original data can be found at this link [Updated link – tr, 15-Feb-2010].

Thanks to Andy for the presentation, to Bill Sconce for supplying the projector, and to the New Hampshire Technical Institute for providing the facilities.

Upcoming presentations include:

  1. Bill Stearns demonstrating Logical Volume Management April 2nd,
  2. Seth Cohn presenting Drupal on May 7th, and
  3. Ben Scott presenting OpenWRT on June 4th.

We plan to meet at the usual location, but keep an eye out for a more detailed announcement as the date gets closer.

Blog, the first five years…

… ended yesterday, and today I start the sixth year of blogging. The first year was blogging on the Perl-based TWiki software, 2003 through 2006 on Radio Userland. This year, I’m using WordPress, on a self-hosting Linux-Apache-MySQL-PHP platform. Wonder what I’ll be running in another five years? It’s been a blast, and I hope it continues to be. Primarily, my blog is my voice online: notes of places I’ve found and want to share (or publicly bookmark so I can find them again), news to pass on, or events on which I comment. Thanks for reading.

GNHLUG MythTV Installfest beta 31-March-2007

GNHLUG recently held an alpha installfest of MythTV, the media-center software (think Free TiVO, jukebox, photo album, more) that runs on Linux. We’re just announcing the beta version in two weeks:

http://wiki.gnhlug.org/twiki2/bin/view/Www/MythFest

This installfest is limited to GNHLUG members and staff and students of the New Hampshire Technical Institute. We hope to open future versions to the public, as we refine the process.

Shipping is a Feature: Linux Magazine (p)reviews RHEL5

First Look: Red Hat Enterprise Linux 5 | Linux Magazine: “Red Hat Enterprise Linux RHEL has long been a fixture in enterprise machine rooms. Robust, fast, and feature-rich, RHEL is often the standard by which other enterprise distributions are measured. With Red Hat Enterprise Linux 5 RHEL5, Red Hat once again raises the bar for commercial Linux. CIOs, don the Red Hat.”

I thought I heard a huge sigh coming from the south this week: RHEL5’s delivery was tough labor, from what I understand. I’m looking forward to trying it out. All the features sound pretty cool: Xen integration, the Global File System, and better user interfaces for Security Enhanced Linux. The article above is a preview and the explanation of virtualization is a bit shaky, but the intent is right.

For a good explanation of why you want Red Hat, watch the funny videos here. The usual disclaimers apply: I liked Red Hat so much, I bought (one one-millionth of) the company. Pricing is better and competitive: there’s an $80 basic desktop with a year of web support and updates. Rather than buying “end-user” licenses, developers (yes, it’s still all about “developers, developers, developers, developers”) would much likely prefer the “Standard Developer Subscription” which for $299 gives a developer download access and 1-year support for up to five products, a much better deal than MSDN, more along the lines of the Action Pack or one of those promotions.

Seacoast LUG: OpenWrt, 9-April-2007

Ben Scott announces the April meeting of the Seacoast (New Hampshire) Linux User Group, a presentation on OpenWRT:

  • Who : Ben Scott
  • What : OpenWrt – LinkSys firmware enhancements
  • Where: Room 301, Morse Hall, UNH, Durham, NH
  • Date : Monday 9 April 2007
  • Time : 7:00 PM to 9ish

For the April 2007 SLUG/Seacoast/UNH/Durham meeting, Ben Scott will be presenting on OpenWrt and related tools. The focus will be on initial installation and configuration, and a general survey of capabilities, rather than a specific application. A live demo is planned.

OpenWrt is “a Linux distribution for embedded devices”. In particular, it is commonly used as third-party firmware for the popular LinkSys WRT54G line of SOHO routers. OpenWrt provides a modular system for customizing the firmware (embedded software) for such devices. It can add everything from SSH to VPN to VoIP and more.

In addition to the OpenWrt base package, X-Wrt and WebIf^2 will also be covered. X-Wrt is a set of additional/updated packages for OpenWrt, which provide even more enhancements, with a particular focus on end-user experience. In particular, it provides WebIf^2, an advanced web user interface for OpenWrt.

Ben will bring a LinkSys WRT54G device running stock firmware, and attempt to demonstrate the whole process of installing and configuring OpenWrt and X-Wrt. Come see Ben tempt the Live Demo Gods!

SLUG is the Seacoast Linux User Group, and is a chapter of GNHLUG, the Greater NH Linux User Group. Rob Anderson is the SLUG coordinator. SLUG meets the second Monday of every month, same time, same place. Meetings take place starting at 7:00 PM. Meetings are open to all. The meeting proper ends around 9ish, but it’s not uncommon to find hangers-on there until 10 or later. They take place in Room 301 (the third floor conference room), of Morse Hall, at the University of New Hampshire, in Durham.

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.