Charlie Farinella posts the announcement that Patrick Galbraith will speak on MySQL replication at the MonadLUG meeting on Thursday night. This is a must-see meeting for anyone interested in working with MySQL in production applications where replication is essential for backup, standby or failover situations.
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.
Notes from PySIG, 25-Sept-2008: What’s New in Python 2.6
Fourteen people attended the September meeting of the Python Special Interest Group of the Greater New Hampshire Linux User Group, held as usual on the fourth Thursday of the month at the Amoskeag Business Incubator in Manchester, NH, 7 PM – 9 PM.
Our presenter of the evening had to postpone, due to family obligations, so we had a general night of discussion. It was vigorous and interesting. I was a tad late to the meeting, so I missed Ray Côté’s description of a gotcha using Python. It pays to show up early to the meetings! Bill Sconce brought along a two page agenda and list of topics, focused on new features in Python 2.6. This lead to a lot of discussions, clarifying what can be done in earlier Python versions and how the new version works, including many times when we dropped to the shell and started python to test out our assumptions.
Janet provided yummy cookies, as always — thanks, Janet! And Ben was harassed in absentia. Thanks to Bill for arranging, announcing and herding cats to run the meeting, the Amoskeag Business Incubator for their great facilities, Janet for the cookies, and all for attending and participating.
Do you really want to install software from a psycho?
Well, like you can really tell. I hear some of the current software vendors throw chairs around in tantrums.
But I’ve been struggling to get VMWare 1.07 to work with my Fedora 8 installation on my main development laptop. A kernel update, sorely need to address some outstanding security issues, required that the proprietary kernel modules for VMWare be regenerated and installed as well, and I was running into a glitch that all the Googling in the world didn’t seem to yield an answer to.
Finally, I found a clue on the Fedora support forums, suggesting I download the latest patch to the VMWare source from http://www.it-psycho.de/2008/07/27/vmware-server-106-mit-kernel-2626/ and sure enough, I’m up and running again.
Ruby/Rails SIG tonight: tripleheader!
Scott Garman posts a reminder message that tonight’s Ruby/Rails SIG meeting will be a special meeting: three presenters on three topics, and some awesome door prizes: Brian Turnbull on HTTP, Scott Garman on VPS, and Nick Plante on git. There will also be discounts for Linode, a raffle for free admission to the Voices that Matter Ruby 2008 conference in Boston, and perhaps Nick will even bring copies of his new book (with David Berube), Practical Rails Plugins. A meeting not to be missed!
Using the Bourne Again Shell Effectively
Thom Holwardy points out three blog postings with some great tips on Using the Bourne Again Shell Effectively using the vi or emacs-style editing. [a late, lost post from Friday the 13th – ooo!]
EBM better than ABM!
I was listening the FLOSS weekly podcast of Perl monger extrodinaire Randal Schwartz interviewing Jan Lehnardt about CouchDB, a free-form, non-relational database. CouchDB is built by Damien Katz, one of the originators of Notes and a developer currently employed by IBM. The CouchDB project is hosted by the Apache Foundation. Jan mentioned that his projects include “Everything But Microsoft” meaning that his software was running on Linux and BSD, Debian and RedHat and Ubuntu and CentOS and the Unixes and OS X. I found that a much more inclusive and open way of looking at development than “Anything But Microsoft” that’s often portrayed as a irrational and zealous rejection of anything Microsoft. For those who like to put a positive spin on things, I think that EBM beats ABM by a long shot.
Listening to… August 2008
Kent Beck spoke at O’Reilly Media’s RailConf on Test Driven Development, Patterns and Extreme Programming and I got to listen while working out last week. A long trip to a client gave me an excuse to listen to last week’s Technometria interview on Sxipper, and catching up with some 2006 archival Twit.tv FLOSS recordings featuring PHP’s originator Rasmus Lerdof and a second one with Jeremy Allison on Samba.
Notes from MonadLUG: David Berube, Ruby on Rails
Eleven members attended the August 14th meeting of the MonadLUG, Monadnock Linux User Group, held as usual on the second Thursday of the month at the SAU1 offices in Peterborough. David Berube was the main presenter.
We had the usual announcements (check upcoming events at http://www.gnhlug.org) and also some time for Q&A while waiting for the main speaker and had the ceremonial struggling with the laptop and the projector. One fellow was looking for help understanding how to install drivers for a scanner not supported by SANE, another had questions on what the keyring was and how he could get it to stop demanding a password from him.
David’s been a fixture in the groups for some years. He served as Fearless Leader of GNHLUG for several years, and took a stint as coordinator of the CentraLUG group. He has written a number of magazine articles and authored or co-authored several books, the most recent, Practical Ruby Plugins, due out later this month.
David gave us a brief history of web development, focusing on the incremental improvements made from scripts to cgi-bin to modules to long-running processes in terms of responsiveness, latency and the ability to scale to larger and quicker demands. He briefly compared Ruby with Perl, Python and Lisp, and then dove into the demo.
David had an Ubuntu laptop that he hadn’t previously done Ruby on Rails development on before, so he showed us the basics of installing Ruby, using Ubuntu’s package manager, and cautioned us against using the OS package manager to install gems: The gem system is a package manager in its own right, and it does things in a somewhat different way than most of the OS package manager tools. Instead, he recommended using ruby to install gems. As is often the case, there were some glitches, so we had a small distraction while we worked through creating the /usr/bin links for rake and rails that somehow hadn’t been created automatically.
David then created a new project, and walked us through the directory structure and the significance of files in each folder. He created a model that defined the wiki example we were creating, a controller to answer requests from the web server, and a view that would render the response from our application. He used the built-in rails and rake scripts to create the example database (SQLite3 is built in and used by default if nothing is specified, new in RoR 2.1), showed how the rails console could be used interactively to create model objects (implicitly saving them to disk) and that the console could be used to add, edit, query and delete objects. He then ran the application, after explaining the logic of URLs constructed in a “RESTful” fashion as http://yourwebserver/controller/action/parameter addresses. David started the built-in Webrick webserver and navigated his browser to http://localhost:3000/page/show/bob to show us Bob’s wiki page entry. Whew!
There was some good Q&A during and following the presentation.
I asked some questions on how a team of developers could insure that they were maintaining the same versions of gems when developing, as the gems are usually installed globally and are not in the main application source code tree. David suggested either creating a local team gem repository, or hardcoding the exact versions you want to freeze the target application at, directly within the code.
Charlie had some questions on how to keep up. While he’d read through the “PickAx” book and the “Skateboard” book, those are already a version out of date. David booted up Pidgin and we chatted with a couple of his fellow authors on what they recommended. Here’s a few links I noted from the meeting:
- PickAx: http://www.pragprog.com/titles/ruby3/programming-ruby-3
- SkateBoard (aka AWDWR):http://www.pragprog.com/titles/rails2/agile-web-development-with-rails
- Beginning Ruby by Peter Cooper (full disclosure: a fellow author and mentor of David’s from Apress): http://www.apress.com/9781430223634 [edit: updated URL]
- Installable versions of Ruby (to get the latest): http://www.ruby-lang.org/en/
- David’s recent Ruby books: http://apress.com/book/search?searchterm=berube&act=search&submit.x=0&submit.y=0
- http://rubyonrails.org has some good screencasts and documents
David also mentioned he was running Gnome-Do, a QuickSilver-clone that lets you launch applications or perform functions with a keyboard shortcut and your keywords. And David also showed off the Vimperator, a Vim-like interface for the FireFox browser. David noted you might find some troubles with Javascript-intensive pages:
Thanks to Charlie Farinella for organizing and running the meeting, to Ken and the SAU for providing the fine facilities, to David for an informative presentation and to all for attending and participating!
Listening to… Rich Miner, Google
At eComm 2008, Rich Miner presented a talk on “Openness and the Future of Mobile.” Rich works at Google and had a part in the Android project, but the talk is more general overview than product advertisement.
You can listen to the presentation here: http://itc.conversationsnetwork.org/shows/detail3679.html and view the slides on this site: http://www.slideshare.net/eComm2008/rich-miners-presentation-at-ecomm-2008/
Tonight: DLSLUG, James Fogg, Administrator-In-A-Box
Co-ordinator Bill McGonigle announces that James Fogg will be presenting “Administrator In A Box,” a discussion on how to automate administration for large collections of machines in an enterprise, data center or server farm.