SystemFFan has quit [Ping timeout: 240 seconds]
mikrosis has quit [Ping timeout: 252 seconds]
VoidNoir0 has joined #ruby
VoidNoir0 has quit [Client Quit]
VoidNoir0 has joined #ruby
VoidNoir0 has quit [Client Quit]
VoidNoir0 has joined #ruby
bit4bit has quit [Quit: Leaving]
reset has quit [Quit: reset]
ur5us has quit [Ping timeout: 252 seconds]
darkxploit has joined #ruby
Rounin has quit [Ping timeout: 252 seconds]
ur5us has joined #ruby
CrazyEddy has quit [Ping timeout: 240 seconds]
CrazyEddy has joined #ruby
VoidNoir0 has quit [Quit: Connection closed]
mmalter has quit [Remote host closed the connection]
VoidNoir0 has joined #ruby
pwnd_sfw has quit [Ping timeout: 244 seconds]
mrkz_c has joined #ruby
Skyfire has joined #ruby
jpw has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
homura has joined #ruby
postmodern has joined #ruby
lunarkitty has joined #ruby
_ht has joined #ruby
homura has quit [Changing host]
homura has joined #ruby
nopc0de_ has joined #ruby
nopcOde has quit [Ping timeout: 252 seconds]
ur5us has quit [Ping timeout: 240 seconds]
_ht has quit [Remote host closed the connection]
postmodern has quit [Remote host closed the connection]
hansolo has quit [Ping timeout: 252 seconds]
jpw has quit [Remote host closed the connection]
jpw has joined #ruby
jpw has quit [Remote host closed the connection]
teclator has joined #ruby
Oxfuxxx has quit [Quit: leaving]
Oxfuxxx has joined #ruby
lesihctej has joined #ruby
jetchisel has quit [Read error: Connection reset by peer]
lunarkitty has quit [Quit: Connection closed for inactivity]
mrkz_c has quit [Quit: Connection closed for inactivity]
Oxfuxxx_ has joined #ruby
Oxfuxxx has quit [Ping timeout: 256 seconds]
mange has quit [Remote host closed the connection]
roadie has joined #ruby
Rounin has joined #ruby
Oxfuxxx has joined #ruby
Oxfuxxx_ has quit [Ping timeout: 245 seconds]
<
rapha>
morning all!
<
rapha>
i find myself writing snippets like this quite often: ['to be read thus', 'read', 'see', 'A/C'].map{|s| chunk.include?(s) ? true : nil}.compact.first
<
rapha>
is there a more succinct way of expressing that?
dhruvasagar has joined #ruby
mjh has joined #ruby
<
wnd>
Array#any? { |s| chunk.include?(s) } mayhaps
mjh has quit [Client Quit]
<
wnd>
or (array & chunk).any?
mjh has joined #ruby
yxhuvud has quit [Read error: Connection reset by peer]
yxhuvud has joined #ruby
pwnd_sfw has joined #ruby
<
nakilon>
rapha do you mean f(s) instead of true?
<
nakilon>
it would be .lazy.map{ ... }.find(&:itself)
<
nakilon>
and I feel like 3.0 had some useless method for that, some map with filtering
roadie has quit [Quit: ERC (IRC client for Emacs 25.3.50.1)]
flooose has joined #ruby
<
rapha>
oh, right, include's return value already is boolean ...
*sigh*
<
rapha>
sometimes i wonder how i find my toothbrush in the morning
<
rapha>
oh ... the & solution is really lovely
<
rapha>
wait, that'd only work if chunk was an array. it's a string, though.
<
rapha>
#any? with a block is the nicest one here
<
rapha>
nakilon: not seeing any new methods to Array that'd apply here. did you mean another class?
lesihctej has quit [Ping timeout: 252 seconds]
jetchisel has joined #ruby
reset has joined #ruby
Oxfuxxx has quit [Read error: Connection reset by peer]
Oxfuxxx has joined #ruby
Oxfuxxx has quit [Read error: Connection reset by peer]
Oxfuxxx has joined #ruby
Oxfuxxx has quit [Read error: Connection reset by peer]
Oxfuxxx_ has joined #ruby
Oxfuxxx_ has quit [Ping timeout: 245 seconds]
goldfish has joined #ruby
keir has joined #ruby
xa_ has joined #ruby
xa_ has quit [Quit: Leaving]
pusewic|away has quit []
pusewic|away has joined #ruby
JSharp has joined #ruby
roadie has joined #ruby
goldfish has quit [Ping timeout: 240 seconds]
TCZ has joined #ruby
TCZ has quit [Quit: ...]
roadie has quit [Ping timeout: 240 seconds]
<
bougyman>
:crickets:
hwrd has joined #ruby
keir has quit [Ping timeout: 244 seconds]
CalimeroTeknik has quit [Remote host closed the connection]
josephl has quit []
josephl has joined #ruby
keir has joined #ruby
CalimeroTeknik has joined #ruby
shokohsc8 has quit [Quit: Ping timeout (120 seconds)]
shokohsc8 has joined #ruby
keir has quit [Quit: keir]
keir has joined #ruby
lad has quit [Ping timeout: 256 seconds]
hsiktas has quit []
hsiktas has joined #ruby
roadie has joined #ruby
keir has quit [Quit: keir]
keir has joined #ruby
roadie has quit [Ping timeout: 256 seconds]
bit4bit has joined #ruby
bit4bit has quit [Read error: Connection reset by peer]
bit4bit has joined #ruby
keir has quit [Quit: keir]
keir has joined #ruby
keir has quit [Client Quit]
keir has joined #ruby
keir has quit [Quit: keir]
keir has joined #ruby
Killer-Bugs has joined #ruby
mrkz_c has joined #ruby
bit4bit has quit [Quit: Leaving]
integral has quit []
integral has joined #ruby
<
aestheti1>
How's it going Killer-Bugs
<
Killer-Bugs>
Fine, thank you , what about you?
<
aestheti1>
doing well, just doing 30 things at once lol
<
aestheti1>
none of them well
<
Killer-Bugs>
lol i know the feel bro
Killer-Bugs has left #ruby [#ruby]
keir has quit [Quit: keir]
homura has left #ruby [#ruby]
roadie has joined #ruby
_ht has joined #ruby
roadie has quit [Ping timeout: 240 seconds]
roadie has joined #ruby
<
adam12>
Just bought my RubyKaigi ticket. Hopefully they have live translations like last year...
menace has joined #ruby
menace has joined #ruby
menace has quit [Changing host]
lad has joined #ruby
roadie` has joined #ruby
<
aestheti1>
is it actually taking place in person
roadie has quit [Ping timeout: 256 seconds]
goldfish has joined #ruby
goldfish has quit [Quit: Leaving]
jpw has joined #ruby
Oxfuxxx has joined #ruby
roadie` has quit [Ping timeout: 252 seconds]
elf_fortrez has joined #ruby
roadie` has joined #ruby
shokohsc8 has joined #ruby
elf_fortrez has quit [Ping timeout: 256 seconds]
roadie` has quit [Ping timeout: 245 seconds]
roadie` has joined #ruby
roadie` has quit [Ping timeout: 252 seconds]
jpw has quit [Remote host closed the connection]
roadie` has joined #ruby
_ht has quit [Remote host closed the connection]
roadie` has quit [Ping timeout: 245 seconds]
darkxploit has quit [Ping timeout: 244 seconds]
Oxfuxxx has quit [Quit: Lost terminal]
roadie` has joined #ruby
darkxploit has joined #ruby
Oxfuxxx has joined #ruby
darkxploit has quit [Remote host closed the connection]
roadie` has quit [Ping timeout: 252 seconds]
Guest71 has joined #ruby
roadie` has joined #ruby
ur5us has joined #ruby
Oxfuxxx has quit [Quit: Lost terminal]
roadie` has quit [Ping timeout: 252 seconds]
Oxfuxxx has joined #ruby
roadie` has joined #ruby
factor has quit [Ping timeout: 252 seconds]
roadie` has quit [Ping timeout: 256 seconds]
factor has joined #ruby
Guest71 has quit [Ping timeout: 256 seconds]
Oxfuxxx has quit [Ping timeout: 256 seconds]
TCZ has joined #ruby
Oxfuxxx has joined #ruby
roadie` has joined #ruby
roadie` has quit [Ping timeout: 245 seconds]
ur5us has quit [Remote host closed the connection]
nopcOde has joined #ruby
ur5us has joined #ruby
nopc0de_ has quit [Ping timeout: 252 seconds]
nopc0de_ has joined #ruby
nopcOde has quit [Ping timeout: 244 seconds]
howdoi has joined #ruby
ur5us has quit [Ping timeout: 252 seconds]
flooose has quit [Ping timeout: 252 seconds]
Guest18 has joined #ruby
kiiz has joined #ruby
kiiz has left #ruby [#ruby]
sam113101 has quit [Ping timeout: 252 seconds]
sam113102 has joined #ruby
<
howdoi>
What is the best ruby joke you have heard recently?