From rkleeman at energoncube.net Mon Oct 12 14:31:26 2020 From: rkleeman at energoncube.net (Bob Kleemann) Date: Mon, 12 Oct 2020 14:31:26 -0700 Subject: [San-Diego-pm] Perl Mongers Meeting Tuesday, October 13th Message-ID: Hello Perl Mongers, This is a quick reminder that the quarterly San Diego Perl Mongers meeting will be occurring on Tuesday evening, starting at our normal time of 7 PM. As has been for the last several meetings, we're going to meet online, as in-person meetings are discouraged, and online meetings seem to be a bit more popular. Here's the Meeting ID: 851 5455 5818 Here's the Zoom link: https://us02web.zoom.us/j/85154555818 The passcode can be acquired by running the short Perl program: sub sum { $a = shift(); $a += shift() while @_; return $a; } @n = ( 3 ); END{ print @n, "\n"; } push @n, sum( $n[0], 0+ at n ); push @n, sum( $n[0], $n[-1] ) for @n[0,1]; push @n, sum( @n ) / $n[0]; We'll start the conversation by checking in with everyone, and seeing if there are any questions. Following that, I'm trying to work up a short presentation. Otherwise, it looks to be a mostly social meeting. We're looking forward to an enjoyable evening with you all! Bob -------------- next part -------------- An HTML attachment was scrubbed... URL: From Keith.S.Thompson at gmail.com Tue Oct 13 20:28:02 2020 From: Keith.S.Thompson at gmail.com (Keith Thompson) Date: Tue, 13 Oct 2020 20:28:02 -0700 Subject: [San-Diego-pm] Perl Mongers Meeting Tuesday, October 13th In-Reply-To: References: Message-ID: As discussed in the meeting, here's the relevant line from my .vimrc: set listchars=tab:???,trail:? The non-ASCII characters are: 250c:BOX DRAWINGS LIGHT DOWN AND RIGHT 252c:BOX DRAWINGS LIGHT DOWN AND HORIZONTAL 2510:BOX DRAWINGS LIGHT DOWN AND LEFT b7:MIDDLE DOT A sample looks like this (with tabstop=4): #include int main(void) { ????for (int i = 1; i <= 100; i ++) { ????if (i % 15 == 0) { ????????puts("FizzBuzz"); ????} ????else if (i % 3 == 0) { ????????puts("Fizz"); ????} ????else if (i % 5 == 0) { ????????puts("Buzz"); ????} ????else { ????????printf("%d\n", i); ????} ????} ????return 0; } Here every tab occupies 4 columns, but it also works nicely when tabs expand to a varying number of columns and/or you have odd mixtures of tabs and spaces: x x x??x x? x x????x ???x??? x ???? x??????x ???? x????? x ???? x????????x ? ???x??????? x ???????? x??????????x ???? ??? x????????? x [image: tabs-vs-spaces.png] On Mon, Oct 12, 2020 at 2:31 PM Bob Kleemann wrote: > Hello Perl Mongers, > > This is a quick reminder that the quarterly San Diego Perl Mongers meeting > will be occurring on Tuesday evening, starting at our normal time of 7 PM. > As has been for the last several meetings, we're going to meet online, as > in-person meetings are discouraged, and online meetings seem to be a bit > more popular. > > Here's the Meeting ID: 851 5455 5818 > Here's the Zoom link: https://us02web.zoom.us/j/85154555818 > > The passcode can be acquired by running the short Perl program: > > sub sum { > $a = shift(); > $a += shift() while @_; > return $a; > } > @n = ( 3 ); END{ print @n, "\n"; } > push @n, sum( $n[0], 0+ at n ); > push @n, sum( $n[0], $n[-1] ) for @n[0,1]; > push @n, sum( @n ) / $n[0]; > > > We'll start the conversation by checking in with everyone, and seeing if > there are any questions. Following that, I'm trying to work up a short > presentation. Otherwise, it looks to be a mostly social meeting. > > We're looking forward to an enjoyable evening with you all! > > Bob > _______________________________________________ > San-Diego-pm mailing list > San-Diego-pm at pm.org > https://mail.pm.org/mailman/listinfo/san-diego-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: tabs-vs-spaces.png Type: image/png Size: 87816 bytes Desc: not available URL: From rkleeman at energoncube.net Wed Oct 14 13:17:48 2020 From: rkleeman at energoncube.net (Bob Kleemann) Date: Wed, 14 Oct 2020 13:17:48 -0700 Subject: [San-Diego-pm] Perl Mongers Meeting Tuesday, October 13th In-Reply-To: References: Message-ID: For everyone's enjoyment, you can find a recording of the presentation here: https://us02web.zoom.us/rec/play/yfeRAk6mrSYq_js6Sgyvq_zP1akkTaQesJbdAdvv5zCkYPZpek3v6YJ4u_wgcQjERAJZa_uslhcmw5ne.QUzEVgWJJoPg3fYH After examining Keith's .vimrc file, I investigated what other people use for the listchars settings, and came across this Reddit thread: https://www.reddit.com/r/vim/comments/4hoa6e/what_do_you_use_for_your_listchars/ -------------- next part -------------- An HTML attachment was scrubbed... URL: