communities - perl edition (riojs)
DESCRIPTION
Slides for the talk given at the RioJS meetup on Developer Communities' Ecosystem, in 2014.TRANSCRIPT
CommunitiesPerl Edition
Hello!
@that_garu
Just another Perl hacker
Perl?
Perl.
print''.join('%(pre)s%(num)s %(bot)s on the wall, %(nul)s %(bot)s,\n%(tak)s\n'%(lambda c,b:{'pre' :['','%s %s on the wall.\n\n'%(c,b)][abs(cmp(c,'Ninety-nine'))],'num':c,'nul':c. lower(),'bot':b,'tak':['Go to the store and buy some more... Ninety-nine %s.'%b,'Take one down, pass it around,'] [abs(cmp(x,0))] })((lambda x,o:[(['Twenty','Thirty','Forty','Fifty','Sixty','Seventy','Eighty','Ninety' ][x/(2*3+4)-2]+'-'+o.lower()).replace('-no more',''),o][int(x<20)])(x,['No more','One','Two','Three','Four','Five', 'Six','Seven','Eight','Nine','Ten','Eleven','Twelve','Thirteen','Fourteen',‘Fifteen','Sixteen','Seventeen','Eighteen', 'Nineteen'][[x,x%10][int(x>=20)]]),'bottle%s of beer'%['','s'][abs(cmp(x,1))]) for x in xrange(99,-1,-1))
d=[30644250780,9003106878,30636278846,66641217692,4501790980, 67124603036,13161973916,66606629920,30642677916,30643069058];a,s= [],$*[0];s.bytes{|b|a<<('%036b'%d[b.chr.to_i]).scan( /\d{6}/)};a.transpose.each{|a|a.join.bytes{|i| print((49==i)?($*[1]||"#"):32.chr)};puts}
use CGI':all';path_info=~/\w+/;$_=`grep -l $& *`.h1($&).escapeHTML$t=param(t) ||`dd<$&`;open F,">$&";print F$t;s/htt\S+|([A-Z]\w+){2,}/a{href,$&},$&/eg; print header,pre"$_<form>",submit,textarea t,$t,9,70
use Dancer; use DateTime; !get '/friday13' => sub { is_friday_the_13th( DateTime->now ); }; !get '/friday13/:year/:month/:day' => sub { my $date = DateTime->new( year => param('year' ), month => param('month'), day => param('day' ), ); ! is_friday_the_13th( $date ); }; !sub is_friday_the_13th { my $date = shift; ! if ($date->day_name eq 'Friday') { return ‘YES!'; } else { return 'NO :('; } } !start;
Perl ♡ JS
use strict
"use strict"
Perl.
Perl Community.
CPANmetacpan.org
CPAN Testerscpantesters.org
Perl Mongerspm.org
YAPCYet Another Perl Conference
irc.perl.org1249 users, 462 channels
Happiest users?
http://www.crowdflower.com/blog/2009/05/the-programming-language-with-the-happiest-users
Songs(srsly)
Poetry(even more srsly)
my $eyes = "closed"; my $heart = "aching"; my $beloved = "gone"; !!no warnings; !my $love = (); !!open MY,"mind"; foreach ($love) { open MY,$eyes; tell my $mind or open my $eyes; } !do not $fear and do not die; !$i; die "because i love you\n"; !do { $i; sleep($_) } while ( $awake ); !warn "$me" if ($i == $wrong); !bind my $love, $dear and do not exit; for (my $world = "dark") {}; for (my $eyes = "blind") {};
donations & grants
Send-a-Newbie
Google SoC / Code-in
GNOME Outreach Program for Women
The Perl Foundation
Enlightened Perl Organisation
Japan Perl Association
growing a community
Website
mailing list
tech events++
social events++ social events++ social events++
social + tech == ♡
Make it easy to contribute
Make it easy to contribute
super
GAMIFY ALL THE THINGS!
answer fast
if it’s someone’s first time, answer faster
growing a community
Growing a healthy community
Code of Conduct
Reasonable Person Principlehttp://www.cs.cmu.edu/~weigand/staff/
Reasonable Person Principle
• Everyone will be reasonable.
• Everyone expects everyone else to be reasonable.
• No one is special.
• Do not be offended if someone suggests you are not being reasonable.
“be awesome to each other"BerlinJS’ Code of Conduct
Citizen Code of Conductcitizencodeofconduct.org
Make it fun!(for everyone)
Open your mind for new people
Open your mind for new languages
Open your mind for new problems
Open your mind for new solutions
Living Long and Prosper
be open to criticismbut learn to separate signal from noise
Positive attitudeall languages suck :)
perlbug -> perlthanks
cpanthanks
go outside and play with the other kids
Teach.
Learn.
Listen.
Share.
it’s NOT a competition: there’s room for everybody.
Celebrate FLOSS
“Be the change you want to see in the world.”
Mahatma Ghandi
“Behave like you are a member of the community that you want to belong to."
John “genehack" Anderson
Open questions
Centralized x
Distributed
Enterprise x
Fun/Creative Hack
the paradox of choice