[Boston.pm] Keyboards

2004-08-04 Thread Glen Peterson
Last night there was brief moaning by people who wanted keybards without the 
Windows(tm) keys.  IBM sells two USB keyboards that meet all my requirements.  Ctrl 
and Alt are right next to the space bar.  That little key on the left is a function 
key.  The travel keyboard is the same as the one on my T30 laptop which I love.

The nubs on the F and J keys wore off, but it was easy enough to make new ones out of 
bits of plastic and glue them on with Krazy Glue.  My biggest complaint is the back 
and next buttons next to the arrow keys.  I've trained myself not to touch them but 
I still hit them by accident once in a while.  If I owned my laptop I would just pop 
them off with a screwdriver and they would never be a problem.  I quickly turned off 
the touch pad and buttons since that's right where I rest my thumbs.

http://www-132.ibm.com/webapp/wcs/stores/servlet/ProductDisplay?catalogId=-840langId=-1partNumber=31P8950storeId=1

http://www-132.ibm.com/webapp/wcs/stores/servlet/ProductDisplay?catalogId=-840langId=-1partNumber=31P9490storeId=1

I haven't bought one yet, so if any of you know of something better, let me know.
---
Glen Peterson
Senior Software Engineer, Web Consultant
South Hamilton, MA USA





___
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm


Re: [Boston.pm] FW: GBC/ACM Announcements

2004-06-12 Thread Glen Peterson
I was at the business meeting last year, such as it was.  It didn't take
15 minutes, more like 3 minutes.  They just voted by show of hands at
the start of the lecture.  As I remember, last year all the incumbents
were re-elected - they had no-one running against them.  It seemed as
though that had been the case every year.

I think all the GBC/ACM lectures are open to the public and most of them
are great.  Plus, you can go out for dinner (usually Thai) with the
speaker and a bunch of geeks afterward which can be as much fun as the
lecture.

On Sat, 2004-06-12 at 08:33, Bill Ricker N1VUX wrote:
 I have to agree with Ron again, that's twice this year, wow.
 
 Ron Newman wrote:
  GBC/ACM meetings are always open to the public.
 
 Yes, GBC/ACM meetings are very open, that's one of their recruiting
 techniques; hold good meetings, let the public in, sell memberships at the
 exits. ;-)
 
 Good group too. Obviously, if you want to vote in the annual election, you'll
 have to pay your $10 annual dues, but I'm sure the treasurer would be happy to
 oblige. And since Big ACM membership is NOT required (except for officers),
 quite cheap (but not free).  They put on a nice series of Saturday seminars as
 well as these monthly meetings.
 
http://www.gbcacm.org/website/
 
 Disclosure -- I'm a member and volunteer emeritus; my brother in law is
 Past-President until after the election.
 
 bill
 ___
 Boston-pm mailing list
 [EMAIL PROTECTED]
 http://mail.pm.org/mailman/listinfo/boston-pm
 

___
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm


Re: [Boston.pm] Need a regex :-)

2004-05-18 Thread Glen Peterson
I don't think this is what you want, and I'm not sure you would want to do what you 
want if you could do it.

Assuming that OH will always be the same length, you can use a look-behind regex 
like:

CODE

#!/usr/bin/perl -w
use strict;
my $str = OH: If I was an Osc:ar Mayer Wiener, tha:t is what I:d Truly like to b:e;

$str =~ s/(?!^.{2}):/\\:/g;
print $str;

DOCS

(?!pattern)
A zero-width negative look-behind assertion. For example /(?!bar)foo/ matches any 
occurrence of foo that does not follow bar. Works only for fixed-width look-behind.

REGEX BREAKDOWN
===
s/   substitute by matching:
  (?!   make sure whatever we match isn't preceeded by
^start of line
.{2} any two non-newline characters
  )
:given the above, try to match a colon
/\\:/replace with \:
g;   globally (repeat through string)

I have no idea about efficiency with this.  But if you do find a regex to match a 
variable length look-behind it probably won't be as efficient as doing it in two 
lines.

Another way of thinking of this might be that you are matching delimited text with a 
substitution, where the delimiters are ^[^:]+: and $.

Send us a few more examples, the problem may be even simpler.  I'm still thinking, but 
I've got to go.

 Steven W. Orr [EMAIL PROTECTED] wrote:

 I have a string with (possibly) multiple colons in it,
 
 OH: If I was an Osc:ar Mayer Wiener, tha:t is what I:d Truly like to b:e
 
 I am looking for a single regex to turn all subsequent colons into \:
 
 So given the above input I'd like to end up with
 
 OH: If I was an Osc\:ar Mayer Wiener, tha\:t is what I\:d Truly like to b\:e
 
 I can do it in two lines but I'd like to see if it can be done with just 
 one krafty regex.

---
Glen Peterson
Senior Software Engineer, Web Consultant
South Hamilton, MA USA




___
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm