orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sagax has quit [Ping timeout: 252 seconds]
Intelo has quit [Ping timeout: 240 seconds]
FreshcollegeGirl has quit [Ping timeout: 240 seconds]
FreshcollegeGirl has joined #ruby
FreshcollegeGirl has quit [Max SendQ exceeded]
FreshcollegeGirl has joined #ruby
FreshcollegeGirl has quit [Max SendQ exceeded]
FreshcollegeGirl has joined #ruby
FreshcollegeGirl has quit [Max SendQ exceeded]
FreshcollegeGirl has joined #ruby
FreshcollegeGirl has quit [Max SendQ exceeded]
FreshcollegeGirl has joined #ruby
FreshcollegeGirl has quit [Max SendQ exceeded]
Intelo has joined #ruby
conta has joined #ruby
johnny56 has quit [Read error: Connection reset by peer]
conta has quit [Remote host closed the connection]
johnny56 has joined #ruby
jenrzzz has joined #ruby
conta has joined #ruby
bradfordli123 has joined #ruby
alfiemax has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 276 seconds]
conta has quit [Quit: conta]
alfiemax has joined #ruby
schne1der has joined #ruby
nima_m has joined #ruby
schne1der has quit [Ping timeout: 240 seconds]
bradfordli123 has quit [Remote host closed the connection]
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
suukim has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us_ has joined #ruby
zapata has quit [Ping timeout: 264 seconds]
conta has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
skx86 has quit [Quit: Connection closed for inactivity]
Intelo has quit [Ping timeout: 240 seconds]
bambanx has quit [Quit: Leaving]
Intelo has joined #ruby
absolutejam2 has joined #ruby
johnny56 has quit [Ping timeout: 240 seconds]
johnny56_ has joined #ruby
DTZUZO has quit [Ping timeout: 264 seconds]
Inline__ has quit [Quit: Leaving]
conta has quit [Ping timeout: 265 seconds]
johnny56_ has quit [Ping timeout: 240 seconds]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
johnny56_ has joined #ruby
Intelo has quit [Ping timeout: 250 seconds]
hiroaki has joined #ruby
w1ntr_ has quit [Ping timeout: 276 seconds]
suukim has quit [Quit: Konversation terminated!]
akemhp has quit [Ping timeout: 268 seconds]
jmcgnh has quit [Read error: Connection reset by peer]
hiroaki has quit [Ping timeout: 240 seconds]
jmcgnh has joined #ruby
Mia has quit [Read error: Connection reset by peer]
donofrio_ has quit [Remote host closed the connection]
conta has joined #ruby
mossplix has joined #ruby
al2o3-cr has quit [Quit: WeeChat 2.6]
mre- has joined #ruby
al2o3-cr has joined #ruby
mre- has quit [Ping timeout: 240 seconds]
Intelo has joined #ruby
conta has quit [Ping timeout: 268 seconds]
Inline has joined #ruby
Fusl has quit [Excess Flood]
Fusl has joined #ruby
conta has joined #ruby
mossplix has quit [Remote host closed the connection]
mossplix has joined #ruby
mossplix has quit [Read error: Connection reset by peer]
mossplix_ has joined #ruby
mossplix_ has quit [Remote host closed the connection]
mossplix has joined #ruby
schne1der has joined #ruby
jenrzzz has joined #ruby
absolutejam2 has quit [Ping timeout: 268 seconds]
mossplix has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 264 seconds]
Ai9zO5AP has joined #ruby
johnny56_ has quit [Ping timeout: 240 seconds]
mossplix has joined #ruby
johnny56_ has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
i9zO5AP has joined #ruby
FastJack has quit [Ping timeout: 264 seconds]
bitwinery has quit [Quit: Leaving]
Ai9zO5AP has quit [Ping timeout: 240 seconds]
schne1der has quit [Ping timeout: 240 seconds]
dbugger has joined #ruby
i9zO5AP has quit [Quit: WeeChat 2.5]
roadt has quit [Read error: Connection reset by peer]
roadt has joined #ruby
fanta1 has joined #ruby
mikecmpbll has joined #ruby
arahael1 has joined #ruby
arahael has quit [Ping timeout: 276 seconds]
absolutejam2 has joined #ruby
snowyrooftops has joined #ruby
conta has quit [Ping timeout: 245 seconds]
nima_m has quit [Quit: Connection closed for inactivity]
johnny56_ has quit [Ping timeout: 240 seconds]
johnny56_ has joined #ruby
Swyper has joined #ruby
absolutejam2 has quit [Ping timeout: 265 seconds]
deathwishdave has joined #ruby
roadt has quit [Ping timeout: 252 seconds]
Swyper has quit [Remote host closed the connection]
roadt has joined #ruby
Swyper has joined #ruby
mossplix has quit [Remote host closed the connection]
mossplix has joined #ruby
ur5us has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
ur5us_ has quit [Ping timeout: 268 seconds]
dionysus70 has joined #ruby
dionysus69 has quit [Ping timeout: 265 seconds]
dionysus70 is now known as dionysus69
schne1der has joined #ruby
MinSrodowiska has joined #ruby
FastJack has joined #ruby
schne1der has quit [Ping timeout: 268 seconds]
zapata has joined #ruby
roadt has quit [Ping timeout: 250 seconds]
Obast has joined #ruby
<Obast>
Hi. A very beginnerish question: What's it called when doing things like this in Ruby? body = limit_text strip_html_tags sanitize_text myHtmlStr
<Obast>
(So 3 functions are being called)
<Obast>
I need to add a second argument(text length) to limit_text. So I need to read up on that, whatever it's called. I just don't know what to google for.
conta has joined #ruby
<TheBrayn>
We are going to run a lot of rspec tests, some of it in docker and I want to reduce load on the upstream mirrors by doing some caching of gems
<TheBrayn>
What can you recommend for that?
<Obast>
Should I move the call to limit_text to a separate line in the code?
mre- has joined #ruby
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
tsujp_ has quit [Ping timeout: 240 seconds]
conta has quit [Ping timeout: 265 seconds]
<jhass>
Obast: best start with parenthesizing the expression: body = limit_text(strip_html_tags(sanitize_text(html)))
<jhass>
now passing multiple arguments is some_method(a, b)
<jhass>
so limit_text(..., text_length)
mre- has quit [Ping timeout: 265 seconds]
<jhass>
whether you want to break it into multiple lines, introduce an immediate local variable etc is up to you
<Obast>
jhass: Thanks!
conta has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
tsujp has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Swyper has quit [Remote host closed the connection]
kyrylo has joined #ruby
Swyper has joined #ruby
lxsameer has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mossplix has quit [Remote host closed the connection]
kyrylo has joined #ruby
jenrzzz has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
chalkmonster has joined #ruby
aecepoglu[m] has quit [Remote host closed the connection]
kodcx[m] has quit [Remote host closed the connection]
Corey[m] has quit [Remote host closed the connection]
kp666[m] has quit [Write error: Connection reset by peer]
f440[m] has quit [Remote host closed the connection]
qbrd[m] has quit [Write error: Connection reset by peer]
Hanma[m] has quit [Write error: Connection reset by peer]
gtwatt[m] has quit [Remote host closed the connection]
eein[m] has quit [Remote host closed the connection]
turt2live has quit [Read error: Connection reset by peer]
sepp2k has quit [Read error: Connection reset by peer]
kira_rose[m] has quit [Read error: Connection reset by peer]
linuus[m] has quit [Read error: Connection reset by peer]
danielk43[m] has quit [Read error: Connection reset by peer]
otaznik[m] has quit [Remote host closed the connection]
iotatron[m] has quit [Write error: Connection reset by peer]
dmitrycy[m] has quit [Remote host closed the connection]
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
eljimmy has quit [Ping timeout: 240 seconds]
baweaver has quit [Ping timeout: 240 seconds]
baweaver has joined #ruby
baweaver is now known as Guest50015
Obast has quit [Remote host closed the connection]
TomyWork has joined #ruby
johnny56_ has quit [Ping timeout: 240 seconds]
universa1 has quit [Quit: ZNC 1.6.1+deb1~ubuntu14.04.0 - http://znc.in]
eljimmy has joined #ruby
johnny56_ has joined #ruby
universa1 has joined #ruby
NL3limin4t0r_afk is now known as NL3limin4t0r
mossplix has joined #ruby
mossplix has quit [Remote host closed the connection]
mossplix has joined #ruby
kodcx[m] has joined #ruby
AJA4350 has joined #ruby
dionysus69 has joined #ruby
MinSrodowiska has quit [Quit: Bye Bye]
Swyper has quit [Remote host closed the connection]
conta has quit [Ping timeout: 276 seconds]
Swyper has joined #ruby
MinSrodowiska has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
minvs1 has joined #ruby
wymillerlinux has quit [Remote host closed the connection]
chalkmon1 has joined #ruby
chalkmonster has quit [Ping timeout: 240 seconds]
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
MinSrodowiska has quit [Quit: Bye Bye]
dionysus69 has quit [Quit: dionysus69]
postmodern has quit [Quit: Leaving]
conta has joined #ruby
dionysus69 has joined #ruby
tpanarch1st has quit [Ping timeout: 240 seconds]
alfiemax has quit [Remote host closed the connection]
MinSrodowiska has joined #ruby
wymillerlinux has joined #ruby
dionysus69 has quit [Quit: dionysus69]
minvs1 has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
dionysus69 has joined #ruby
johnny56_ has quit [Ping timeout: 240 seconds]
minvs1 has joined #ruby
johnny56_ has joined #ruby
drincruz_ has joined #ruby
qbrd[m] has joined #ruby
eein[m] has joined #ruby
Corey[m] has joined #ruby
linuus[m] has joined #ruby
sepp2k has joined #ruby
f440[m] has joined #ruby
iotatron[m] has joined #ruby
turt2live has joined #ruby
kp666[m] has joined #ruby
aecepoglu[m] has joined #ruby
minvs1 has quit [Client Quit]
kira_rose[m] has joined #ruby
otaznik[m] has joined #ruby
Hanma[m] has joined #ruby
gtwatt[m] has joined #ruby
dmitrycy[m] has joined #ruby
danielk43[m] has joined #ruby
chalkmonster has joined #ruby
chalkmon1 has quit [Ping timeout: 250 seconds]
kyrylo_ has joined #ruby
dionysus69 has quit [Quit: dionysus69]
kyrylo has quit [Ping timeout: 268 seconds]
alfiemax has joined #ruby
dionysus69 has joined #ruby
yasumi2136 has joined #ruby
MinSrodowiska has quit [Quit: Bye Bye]
schne1der has joined #ruby
Swyper has quit [Remote host closed the connection]
johnny56 has joined #ruby
johnny56_ has quit [Ping timeout: 240 seconds]
Swyper has joined #ruby
conta has quit [Ping timeout: 250 seconds]
conta has joined #ruby
Swyper has quit [Remote host closed the connection]
wymillerlinux has quit [Remote host closed the connection]
dionysus69 has quit [Quit: dionysus69]
dionysus69 has joined #ruby
wymillerlinux has joined #ruby
drincruz_ has quit [Ping timeout: 268 seconds]
AJA4351 has joined #ruby
jenrzzz has joined #ruby
AJA4351 is now known as AJA4350
AJA4350 has quit [Ping timeout: 252 seconds]
MinSrodowiska has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
yasumi2136 has quit [Remote host closed the connection]
akemhp has joined #ruby
akemhp_ has joined #ruby
alfiemax has quit [Remote host closed the connection]
akemhp has quit [Ping timeout: 268 seconds]
chalkmonster has quit [Quit: WeeChat 2.6]
kyrylo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cd has joined #ruby
Technodrome has joined #ruby
clemens3 has quit [Ping timeout: 240 seconds]
akemhp_ has quit [Ping timeout: 240 seconds]
hutch1 has joined #ruby
fig-le-deunch has joined #ruby
poontangmessiah has joined #ruby
custum has joined #ruby
mossplix has quit [Remote host closed the connection]
mossplix has joined #ruby
dasher00 has joined #ruby
clemens3 has joined #ruby
lucasb has joined #ruby
mossplix has quit [Ping timeout: 252 seconds]
johnny56 has quit [Ping timeout: 240 seconds]
AJA4351 has joined #ruby
johnny56 has joined #ruby
mossplix has joined #ruby
AJA4351 is now known as AJA4350
poontangmessiah_ has joined #ruby
mossplix has quit [Remote host closed the connection]
mossplix has joined #ruby
conta has quit [Ping timeout: 268 seconds]
poontangmessiah has quit [Ping timeout: 276 seconds]
mossplix has quit [Remote host closed the connection]
akemhp has joined #ruby
phaul is now known as Guest62063
Guest62063 has quit [Killed (cherryh.freenode.net (Nickname regained by services))]
phaul has joined #ruby
Guest62063 has joined #ruby
Intelo has quit [Ping timeout: 268 seconds]
conta has joined #ruby
custum has quit [Remote host closed the connection]
bvdw has quit [Read error: Connection reset by peer]
quazimodo has quit [Ping timeout: 250 seconds]
bvdw has joined #ruby
skx86 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4350 has joined #ruby
quazimodo has joined #ruby
mossplix has joined #ruby
mossplix has quit [Remote host closed the connection]
mossplix has joined #ruby
teardown has quit [Ping timeout: 240 seconds]
AJA4350 has quit [Ping timeout: 268 seconds]
fig-le-deunch has quit [Quit: Konversation terminated!]
hutch1 has quit [Ping timeout: 276 seconds]
teardown has joined #ruby
iNs has quit [Ping timeout: 260 seconds]
iNs has joined #ruby
akemhp has quit [Ping timeout: 240 seconds]
ebbflowgo has joined #ruby
phaul has quit [Ping timeout: 265 seconds]
ebbflowgo has quit [Client Quit]
hutch1 has joined #ruby
Rapture has joined #ruby
quazimodo has quit [Ping timeout: 268 seconds]
DTZUZO has joined #ruby
Intelo has joined #ruby
Intelo has quit [Max SendQ exceeded]
bvdw has quit [Quit: bvdw]
bvdw has joined #ruby
Intelo has joined #ruby
quazimodo has joined #ruby
mre- has joined #ruby
schne1der has quit [Ping timeout: 276 seconds]
jfhbrook has joined #ruby
yann-kaelig has joined #ruby
poontangmessiah_ has quit [Remote host closed the connection]
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hutch has joined #ruby
akemhp has joined #ruby
absolutejam2 has quit [Ping timeout: 240 seconds]
renich has quit [Ping timeout: 268 seconds]
phaul has quit [Ping timeout: 268 seconds]
phaul has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 250 seconds]
AJA4351 is now known as AJA4350
wildtrees has joined #ruby
mossplix has joined #ruby
phaul has quit [Ping timeout: 240 seconds]
orbyt_ has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
snowyrooftops has quit [Ping timeout: 240 seconds]
mre- has joined #ruby
chalkmonster has joined #ruby
chalkmonster has quit [Client Quit]
chalkmonster has joined #ruby
thomcom has joined #ruby
thomcom has quit [Client Quit]
fanta1 has quit [Quit: fanta1]
Kilo`byte has quit [Quit: ZNC - 1.6.0 - http://znc.in]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mre- has quit [Ping timeout: 265 seconds]
fig-le-deunch has joined #ruby
Guest50015 is now known as baweaver
baweaver has quit [Changing host]
baweaver has joined #ruby
<baweaver>
Alo alo
Axy has joined #ruby
Axy has joined #ruby
Axy has quit [Changing host]
mre- has joined #ruby
orbyt_ has joined #ruby
suukim has joined #ruby
Tempesta has quit [Quit: See ya!]
poontangmessiah has joined #ruby
johnny56 has quit [Read error: Connection reset by peer]
AJA4350 has quit [Ping timeout: 276 seconds]
ExoUNX has joined #ruby
cliluw has joined #ruby
johnny56 has joined #ruby
Rapture has joined #ruby
Guest62063 is now known as phaul
qxd has joined #ruby
mossplix has quit [Read error: Connection reset by peer]
mossplix has joined #ruby
spacesuitdiver has joined #ruby
cthulchu_ has joined #ruby
fig-le-deunch has quit [Quit: Konversation terminated!]
cthu| has quit [Ping timeout: 268 seconds]
Xiti has quit [Quit: Xiti]
Xiti has joined #ruby
wymillerlinux has quit [Quit: wymillerlinux]
jeremycw has quit [Ping timeout: 240 seconds]
wymillerlinux has joined #ruby
Tempesta has joined #ruby
<NL3limin4t0r>
baweaver: If you're here that means I should probably go. No offence, just a time difference.
johnny56 has quit [Ping timeout: 240 seconds]
<NL3limin4t0r>
Currently 20:00 and still at work xD
johnny56 has joined #ruby
NL3limin4t0r is now known as NL3limin4t0r_afk
cthu| has joined #ruby
ebbflowgo has joined #ruby
chalkmonster has quit [Remote host closed the connection]
cthulchu_ has quit [Ping timeout: 240 seconds]
bitwinery has joined #ruby
bitwinery has quit [Remote host closed the connection]
bitwinery has joined #ruby
<havenwood>
baweaver: (0..).lazy.filter_map { |n| n.chr if (n.abs2 + n + 5).prime? }.drop(29).take(3).reduce('', :+)
absolutejam2 has joined #ruby
<baweaver>
You could at least have the courtesy to run it havenwood
<baweaver>
&>> (0..).lazy.filter_map { |n| n.chr if (n.abs2 + n + 5).prime? }.drop(29).take(3).reduce('', :+)
<rubydoc>
stderr: -e:4:in `<main>': undefined method `filter_map' for #<Enumerator::Lazy: 0..> (NoMethodError)... check link for more (https://carc.in/#/r/7x33)
<havenwood>
baweaver: Does the bot know 2.7?
<baweaver>
Fine fine
sammi` has joined #ruby
<baweaver>
Fair
<havenwood>
:P
<havenwood>
I couldn't resist #filter_map >.>
<baweaver>
&>> module Enumerable; def filter_map(&f) map(&f).compact end; end;(0..).lazy.filter_map { |n| n.chr if (n.abs2 + n + 5).prime? }.drop(29).take(3).reduce('', :+)
<rubydoc>
stderr: -e:4:in `filter_map': undefined method `compact' for #<Enumerator::Lazy: #<Enumerator::Lazy: 0..>:map>... check link for more (https://carc.in/#/r/7x34)
<havenwood>
I was gunna use #eager, but #reduce for lemurs.
mossplix has quit [Remote host closed the connection]
<baweaver>
&>> module Enumerable; def filter_map(&f) map(&f).reject(&:nil?) end; end;(0..).lazy.filter_map { |n| n.chr if (n.abs2 + n + 5).prime? }.drop(29).take(3).reduce('', :+)
<rubydoc>
stderr: -e:4:in `block in <main>': undefined method `prime?' for 5:Integer (NoMethodError)... check link for more (https://carc.in/#/r/7x35)
mossplix has joined #ruby
<baweaver>
Oi
<havenwood>
Enumerable#compact is a proposed feature!
skx86 has quit [Quit: Connection closed for inactivity]
poontangmessiah_ has quit [Ping timeout: 240 seconds]
schne1der has quit [Ping timeout: 245 seconds]
mossplix has quit [Remote host closed the connection]
dshep has joined #ruby
meinside has quit [Quit: Connection closed for inactivity]
hutch has quit [Ping timeout: 264 seconds]
SeepingN has quit [Ping timeout: 245 seconds]
SeepingN has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
AJA4350 has quit [Ping timeout: 265 seconds]
Fernando-Basso has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
poontangmessiah has quit [Remote host closed the connection]
mossplix has joined #ruby
xpitr has quit [Changing host]
xpitr has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
pb122 has joined #ruby
jenrzzz has joined #ruby
qxd has quit [Ping timeout: 260 seconds]
priodev has quit [Ping timeout: 240 seconds]
ltp has quit [Ping timeout: 245 seconds]
ltp has joined #ruby
priodev has joined #ruby
snickers has joined #ruby
hiroaki has quit [Ping timeout: 246 seconds]
AJA4350 has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has joined #ruby
xGrind has joined #ruby
alfiemax has quit [Ping timeout: 268 seconds]
greengriminal has quit [Quit: This computer has gone to sleep]
akem__ has joined #ruby
alfiemax has joined #ruby
akemhp_ has quit [Ping timeout: 240 seconds]
mossplix has quit [Remote host closed the connection]
alfiemax has quit [Ping timeout: 268 seconds]
ebbflowgo has left #ruby [#ruby]
spacesuitdiver has quit [Ping timeout: 265 seconds]
duderonomy has joined #ruby
code_zombie has joined #ruby
mre- has quit [Ping timeout: 265 seconds]
mre- has joined #ruby
bitwinery has quit [Quit: Leaving]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
quazimodo has quit [Ping timeout: 268 seconds]
greengriminal has joined #ruby
code_zombie has quit [Quit: Leaving]
_phaul has joined #ruby
phaul has quit [Ping timeout: 268 seconds]
kashike has quit [Ping timeout: 252 seconds]
<Fire-Dragon-DoL>
Eventide, the project I follow and contribute to got a Ruby award! That's so amazing. That whole community has been incredibly helpful in my career development :)
akemhp has joined #ruby
akemhp_ has joined #ruby
orbyt_ has joined #ruby
akem__ has quit [Ping timeout: 276 seconds]
akemhp has quit [Ping timeout: 268 seconds]
greengriminal has quit [Quit: Leaving]
dbugger has quit [Ping timeout: 250 seconds]
Ai9zO5AP has joined #ruby
snickers has quit [Read error: Connection reset by peer]
brendan- has quit [Ping timeout: 268 seconds]
bradland has quit [Quit: bradland]
_phaul is now known as phaul
mre- has quit [Ping timeout: 240 seconds]
jud has joined #ruby
tpanarch1st has joined #ruby
tpanarch1st has quit [Remote host closed the connection]