Archive | August, 2010

Notes from ManchLUG’s Launch Meeting

Twenty-seven people attended the first meeting of the Manchester Linux User Group, held on August 24, 2010 at Wings Your Way, Elm Street, in Manchester, NH. Congrats to organizers Kenta Koga and Chip Marshall for taking the initiative to start a group, finding a location and publicizing the meeting!

The meeting was primarily a meet-up, more focused on finding out if people would come out than running a training session. Kenta and Chip made a few announcements at the beginning of the meeting, including mentioning the GNHLUG calendar at http://gnhlug.org (on a Mac!), Leslie Poston’s efforts to bring together a lot of local tech and social media calendars on Google, activities happening at Float Left Labs and their Archimedes Space in Manchester, Jellies at Studio99 in Nashua.

Conversations were pretty local at that point, with a lot of people in a small space with good food and beers and apparently lots to say. What a joyous noise!

Thanks to Kenta and Chip for organizing the event, to Wings Your Way in Manchester for providing the space and to all who attended!

Notes from Ruby SIG, 16-Aug-2010

The New Hampshire Ruby/Rails group met as usual on the 3rd Monday of the month. We met at the New Hampshire Innovation Commercialization Center, a new space near the Pease airfield. Mark Galvin, NHICC’s Managing Director, was kind enough to offer the space for our meeting and tell us about the ICC. Eleven members attended the meeting.

As we often do, we started with a round of introductions. It’s always interesting to find out who’s there and what they’re up to. I mentioned the GNHLUG calendar and Nick plugged the upcoming Ruby Rampage. Near the end of the meeting, we plugged the NorthEast RailsCamp, coming up on it’s third meeting, this one in Stowe, VT. 5 alums from previous camps were there, and all loved it. There may still be a ticket or two left, even though the site says zero – you’d better hurry!

We were lucky enough to have two presentations tonight.

Brian Turnbull presented “Interfacing Ruby with C.” He explained he needed to do some automation with a “black box” his company was using, and their documentation consisted of a C API and a DLL. Rather than developing an entire application in C, he used Ruby to interface to the C API and then could develop an easy-to-modify Ruby app. That turned out to be a good idea, as the final product he delivered turned out to be very different from the initial request, and having the ability to rapidly re-develop in Ruby was a success. To show us how to use C to access Ruby and vice-versa, Brian used a simple example of a “leaky bucket stack,” a fixed-length stack that would lose the oldest item as the stack was pushed. It was a great example in that it had enough complex behavior to be useful, while simple enough to explain and translate into C without too much effort. First, we reviewed the pure Ruby implementation. Brian proceeded to build up the equivalent code in C, calling Ruby array functionality and data types where appropriate. He then showed how to configure the C extension from from Ruby, build, compile, debug and run from the ruby command line.

See the example code and slides (I’ll update the URL when available). Also http://github.com/bturnbull/padpaws for his more advanced C example.

Brian Cardarella, @bcardarella, http://bcardarella.com, presented his gem, client-side validation, which he developed while working on the “Raise Your Vote” site for the Democratic National Committee. The Raise Your Vote site is intended to assist in voter registration by collecting data online and generating matching PDFs of the voter application. Naturally, 50 states have fifty different forms, with different requirements. He wanted to avoid duplicating the server-side validations with hand-maintained client side code, as the regular changing of requirements and the difficulty of keeping business rules in synch across the two languages would doom the project. He wrote client-cisde_validations to use the declarative validations within the entity models to generate the equivalent Javascript code. Client-side_validations has remarkable depth and breadth, handling nearly all of the common and exceptional types of valiation (Brian notes the few difficult cases in his slides). You can find the code on GitHub (gem code, examples) and the slides here: client_side_validations.pdf

Thanks to Brian Cardarella for travelling all the way to Portsmouth and thanks to both Brians for their fine presentations. Thanks to Nick Plante and Brian Turnbull for organizing and promoting the meeting and the group. And thanks to Mark Galvin and the New Hampshire Innovation Commercialization Center for providing the fine facilities!

Notes from CentraLUG: Joseph Smith and the Coreboot project

Nine people attended the August meeting of the Central New Hampshire Linux User Group, held at the Hopkinton Town Library on August 2nd. We announce our meetings in advance on the GNHLUG-announce mailing list, a very low traffic list we encourage everyone to subscribe to. Joseph Smith presented some information on the Coreboot project, had some hardware to show off, and had a lot of insights into the workings not only of the machines but of the vendors in the space.

We had a couple of announcements, mentioning upcoming meetings on the gnhlug.org web site. We had a round of introductions. We then asked for questions, announcements, job searches or job postings, etc. One attendee had a problem with having Ubuntu insisting it was updating grub with newer kernels, but the kernels were never appearing in the menu. The group had several very good suggestions to follow up on, including the suggestion to join the -discuss mailing list for more help and support.

I mentioned that the CentraLUG is affiliated with several publishers who offer discounts on their books, and that InformIT/Pearson Education (Addison-Wesley, Cisco Press, IBM Press, Prentice-Hall, Que, Sams) sends out a newsletter and holds a monthly user group contest/raffle for good stuff on their web site.

Finally, Joseph Smith got to do his presentation. You can find his slides here. Joe is an AS400 Administrator for a local well-known retailer’s headquarters, but had always enjoyed tinkering with hardware. It was frustrating to find that set-top boxes and other devices were restricted in what they could do (or run) due to defective or proprietary locked-in BIOSes. He was delighted to find the coreboot project and has been contributing ever since. Joe attended NHTI to polish up his software skills and earn a certificate. He brought along several boxes to show us what he was working on. He talked about the sequence of events that occur within the BIOS and how coreboot can replace them. He demonstrated booting a machine with a serial console and minicom monitoring a fully-verbose debugging session. He talked about the issues with getting coreboot running on a new machine, how vendors cooperated and contributed to the project (or not!) and the problems with turning a BIOS chip into a brick and how to recover. It was a fun and interesting presentation.

Thanks to Joe for his presentation, to Bill Sconce for supplying the projector, and to the Hopkinton Town Library for use of the great facilities. Note that CentraLUG will not have a September meeting due to the Labor Day holiday (come on up and see the Hopkinton State Fair!) but plans to meet in October, November and December at the NHTI Library. Stay tuned for announcements.

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.