Hot Topics:


Help with Python programming assignment

From: "Alex Smith (K4RNT)" 
I normally wouldn't ask for help like this, but I'm getting something
fundamentally wrong with my use of the regular expressions library in
Python 2.7. Please help!

My project is to develop a simple web scraper that retrieves the numbers
from an HTML, only the numbers, adds them together, and returns the result.

For some reason, my use of the and re.findall() commands are
producing runtime errors.

Any help would be much appreciated.

# import re

import urllib

from BeautifulSoup import *

> url =3D raw

Automating Updates

From: Nick Smith 
Hey Chugalugers!

Here is what im working with:
I have lots of SLES 11 and 12 machines and a couple Ubuntu and CentOs
machines and the "Other" OS I need to centrally manage and update.

I have to accomplish this with free tools, so tools like SUSE Manager and
SCCM are out of the question.

What I would like to have is a centralized place where i can kick off
updates across all my servers, I have SMT for SLES and WSUS for Windows, so
most of the updates are stored locally on the network and the servers are
configured to look at those servers for updates.

Im not a developer and dont play one on TV, so im hoping I can figure
something out without having to deep dive into Ruby or Python or whatever
Puppet and Chef are written with. One option ive found that looks promising
is SaltStack. Can this be accomplished with SaltStack? If so, is anyone
else doing this with good results? Configuration management would be nice,
but not the primary goal of this project. It would also be nice to get some
centralized reporting as to what servers havnt been updated or need to be
updated. TheForman looked interesting but it looked puppet heavy as well.
It doesnt look like Spacewalk (open source satellite) will do what i need,
or work with all the OS's i need it to.

Trying to automate the update process of all these servers and cut down on
the time needed for updates.

Not a huge environment, a little over 150 VMs, almost evenly split between
linux and windows.
What are you guys using to accomplish this?

Thanks for the suggestions.

Nick Smith
nick at nicksmith dot us

Stack Overflow Question

From: "Alex Smith (K4RNT)" 
How do I Parse a text file with regular expressions, in a loop?

=E2=80=8BI'm having some difficulty with a programming assignment, dealing =
regular expressions in Python. We are parsing a text file with numbers
randomly inserted into the file, sometimes with no numbers in one line,
sometimes one, sometimes two or even three.

I have the regular expression down, but I'm having difficulty dealing with
multiple numbers in one line. I am trying a for loop for the length of the
list that re.searchall() generates, but I'm having trouble there. Please
refer to the URL for my code and the errors I've been encountering. I'm
using ActivePython 2.7 for my assignment, since some of the programs I use
utilize ActivePython for their Python APIs.

I don't need help in figuring out how to do the assignment, I'm just
getting hung up on processing multiple numbers in a list.=E2=80=8B

STEM School Chattanooga robotics team

From: Phil Shapiro 
We should always be forging connections between robotics teams and LUG's. 

There's much to be gained on both sides. 


And I'd really like to see a dress code for robots in school. Steel, aluminum or plastic. 

We can't have robots dressing in whatever they want in schools. 

That's not a suitable role model for our children. (heh) 



Phil Shapiro, 

"Wisdom begins with wonder." - Socrates 
"Learning happens thru gentleness." 

OT maybe: advice wanted on particular Android phones.

From: rdflowers 

I have run into a $20 ZTE Whirl2 deal around here. I also got a $35  
for a Moto E and a month service included, if I use my existing #.

The ZTE runs Android 4.3 .

This Moto E runs Android 5.0 .

I would appreciate any insight and experience related to these phones,  
and especially regarding rooting them, and regarding developing apps  
for them ( especially if it can be done not-in-java, but even if it  
must be -- python 3 would be ideal ).

Can one or both be rooted/developed on -- without major risk of bricking them?

Also, and finally, what Android simulators do any of you fine folks like?

I ( because of $ ) don't have email access except at the library, but  
I get here every couple of days or so. Phone or text anytime would be  
great ( 423 653-9715 ), and would increase the appreciation points  
even further, and would be quicker. Either deal could go away soon,  
but especially the Moto E.

Search engining eats my limited access time very quickly, or I would  
do that more instead of asking.

Thanks for any help you can give me !
R. D. Flowers, Chattanooga, TN, USA

HTTP Server Architecture

From: Dan Lyke 
So I'm building a better irrigation controller, one that I can
manipulate with my smart phone.

An irrigation controller needs to do timing stuff, keep track of
state, so I need a daemon of some sort. And as soon as I get there, I
start to think "well, rather than having CGIs that talk to the daemon,
why don't I just make it serve HTTP".

And then I think: Rather than copying and pasting one of my older HTTP
servers, why don't I try to make something that's easy to re-purpose.

So I have a C++ object that owns the select loop. Attach servers to
ports, no problem. Server takes a lambda that returns the thing that
responds to that connection, still no problem.

Then we get to HTTP requests. Server creates a request object, sends
it header data. Once request is populated, we can decide what to
instantiate in response via some route (check the method, request
path, Host: header, probably types it accepts, create something that
responds to that request).

But there's potentially this other stuff coming in, from things like
HTTP POST or whatever.

I know there's the "spool everything to memory" (and, in the case of
Form-Multipart, to disk) model, things like Perl's do this.
NiodeJS does "everything is closures and callbacks" which can kinda
work, but...

Does anyone have a particularly favorite architecture for how to
handle the HTTP request/response lifecycle that I can look at? My
target language is C++, but part of the library I'm building in C++ is
the "simplify this so that I can start writing the crap I'd normally
write in Python or Perl and port later in a real language to begin
with" mode.



Bruce Perens : 50mhz -1000mhz SDR transceiver

From: Rod-Lists 

Chris Testa KD2BMH and I have been working for years on a software-defined transceiver that would be FCC-legal and could communicate using essentially any mode and protocol up to 1 MHz wide on frequencies between 50 and 1000 MHz. It's been discussed here before, most recently when Chris taught gate-array programming in Python. We are about to submit the third generation of the design for PCB fabrication, and hope that this version will be salable as a "developer board" and later as a packaged walkie-talkie, mobile, and base station. This radio is unique in that it uses your smartphone for the GUI, uses apps to provide communication modes, contains an on-board FLASH-based gate-array and a ucLinux system. We intend to go for FSF "Respects Your Freedom" certification for the device. My slide show contains 20 pages of schematics and is full of ham jargon ("HT" means "handi-talkie", an old Motorola product name and the hams word for "walkie talkie") but many non-hams should be able to parse it with some help from search engines. Bruce Perens K6BP

Fwd: Great UNIX Admin/Architect Opportunity in Atlanta, GA

From: David White 
I'm still waiting for my new iPad... Surely one of these times, someone on
Chugalug will get hired for a job I pass on to them, right?

---------- Forwarded message ----------
From: Chris Dececco 
Date: Fri, Sep 26, 2014 at 3:10 PM
Subject: Great UNIX Admin/Architect Opportunity in Atlanta, GA
To: DavidWhite 

Hi David!

I am a recruiter here at CyberCoders who specializes in placing UNIX
Admin/Architect candidates as well as similar positions in Atlanta, GA and
other locations nationwide.

I am emailing you in case you think you would be a great fit for the
position listed below.  Please check out the link and apply if you are
interested in hearing more about the job.  :)

Also - If you refer a friend I end up placing at any of my open jobs, I
will give you an iPad for the referral!

This position is for a UNIX Admin/Architect in Atlanta, GA.

*For more details on this job or to apply simply visit CyberCoders:*


*Not a fit for this job?  Search all of our open jobs:*


You can use the link below at any time if you would like us to hold off on
emails to you about new opportunities.

 Thank you,

Chris Dececco  | Lead Recruiter | CyberCoders
949.783.3626 | Follow Us: 

 | View My Bio and Open Jobs

Find of the Day: ArrestDB

From: Eric Wolf 
I was looking for an easier way to work with MySQL data and came across

One "index.php" and a little Apache configuring now I can query, insert and
delete using Python requests library instead of hassling with a MySQL
library. For that matter, I can use curl to manipulate the data as well!


Eric B. Wolf                           720-334-7734

Pillow (PIL) vs PythonMagick

From: "Robert A. Kelly III" 
Pillow (PIL) vs PythonMagick: Pros and cons? Comparisons? Random thoughts?

Python: Project Manager with solid System Architect resources....

From: Mike Harrison 

Been diving into the =93I need a python guru=94 a little more=85 This got b=
etter described as:

"Project Manager with solid System Architect resources and business sense w=
ould be ideal=94

and options include this being a project for an upper end job shop..
It could be a job at this company, but they they are very interested in con=
tracting out the entire technical side of this project. =

About all I can tell you publicly is that I=92ve known the guy asking the q=
uestion for 20+ years and it=92s real business.

Anyone know anyone (person or company) that is local-ish that fits that des=
cription that is Python competent in the real world?

If so: contact me. 423 605 6943 or email.

Any business-savvy Python Guru's?

From: Mike Harrison 

I=92ve got a long time friend asking quietly for a =93business savvy =
python guru=94,=20
and I know him well enough to know it=92s serious real world stuff =

Anyone interested? I=92ll make an introduction=85

Atlanta linux/unix admin

From: Matt Keys 
The details are below.


From: Kathy Dean
Sent: Wednesday, February 12, 2014 1:51 PM
To: Matt Keys
Subject: Unix / Linux Administrator - On Call - No Travel Atlanta Growth!

Hi Matt,

I have a client that would like to interview you for a role that they =

need filled. Great benefits and growth opportunity! They are seeking =

people who want to grow into management. They are also looking for a =

culture fit - very team oriented. This is the detailed Job description. =

Preference is someone with exp. with Nagios. This firm is building a SOX =

IT Hub for themselves in Atlanta and the opportunity for growth is =


Qualifications: =95 Previous experience as Linux/Unix administrator preferr=
=95 Experience supporting IMAP/POP/SMTP email a must
=95 Must be able to compile/install/configure server software (apache, =

openldap, php, etc)
=95 Strong knowledge in setup and deployment of database
=95 Experience in managing large database sizes a plus (MySQL, PostgreSQL, =

=95 Strong knowledge in optimization and interrogation of databases
=95 Experience in data integration and database design
=95 Experience with monitoring logs to identify problems
=95 Deeply familiar with networking including installation/configuration =

of routers, switches, firewalls, desktops
=95 Powerful Linux Shell Skills (use grep, sed, awk, find, etc)
=95 Skilled with scripting languages such as PHP, Ruby, Python
=95 Comfort with HTTP service architecture, optimization a big plus
=95 Server scripting tools including perl/bash/sh/tcsh/csh or some =

combination required
=95 Knowledge of DNS, preferably BIND
=95 Experience with Phone Systems such as Asterisk and Hylafax Servers =



Packt computer programming ebooks for $5 (Christmas special)

From: Phil Shapiro 

This is a lovely holiday surprise for geeks. 

Scratch 1.4 Beginner's Guidebook - $5 ebook offer. Reviewed at

Linux tablet suggestions

From: Unkmar 
I'm asking Santa for a tablet for Christmas.  I know he will lighten my
wallet in exchange.
I've looked at the PengPod.
It fits a tight budget for someone that wants to get started with a Linux
tablet.  I want so more: RAM, SSD, A docking keyboard and touchpad.  The
1040 does look reasonable. I like the dual Cameras. And currently their
store is down.

There is the Python S3.
I'm not a Windows fan, yet the triple boot does appeal to me. I like the
docking station. USB, Wired NIC, keyboard, touchpad.

The other suggestion has been a Surface Pro and install Linux. It appears
that will leave Android out of the equation.  I guess I could live with
that.  I haven't checked the specs on them yet.

Any others want to weigh in on some Linux Tablets of today?

Lucius L. Hilley III - unkmar

Updates usually okay. Never upgrade.

From: Unkmar 
  Install: Python modules, perl modules, C libraries
  Resolve: C libraries.

Upgrades don't work!  Never ever ever ever upgrade.
  At least one thing breaks and it is usually a core issue that breaks many
other things.
Update? sure, why not.  Rare problems do sometimes occur.

I'm going to rebuild.  Fresh install and transfer my data back over.

Lucius L. Hilley III

Flame On

From: AverageSecurityGuy 
Just saw this on Twitter and had to share.

 Bash one-liner to do anything=85 "python do

Software Engineer openings in NYC (revised)

From: Dee Holtsclaw 
Bloomberg is looking to expand the programming staff in SSEOMS and STEP
here in New York.

The full job posting information is available at:

I started as a contractor in September 2012 and accepted a full-time
position several months ago. Besides C++, we use SQL, a lot of
Javascript for UI and a smattering of Python, Perl and shell scripts.
The benefits are incredible and employees are treated VERY well. The
downside is you have to live in NYC. Please feel free to drop me a line
off-list for more information or just to shoot-the-shit.