00:01
biberu has quit [Read error: Connection reset by peer]
00:02
nonnatus has quit [Ping timeout: 240 seconds]
00:03
DLSteve_ has quit [Quit: All rise, the honorable DLSteve has left the channel.]
00:06
gsilva has quit [Remote host closed the connection]
00:06
emilford_ has joined #ruby
00:07
emilford has quit [Ping timeout: 260 seconds]
00:11
emilford_ has quit [Ping timeout: 260 seconds]
00:12
emilford has joined #ruby
00:12
AndBobsYourUncle has joined #ruby
00:13
Gasher has quit [Quit: Leaving]
00:13
AndBobsYourUncle has quit [Client Quit]
00:15
djbkd has quit [Remote host closed the connection]
00:15
User458764 has joined #ruby
00:15
djbkd has joined #ruby
00:16
xlegoman has joined #ruby
00:19
jhack has joined #ruby
00:19
djbkd has quit [Ping timeout: 240 seconds]
00:21
quiqua has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:22
mogaj has joined #ruby
00:22
jtdoncas has joined #ruby
00:24
Tempesta has quit [Ping timeout: 260 seconds]
00:24
kirun has quit [Quit: Konversation terminated!]
00:25
mrwn has quit [Ping timeout: 260 seconds]
00:25
saslam has joined #ruby
00:25
bkxd_ has joined #ruby
00:25
bkxd has quit [Ping timeout: 260 seconds]
00:27
jobewan has quit [Ping timeout: 260 seconds]
00:27
saslam_ has joined #ruby
00:27
emilford has quit [Ping timeout: 240 seconds]
00:28
djbkd has joined #ruby
00:29
emilford has joined #ruby
00:29
Tempesta has joined #ruby
00:30
saslam has quit [Ping timeout: 240 seconds]
00:36
cibs has quit [Ping timeout: 268 seconds]
00:38
cibs has joined #ruby
00:39
sylario has quit [Quit: Connection closed for inactivity]
00:40
emilford has quit [Ping timeout: 240 seconds]
00:40
thethe has joined #ruby
00:40
thethe has left #ruby [#ruby]
00:46
ResidentBiscuit has joined #ruby
00:48
gk_-1wm_- has joined #ruby
00:51
ruid_ has quit [Ping timeout: 255 seconds]
00:51
gk_-1wm_- has left #ruby [#ruby]
00:51
anisha_ has joined #ruby
00:53
anisha_ has quit [Client Quit]
00:54
PaulCape_ has quit [Quit: .]
00:54
marcdel has quit [Ping timeout: 240 seconds]
00:55
xelkarin has quit [Quit: WeeChat 1.4]
00:55
cdg has quit [Remote host closed the connection]
00:57
PaulCapestany has joined #ruby
00:57
Rich_Morin has quit [Ping timeout: 240 seconds]
00:59
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:59
marcdel has joined #ruby
01:00
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
01:00
jsgrant- has quit [Ping timeout: 260 seconds]
01:00
tfitts has quit [Quit: Connection closed for inactivity]
01:01
sepp2k has quit [Read error: Connection reset by peer]
01:02
meinside has quit [Quit: Connection closed for inactivity]
01:02
KicStart has quit [Remote host closed the connection]
01:03
KicStart has joined #ruby
01:03
KicStart has quit [Client Quit]
01:03
Rich_Morin has joined #ruby
01:03
emilford has joined #ruby
01:04
mogaj has quit [Remote host closed the connection]
01:05
hutch34 has quit [Ping timeout: 240 seconds]
01:06
ResidentBiscuit has quit [Remote host closed the connection]
01:06
whathappens has quit [Remote host closed the connection]
01:06
username1 has quit [Ping timeout: 240 seconds]
01:07
whathappens has joined #ruby
01:07
mogaj has joined #ruby
01:07
whathappens is now known as Guest31300
01:08
emilford has quit [Ping timeout: 260 seconds]
01:10
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
01:11
saslam__ has joined #ruby
01:11
Dry_Lips has quit [Ping timeout: 240 seconds]
01:11
Guest31300 has quit [Ping timeout: 260 seconds]
01:13
saslam has joined #ruby
01:14
saslam_ has quit [Ping timeout: 240 seconds]
01:14
saslam has quit [Max SendQ exceeded]
01:15
brent__ has quit [Ping timeout: 240 seconds]
01:15
saslam__ has quit [Ping timeout: 240 seconds]
01:17
djbkd has quit [Quit: My people need me...]
01:20
haylon has joined #ruby
01:20
herbmillerjr has quit [Quit: Konversation terminated!]
01:20
herbmillerjr has joined #ruby
01:20
saslam has joined #ruby
01:22
nankyokusei has joined #ruby
01:25
jhack has quit [Quit: jhack]
01:26
nankyokusei has quit [Ping timeout: 240 seconds]
01:27
mikecmpbll has quit [Quit: inabit. zz.]
01:27
saslam has quit [Ping timeout: 240 seconds]
01:28
mikeiniowa has quit [Remote host closed the connection]
01:28
mikeiniowa has joined #ruby
01:30
marcdel has quit [Ping timeout: 260 seconds]
01:31
mogaj has quit [Remote host closed the connection]
01:32
Rich_Morin has left #ruby [#ruby]
01:32
mogaj has joined #ruby
01:33
erlend has quit [Ping timeout: 260 seconds]
01:34
erlend has joined #ruby
01:34
marcdel has joined #ruby
01:35
marr has quit [Ping timeout: 240 seconds]
01:37
Dimik has joined #ruby
01:37
mogaj has quit [Ping timeout: 240 seconds]
01:38
hahuang65 has quit [Quit: WeeChat 1.7]
01:38
rfoust has joined #ruby
01:45
charliesome has joined #ruby
01:45
hahuang65 has joined #ruby
01:46
shinnya has joined #ruby
01:46
benlieb has joined #ruby
01:47
SeepingN has quit [Remote host closed the connection]
01:47
benlieb has quit [Client Quit]
01:48
mim1k has joined #ruby
01:49
marcdel has quit [Ping timeout: 268 seconds]
01:53
mim1k has quit [Ping timeout: 260 seconds]
01:53
enterprisey has quit [Ping timeout: 240 seconds]
01:57
KicStart has joined #ruby
02:01
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:02
gloscombe_ has quit [Ping timeout: 260 seconds]
02:03
amclain has quit [Quit: Leaving]
02:05
jenrzzz has quit [Ping timeout: 260 seconds]
02:07
mogaj has joined #ruby
02:08
hutch34 has joined #ruby
02:08
hahuang65 has quit [Quit: WeeChat 1.7]
02:10
aryaching has quit [Ping timeout: 240 seconds]
02:11
gk_-1wm has joined #ruby
02:11
gk_-1wm has left #ruby [#ruby]
02:13
nothingnew has quit [Read error: Connection reset by peer]
02:13
xall has joined #ruby
02:14
nothingnew has joined #ruby
02:15
hutch34 has quit [Ping timeout: 255 seconds]
02:18
HighEx has quit [Ping timeout: 260 seconds]
02:22
Rodya_ has quit [Remote host closed the connection]
02:22
cdg has joined #ruby
02:23
ResidentBiscuit has joined #ruby
02:23
xall has quit [Ping timeout: 240 seconds]
02:28
tdy has quit [Read error: Connection reset by peer]
02:30
Irishluck83 has joined #ruby
02:30
duderono_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:30
haylon_ has joined #ruby
02:31
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
02:31
haylon has quit [Ping timeout: 260 seconds]
02:32
rigel_ has left #ruby ["quit"]
02:32
Rodya_ has joined #ruby
02:32
blackmes1 has quit [Ping timeout: 255 seconds]
02:36
tdy has joined #ruby
02:38
jackneill__ has quit [Remote host closed the connection]
02:38
jhack has joined #ruby
02:38
jhack has joined #ruby
02:38
jhack has quit [Changing host]
02:39
harfangk has joined #ruby
02:39
jhack has quit [Client Quit]
02:40
gk-------1__w__m has joined #ruby
02:41
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
02:42
d^sh has quit [Ping timeout: 268 seconds]
02:43
d^sh has joined #ruby
02:44
ResidentBiscuit has quit []
02:44
haylon_ has quit [Ping timeout: 260 seconds]
02:44
gk-------1__w__m has quit [K-Lined]
02:44
browndawg has quit [Ping timeout: 260 seconds]
02:45
ResidentBiscuit has joined #ruby
02:47
Puffball has quit [Remote host closed the connection]
02:49
on3pk has joined #ruby
02:50
jackjackdripper has quit [Quit: Leaving.]
02:50
Puffball has joined #ruby
02:50
charliesome has joined #ruby
02:50
<
on3pk >
So, dumb question. Is it possible to do a for loop so that if I have like n = 4 for i in range(0,n)?
02:52
<
matthewd >
on3pk: I'm not sure what that's supposed to do
02:53
<
matthewd >
You probably don't want a for loop, though
02:53
<
on3pk >
just a for loop that repeats "n" times
02:53
<
matthewd >
n.times { .. }
02:54
<
on3pk >
is it possible to get the index too?
02:54
<
matthewd >
n.times { |i| puts i }
02:54
<
matthewd >
(but you should probably use do/end)
02:55
<
matthewd >
Just style, because in real code you'll be writing this multi-line
02:56
<
matthewd >
n.times do |i|; puts i; ...; end, where semicolon is newline
02:58
nadir has quit [Quit: Connection closed for inactivity]
02:59
optiz0r has quit [Ping timeout: 260 seconds]
03:02
sspreitz has quit [Ping timeout: 255 seconds]
03:03
gnufied has quit [Quit: Leaving]
03:04
sspreitz has joined #ruby
03:05
rigel_ has joined #ruby
03:05
nadir has joined #ruby
03:06
aryaching has joined #ruby
03:07
aspiers has quit [Ping timeout: 260 seconds]
03:13
ResidentBiscuit has quit [Remote host closed the connection]
03:15
emilford has joined #ruby
03:18
tau has quit [Remote host closed the connection]
03:18
cdg has quit [Remote host closed the connection]
03:20
emilford has quit [Ping timeout: 268 seconds]
03:20
duderonomy has joined #ruby
03:23
nankyokusei has joined #ruby
03:24
jhack has joined #ruby
03:26
jsgrant has quit [Read error: Connection reset by peer]
03:27
nankyokusei has quit [Ping timeout: 240 seconds]
03:29
bocaneri has joined #ruby
03:29
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
03:30
__Yiota has joined #ruby
03:31
bocaneri has quit [Max SendQ exceeded]
03:31
JoshS has joined #ruby
03:31
aryaching has quit [Ping timeout: 255 seconds]
03:32
bocaneri has joined #ruby
03:33
optiz0r has joined #ruby
03:34
kent\n has quit [Ping timeout: 240 seconds]
03:41
bmurt has joined #ruby
03:42
kent\n has joined #ruby
03:42
naprimer_2 has quit [Ping timeout: 240 seconds]
03:43
minimalism has quit [Quit: minimalism]
03:44
bmurt has quit [Client Quit]
03:45
bmurt has joined #ruby
03:46
jhack has quit [Quit: jhack]
03:49
mim1k has joined #ruby
03:51
dcluna has quit [Ping timeout: 260 seconds]
03:52
naprimer_2 has joined #ruby
03:53
mim1k has quit [Ping timeout: 260 seconds]
04:01
QoQOoO has quit [Quit: Connection closed for inactivity]
04:02
mogaj has quit [Remote host closed the connection]
04:04
mogaj has joined #ruby
04:04
millerti has quit [Read error: Connection reset by peer]
04:05
aryaching has joined #ruby
04:05
braincrash has quit [Quit: bye bye]
04:06
dcluna has joined #ruby
04:08
mogaj has quit [Ping timeout: 240 seconds]
04:09
toretore has quit [Ping timeout: 260 seconds]
04:12
hutch34 has joined #ruby
04:13
pilne has quit [Quit: Quitting!]
04:14
millerti has joined #ruby
04:15
<
on3pk >
allisio: thanks
04:15
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:17
whathappens has joined #ruby
04:17
whathappens is now known as Guest93896
04:19
hutch34 has quit [Ping timeout: 260 seconds]
04:25
Guest93896 has quit [Quit: Leaving...]
04:26
cvander has quit [Ping timeout: 240 seconds]
04:28
govg has quit [Ping timeout: 260 seconds]
04:29
cvander has joined #ruby
04:29
Trynemjoel has quit [Ping timeout: 245 seconds]
04:31
Trynemjoel has joined #ruby
04:33
jackjackdripper has joined #ruby
04:35
bkxd has joined #ruby
04:35
bkxd_ has quit [Ping timeout: 268 seconds]
04:38
al2o3-cr has joined #ruby
04:39
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:45
gix has quit [Ping timeout: 255 seconds]
04:46
minimalism has joined #ruby
04:50
gix has joined #ruby
04:59
kristofferR has joined #ruby
05:03
dionysus69 has joined #ruby
05:05
braincrash has joined #ruby
05:09
Channel6 has joined #ruby
05:10
ta__ has joined #ruby
05:10
armin_ has joined #ruby
05:11
cpruitt_ has joined #ruby
05:11
hogetaro_ has joined #ruby
05:11
duper` has joined #ruby
05:11
jackjackdripper1 has joined #ruby
05:11
jidar_ has joined #ruby
05:11
Rutix`away has joined #ruby
05:11
Rutix`away has joined #ruby
05:11
Rutix`away has quit [Changing host]
05:12
DTZUZU2 has joined #ruby
05:12
statelesscode_ has joined #ruby
05:13
chihhsin_ has joined #ruby
05:13
m4rCsi_ has joined #ruby
05:13
is_null_ has joined #ruby
05:13
CabbageMan69 has joined #ruby
05:13
ResidentBiscuit has joined #ruby
05:13
madsa has joined #ruby
05:13
Gnubie__ has joined #ruby
05:13
Puffball_ has joined #ruby
05:13
kmhn_ has joined #ruby
05:14
angseus has joined #ruby
05:14
madsa is now known as Guest84816
05:14
Meeh_ has joined #ruby
05:14
badeball_ has joined #ruby
05:14
cibs_ has joined #ruby
05:14
jrmhurs102 has joined #ruby
05:14
hxegon_ has joined #ruby
05:14
M-Techni1 has joined #ruby
05:14
Kuukunen- has joined #ruby
05:14
A124 has quit [Disconnected by services]
05:14
A124 has joined #ruby
05:14
VladGh_ has joined #ruby
05:14
jaredrhine_ has joined #ruby
05:14
ljarvis_ has joined #ruby
05:14
rprimus_ has joined #ruby
05:14
ironcame1 has joined #ruby
05:14
patteh_ has joined #ruby
05:14
xsdg_ has joined #ruby
05:14
queequeg2 has joined #ruby
05:14
rubyfizz_ has joined #ruby
05:14
DefV has joined #ruby
05:15
jdelStro1her has joined #ruby
05:15
genpaku_ has joined #ruby
05:15
antgel_ has joined #ruby
05:15
claw_ has joined #ruby
05:15
sysanthrope_ has joined #ruby
05:15
radic_ has joined #ruby
05:15
bayed has joined #ruby
05:16
d^sh_ has joined #ruby
05:16
sindork_ has joined #ruby
05:16
rkeene_ has joined #ruby
05:16
tatey has quit [Ping timeout: 260 seconds]
05:16
mburns has quit [Ping timeout: 260 seconds]
05:16
D9 has quit [Ping timeout: 260 seconds]
05:16
quiller has quit [Ping timeout: 260 seconds]
05:16
svkurowski has quit [Ping timeout: 260 seconds]
05:16
shinnya has quit [Ping timeout: 260 seconds]
05:16
maloik has quit [Ping timeout: 260 seconds]
05:16
Rutix has quit [Ping timeout: 260 seconds]
05:16
redhedded1 has quit [Ping timeout: 260 seconds]
05:16
coffeejunk has quit [Ping timeout: 260 seconds]
05:16
angseus_ has quit [Ping timeout: 260 seconds]
05:16
`derpy has quit [Ping timeout: 260 seconds]
05:16
FifthWall has quit [Ping timeout: 260 seconds]
05:16
minimalism has quit [Ping timeout: 260 seconds]
05:16
Irishluck83 has quit [Ping timeout: 260 seconds]
05:16
AlexRussia has quit [Ping timeout: 260 seconds]
05:16
cibs has quit [Ping timeout: 260 seconds]
05:16
cpruitt has quit [Ping timeout: 260 seconds]
05:16
rkeene has quit [Ping timeout: 260 seconds]
05:16
ljarvis has quit [Ping timeout: 260 seconds]
05:16
funnel has quit [Ping timeout: 260 seconds]
05:16
mradmacher has quit [Ping timeout: 260 seconds]
05:16
byte512 has quit [Ping timeout: 260 seconds]
05:16
rprimus has quit [Ping timeout: 260 seconds]
05:16
hxegon has quit [Ping timeout: 260 seconds]
05:16
biox has quit [Ping timeout: 260 seconds]
05:16
_bayed has quit [Ping timeout: 260 seconds]
05:16
iMadper has quit [Ping timeout: 260 seconds]
05:16
kenichi has quit [Ping timeout: 260 seconds]
05:16
sunya7a_ has quit [Ping timeout: 260 seconds]
05:16
greenhat_ has quit [Ping timeout: 260 seconds]
05:16
braincrash has quit [Ping timeout: 260 seconds]
05:16
aryaching has quit [Ping timeout: 260 seconds]
05:16
Puffball has quit [Ping timeout: 260 seconds]
05:16
adam12 has quit [Ping timeout: 260 seconds]
05:16
genpaku has quit [Ping timeout: 260 seconds]
05:16
Cohedrin has quit [Ping timeout: 260 seconds]
05:16
ignarps has quit [Ping timeout: 260 seconds]
05:16
hogetaro has quit [Ping timeout: 260 seconds]
05:16
blackwind_123 has quit [Ping timeout: 260 seconds]
05:16
BTRE has quit [Ping timeout: 260 seconds]
05:16
MasterNayru has quit [Ping timeout: 260 seconds]
05:16
xsdg has quit [Ping timeout: 260 seconds]
05:16
kies has quit [Ping timeout: 260 seconds]
05:16
rubyfizz has quit [Ping timeout: 260 seconds]
05:16
pliniker has quit [Ping timeout: 260 seconds]
05:16
ta has quit [Ping timeout: 260 seconds]
05:16
valkyr2e has quit [Ping timeout: 260 seconds]
05:16
radic has quit [Ping timeout: 260 seconds]
05:16
Guest7221 has quit [Ping timeout: 260 seconds]
05:16
gf3 has quit [Ping timeout: 260 seconds]
05:16
m4rCsi has quit [Ping timeout: 260 seconds]
05:16
j416 has quit [Ping timeout: 260 seconds]
05:16
statelesscode has quit [Ping timeout: 260 seconds]
05:16
DefV_ has quit [Ping timeout: 260 seconds]
05:16
claw has quit [Ping timeout: 260 seconds]
05:16
duracrisis has quit [Ping timeout: 260 seconds]
05:16
clamstar has quit [Ping timeout: 260 seconds]
05:16
g3funk has quit [Ping timeout: 260 seconds]
05:16
armin has quit [Ping timeout: 260 seconds]
05:16
z3uS has quit [Ping timeout: 260 seconds]
05:16
jesk has quit [Ping timeout: 260 seconds]
05:16
avelldiroll has quit [Ping timeout: 260 seconds]
05:16
ironcamel has quit [Ping timeout: 260 seconds]
05:16
sysanthrope has quit [Ping timeout: 260 seconds]
05:16
iooner has quit [Ping timeout: 260 seconds]
05:16
jaredrhine has quit [Ping timeout: 260 seconds]
05:16
alphor_ has joined #ruby
05:16
gf3 has joined #ruby
05:16
svkurowski has joined #ruby
05:16
mmasaki has quit [Ping timeout: 240 seconds]
05:16
bokayio has quit [Ping timeout: 240 seconds]
05:16
alphor has quit [Ping timeout: 240 seconds]
05:16
iamayam has quit [Ping timeout: 240 seconds]
05:16
pjaspers has quit [Ping timeout: 240 seconds]
05:16
chihhsin has quit [Ping timeout: 240 seconds]
05:16
theRoUS has quit [Ping timeout: 240 seconds]
05:16
jrmhurst92 has quit [Ping timeout: 240 seconds]
05:16
ryotarai has quit [Ping timeout: 240 seconds]
05:16
badeball has quit [Ping timeout: 240 seconds]
05:16
Radar has quit [Ping timeout: 240 seconds]
05:16
yorickpeterse has quit [Ping timeout: 240 seconds]
05:16
SirFunk has quit [Ping timeout: 240 seconds]
05:16
devster31 has quit [Ping timeout: 240 seconds]
05:16
jackjackdripper has quit [Ping timeout: 240 seconds]
05:16
d^sh has quit [Ping timeout: 240 seconds]
05:16
Mon_Ouie has quit [Ping timeout: 240 seconds]
05:16
kmhn has quit [Ping timeout: 240 seconds]
05:16
araujo has quit [Ping timeout: 240 seconds]
05:16
Lildirt has quit [Ping timeout: 240 seconds]
05:16
surrounder has quit [Ping timeout: 240 seconds]
05:16
xybre has quit [Ping timeout: 240 seconds]
05:16
PaulePanter has quit [Ping timeout: 240 seconds]
05:16
VladGh has quit [Ping timeout: 240 seconds]
05:16
MMZF has quit [Ping timeout: 240 seconds]
05:16
patteh has quit [Ping timeout: 240 seconds]
05:16
M-Technic has quit [Ping timeout: 240 seconds]
05:16
queequeg1 has quit [Ping timeout: 240 seconds]
05:16
friday has quit [Ping timeout: 240 seconds]
05:16
Kuukunen has quit [Ping timeout: 240 seconds]
05:16
ddffg has quit [Ping timeout: 240 seconds]
05:16
d0nn1e has quit [Ping timeout: 240 seconds]
05:16
rigel_ has quit [Ping timeout: 240 seconds]
05:16
antgel has quit [Ping timeout: 240 seconds]
05:16
dasher00 has quit [Ping timeout: 240 seconds]
05:16
hfp_work has quit [Ping timeout: 240 seconds]
05:16
DTZUZU has quit [Ping timeout: 240 seconds]
05:16
soud has quit [Ping timeout: 240 seconds]
05:16
cajone has quit [Ping timeout: 240 seconds]
05:16
is_null has quit [Ping timeout: 240 seconds]
05:16
vdl has quit [Ping timeout: 240 seconds]
05:16
SCHAAP137 has quit [Ping timeout: 240 seconds]
05:16
phreakocious has quit [Ping timeout: 240 seconds]
05:16
duper has quit [Ping timeout: 240 seconds]
05:16
jidar has quit [Ping timeout: 240 seconds]
05:16
TheMainFrame_ has quit [Ping timeout: 240 seconds]
05:16
Gnubie_ has quit [Ping timeout: 240 seconds]
05:16
Meeh has quit [Ping timeout: 240 seconds]
05:16
oblique has quit [Ping timeout: 240 seconds]
05:16
mr_rich101 has quit [Ping timeout: 240 seconds]
05:16
bastelfreak has quit [Ping timeout: 240 seconds]
05:16
moufl has quit [Ping timeout: 240 seconds]
05:16
jdelStrother has quit [Ping timeout: 240 seconds]
05:16
D9- has joined #ruby
05:16
sindork has quit [Ping timeout: 240 seconds]
05:16
chrisarcand has quit [Ping timeout: 240 seconds]
05:16
bokayio has joined #ruby
05:16
wlanboy has quit [Ping timeout: 240 seconds]
05:16
cpruitt_ is now known as cpruitt
05:16
genpaku_ is now known as genpaku
05:16
xybr_ has joined #ruby
05:16
mayamai has joined #ruby
05:16
statelesscode_ is now known as statelesscode
05:17
wlanboy_ has joined #ruby
05:17
Lildirt|SomeoneT has joined #ruby
05:17
jidar_ is now known as jidar
05:17
Cohedrin has joined #ruby
05:17
Canucktux has quit [Ping timeout: 245 seconds]
05:17
Radar has joined #ruby
05:17
emilford has joined #ruby
05:17
mr_rich102 has joined #ruby
05:17
FifthWall has joined #ruby
05:17
ryotarai has joined #ruby
05:17
`derpy has joined #ruby
05:17
friday has joined #ruby
05:17
mradmacher has joined #ruby
05:17
z3uS has joined #ruby
05:17
Radar is now known as Guest78599
05:17
Irishluck83 has joined #ruby
05:17
coffeejunk has joined #ruby
05:17
kenichi has joined #ruby
05:17
yorickpeterse has joined #ruby
05:17
greenhat has joined #ruby
05:17
araujo has joined #ruby
05:17
araujo has joined #ruby
05:17
araujo has quit [Changing host]
05:17
cajone has joined #ruby
05:17
shinnya has joined #ruby
05:17
quiller has joined #ruby
05:17
phreakocious has joined #ruby
05:17
devster31 has joined #ruby
05:17
ResidentBiscuit has quit [Ping timeout: 240 seconds]
05:17
hfp_work has joined #ruby
05:17
mmasaki has joined #ruby
05:17
soud has joined #ruby
05:17
blackwind_123 has joined #ruby
05:17
theRoUS has joined #ruby
05:17
BTRE has joined #ruby
05:17
tatey has joined #ruby
05:17
MMZF has joined #ruby
05:17
MMZF has joined #ruby
05:17
minimalism has joined #ruby
05:17
pjaspers has joined #ruby
05:17
biox has joined #ruby
05:18
jesk has joined #ruby
05:18
duracrisis has joined #ruby
05:18
ignarps has joined #ruby
05:18
adam- has joined #ruby
05:18
oblique has joined #ruby
05:18
d0nn1e has joined #ruby
05:18
kies has joined #ruby
05:18
j416 has joined #ruby
05:18
braincrash has joined #ruby
05:18
SirFunk has joined #ruby
05:18
Mon_Ouie has joined #ruby
05:18
TheMainFrame has joined #ruby
05:18
surrounder has joined #ruby
05:18
pliniker has joined #ruby
05:18
mburns has joined #ruby
05:18
dasher00 has joined #ruby
05:18
AlexRussia has joined #ruby
05:19
avelldiroll has joined #ruby
05:19
byte512 has joined #ruby
05:19
vdl has joined #ruby
05:19
chromis has quit [Ping timeout: 241 seconds]
05:19
manveru has quit [Ping timeout: 240 seconds]
05:19
bove has quit [Ping timeout: 252 seconds]
05:19
iMadper has joined #ruby
05:19
iMadper has joined #ruby
05:19
bastelfreak has joined #ruby
05:19
jmcc_ has quit [Ping timeout: 255 seconds]
05:19
sunya7a_ has joined #ruby
05:19
iooner has joined #ruby
05:19
coredump has quit [Ping timeout: 240 seconds]
05:19
mrsolo has quit [Ping timeout: 240 seconds]
05:19
deimos has quit [Ping timeout: 240 seconds]
05:19
g3funk has joined #ruby
05:19
yo61 has quit [Ping timeout: 240 seconds]
05:19
dukedave has quit [Ping timeout: 240 seconds]
05:19
rann has quit [Ping timeout: 240 seconds]
05:19
discopatrick has quit [Ping timeout: 240 seconds]
05:19
cstrahan has quit [Ping timeout: 258 seconds]
05:19
pizzaops has quit [Ping timeout: 245 seconds]
05:20
jdelreal has quit [Ping timeout: 240 seconds]
05:20
Iacobus has quit [Ping timeout: 240 seconds]
05:20
ggherdov has quit [Ping timeout: 255 seconds]
05:20
weez17_ has quit [Ping timeout: 240 seconds]
05:20
pifon has quit [Ping timeout: 255 seconds]
05:20
Rodya_ has quit [Remote host closed the connection]
05:20
machty has quit [Ping timeout: 258 seconds]
05:20
lancetw has quit [Ping timeout: 240 seconds]
05:20
funnel has joined #ruby
05:20
boxrick1 has quit [Ping timeout: 240 seconds]
05:21
valkyr2e has joined #ruby
05:21
kireevco has quit [Ping timeout: 264 seconds]
05:22
emilford has quit [Ping timeout: 260 seconds]
05:22
PaulePanter has joined #ruby
05:22
chrisarcand has joined #ruby
05:22
jmcc_ has joined #ruby
05:22
weez17_ has joined #ruby
05:22
rann has joined #ruby
05:22
boxrick1 has joined #ruby
05:22
pizzaops has joined #ruby
05:22
chromis has joined #ruby
05:22
ggherdov has joined #ruby
05:23
redhedded1 has joined #ruby
05:23
manveru has joined #ruby
05:23
mrsolo has joined #ruby
05:23
SCHAAP137 has joined #ruby
05:23
jdelreal has joined #ruby
05:23
nankyokusei has joined #ruby
05:23
lancetw has joined #ruby
05:24
Iacobus has joined #ruby
05:24
bove has joined #ruby
05:24
kireevco has joined #ruby
05:24
dukedave has joined #ruby
05:24
discopatrick has joined #ruby
05:24
machty has joined #ruby
05:24
clamstar has joined #ruby
05:24
yo61 has joined #ruby
05:25
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
05:25
coredump has joined #ruby
05:25
ggherdov has quit [Excess Flood]
05:25
ddffg has joined #ruby
05:26
deimos has joined #ruby
05:27
Canucktux has joined #ruby
05:27
moufl has joined #ruby
05:27
ggherdov has joined #ruby
05:28
cstrahan has joined #ruby
05:28
nankyokusei has quit [Ping timeout: 255 seconds]
05:29
pifon has joined #ruby
05:32
jgnagy has quit [Remote host closed the connection]
05:33
jgnagy has joined #ruby
05:33
jdm has joined #ruby
05:35
Rodya_ has joined #ruby
05:35
aryaching has joined #ruby
05:37
tau has joined #ruby
05:38
Cohedrin_ has joined #ruby
05:38
pifon has quit [Excess Flood]
05:39
hutch34 has joined #ruby
05:39
pifon has joined #ruby
05:40
kireevco_ has joined #ruby
05:40
jtdoncas has quit [Ping timeout: 240 seconds]
05:40
PaulePan1er has joined #ruby
05:40
tatey_ has joined #ruby
05:41
madper_phantom has joined #ruby
05:41
ryotarai_ has joined #ruby
05:41
adam| has joined #ruby
05:41
jgnagy has quit [Ping timeout: 260 seconds]
05:41
kireevco has quit [Ping timeout: 260 seconds]
05:41
adam- has quit [Ping timeout: 260 seconds]
05:41
funnel has quit [Ping timeout: 260 seconds]
05:41
FifthWall has quit [Ping timeout: 260 seconds]
05:41
svkurowski has quit [Ping timeout: 260 seconds]
05:41
iMadper has quit [Ping timeout: 260 seconds]
05:41
mburns has quit [Ping timeout: 260 seconds]
05:41
mradmacher has quit [Ping timeout: 260 seconds]
05:41
mayamai has quit [Ping timeout: 260 seconds]
05:41
Cohedrin has quit [Ping timeout: 260 seconds]
05:41
alphor_ has quit [Ping timeout: 260 seconds]
05:41
gf3 has quit [Ping timeout: 260 seconds]
05:41
iamayam has joined #ruby
05:41
kkh has joined #ruby
05:41
alphor has joined #ruby
05:41
juiko has joined #ruby
05:41
kireevco_ is now known as kireevco
05:41
greenhat_ has joined #ruby
05:41
svkurowski has joined #ruby
05:41
pifon has quit [Changing host]
05:42
kireevco has quit [Changing host]
05:42
kireevco has joined #ruby
05:42
pifon has joined #ruby
05:42
fridayfriday has joined #ruby
05:42
sniffer has joined #ruby
05:42
funnel has joined #ruby
05:42
XF has joined #ruby
05:42
XF has joined #ruby
05:42
XF has quit [Changing host]
05:42
friday has quit [Ping timeout: 240 seconds]
05:42
bokayio has quit [Ping timeout: 240 seconds]
05:42
g3funk has quit [Ping timeout: 240 seconds]
05:42
ryotarai has quit [Ping timeout: 240 seconds]
05:42
duracrisis has quit [Ping timeout: 240 seconds]
05:42
mmasaki has quit [Ping timeout: 240 seconds]
05:42
tatey has quit [Ping timeout: 240 seconds]
05:42
jesk has quit [Ping timeout: 240 seconds]
05:42
blackwind_123 has quit [Ping timeout: 240 seconds]
05:42
greenhat has quit [Ping timeout: 240 seconds]
05:42
fridayfriday is now known as friday
05:42
D9- has quit [Ping timeout: 240 seconds]
05:42
PaulePanter has quit [Ping timeout: 240 seconds]
05:42
MMZF has quit [Ping timeout: 240 seconds]
05:42
avelldiroll has quit [Ping timeout: 240 seconds]
05:42
bokayio has joined #ruby
05:42
mmasaki has joined #ruby
05:42
D9 has joined #ruby
05:42
blackwind_123 has joined #ruby
05:42
ryotarai_ is now known as ryotarai
05:42
tatey_ is now known as tatey
05:42
XF is now known as MMZF
05:42
Cohedrin_ has quit [Client Quit]
05:42
FifthWall_ has joined #ruby
05:42
jesk1 has joined #ruby
05:42
FifthWall_ is now known as FifthWall
05:43
mradmacher has joined #ruby
05:43
avelldiroll has joined #ruby
05:43
braidn_ has joined #ruby
05:46
mburns has joined #ruby
05:47
juiko has quit [Remote host closed the connection]
05:47
agent_white has quit [Quit: leaving]
05:48
hutch34 has quit [Ping timeout: 240 seconds]
05:49
mim1k has joined #ruby
05:52
gf3 has joined #ruby
05:54
mim1k has quit [Ping timeout: 268 seconds]
05:54
Cohedrin has joined #ruby
05:55
dhollinger has quit [Ping timeout: 240 seconds]
05:56
ins64 has joined #ruby
05:58
agent_white has joined #ruby
05:58
dhollinger has joined #ruby
06:00
mrwn has joined #ruby
06:01
ngpestelos has joined #ruby
06:05
aspiers has joined #ruby
06:06
marcdel has joined #ruby
06:08
tau has quit [Remote host closed the connection]
06:10
dionysus69 has quit [Ping timeout: 260 seconds]
06:16
enterprisey has joined #ruby
06:16
enterprisey has quit [Read error: Connection reset by peer]
06:18
emilford has joined #ruby
06:19
Guest78599 is now known as Radar
06:19
Radar has quit [Changing host]
06:19
Radar has joined #ruby
06:21
mitt3ns has joined #ruby
06:22
emilford has quit [Ping timeout: 240 seconds]
06:23
__Yiota has joined #ruby
06:24
agent_white has quit [Ping timeout: 240 seconds]
06:24
mrwn has quit [Remote host closed the connection]
06:25
__Yiota has quit [Client Quit]
06:29
ngpestelos has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
06:30
justicefries has left #ruby [#ruby]
06:30
Irishluck83 has quit [Quit: WeeChat 1.4]
06:32
Seym0ur has joined #ruby
06:32
Seym0ur has left #ruby ["Leaving"]
06:32
rakm has joined #ruby
06:33
pulkit4tech has joined #ruby
06:33
djbkd has joined #ruby
06:33
mitt3ns is now known as agent_white
06:34
pulkit4tech has left #ruby [#ruby]
06:38
__Yiota has joined #ruby
06:38
pulkit4tech has joined #ruby
06:39
pulkit4tech has left #ruby [#ruby]
06:43
Channel6 has quit [Quit: Leaving]
06:44
Meeh_ is now known as Meeh
06:45
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
06:46
BTRE has quit [Quit: Leaving]
06:47
BTRE has joined #ruby
06:48
aspiers has quit [Ping timeout: 240 seconds]
06:50
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:53
KicStart has quit [Quit: Leaving.]
06:54
ngpestelos has joined #ruby
06:55
jamesaxl has joined #ruby
06:59
mtkd has quit [Read error: Connection reset by peer]
06:59
^mtkd has joined #ruby
07:00
hutch34 has joined #ruby
07:01
cibs_ has quit [Ping timeout: 268 seconds]
07:02
cibs has joined #ruby
07:08
hutch34 has quit [Ping timeout: 240 seconds]
07:09
benlieb has joined #ruby
07:10
Rodya_ has quit [Remote host closed the connection]
07:11
Rodya_ has joined #ruby
07:15
CloCkWeRX has joined #ruby
07:15
marcdel has quit [Ping timeout: 240 seconds]
07:16
Rodya_ has quit [Remote host closed the connection]
07:17
Rodya_ has joined #ruby
07:17
charliesome has joined #ruby
07:18
tvw has joined #ruby
07:18
emilford has joined #ruby
07:19
Xiti has quit [Quit: Xiti]
07:20
marcdel has joined #ruby
07:21
Rodya_ has quit [Ping timeout: 240 seconds]
07:22
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
07:22
saneax-_-|AFK is now known as saneax
07:23
emilford has quit [Ping timeout: 260 seconds]
07:23
ins64 has quit [Read error: Connection reset by peer]
07:24
ngpestelos has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
07:24
nankyokusei has joined #ruby
07:25
aurelien has quit [Remote host closed the connection]
07:25
dionysus69 has joined #ruby
07:29
nankyokusei has quit [Ping timeout: 240 seconds]
07:30
ins64 has joined #ruby
07:32
Psy-Q has joined #ruby
07:32
dionysus69 has quit [Ping timeout: 255 seconds]
07:32
patarr has joined #ruby
07:34
saneax is now known as saneax-_-|AFK
07:35
aurelien has joined #ruby
07:37
djbkd_ has joined #ruby
07:37
jtdoncas has joined #ruby
07:38
patarr has quit [Ping timeout: 260 seconds]
07:42
jtdoncas has quit [Ping timeout: 260 seconds]
07:42
aryaching has quit [Read error: Connection reset by peer]
07:43
nofxxx has joined #ruby
07:43
nahra` has quit [Quit: ERC (IRC client for Emacs 25.1.1)]
07:46
haxrbyte has quit [Remote host closed the connection]
07:47
haxrbyte has joined #ruby
07:47
nofxx has quit [Ping timeout: 260 seconds]
07:48
haxrbyte has quit [Read error: Connection reset by peer]
07:49
djbkd_ has quit [Remote host closed the connection]
07:49
renchan has joined #ruby
07:49
haxrbyte_ has joined #ruby
07:49
djbkd_ has joined #ruby
07:49
mim1k has joined #ruby
07:51
benlieb has quit [Quit: benlieb]
07:53
patarr has joined #ruby
07:53
djbkd_ has quit [Ping timeout: 240 seconds]
07:54
mim1k has quit [Ping timeout: 260 seconds]
07:54
moei has quit [Quit: Leaving...]
07:55
moei has joined #ruby
07:56
tristanp has quit [Remote host closed the connection]
07:57
govg has joined #ruby
07:58
pawnbox has quit [Ping timeout: 268 seconds]
07:58
patarr has quit [Ping timeout: 255 seconds]
08:06
zapata has quit [Quit: WeeChat 1.7]
08:09
nahra has joined #ruby
08:09
zapata has joined #ruby
08:17
Rodya_ has joined #ruby
08:18
Qchmqs has joined #ruby
08:19
Gaelan has joined #ruby
08:19
<
Gaelan >
What’s the deal with rescue vs. catch?
08:19
mnemonic has quit [Quit: WeeChat 1.7]
08:19
emilford has joined #ruby
08:20
User458764 has joined #ruby
08:22
<
allisio >
Gaelan: Whereas lots of other languages use a `catch` keyword for exception handling, Ruby uses `rescue` and `catch` is instead used for something much closer to `goto`.
08:23
<
Gaelan >
I love Ruby, but it has this way of doing things differently for no reason
08:23
<
Gaelan >
See: case/when
08:23
<
Gaelan >
as opposed to switch/case
08:24
<
allisio >
But it's not the same thing...
08:24
<
Gaelan >
More similar than different
08:24
triangles has quit [Ping timeout: 240 seconds]
08:25
emilford has quit [Ping timeout: 268 seconds]
08:25
<
Gaelan >
There’s cool === tricks, yeah, but for the core case of “do different thing depending on value” it’s the same as other languages (except the break)
08:26
rippa has joined #ruby
08:26
__Yiota has joined #ruby
08:26
djellemah_ is now known as djellemah
08:30
_whitelogger has joined #ruby
08:30
brenthebb has joined #ruby
08:33
brenthebb has left #ruby [#ruby]
08:36
troulouliou_div2 has joined #ruby
08:39
myk267 has quit [Ping timeout: 240 seconds]
08:43
pawnbox has joined #ruby
08:43
mogaj has joined #ruby
08:45
pawnbox_ has joined #ruby
08:46
pawnbox has quit [Remote host closed the connection]
08:48
mogaj has quit [Ping timeout: 255 seconds]
08:48
myk267 has joined #ruby
08:49
mim1k has joined #ruby
08:50
mitt3ns has joined #ruby
08:51
Gaelan has quit [Quit: Gaelan]
08:53
agent_white has quit [Ping timeout: 240 seconds]
08:54
mim1k has quit [Ping timeout: 260 seconds]
08:57
tristanp has joined #ruby
09:02
tildes has joined #ruby
09:02
tristanp has quit [Ping timeout: 260 seconds]
09:05
hutch34 has joined #ruby
09:06
antgel_ has quit [Ping timeout: 260 seconds]
09:08
tercenya_ has quit [Ping timeout: 240 seconds]
09:10
tercenya has joined #ruby
09:17
tercenya has quit [Read error: Connection reset by peer]
09:17
Rodya_ has quit [Quit: Leaving...]
09:18
Gasher has joined #ruby
09:19
hutch34 has quit [Ping timeout: 240 seconds]
09:20
emilford has joined #ruby
09:22
tercenya has joined #ruby
09:23
cibs has quit [Ping timeout: 260 seconds]
09:24
minimalism has quit [Quit: minimalism]
09:25
cibs has joined #ruby
09:25
emilford has quit [Ping timeout: 255 seconds]
09:31
renchan has quit [Remote host closed the connection]
09:32
ddffg has quit [Ping timeout: 240 seconds]
09:33
DoubleMalt has joined #ruby
09:34
renchan has joined #ruby
09:34
kristofferR has joined #ruby
09:37
DarthGandalf has quit [Quit: Bye]
09:38
DarthGandalf has joined #ruby
09:38
jtdoncas has joined #ruby
09:42
jtdoncas has quit [Ping timeout: 240 seconds]
09:45
nettoweb has joined #ruby
09:46
ddffg has joined #ruby
09:46
nettoweb has quit [Client Quit]
09:48
shinnya has quit [Ping timeout: 240 seconds]
09:51
nofxxx has quit [Ping timeout: 260 seconds]
09:51
_sfiguser has joined #ruby
09:52
renchan has quit [Ping timeout: 260 seconds]
09:52
SuperLag_ has joined #ruby
09:53
harfangk has joined #ruby
09:54
patarr has joined #ruby
09:55
SuperLag has quit [Ping timeout: 255 seconds]
09:58
<
al2o3-cr >
ruby rocks
09:58
nettoweb has joined #ruby
09:59
patarr has quit [Ping timeout: 260 seconds]
09:59
anisha_ has joined #ruby
10:01
blackwind_123 has quit [Quit: Hello, 911? Yeah, it's caught in the window this time.]
10:02
blackwind_123 has joined #ruby
10:04
blackmes1 has joined #ruby
10:05
saneax-_-|AFK is now known as saneax
10:07
<
al2o3-cr >
REM. one of the best bands ever!
10:09
renchan has joined #ruby
10:10
tomphp has joined #ruby
10:11
marr has joined #ruby
10:11
emilford has joined #ruby
10:21
certainty has joined #ruby
10:32
tvw has joined #ruby
10:34
moei has quit [Read error: Connection reset by peer]
10:34
pandaant has joined #ruby
10:34
moei has joined #ruby
10:35
saneax is now known as saneax-_-|AFK
10:36
blackwind_123 has quit [Ping timeout: 240 seconds]
10:38
tvw has quit [Read error: No route to host]
10:41
ngpestelos has joined #ruby
10:42
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:44
flips has joined #ruby
10:45
harfangk has quit [Read error: Connection reset by peer]
10:45
Dimik has quit [Ping timeout: 260 seconds]
10:46
ngpestelos has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
10:48
blackwind_123 has joined #ruby
10:48
mikecmpbll has joined #ruby
10:49
harfangk has joined #ruby
10:51
Jrz has joined #ruby
10:51
Jrz has quit [Max SendQ exceeded]
10:53
tildes_ has joined #ruby
10:55
gizmore has joined #ruby
10:55
gloscombe_ has joined #ruby
10:56
tildes has quit [Ping timeout: 240 seconds]
10:56
troulouliou_div2 has quit [Remote host closed the connection]
10:58
tristanp has joined #ruby
10:59
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
10:59
Pumukel has joined #ruby
11:00
nettoweb has joined #ruby
11:03
tristanp has quit [Ping timeout: 260 seconds]
11:05
Pumukel has quit [Ping timeout: 255 seconds]
11:05
tercenya has quit [Ping timeout: 260 seconds]
11:07
tercenya has joined #ruby
11:09
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:10
nankyokusei has joined #ruby
11:10
nettoweb has joined #ruby
11:12
toretore has joined #ruby
11:12
nankyokusei has quit [Remote host closed the connection]
11:15
hutch34 has joined #ruby
11:15
Polarina has quit [Ping timeout: 255 seconds]
11:17
cibs has quit [Ping timeout: 255 seconds]
11:18
tercenya_ has joined #ruby
11:18
tommylom1ykins is now known as tommylommykins
11:18
Polarina has joined #ruby
11:19
cibs has joined #ruby
11:20
tercenya has quit [Ping timeout: 240 seconds]
11:22
charliesome has joined #ruby
11:22
hutch34 has quit [Ping timeout: 260 seconds]
11:24
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:25
CloCkWeRX has quit [Quit: Leaving.]
11:27
mogaj has joined #ruby
11:28
Pumukel has joined #ruby
11:29
jamesaxl has quit [Ping timeout: 240 seconds]
11:29
jamesaxl_ has joined #ruby
11:31
Cohedrin has joined #ruby
11:32
mogaj has quit [Ping timeout: 240 seconds]
11:32
Cohedrin has quit [Client Quit]
11:33
Pumukel has quit [Ping timeout: 255 seconds]
11:34
Kristjan12345 has joined #ruby
11:34
<
Kristjan12345 >
Hello. Are there any sweet pussies here, who would like to meet an andorable Estonian male? Please send me first some pictures of your naked bodies.
11:34
Pumukel has joined #ruby
11:36
mikecmpbll has quit [Quit: inabit. zz.]
11:36
nothingnew has quit [Remote host closed the connection]
11:38
shinnya has joined #ruby
11:38
Kristjan12345 has quit [K-Lined]
11:39
jtdoncas has joined #ruby
11:39
Pumukel has quit [Ping timeout: 255 seconds]
11:43
alirezabashiri has joined #ruby
11:44
jtdoncas has quit [Ping timeout: 240 seconds]
11:44
Jackneill_ has joined #ruby
11:48
j2k has joined #ruby
11:48
emilford has quit [Ping timeout: 240 seconds]
11:49
anisha_ has quit [Quit: This computer has gone to sleep]
11:50
mitt3ns has quit [Read error: Connection reset by peer]
11:50
mitt3ns has joined #ruby
11:52
tildes_ has quit [Ping timeout: 260 seconds]
11:52
nothingnew has joined #ruby
11:53
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
11:54
patarr has joined #ruby
11:58
nadir has quit [Quit: Connection closed for inactivity]
11:58
patarr has quit [Ping timeout: 240 seconds]
12:00
emilford has joined #ruby
12:04
harfangk has quit [Remote host closed the connection]
12:04
dionysus69 has joined #ruby
12:11
blackwind_123 has quit [Ping timeout: 240 seconds]
12:12
dionysus69 has quit [Ping timeout: 268 seconds]
12:14
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:15
tomphp has joined #ruby
12:17
blackwind_123 has joined #ruby
12:17
tomphp has quit [Client Quit]
12:19
ruid_ has joined #ruby
12:21
nothingnew has quit [Read error: Connection reset by peer]
12:26
emilford has quit [Ping timeout: 255 seconds]
12:27
certainty has quit [Ping timeout: 240 seconds]
12:29
FabioLuizRegis has joined #ruby
12:30
JoshS has quit [Read error: Connection reset by peer]
12:30
FabioLuizRegis has quit [Quit: Ex-Chat]
12:30
futilegames has joined #ruby
12:31
futilegames has quit [Remote host closed the connection]
12:32
mim1k has joined #ruby
12:33
blackmes1 has quit [Ping timeout: 240 seconds]
12:33
tomphp has joined #ruby
12:37
xall has joined #ruby
12:38
<
A124 >
Is there a quick way to do a sliding window operation on an array?
12:40
<
A124 >
Cheers! Should have realized it might be in Enumerable.
12:40
szulak has joined #ruby
12:40
JoshS has joined #ruby
12:46
JoshS has quit [Read error: Connection reset by peer]
12:46
Azure has quit [Read error: Connection reset by peer]
12:58
JoshS has joined #ruby
12:59
Kristjan12 has joined #ruby
13:00
<
Kristjan12 >
Any sweet girls with big boobs and nice pussies wanna chat with a hot Estonian male(I am 33 years old)?
13:00
__Yiota has joined #ruby
13:00
<
ruby[bot] >
Papierkorb: ops currently in #ruby: adaedra, aredridel, havenwood, Mon_Ouie, Radar, apeiros, baweaver, helpa, jhass, matthewd, miah, ruby[bot], zenspider and zzak
13:00
Kristjan12 has left #ruby ["Leaving"]
13:02
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:03
szulak has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
13:09
ruid_ has quit [Ping timeout: 268 seconds]
13:09
KicStart has joined #ruby
13:09
antgel has joined #ruby
13:11
nekomune has joined #ruby
13:11
jameser has joined #ruby
13:12
JoshS has quit [Read error: Connection reset by peer]
13:12
nankyokusei has joined #ruby
13:13
brent__ has joined #ruby
13:13
Gasher^ has joined #ruby
13:14
Xentil has joined #ruby
13:14
aspiers has joined #ruby
13:14
tomphp has joined #ruby
13:15
Gasher^ has quit [Client Quit]
13:15
Gasher has quit [Ping timeout: 260 seconds]
13:16
foxxx0 has quit [Quit: WeeChat 1.7]
13:17
nankyokusei has quit [Ping timeout: 255 seconds]
13:17
brent__ has quit [Ping timeout: 240 seconds]
13:17
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:18
hutch34 has joined #ruby
13:19
pawnbox_ has quit [Remote host closed the connection]
13:20
pawnbox has joined #ruby
13:20
mim1k has quit [Ping timeout: 240 seconds]
13:20
pawnbox has quit [Remote host closed the connection]
13:20
pawnbox has joined #ruby
13:21
foxxx0 has joined #ruby
13:24
jameser has joined #ruby
13:25
hutch34 has quit [Ping timeout: 240 seconds]
13:25
jameser has quit [Client Quit]
13:26
mogaj has joined #ruby
13:27
foxxx0 has quit [Quit: WeeChat 1.7]
13:27
jameser has joined #ruby
13:29
cvander has quit [Read error: Connection reset by peer]
13:29
cvander has joined #ruby
13:30
mogaj has quit [Ping timeout: 240 seconds]
13:31
foxxx0 has joined #ruby
13:31
jameser has quit [Client Quit]
13:32
j2k_ has joined #ruby
13:32
j2k has quit [Read error: Connection reset by peer]
13:33
johnny56_ has quit [Ping timeout: 264 seconds]
13:34
jameser has joined #ruby
13:35
Pumukel has joined #ruby
13:36
<
apeiros >
Papierkorb: they left already :-/
13:37
jameser has quit [Client Quit]
13:39
shinnya has quit [Ping timeout: 268 seconds]
13:40
jameser has joined #ruby
13:40
j2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:41
jtdoncas has joined #ruby
13:41
tau has joined #ruby
13:42
loechel has joined #ruby
13:42
Pumukel has quit [Ping timeout: 255 seconds]
13:43
millerti has joined #ruby
13:43
howdoi has quit [Quit: Connection closed for inactivity]
13:44
d0nn1e has quit [Ping timeout: 240 seconds]
13:45
jtdoncas has quit [Ping timeout: 240 seconds]
13:46
d0nn1e has joined #ruby
13:47
loechel has quit [Ping timeout: 255 seconds]
13:47
last_staff has joined #ruby
13:48
mogaj has joined #ruby
13:49
pilne has joined #ruby
13:50
houhoulis has joined #ruby
13:50
Pumukel has joined #ruby
13:51
JoshS has joined #ruby
13:52
xall has quit [Ping timeout: 240 seconds]
13:52
mogaj has quit [Ping timeout: 240 seconds]
13:54
emilford has joined #ruby
13:55
Pumukel has quit [Ping timeout: 255 seconds]
13:56
psychicist__ has joined #ruby
13:58
koooge has joined #ruby
13:58
ruid_ has joined #ruby
13:58
t-recx has joined #ruby
13:58
blackmes1 has joined #ruby
13:59
jackjackdripper1 has quit [Quit: Leaving.]
14:01
yeticry has quit [Ping timeout: 240 seconds]
14:03
aspiers has quit [Ping timeout: 240 seconds]
14:03
yeticry has joined #ruby
14:04
harfangk has joined #ruby
14:06
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:07
DTZUZU2 has quit [Read error: Connection reset by peer]
14:08
peteykun has joined #ruby
14:12
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:15
ResidentBiscuit has joined #ruby
14:15
maloik has joined #ruby
14:17
Pumukel has joined #ruby
14:20
ResidentBiscuit has quit [Ping timeout: 255 seconds]
14:21
jshjsh has joined #ruby
14:22
mitt3ns has quit [Read error: Connection reset by peer]
14:22
Pumukel has quit [Ping timeout: 255 seconds]
14:23
mitt3ns has joined #ruby
14:23
ecuanaso has joined #ruby
14:23
Pumukel has joined #ruby
14:23
ruid_ has quit [Ping timeout: 240 seconds]
14:24
JoshS has quit [Ping timeout: 260 seconds]
14:25
User458764 has joined #ruby
14:25
armin_ is now known as armin
14:28
Pumukel has quit [Ping timeout: 255 seconds]
14:29
cvander has quit [Ping timeout: 240 seconds]
14:30
blackwind_123 has quit [Ping timeout: 240 seconds]
14:34
tau has quit [Ping timeout: 260 seconds]
14:35
mogaj has joined #ruby
14:35
blackwind_123 has joined #ruby
14:35
last_staff has quit [Quit: last_staff]
14:35
tvw has joined #ruby
14:36
tvw has quit [Client Quit]
14:36
tvw has joined #ruby
14:36
blackmes1 has quit [Ping timeout: 240 seconds]
14:38
jhack has joined #ruby
14:38
blackmes1 has joined #ruby
14:38
jhack_ has joined #ruby
14:39
jhack_ has quit [Client Quit]
14:39
Xentil has quit [Ping timeout: 260 seconds]
14:40
Ishido has joined #ruby
14:46
Tempesta has quit [Ping timeout: 240 seconds]
14:46
jhack_ has joined #ruby
14:47
jhack has quit [Ping timeout: 260 seconds]
14:49
aryaching has joined #ruby
14:49
dhollinger has quit [Ping timeout: 255 seconds]
14:50
ikopico has quit [Quit: Imma make like traffic and jam]
14:50
Dry_Lips has joined #ruby
14:50
Dry_Lips has joined #ruby
14:50
Dry_Lips has quit [Changing host]
14:51
ikopico has joined #ruby
14:51
dhollinger has joined #ruby
14:52
DTZUZU2 has joined #ruby
14:52
bobsje has joined #ruby
14:53
<
bobsje >
Hey guys, I know I can overwrite a function by defining it again. But is there a way to keep it's old functionality plus code?
14:53
<
bobsje >
plus new code*
14:53
harfangk has joined #ruby
14:53
<
matthewd >
bobsje: Module#prepend + super
14:54
houhoulis has quit [Remote host closed the connection]
14:55
rprimus_ is now known as rprimus
14:56
<
matthewd >
Yep, that looks to cover it
14:59
jud has quit [Read error: Connection reset by peer]
14:59
jud has joined #ruby
15:00
jhack_ has quit [Ping timeout: 240 seconds]
15:00
jgnagy has joined #ruby
15:00
jtdoncas has joined #ruby
15:01
tristanp has joined #ruby
15:01
jhack has joined #ruby
15:01
<
bobsje >
matthewd, The method is not part of a class though, So I can't inherit the class/methods so super doesn't work :(
15:02
houhoulis has joined #ruby
15:04
chihhsin_ has quit [Ping timeout: 268 seconds]
15:04
chihhsin has joined #ruby
15:04
balazs has quit [Remote host closed the connection]
15:04
pawnbox has quit [Remote host closed the connection]
15:05
pawnbox has joined #ruby
15:05
tristanp has quit [Ping timeout: 260 seconds]
15:06
blackmes1 has quit [Ping timeout: 240 seconds]
15:10
chihhsin has quit [Ping timeout: 268 seconds]
15:10
chihhsin has joined #ruby
15:12
jhack_ has joined #ruby
15:15
hutch34 has joined #ruby
15:15
jhack has quit [Ping timeout: 260 seconds]
15:20
blackmes1 has joined #ruby
15:20
<
allisio >
bobsje: In that case, you want aliasing.
15:21
Silthias1 has joined #ruby
15:21
<
matthewd >
singleton_class.prepend Module.new { def test; super; puts 'world'; end }
15:21
<
matthewd >
.. but that sounds like some worrying design
15:21
jhack has joined #ruby
15:21
jhack_ is now known as jhack
15:21
szulak has joined #ruby
15:24
Silthias has quit [Ping timeout: 260 seconds]
15:24
cpruitt has quit [Quit: cpruitt]
15:26
<
bobsje >
matthewd could you post some example code for that? I can't get it to work.
15:30
vnzvg has joined #ruby
15:31
tessi_zz has quit [Ping timeout: 240 seconds]
15:34
tessi_zz has joined #ruby
15:34
<
allisio >
Probably stop using that evaluator, at least for Ruby.
15:34
<
jhass >
kudos on still having a running 1.8.6 though
15:36
psychicist__ has quit [Ping timeout: 255 seconds]
15:36
<
bobsje >
Oh that explains a lot, the program I'm working on uses it's own ruby and that's still 1.8.1 :x
15:36
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
15:37
<
jhass >
are you an archaeologist?
15:38
antgel has quit [Ping timeout: 240 seconds]
15:40
<
bobsje >
welllp the program was released 2004 so I geuss so!
15:43
SuperLag_ is now known as SuperLag
15:43
SuperLag has quit [Changing host]
15:43
SuperLag has joined #ruby
15:43
blackmes1 has quit [Ping timeout: 260 seconds]
15:44
KicStart has quit [Read error: Connection reset by peer]
15:46
Xentil has joined #ruby
15:49
GeorgeTorwell has quit [Quit: GeorgeTorwell]
15:50
anekant has joined #ruby
15:50
jgnagy has quit [Remote host closed the connection]
15:51
<
Yxhuvud >
bobsje: what you can do is store away the old version giving it a different name using alias.
15:52
<
bobsje >
Yxhuvud that sounds good. Could you give me a code example or link to a resource so I could research how?
15:52
blackmes1 has joined #ruby
15:52
Tempesta has joined #ruby
15:53
<
anekant >
how can I extract only the "foo" from a string like "foo, 1, 2, 3" using regex to strip off all the numbers at the end
15:54
<
Yxhuvud >
bobsje: alias newname oldname
15:54
<
anekant >
I tried s =~ /(.*), (\d+,?)+/ but that seems to strip only the last digit
15:55
mogaj has quit [Remote host closed the connection]
15:56
GeorgeTorwell has joined #ruby
15:57
jhack_ has joined #ruby
15:58
pandaant has quit [Remote host closed the connection]
15:58
sepp2k has joined #ruby
15:58
peteykun has quit [Quit: Leaving]
15:59
<
allisio >
anekant: Why not just split on ", "?
15:59
jhack has quit [Ping timeout: 240 seconds]
16:00
kirun has joined #ruby
16:00
<
anekant >
allisio foo might be a longer string with a , in it ...
16:00
<
Cork >
anekant: make the .* none greedy so it doesn't grab all the commas
16:00
<
Cork >
i think you do that like .*? in ruby if i remember correctly
16:01
<
Cork >
uh... scratch that
16:02
<
Cork >
[^,]* should work though
16:03
<
allisio >
anekant: Can foo contain digits?
16:03
jgnagy has joined #ruby
16:03
<
matthewd >
>> "foo, 1, 2, 3".scan /(.+?)(?:, \d+)*$/
16:03
<
anekant >
Cork I think the non-greedy works /(.*?), (\d+,?)+/ seems to grab the first string even if it has commas in $1
16:03
<
anekant >
allison yes the string should be able to contain digits ideally
16:04
<
anekant >
allisio silly autocorrect
16:04
Guest32701 has joined #ruby
16:04
<
Cork >
wasn't sure if none greedy lost against a repeating pattern
16:05
Qchmqs has quit [Ping timeout: 260 seconds]
16:05
<
anekant >
matthewd: I'll copy that and try it if the other fails :)
16:05
<
anekant >
oh nice there's a rubybot in here now
16:06
<
allisio >
>> s = 'foo, 1, 2, 3'; s[/(.+?), \d/, 1]
16:07
<
allisio >
Just wanted to point out that #scan is probably overkill.
16:08
interki has quit [Ping timeout: 260 seconds]
16:09
icbm has quit [Quit: Leaving]
16:11
<
anekant >
can I pm ruby[bot]? apparently not
16:12
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:13
cagmz has joined #ruby
16:13
kitikonti has joined #ruby
16:14
ResidentBiscuit has joined #ruby
16:16
nadir has joined #ruby
16:17
emilford has quit [Ping timeout: 268 seconds]
16:18
psychicist__ has joined #ruby
16:19
emilford has joined #ruby
16:20
jshjsh has quit [Quit: Leaving]
16:20
blackmes1 has quit [Ping timeout: 268 seconds]
16:23
szulak has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
16:24
Pumukel has joined #ruby
16:25
A124 has quit [Quit: '']
16:27
loechel has joined #ruby
16:28
jhack has joined #ruby
16:29
jhack_ has quit [Ping timeout: 268 seconds]
16:30
Pumukel has quit [Ping timeout: 255 seconds]
16:31
antgel has joined #ruby
16:31
houhoulis has quit [Remote host closed the connection]
16:31
mikecmpbll has joined #ruby
16:32
loechel has quit [Ping timeout: 255 seconds]
16:33
Pumukel has joined #ruby
16:36
koooge has quit [Quit: Leaving...]
16:37
Pumukel has quit [Ping timeout: 255 seconds]
16:38
friday has quit [Changing host]
16:38
friday has joined #ruby
16:38
Pumukel has joined #ruby
16:39
A124 has joined #ruby
16:40
_sfiguser has quit [Ping timeout: 240 seconds]
16:43
raspado has joined #ruby
16:43
Pumukel has quit [Ping timeout: 255 seconds]
16:44
Channel6 has joined #ruby
16:45
shinnya has joined #ruby
16:45
rkeene_ is now known as rkeene
16:48
Pumukel has joined #ruby
16:50
emilford has quit [Ping timeout: 260 seconds]
16:50
emilford has joined #ruby
16:51
Silthias has joined #ruby
16:52
Silthias1 has quit [Ping timeout: 260 seconds]
16:53
Pumukel has quit [Ping timeout: 255 seconds]
16:53
jgnagy has quit [Remote host closed the connection]
16:54
_sfiguser has joined #ruby
16:54
Pumukel has joined #ruby
16:59
Pumukel has quit [Ping timeout: 255 seconds]
17:00
Pumukel has joined #ruby
17:01
adam| is now known as adam12
17:01
raspado has quit [Read error: Connection reset by peer]
17:01
aredridel has quit [Ping timeout: 240 seconds]
17:01
tristanp has joined #ruby
17:01
Channel6 has quit [Quit: Leaving]
17:02
Mon_Ouie has quit [Read error: No route to host]
17:03
jrussell has joined #ruby
17:03
jrussell is now known as PrepperJack
17:03
aredridel has joined #ruby
17:03
benlieb has joined #ruby
17:04
biberu has joined #ruby
17:04
mogaj has joined #ruby
17:04
raspado has joined #ruby
17:04
Pumukel has quit [Ping timeout: 255 seconds]
17:05
PrepperJack has quit [Client Quit]
17:05
cdg has joined #ruby
17:06
tristanp has quit [Ping timeout: 260 seconds]
17:07
Rutix`away is now known as Rutix
17:09
mogaj has quit [Ping timeout: 260 seconds]
17:11
pawnbox has quit [Remote host closed the connection]
17:12
pawnbox has joined #ruby
17:13
last_staff has joined #ruby
17:20
raspado has quit [Remote host closed the connection]
17:20
ResidentBiscuit has quit [Remote host closed the connection]
17:24
elementaru has joined #ruby
17:26
naftilos76 has joined #ruby
17:28
kirun_ has joined #ruby
17:29
kirun has quit [Ping timeout: 240 seconds]
17:36
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:37
emilford has quit [Ping timeout: 240 seconds]
17:39
emilford has joined #ruby
17:40
hutch34 has quit [Ping timeout: 240 seconds]
17:43
Pumukel has joined #ruby
17:44
shinnya has quit [Ping timeout: 255 seconds]
17:46
Guest32701 has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
17:48
Pumukel has quit [Ping timeout: 255 seconds]
17:49
emilford has quit [Ping timeout: 240 seconds]
17:49
Channel6 has joined #ruby
17:51
emilford has joined #ruby
17:51
ecuanaso has joined #ruby
17:52
Azure has joined #ruby
17:53
renchan has quit [Remote host closed the connection]
17:54
vnzvg has quit [Quit: Leaving]
17:54
djbkd_ has joined #ruby
17:55
mogaj has joined #ruby
17:55
Channel6 has quit [Quit: Leaving]
17:57
modlin has joined #ruby
17:59
Mon_Ouie has joined #ruby
17:59
browndawg has joined #ruby
17:59
mogaj has quit [Ping timeout: 260 seconds]
18:03
mikeiniowa has quit [Remote host closed the connection]
18:04
utd_1997 has joined #ruby
18:04
<
utd_1997 >
Excited about Gsoc 2017
18:08
<
utd_1997 >
Is there anybody here!
18:09
webdev232424 has joined #ruby
18:10
<
Papierkorb >
anekant: `Google Summer of Code`
18:11
<
anekant >
oh. not excited, then. screw google and screw their code. imho.
18:12
<
Papierkorb >
Um, it's a job opportunity for university students to make money while contributing to a established open source project
18:12
<
Papierkorb >
Google just dares to pay money while gaining not much themselves. think of google what you want, but that program is awesome
18:13
<
Papierkorb >
utd_1997: So you were accepted into a GSOC program?
18:13
<
anekant >
google's money is ill-gotten and i want no part of it. but that's just me, carry on.
18:13
<
utd_1997 >
No! i will apply in March
18:13
<
utd_1997 >
Yep!!! google is like evil corp
18:13
<
anekant >
i know right
18:13
<
Papierkorb >
utd_1997: Good luck!
18:14
User458764 has joined #ruby
18:14
User458764 has quit [Max SendQ exceeded]
18:14
<
utd_1997 >
anyhow! Gsoc is going to be my first coding venture! is there anybody who did that before...
18:14
User458764 has joined #ruby
18:14
<
utd_1997 >
i am not confident , on whether I will be able to add something to the table
18:15
<
anekant >
it's all social isn't it
18:15
<
anekant >
just a ppl game
18:15
hutch34 has joined #ruby
18:15
antgel has quit [Ping timeout: 255 seconds]
18:16
<
utd_1997 >
That's the thing I am not social, but that does not matter, If I am not able to help them, my OCD will kill me .
18:16
<
utd_1997 >
i checked Nmatrix ideas, was awestruck, I coud not even understand what were they talking about :-)
18:16
<
webdev232424 >
I tried gem install bitfinex-rb but and after install i made a test.rb and put the stuff under Usage and added my keys. but when i run it says: test.rb:1:in `<main>': uninitialized constant Bitfinex (NameError)
18:17
<
webdev232424 >
so how do imake my script see Bitfinex?
18:17
<
utd_1997 >
try using require ' Bitfinex'
18:17
mim1k has joined #ruby
18:17
canton7 has joined #ruby
18:18
<
utd_1997 >
There are options to include modules,
18:18
al2o3-cr has quit [Remote host closed the connection]
18:18
<
webdev232424 >
utd_1997: /usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- Bitfinex (LoadError)
18:19
<
webdev232424 >
utd_1997: perhaps my script cant just exist anywhere?
18:19
<
utd_1997 >
sorry y bad ...... you should add ....... require 'Bitfinex-rb'
18:20
al2o3-cr has joined #ruby
18:20
<
allisio >
webdev232424: require 'bitfinex'
18:21
<
utd_1997 >
Bitfinex::Client.configure do |conf| conf.secret = ENV["BFX_API_SECRET"] conf.api_key = ENV["BFX_API_KEY"] end
18:21
<
utd_1997 >
suppose client is an instance of Bitfinex use .......... client = Bitfinex::Client.new
18:22
mim1k has quit [Ping timeout: 260 seconds]
18:22
<
webdev232424 >
'bitfinex' seems correct
18:24
tomphp has joined #ruby
18:25
tvw has joined #ruby
18:25
<
utd_1997 >
webdev232424 : that was showing an error "/usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- Bitfinex (LoadError) " do you think installation might have had errors
18:25
<
webdev232424 >
listen i dont know anything about ruby. all i know is that i copied and pasted the info from the website and ran gem install bitfinex-rb
18:26
<
webdev232424 >
it installed correctly
18:26
<
webdev232424 >
i pasted it info a file called test.rb, put my details and ran ruby test.rb
18:26
<
utd_1997 >
did you had any prior ruby version
18:26
<
webdev232424 >
in my home dir
18:27
<
utd_1997 >
Is your ruby installed through RVM?
18:27
<
webdev232424 >
then i added require 'bitfinex' which gave me a new error saying my key is false when it isnt
18:27
<
webdev232424 >
pacman -S ruby
18:27
anisha_ has joined #ruby
18:27
cdg has quit [Remote host closed the connection]
18:27
cdg has joined #ruby
18:28
enterprisey has joined #ruby
18:28
<
webdev232424 >
i did what was under Usage. I guess a gem is an .rb file with code..
18:30
szulak has joined #ruby
18:32
<
utd_1997 >
yes it mostly like that. many gems are just a bunch of modules and classes. after all everything in ruby is a class
18:32
spooq has joined #ruby
18:34
pawnbox has quit [Remote host closed the connection]
18:34
utd_1997 has quit [Quit: Page closed]
18:35
utd_1997 has joined #ruby
18:36
<
allisio >
>> ObjectSpace.each_object.group_by { |o| o.is_a? Class }.map { |k, v| [k, v.size] }
18:36
lenwood has joined #ruby
18:37
tau has joined #ruby
18:38
renchan has joined #ruby
18:40
<
anekant >
=> [[true, 411], [false, 19335]]
18:43
oryman has joined #ruby
18:43
oryman has quit [Remote host closed the connection]
18:47
cdg has quit [Remote host closed the connection]
18:47
gheegh has joined #ruby
18:47
cdg has joined #ruby
18:48
<
gheegh >
Hey all, trying to match parenthesis in a labeled string for come text pattern recognition.. having some problems matching the parenthesis.. any feedback on what i'm doing wrong?
http://rubular.com/r/EjcGo7wZME
18:50
JoshS has joined #ruby
18:51
<
matthewd >
gheegh: I think you'll need to be more specific about what you're trying to do
18:51
<
matthewd >
gheegh: Whatever it is, that regex seems a bit too far from correct for me to infer it
18:53
<
gheegh >
writing a better one.. on eval.in.. one min.
18:54
jgnagy has joined #ruby
18:54
webdev232424 has quit [Quit: Konversation terminated!]
18:55
_sfiguser has quit [Ping timeout: 260 seconds]
18:57
SuperLag has quit [Quit: Lost terminal]
18:58
jgnagy has quit [Ping timeout: 255 seconds]
18:58
Puppet__ has joined #ruby
18:59
mim1k has joined #ruby
19:02
gsilva has joined #ruby
19:02
sepp2k has quit [Quit: Leaving.]
19:02
tristanp has joined #ruby
19:03
reverberations has joined #ruby
19:05
jtdoncas has quit [Ping timeout: 268 seconds]
19:05
<
gheegh >
might be better: basically i have a bunch of labeled sentences, where each word the the punctuation is labeled with a /XX on the end of the word. This is working, except for matching parenthesis as punctuation.
https://eval.in/742920
19:06
elementaru has quit [Remote host closed the connection]
19:07
tristanp has quit [Ping timeout: 260 seconds]
19:08
_sfiguser has joined #ruby
19:10
jamesaxl_ is now known as jamesaxl
19:11
<
gheegh >
one more time.. instead of oversimplifying it.. here's a more logical example.. this is trying to match a phone number with () around the area code..
https://eval.in/742925
19:11
blackmes1 has joined #ruby
19:12
<
gheegh >
its not about matching the phone numbers itself.. as we use this do do all sorts of text recognition tasks.. but the specific problem i've fought all morning is matching the parenthesis
19:12
<
gheegh >
as they can't go in the [] character area
19:14
<
matthewd >
That regexp isn't matching what/where you think it is
19:15
hutch34 has quit [Ping timeout: 260 seconds]
19:16
blackmes1 has quit [Ping timeout: 240 seconds]
19:16
gsilva has quit [Quit: Leaving]
19:16
<
gheegh >
yeah, i'm sure of that.. its a complex regex.. and I don't quite get how it works
19:16
<
gheegh >
when its working
19:17
<
matthewd >
I'd first suggest you switch to /../ syntax inside the map, to avoid some slash escaping
19:17
tau is now known as dandruff
19:18
<
gheegh >
can i join regexs?
19:18
<
gheegh >
with what? a |?
19:18
<
matthewd >
They'll stringify
19:18
<
matthewd >
The existing join is fine
19:19
doublemalt_ has joined #ruby
19:20
pawnbox has joined #ruby
19:20
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:21
ResidentBiscuit has joined #ruby
19:21
mim1k has quit [Ping timeout: 260 seconds]
19:22
electrostat has quit [Quit: uwotm8]
19:22
DoubleMalt has quit [Ping timeout: 240 seconds]
19:22
electrostat has joined #ruby
19:25
ResidentBiscuit has quit [Ping timeout: 255 seconds]
19:26
Azure has quit [Read error: Connection reset by peer]
19:26
<
matthewd >
Oh, right.. sorry, not reading closely enough
19:26
<
matthewd >
That's not doing what it says it is
19:26
<
matthewd >
(I mean.. obviously :P)
19:26
Azure has joined #ruby
19:27
<
matthewd >
The join is joining them, so it's looking for the supplied labels
*in order*
19:27
<
matthewd >
i.e., it would match "x/PP y/TD z/FD"
19:27
dandruff is now known as tau
19:28
nofxx has joined #ruby
19:28
<
matthewd >
Well, it would've back when it had a \s in there
19:28
<
gheegh >
right it's looking in order
19:29
<
gheegh >
let me go back to the original one..
19:29
CT_STATE_MARSHAL has joined #ruby
19:30
KicStart has joined #ruby
19:30
al2o3-cr has quit [Ping timeout: 260 seconds]
19:30
<
matthewd >
How about: def pattern_extraction_regex(pattern_array); /(\S+\/#{Regexp.union pattern_array})\b/; end
19:32
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:35
<
gheegh >
that seems to work! let me check that it doesn't break something else.
19:38
<
matthewd >
tbh, I'd consider matching all possible labels and worry about whether they were known later, if the input format is sufficiently predictable
19:40
utd_1997 has quit [Quit: Page closed]
19:40
evie_hammond has quit [Quit: WeeChat 1.7]
19:41
<
gheegh >
yeah, this is down in teh guts of the base model.. that is used in a bout 20 differnet parsers.
19:41
Lord_of_- has joined #ruby
19:45
Pumukel has joined #ruby
19:46
evie_hammond has joined #ruby
19:49
andywww has joined #ruby
19:49
Pumukel has quit [Ping timeout: 255 seconds]
19:50
<
gheegh >
yeah, so that seems to break it.. you're right.. in that the labels that get passed in have to match in that order exactly.. that is how this is working
19:51
ecuanaso has joined #ruby
19:51
<
matthewd >
Okay, so the join is intentional -- but that means you need to pass the right labels for your input
19:52
cdg_ has joined #ruby
19:53
psychicist__ has quit [Ping timeout: 240 seconds]
19:54
<
andywww >
i’ve writing a lib to wrap an api and want to get some input on what would be best practice.. is it better to have a class method that returns the parsed response from the api directly for users to assign to their own variable (data = Api.fetch_data(query)) or would it be better to use an instance and store a copy of the response as an attribute of the class (instance.fetch_data(query); instance.data)
19:54
cdg has quit [Ping timeout: 255 seconds]
19:56
Cohedrin has joined #ruby
19:57
<
matthewd >
gheegh: Aren't those the same string? :/
19:57
Pumukel has joined #ruby
19:58
mim1k has joined #ruby
19:58
loechel has joined #ruby
19:59
Lord_of_- is now known as Lord_of_Life
19:59
Lord_of_Life has quit [Changing host]
19:59
Lord_of_Life has joined #ruby
19:59
Lord_of_Life has joined #ruby
19:59
blackmes1 has joined #ruby
20:00
jtdoncas has joined #ruby
20:00
<
allisio >
You're proving that 0 != 6.
20:01
<
matthewd >
I'm confused. We worked out you need the join.
20:02
Pumukel has quit [Ping timeout: 255 seconds]
20:03
tristanp has joined #ruby
20:03
loechel has quit [Ping timeout: 255 seconds]
20:03
herbmillerjr has quit [Quit: Konversation terminated!]
20:04
iceden has quit [Ping timeout: 260 seconds]
20:06
herbmillerjr has joined #ruby
20:06
mim1k has quit [Ping timeout: 240 seconds]
20:07
tristanp has quit [Ping timeout: 260 seconds]
20:07
kitikonti has joined #ruby
20:08
vnzvg has joined #ruby
20:09
johnny56 has joined #ruby
20:10
blackmes1 has quit [Ping timeout: 255 seconds]
20:12
andywww has quit [Quit: andywww]
20:13
Dimik has joined #ruby
20:15
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
20:16
<
allisio >
You only need to "unionize" the label set.
20:17
<
gheegh >
hey allisio thanks.. yeah, the point is to match the labels in the right order.. as defined in the label list.
20:17
<
gheegh >
not just many any 1 of them.
20:17
<
gheegh >
its an all or none proposition.. each /XX is labeling a word.. and we are looking for patterns of words.. in the later cases, and example is a phone number..
20:18
iceden has joined #ruby
20:18
<
matthewd >
gheegh: Lose the \b
20:18
<
matthewd >
Not all of your segments start with a word boundary
20:19
<
gheegh >
beginning or end?
20:19
bobsje has quit [Quit: Page closed]
20:21
<
matthewd >
gheegh: Oh, we lost a Regexp.new
20:22
<
gheegh >
i thought we didn't need tiat if i wasn't using a string?
20:22
<
gheegh >
its a regex // in the map
20:22
<
matthewd >
The join turns it into a string
20:22
<
gheegh >
with a blank join
20:22
<
matthewd >
So we're going regex -> string -> regex. It's just easier to read.
20:23
sepp2k has joined #ruby
20:24
anisha_ has quit [Quit: This computer has gone to sleep]
20:24
<
matthewd >
What change are you looking for, then?
20:24
anisha_ has joined #ruby
20:25
swills has quit [Quit: Leaving]
20:27
andywww has joined #ruby
20:27
anisha_ has quit [Client Quit]
20:29
<
gheegh >
so there are two cases in teh eval.in
20:29
<
gheegh >
both cases should pass..
20:29
<
gheegh >
uh.. they are. Ok.. its quitting time.
20:29
minimalism has joined #ruby
20:30
<
gheegh >
sorry abou that.
20:30
<
matthewd >
No worries.. I was just pretty confused for a moment ;)
20:32
<
gheegh >
thanks a bunch..
20:32
<
gheegh >
running tests.. and taking a lunch break..
20:33
szulak has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
20:34
jtdoncas has quit [Ping timeout: 255 seconds]
20:35
Pumukel has joined #ruby
20:37
ResidentBiscuit has joined #ruby
20:37
andywww has quit [Quit: andywww]
20:39
t-recx has quit [Quit: t-recx]
20:39
Pumukel has quit [Ping timeout: 255 seconds]
20:40
andywww has joined #ruby
20:41
hutch34 has joined #ruby
20:42
szulak has joined #ruby
20:42
t-recx has joined #ruby
20:44
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
20:44
johnny56 has quit [Quit: johnny56]
20:44
Puppet__ has quit [Remote host closed the connection]
20:45
andywww has quit [Client Quit]
20:46
cibs has quit [Ping timeout: 260 seconds]
20:47
cibs has joined #ruby
20:54
Guest54819 has quit [Read error: Connection reset by peer]
20:55
byte512 has quit [Ping timeout: 260 seconds]
20:56
RushPL has quit [Ping timeout: 255 seconds]
20:56
Rush has quit [Ping timeout: 255 seconds]
20:57
marr has quit [Ping timeout: 260 seconds]
20:58
triangles has joined #ruby
20:58
browndawg has quit [Quit: Leaving]
20:58
Rush has joined #ruby
20:58
byte512 has joined #ruby
20:59
RushPL has joined #ruby
20:59
benlieb has quit [Quit: benlieb]
21:00
jdm_ has joined #ruby
21:00
Xiti has joined #ruby
21:02
naftilos76 has quit [Quit: Αποχώρησε]
21:03
iamnix has joined #ruby
21:04
jdm has quit [Ping timeout: 258 seconds]
21:05
mooe has joined #ruby
21:05
mooe has left #ruby [#ruby]
21:06
benlieb has joined #ruby
21:06
jgnagy has joined #ruby
21:06
johnny56 has joined #ruby
21:07
benlieb has quit [Client Quit]
21:13
s1kx has joined #ruby
21:13
jackjackdripper has joined #ruby
21:16
<
gheegh >
allisio: thanks!
21:16
blackmes1 has joined #ruby
21:20
jackjackdripper has quit [Quit: Leaving.]
21:20
dasher00 has quit [Ping timeout: 240 seconds]
21:20
dlitvak has quit [Quit: Connection closed for inactivity]
21:20
ta__ has quit [Remote host closed the connection]
21:21
ta_ has joined #ruby
21:21
hutch34 has quit [Ping timeout: 240 seconds]
21:21
ta_ has quit [Remote host closed the connection]
21:22
jackjackdripper has joined #ruby
21:22
teclator has quit [Ping timeout: 240 seconds]
21:22
besfort has joined #ruby
21:22
teclator has joined #ruby
21:23
alxgsv has joined #ruby
21:23
tildes has joined #ruby
21:25
drzel has joined #ruby
21:25
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:26
ecuanaso has joined #ruby
21:27
Satyajit has joined #ruby
21:27
dasher00 has joined #ruby
21:27
haylon has joined #ruby
21:29
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
21:29
hutch34 has joined #ruby
21:30
OMGtechy has joined #ruby
21:32
marr has joined #ruby
21:34
montanonic has joined #ruby
21:35
EV3RYDAYPR0GRESS has joined #ruby
21:35
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
21:36
Pumukel has joined #ruby
21:40
rakm has joined #ruby
21:41
Pumukel has quit [Ping timeout: 255 seconds]
21:42
iamnix has quit [Quit: Quit.]
21:42
Cohedrin has joined #ruby
21:43
rikai has joined #ruby
21:44
haylon_ has joined #ruby
21:44
reverberations has quit [Remote host closed the connection]
21:44
tildes has quit [Ping timeout: 260 seconds]
21:45
teclator has quit [Remote host closed the connection]
21:45
duderonomy has joined #ruby
21:47
haylon has quit [Ping timeout: 240 seconds]
21:52
blackmes1 has quit [Ping timeout: 255 seconds]
21:57
ta_ has joined #ruby
22:00
renchan has quit [Ping timeout: 255 seconds]
22:01
Xiti has quit [Quit: Xiti]
22:04
tristanp has joined #ruby
22:04
Pumukel has joined #ruby
22:05
besfort has quit [Ping timeout: 240 seconds]
22:05
haylon_ has quit [Quit: Leaving]
22:05
KicStart has quit [Quit: Leaving.]
22:07
ta_ has quit [Ping timeout: 240 seconds]
22:07
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
22:08
ta_ has joined #ruby
22:08
tristanp has quit [Ping timeout: 260 seconds]
22:09
emilford has quit [Read error: Connection reset by peer]
22:09
ResidentBiscuit has quit [Remote host closed the connection]
22:09
benlieb has joined #ruby
22:09
linuck has joined #ruby
22:10
reverberations has joined #ruby
22:10
millerti has joined #ruby
22:14
blackmes1 has joined #ruby
22:14
houhoulis has joined #ruby
22:15
spooq has quit [Ping timeout: 260 seconds]
22:19
charliesome has joined #ruby
22:20
am55 has joined #ruby
22:24
montanonic has quit [Ping timeout: 240 seconds]
22:24
JoshS has quit [Quit: Leaving]
22:26
montanonic has joined #ruby
22:28
jamesaxl has quit [Quit: Leaving]
22:30
jhack_ has joined #ruby
22:32
jhack has quit [Ping timeout: 260 seconds]
22:33
andywww has joined #ruby
22:35
Gaelan has joined #ruby
22:40
Gaelan has quit [Quit: Gaelan]
22:40
andywww has quit [Ping timeout: 260 seconds]
22:44
tomphp has joined #ruby
22:46
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:48
Gaelan has joined #ruby
22:48
jhack_ is now known as jhack
22:48
jhack has quit [Changing host]
22:48
jhack has joined #ruby
22:49
dlitvak has joined #ruby
22:51
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:56
hutch34 has quit [Ping timeout: 268 seconds]
22:56
mim1k has joined #ruby
22:59
modlin has quit [Quit: Konversation terminated!]
23:00
last_staff has quit [Quit: last_staff]
23:01
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
23:02
jhack has quit [Read error: Connection reset by peer]
23:03
hutch34 has joined #ruby
23:03
pawnbox has quit [Remote host closed the connection]
23:03
ledestin has joined #ruby
23:03
pawnbox has joined #ruby
23:03
pawnbox has quit [Remote host closed the connection]
23:04
pawnbox has joined #ruby
23:04
Channel6 has joined #ruby
23:04
OMGtechy has quit [Remote host closed the connection]
23:05
KC_ has joined #ruby
23:06
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:06
benlieb has quit [Quit: benlieb]
23:07
<
KC_ >
is it bad practice to extend Ruby's core classes?
23:07
<
adaedra >
It's advised not to
23:07
<
adaedra >
Even if Rails does it all the time
23:08
<
KC_ >
ohh ok. do you?
23:08
<
adaedra >
I try not to
23:08
<
allisio >
KC_: Look into Refinements.
23:08
<
adaedra >
The refinements system is an elegant solution.
23:08
benlieb has joined #ruby
23:08
<
KC_ >
allisio: will do thanks!
23:09
<
KC_ >
adaedra: will do thanks!
23:09
pawnbox has quit [Ping timeout: 268 seconds]
23:09
benlieb has quit [Client Quit]
23:09
<
matthewd >
I'd say it's generally inadvisable-to-rude to do in a library, especially if that's not the primary documented purpose of the library... but more reasonable, with caution and restraint, inside an application
23:11
cdg has joined #ruby
23:11
jtdoncas has joined #ruby
23:14
brent__ has joined #ruby
23:15
houhoulis has quit [Remote host closed the connection]
23:15
cdg_ has quit [Ping timeout: 260 seconds]
23:15
cdg has quit [Ping timeout: 240 seconds]
23:16
millerti has joined #ruby
23:16
brent__ has quit [Remote host closed the connection]
23:16
JeanCarloMachado has joined #ruby
23:19
tristanp has joined #ruby
23:24
hfp_work has quit [Quit: bye]
23:24
tristanp has quit [Ping timeout: 260 seconds]
23:25
mim1k has quit [Ping timeout: 260 seconds]
23:26
mim1k has joined #ruby
23:26
<
KC_ >
Does rails use refinements?
23:26
<
Papierkorb >
It doesn't
23:26
bkxd_ has joined #ruby
23:27
<
Papierkorb >
Refinements are a rather new feature, rails predates it by almost a decade [citation needed]
23:27
hfp_work has joined #ruby
23:27
bkxd has quit [Ping timeout: 260 seconds]
23:27
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
23:28
<
KC_ >
Ohh ok i gotcha.
23:28
<
matthewd >
Also having every file in the app start with `using ActiveSupport` would be super ugly
23:28
hutch34 has quit [Ping timeout: 240 seconds]
23:31
<
KC_ >
is refinements the only solution to safe-monkey patching?
23:31
hutch34 has joined #ruby
23:32
<
allisio >
Yes, since unprepending is prohibitively involved.
23:33
mim1k has quit [Ping timeout: 260 seconds]
23:33
<
matthewd >
Depends on your definition of safe
23:33
toretore has quit [Ping timeout: 255 seconds]
23:33
<
allisio >
"Hygienic" fits well here.
23:34
aryaching has quit [Ping timeout: 260 seconds]
23:34
mim1k has joined #ruby
23:39
jtdoncas has quit [Ping timeout: 260 seconds]
23:40
bkxd has joined #ruby
23:40
iceden has quit [Ping timeout: 240 seconds]
23:40
hahuang65 has joined #ruby
23:40
JeanCarloMachado has quit [Ping timeout: 260 seconds]
23:40
iceden has joined #ruby
23:40
mim1k has quit [Ping timeout: 240 seconds]
23:41
bkxd_ has quit [Ping timeout: 240 seconds]
23:42
JeanCarloMachado has joined #ruby
23:42
vnzvg has quit [Ping timeout: 240 seconds]
23:43
rakm has joined #ruby
23:46
sepp2k has quit [Read error: Connection reset by peer]
23:47
hahuang65 has quit [Quit: WeeChat 1.7]
23:47
tomphp has joined #ruby
23:52
kirun_ has quit [Quit: Konversation terminated!]
23:53
pawnbox has joined #ruby
23:56
jtdoncas has joined #ruby
23:58
JeanCarloMachado has quit [Ping timeout: 240 seconds]
23:58
pawnbox has quit [Ping timeout: 260 seconds]
23:58
enterprisey has quit [Remote host closed the connection]