Seven members attended the New Hampshire Ruby / Rails group meeting held on 17-January-2011 at the New Hampshire Innovation Commercialization Center (NH-ICC). We had two presentations: Brian Turnbull talked about OmniAuth and Nick Plante showed a project he’s doing with Mirah on the Android platform.
Brian Turnbull is an engineer working for ARRIS and injects Ruby into his build tools whenever he gets the chance. A recent project required authentication against multiple providers and he did some research on OmniAuth. Brian presented a slideshow explaining the basic concepts of authentication and how they’re implemented in OmniAuth. Apparently, OmniAuth was the authentication method of choice during the most recent RailsRumble, used by most of the contestants. Brian outlined the process needed for working with an existing provider and demonstrated it with clear and simple code. He followed that up by showing how to build your own custom provider and authentication strategy. Brian’s sample code can be found on his github account.
Nick Plante has been working on an Android rich client app as part of a web-based social application that’s soon to launch. Nick told us that working on Java for Android has reinforced his love of Ruby. There’s not yet a good port of Ruby to the Android platform, but he has been impressed with the Mirah language, a hybrid solution that compiles to bytecode and runs natively on the JVM. He has developed a Ruby generator called protoform to construct the skeletons of a Mirah app. He gave us a tour of the components and built a simple “Hello, World” app, deployed and ran it on his Android VM.
Thanks to Brian for organizing the meeting and for the OmniAuth presentation, to Nick for talking about his Mirah project and to the NH-ICC for providing the fine facilities.
Notes from SeaCoast WordPress Developers meeting, 11-Jan-2011
The premiere meeting of the Seacoast WordPress Developers group occurred on Tuesday, January 11, 2011 at the Portsmouth Public Library from 6:30 – 8:30 pm. Four people attended, a modest but promising showing. All four – Amanda, Jesse, Kevin and I – had experience with WordPress and relatively advanced computer experience, as befits a “Developers” group rather than a “Users” group. We did a round on introductions and discussed what we’d like from the group. There was a lot of meta-discussion: how to organize the group, when to meet, what features to offer attendees, etc. We talked about what we had done with WordPress and what we were looking to do. We shared some advice on resources and plugins we’d had success with.
Kevin shared some insights into the Drupal community and the Seacoast NH Drupal Group. Kevin talked about working with Drupal’s Aegir enterprise management system and the Content Creation Kit
I mentioned the Joomla’s recent 1.6 release and Barry North’s CompassDesigns.net pointing out we have a lot of good options in CMSes out there, and we talked about some of the hybrid solutions: some of this and some of that.
Jesse’s been working with Expression Engine and is interested in the CMS capabilities of WordPress as an alternative. I pointed out that Expression Engine is built on the CodeIgniter framework which I’m currently working with.
We spoke about a lot of related groups and hope to share contacts and exchange publicity with the New Hampshire Ruby Rails Group, the Greater New Hampshire Linux User Group, SLUG, the Seacoast Linux User Group (meeting in Morse 301 on the second Monday at 7 Pm for the past 11 years). Amanda and Kevin recalled the GNHLUG meeting featuring Linus Torvalds, attended by over 200 people, on 31 Jan 1996 (accoding to GNHLUG’s list of past events), We mentioned other meetings, such as NHUPA: New Hampshire Usability Professionals Association (now NHUXPA) the eBrew last week at the Press Room, the New Hampshire High Tech Council and the NH PodCamp and Boston WordCamp
Amanda was the organizer of the meeting, and had the most experience with WordPress sites. She has developed and released a number of sites, modified plugins and worked with other developers to get the features she needed. Amanda was interested in learning more about WordPress’ CMS abilities. She’s interested in the Flutter add-on, the Magic Fields CMS Add-On, and extending WordPress with the WP 3.0’s Custom Fields. Amanda brought two books for show-n-tell: Smashing WordPress: Beyond the Blog by Thord Daniel Hedengren (Smashing) and Professional WordPress by Hal Stern, David Damstra and Brad Williams (Apress/Wrox)
This was a great start to a good group, and I’m looking forward to future meetings. Thanks to Amanda for organizing the meeting and the Portsmouth Public Library for the fine facilities. Stay tuned to the meetup group for announcements on future meetings.
LAMP – Linux, Apache, Microsoft?!?!!, PHP?
For a new client project, I’m configuring LAMP in a way I have not before. The “M” in LAMP, often referred to as Middleware or the trademark of a certain database, is Microsoft in this case, Microsoft SQL Server.
My development workstation is running Fedora 14 and I installed the following to get it working: unixODBC, FreeTDS and php-odbc. (The other components were already installed.) In order to get it working (the target server is up and running, that’s another rant/post), I followed the how-to at http://www.unixodbc.org/doc/FreeTDS.html. Taking care to do the intermediate tests with tsql and isql, and then configuring the PHP CodeIgniter framework to use odbc (with one tweak to the source), I was up and running!
The power of Open Source continues to amaze me.
Notes from CentraLUG, 6-Dec-2010: David Berube, MySQL Operations
Six people attended the December 2010 meeting of the Central New Hampshire Linux Group, held at the NHTI‘s Library from 7 to 9 PM. David Berube was the featured speaker, talking about his experience with large scale high-performance MySQL applications.
David is an independent software developer and consultant. One of his larger projects over the past couple of years has been an application for scheduling actors for auditions. This involves agents and projects, auditions, roles, videos and a number of other entities in a complex and fast-moving application. He’s used Ruby on Rails, PHP, MySQL, a NOSQL database, Amazon S3, A rack of Mac Minis, BSD, Linux, and a number of other elements. He had some insightful things to say about the development process, managing a client project, handling difficult requirements, scaling up million-row databases for subsecond response times and more. It was a meeting well worth attending.
There were a lot of useful tools and reference sites mentioned, and I was only able to take note of a few: Useful Ruby add-ons: New Relic, Query Reviewer, Percona Operations Day, Cacti for data aggregation. An In-depth discussion of NoSQL (“Not Only SQL”) Databases: what are they, what are they good for, what are the liabilities? A good discussion of the trade-offs of using NoSQL, reference to the NHRuby presentation on Redis a few months ago, and more.
Thanks to David for an informative presentation, to the attendees for a dynamic interactive session, and to the NHTI Library for the facilities. Future meetings at the Concord location have been suspended, we encourage our regulars to attend the Manchester ManchLUG meetings. If you haven’t already, consider subscribing to the announcement list so you’ll know when there’s an upcoming meeting. (Subscribers to the discussion list will automatically receive the announcements, too.)
CentraLUG, 6-Dec-2010, David Berube, MySQL Operations
The December meeting of the Central NH Linux User Group will be held as usual in Room 146 of the NHTI Library – details and directions can be found at http://www.centralug.org – and will feature David Berube presenting “Real World Experience with Large MySQL Deployments”
David recently attend the Percona Operations Day training covering real world howto’s on big MySQL deployments and will share what he’s learned.
About David: David is a principal at Berube Consulting. David Berube is a software developer, consultant, speaker, and writer. He is constantly researching, perfecting, and practicing his trade. He is a prolific writer, appearing in places such as Dr Dobbs Journal, Linux Magazine, IBM DeveloperWorks, PHP International Magazine, and many others. He speaks frequently, notably including his seminar series, “Making Money Using Open Source Software”. He authored the books “Practical Rails Gems” and “Practical Reporting with Ruby and Rails”, and co-authored the book “Practical Rails Plugins.” He is also a leader in the Open Source community. He was involved with the AmphetaDesk project, developing much of its Win32 GUI code.
Greybeards vs. certifications
A friend sent a link to a story many of us have seen before, in all sorts of industries: the cocky young kid tries to show up the experienced greybeards, with predictable results:
http://www.infoworld.com/d/adventures-in-it/dont-underestimate-tech-experience-251
Very good story, and one in which I’ve played both roles myself 🙂
The problem with a lot of these stories is that there’s a real attitude in the IT world that certifications are so worthless that they are actually bad, an indication that an incompetent is hiding behind a paper certificate. And while there certainly is an industry devoted to cranking out “paper tigers,” that attitude leads to a lot of cowboy programming by “self-taught” computer techs. There’s a wise saying about doctors self-treating having fools for patients.
I really value my self-learning. I have a wall full of books (and I’ve actually read them!). And I’ve used the knowledge I’ve gained in solving real problems for real clients in the real world. But I also have a wall full of certificates, as I’ve learned from others as well. I think that’s the best of both worlds.
A certificate ought to be looked at like a driving learner’s permit: it says the operator has a base level of knowledge that makes them safe enough to operate so they can learn how to really do the job. And I think everyone ought to pass the learner’s permit test.
— from a former Novell CNA, Microsoft Certified Professional, Certified Solution Developer, Certified Network Engineer, MySQL Certified Developer. And a slew of other certifications like Throttleman, SCUBA diver and Senior Lifesaving.
Notes from the Python Special Interest Group, 18-Nov-2010
Four members attended the November meeting of the Python Special Interest Group, held a week early due to the Thanksgiving holiday (anticipate a similar schedule for December). The Amoskeag Business Incubator was kind enough to allow us to use their smaller meeting room, which worked out perfectly for the smaller crowd.
It was an open Q&A evening, and boy, did we have Qs and As! Topics covered included:
- Getting scanners working on Ubuntu 10.10
- sharing printers in Ubuntu
- Why DSL isn’t always at its rated speed
- what a CO and a DSLAM is
- Win7 Starter Edition blue-screening on an Asus Aspire One
- the New Microsoft/Verizon KinONEm KinTWOm
- the disaster that was the Microsoft-Danger hiptop acquisition
- Microsoft’s announcement of Java as a “first class citizen” of their Azure cloud
- Microsoft’s “Embrace, Enhance, Extend, Extinguish” history
- Maybe they’ll call it IronJava? And, hey, where did IronPython go?
- Oracle and Java and licensing and FUD
- Oracle and MySQL and licensing and FUD
- A public library looking for a Linux-based solution to reserving PC use
- A great suggestion to consider Gnome Nanny
- generating PDF Forms out of a LAMP app using pdftk
- OpenOffice.org and LibreOffice
- Generating PDF fill-in forums out of OpenOffice.org, courtesy of Solveig Haugland
- the difference between “business class” and “consumer grade” machines
- Dell and HP, Linux support, HPLIP Open Source project
- printing to PDF in Ubuntu only worked when App Armor was removed
- the ease of hooking up a projector to Fedora 14 with the new video subsystem and Noveau drivers
- installing NetworkManager on Debian Lenny (there’s python in there!)
- a quick tour of NetworkManager on Fedora 14
- a demo of using Elementree to parse and modify an XML file used to manage installs of Atlassian Jira
- using BeautifulSoup to parse an HTML file and generate an INI file
- the Venus software for generating an RSS aggregator page
- hacking WSDLs for SOAP using suds
Those were the Qs. You needed to be there for the As. And the awesome gingerbread cookies and frosted cake.
Thanks to Janet for the desserts, to Bill for organizing the meeting, to the Amoskeag Business Incubator for the facilities, and to all who attended and participated. Look for the December meeting announcement with the date tentatively planned for the 16th.
Installing SQLiteMan on Fedora 14
I’ve been shopping for a GUI to work with SQLite and got a recommendation to try SQLiteMan. It’s not packaged for Fedora, but wasn’t too hard to install. Download the source tarball from http://sourceforge.net/projects/sqliteman/files/, and yum install these packages if you’re missing them: cmake-fedora, cmake-gui, qt-devel, qscintilla, qscintilla-devel. (I threw in SciTE, too, a favorite editor, but not required.) Review the README and license files and install is a piece of cake. I’ve run SQLiteMan and it seems to be working. More later…
Notes from CentraLUG, 4-Oct-2010: Patent Absurdity
Five people attended the October meeting of the Central NH Linux User Group, an affiliated chapter of the Greater New Hampshire Linux User Group. We met at the NHTI Library, Room 146.
We had an attendee with a tech support question we weren’t able to answer on the spot, but gave him some resources to pursue. He was plugging his camera into his Ubuntu machine, and he wanted to set the mount point to be a fixed mount point rather that something dynamically created by dbus. He made some changes, but wasn’t sure of exactly what he had changed, and the device no longer appears when he plugs it in. It does appear on other machines, Linux Mint and Windows, so the device is unlikely to be broken. No one present was sure where the settings might be stored for this. We suggested joining the gnhlug-discuss list as well as the support forums provided by Ubuntu Linux. I look forward to some of our experts helping our friend out.
I let folks know that I’ve reserved the room for November and December. After that, we’ll likely start meeting with the ManchLUG group, unless someone else wants to keep running meetings in Concord. We reviewed the GNHLUG wiki for upcoming meetings. Especially noted were the upcoming DLSLUG meeting “About Lisp -or- Lambda, the Ultimate Lecture, presented by Yoni Rabkin” and the New Hampshire High Tech Council‘s TechWorld 2010 conference ($25 – $210) coming up next Thursday and Friday. We discussed the idea that a nicer-looking forum software, like Drupal, would be nice to implement on the GNHLUG site, and talked about the past efforts to do that, and some of the challenged past projects have run into.
We mentioned that there’s a effort to create a community-driven site to support and distribute a new fork to OpenOffice.org named LibreOffice. Some of the other projects involved in the MySQL – Sun – Oracle mergers have been making interesting news as well.
Thanks to Dave Rose for providing the projector. We used a Live USB version of Fedora 14 beta which shipped last week and saw a pretty remarkable “It Just Works” effect: plugging in the running ThinkPad (a T61, 1680×1050, with an nVidia controller), the open source nouveau driver recognized the Sharp projector and automatically reconfigured the display (1400×1050) for side-by-side (“twinview”) layout with the internal screen. No xrandr, no rebooting of the machine! Wow. We brought up the Gnome display properties dialog and moved them around and finally settled on a mirrored display for the main presentation. This is a huge time saver and convenience for doing presentations!
Our main presentation was a viewing of the documentary, “Patent Absurdity, How software patents broke the system” and a discussion afterwards on what you can do (contact your Congress-person, contribute to organizations, etc.). Everyone learned something from the show, and perhaps from the discussion afterwards.
Thanks to all for attending to Dave for providing the projector, and to NHTI for providing the facilities!
Notes from ManchLUG, 28-Sept-2010, maddog, Project Cauã
Eighteen people attended the second ManchLUG (wiki, twitter) meeting, held at “Wings Your Way” on Elm Street in Manchester. Early attendees to the meeting enjoyed good food, beverages and camaraderie.
It’s never easy to summarize a maddog presentation :). Maddog had a lot of interesting materials to cover, and provided a lot of depth and background to his main thesis. Briefly, Project Cauã is based in Brazil as the center of its first pilot and rollout, but intends to be worldwide. There’s a strong ethos of openness and transparency in hopes the project will be duplicated elsewhere. It is an effort to distribute computing power and internet connectivity to as many people as possible as cheaply as possibly, but using the power of capitalism and business to drive the project, rather than some completely free charitable model that would be trying to fight the entrenched interests. There seemed to be an emphasis on sustainability, both for the project and the world, and the principles of Open Software.
The infrastructure would consist of very-low-power (10-12 watts) mini-machines, a small fanless thin-client box with USB3 and gigabit ethernet connectivity, wired into large servers centralized in neighborhoods or apartment building basements. The machines would be manufactured as greenly as possible and built for long term service (6-10 years). Small businesses would be established and trained (cheaply over the internet and/or with DVDs) to service the machines. The thin clients would rent/lease for a target price of $6/month. To avoid vendor lockin or obsolescence, the thin client design would be open, designed by the University of São Paulo and distributed/licensed freely to the many SMT (Surface Mount Technology) assembly facilities available within Brazil (import duties of 100% on finished goods, versus a 6% surcharge on raw components, means that in-country assembly is economically feasible, driving local employment). The project intends to use the network to provide free metro-wide Wifi. Some vendors have expressed an interest in providing free internet band width in exchange for idle CPU power. There’s lots more to the project of course: finding the proper motivations to financial institutions to provide the seed money the many small startups will need, certifying and bonding the local computer experts, designing and integrating the hardware, software, networking, etc., but maddog only had a little over an hour to present. More can be learned at http://www.projectcaua.org and maddog promised he’d be further updating the site soon.
Thanks to maddog for the presentation, to Kenta Koga and Chip Marshall for coordinating the meeting, to Wings Your Way for the facilities and good food, and to all for attending and participating!