Meeting Sunday Feb 27

45 views
Skip to first unread message

Jack Deslippe

unread,
Feb 26, 2011, 1:49:18 AM2/26/11
to BerkeleyLUG
Hi All,

There will be a regular 4th Sunday of the month meeting this Sunday at 12pm at Bobby G's.  Unfortunately, I won't be able to make this meeting, as I am in LA at SCALE.  There should still be a lively meeting; so feel free to come by and talk some Linux.  

See you all in 2 weeks,

Jack

Michael Paoli

unread,
Feb 27, 2011, 12:20:06 PM2/27/11
to berke...@googlegroups.com
I plan to bring some Debian CDs:

Debian GNU/Linux 6.0.0 "Squeeze" CDs.
That's the latest "stable"(/production) Debian release,
Debian 6.0 "Squeeze" released 2011-02-06

The CDs I have are i386 and amd64:
Debian GNU/Linux 6.0.0 "Squeeze" - Official i386 CD Binary-1
Debian GNU/Linux 6.0.0 "Squeeze" - Official amd64 CD Binary-1

http://www.debian.org/News/2011/20110205a
http://www.berkeleylug.com/

Oh, ... Jack - I've still got business card holder and some CDs from
the meeting before last - I missed last meeting - guess I'll get 'em
back to you at first meeting in March.

Michael Paoli

unread,
Mar 12, 2011, 12:17:45 PM3/12/11
to Jack Deslippe, BerkeleyLUG
So, ... got meeting updates? :-)
http://www.berkeleylug.com/?page_id=67

BUUG updates theirs by crontab job and perl script,
BALUG by hand - but also puts the dates on the web page well into the
future.

> From: "Jack Deslippe" <jde...@gmail.com>
> Subject: Meeting Sunday Feb 27
> Date: Fri, 25 Feb 2011 22:49:18 -0800

Michael Paoli

unread,
Mar 26, 2011, 2:18:20 AM3/26/11
to Berkeley Linux Users Group
I intend to bring some CDs to the
2011-03-27 Berkeley Linux Users Group meeting.
Currently the selection looks about like:
http://www.wiki.balug.org/wiki/doku.php?id=balug:cds_and_images_etc

Ilsa Bartlett

unread,
Mar 26, 2011, 3:29:21 PM3/26/11
to berke...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I wonder if any of you guys have a lap top to donate to a senior citizen
whose Life would be really transformed by such a gift. At this time Joan
goes to this and that friends to have email and the most marginal things
including ordering on netflicks. There are a few people in my building
who live on a below the poverty level fixed income whose world would
expand and explode with a lap top or computer. My heightened interest
in serving this group happened when I set up internet provider ATT for a
friend who is 85 and new to the internet. Now almost 2 years later she
has expanded her use and interests which exercises her brain and
supports her over all health both mental and physical. I have heard that
the 'grandmother' generation is taking off in internet use. I wonder if
we as a LUG group can help those who are unable to purchase their own
hardware.
My life has been expanded since I joined this LUG. I really delight in
being a beginner in Linux.
With respect and gratitude, ilsa
510-423-3132
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNjj6QAAoJEN4iGOvz2ofLiJsH/0sNxkMYGxiVRErYaRk59f9C
4QO5OBoia8Tr0BKDZNIiu+Vw2eutLfMope8NNuOZV46gMdy2bxsxiam/gUpQbgNZ
OwTEUhDN5wVHLqoyCayaQ4dWe3SkKnQpTfdMpTw+vyMbXp8w1CGbHMqGP691YV8l
ftJed/jnVOTfihu0lmPoTUUccsfaIqg9++Rjx2pOOdcZ6rbVP4u0M30Ceqwu0f2i
f9KCKcDM6Gs13w6RYRCEZyWjTORlAcRPjiKmI6Z7fA8xbLaBfkcGy1px9rE/p+cY
7s5Ls5sVHl3DmWEHLymbXpqxxUXlRwhP5TfFBaBPiFezbtOI5qQyVHf7Ub7IlcE=
=pmWc
-----END PGP SIGNATURE-----

Michael Paoli

unread,
Apr 21, 2011, 2:24:04 AM4/21/11
to Berkeley Linux Users Group, Jack Deslippe
> From: "Jack Deslippe" <jde...@gmail.com>
> Subject: Re: Got meeting update(s)? - 2011-03-13? :-)
> Date: Sun, 3 Apr 2011 11:44:44 -0700

> That's great. Now I need to find some sort of wordpress-cli tool.

Hmmmm, perhaps someone on the list knows about such tool or interface.

Also, with Date::Calc the code gets quite a bit simpler and smaller.
This version doesn't do the time calculation bits (that could be
added), but is otherwise quite a bit more simple and compact:
$ ./upcoming_meetings | head -n 6
2011-04-24
2011-05-08
2011-05-22
2011-06-12
2011-06-26
2011-07-10
$ expand -t 4 < upcoming_meetings
#!/usr/bin/perl
$^W=1;
use strict;

# vi(1) :se tabstop=4

# 2nd and 4th Sundays of the month from today going forward,
# ISO YYYY-MM-DD output, YYYY not to exceed 9999

use Date::Calc qw(
Today
Nth_Weekday_of_Month_Year
)
;

my ($year,$month,$day) = Today();

my $day2=(Nth_Weekday_of_Month_Year($year,$month,7,2))[2];
printf(
"%04d-%02d-%02d\n",
($year,$month,$day2)
) if $day2 >= $day;
$day2=(Nth_Weekday_of_Month_Year($year,$month,7,4))[2];
printf(
"%04d-%02d-%02d\n",
($year,$month,$day2)
) if $day2 >= $day;
undef $day2;

while(1){
++$month;
if($month>12){
$month=1;
exit(0) if ++$year > 9999;
};
printf(
"%04d-%02d-%02d\n",
(Nth_Weekday_of_Month_Year($year,$month,7,2))
);
printf(
"%04d-%02d-%02d\n",
(Nth_Weekday_of_Month_Year($year,$month,7,4))
);
};
$

> On Sun, Apr 3, 2011 at 11:37 AM, Michael Paoli <
> Michae...@cal.berkeley.edu> wrote:
>
>> Hmmm, since at 3:00:00 P.M. on meeting dates, the program considers the
>> meeting not yet concluded, should add a second of sleep(1) on that
>> crontab job (in case that wasn't obvious ;-)):
>> 0 15 * * 0 sleep 1; ...
>> ... then the program would be updating the future meeting dates about one
>> second after the conclusion of most recent prior meeting's scheduled end
>> time. :-)
>>
>> From: "Michael Paoli" <Michae...@cal.berkeley.edu>
>>>
>>> Subject: Re: Got meeting update(s)? - 2011-03-13? :-)
>>> Date: Sat, 02 Apr 2011 23:02:38 -0700
>>>
>>
>> Let's see ... next meeting dates ...
>>> http://www.berkeleylug.com/?page_id=67
>>> March? What year?
>>>
>>> Hmmmmm...
>>> crontab(1) ...
>>> 0 15 * * 0 ...
>>> $ ./upcoming_meetings
>>> 2011-04-10
>>> 2011-04-24
>>> 2011-05-08
>>> 2011-05-22
>>> 2011-06-12
>>> 2011-06-26
>>> $ expand -t 4 < upcoming_meetings
>>> #!/usr/bin/perl
>>> $^W=1;
>>> use strict;
>>>
>>> # vi(1) :se tabstop=4
>>>
>>> # Determine upcoming* regular meeting dates for
>>> # Berkeley Linux Users Group http://www.berkeleylug.com/
>>> # regular meetings are 2nd and 4th Sunday of the month,
>>> # noon to 3:00 P.M.
>>> # *strictly speaking, non-completed (so meetings in progress will still
>>> # show, until they're past).
>>>
>>> my $meetings=6; # determine this number of non-completed meetings
>>>
>>> use Time::Local qw(timelocal);
>>>
>>> my $time=time;
>>> my ($sec,$min,$hour,$mday,$mon,$year,$wday)=(localtime($time))[0..6];
>>>
>>> if (
>>> # are we after 3 P.M.?
>>> $hour > 15 ||
>>> $hour == 15 && ($min > 0 || $sec > 0)
>>> )
>>> {
>>> # after 3:00:00 P.M.
>>>
>>> # pick rather early time in day, but not too close to midnight,
>>> # as we later want to add integral multiples of 24 hours and cross
>>> # exactly one day boundary for each 24 hours.
>>> ($sec,$min,$hour)=(0,0,6);
>>>
>>> # now add a day
>>> $time = timelocal($sec,$min,$hour,$mday,$mon,$year) + 24 * 60 * 60;
>>> }else{
>>> # <= 3:00:00 P.M.
>>>
>>> # pick rather early time in day, but not too close to midnight,
>>> # as we later want to add integral multiples of 24 hours and cross
>>> # exactly one day boundary for each 24 hours.
>>> ($sec,$min,$hour)=(0,0,6);
>>>
>>> # determine our new $time
>>> $time = timelocal($sec,$min,$hour,$mday,$mon,$year);
>>> };
>>>
>>> ($sec,$min,$hour,$mday,$mon,$year,$wday)=(localtime($time))[0..6];
>>>
>>> # Sunday align our time
>>> if($wday){
>>> $time+=(7-$wday)*24*60*60;
>>> ($sec,$min,$hour,$mday,$mon,$year,$wday)=(localtime($time))[0..6];
>>> };
>>>
>>> sub prdate{
>>> printf("%4d-%02d-%02d\n",$_[0]+1900,$_[1]+1,$_[2]);
>>> };
>>>
>>> my $found=0;
>>> while(1){
>>> # 2nd or 4th Sunday?
>>> if(
>>> $mday>=8 && $mday <=28 &&
>>> ($mday<=14 || $mday >=22)
>>> ){
>>> # meeting date
>>> &prdate($year,$mon,$mday);
>>> if(++$found>=$meetings){
>>> exit 0;
>>> };
>>> # try again in two weeks;
>>> $time+=14*24*60*60;
>>> ($sec,$min,$hour,$mday,$mon,$year,$wday)=(localtime($time))[0..6];
>>> }else{
>>> # try again in a week;
>>> $time+=7*24*60*60;
>>> ($sec,$min,$hour,$mday,$mon,$year,$wday)=(localtime($time))[0..6];
>>> };
>>> };
>>> $
>>>
>>> From: "Jack Deslippe" <jde...@gmail.com>
>>>> Subject: Re: Got meeting update(s)? - 2011-03-13? :-)
>>>> Date: Sat, 12 Mar 2011 17:44:30 -0800
>>>>
>>>
>>> Thanks for reminder, I should set something up to automatically change
>>>> the
>>>> dates...
>>>>
>>>> Jack
>>>> On Mar 12, 2011 9:17 AM, "Michael Paoli" <Michae...@cal.berkeley.edu

Michael Paoli

unread,
Nov 22, 2015, 4:32:08 PM11/22/15
to BerkeleyLUG
Perl, shell, ... bit of updates ...
I figure this covers some upcoming meeting dates, ... oh, and that we'll skip 2016-12-25, as it conflicts with some big holiday thing, and Bobby G's Pizzeria will probably be closed that day anyway).

$ echo $({ upcoming_meetings 2nd Sun | sed -ne '/^2017/q;p'
> upcoming_meetings 4th Sun | sed -ne '/-12-25$/d;/^2017/q;p'; } |
> sort) | fold -s -w 72
2015-11-22 2015-12-13 2015-12-27 2016-01-10 2016-01-24 2016-02-14 
2016-02-28 2016-03-13 2016-03-27 2016-04-10 2016-04-24 2016-05-08 
2016-05-22 2016-06-12 2016-06-26 2016-07-10 2016-07-24 2016-08-14 
2016-08-28 2016-09-11 2016-09-25 2016-10-09 2016-10-23 2016-11-13 
2016-11-27 2016-12-11
$ expand -t 4 < ~/bin/upcoming_meetings
#!/usr/bin/perl
$^W=1;
use strict;

# vi(1) :se tabstop=4

use Date::Calc qw(
        Today
        Nth_Weekday_of_Month_Year
    )
;

sub usage{
    die("usage: $0: {1st,2nd,3rd,[45]th,last} {Sun,Mon,Tues,Wednes,Thurs,Fri,Satur}day\n");
};

if($#ARGV<1){
    &usage;
};

$_=$ARGV[0];
my $n;
if(/^1(?:st)?$/io){     $n=1;
}elsif(/^2(?:nd)?$/io){ $n=2;
}elsif(/^3(?:rd)?$/io){ $n=3;
}elsif(/^4(?:th)?$/io){ $n=4;
}elsif(/^5(?:th)?$/io){ $n=5;
}elsif(/^last$/io){     $n='l';
}else{
    &usage;
};

$_=$ARGV[1];
my $dow;
if(/^Su(?:n(?:days?)?)?$/io){           $dow=7;
}elsif(/^M(?:on(?:days?)?)?$/io){       $dow=1;
}elsif(/^Tu(?:esdays?)?$/io){           $dow=2;
}elsif(/^W(?:ed(?:nesdays?)?)?$/io){    $dow=3;
}elsif(/^Th(?:ursdays?)?$/io){      $dow=4;
}elsif(/^F(?:ri(?:days?)?)?$/io){       $dow=5;
}elsif(/^Sa(?:t(?:urdays?)?)?$/io){ $dow=6;
}else{
    &usage;
};

my ($year,$month,$day) = Today();

if($n ne 'l'){
    my $day2=(Nth_Weekday_of_Month_Year($year,$month,$dow,$n))[2];
    printf(
            "%04d-%02d-%02d\n",
            ($year,$month,$day2)
        ) if defined($day2) && $day2 >= $day;
    undef $day2;

    while(1){
        ++$month;
        if($month>12){
            $month=1;
            exit(0) if ++$year > 9999;
        };
        $day=(Nth_Weekday_of_Month_Year($year,$month,$dow,$n))[2];
        printf("%04d-%02d-%02d\n",$year,$month,$day) if defined($day);
    };
}else{
    my $day2=(Nth_Weekday_of_Month_Year($year,$month,$dow,5))[2];
    $day2=(Nth_Weekday_of_Month_Year($year,$month,$dow,4))[2]
        if !defined($day2);
    printf(
            "%04d-%02d-%02d\n",
            ($year,$month,$day2)
        ) if $day2 >= $day;
    undef $day2;

    while(1){
        ++$month;
        if($month>12){
            $month=1;
            exit(0) if ++$year > 9999;
        };
        $day=(Nth_Weekday_of_Month_Year($year,$month,$dow,5))[2];
        $day=(Nth_Weekday_of_Month_Year($year,$month,$dow,4))[2]
            if !defined($day);
        printf("%04d-%02d-%02d\n",$year,$month,$day);
    };
};

Rick Moen

unread,
Nov 22, 2015, 11:07:14 PM11/22/15
to BerkeleyLUG
Quoting Michael Paoli (Michae...@cal.berkeley.edu):

> Perl, shell, ... bit of updates ...
> I figure this covers some upcoming meeting dates, ... oh, and that we'll
> skip 2016-12-25, as it conflicts with some big holiday thing

Festivus for Procrastinators!

> Pizzeria will probably be closed that day anyway).
>
> $ echo $({ upcoming_meetings 2nd Sun | sed -ne '/^2017/q;p'
> > upcoming_meetings 4th Sun | sed -ne '/-12-25$/d;/^2017/q;p'; } |
> > sort) | fold -s -w 72
> 2015-11-22 2015-12-13 2015-12-27 2016-01-10 2016-01-24 2016-02-14
> 2016-02-28 2016-03-13 2016-03-27 2016-04-10 2016-04-24 2016-05-08
> 2016-05-22 2016-06-12 2016-06-26 2016-07-10 2016-07-24 2016-08-14
> 2016-08-28 2016-09-11 2016-09-25 2016-10-09 2016-10-23 2016-11-13
> 2016-11-27 2016-12-11

You might want to cross-check those against
http://linuxmafia.com/bale/holidays.html , to spot any other conflicts
that you choose to care about.

2016-02-14 Valentine's Day
2016-03-13 DST begins (2nd Sun Mar) -- not a holiday but worth noting
2016-03-27 Easter Sunday (western Christians)
2016-06-12 Shavuot first evening
2016-09-11 Eid al Adha
2016-10-09 Leif Ericson Day (though he was a late-comer, too)
2016-10-23 Sukkot, last day (you can take down those booths)
2016-11-13 Sadie Hawkins Day
2016-11-27 Advent (not juse a text adventure game, to some folks)

Nota bene: Distinguing the events cited above with serious intent from
those with extremely unserious intent is left as an exercise for the reader.

Nota bene, quoque: Religious authenticity of holidays on lunar
calendars not guaranteed, but then you wouldn't be heeding me, anyway.

--
Cheers, (morganj): 0 is false and 1 is true, correct?
Rick Moen (alec_eso): 1, morganj
ri...@linuxmafia.com (morganj): bastard.
McQ! (4x80) -- seen on IRC
Reply all
Reply to author
Forward
0 new messages