00:00
rubytor has joined #ruby
00:00
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
00:01
tuxninja has joined #ruby
00:01
icarus has quit [Remote host closed the connection]
00:02
amedeiros has quit [Quit: leaving]
00:04
abuzze has quit [Ping timeout: 250 seconds]
00:04
vadeRcUser has joined #ruby
00:05
vadeRcUser is now known as REPPARD
00:05
REPPARD has quit [Client Quit]
00:05
ghostmoth has quit [Quit: ghostmoth]
00:06
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
00:07
sepp2k1 has joined #ruby
00:07
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
00:07
aantix has quit [Quit: aantix]
00:08
kevind has quit [Remote host closed the connection]
00:08
sepp2k has quit [Ping timeout: 256 seconds]
00:09
freerobby has joined #ruby
00:09
phutchins has joined #ruby
00:11
coldkey21 has quit [Remote host closed the connection]
00:11
lw has joined #ruby
00:11
lw has quit [Max SendQ exceeded]
00:11
lw has joined #ruby
00:12
lw has quit [Max SendQ exceeded]
00:12
ddv has quit [Ping timeout: 260 seconds]
00:12
lw has joined #ruby
00:13
ascarter has joined #ruby
00:15
m8 has quit [Quit: Sto andando via]
00:15
<
benzrf >
w09x: you could sort it and then take part
00:15
<
benzrf >
sounds inefficient tho
00:16
sailias has joined #ruby
00:16
choke has quit [Ping timeout: 244 seconds]
00:16
postmodern has quit [Quit: Leaving]
00:16
Wolland has joined #ruby
00:17
SilkFox has joined #ruby
00:18
freerobby has quit [Quit: Leaving.]
00:19
ddv has joined #ruby
00:19
AlexBlom has joined #ruby
00:19
centrx has joined #ruby
00:20
theharshest has quit [Quit: This computer has gone to sleep]
00:20
fold has quit [Ping timeout: 255 seconds]
00:21
centrx has quit [Client Quit]
00:21
mary5030 has joined #ruby
00:21
SilkFox has quit [Ping timeout: 255 seconds]
00:22
crudson has joined #ruby
00:22
jimg has joined #ruby
00:22
<
w09x >
benzrf: thanks, i went with finding the percentile then just taking anything above that
00:22
<
w09x >
seemed to work
00:22
theharshest has joined #ruby
00:23
Wolland has quit [Ping timeout: 250 seconds]
00:23
<
benzrf >
w09x: sounds good
00:24
jimg has quit [Read error: Connection reset by peer]
00:24
jimg has joined #ruby
00:24
kith has quit [Quit: kith]
00:24
kith has joined #ruby
00:25
mikecmpbll has quit [Quit: i've nodded off.]
00:25
badhatter has quit [Ping timeout: 250 seconds]
00:26
o0oo0o has quit [Quit: WeeChat 0.4.3]
00:27
Tophats has joined #ruby
00:27
havenwood has quit []
00:27
mikesplain has joined #ruby
00:28
mikesplain has quit [Max SendQ exceeded]
00:28
marr has quit [Ping timeout: 250 seconds]
00:28
jimg has quit [Ping timeout: 240 seconds]
00:31
kevkev____ has joined #ruby
00:32
duper has quit [Remote host closed the connection]
00:33
geggam has quit [Ping timeout: 260 seconds]
00:34
banjara has joined #ruby
00:34
bricker`work has quit [Ping timeout: 264 seconds]
00:34
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
00:34
mois3x has joined #ruby
00:35
philcrissman has joined #ruby
00:35
fgo has joined #ruby
00:35
kevkev____ has quit [Ping timeout: 255 seconds]
00:37
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
00:37
wjimene__ has quit [Remote host closed the connection]
00:38
duper has joined #ruby
00:38
beneggett has joined #ruby
00:39
Spami has quit [Quit: This computer has gone to sleep]
00:39
philcrissman has quit [Ping timeout: 250 seconds]
00:40
rubytor has quit [Ping timeout: 256 seconds]
00:40
top4o has quit [Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140605174243]]
00:40
fgo has quit [Ping timeout: 244 seconds]
00:40
fly2web has joined #ruby
00:41
aspires has quit []
00:44
SCHAAP137 has quit [Remote host closed the connection]
00:45
nanoyak has quit [Quit: Computer has gone to sleep.]
00:47
axsuul has quit [Read error: Connection reset by peer]
00:47
mallu has quit [Ping timeout: 246 seconds]
00:49
bricker`LA has joined #ruby
00:49
nateberkopec has joined #ruby
00:49
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
00:50
axsuul has joined #ruby
00:54
nateberkopec has quit [Ping timeout: 240 seconds]
00:54
hackeron_ has joined #ruby
00:54
fly2web has quit [Quit: fly2web]
00:54
bricker`LA has quit [Ping timeout: 240 seconds]
00:54
arya_ has quit [Ping timeout: 250 seconds]
00:55
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
00:55
banjara has quit [Quit: Leaving.]
00:56
fly2web has joined #ruby
00:57
hackeron has quit [Ping timeout: 250 seconds]
00:57
yetanotherdave has quit [Ping timeout: 255 seconds]
00:57
axsuul has quit [Ping timeout: 255 seconds]
00:58
pasties has joined #ruby
00:58
jimg has joined #ruby
00:58
yfeldblum has quit [Remote host closed the connection]
00:59
jimg has quit [Client Quit]
01:00
arya_ has joined #ruby
01:01
maletor has quit [Quit: Computer has gone to sleep.]
01:01
Noob101 has quit [Ping timeout: 246 seconds]
01:01
wrist has joined #ruby
01:01
kireevco has joined #ruby
01:02
Takle has quit [Remote host closed the connection]
01:03
ghostmoth has joined #ruby
01:03
nfk has quit [Ping timeout: 245 seconds]
01:04
cobakobodob has quit [Ping timeout: 250 seconds]
01:05
ghostmoth has quit [Client Quit]
01:07
Photism has joined #ruby
01:09
benzrf is now known as benzrf|offline
01:10
soulcake has quit [Read error: Connection reset by peer]
01:10
crudson has quit [Ping timeout: 264 seconds]
01:10
Wolland has joined #ruby
01:10
soulcake has joined #ruby
01:11
sailias has quit [Ping timeout: 256 seconds]
01:11
kireevco has quit [Quit: Leaving.]
01:12
dbasch has quit [Quit: dbasch]
01:12
lele has quit [Ping timeout: 256 seconds]
01:13
mary5030 has quit [Remote host closed the connection]
01:13
mary5030 has joined #ruby
01:14
lele has joined #ruby
01:14
Channel6 has joined #ruby
01:14
maletor has joined #ruby
01:15
kumarat9pm has joined #ruby
01:15
vsoftoiletpaper has joined #ruby
01:16
matrixdevuk has joined #ruby
01:16
jshultz has quit [Quit: Connection closed for inactivity]
01:16
heftig has quit [Ping timeout: 250 seconds]
01:16
eka has joined #ruby
01:17
heftig has joined #ruby
01:17
mary5030 has quit [Ping timeout: 245 seconds]
01:18
SilkFox has joined #ruby
01:18
iamjarvo has joined #ruby
01:18
patrick99e99 has joined #ruby
01:19
reset has quit [Quit: Leaving...]
01:19
reset has joined #ruby
01:20
eka has quit [Client Quit]
01:21
lele has quit [Ping timeout: 256 seconds]
01:21
teddyp1cker has joined #ruby
01:22
SilkFox has quit [Ping timeout: 260 seconds]
01:23
jayunit100 has quit [Quit: jayunit100]
01:23
deric_skibotn has quit [Ping timeout: 245 seconds]
01:23
patrick99e99 has quit [Ping timeout: 256 seconds]
01:24
fly2web has quit [Quit: fly2web]
01:24
reset has quit [Ping timeout: 255 seconds]
01:25
maletor has quit [Read error: Connection reset by peer]
01:25
maletor has joined #ruby
01:26
teddyp1cker has quit [Ping timeout: 255 seconds]
01:27
wallerdev has quit [Quit: wallerdev]
01:28
robustus has quit [Ping timeout: 250 seconds]
01:28
phutchins has quit [Ping timeout: 264 seconds]
01:28
eka has joined #ruby
01:28
mikesplain has joined #ruby
01:28
tylerkern has joined #ruby
01:28
joast has joined #ruby
01:29
eka has quit [Client Quit]
01:29
tylerkern has quit [Client Quit]
01:29
whomp has joined #ruby
01:30
<
whomp >
what's the function to split a 2d array into boxes?
01:30
mikesplain has quit [Read error: Connection reset by peer]
01:30
mikespla_ has joined #ruby
01:30
<
whomp >
i need to win a code golf thing with my co workers
01:30
eka has joined #ruby
01:31
<
whomp >
and the challenge is to validate a 2d array as a valid sudoku board
01:31
robustus has joined #ruby
01:31
kevkev____ has joined #ruby
01:32
cobakobodob has joined #ruby
01:33
arya_ has quit [Quit: sayonara^_^]
01:34
eka has quit [Client Quit]
01:35
mikespla_ has quit [Ping timeout: 245 seconds]
01:35
fgo has joined #ruby
01:36
kevkev____ has quit [Ping timeout: 255 seconds]
01:36
maletor has quit [Read error: Connection reset by peer]
01:37
arya_ has joined #ruby
01:38
peret has quit [Remote host closed the connection]
01:38
fly2web has joined #ruby
01:39
fold has joined #ruby
01:40
fgo has quit [Ping timeout: 245 seconds]
01:41
eka has joined #ruby
01:42
eka has quit [Client Quit]
01:45
rebelshrug has quit [Remote host closed the connection]
01:46
o0oo0o has joined #ruby
01:46
Shidash has quit [Quit: Leaving.]
01:46
ylluminate_ has quit [Ping timeout: 264 seconds]
01:46
fmendez has joined #ruby
01:47
ylluminate_ has joined #ruby
01:47
ericmathison has joined #ruby
01:47
MatthewsFace has quit [Quit: This computer has gone to sleep]
01:47
yetanotherdave has joined #ruby
01:48
justinv has joined #ruby
01:48
phutchins has joined #ruby
01:50
nateberkopec has joined #ruby
01:51
mspah_ has quit [Ping timeout: 245 seconds]
01:52
Vivekananda_y510 has joined #ruby
01:55
nateberkopec has quit [Ping timeout: 240 seconds]
01:55
kireevco has joined #ruby
01:55
bmurt has joined #ruby
01:57
bmurt has quit [Client Quit]
01:58
theharshest has quit [Quit: This computer has gone to sleep]
01:58
tjr9898 has joined #ruby
01:59
alexju has joined #ruby
01:59
justinv has quit [Remote host closed the connection]
02:00
bmurt has joined #ruby
02:00
bruno- has joined #ruby
02:01
Noob101 has joined #ruby
02:01
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:03
alexju has quit [Ping timeout: 255 seconds]
02:03
SilkFox has joined #ruby
02:06
alvaro_o has quit [Quit: Ex-Chat]
02:06
bruno- has quit [Ping timeout: 250 seconds]
02:08
SilkFox has quit [Ping timeout: 250 seconds]
02:09
yano has joined #ruby
02:10
anaeem1 has joined #ruby
02:10
wallerdev has joined #ruby
02:12
kireevco has quit [Quit: Leaving.]
02:12
wrist has quit [Remote host closed the connection]
02:13
wrist has joined #ruby
02:13
anaeem1 has quit [Remote host closed the connection]
02:14
tectonic has joined #ruby
02:17
\q has quit [Ping timeout: 250 seconds]
02:17
yfeldblum has joined #ruby
02:17
wrist has quit [Ping timeout: 255 seconds]
02:18
Karpuragauram has joined #ruby
02:18
Vivekananda_y510 has quit [Ping timeout: 264 seconds]
02:20
\q has joined #ruby
02:22
InfraRuby has left #ruby [#ruby]
02:24
InfraRuby has joined #ruby
02:24
wallerdev has quit [Quit: wallerdev]
02:24
wallerdev has joined #ruby
02:26
heftig has quit [Quit: Quitting]
02:28
seamon has joined #ruby
02:29
benzrf|offline is now known as benzrf
02:30
arup_r has joined #ruby
02:31
mikesplain has joined #ruby
02:32
kevkev____ has joined #ruby
02:34
InfraRuby has left #ruby [#ruby]
02:35
fgo has joined #ruby
02:36
mikesplain has quit [Ping timeout: 255 seconds]
02:36
kevkev____ has quit [Ping timeout: 260 seconds]
02:37
szuletett has joined #ruby
02:37
nateberkopec has joined #ruby
02:37
heftig has joined #ruby
02:38
sinkensabe has joined #ruby
02:40
fgo has quit [Ping timeout: 264 seconds]
02:40
iamjarvo_ has joined #ruby
02:41
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
02:41
tylerkern has joined #ruby
02:41
amystephen has joined #ruby
02:41
vsoftoiletpaper has quit []
02:43
fold has quit [Ping timeout: 245 seconds]
02:43
sinkensabe has quit [Ping timeout: 256 seconds]
02:46
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
02:46
Kricir has joined #ruby
02:47
redondo has quit [Ping timeout: 255 seconds]
02:49
amystephen has quit [Quit: amystephen]
02:49
arup_r has quit [Quit: Leaving.]
02:50
szuletett has quit [Quit: Leaving]
02:50
amacou has quit [Ping timeout: 255 seconds]
02:51
ericmathison has quit [Quit: Leaving]
02:51
Karpuragauram has quit [Quit: Leaving]
02:51
ericmathison has joined #ruby
02:52
beneggett has joined #ruby
02:55
dbasch has joined #ruby
02:57
dbasch has quit [Client Quit]
02:58
danijoo has quit [Read error: Connection reset by peer]
02:59
danijoo has joined #ruby
02:59
nateberkopec has quit [Quit: Leaving...]
02:59
eka has joined #ruby
03:01
tkuchiki has quit [Remote host closed the connection]
03:02
Starless has quit [Quit: Leaving]
03:02
fgo has joined #ruby
03:03
Kricir has quit [Ping timeout: 240 seconds]
03:03
arup_r has joined #ruby
03:04
SilkFox has joined #ruby
03:04
tjr9898 has quit [Remote host closed the connection]
03:04
arya_ has quit [Ping timeout: 250 seconds]
03:05
tjr9898 has joined #ruby
03:05
braincrash has quit [Quit: bye bye]
03:06
beef-wellington has joined #ruby
03:06
fly2web has quit [Quit: fly2web]
03:06
saarinen has joined #ruby
03:08
SilkFox has quit [Ping timeout: 240 seconds]
03:09
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
03:10
thams has joined #ruby
03:10
braincrash has joined #ruby
03:10
lmickh has quit [Remote host closed the connection]
03:10
Noob101 has quit [Ping timeout: 246 seconds]
03:12
Akagi201 has joined #ruby
03:13
szuletett has joined #ruby
03:13
xenomorph is now known as {xenomorph}
03:13
{xenomorph} is now known as xenomorph
03:14
Arkaniad has joined #ruby
03:14
brianherman_ has quit [Read error: Connection reset by peer]
03:14
Arkaniad has quit [Read error: Connection reset by peer]
03:15
goshdarnyou has quit [Quit: Connection closed for inactivity]
03:15
arup_r has quit [Quit: Leaving.]
03:15
szuletett has quit [Remote host closed the connection]
03:16
saarinen has quit [Quit: saarinen]
03:16
Arkaniad has joined #ruby
03:16
Arkaniad has quit [Read error: Connection reset by peer]
03:17
nateberkopec has joined #ruby
03:22
teddyp1cker has joined #ruby
03:22
seamon has quit [Quit: Zzzzzzz]
03:23
krz has joined #ruby
03:23
Zenigor has joined #ruby
03:24
yfeldblu_ has joined #ruby
03:24
danijoo has quit [Read error: Connection reset by peer]
03:25
danijoo has joined #ruby
03:26
teddyp1cker has quit [Ping timeout: 240 seconds]
03:26
yfeldblu_ has quit [Remote host closed the connection]
03:27
yfeldblu_ has joined #ruby
03:27
yfeldblum has quit [Read error: Connection reset by peer]
03:27
theharshest has joined #ruby
03:31
Zenigor has quit [Remote host closed the connection]
03:31
Zenigor has joined #ruby
03:32
mikesplain has joined #ruby
03:32
JoshGlzBrk has joined #ruby
03:33
kevkev____ has joined #ruby
03:35
jamto11 has joined #ruby
03:36
abuzze has joined #ruby
03:36
Zenigor has quit [Ping timeout: 260 seconds]
03:36
saarinen has joined #ruby
03:36
mikesplain has quit [Ping timeout: 260 seconds]
03:37
krz has quit [Quit: WeeChat 0.4.3]
03:37
kevkev____ has quit [Ping timeout: 250 seconds]
03:39
thams has quit [Quit: thams]
03:39
mois3x has quit [Quit: mois3x]
03:40
abuzze has quit [Ping timeout: 250 seconds]
03:41
bradleyprice has quit [Remote host closed the connection]
03:41
bradleyprice has joined #ruby
03:42
ixti has quit [Ping timeout: 256 seconds]
03:44
echevemaster has joined #ruby
03:44
lanox has joined #ruby
03:45
kumarat9pm1 has joined #ruby
03:46
bradleyprice has quit [Ping timeout: 240 seconds]
03:46
kumarat9pm has quit [Ping timeout: 250 seconds]
03:46
kevkev____ has joined #ruby
03:46
amacou has joined #ruby
03:46
kumarat9pm1 has quit [Read error: Connection reset by peer]
03:48
kumarat9pm has joined #ruby
03:50
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
03:50
kevkev____ has quit [Ping timeout: 256 seconds]
03:52
sptx00 has joined #ruby
03:56
arup_r has joined #ruby
03:57
mikesplain has joined #ruby
03:58
hparker` has quit [Ping timeout: 244 seconds]
03:59
Kricir has joined #ruby
03:59
saarinen has quit [Quit: saarinen]
04:00
mostlybadfly has quit [Quit: Connection closed for inactivity]
04:01
ARCADIVS has joined #ruby
04:01
mikesplain has quit [Ping timeout: 250 seconds]
04:02
goshdarnyou has joined #ruby
04:04
Kricir has quit [Ping timeout: 240 seconds]
04:05
SilkFox has joined #ruby
04:05
beef-wellington has quit [Ping timeout: 250 seconds]
04:06
razum2um has joined #ruby
04:07
wrist has joined #ruby
04:08
<
eam >
in what cases is #itself useful?
04:09
SilkFox has quit [Ping timeout: 240 seconds]
04:10
nateberkopec has quit [Quit: Leaving...]
04:11
Xercin has joined #ruby
04:11
wrist has quit [Ping timeout: 256 seconds]
04:13
Xercin has left #ruby [#ruby]
04:14
wrist has joined #ruby
04:14
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
04:16
JoshGlzBrk has joined #ruby
04:18
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
04:18
thams has joined #ruby
04:18
wrist has quit [Ping timeout: 260 seconds]
04:19
tuxninja_ has joined #ruby
04:20
<
gizmore >
i need help in compiling a C extension wrapper for libpurple
04:20
<
gizmore >
i managed to succed in "make clean && make install" it builds an .so
04:21
JoshGlzBrk has quit [Ping timeout: 256 seconds]
04:21
iliketurtles has joined #ruby
04:21
tuxninja has quit [Ping timeout: 260 seconds]
04:22
<
gizmore >
but there is ERROR: rubycode require "" file_not_found: rubypurple_ext
04:22
<
iliketurtles >
if I mix in a module with N number of private methods into another class, is it possible to programatically invoke all of these mixed-in private methods in that class in some sort of enumerator?
04:22
<
gizmore >
i have built rubypurple_ext.so but require does not find it?
04:22
beneggett has joined #ruby
04:22
<
gizmore >
iliketurtles: no
04:22
lxsameer has joined #ruby
04:22
<
iliketurtles >
gizmore: any idea how to accomplish something similar
04:23
<
gizmore >
iliketurtles: maybe you would like to use some subscribe/publish method
04:23
Solnse has joined #ruby
04:24
dbasch has joined #ruby
04:24
larissa has quit [Quit: Leaving]
04:24
<
gizmore >
can i load gizmore.so binarylib with require "gizmore" ? Oo
04:24
<
Hanmac >
eam for group_by for sample
04:25
benzrf is now known as benzrf|offline
04:25
AlexBlom has quit [Ping timeout: 264 seconds]
04:25
<
gizmore >
Class.relation.each do |item|
04:25
tjr9898_ has joined #ruby
04:25
<
eam >
Hanmac: I'm dense, how is it used there?
04:25
<
gizmore >
item.publish('myproject/ohnoigotouched')
04:26
<
Hanmac >
gizmore: so did you make the libpurple wrapper yourself? require does not search in current path
04:26
beneggett has quit [Client Quit]
04:26
<
gizmore >
Hanmac: i have forked code from 2009, patched a .c file and try to compile it (i have 400kb .so \o/)
04:26
<
Hanmac >
eam enum.group_by(&:itself) might be better than group_by {|n| n}
04:27
kireevco has joined #ruby
04:27
<
Hanmac >
gizmore: hm for testing did you try require "./rubypurple_ext"
04:27
<
gizmore >
Hanmac: he also wants to execute a method / event on all then, i think
04:27
<
eam >
Hanmac: ooooh
04:27
fly2web has joined #ruby
04:27
beneggett has joined #ruby
04:28
<
gizmore >
eam: you can call parent methods with "super" in your methods
04:28
<
fly2web >
numbers.inject(0) { |sum, number | sum + number } <—— what is ‘0’?
04:28
<
gizmore >
if you really need to chain something, you probably need something like publish/subscribe or a simple array or something
04:28
tjr9898 has quit [Ping timeout: 240 seconds]
04:28
<
gizmore >
* this should have went to iliketurtles -.-
04:29
<
iliketurtles >
gizmore: not really chain, just i want to ensure all methods in a module can be invoked in a single call :\
04:29
<
gizmore >
btw i made the best irc bot ever in ruby since january :)
04:29
<
eam >
fly2web: the starting sum
04:29
<
fly2web >
oh thanks eam
04:29
thams has quit [Quit: thams]
04:29
mallu has joined #ruby
04:29
<
gizmore >
iliketurtles: yeah, i think you need to push the methods on an array, and call them all for an object
04:30
<
gizmore >
iliketurtles: if you like i can tutor you a bit in query
04:30
<
gizmore >
or in #ruby101
04:30
cibs has quit [Ping timeout: 252 seconds]
04:30
<
mallu >
hi, I have two days.. 2014-08-01T04:05:12.000Z and 2014-08-02T04:21:52.000Z How do I check to see if one is older than the other?
04:31
<
fly2web >
i m reading rubymonk twice times.
04:32
<
mallu >
I want to check to see if the first days is older than 2 days
04:32
<
mallu >
is it possible without splitting?
04:32
<
gizmore >
Hanmac: i did this: make install and it copied the .so :P
04:32
<
gizmore >
as root.... i hope it´s not malware!
04:32
<
mallu >
the dates were created via Time.now.utc.strftime("%Y-%m-%dT%I:%M:%S.000Z")
04:33
<
mallu >
can someone please help
04:33
<
gizmore >
mallu: first+2.days <= second
04:34
<
mallu >
ok let me try that
04:34
<
gizmore >
mallu: imagine it as two "timelines" / "lineals"
04:34
fly2web has quit [Quit: fly2web]
04:34
<
gizmore >
you surely wanna check if something happens with A when patched with 2.days :)
04:35
<
gizmore >
and you wanna check if its something with B (can be a point) ,,, then in your head move the lineal + 2 over point B
04:35
ltd has quit [Ping timeout: 260 seconds]
04:35
ltd has joined #ruby
04:36
<
Hanmac >
gizmore: beware, #days is a rails method and does not work everywhere
04:37
<
gizmore >
class Number; def days(d); d*14440; end
04:38
<
gizmore >
no need to change good code for the kernel slim
04:39
<
mallu >
[143] pry(main)> start_time = "2014-08-01T04:05:12.000Z" => "2014-08-01T04:05:12.000Z" [144] pry(main)> date_now = Time.now.utc.strftime("%Y-%m-%dT%I:%M:%S.000Z") => "2014-08-02T04:36:57.000Z" [145] pry(main)> start_time+2.days <= date_now NoMethodError: undefined method `days' for 2:Fixnum from (pry):173:in `__pry__
04:39
<
gizmore >
>> 2*60*60*24
04:39
cibs has joined #ruby
04:39
sinkensabe has joined #ruby
04:39
jxf has joined #ruby
04:39
<
gizmore >
mallu: instead of 2.days use 172800
04:40
mostlybadfly has joined #ruby
04:40
<
gizmore >
or write class Number; def days(d); d*60*60*24; end; end somewhere above to monkeypath
04:40
Avahey_ has joined #ruby
04:41
<
Hanmac >
mallu: you do it wrong, you need to convert both your time into Time objects not both into strings
04:41
<
mallu >
gizmore: my start_date is a string correct
04:42
<
gizmore >
your dates should be Time or DateTime objects
04:42
<
mallu >
ok.. so start_date.time?
04:42
<
gizmore >
hmm, i am on rails, but i think it uses normal Time and Datetime too
04:43
<
gizmore >
>> (Time.now + 20 ) > (Time.now + 10)
04:43
sinkensabe has quit [Ping timeout: 240 seconds]
04:44
Wolland has quit [Remote host closed the connection]
04:44
<
Hanmac >
>> require "date"; start_time = DateTime.parse "2014-08-01T04:05:12.000Z"; start_time + 2 <= DateTime.now
04:45
<
gizmore >
Hanmac: yep, except replace time.now with B
04:45
kumarat9pm has quit [Ping timeout: 256 seconds]
04:46
dbasch has quit [Quit: dbasch]
04:46
<
Hanmac >
mallu look how i would do that
04:46
<
mallu >
geat.. exactly what I needed
04:47
<
mallu >
one quick question.. how to you convert DateTime to UTC?
04:47
kevkev____ has joined #ruby
04:48
<
gizmore >
UTC is the timezone at 0 all the time, no?
04:48
<
gizmore >
>> TimeZone.set('UTC')
04:48
<
gizmore >
mallu: probably setting the timezone to utc before using methods that have localization
04:49
<
mallu >
got it.. DateTime.now.new_offset(0)
04:49
<
gizmore >
what does that do? Oo
04:49
<
gizmore >
does it shift time?
04:50
<
mallu >
convert current time to utc
04:50
fly2web has joined #ruby
04:50
<
iliketurtles >
gizmore: went ahead and just added a constant to the module containing the method names I want to call, since there are only a few for now
04:50
<
iliketurtles >
then I can call them programatically via METHODS.each { |m| self.send(m, token) }
04:50
<
gizmore >
mallu: i would expect if i do Time.now("sometz") == Time.now("othertz") it is the same value ... just the "display" is different
04:51
<
iliketurtles >
wish there was a way to generate a list of method names programatically in a method :P
04:51
<
gizmore >
mallu: maybe you can also make it remember which timezone entered it? (no idea)
04:51
kevkev____ has quit [Ping timeout: 250 seconds]
04:51
<
mallu >
i think DateTime.now.new_offset(0) will work for me
04:51
<
gizmore >
mallu: but the "values" should be the same... like 4:00GMT+1 is the same as 3:00GMT+2
04:52
<
gizmore >
maybe it now show 3:00UTC
04:52
everett has quit [Ping timeout: 255 seconds]
04:52
yfeldblu_ has quit [Remote host closed the connection]
04:52
<
gizmore >
because the time/date knows "aha we want utc representation" (just guessing)
04:52
tjr9898 has joined #ruby
04:52
philcrissman has joined #ruby
04:53
<
gizmore >
btw, rfc giz003: PlanckSeconds since last_big_bang (the new unix timestamp)
04:54
everett has joined #ruby
04:54
<
gizmore >
iliketurtles: self.class.instance_methods.sort
04:55
<
iliketurtles >
gizmore: that doesn't seem to work for a module...
04:56
tjr9898_ has quit [Ping timeout: 245 seconds]
04:56
<
iliketurtles >
i dont see any of my mixed in methods if i look at the class that mixes in the module that defines the methods im interested in either
04:57
nemesit|znc has quit [Ping timeout: 272 seconds]
04:57
axsuul has joined #ruby
04:57
mikesplain has joined #ruby
04:58
<
gizmore >
iliketurtles: try self.instance_methods inside a module
04:58
JBreit has left #ruby ["Leaving"]
04:58
yeticry has quit [Ping timeout: 255 seconds]
04:59
<
iliketurtles >
i get an empty array gizmore
04:59
charliesome has joined #ruby
04:59
<
iliketurtles >
oh, i should mention they're private methods
04:59
<
gizmore >
should not matter
04:59
yeticry has joined #ruby
04:59
<
gizmore >
the maybe your module does not define any methods
04:59
ValicekB has quit [Ping timeout: 255 seconds]
05:00
<
iliketurtles >
it does. two.
05:00
EvanR_ has quit [Read error: Connection reset by peer]
05:00
<
iliketurtles >
even if i invoke self.private_instance_methods i get an empty array
05:00
Kricir has joined #ruby
05:00
nemesit|znc has joined #ruby
05:01
EvanR has joined #ruby
05:01
chrishough has quit [Quit: chrishough]
05:01
axsuul has quit [Read error: Connection reset by peer]
05:01
EvanR is now known as Guest2685
05:01
axsuul has joined #ruby
05:02
mikesplain has quit [Ping timeout: 256 seconds]
05:03
Takle has joined #ruby
05:05
Kricir has quit [Ping timeout: 264 seconds]
05:05
SilkFox has joined #ruby
05:06
bradleyprice has joined #ruby
05:07
<
fly2web >
modudle can’t initiated? but class can intiated?
05:07
<
iliketurtles >
i think you mean instantiated
05:08
Takle has quit [Ping timeout: 250 seconds]
05:08
<
iliketurtles >
but in fact, if you require a module in a class, you can call module.private_instance_methods and you get an array. you can't call it in the self context of the module though. weird
05:08
<
iliketurtles >
or maybe pry is being janky
05:09
<
fly2web >
oh yes instantiated.
05:09
<
fly2web >
thanks :)
05:09
<
fly2web >
iliketurtles:
05:10
<
fly2web >
iliketurtles: are you skilled for programming?
05:10
SilkFox has quit [Ping timeout: 256 seconds]
05:10
<
iliketurtles >
lol, i suppose? fly2web
05:12
<
iliketurtles >
i'm not the best w/ ruby
05:12
<
fly2web >
then i want see content of my aiside man’s internet. then i can see it by wireless?
05:13
<
fly2web >
possible?
05:13
ValicekB has joined #ruby
05:14
<
fly2web >
what is it?
05:14
IceDragon has quit [Quit: Space~~~]
05:14
mehlah has quit [Quit: Leaving...]
05:15
cobakobodob has quit [Ping timeout: 255 seconds]
05:16
_5kg has quit [Ping timeout: 245 seconds]
05:17
<
fly2web >
now i feel ruby as normal level instead of difficulty
05:18
jamto11 has quit [Remote host closed the connection]
05:18
jamto11 has joined #ruby
05:18
axl_ has joined #ruby
05:19
Morkel has joined #ruby
05:19
nobodyzzz has joined #ruby
05:19
Sauvin has joined #ruby
05:19
spastorino has quit [Quit: Connection closed for inactivity]
05:19
axl_ has quit [Client Quit]
05:20
patrick99e99 has joined #ruby
05:20
crazydev has joined #ruby
05:20
dideler has joined #ruby
05:21
tuxninja_ has quit []
05:21
dbasch has joined #ruby
05:21
sepp2k1 has quit [Read error: Connection reset by peer]
05:21
jamto11 has quit [Remote host closed the connection]
05:22
x1337807x has joined #ruby
05:22
lw has quit [Quit: s]
05:22
n_blownapart has joined #ruby
05:22
tjr9898 has quit [Remote host closed the connection]
05:23
teddyp1cker has joined #ruby
05:23
tjr9898 has joined #ruby
05:23
InfraRuby has joined #ruby
05:23
<
crazydev >
Hi, I'm ruby developer, one of my friend invited me into his startup as dev, but they are using php with laravel, But i didnt like to work on php project, is it bad for a programmer to reject a project because of their language choise ?
05:24
philcrissman has quit [Remote host closed the connection]
05:24
abuzze has joined #ruby
05:24
philcrissman has joined #ruby
05:24
patrick99e99 has quit [Ping timeout: 245 seconds]
05:25
<
Hanmac >
depends ... do you have or gain enough money already that you can say no?
05:25
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
05:26
theharshest has quit [Quit: This computer has gone to sleep]
05:27
teddyp1cker has quit [Ping timeout: 260 seconds]
05:27
lidaaa has joined #ruby
05:27
<
crazydev >
money ? of course, but as a friend, i have to help him, but working with those php code doesnt make comfortable
05:28
theharshest has joined #ruby
05:28
abuzze has quit [Ping timeout: 250 seconds]
05:28
philcrissman has quit [Ping timeout: 255 seconds]
05:29
Arkaniad has joined #ruby
05:30
crazydev has quit [Quit: Page closed]
05:32
tjr9898_ has joined #ruby
05:32
bricker`LA has joined #ruby
05:33
mr_snowf1ake has joined #ruby
05:33
iteratorP has joined #ruby
05:33
fmendez has quit [Remote host closed the connection]
05:34
Photism has quit [Quit: Leaving]
05:34
dseitz has joined #ruby
05:35
tjr9898 has quit [Ping timeout: 240 seconds]
05:36
fredlinhares has joined #ruby
05:37
aantix has joined #ruby
05:38
tjr9898_ has quit [Remote host closed the connection]
05:39
tjr9898 has joined #ruby
05:42
kumarat9pm has joined #ruby
05:43
cobakobodob has joined #ruby
05:44
landodger has joined #ruby
05:45
tvw has joined #ruby
05:47
<
mallu >
is it possible to put an if statement with this? creation_time = DateTime.parse "#{creation_date}"; creation_time + 1 >= DateTime.now.new_offset(0)
05:47
axsuul has quit [Ping timeout: 260 seconds]
05:47
<
mallu >
if creation_time = DateTime.parse "#{creation_date}"; creation_time + 1 >= DateTime.now.new_offset(0) SyntaxError: unexpected tSTRING_BEG, expecting keyword_then or ';' or '\n' ...reation_time = DateTime.parse "#{creation_date}"; creation_t.
05:47
<
mallu >
i want this to be conditional
05:47
kevkev____ has joined #ruby
05:48
Wolland has joined #ruby
05:48
<
mallu >
so that if true do something else do something else
05:49
Kricir has joined #ruby
05:49
<
mallu >
gizmore: any idea?
05:50
axsuul has joined #ruby
05:50
<
fredlinhares >
mallu, do know about ternary operators?
05:52
<
fredlinhares >
a = b > 10 ? result_if_true : result_if_false
05:52
kevkev____ has quit [Ping timeout: 250 seconds]
05:52
<
mallu >
something like the this creation_time = DateTime.parse "#{creation_date}"; creation_time + 1 >= DateTime.now.new_offset(0)?
05:53
AndChat| has quit [Ping timeout: 264 seconds]
05:54
<
mallu >
fredlinhares: can you tell me how I can modify mine?
05:55
Morkel has quit [Quit: Morkel]
05:55
<
gizmore >
mallu: try:
05:55
<
gizmore >
creation_time = DateTime.parse "#{creation_date}";
05:56
<
gizmore >
(creation_time + 1) >= DateTime.now.new_offset(0)?
05:56
<
gizmore >
not the () in the left
05:56
<
gizmore >
note the () in the left*
05:58
zeropx has quit [Quit: has left the room … Or did he?]
05:58
theharshest has quit [Quit: This computer has gone to sleep]
05:58
mikesplain has joined #ruby
05:59
<
gizmore >
i MaDE IT \O/
06:01
<
gizmore >
fixed ruby libpurple wrappers "ruburple" to compile with newer stuff, made a local gem with it and my rails uses it and hopefully i can start playing now
06:01
<
mallu >
gizmore: forgive my ignorance.. so how do I do something is it is true?
06:02
nairys has quit [Quit: nairys]
06:02
iliketurtles has quit [Quit: zzzzz…..]
06:02
<
gizmore >
mallu: def a_older_than_b_for_time_n(a, b, n)
06:03
<
gizmore >
(a+n) < b
06:03
mikesplain has quit [Ping timeout: 255 seconds]
06:03
banjara has joined #ruby
06:04
<
gizmore >
mallu: make sure you call that function with time/datetime objects
06:04
<
gizmore >
'n' can be a number
06:04
banjara has quit [Client Quit]
06:06
SilkFox has joined #ruby
06:06
fredlinhares has quit [Quit: WeeChat 0.3.8]
06:07
Shidash has joined #ruby
06:09
jjasonclark has joined #ruby
06:10
<
mallu >
gizmore: can you please take a look at this and tell me how I can execute delete-snapshot if the above condition is true?
http://pastie.org/9438436
06:10
iliketurtles has joined #ruby
06:10
Kricir has quit [Remote host closed the connection]
06:11
Doppp has quit [Quit: leaving]
06:11
SilkFox has quit [Ping timeout: 255 seconds]
06:11
Doppp has joined #ruby
06:13
inSky has joined #ruby
06:14
Wolland has quit [Remote host closed the connection]
06:15
wrist has joined #ruby
06:18
<
mallu >
gizmore: I'm getting Age in seconds: 0
06:19
tectonic has quit []
06:19
wrist has quit [Ping timeout: 250 seconds]
06:21
<
mallu >
gizmore: creation_date: 2014-08-02T06:16:37.000Z creation_time: 2014-08-02T06:16:37+00:00 Age in seconds: 0
06:22
Bumptious has quit [Remote host closed the connection]
06:23
GriffinHeart has joined #ruby
06:23
kireevco has quit [Quit: Leaving.]
06:23
JoshGlzBrk has joined #ruby
06:24
asmodlol has joined #ruby
06:24
Channel6 has quit [Quit: Leaving]
06:25
sixxy has joined #ruby
06:25
crazydev has joined #ruby
06:25
kireevco has joined #ruby
06:26
<
mallu >
its not calculating the age correctly creation_date: 2014-08-02T06:16:37.000Z creation_time: 2014-08-02T06:16:37+00:00 DateTime: 2014-08-02T06:25:35+00:00 Age in seconds: 0
06:27
<
gizmore >
you seem to compare the same date maybe?
06:28
<
mallu >
comparing this creation_time: 2014-08-02T06:16:37+00:00 DateTime: 2014-08-02T06:25:35+00:00
06:28
<
gizmore >
>> a = Time.now.utc.strftime("1970-01-01T01:01:01.000Z"); a.to_i
06:28
Kricir has joined #ruby
06:29
<
gizmore >
>> a = Time(1970, 1, 1, 1, 1, 10); a.to_i
06:29
toastynerd has joined #ruby
06:29
<
gizmore >
>> a = Time.new(1970, 1, 1, 1, 1, 10); a.to_i
06:29
yfeldblum has joined #ruby
06:29
arup_r has quit [Quit: Leaving.]
06:29
<
gizmore >
>> a = Time.now.utc.strftime("1970-01-01T01:01:10.000Z"); a.to_i
06:29
<
gizmore >
it seems that the strftime does not like the format?
06:29
<
gizmore >
>> a = Time.now.utc.strftime("1971-01-01T01:01:10.000Z"); a.to_i
06:29
<
gizmore >
>> a = Time.new(1971, 1, 1, 1, 1, 10); a.to_i
06:29
luckyruby has quit [Quit: Leaving...]
06:30
<
gizmore >
>> a = Time.new(1971, 1, 1, 1, 1, 20); a.to_i
06:30
<
gizmore >
mallu: maybe your strftime is just wrong
06:32
iteratorP has quit [Remote host closed the connection]
06:33
iteratorP has joined #ruby
06:34
felgenh3 has joined #ruby
06:36
toastynerd has quit [Remote host closed the connection]
06:36
Rollabunna has quit [Read error: Connection reset by peer]
06:36
Rollabunna has joined #ruby
06:37
<
mallu >
what does this number mean? age = (DateTime.now - creation_time) => (23867126930369/21600000000000)
06:37
sinkensabe has joined #ruby
06:37
amacou has quit [Remote host closed the connection]
06:38
amacou has joined #ruby
06:38
<
mallu >
gizmore: do you know what this number means? age = (DateTime.now - creation_time) => (23867126930369/21600000000000)
06:38
<
mozzarella >
time elapsed
06:38
<
mallu >
in seconds?
06:39
<
mozzarella >
elapsed time in seconds, yes
06:40
dideler has quit [Ping timeout: 256 seconds]
06:41
jjasonclark has quit [Quit: jjasonclark]
06:41
<
mallu >
why there is a /?
06:41
txdv has quit [Read error: Connection reset by peer]
06:41
Wolland has joined #ruby
06:41
danijoo has quit [Read error: Connection reset by peer]
06:42
txdv has joined #ruby
06:42
danijoo has joined #ruby
06:42
<
mallu >
[237] pry(main)> DateTime.now => #<DateTime: 2014-08-01T23:41:55-07:00 ((2456872j,24115s,678489932n),-25200s,2299161j)> [238] pry(main)> creation_time => #<DateTime: 2014-08-01T04:05:12+00:00 ((2456871j,14712s,0n),+0s,2299161j)> [239] pry(main)> (DateTime.now - creation_time).to_i => 1
06:42
iteratorP has quit [Remote host closed the connection]
06:42
<
mallu >
why only 1 second?
06:43
iteratorP has joined #ruby
06:43
amacou has quit [Ping timeout: 264 seconds]
06:44
<
mallu >
shouldn't DateTime.now - creation_time more than 7 hours?
06:45
Kricir has quit [Remote host closed the connection]
06:45
<
mozzarella >
I think it's substracting the two underlying dates
06:45
relix has joined #ruby
06:46
<
mallu >
two underlying dates?
06:47
<
mallu >
can you please explain that if you don't mind
06:47
<
mozzarella >
I date only cares about the current day, not the current time
06:47
<
mozzarella >
so it gives you the number of days
06:47
<
mozzarella >
>> (DateTime.now - DateTime.now.prev_month).to_i
06:48
<
mozzarella >
s/I/a/
06:48
<
mozzarella >
the bot is dead
06:48
<
mallu >
oh I see.. that makes sense
06:48
<
mozzarella >
( ;____;)
06:48
kevkev____ has joined #ruby
06:49
<
mallu >
mozzarella: thanks
06:49
danijoo has quit [Read error: Connection reset by peer]
06:49
<
mozzarella >
why are you working with datetimes?
06:49
rtlong has quit [Ping timeout: 260 seconds]
06:49
danijoo has joined #ruby
06:50
arup_r has joined #ruby
06:50
<
mallu >
trying to compare two dates and if creationg_time is older than certain days I want to do something
06:50
Mars` has quit [Ping timeout: 260 seconds]
06:50
<
mallu >
if creation_date > 7 then delete some old backups
06:50
<
mozzarella >
7 days?
06:51
<
mallu >
an arbitrary #
06:51
<
mallu >
actually... we only want to keep backup for 7 days in aws
06:51
<
mozzarella >
I see, then you can use that, it gives you the number of days instead of seconds
06:51
amacou has joined #ruby
06:51
<
mozzarella >
if you want seconds you can call .to_time on the datetimes
06:51
<
mallu >
ok.. cool thanks
06:51
<
mallu >
days is fine
06:52
abuzze has joined #ruby
06:52
rtlong has joined #ruby
06:53
kevkev____ has quit [Ping timeout: 245 seconds]
06:53
tjr9898_ has joined #ruby
06:53
yfeldblum has quit [Read error: Connection reset by peer]
06:54
Ilyas has joined #ruby
06:54
yfeldblum has joined #ruby
06:55
Mars` has joined #ruby
06:55
iteratorP has quit [Remote host closed the connection]
06:55
iliketurtles has quit [Quit: zzzzz…..]
06:56
<
mozzarella >
( ≖‿≖)
06:56
<
mozzarella >
it's too late eval-in… just go home
06:56
tjr9898 has quit [Ping timeout: 255 seconds]
06:57
danijoo has quit [Read error: Connection reset by peer]
06:57
Rollabunna has quit [Read error: Connection reset by peer]
06:57
Rollabunna has joined #ruby
06:57
felgenh3 has left #ruby [#ruby]
06:58
danijoo has joined #ruby
06:58
felgenh3 has joined #ruby
06:59
aantix has quit [Quit: aantix]
06:59
mikesplain has joined #ruby
06:59
davedev24_ has quit [Remote host closed the connection]
07:00
agrinb has joined #ruby
07:00
davedev24_ has joined #ruby
07:00
Gonzih has joined #ruby
07:00
starkhalo has quit [Ping timeout: 256 seconds]
07:04
mikesplain has quit [Ping timeout: 250 seconds]
07:04
davedev2_ has joined #ruby
07:04
davedev24_ has quit [Ping timeout: 244 seconds]
07:05
matrixdevuk is now known as IRCMyBot
07:06
mallu has quit [Ping timeout: 246 seconds]
07:06
matrixdevuk has joined #ruby
07:06
teddyp1cker has joined #ruby
07:06
crazydev has quit [Ping timeout: 246 seconds]
07:06
razum2um has quit [Quit: Leaving.]
07:07
jottr has joined #ruby
07:07
SilkFox has joined #ruby
07:08
iteratorP has joined #ruby
07:09
<
Mon_Ouie >
You need require 'date'
07:10
<
Mon_Ouie >
>> require 'date'; DateTime
07:11
SilkFox has quit [Ping timeout: 245 seconds]
07:14
iamjarvo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:15
n_blownapart has quit [Remote host closed the connection]
07:15
lele has joined #ruby
07:15
oo_ has joined #ruby
07:16
wrist has joined #ruby
07:20
wrist has quit [Ping timeout: 244 seconds]
07:20
<
mozzarella >
Mon_Ouie: it took 8 goddamn minutes to answer…
07:21
patrick99e99 has joined #ruby
07:22
<
Mon_Ouie >
Oh, he's probably just tired
07:23
razum2um has joined #ruby
07:23
yacks has quit [Ping timeout: 264 seconds]
07:23
klaut has joined #ruby
07:25
goshdarnyou has quit [Quit: Connection closed for inactivity]
07:25
patrick99e99 has quit [Ping timeout: 250 seconds]
07:27
GriffinHeart has quit [Remote host closed the connection]
07:27
JoshGlzBrk has quit [Read error: No route to host]
07:28
JoshGlzBrk has joined #ruby
07:28
agrinb has quit [Remote host closed the connection]
07:28
jdj_dk has joined #ruby
07:29
tjr9898_ has quit [Remote host closed the connection]
07:29
ericmathison has quit [Ping timeout: 240 seconds]
07:30
tjr9898 has joined #ruby
07:30
godd2 has quit [Ping timeout: 245 seconds]
07:31
GriffinHeart has joined #ruby
07:32
axsuul_ has joined #ruby
07:32
axsuul has quit [Read error: Connection reset by peer]
07:34
Solnse has quit [Ping timeout: 256 seconds]
07:34
decoponio has joined #ruby
07:34
diegoviola has joined #ruby
07:35
lkba has joined #ruby
07:36
teddyp1cker has quit [Remote host closed the connection]
07:38
razum2um has quit [Quit: Leaving.]
07:39
tjr9898_ has joined #ruby
07:39
JoshGlzBrk has quit [Read error: Connection reset by peer]
07:39
JoshGlzB_ has joined #ruby
07:39
kenneth has joined #ruby
07:41
dbasch has quit [Quit: dbasch]
07:41
lidaaa has quit [Ping timeout: 264 seconds]
07:42
tjr9898 has quit [Ping timeout: 256 seconds]
07:43
abuzze has quit [Remote host closed the connection]
07:44
abuzze has joined #ruby
07:45
terrell_t has joined #ruby
07:45
LACP has quit [Ping timeout: 240 seconds]
07:45
alem0lars has joined #ruby
07:45
terrellt has quit [Read error: Connection reset by peer]
07:46
yacks has joined #ruby
07:47
sivoais has quit [Ping timeout: 272 seconds]
07:47
LACP has joined #ruby
07:48
sivoais has joined #ruby
07:49
kevkev____ has joined #ruby
07:50
crazydiamond has joined #ruby
07:51
Bumptious has joined #ruby
07:51
iteratorP has quit [Remote host closed the connection]
07:51
abuzze has quit [Remote host closed the connection]
07:51
abuzze has joined #ruby
07:51
JoshGlzB_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
07:51
iliketurtles has joined #ruby
07:52
abuzze has quit [Remote host closed the connection]
07:52
kireevco has quit [Quit: Leaving.]
07:53
abuzze has joined #ruby
07:53
iteratorP has joined #ruby
07:53
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
07:53
abuzze_ has joined #ruby
07:53
kevkev____ has quit [Ping timeout: 240 seconds]
07:55
arquebus has joined #ruby
07:57
abuzze has quit [Ping timeout: 260 seconds]
07:57
sinkensabe has quit [Remote host closed the connection]
07:58
sinkensabe has joined #ruby
07:58
ddv has joined #ruby
07:58
ddv has quit [Changing host]
07:59
olivier_bK has joined #ruby
08:00
felgenh3 has quit [Quit: felgenh3]
08:00
cleopatra has joined #ruby
08:00
mikesplain has joined #ruby
08:00
cleopatra has quit [Client Quit]
08:00
mostlybadfly has quit [Quit: Connection closed for inactivity]
08:00
cleopatra has joined #ruby
08:01
Platini has joined #ruby
08:02
sinkensabe has quit [Ping timeout: 240 seconds]
08:02
sirene has joined #ruby
08:02
abuzze_ has quit [Remote host closed the connection]
08:04
mikesplain has quit [Ping timeout: 264 seconds]
08:05
bradleyprice has quit [Remote host closed the connection]
08:06
bradleyprice has joined #ruby
08:06
jottr has quit [Ping timeout: 255 seconds]
08:07
Photism has joined #ruby
08:07
jdj_dk has quit [Remote host closed the connection]
08:08
SilkFox has joined #ruby
08:08
jdj_dk has joined #ruby
08:08
sinkensabe has joined #ruby
08:08
marr has joined #ruby
08:09
felgenh3 has joined #ruby
08:09
arquebus has quit [Ping timeout: 255 seconds]
08:10
mijicd has joined #ruby
08:10
iteratorP has quit [Remote host closed the connection]
08:10
teddyp1cker has joined #ruby
08:10
bradleyprice has quit [Ping timeout: 264 seconds]
08:10
felgenh3 has left #ruby [#ruby]
08:11
felgenh3 has joined #ruby
08:12
SilkFox has quit [Ping timeout: 250 seconds]
08:12
jdj_dk has quit [Ping timeout: 256 seconds]
08:13
oo_ has quit [Remote host closed the connection]
08:14
hellangel7 has joined #ruby
08:15
oo_ has joined #ruby
08:15
diegovio1 has joined #ruby
08:15
sinkensabe has quit [Remote host closed the connection]
08:15
diegoviola has quit [Ping timeout: 244 seconds]
08:16
diegovio1 is now known as diegoviola
08:16
sinkensabe has joined #ruby
08:16
ndrei has joined #ruby
08:17
wrist has joined #ruby
08:17
Kricir has joined #ruby
08:17
ltd has quit [Ping timeout: 250 seconds]
08:18
arya_ has joined #ruby
08:19
bruno- has joined #ruby
08:19
carraroj has joined #ruby
08:19
felgenh3- has joined #ruby
08:20
bruno- is now known as Guest27444
08:20
bradleyprice has joined #ruby
08:20
sinkensabe has quit [Ping timeout: 250 seconds]
08:21
felgenh3- has left #ruby [#ruby]
08:21
wrist has quit [Ping timeout: 255 seconds]
08:22
fly2web has left #ruby [#ruby]
08:22
andrewlio has joined #ruby
08:23
Rahul_Roy has joined #ruby
08:23
boom has joined #ruby
08:23
Guest27444 has quit [Ping timeout: 245 seconds]
08:24
Arkaniad has quit [Ping timeout: 240 seconds]
08:25
iliketurtles has quit [Quit: zzzzz…..]
08:27
GriffinHeart has quit [Remote host closed the connection]
08:27
GriffinHeart has joined #ruby
08:27
Deele has quit [Ping timeout: 245 seconds]
08:32
Gabri has joined #ruby
08:32
hellangel7 has quit [Quit: Leaving]
08:32
Kricir has quit [Remote host closed the connection]
08:32
hellangel7 has joined #ruby
08:33
timonv_ has joined #ruby
08:34
oo_ has quit [Remote host closed the connection]
08:35
Wolland has quit [Remote host closed the connection]
08:36
felgenh3- has joined #ruby
08:38
nasj has joined #ruby
08:39
InfraRuby has left #ruby [#ruby]
08:39
felgenh3- has quit [Client Quit]
08:40
felgenh3 has quit [Quit: felgenh3]
08:42
oo_ has joined #ruby
08:42
oo_ has quit [Remote host closed the connection]
08:43
koderok has joined #ruby
08:44
echevemaster has quit [Quit: Leaving]
08:44
lkba has quit [Ping timeout: 240 seconds]
08:44
ltd has joined #ruby
08:45
LACP has quit [Ping timeout: 240 seconds]
08:46
mikecmpbll has joined #ruby
08:47
LACP has joined #ruby
08:49
ctp has joined #ruby
08:50
kevkev____ has joined #ruby
08:51
anaeem1 has joined #ruby
08:52
redditorbacon has joined #ruby
08:53
kaspertidemann has joined #ruby
08:54
Rollabunna has quit [Remote host closed the connection]
08:54
cibs has quit [Ping timeout: 252 seconds]
08:54
kevkev____ has quit [Ping timeout: 240 seconds]
08:54
ctp has quit [Ping timeout: 255 seconds]
08:56
ctp has joined #ruby
08:57
jackneill has joined #ruby
08:57
redditorbacon has quit []
08:57
dawkirst has joined #ruby
08:59
iteratorP has joined #ruby
09:00
relix has joined #ruby
09:00
alem0lars has quit [Ping timeout: 244 seconds]
09:00
Atttwww has quit [Ping timeout: 256 seconds]
09:00
mikesplain has joined #ruby
09:01
sinkensabe has joined #ruby
09:02
Takle has joined #ruby
09:03
arya_ has quit [Read error: Connection reset by peer]
09:04
dawkirst has quit [Remote host closed the connection]
09:04
Panicky has joined #ruby
09:05
zarubin has quit [Read error: Connection reset by peer]
09:05
Aryasam has joined #ruby
09:05
mikesplain has quit [Ping timeout: 255 seconds]
09:05
zarubin has joined #ruby
09:06
Aryasam has joined #ruby
09:06
arya_ has joined #ruby
09:07
Takle has quit [Read error: Connection reset by peer]
09:07
Takle has joined #ruby
09:07
St_Marx has joined #ruby
09:07
St_Marx has quit [Remote host closed the connection]
09:08
St_Marx has joined #ruby
09:08
St_Marx has quit [Remote host closed the connection]
09:08
St_Marx has joined #ruby
09:08
SilkFox has joined #ruby
09:09
kaspertidemann has quit []
09:10
Nahra has joined #ruby
09:11
p0sixpscl has joined #ruby
09:11
spider-mario has joined #ruby
09:11
koderok has quit [Quit: koderok]
09:13
SilkFox has quit [Ping timeout: 256 seconds]
09:14
cibs has joined #ruby
09:14
aantix has joined #ruby
09:14
b00stfr3ak has quit [Ping timeout: 240 seconds]
09:15
jdj_dk has joined #ruby
09:15
Aryasam has quit [Ping timeout: 240 seconds]
09:16
bruno- has joined #ruby
09:17
aantix has quit [Client Quit]
09:18
wrist has joined #ruby
09:19
jdj_dk has quit [Remote host closed the connection]
09:19
mgberlin has joined #ruby
09:19
devdazed has quit [Remote host closed the connection]
09:19
jdj_dk has joined #ruby
09:20
Wolland has joined #ruby
09:22
nasj has quit [Remote host closed the connection]
09:22
wrist has quit [Ping timeout: 240 seconds]
09:22
nasj has joined #ruby
09:23
sinkensabe has quit [Remote host closed the connection]
09:23
sinkensabe has joined #ruby
09:24
jdj_dk has quit [Ping timeout: 240 seconds]
09:24
sinkensabe has quit [Read error: Connection reset by peer]
09:24
sinkensabe has joined #ruby
09:25
obs has joined #ruby
09:26
<
crazydiamond >
Hi. In RSpec, is should syntax deprecated?
09:26
<
Nilium >
Should syntax?
09:26
obs has quit [Client Quit]
09:28
tommylommykins has quit [Remote host closed the connection]
09:30
mgberlin has quit [Remote host closed the connection]
09:30
klaut has quit [Remote host closed the connection]
09:30
klaut has joined #ruby
09:31
xenomorph is now known as {xenomorph}
09:32
<
crazydiamond >
ok, seems that I should enable it
09:32
<
crazydiamond >
or, in other words: it expects me to enable it
09:33
{xenomorph} is now known as xenomorph
09:33
tommylommykins has joined #ruby
09:35
axsuul_ has quit [Ping timeout: 244 seconds]
09:35
klaut has quit [Ping timeout: 244 seconds]
09:38
supermat has quit [Remote host closed the connection]
09:38
atmosx_ is now known as atmosx
09:40
LadyRainicorn has quit [Read error: Connection reset by peer]
09:40
LadyRainicorn has joined #ruby
09:41
LACP has quit [Ping timeout: 240 seconds]
09:42
abuzze has joined #ruby
09:42
supermat has joined #ruby
09:42
Rainicorn has joined #ruby
09:43
<
Nilium >
crazydiamond: In that case, rspec's docs probably need updating.
09:43
LACP has joined #ruby
09:43
<
crazydiamond >
Nilium, mine ones?
09:44
memph1s has joined #ruby
09:44
<
Nilium >
No, I mean rspec's documentation's obviously insufficient if you're getting an error the docs don't reflect
09:44
matrixdevuk has joined #ruby
09:44
matrixdevuk has quit [Changing host]
09:44
matrixdevuk has joined #ruby
09:44
<
Nilium >
Which I guess is kind of the norm for Ruby stuff anyway
09:45
LadyRainicorn has quit [Ping timeout: 250 seconds]
09:45
mr-foobar has quit [Read error: Connection reset by peer]
09:45
mr-foobar has joined #ruby
09:46
krisquigley has joined #ruby
09:47
abuzze has quit [Ping timeout: 250 seconds]
09:50
yottanami has joined #ruby
09:50
arya_ has quit [Quit: sayonara^_^]
09:51
kevkev____ has joined #ruby
09:51
nfk has joined #ruby
09:51
Macaveli has joined #ruby
09:51
axsuul has joined #ruby
09:51
xenomorph is now known as {xenomorph}
09:52
krisquigley has quit [Remote host closed the connection]
09:52
{xenomorph} is now known as xenomorph
09:54
mikecmpbll has quit [Quit: i've nodded off.]
09:54
sixxy has quit [Remote host closed the connection]
09:55
<
atmosx >
yottanami: flight.airline ? "#{flight.airline}-#{flight_number}" : "-#{flight_number}"
09:55
kevkev____ has quit [Ping timeout: 245 seconds]
09:56
<
mozzarella >
you know that nil.to_s == '', right?
09:56
Macaveli has quit [Ping timeout: 244 seconds]
09:56
<
toretore >
>> false.to_s
09:56
<
ari-_-e >
"#{flight.airline or ''}-#{flight_number}"
09:57
danijoo has quit [Read error: Connection reset by peer]
09:57
danijoo has joined #ruby
09:57
<
ari-_-e >
or yes, omit the or '' if flight.airline will be nil when falsy
09:57
<
mozzarella >
airline looks like it could be either nil or an object
09:58
<
mozzarella >
and in that case he could make use of the fact that nil.to_s == ''
09:59
<
ari-_-e >
could also be false
10:00
landodger has quit [Remote host closed the connection]
10:00
landodger has joined #ruby
10:00
<
toretore >
`flight.airline || ''` is the best answer
10:00
kyb3r_ has quit [Read error: Connection reset by peer]
10:01
kyb3r_ has joined #ruby
10:01
mikesplain has joined #ruby
10:02
sinkensabe has quit [Remote host closed the connection]
10:02
sinkensabe has joined #ruby
10:04
iteratorP has quit [Remote host closed the connection]
10:05
davedev2_ has quit [Remote host closed the connection]
10:06
mikesplain has quit [Ping timeout: 240 seconds]
10:06
SCHAAP137 has joined #ruby
10:07
sinkensabe has quit [Ping timeout: 250 seconds]
10:08
jdj_dk has joined #ruby
10:09
asmodchan has joined #ruby
10:09
asmodchan has quit [Remote host closed the connection]
10:09
SilkFox has joined #ruby
10:09
matrixdevuk has joined #ruby
10:11
asmodlol has quit [Ping timeout: 264 seconds]
10:12
<
shevy >
what is module_function really doing?
10:12
<
shevy >
is it the same as doing extend self (if we have only one method in that module)?
10:12
jdj_dk has quit [Ping timeout: 245 seconds]
10:12
Zebroid has joined #ruby
10:13
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:14
SilkFox has quit [Ping timeout: 255 seconds]
10:14
matrixdevuk has quit [Client Quit]
10:14
LACP has quit [Ping timeout: 240 seconds]
10:14
matrixdevuk has joined #ruby
10:15
Rainicorn has quit [Read error: Connection reset by peer]
10:15
LadyRainicorn has joined #ruby
10:16
<
Nilium >
Looks like it's just adding the method to the singleton class's list of instance methods.
10:16
yfeldblu_ has joined #ruby
10:16
<
Nilium >
I mean, it's literally a loop where it searches for each named method and then sets that method as an entry in the singleton class.
10:16
yfeldblum has quit [Read error: Connection reset by peer]
10:16
robscormack has joined #ruby
10:17
jayunit100 has joined #ruby
10:17
<
robscormack >
g'morning
10:17
LACP has joined #ruby
10:17
Zebroid has quit [Ping timeout: 250 seconds]
10:17
<
Nilium >
I need to find a bunch of git and hg users so I can pester them with a conceptual question
10:17
<
robscormack >
git user here
10:18
<
Nilium >
Most people are, I'm a little more curious about the hg users though
10:18
<
Nilium >
At any rate, how do you feel about git's index?
10:18
<
robscormack >
good enough
10:18
Hobogrammer has quit [Ping timeout: 264 seconds]
10:18
<
Nilium >
Would you miss having it?
10:18
wrist has joined #ruby
10:18
<
Nilium >
hg users don't have one.
10:19
<
robscormack >
that's why I stopped using hg
10:19
<
Nilium >
Hence why I need to find a bunch of hg users to pester about it and see if they find the index confusing or don't like it or if they want one or what
10:19
<
Nilium >
'Cause obviously it's got users, there are people who prefer it to git, but git's index alone would keep me from using hg
10:19
davedev24_ has joined #ruby
10:20
<
Nilium >
Though hg has mq, which is kind of like a sort-of index
10:20
carraroj has quit [Ping timeout: 250 seconds]
10:22
<
robscormack >
Nilium: for me personally it all depends on how many times you care about what's on git.
10:22
<
robscormack >
for people with OCD like me, it's much easier to see what's on staging and what needs to be on staging before committing
10:23
wrist has quit [Ping timeout: 250 seconds]
10:23
<
Nilium >
Well, for me, it's partly that and partly that I do a lot of hunk adds
10:24
<
Nilium >
And hg record sort of kind of does that but it's an all-or-nothing thing
10:24
<
Nilium >
You don't get to, say, indicate you want one thing then go back and read off the diff
10:24
<
Nilium >
You get to say you want X and that's your commit right now, even though that might not be the full commit
10:24
<
robscormack >
and that's exactly a feature I love when I'm drunk.
10:24
iteratorP has joined #ruby
10:25
<
Nilium >
Never had to try using git when I'm drunk, but I make heavy use of it because I tend to make tons of changes then go back and add --patch them in.
10:25
InfraRuby has joined #ruby
10:25
<
Nilium >
E.g., add --patch, stash, test build, stash pop, continue committing
10:25
<
Nilium >
If the commit didn't build, amend it
10:25
<
Nilium >
I could probably automate that
10:25
hellangel7 has quit [Remote host closed the connection]
10:26
<
robscormack >
that's what I did at one of my startups.
10:26
hellangel7 has joined #ruby
10:26
InfraRuby has left #ruby [#ruby]
10:26
<
robscormack >
I used to work from the university, from home or from my friends' offices.
10:26
SCHAPiE_ has joined #ruby
10:26
SCHAPiE_ has quit [Excess Flood]
10:26
SCHAPiE_ has joined #ruby
10:26
SCHAPiE_ has quit [Remote host closed the connection]
10:27
<
Nilium >
Should just require a post-commit hook and maybe something to quickly clone it to ensure it has a clean working tree (since there might be extra files in there) and then build, but overall the idea seems like it should be simple
10:27
<
Nilium >
Since, ideally, a local clone would just be hardlinks anyway, so fairly inexpensive
10:27
<
robscormack >
then I created a workflow to let me know what the heck was I doing and retrieve the greatest and latest thing, see if I finished it and then finally commit to dev.
10:28
InfraRuby has joined #ruby
10:29
Gonzih has quit [Ping timeout: 240 seconds]
10:30
<
Nilium >
At any rate, I need to sleep.
10:30
<
robscormack >
me too
10:30
<
robscormack >
but my OCD is killing me today :c
10:30
<
Nilium >
Going to have to start waking up before 8am for a job, so being up at 3am is.. not a good thing.
10:30
matrixdevuk is now known as alphabet
10:30
<
shevy >
you are getting old
10:30
mgberlin has joined #ruby
10:30
SCHAAP137 has quit [Ping timeout: 244 seconds]
10:31
<
robscormack >
it's saturday today!
10:31
<
robscormack >
(or sunday, idk)
10:31
mikecmpbll has joined #ruby
10:31
ahuman has quit [Remote host closed the connection]
10:32
ahuman has joined #ruby
10:32
matrixdevuk has joined #ruby
10:33
beef-wellington has joined #ruby
10:33
<
Nilium >
Saturday here, but I start a job on Monday, so I'm going to basically be shifting sleep schedules cold turkey
10:33
<
Nilium >
Going to be interesting to see how close I get to dying
10:33
<
robscormack >
all right
10:34
<
robscormack >
well, luck is for cowards so be successful!
10:34
mgberlin has quit [Ping timeout: 240 seconds]
10:36
asmodlol has joined #ruby
10:36
<
shevy >
I am a lucky hero
10:36
klaut has joined #ruby
10:37
xenomorph is now known as {xenomorph}
10:38
phoo1234567 has joined #ruby
10:38
{xenomorph} is now known as xenomorph
10:38
LACP has quit [Ping timeout: 240 seconds]
10:40
brianherman has joined #ruby
10:40
beef-wellington has quit [Ping timeout: 255 seconds]
10:40
jdj_dk has joined #ruby
10:40
LACP has joined #ruby
10:41
GriffinHeart has quit [Remote host closed the connection]
10:46
pandaant has joined #ruby
10:49
davispuh has quit [Ping timeout: 245 seconds]
10:49
LACP has quit [Ping timeout: 240 seconds]
10:50
Guest65447 has quit [Ping timeout: 245 seconds]
10:51
mijicd has quit [Remote host closed the connection]
10:51
<
arup_r >
shevy: I am glad to hear.. I want to work with you.. that's why!
10:51
kevkev____ has joined #ruby
10:52
LACP has joined #ruby
10:53
kirun has joined #ruby
10:53
marr has quit [Ping timeout: 240 seconds]
10:54
Rollabunna has joined #ruby
10:55
gypsydave5 has quit [Ping timeout: 264 seconds]
10:56
kevkev____ has quit [Ping timeout: 256 seconds]
10:59
Rollabunna has quit [Ping timeout: 255 seconds]
11:02
Takle has quit [Remote host closed the connection]
11:02
mikesplain has joined #ruby
11:03
yottanami has left #ruby [#ruby]
11:03
DaniG2k has joined #ruby
11:04
diegoviola has quit [Quit: WeeChat 0.4.3]
11:04
Rahul_Roy has quit [Quit: Connection closed for inactivity]
11:04
mrnugget has joined #ruby
11:05
klaut has quit [Remote host closed the connection]
11:05
<
atmosx >
anyone experience with oauth2 gem?
11:05
klaut has joined #ruby
11:06
LACP has quit [Ping timeout: 240 seconds]
11:07
mikesplain has quit [Ping timeout: 240 seconds]
11:07
LACP has joined #ruby
11:07
wallerdev has quit [Quit: wallerdev]
11:10
klaut has quit [Ping timeout: 240 seconds]
11:10
SilkFox has joined #ruby
11:11
klaut has joined #ruby
11:12
<
robscormack >
painful one, yes
11:12
timonv_ has quit [Remote host closed the connection]
11:14
SilkFox has quit [Ping timeout: 240 seconds]
11:15
Pharaoh2 has quit [Quit: Leaving...]
11:16
jdj_dk has quit [Remote host closed the connection]
11:16
arup_r1 has joined #ruby
11:16
axsuul has quit [Ping timeout: 240 seconds]
11:16
vsoftoiletpaper has joined #ruby
11:17
<
arup_r1 >
What is quickest way to collect all cdata in an XML using Nokogiri ?
11:17
jdj_dk has joined #ruby
11:17
LadyRainicorn has quit [Read error: Connection reset by peer]
11:17
LadyRainicorn has joined #ruby
11:17
eka has joined #ruby
11:18
arup_r has quit [Ping timeout: 255 seconds]
11:19
Takle has joined #ruby
11:19
wrist has joined #ruby
11:21
InfraRuby has left #ruby [#ruby]
11:21
ringarin has joined #ruby
11:21
jdj_dk has quit [Ping timeout: 250 seconds]
11:22
Beoran__ has joined #ruby
11:22
patrick99e99 has joined #ruby
11:22
<
shevy >
only painful ways
11:24
wrist has quit [Ping timeout: 256 seconds]
11:25
<
shevy >
can't you use - there ?
11:25
Beoran_ has quit [Ping timeout: 250 seconds]
11:25
kachi8 has quit [Ping timeout: 260 seconds]
11:27
<
crazydiamond >
shevy, ok, it will return me days. so, how I convert these to hours, minutes and seconds?
11:27
<
shevy >
does it really return a class called days?
11:27
<
atmosx >
robscormack: is there any test the endpoint? I mean, curl should work.. but although I get the token, I can't fetch any info. I get 404's even when copying requests from the documentation
11:27
<
crazydiamond >
shevy, it returns Rational, that expresses days
11:28
patrick99e99 has quit [Ping timeout: 260 seconds]
11:28
<
shevy >
(DateTime.new - DateTime.new).class # => Fixnum
11:28
<
shevy >
>> require 'time'; require 'date'; (DateTime.new - DateTime.new).class
11:28
lkba has joined #ruby
11:28
<
shevy >
irb tells me Fixnum haha
11:28
<
crazydiamond >
irb(main):031:0> (DateTime.new(2014, 8, 2, 12, 30, 0) - DateTime.new(2014, 8, 1, 0, 0, 0)).class
11:28
<
crazydiamond >
=> Rational
11:28
<
robscormack >
atmosx I had a small sinatra app to test it
11:28
<
robscormack >
it was provided with doorkeper
11:28
<
robscormack >
doorkeeper
11:29
<
shevy >
crazydiamond, what if you do this in irb: (DateTime.new - DateTime.new).class
11:29
<
shevy >
probably is 0
11:29
<
crazydiamond >
shevy, Rational
11:29
<
shevy >
that can not be
11:29
<
shevy >
what is your ruby version?
11:29
<
crazydiamond >
shevy, ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]
11:29
<
shevy >
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
11:29
<
atmosx >
robscormack: you used oauth to get authentication credentials? I just need access to products... I don't really need a callback and all that.
11:30
<
robscormack >
atmosx I used it both ways
11:30
<
arup_r1 >
The one I am using is very slow :p
11:30
<
crazydiamond >
so, If I'm just learning ruby, must I start with 2?
11:30
brianherman has quit [Read error: Connection reset by peer]
11:30
<
shevy >
not sure what to do with a Rational
11:30
abuzze has joined #ruby
11:30
<
robscormack >
crazydiamond yes sir
11:30
<
robscormack >
2.1, to be precise.
11:30
<
shevy >
I have ruby 2.1.2
11:31
<
crazydiamond >
shevy, I can multiply it * 60 * 60 * 24 and this will give me seconds
11:31
phoo1234567 has quit [Quit: Leaving]
11:31
o0oo0o has quit [Remote host closed the connection]
11:31
<
crazydiamond >
to be more precise
11:31
o0oo0o has joined #ruby
11:31
<
crazydiamond >
(diff * 60 * 60 * 24).to_i
11:31
<
arup_r1 >
doc = Nokogiri::XML(open("/path/to/file") ; doc.css("*") { |node| puts node node.cdata? }
11:31
<
arup_r1 >
This is SLOW
11:31
mrnugget has quit [Quit: mrnugget]
11:32
<
arup_r1 >
No one is helping me :-(
11:32
Johnny1 has joined #ruby
11:32
<
shevy >
nobody uses XML either
11:32
pskosinski has joined #ruby
11:33
<
arup_r1 >
Is XML dead ?
11:34
<
atmosx >
arup_r1: you either start reading some documentation or hire a ruby developer.
11:34
<
atmosx >
err wtf. you
*should*
11:34
<
arup_r1 >
atmosx: Why ? What's wrong ?
11:35
abuzze has quit [Ping timeout: 256 seconds]
11:35
<
atmosx >
Because you ask questions like a shoot-gun :-)
11:35
<
atmosx >
browse the web, read some doc, find a way to make it faster.
11:35
<
atmosx >
pay sheve to do it.
11:36
<
arup_r1 >
shevy: is my friend like you
11:36
<
shevy >
I have no time
11:36
<
arup_r1 >
I don't want you to code.. want you give some tips
11:36
<
shevy >
atmosx arup_r1 has like 50.000 karma on stackoverflow
11:36
<
shevy >
arup_r1 ok. stop using XML
11:37
<
shevy >
I did so like 10 years ago and never regretted it
11:37
craigbowen3 has quit [Remote host closed the connection]
11:38
<
atmosx >
shevy: that doesn't compute.
11:39
<
shevy >
it is a perfect compute
11:40
andrewlio has quit [Quit: Leaving.]
11:40
andrewlio has joined #ruby
11:40
andrewlio has quit [Client Quit]
11:42
mostlybadfly has joined #ruby
11:43
<
arup_r1 >
shevy: Thanks .. I'm Insulted by someone.. I will try to solve it by myself..
11:44
<
arup_r1 >
I have some XML right now on my plate.. I need to eat those any how.. :-(
11:44
<
shevy >
believe me, once XML is no longer part of your life, you'll be a happier person
11:44
memph1s has quit [Quit: I couldn't come up with quit message :(]
11:44
<
crazydiamond >
does ruby have more powerful shell than irb, which has all the autocomplete features etc?
11:44
<
arup_r1 >
atmosx: Thanks for your awesome help! It makes my code more faster than earlier..
11:46
<
arup_r1 >
shevy: You are true.
11:46
bricker`LA has quit [Read error: Connection reset by peer]
11:47
<
shevy >
you can have some autocomplete in irb or?
11:47
<
shevy >
require 'irb/completion'
11:48
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
11:48
<
atmosx >
arup_r1: Sorry if you felt insulted.
11:49
jackneill has quit [Read error: Connection reset by peer]
11:49
mijicd has joined #ruby
11:49
<
arup_r1 >
atmosx: Before you, I had been by others too.. I am now habituated with it. :-)
11:49
<
crazydiamond >
shevy, thanks!
11:50
benzrf|offline is now known as benzrf
11:51
Panicky has quit [Remote host closed the connection]
11:51
iteratorP has quit [Remote host closed the connection]
11:52
kevkev____ has joined #ruby
11:52
jackneill has joined #ruby
11:53
Panicky has joined #ruby
11:53
matrixdevuk has joined #ruby
11:53
<
zeroXten >
is there a way to make global options across subcommands using Thor?
11:53
<
robscormack >
crazydiamond I use pry. Try it.
11:54
anaeem1 has quit [Remote host closed the connection]
11:55
anaeem1 has joined #ruby
11:55
<
atmosx >
crazydiamond: there's 'pry'
11:56
<
crazydiamond >
robscormack, atmosx thanks. hacking it now
11:56
jottr has joined #ruby
11:56
relix has joined #ruby
11:56
kevkev____ has quit [Ping timeout: 255 seconds]
11:58
relix has quit [Client Quit]
11:58
sixxy has joined #ruby
11:59
fly2web has joined #ruby
11:59
anaeem1 has quit [Ping timeout: 264 seconds]
12:00
<
fly2web >
i can scrape some program like wireshark with ruby?
12:01
vsoftoiletpaper has quit []
12:01
carraroj has joined #ruby
12:01
kyb3r_ has quit [Quit: Leaving]
12:01
vsoftoiletpaper has joined #ruby
12:03
mikesplain has joined #ruby
12:03
AlSquire has joined #ruby
12:07
mikesplain has quit [Ping timeout: 255 seconds]
12:07
jamto11 has joined #ruby
12:08
<
shevy >
you are an evil hacker
12:08
tjr9898_ has quit [Remote host closed the connection]
12:08
tjr9898 has joined #ruby
12:09
nickwtf has joined #ruby
12:11
SilkFox has joined #ruby
12:12
mityaz has joined #ruby
12:13
pothibo has joined #ruby
12:13
<
arup_r1 >
fly2web: Welcome!
12:13
pothibo has quit [Client Quit]
12:13
<
fly2web >
thanks arup_r1 :)
12:14
<
fly2web >
i can scrape some program like wireshark with ruby? is possible arup_r1
12:14
<
arup_r1 >
I don't know Ruby... I do know BASIC
12:14
<
fly2web >
this is ruby channel.
12:14
pothibo has joined #ruby
12:15
<
fly2web >
perhaps you are ciucripi ’s friend?
12:15
SilkFox has quit [Ping timeout: 255 seconds]
12:16
axsuul has joined #ruby
12:16
<
arup_r1 >
Who is She ;) ?
12:17
Shidash has quit [Ping timeout: 240 seconds]
12:17
<
shevy >
fly2web get out of Korea and learn english man
12:17
<
fly2web >
shevy: i live in US.
12:18
<
fly2web >
shevy: you know about wireshark?
12:19
<
shevy >
you sure enough don't live in the USA with that level of english
12:20
bruno- has quit [Quit: leaving]
12:20
wrist has joined #ruby
12:20
vsoftoiletpaper has quit []
12:20
Shidash has joined #ruby
12:21
axsuul has quit [Ping timeout: 250 seconds]
12:22
<
fly2web >
shevy: you are actor of that movie?
12:22
benzrf is now known as benzrf|offline
12:22
<
shevy >
man, I don't live in canada
12:23
<
fly2web >
oh you live beggar cave. haha
12:24
robscormack has quit [Quit: Leaving]
12:24
wrist has quit [Ping timeout: 240 seconds]
12:24
<
shevy >
and you live in taekwondo cave
12:25
tier has joined #ruby
12:25
Shidash has quit [Ping timeout: 240 seconds]
12:25
jonr22 has joined #ruby
12:26
<
fly2web >
i have no time to joking to you. i must study ha*k.
12:29
carraroj has quit [Ping timeout: 250 seconds]
12:29
lukeholder has joined #ruby
12:29
descala has quit [Read error: Connection reset by peer]
12:30
<
fly2web >
shevy: what is your IQ? i think that your iq is 2 letter.
12:30
descala has joined #ruby
12:30
jottr has quit [Ping timeout: 245 seconds]
12:31
<
shevy >
fly2web my IQ beats your IQ
12:32
<
fly2web >
my IQ is 154, i m mensa member.
12:32
<
shevy >
fly2web you lie
12:32
<
shevy >
your IQ is 56
12:32
<
shevy >
you should study hard
12:33
<
shevy >
to raise your IQ
12:34
<
fly2web >
my iq is 156
12:34
<
fly2web >
i m too sleepy.
12:34
<
fly2web >
so i have mistake.
12:34
yfeldblum has joined #ruby
12:34
<
shevy >
you said 154 before now you say 156
12:34
<
fly2web >
because of sleepy
12:34
<
shevy >
you should read books
12:34
DaniG2k has quit [Quit: leaving]
12:35
<
shevy >
the big books
12:35
<
shevy >
not the small ones
12:35
fly2web was banned on #ruby by Mon_Ouie [*!~lee@*]
12:35
fly2web was kicked from #ruby by Mon_Ouie [This has gone way too far…]
12:35
<
wasamasa >
shevy: judging by your replies, you're talking with fly2web again
12:35
<
wasamasa >
shevy: let me turn off my filter
12:35
<
shevy >
wasamasa awww he just got kicked :(
12:36
<
shevy >
wasamasa guess you won't need that filter anymore
12:36
gogohome has joined #ruby
12:36
<
wasamasa >
well, he isn't the only one here
12:37
yfeldblu_ has quit [Ping timeout: 245 seconds]
12:37
<
wasamasa >
I've decided to add people who clearly aren't (maliciously) trolling and rather just exhausting to deal with
12:37
<
wasamasa >
<fly2web> my IQ is 154, i m mensa member.
12:38
<
wasamasa >
I have no words
12:38
<
wasamasa >
first he couldn't use github or a search engine, now he knows what mensa is
12:38
<
shevy >
so he isn't on your black list completely
12:38
<
wasamasa >
I have a "Fool list"
12:38
yfeldblum has quit [Ping timeout: 255 seconds]
12:38
<
wasamasa >
it hides people so I can toggle
12:39
<
shevy >
your definition above sounds like a description for a 'help vampire'
12:39
<
wasamasa >
well, yes
12:39
<
wasamasa >
help vampires
12:40
jamto11 has quit [Remote host closed the connection]
12:40
srnty has joined #ruby
12:40
srnty has quit [Remote host closed the connection]
12:41
Wolland has quit [Remote host closed the connection]
12:41
centrx has joined #ruby
12:41
Wolland has joined #ruby
12:42
nfk has quit [Ping timeout: 244 seconds]
12:42
phutchin1 has joined #ruby
12:44
phutchins has quit [Ping timeout: 255 seconds]
12:46
Wolland has quit [Ping timeout: 244 seconds]
12:46
fgo has joined #ruby
12:48
<
pontiki >
'sup shevy
12:48
klaut has quit [Remote host closed the connection]
12:49
arup_r has joined #ruby
12:49
<
shevy >
it's too hot to cheer
12:51
gogohome has left #ruby [#ruby]
12:52
arup_r1 has quit [Ping timeout: 256 seconds]
12:53
kevkev____ has joined #ruby
12:55
badhatter has joined #ruby
12:55
Rollabunna has joined #ruby
12:57
kevkev____ has quit [Ping timeout: 240 seconds]
12:57
InfraRuby has joined #ruby
12:58
Guest23013 has quit []
12:58
parduse has joined #ruby
13:00
Rollabunna has quit [Ping timeout: 244 seconds]
13:01
oo_ has joined #ruby
13:01
InfraRuby has left #ruby [#ruby]
13:02
oo_ has quit [Remote host closed the connection]
13:02
<
mechanicalduck_ >
hi
13:02
jamto11 has joined #ruby
13:02
<
mechanicalduck_ >
So I tried JRuby to walkaround an issue with Ruby (Installer) on Windows.
13:03
<
mechanicalduck_ >
Guess what - JRuby does not support building gem native extensions.
13:03
<
mechanicalduck_ >
NOOOO
13:03
<
mechanicalduck_ >
mkmf.rb can't find header files for ruby at C:/jruby-1.7.13/lib/native/include/ruby/ruby.h
13:03
oo_ has joined #ruby
13:03
<
mechanicalduck_ >
So where can I get those header files?
13:03
<
mechanicalduck_ >
I need them for JRuby on Windows.
13:04
mikesplain has joined #ruby
13:05
yfeldblum has joined #ruby
13:06
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
13:06
yfeldblu_ has joined #ruby
13:07
aantix has joined #ruby
13:08
aantix has quit [Client Quit]
13:08
mikesplain has quit [Ping timeout: 264 seconds]
13:09
diegoviola has joined #ruby
13:09
yfeldblum has quit [Ping timeout: 255 seconds]
13:10
diegoviola has quit [Client Quit]
13:10
lw has joined #ruby
13:11
yfeldblu_ has quit [Ping timeout: 245 seconds]
13:11
diegoviola has joined #ruby
13:11
diegoviola has quit [Client Quit]
13:11
tkuchiki has joined #ruby
13:12
SilkFox has joined #ruby
13:12
<
wasamasa >
I doubt this is possible with jruby
13:13
<
wasamasa >
since the idea is not needing C at all
13:13
gogohome has joined #ruby
13:13
<
wasamasa >
let's verify this hypothesis by looking up how well nokogiri plays with it
13:13
descala has quit [Read error: Connection reset by peer]
13:13
Ayey_ has joined #ruby
13:14
diegoviola has joined #ruby
13:14
Mihail_D has joined #ruby
13:14
descala has joined #ruby
13:15
<
gogohome >
wasamasa: hello
13:15
<
wasamasa >
apparently it is possible, but since you're on windows, they recommend you to go for the pure java version for minimum pain involved
13:16
carraroj has joined #ruby
13:16
<
arup_r >
wasamasa: You are Ruby Pro
13:16
<
wasamasa >
I'm a google pro
13:16
<
wasamasa >
started learning ruby like two months ago
13:16
SilkFox has quit [Ping timeout: 256 seconds]
13:16
<
arup_r >
shame on me!
13:17
<
wasamasa >
wrote one actually useful script so far
13:17
SilkFox has joined #ruby
13:17
<
arup_r >
Is this your first Programming language ?
13:17
<
arup_r >
I don't think so
13:17
lukeholder has joined #ruby
13:17
<
gogohome >
unban fly2web plz wasamasa
13:17
<
gogohome >
fly2web is my friend.
13:17
<
wasamasa >
it's not, no
13:18
<
wasamasa >
I've learned python before for years
13:18
<
wasamasa >
so it's a lot simpler
13:18
lukeholder has quit [Max SendQ exceeded]
13:18
<
wasamasa >
however I've got to get used to the magic in rails
13:18
<
arup_r >
Humm.. You beat me then! I am the only cheap programmer out there..
13:18
abuzze has joined #ruby
13:19
<
wasamasa >
gogohome: why do you think I have the choice over that
13:19
davedev24_ has quit [Remote host closed the connection]
13:19
anarang has joined #ruby
13:19
<
gogohome >
i don’t know that, but fly2web will regret of it.
13:19
<
wasamasa >
well, I don't
13:19
lukeholder has joined #ruby
13:20
<
wasamasa >
I'm no op in here
13:20
<
gogohome >
unban fly2web.
13:20
<
wasamasa >
if flyzweb is that stupid, then he deserved it
13:21
<
wasamasa >
also, why do I feel like gogohome is him under a different ip address...
13:21
diegoviola has quit [Quit: WeeChat 0.4.3]
13:21
wrist has joined #ruby
13:21
<
arup_r >
wasamasa: They are same
13:21
diegoviola has joined #ruby
13:21
<
arup_r >
ban gogohome too :-)
13:21
<
gogohome >
oh, fly2web is my frined
13:21
<
gogohome >
i m not fly2web.
13:21
<
gogohome >
just friend.
13:22
<
wasamasa >
of course not, you just share the same user name
13:22
<
arup_r >
gogohome he is evil.. why are you begging for him
13:22
<
gogohome >
for frined.
13:22
<
gogohome >
fly2web i s best friend
13:22
<
arup_r >
If you request once more ... we will ban you
13:23
abuzze has quit [Ping timeout: 250 seconds]
13:23
szuletett has joined #ruby
13:23
<
arup_r >
gogohome you fly to home with fly2web
13:23
<
arup_r >
don't kill us here
13:23
<
gogohome >
i m kind just
13:23
<
arup_r >
shevy don't like these
13:24
patrick99e99 has joined #ruby
13:24
davedev24_ has joined #ruby
13:24
claymore has joined #ruby
13:24
Petru has joined #ruby
13:25
DaniG2k has joined #ruby
13:25
wrist has quit [Ping timeout: 255 seconds]
13:26
gogohome has left #ruby [#ruby]
13:26
lxsameer has quit [Quit: Leaving]
13:28
bmurt has joined #ruby
13:28
patrick99e99 has quit [Ping timeout: 256 seconds]
13:29
lw has quit [Quit: s]
13:29
St_Marx has quit [Quit: Ex-Chat]
13:30
thams has joined #ruby
13:30
centrx has quit [Quit: Mead error: Connection reset by beer]
13:30
<
mechanicalduck_ >
wasamasa: Is there a pure java version for the gem wdm?
13:30
bmurt has quit [Client Quit]
13:30
<
wasamasa >
mechanicalduck_: no idea
13:31
MartinCleaver has joined #ruby
13:31
SilkFox has quit [Ping timeout: 245 seconds]
13:32
Cereal` has joined #ruby
13:32
szuletett has quit [Ping timeout: 250 seconds]
13:32
matrixdevuk is now known as alphabet
13:33
St_Marx has joined #ruby
13:33
<
mechanicalduck_ >
wasamasa: It is cursed, this linux-windows fs monitoring thing. I tried so many combinations, none of them work, some little piece is always missing.
13:33
matrixdevuk has joined #ruby
13:33
<
wasamasa >
>windows
13:33
matrixdevuk is now known as alphabet
13:33
tokik has joined #ruby
13:34
DaniG2k has quit [Quit: leaving]
13:36
<
lukeholder >
looking for a gem that lays sql over csv files
13:36
<
lukeholder >
with the ability to do joins
13:36
Cereal` has quit [Ping timeout: 255 seconds]
13:36
<
lukeholder >
like sequel gem's in memory sqlite but populated by the csv files
13:37
pskosinski has joined #ruby
13:37
Bounga has joined #ruby
13:37
Bounga has quit [Client Quit]
13:37
<
wasamasa >
funny, I've joked about that at work
13:38
<
wasamasa >
"We must write CSV-ORM.rb some day!"
13:39
anarang has quit [Quit: Leaving]
13:39
dseitz has joined #ruby
13:40
<
mechanicalduck_ >
lol
13:41
arya_ has joined #ruby
13:41
MartinCleaver has quit [Quit: MartinCleaver]
13:42
alexju has joined #ruby
13:42
benzrf|offline is now known as benzrf
13:42
p0sixpscl has quit [Quit: p0sixpscl]
13:42
nickwtf has quit [Quit: Page closed]
13:43
alexju_ has joined #ruby
13:43
<
mechanicalduck_ >
So I got the damn header files in place.
13:43
<
mechanicalduck_ >
make: Nothing to be done for `install'.
13:43
arya_ has quit [Client Quit]
13:43
pskosinski has joined #ruby
13:43
<
mechanicalduck_ >
lol
13:44
<
mechanicalduck_ >
wdm gem is listed as installed but is still not detected by gem listen.
13:44
<
mechanicalduck_ >
ahhhh
13:46
alexju has quit [Ping timeout: 250 seconds]
13:46
ndrei has quit [Ping timeout: 250 seconds]
13:47
arya_ has joined #ruby
13:48
InfraRuby has joined #ruby
13:49
Photism has quit [Quit: Leaving]
13:49
mclee has quit [Quit: WeeChat 0.4.2]
13:50
elaptics`away is now known as elaptics
13:51
mclee has joined #ruby
13:52
Pharaoh2 has joined #ruby
13:53
Zenigor has joined #ruby
13:53
Mihail_D has left #ruby [#ruby]
13:53
mechanicalduck_ has quit [Quit: Reconnecting…]
13:54
kevkev____ has joined #ruby
13:55
mechanicalduck has joined #ruby
13:56
agrinb has joined #ruby
13:57
oo_ has quit [Remote host closed the connection]
13:58
lanox has joined #ruby
13:58
kevkev____ has quit [Ping timeout: 240 seconds]
13:58
<
shevy >
what is gem listen
13:58
<
shevy >
oh he is gone
13:59
Photism has joined #ruby
14:00
nateberkopec has joined #ruby
14:00
yfeldblum has joined #ruby
14:01
justinv has joined #ruby
14:04
sixxy has quit [Read error: Connection reset by peer]
14:04
mikesplain has joined #ruby
14:05
xxmicloxx has joined #ruby
14:05
agrinb has quit [Remote host closed the connection]
14:05
yfeldblum has quit [Ping timeout: 260 seconds]
14:05
<
xxmicloxx >
Hello, does anyone know something like DataInputStream in java for ruby?
14:06
mu5k17u has joined #ruby
14:06
agrinb has joined #ruby
14:06
aantix has joined #ruby
14:07
<
shevy >
what is that
14:07
<
shevy >
perhaps class IO
14:07
<
shevy >
pipework, I find the ruby docu so ugly :(
14:08
<
xxmicloxx >
DataInputStream is a helper class where you can call readByte or readShort etc...
14:09
mikesplain has quit [Ping timeout: 255 seconds]
14:10
jayunit100 has quit [Quit: jayunit100]
14:12
InfraRuby has left #ruby [#ruby]
14:13
rippa has joined #ruby
14:13
p0sixpscl has joined #ruby
14:13
agrinb has quit [Remote host closed the connection]
14:14
<
Mon_Ouie >
Read data to a string and use String#unpack to convert them
14:15
nateberkopec has quit [Quit: Leaving...]
14:16
narendraj9 has joined #ruby
14:17
<
eam >
sysread() is what you want for that, right?
14:18
mehlah has joined #ruby
14:18
nateberkopec has joined #ruby
14:18
<
Mon_Ouie >
I'm not sure why you'd want sysread over read
14:21
nateberkopec has quit [Client Quit]
14:21
<
eam >
if it's like perl (and I'm not sure it is) read() would go through an i/o layer that might not 1:1 map to the underlying syscall
14:21
joast has quit [Quit: Leaving.]
14:21
wrist has joined #ruby
14:22
<
Mon_Ouie >
Well that is the case, but why would you want the behavior of read(2) for that?
14:23
<
eam >
well now that you mention it, perhaps you don't
14:24
aantix has quit [Quit: aantix]
14:26
klaut has joined #ruby
14:26
wrist has quit [Ping timeout: 256 seconds]
14:27
davedev2_ has joined #ruby
14:27
fold has joined #ruby
14:27
oo_ has joined #ruby
14:28
Pharaoh2 has quit [Remote host closed the connection]
14:29
jamto11 has quit [Remote host closed the connection]
14:29
rlazoti has joined #ruby
14:29
rlazoti has quit [Client Quit]
14:30
davedev24_ has quit [Ping timeout: 244 seconds]
14:30
GinoMan has quit [Remote host closed the connection]
14:31
joast has joined #ruby
14:31
justinv has quit [Remote host closed the connection]
14:32
tjr9898_ has joined #ruby
14:32
Cyrax_ has joined #ruby
14:32
tvw has joined #ruby
14:33
oo_ has quit [Ping timeout: 240 seconds]
14:35
tjr9898 has quit [Ping timeout: 255 seconds]
14:35
sepp2k has joined #ruby
14:35
justinv has joined #ruby
14:37
Cyrax_ is now known as [Cyrax]
14:38
agrinb has joined #ruby
14:39
pzula has joined #ruby
14:39
timonv_ has joined #ruby
14:40
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
14:42
existensil has quit [Ping timeout: 255 seconds]
14:42
AlexBlom has joined #ruby
14:42
teddyp1cker has quit [Remote host closed the connection]
14:43
[Cyrax] has quit [Quit: Lost terminal]
14:44
Channel6 has joined #ruby
14:45
carraroj has quit [Ping timeout: 260 seconds]
14:46
justinv has quit [Remote host closed the connection]
14:46
timonv_ has quit [Remote host closed the connection]
14:47
justinv has joined #ruby
14:47
klaut_ has joined #ruby
14:47
klaut has quit [Ping timeout: 240 seconds]
14:47
asmodlol has quit [Ping timeout: 264 seconds]
14:48
charliesome has joined #ruby
14:48
klaut_ has quit [Read error: Connection reset by peer]
14:49
klaut has joined #ruby
14:49
ringaring has joined #ruby
14:50
diegoviola has quit [Quit: WeeChat 0.4.3]
14:50
tokik has quit [Ping timeout: 255 seconds]
14:50
LadyRainicorn has quit [Ping timeout: 240 seconds]
14:51
pzula has quit [Ping timeout: 256 seconds]
14:52
crazydiamond has quit [Remote host closed the connection]
14:52
anildigital has joined #ruby
14:52
ringarin has quit [Ping timeout: 240 seconds]
14:54
abdulsattar has joined #ruby
14:54
kevkev____ has joined #ruby
14:55
LadyRainicorn has joined #ruby
14:56
davedev24_ has joined #ruby
14:56
xxmicloxx has quit [Ping timeout: 256 seconds]
14:56
Rollabunna has joined #ruby
14:58
mu5k17u has quit [Remote host closed the connection]
14:59
<
benzrf >
>twiddlewalka
14:59
davedev2_ has quit [Ping timeout: 245 seconds]
14:59
kevkev____ has quit [Ping timeout: 256 seconds]
15:01
mehlah has joined #ruby
15:01
Rollabunna has quit [Ping timeout: 256 seconds]
15:02
Ilyas has quit [Ping timeout: 255 seconds]
15:02
nateberkopec has joined #ruby
15:04
carraroj has joined #ruby
15:04
carraroj has quit [Changing host]
15:04
carraroj has joined #ruby
15:05
mikesplain has joined #ruby
15:05
justinv has quit [Remote host closed the connection]
15:06
lq has joined #ruby
15:07
abuzze has joined #ruby
15:07
Rollabunna has joined #ruby
15:07
tjr9898_ has quit [Remote host closed the connection]
15:08
tjr9898 has joined #ruby
15:08
jonr22 has quit [Ping timeout: 256 seconds]
15:08
<
pontiki >
<3 anildigital
15:10
<
anildigital >
pontiki: :)
15:10
mikesplain has quit [Ping timeout: 264 seconds]
15:11
abuzze has quit [Ping timeout: 250 seconds]
15:11
nateberkopec has quit [Ping timeout: 240 seconds]
15:12
diegoviola has joined #ruby
15:14
obs has joined #ruby
15:14
mupkoo has joined #ruby
15:14
gruz0[russia] has joined #ruby
15:15
<
shevy >
pontiki likes everyone
15:15
<
anildigital >
shevy: pontiki <3
15:15
obs has quit [Client Quit]
15:16
cobakobodob has quit [Ping timeout: 245 seconds]
15:16
diegoviola has quit [Client Quit]
15:16
asmodlol has joined #ruby
15:16
hhjaog has joined #ruby
15:18
<
anildigital >
Do tell, if you know some new names for Ruby operators
15:18
axsuul has joined #ruby
15:19
rubytor has joined #ruby
15:19
<
anildigital >
and do tweet about it :D thanks
15:20
<
shevy >
havenwood said one
15:20
<
shevy >
shark operator or something
15:20
<
shevy >
walrus operator?
15:20
<
shevy >
where is he :(
15:22
wrist has joined #ruby
15:23
axsuul has quit [Ping timeout: 255 seconds]
15:24
AlexBlom has quit [Ping timeout: 245 seconds]
15:24
Zebroid has joined #ruby
15:25
hhjaog has quit [Ping timeout: 250 seconds]
15:26
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
15:26
charliesome has joined #ruby
15:27
wrist has quit [Ping timeout: 255 seconds]
15:27
alexju_ has quit [Remote host closed the connection]
15:28
lkoqwu has joined #ruby
15:28
tylerkern has joined #ruby
15:28
mijicd has quit [Remote host closed the connection]
15:29
<
Mon_Ouie >
I've heard people call ||= a hammer
15:29
charliesome has quit [Client Quit]
15:29
<
pontiki >
mjolnir!!
15:30
<
shevy >
where would you guys put a todo file of your gem project?
15:30
tylerkern has quit [Read error: Connection reset by peer]
15:30
<
pontiki >
in the gem root
15:30
<
shevy >
ok but I mean... at the base... aha ok
15:30
tylerkern has joined #ruby
15:31
LadyRainicorn has quit [Ping timeout: 244 seconds]
15:31
thams has quit [Quit: thams]
15:33
LadyRainicorn has joined #ruby
15:33
abdulsattar has quit [Ping timeout: 260 seconds]
15:36
thams has joined #ruby
15:37
codecop has joined #ruby
15:41
Zebroid has quit [Remote host closed the connection]
15:43
charliesome has joined #ruby
15:43
nairys has joined #ruby
15:44
cobakobodob has joined #ruby
15:44
anaeem1 has joined #ruby
15:45
rubytor has quit [Quit: No Ping reply in 180 seconds.]
15:45
obs has joined #ruby
15:45
obs has quit [Client Quit]
15:45
rubytor has joined #ruby
15:46
thams has quit [Quit: thams]
15:47
vsoftoiletpaper has joined #ruby
15:48
agrinb has quit [Remote host closed the connection]
15:49
yfeldblum has joined #ruby
15:49
centrx has joined #ruby
15:49
agrinb has joined #ruby
15:50
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
15:51
Spami has joined #ruby
15:51
<
shevy >
I wanna dance
15:52
Atttwww has joined #ruby
15:53
yfeldblum has quit [Ping timeout: 240 seconds]
15:53
agrinb has quit [Ping timeout: 240 seconds]
15:53
goshdarnyou has joined #ruby
15:53
<
heyimwill >
TODO.md is an actual website
15:54
jhass|off is now known as jhass
15:54
godd2 has joined #ruby
15:54
mr_snowf1ake has quit [Ping timeout: 240 seconds]
15:55
kevkev____ has joined #ruby
15:56
<
Petru >
probably belongs to a guy named Todo
15:56
ferr has joined #ruby
15:56
Zebroid has joined #ruby
15:57
<
pipework >
shevy: I find that it often has the information I need, even if it's not all pretty and shiny.
15:57
maoko has joined #ruby
15:57
<
shevy >
I like pretty and shiny
15:58
<
pontiki >
or a guy with nothing to do...
15:58
<
pontiki >
i like useful and substantial
15:58
agrinb has joined #ruby
16:00
kevkev____ has quit [Ping timeout: 240 seconds]
16:00
oo_ has joined #ruby
16:00
p0sixpscl has quit [Quit: p0sixpscl]
16:01
justinv has joined #ruby
16:01
tkuchiki has quit [Remote host closed the connection]
16:01
szuletett has joined #ruby
16:02
Zebroid has quit [Ping timeout: 244 seconds]
16:03
<
eam >
I keep meaning to put a todo in my projects
16:03
Ilyas has joined #ruby
16:03
banjara has joined #ruby
16:03
thams has joined #ruby
16:03
szuletett has quit [Read error: Connection reset by peer]
16:05
oo_ has quit [Ping timeout: 250 seconds]
16:05
Mon_Ouie has joined #ruby
16:05
Mon_Ouie has joined #ruby
16:06
mikesplain has joined #ruby
16:06
nateberkopec has joined #ruby
16:08
gdd229 has joined #ruby
16:09
tonyhb has joined #ruby
16:10
ringaring has quit [Ping timeout: 255 seconds]
16:10
mikesplain has quit [Ping timeout: 260 seconds]
16:11
tonyhb_ has joined #ruby
16:11
nateberkopec has quit [Ping timeout: 240 seconds]
16:12
anaeem1 has quit [Remote host closed the connection]
16:12
oo_ has joined #ruby
16:13
anaeem1 has joined #ruby
16:14
thams has quit [Quit: thams]
16:14
aantix has joined #ruby
16:14
tonyhb has quit [Ping timeout: 250 seconds]
16:14
AlexBlom has joined #ruby
16:14
kireevco has joined #ruby
16:15
<
shevy >
why have I tried rewriting this project...
16:15
HammyJammy has quit [Read error: Connection reset by peer]
16:17
oo_ has quit [Ping timeout: 263 seconds]
16:17
anaeem1 has quit [Ping timeout: 250 seconds]
16:17
thams has joined #ruby
16:19
mikeg has joined #ruby
16:20
MartinCleaver has joined #ruby
16:21
timonv_ has joined #ruby
16:22
maletor has joined #ruby
16:22
ARCADIVS has quit [Quit: WeeChat 0.4.3]
16:22
peret has joined #ruby
16:23
wrist has joined #ruby
16:25
microdex has joined #ruby
16:26
tonyhb has joined #ruby
16:27
agrinb has quit [Remote host closed the connection]
16:28
wrist has quit [Ping timeout: 255 seconds]
16:28
tonyhb_ has quit [Ping timeout: 250 seconds]
16:28
agrinb has joined #ruby
16:28
mijicd has joined #ruby
16:28
adebabs has joined #ruby
16:28
bluehavana has joined #ruby
16:28
aantix has quit [Quit: aantix]
16:29
felixjet has joined #ruby
16:29
dbasch has joined #ruby
16:30
oo_ has joined #ruby
16:31
beiter has joined #ruby
16:32
beiter has quit [Client Quit]
16:32
adebabs has quit [Remote host closed the connection]
16:32
dbasch has quit [Read error: Connection reset by peer]
16:32
agrinb has quit [Ping timeout: 240 seconds]
16:33
dbasch has joined #ruby
16:33
fgo has quit [Remote host closed the connection]
16:34
fgo has joined #ruby
16:34
ixti has joined #ruby
16:35
oo_ has quit [Ping timeout: 255 seconds]
16:35
szuletett has joined #ruby
16:35
tonyhb_ has joined #ruby
16:36
szuletett has quit [Read error: Connection reset by peer]
16:37
tonyhb has quit [Ping timeout: 255 seconds]
16:37
szuletett has joined #ruby
16:38
microdex has quit [Remote host closed the connection]
16:38
fgo has quit [Ping timeout: 260 seconds]
16:39
Ayey_ has quit [Ping timeout: 255 seconds]
16:40
centipedefarmer has joined #ruby
16:40
phoo1234567 has joined #ruby
16:40
peret has quit [Remote host closed the connection]
16:40
szuletett has left #ruby [#ruby]
16:40
gdd229 has left #ruby [#ruby]
16:41
phoo1234567 has quit [Max SendQ exceeded]
16:41
phoo1234567 has joined #ruby
16:41
klaut has quit [Remote host closed the connection]
16:42
InfraRuby has joined #ruby
16:42
klaut has joined #ruby
16:43
teddyp1cker has joined #ruby
16:43
yfeldblum has joined #ruby
16:43
spastorino has joined #ruby
16:43
szuletett has joined #ruby
16:43
szuletett has quit [Client Quit]
16:44
MartinCleaver has quit [Quit: MartinCleaver]
16:44
szuletett has joined #ruby
16:44
szuletett has quit [Read error: Connection reset by peer]
16:44
lq has quit [Ping timeout: 264 seconds]
16:45
pandaant has quit [Remote host closed the connection]
16:46
klaut has quit [Ping timeout: 250 seconds]
16:46
Avahey_ has quit [Quit: Connection closed for inactivity]
16:47
sirene has quit [Quit: Saliendo]
16:48
teddyp1cker has quit [Ping timeout: 255 seconds]
16:48
yfeldblum has quit [Ping timeout: 260 seconds]
16:49
szuletett has joined #ruby
16:50
diegoviola has joined #ruby
16:50
rubytor has quit [Quit: No Ping reply in 180 seconds.]
16:50
Zenigor has quit [Remote host closed the connection]
16:50
rubytor has joined #ruby
16:51
Zenigor has joined #ruby
16:51
<
anildigital >
Mon_Ouie: is it that popular?
16:52
szuletett has quit [Read error: Connection reset by peer]
16:52
narendraj9 has quit [Quit: Connection closed for inactivity]
16:52
Rahul_Roy has joined #ruby
16:55
abuzze has joined #ruby
16:55
Zenigor has quit [Ping timeout: 244 seconds]
16:55
haroldwu has quit [Changing host]
16:55
haroldwu has joined #ruby
16:56
<
Mon_Ouie >
anildigital: Well… can't be much less than octothrope
16:56
kevkev____ has joined #ruby
16:57
Zenigor has joined #ruby
16:57
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
16:58
tonyhb_ has quit [Quit: peace]
16:58
kenneth has joined #ruby
16:59
abuzze has quit [Ping timeout: 245 seconds]
17:00
SilkFox has joined #ruby
17:00
nasj has quit [Remote host closed the connection]
17:00
soulcake has quit [Quit: Quack.]
17:00
kevkev____ has quit [Ping timeout: 240 seconds]
17:01
IceDragon has joined #ruby
17:01
nasj has joined #ruby
17:01
beef-wellington has joined #ruby
17:02
nateberkopec has joined #ruby
17:03
soulcake has joined #ruby
17:04
MartinCleaver has joined #ruby
17:04
banjara has quit [Quit: Leaving.]
17:04
njection has joined #ruby
17:05
rubytor has quit [Ping timeout: 255 seconds]
17:05
Ayey_ has joined #ruby
17:05
ferr has quit [Ping timeout: 264 seconds]
17:05
blackjid has quit [Ping timeout: 240 seconds]
17:05
nasj has quit [Ping timeout: 250 seconds]
17:05
headius has quit [Ping timeout: 260 seconds]
17:06
danijoo has quit [Read error: Connection reset by peer]
17:06
danijoo has joined #ruby
17:07
mikesplain has joined #ruby
17:07
nateberkopec has quit [Ping timeout: 240 seconds]
17:07
zipace has joined #ruby
17:07
SilkFox has quit [Quit: WeeChat 0.4.3]
17:08
SilkFox has joined #ruby
17:08
dacamp has quit [Ping timeout: 260 seconds]
17:08
hydrajump has quit [Ping timeout: 256 seconds]
17:09
dacamp has joined #ruby
17:09
gomikemi1e has quit [Ping timeout: 272 seconds]
17:09
gomikemike has joined #ruby
17:10
headius has joined #ruby
17:10
Ayey_ has quit [Ping timeout: 256 seconds]
17:11
rubytor has joined #ruby
17:11
mikesplain has quit [Ping timeout: 240 seconds]
17:11
donkey777 has joined #ruby
17:11
AlexBlom has quit [Ping timeout: 244 seconds]
17:12
axl_ has joined #ruby
17:12
blackjid has joined #ruby
17:13
jonr22 has joined #ruby
17:14
soulcake has quit [Quit: Quack.]
17:14
MartinCleaver has quit [Quit: MartinCleaver]
17:14
AlSquirrel has joined #ruby
17:15
AlSquire has quit [Read error: Connection reset by peer]
17:15
axl_ has quit [Client Quit]
17:15
rubytor has quit [Quit: No Ping reply in 180 seconds.]
17:15
ftj has joined #ruby
17:16
rubytor has joined #ruby
17:16
St_Marx has quit [Ping timeout: 264 seconds]
17:16
axl_ has joined #ruby
17:17
catepillar has quit [Ping timeout: 255 seconds]
17:17
pdtpatr11k has quit [Ping timeout: 272 seconds]
17:17
dhruvasagar has quit [Ping timeout: 255 seconds]
17:17
blackjid has quit [Ping timeout: 240 seconds]
17:17
gomikemike has quit [Ping timeout: 260 seconds]
17:17
catepillar has joined #ruby
17:17
InfraRuby has left #ruby [#ruby]
17:17
samuelkadolph has quit [Ping timeout: 272 seconds]
17:17
dacamp has quit [Ping timeout: 264 seconds]
17:17
headius has quit [Ping timeout: 264 seconds]
17:18
isomorphismes has quit [Ping timeout: 260 seconds]
17:18
samuelkadolph has joined #ruby
17:18
gomikemike has joined #ruby
17:18
dacamp has joined #ruby
17:19
pdtpatr1ck has joined #ruby
17:19
InfraRuby has joined #ruby
17:19
axsuul has joined #ruby
17:20
dhruvasagar has joined #ruby
17:20
blackjid has joined #ruby
17:20
isomorphismes has joined #ruby
17:20
headius has joined #ruby
17:20
ftj has quit [Client Quit]
17:20
tonyhb has joined #ruby
17:20
hydrajump has joined #ruby
17:20
ftj has joined #ruby
17:22
rubytor has quit [Ping timeout: 245 seconds]
17:22
agrinb has joined #ruby
17:23
Pharaoh2 has joined #ruby
17:24
wrist has joined #ruby
17:24
axsuul has quit [Ping timeout: 240 seconds]
17:25
wallerdev has joined #ruby
17:25
patrick99e99 has joined #ruby
17:26
jayunit100 has joined #ruby
17:26
centipedefarmer has quit [Remote host closed the connection]
17:27
dbasch has quit [Quit: dbasch]
17:27
soulcake has joined #ruby
17:27
redondo has joined #ruby
17:27
maletor has quit [Quit: Computer has gone to sleep.]
17:28
centipedefarmer has joined #ruby
17:28
mleone has joined #ruby
17:28
soulcake has quit [Client Quit]
17:28
wrist has quit [Ping timeout: 260 seconds]
17:29
soulcake has joined #ruby
17:30
sputnik13 has joined #ruby
17:30
patrick99e99 has quit [Ping timeout: 264 seconds]
17:30
oo_ has joined #ruby
17:32
jottr has joined #ruby
17:32
agrinb has quit [Remote host closed the connection]
17:32
centipedefarmer has quit [Ping timeout: 255 seconds]
17:33
krisquigley has joined #ruby
17:33
agrinb has joined #ruby
17:34
Channel6 has quit [Remote host closed the connection]
17:34
oo_ has quit [Ping timeout: 240 seconds]
17:35
aantix has joined #ruby
17:36
mehlah has quit [Quit: Leaving...]
17:37
kireevco has quit [Quit: Leaving.]
17:37
yfeldblum has joined #ruby
17:37
advorak has joined #ruby
17:37
agrinb has quit [Ping timeout: 250 seconds]
17:37
relix has joined #ruby
17:38
bMalum has joined #ruby
17:38
<
shevy >
when I subclass from a class
17:38
<
shevy >
but all is packed into modules
17:38
<
shevy >
for instance:
17:38
<
shevy >
module Foo; class Bar
17:38
<
shevy >
and then another project
17:38
<
shevy >
module Ble; class Yo
17:38
<
shevy >
hmm no, that is a bad example...
17:39
<
shevy >
I wanted to give an example like:
17:39
<
shevy >
class Yo < Foo::bar
17:39
kireevco has joined #ruby
17:39
kireevco has quit [Client Quit]
17:39
<
shevy >
class Yo < Foo::Bar
17:39
<
shevy >
class Yo < Bar
17:39
brianherman has joined #ruby
17:40
mijicd has quit [Remote host closed the connection]
17:40
alphabet is now known as matrixdevuk
17:40
<
eam >
down with module
17:40
<
jhass >
I don't think your question is clear
17:41
mleone has quit [Ping timeout: 245 seconds]
17:41
fold has quit [Ping timeout: 240 seconds]
17:41
<
shevy >
give an answer man
17:42
yfeldblum has quit [Ping timeout: 255 seconds]
17:42
<
jhass >
I have no idea what the question is, actually
17:42
seamon has joined #ruby
17:43
Vile` has quit [Quit: .]
17:43
<
eam >
shevy: try it on a newer ruby
17:43
kquig has joined #ruby
17:43
<
shevy >
I only work with the latest and greatest
17:43
<
shevy >
but I am going with the ::
17:43
<
eam >
I don't know what the question is either, but that's a pretty decent generic answer huh
17:43
kquig has quit [Client Quit]
17:44
<
shevy >
other projects seem to do so too
17:44
reset has joined #ruby
17:44
<
pipework >
shevy: I don't think anyone follows.
17:44
<
shevy >
class MyApp < Sinatra::Base
17:45
neersighted has quit []
17:45
mikeg has quit [Remote host closed the connection]
17:45
neersighted has joined #ruby
17:45
<
Mon_Ouie >
I don't think you even stated a question yet
17:46
dseitz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
17:46
krisquigley has quit [Ping timeout: 255 seconds]
17:46
tonyhb has quit [Ping timeout: 240 seconds]
17:46
nasj has joined #ruby
17:46
tonyhb has joined #ruby
17:46
philcrissman has joined #ruby
17:48
boom has quit [Ping timeout: 260 seconds]
17:49
reset has quit [Quit: Leaving...]
17:49
<
eam >
awesome_print knows where methods come from and the names of args, like: irb_require(*opts, &b) Object (IRB::ExtendCommandBundle)
17:49
maletor has joined #ruby
17:49
<
eam >
how does it get that information?
17:50
Vile` has joined #ruby
17:50
<
jhass >
should be the Method object obtained by the method method
17:51
neersighted has quit [Remote host closed the connection]
17:52
<
Hanmac >
eam dark magic
17:52
agrinb has joined #ruby
17:52
<
shevy >
you have become very quiet ever since you got your new job
17:53
<
Hanmac >
>> def meth(a,b=1,*c,d:, e: 4, **f,&g);end; method(:meth).parameters
17:53
<
eval-in >
Hanmac => [[:req, :a], [:opt, :b], [:rest, :c], [:keyreq, :d], [:key, :e], [:keyrest, :f], [:block, :g]] (
https://eval.in/174880)
17:53
<
Hanmac >
shevy hm that has other reasons ... i and my sister doing driving lessons ...
17:54
jottr has quit [Ping timeout: 240 seconds]
17:54
neersighted has joined #ruby
17:54
<
shevy >
I just found the coolest comment I ever wrote
17:54
<
shevy >
reset # This method will also invoke reset().
17:55
<
pontiki >
that's not cool
17:55
Photism has quit [Quit: Leaving]
17:55
<
pontiki >
no rhyming couplets
17:56
thams has quit [Quit: thams]
17:57
kevkev____ has joined #ruby
17:57
agrinb has quit [Remote host closed the connection]
17:57
Vile` has quit [Ping timeout: 256 seconds]
17:58
craigbowen3 has joined #ruby
17:58
skysploit has joined #ruby
17:59
frankle has joined #ruby
18:00
boom has joined #ruby
18:01
kevkev____ has quit [Ping timeout: 240 seconds]
18:02
mattalexx has joined #ruby
18:03
nateberkopec has joined #ruby
18:03
yourmother__ has joined #ruby
18:03
W0rmDr1nk has quit [Remote host closed the connection]
18:03
philcrissman has quit [Remote host closed the connection]
18:03
Ayey_ has joined #ruby
18:03
starkhalo has joined #ruby
18:03
<
mattalexx >
When I run "asdf = true and false" asdf is false (though I expect it to be true. I have to put brackets around it to get what I want: "asdf = (true and false)". Why?
18:04
philcrissman has joined #ruby
18:04
<
jhass >
>> asdf = (true and false); asdf
18:04
<
jhass >
>> asdf = true and false; asdf
18:05
<
jhass >
>> asdf = true && false; asdf
18:05
vsoftoiletpaper has quit []
18:05
<
eam >
mattalexx: precedence of = is higher than "and"
18:05
<
mattalexx >
eam: Wonder why..
18:05
<
jhass >
so the other way around you described it, but precedence, as said
18:05
<
eam >
because it was copied from perl, where the rules are the same
18:06
<
jhass >
one of the reasons most people prefer && over and, the precedence rules are more what you're used to from other languages
18:06
* mattalexx
does a search for " and " across entire codebase
18:06
<
eam >
and/or/not are also pretty screwed up for other reasons
18:06
vsoftoiletpaper has joined #ruby
18:06
<
eam >
>> [true and false]
18:06
<
eval-in >
eam => /tmp/execpad-17d6e11bded0/source-17d6e11bded0:2: syntax error, unexpected keyword_and, expecting ']' ... (
https://eval.in/174885)
18:06
<
eam >
>> [ true && false]
18:06
agrinb has joined #ruby
18:06
<
eam >
though that problem is unique to ruby
18:07
nateberkopec has quit [Ping timeout: 240 seconds]
18:07
georgelappies has joined #ruby
18:07
mikesplain has joined #ruby
18:08
<
pontiki >
i don't think and/or/not are methods. i thought they were syntactic elements
18:08
<
eam >
they're keywords
18:08
<
pontiki >
&&/||/! are methods
18:08
<
jhass >
uhm no, only !
18:08
philcrissman has quit [Ping timeout: 256 seconds]
18:08
Ayey_ has quit [Ping timeout: 264 seconds]
18:09
<
eam >
and some things in ruby are only methods sometimes and other times aren't
18:09
Hobogrammer has joined #ruby
18:09
<
jhass >
>> class Foo; def self.!; :not_foo; end; end; !Foo
18:09
centipedefarmer has joined #ruby
18:10
<
shevy >
why is it on the left hand side
18:10
<
jhass >
pontiki: how do I override && if it's a method?
18:10
dbasch has joined #ruby
18:10
<
eam >
>> class Fixnum; def -@; 7 end; end; [ -1, --1, -(1), - 1 ]
18:10
<
pontiki >
idk, i'm wrong, i thought you already said that...
18:10
donkey777 has left #ruby [#ruby]
18:10
toastynerd has joined #ruby
18:11
Vile` has joined #ruby
18:11
<
eam >
seems like ruby's parser for numeric literals shouldn't include "-" for this reason
18:11
toastynerd has quit [Remote host closed the connection]
18:12
mikesplain has quit [Ping timeout: 245 seconds]
18:12
banjara has joined #ruby
18:12
<
eam >
I guess it gets more complex with minus embedded in complex expressions like
18:12
<
eam >
>> [1e1, 1e-1]
18:14
<
eam >
maybe 1e-1 should actually call -@() and **()
18:14
bMalum has quit [Quit: Computer has gone to sleep.]
18:14
Hobogrammer_ has joined #ruby
18:14
bMalum has joined #ruby
18:15
<
eam >
>> class Fixnum; def **(x); 88; end; end; [1e1, 1**10]
18:15
<
jhass >
that's academic anyway, overriding Fixnum#-@ is pretty insane IMO
18:15
<
eam >
then it shouldn't be a method at all :)
18:15
LadyRainicorn has quit [Read error: Connection reset by peer]
18:16
<
eam >
anyway there are legit reasons to override it, such as causing it to throw an error
18:16
<
jhass >
I said Fixnum#-@, not MyClass#-@
18:16
LadyRainicorn has joined #ruby
18:16
<
godd2 >
I dunno jhass I can imagine creating a child class of Fixnum in which negation takes on a slightly different meaning, but I dunno.
18:16
<
jhass >
godd2: thing is, I can't
18:16
<
eam >
you can't really create children classes of Fixnum, I tried yesterday
18:16
<
Hanmac >
godd2: you cant make a childclass of Fixnum ... okay you can but it does not work
18:17
<
jhass >
and if it comes to a subclass, you won't have a literal for it anyway
18:17
poguez_ has quit [Quit: Connection closed for inactivity]
18:17
<
eam >
I wanted to create a byte class for that dude with the brainfuck interpreter
18:17
<
jhass >
so the behavior in literal parsing is irrelevant for the subclass case
18:17
donkey777 has joined #ruby
18:17
Anarch has quit [Ping timeout: 240 seconds]
18:17
Hobogrammer has quit [Ping timeout: 250 seconds]
18:17
carraroj has quit [Ping timeout: 255 seconds]
18:17
Zenigor has quit [Remote host closed the connection]
18:18
Zenigor has joined #ruby
18:18
<
eam >
well what if you want to change floating point behavior, that's a legit use case
18:18
<
yourmother__ >
>> 1 + 1
18:18
<
Hanmac >
list of classes you cant make instances from:
18:18
<
Hanmac >
>> ObjectSpace.each_object(Class).reject {|o| o.respond_to?(:new) }
18:18
<
eval-in >
Hanmac => [Bignum, Float, Fixnum, Integer, Symbol, Encoding, FalseClass, TrueClass, NilClass, Complex, Rational, Thread::Backtrace::Location, Thread::Backtrace, RubyVM::Env, RubyVM, Binding, UnboundMethod, Metho ... (
https://eval.in/174895)
18:18
<
eam >
say you want java float semantics instead of ieee
18:19
bMalum has quit [Ping timeout: 240 seconds]
18:19
Anarch has joined #ruby
18:19
<
Hanmac >
eam ... ups you did say the j-word inside this channel ... now we all will hate you ...
18:19
<
eam >
well let's say its for jruby compat reasons
18:19
Zespre has quit [Quit: leaving]
18:20
soulcake has quit [Quit: Quack.]
18:20
<
godd2 >
Well I'll at least say this, even if theres some method that has never been changed or touched or overridden yet, that doesn't mean there's not a use case for it at some point. Maybe Matz figured that he didn't have all the answers, and is letting us figure this out.
18:20
<
eam >
Hanmac: if it makes you feel better I think java is hella stupid for not implementing ieee floats
18:20
<
Hanmac >
hey! i am not even sure if php does full implment them ;P
18:20
larissa has joined #ruby
18:21
<
eam >
now I'm wondering how to add .new to a class
18:21
<
eam >
has to be possible
18:21
<
godd2 >
eam what do they do different? use 7 bits for the exponent instead of 8 ?
18:22
<
eam >
pretty esoteric stuff
18:22
soulcake has joined #ruby
18:22
tonyhb has quit [Quit: peace]
18:22
toastynerd has joined #ruby
18:23
relix has quit [Read error: Connection reset by peer]
18:24
relix has joined #ruby
18:24
wrist has joined #ruby
18:24
soulcake has quit [Client Quit]
18:25
bMalum has joined #ruby
18:25
soulcake has joined #ruby
18:26
dseitz has joined #ruby
18:26
Zespre has joined #ruby
18:26
bMalum_ has joined #ruby
18:26
hellangel7 has quit [Read error: Connection reset by peer]
18:26
mupkoo has joined #ruby
18:26
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
18:26
agrinb has quit [Remote host closed the connection]
18:27
starkhalo has quit [Ping timeout: 256 seconds]
18:27
agrinb has joined #ruby
18:28
Lexun has joined #ruby
18:28
chihhsin_cloud has joined #ruby
18:28
hellangel7 has joined #ruby
18:28
fold has joined #ruby
18:28
wrist has quit [Ping timeout: 245 seconds]
18:29
bMalum has quit [Ping timeout: 260 seconds]
18:29
yfeldblum has joined #ruby
18:30
hellangel7 has quit [Max SendQ exceeded]
18:30
tectonic has joined #ruby
18:30
oo_ has joined #ruby
18:30
hellangel7 has joined #ruby
18:31
anaeem1_ has joined #ruby
18:31
soulcake has quit [Quit: Quack.]
18:31
georgelappies has quit [Remote host closed the connection]
18:32
agrinb has quit [Ping timeout: 255 seconds]
18:32
soulcake has joined #ruby
18:32
tolo123 has joined #ruby
18:32
tectonic has quit [Client Quit]
18:33
nowthatsamatt has quit [Quit: nowthatsamatt]
18:33
hellangel7 has quit [Max SendQ exceeded]
18:34
hellangel7 has joined #ruby
18:35
oo_ has quit [Ping timeout: 255 seconds]
18:35
Lexun has quit [Quit: Manjaro-KDE user leaving!]
18:36
Lexun has joined #ruby
18:36
yourmother__ has quit [Read error: Connection reset by peer]
18:36
soulcake has quit [Client Quit]
18:36
yourmother__ has joined #ruby
18:36
bluehavana has quit [Quit: Connection closed for inactivity]
18:37
hellangel7 has quit [Max SendQ exceeded]
18:37
toastynerd has quit [Remote host closed the connection]
18:37
hellangel7 has joined #ruby
18:37
Telmo has quit [Quit: That's it for today]
18:38
<
pontiki >
you can use active model outside of rails...
18:38
jayunit100 has quit [Quit: jayunit100]
18:38
gypsydave5 has joined #ruby
18:38
error404_ is now known as error404
18:38
<
godd2 >
or you can implement ActiveSupport::HasWithIndifferentAccess
18:39
hellangel7 has quit [Max SendQ exceeded]
18:39
yourmother__ has quit [Read error: Connection reset by peer]
18:39
hellangel7 has joined #ruby
18:39
gruz0[russia] has quit [Quit: This computer has gone to sleep]
18:40
arup_r1 has joined #ruby
18:40
<
pontiki >
HWIA doesn't return previous values
18:41
georgelappies has joined #ruby
18:41
banjara has quit [Quit: Leaving.]
18:41
SCHAAP137 has joined #ruby
18:41
arup_r has quit [Ping timeout: 264 seconds]
18:42
hellangel7 has quit [Max SendQ exceeded]
18:42
<
arup_r1 >
pontiki: Are you telling me ?
18:42
cleopatra has quit [Ping timeout: 250 seconds]
18:42
hellangel7 has joined #ruby
18:42
<
pontiki >
that you can use active mode outised of rails? yes
18:43
<
arup_r1 >
Please tell me how
18:43
<
pontiki >
what do you mean?
18:43
soulcake has joined #ruby
18:43
soulcake has quit [Client Quit]
18:43
<
arup_r1 >
I mean which Gem I need to install it
18:43
<
pontiki >
active_model
18:43
<
arup_r1 >
for doing this?
18:44
teddyp1cker has joined #ruby
18:44
nfk has joined #ruby
18:44
soulcake has joined #ruby
18:44
<
centrx >
That's pretty ancient
18:44
bMalum_ has quit [Quit: Computer has gone to sleep.]
18:44
tokik has joined #ruby
18:45
badhatter has quit [Remote host closed the connection]
18:45
toastynerd has joined #ruby
18:45
bMalum_ has joined #ruby
18:45
<
godd2 >
gem install activemodel
18:46
dbasch has quit [Quit: dbasch]
18:46
<
arup_r1 >
godd2: That I know hehehehe.. Only not able to find out the correct one
18:47
georgelappies has quit [Remote host closed the connection]
18:47
<
arup_r1 >
centrx: Thank you very much
18:47
St_Marx has joined #ruby
18:47
georgelappies has joined #ruby
18:48
jackneill has quit [Ping timeout: 245 seconds]
18:48
teddyp1cker has quit [Ping timeout: 240 seconds]
18:49
tolo123 has quit [Quit: tolo123]
18:49
donkey777 has quit []
18:49
InfraRuby has left #ruby [#ruby]
18:49
bMalum_ has quit [Ping timeout: 256 seconds]
18:51
agrinb has joined #ruby
18:51
LadyRainicorn has quit [Ping timeout: 256 seconds]
18:52
gogohome has joined #ruby
18:52
<
gogohome >
very hot. so i can’t sleep
18:52
LadyRainicorn has joined #ruby
18:53
lele has quit [Ping timeout: 256 seconds]
18:54
axl_ has quit [Quit: axl_]
18:54
codecop_ has joined #ruby
18:54
jayunit100 has joined #ruby
18:55
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
18:55
jonr22 has quit [Ping timeout: 250 seconds]
18:55
agrinb has quit [Ping timeout: 255 seconds]
18:55
lkoqwu has quit [Read error: Connection reset by peer]
18:55
gogohome has left #ruby [#ruby]
18:55
tectonic has joined #ruby
18:56
mupkoo has quit [Remote host closed the connection]
18:56
tokik has quit [Ping timeout: 264 seconds]
18:56
maletor_ has joined #ruby
18:58
kevkev____ has joined #ruby
18:58
agrinb has joined #ruby
18:58
codecop has quit [Ping timeout: 255 seconds]
18:59
dbasch has joined #ruby
18:59
Ayey_ has joined #ruby
18:59
maletor has quit [Ping timeout: 250 seconds]
18:59
Fire-Dragon-DoL has joined #ruby
19:00
bradleyprice has quit [Remote host closed the connection]
19:01
bradleyprice has joined #ruby
19:01
niklasb has joined #ruby
19:02
bklane has joined #ruby
19:02
tectonic has quit [Ping timeout: 264 seconds]
19:02
agrinb has quit [Ping timeout: 255 seconds]
19:02
kevkev____ has quit [Ping timeout: 256 seconds]
19:03
nateberkopec has joined #ruby
19:04
graft_ has joined #ruby
19:04
graft is now known as Guest61096
19:04
graft_ is now known as graft
19:04
ftj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:05
maletor_ has quit [Ping timeout: 240 seconds]
19:05
<
graft >
hey folks, i've got this class Dummy that I'm extending with Enumerable - the problem is whenever I do select on it, i end up with an Array - how can i make it so that select returns a new Dummy instead?
19:05
<
graft >
while still using all of the Enumerable goodness...
19:05
bradleyprice has quit [Ping timeout: 264 seconds]
19:06
pdtpatrick_ has joined #ruby
19:06
maletor has joined #ruby
19:06
aantix has quit [Quit: aantix]
19:06
<
graft >
seems like I should be able to overwrite enum_for and return some Enumerator subclass or some such
19:06
sjouke has joined #ruby
19:07
centipedefarmer has quit [Remote host closed the connection]
19:07
banjara has joined #ruby
19:07
tectonic has joined #ruby
19:08
<
centrx >
graft, Yeah I think the Enumerable select is always designed to return Array, as it does with Hash too
19:08
<
centrx >
graft, returning an Enumerator is different from returning a new Dummy
19:08
mikesplain has joined #ruby
19:08
pdtpatrick_ has quit [Client Quit]
19:08
tylerkern has joined #ruby
19:09
pdtpatrick_ has joined #ruby
19:09
<
centrx >
graft, You can override #select to do: super.to_dummy :or: Dummy.new(super)
19:09
Shidash has joined #ruby
19:09
toastynerd has quit []
19:09
<
graft >
centrx: yeah, but i don't want to rewrite Enumerable
19:10
Takle has quit [Read error: Connection reset by peer]
19:11
<
centrx >
graft, You can do some metaprogramming for it
19:11
aspires has joined #ruby
19:11
agrinb has joined #ruby
19:11
tylerkern has quit [Client Quit]
19:11
banjara has quit [Ping timeout: 264 seconds]
19:12
cantonic has joined #ruby
19:12
<
centrx >
graft, and/or instead of including Enumerable in Dummy, have Dummy contain some object that acts like an array, and Dummy mediates between the array and the Dummy type
19:12
soulcake has quit [Quit: Quack.]
19:12
pdtpatrick_ has quit [Client Quit]
19:12
Cache_Money has joined #ruby
19:12
beef-wellington has quit [Ping timeout: 240 seconds]
19:12
tylerkern has joined #ruby
19:13
soulcake has joined #ruby
19:13
claymore has quit [Quit: Leaving]
19:13
mikesplain has quit [Ping timeout: 264 seconds]
19:14
<
godd2 >
graft perhaps you want to use #find instead?
19:14
centipedefarmer has joined #ruby
19:15
<
graft >
i basically want to have all of the Enumerable methods, select, reject, sort, etc., but instead of them returning an Array they return my collection class instead... i guess i just have to write my own select/reject/sort/etc.
19:15
JoshGlzBrk has joined #ruby
19:16
tonyhb has joined #ruby
19:16
agrinb has quit [Ping timeout: 264 seconds]
19:16
<
graft >
centrx: yeah, the Dummy class already uses an array internally
19:17
<
centrx >
graft, So just use define_method or method_missing to define these methods, which send the corresponding method in the internal array, and then transforms the output into a Dummy
19:17
<
godd2 >
method_missing won't work if he includes Enumerable
19:17
<
centrx >
define_method is cleaner anyway
19:18
<
centrx >
graft, So you only need to write one method definition, which calls the corresponding method in the internal array. You don't need to write your own select and sort methods
19:18
<
graft >
yeah.... just trying to avoid duplication dammit
19:18
<
centrx >
graft, You only need one loop with one define_method in it
19:20
<
graft >
centrx: not sure i follow...
19:20
InfraRuby has joined #ruby
19:21
<
graft >
centrx: aha, cool, very nice
19:21
ftj has joined #ruby
19:22
<
jhass >
you can replace the array with Enumerable.instance_methods
19:22
<
graft >
i don't want all of Enumerable's instance_methods, however, just the ones that would return an Array
19:22
<
graft >
like i don't want find
19:23
<
jhass >
I'd rather check inside if an array was returned
19:23
<
graft >
hmm, that's a good idea
19:23
Asher has quit [Quit: Leaving.]
19:23
<
graft >
unless find returns an array, but i guess i know what i'm collecting
19:24
<
graft >
probably safer to list them out though
19:25
aantix has joined #ruby
19:25
aspires has quit []
19:25
aantix has quit [Client Quit]
19:25
wrist has joined #ruby
19:26
Nilium has quit [Ping timeout: 260 seconds]
19:26
patrick99e99 has joined #ruby
19:27
dbasch has quit [Read error: Connection reset by peer]
19:27
dbasch has joined #ruby
19:27
<
godd2 >
That way you get all the functionality of enumerable, but overridden methods will return a new custom collection
19:28
brianherman_ has joined #ruby
19:28
anildigital is now known as zz_anildigital
19:28
<
jhass >
godd2: why not pass the block to @elements.each ?
19:28
nobodyzzz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
19:29
<
jhass >
and why yield if there's no block?
19:29
Vile` has quit [Changing host]
19:29
Vile` has joined #ruby
19:29
<
godd2 >
I'm sure there are better ways to write what I wrote.
19:29
<
jhass >
simply delegate, @elements.each(&block)
19:30
wrist has quit [Ping timeout: 260 seconds]
19:30
oo_ has joined #ruby
19:30
arup_r1 has quit [Quit: Leaving.]
19:31
nobodyzzz has joined #ruby
19:31
brianherman has quit [Ping timeout: 264 seconds]
19:31
patrick99e99 has quit [Ping timeout: 250 seconds]
19:32
m8 has joined #ruby
19:32
tylerker1 has joined #ruby
19:33
Xiti` is now known as Xiti
19:33
rippa has quit [Read error: Connection reset by peer]
19:33
Nilium has joined #ruby
19:33
rippa has joined #ruby
19:34
oo_ has quit [Ping timeout: 240 seconds]
19:35
aantix has joined #ruby
19:35
dbasch has quit [Quit: dbasch]
19:35
InfraRuby has left #ruby [#ruby]
19:35
Pharaoh2 has quit [Remote host closed the connection]
19:35
aantix has quit [Client Quit]
19:36
Pharaoh2 has joined #ruby
19:36
bMalum_ has joined #ruby
19:36
nateberkopec has quit [Quit: Leaving...]
19:37
banjara has joined #ruby
19:38
theharshest has joined #ruby
19:40
chipotle has quit [Read error: Connection reset by peer]
19:40
Starless has joined #ruby
19:40
Pharaoh2 has quit [Ping timeout: 264 seconds]
19:41
teddyp1cker has joined #ruby
19:42
banjara has quit [Ping timeout: 250 seconds]
19:42
chipotle has joined #ruby
19:42
jxf has quit [Ping timeout: 250 seconds]
19:43
bluOxigen has joined #ruby
19:43
iliketurtles has joined #ruby
19:44
aantix has joined #ruby
19:44
aantix has quit [Client Quit]
19:45
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
19:46
tylerker1 has quit [Ping timeout: 250 seconds]
19:46
jimmyhoughjr has joined #ruby
19:46
szuletett has joined #ruby
19:46
szuletett has left #ruby [#ruby]
19:48
bmurt has joined #ruby
19:48
mupkoo has joined #ruby
19:50
aantix has joined #ruby
19:50
aantix has quit [Client Quit]
19:50
relix has joined #ruby
19:51
danijoo has quit [Read error: Connection reset by peer]
19:51
chrishough has joined #ruby
19:51
decoponio has quit [Quit: Leaving...]
19:51
tectonic has quit []
19:51
danijoo has joined #ruby
19:52
tjr9898 has quit [Remote host closed the connection]
19:53
bluOxigen has quit []
19:54
TieSoul has joined #ruby
19:55
tectonic has joined #ruby
19:55
iliketurtles has quit [Quit: zzzzz…..]
19:57
Zenigor_ has joined #ruby
19:57
aantix has joined #ruby
19:57
robscormack has joined #ruby
19:57
Trynemjoel has quit [Ping timeout: 245 seconds]
19:58
anaeem1__ has joined #ruby
19:58
Trynemjoel has joined #ruby
19:58
jxf has joined #ruby
19:58
kevkev____ has joined #ruby
20:00
anaeem1_ has quit [Read error: Connection reset by peer]
20:00
tuxninja has joined #ruby
20:00
<
godd2 >
This just shows I need to learn how delegation works
20:00
Zenigor has quit [Ping timeout: 255 seconds]
20:01
InfraRuby has joined #ruby
20:01
Zenigor_ has quit [Remote host closed the connection]
20:01
tonyhb_ has joined #ruby
20:02
Zenigor has joined #ruby
20:02
aantix has quit [Ping timeout: 256 seconds]
20:02
Maitiu has quit [Ping timeout: 260 seconds]
20:02
Zenigor_ has joined #ruby
20:03
kevkev____ has quit [Ping timeout: 255 seconds]
20:03
tonyhb has quit [Ping timeout: 255 seconds]
20:03
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
20:03
vifino has joined #ruby
20:04
bMalum_ has quit [Quit: Computer has gone to sleep.]
20:04
bMalum_ has joined #ruby
20:06
Zenigor has quit [Ping timeout: 240 seconds]
20:06
ftj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:07
diegoviola has quit [Quit: WeeChat 0.4.3]
20:07
Zenigor_ has quit [Remote host closed the connection]
20:08
Zenigor has joined #ruby
20:08
tylerkern has joined #ruby
20:09
mikesplain has joined #ruby
20:09
bMalum_ has quit [Ping timeout: 256 seconds]
20:09
<
shevy >
why don't we have accessors for "foo?" methods?
20:10
<
shevy >
def foo?; @foo
20:10
<
centrx >
You mean !!@foo ?
20:10
<
centrx >
As you see, it is the same as attr_reader
20:11
<
shevy >
well they don't have the trailing ?
20:11
tectonic has quit []
20:11
<
centrx >
Actual foo? methods usually have special logic, not accessors
20:11
<
jhass >
I've seen quite a few that map to a (boolean) instance variable
20:11
<
godd2 >
shev i think cent means it should have been def foo?; !!@foo
20:13
tylerkern has quit [Quit: Lost terminal]
20:13
mikesplain has quit [Ping timeout: 245 seconds]
20:14
sjouke has quit [Quit: leaving]
20:14
<
Mon_Ouie >
I usually do attr_accessor and alias the reader it creates
20:14
kireevco has joined #ruby
20:15
<
godd2 >
I still think we should have an anternary operator.
20:16
axsuul has joined #ruby
20:16
<
godd2 >
some_condition !? when_false : when_true
20:16
<
centrx >
just move the ! to the front
20:16
<
godd2 >
yea but its way funner to write !?
20:16
<
jhass >
or swap the bodies
20:18
<
eam >
>> def ‽(cond, a, b); cond ? b : a end; ‽ true, 1, 2
20:18
tectonic has joined #ruby
20:19
arya_ has quit [Ping timeout: 250 seconds]
20:19
<
godd2 >
ah, the interrobangary
20:19
lele has joined #ruby
20:19
nopolitica has joined #ruby
20:20
<
godd2 >
we could call it the wtf operator
20:20
bmurt has joined #ruby
20:20
ftj has joined #ruby
20:21
landodger has quit [Quit: Leaving]
20:22
<
Mon_Ouie >
We still need to get alias λ lambda in core
20:22
sheperson has joined #ruby
20:22
<
Mon_Ouie >
Also the new ⇒ syntax for hashes
20:23
TorpedoSkyline has joined #ruby
20:24
<
godd2 >
and ≡ for case equality?
20:25
brianherman_ has quit [Read error: Connection reset by peer]
20:25
bklane has quit [Quit: Leaving...]
20:25
maestrojed has joined #ruby
20:26
starkhalo has joined #ruby
20:26
wrist has joined #ruby
20:26
xxmicloxx has joined #ruby
20:27
<
Mon_Ouie >
Sure, why not? I mean, if Haskellers can get a UnicodeSyntax language extension in their compilers, why couldn't we?
20:27
shoeballoon has joined #ruby
20:28
Ilyas has quit [Read error: Connection reset by peer]
20:28
jjasonclark has joined #ruby
20:29
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
20:30
oo_ has joined #ruby
20:30
InfraRuby has left #ruby [#ruby]
20:31
wrist has quit [Ping timeout: 264 seconds]
20:31
<
TieSoul >
is there a faster/better way to do "for i in 0..arr.length; arr[i] += arr2[i]; end"?
20:32
hackeron_ has quit [Remote host closed the connection]
20:32
jxf has quit [Ping timeout: 264 seconds]
20:32
Asher has joined #ruby
20:32
Asher has quit [Client Quit]
20:32
Asher has joined #ruby
20:33
<
jhass >
arr.each_with_index do |e, i| arr2[i] += e; end
20:33
<
godd2 >
that wouldn't be the same. his changes arr, while yours changes arr2
20:34
<
jhass >
meh, just exchange the names
20:34
hackeron has joined #ruby
20:34
<
jhass >
there may be a way to avoid it altogether, but we know nothing about the real problem
20:35
oo_ has quit [Ping timeout: 244 seconds]
20:35
nasj has quit [Remote host closed the connection]
20:36
<
TieSoul >
I'm making a simulation of an object moving through two-dimensional space with the coordinates and delta represented as arrays as a part of an interpreter for an esoteric language.
20:36
InfraRuby has joined #ruby
20:37
nateberkopec has joined #ruby
20:37
<
TieSoul >
not so much a simulation
20:37
<
TieSoul >
I just wanted to sound fance
20:38
<
TieSoul >
it's more of a "thing that moves with constant speed"
20:38
<
TieSoul >
not very complicated.
20:38
<
jhass >
so there are only ever two items in the array?
20:38
AlSquirrel has quit [Quit: This computer has gone to sleep]
20:38
banjara has joined #ruby
20:39
threesixes has joined #ruby
20:39
nasj has joined #ruby
20:39
<
jhass >
I'd consider just coords[0] += delta[0] ; coords[1] += delta[1] (as two lines) then
20:39
Ayey_ has quit [Ping timeout: 260 seconds]
20:40
shoeballoon has quit [Quit: AtomicIRC: The nuclear option.]
20:40
<
shevy >
Mon_Ouie, how would that look when you wrote: "<Mon_Ouie> I usually do attr_accessor and alias the reader it creates" ? class Foo; attr_accessor :bar; alias bar? bar; end <--- like so?
20:41
<
threesixes >
im already 25% at codecademy's ruby progress after 3 days of strolling through, pretty neat language
20:41
ndrei has joined #ruby
20:41
hellangel7 has quit [Remote host closed the connection]
20:41
tjr9898 has joined #ruby
20:41
<
jhass >
TieSoul: or using matrix stdlib
20:41
<
Mon_Ouie >
shevy: yeah
20:41
nateberkopec has quit [Ping timeout: 240 seconds]
20:42
banjara has quit [Ping timeout: 240 seconds]
20:43
<
TieSoul >
Matrix stdlib? I'll look at that, thanks.
20:43
nasj has quit [Remote host closed the connection]
20:43
maestrojed has quit [Quit: Computer has gone to sleep.]
20:44
<
Mon_Ouie >
TieSoul: Befunge?
20:44
aspires has joined #ruby
20:44
centipedefarmer has quit [Remote host closed the connection]
20:45
<
TieSoul >
Yup, Befunge.
20:45
<
TieSoul >
-98, to be exact.
20:45
sirecote has quit [Ping timeout: 245 seconds]
20:45
philcrissman has joined #ruby
20:46
Pharaoh2 has joined #ruby
20:46
<
Mon_Ouie >
I never couldn't commit to the task of implementing an esoteric language enough to respect the 98 spec :p
20:47
jjasonclark has quit [Quit: jjasonclark]
20:47
kireevco has quit [Quit: Leaving.]
20:47
<
TieSoul >
I've already done it in Python (not fully compliant though, there's an infinite loop when Mycology does some part, and I can't reproduce it, which is frustrating).
20:47
jayunit100 has quit [Quit: jayunit100]
20:47
<
Mon_Ouie >
I'm not sure I even understand how wrapping around works in Befunge98
20:47
<
TieSoul >
Now I'm redoing it in Ruby, and concurrent.
20:47
sheperson_ has joined #ruby
20:47
sheperson has quit [Ping timeout: 264 seconds]
20:48
sheperson_ is now known as sheperson
20:48
xxmicloxx has quit [Quit: Verlassend]
20:48
<
TieSoul >
Wrapping in b-98 works like this: If it reaches an edge, it reverses the delta and moves until it hits another edge, then it reverses the delta and continues.
20:50
nasj has joined #ruby
20:50
<
shevy >
threesixes 3 days of trolling???
20:51
Pharaoh2 has quit [Ping timeout: 255 seconds]
20:53
<
shevy >
when I have a string like "Fooooo bar.", is there a simple and elegant way to turn this into "Fooooo Bar."?
20:53
InfraRuby has left #ruby [#ruby]
20:54
<
shevy >
.split(' ').map(&:capitalize).join(' ') shall do
20:54
skysploit has quit [Remote host closed the connection]
20:56
<
TieSoul >
erm, so how do I get the matrix library? I'm kind of a Ruby noob.
20:56
<
jhass >
require 'matrix'
20:57
<
TieSoul >
oh you need to use 'quotation marks'
20:57
aspires has quit []
20:57
InfraRuby has joined #ruby
20:58
philcrissman has quit [Remote host closed the connection]
20:58
sheperson has quit [Ping timeout: 250 seconds]
20:59
<
Mon_Ouie >
It works fine with "quotation marks" too, but it does need to be a string
20:59
kevkev____ has joined #ruby
21:00
justinv has quit [Remote host closed the connection]
21:01
mr_snowf1ake has joined #ruby
21:01
<
TieSoul >
so how do I import another file in the same directory? I have a file named "ip.rb", but when I use "require 'ip'" it throws an error.
21:01
tonyhb_ has quit [Quit: peace]
21:02
<
TieSoul >
Do I need to do something inside the other file to make it work?
21:02
<
robscormack >
require_relative './ip' doesn't work?
21:02
<
TieSoul >
lemme try that
21:02
<
Mon_Ouie >
If you're going to use require_relative it should be require_relative 'ip'
21:03
<
TieSoul >
yeah, that works
21:03
<
godd2 >
>> "Fooooo bar.".gsub!(/ (\b\w)/) {|m| " " + $1.upcase}
21:03
<
robscormack >
Mon_Ouie yup, my bad.
21:03
aspires has joined #ruby
21:03
yoshie902a has joined #ruby
21:03
<
godd2 >
there you go shevy, but be wary, it will capitalize any word following a space
21:03
<
threesixes >
sorry shevy i didn't write that down thats like leson 2 + 3 on codecademy its like .capitalize or something like that
21:04
<
yoshie902a >
anyone know any good tutorials for XACML in ruby
21:04
kevkev____ has quit [Ping timeout: 264 seconds]
21:05
e4xit has quit [Quit: e4xit]
21:05
Tricon has joined #ruby
21:05
timonv_ has quit [Remote host closed the connection]
21:06
SCHAAP137 has quit [Remote host closed the connection]
21:06
InfraRuby has left #ruby [#ruby]
21:07
<
threesixes >
shevy, .capitalize!
21:08
<
wasamasa >
yoshie902a: what's that even
21:08
bluOxigen has joined #ruby
21:09
<
Mon_Ouie >
threesixes: his problem was that he wanted to capitalize every word individually
21:10
mikesplain has joined #ruby
21:10
kireevco has joined #ruby
21:10
<
robscormack >
wasamasa: it's like OAuth2, only harder to handle and not scalable.
21:11
<
wasamasa >
robscormack: hmm, why would there only be no decent tutorials on it...
21:11
<
robscormack >
I don't have any good tutorials on it and for one, wouldn't recommend anything to connect with that.
21:11
<
wasamasa >
ah, I know why, it reeks of java and is xml
21:11
<
wasamasa >
therefore, throw the appropriate tools at it
21:12
uxp has quit [Remote host closed the connection]
21:12
<
yoshie902a >
wasamasa: o qoute from stackoverflow: “ With XACML, you can implement context-aware authorization that is policy-based. For instance you can write rules such as: managers can edit documents they own; doctors can view the medical record of patients they are assigned to”
21:12
Zenigor has quit [Remote host closed the connection]
21:13
<
wasamasa >
sounds yucky
21:13
mistergibson has joined #ruby
21:13
<
robscormack >
it's like cancan on steroids.
21:13
<
jhass >
sounds like too much authorization in your authentication protocol
21:13
<
wasamasa >
wouldn't one solve that with relational databases
21:13
<
wasamasa >
or whatever else in the appropriate parts
21:13
<
wasamasa >
just giving the user the information he's supposed to see
21:14
<
yoshie902a >
wasamasa: I’m looking for best practices and good coding patterns
21:14
robbyoconnor has quit [Ping timeout: 260 seconds]
21:14
<
wasamasa >
yoshie902a: this is not #java
21:14
<
yoshie902a >
it can get yucky
21:14
Spami has quit [Quit: This computer has gone to sleep]
21:14
mikesplain has quit [Ping timeout: 240 seconds]
21:14
<
yoshie902a >
wasamasa: don’t get the java comment, explain
21:14
uxp has joined #ruby
21:15
<
wasamasa >
the more lower-level a programming language is, the more there's a need for programming patterns
21:15
jottr has joined #ruby
21:15
<
wasamasa >
java is pretty bad at this while ruby is quite good
21:16
georgelappies has quit [Remote host closed the connection]
21:16
<
yoshie902a >
wasamasa: or if you are dealing with many variables and need a clean organized way to manage them.
21:16
<
wasamasa >
use whatever abstractions your language provides, not what some hyped book thinks is good
21:16
Starless has quit [Ping timeout: 240 seconds]
21:16
<
jhass >
yoshie902a: like a hash?
21:17
<
wasamasa >
and since java intentionally limits you, you're fucked anyways
21:17
<
wasamasa >
heck, people prefer configuring java with xml
21:17
<
wasamasa >
instead of using something a bit more dynamic
21:17
<
wasamasa >
while the ruby world uses yaml for serialization
21:17
Starless has joined #ruby
21:17
<
jhass >
hm, there's much json these days
21:18
b00stfr3ak has joined #ruby
21:18
<
robscormack >
yaml 1.2 includes json as part of its standard.
21:18
<
jhass >
while Marshal uses a binary format
21:19
Xiti has quit [Changing host]
21:19
Xiti has joined #ruby
21:19
<
yoshie902a >
It’s a bit more complex
21:19
<
robscormack >
the problem with XML is that it is new era's Cobol: it's implemented everywhere and it takes a world to get rid of it.
21:19
<
yoshie902a >
check out the slide share I posted, might give you a better idea of what I’m looking for
21:20
bluOxigen has quit [Ping timeout: 255 seconds]
21:22
seamon has quit [Quit: Zzzzzzz]
21:24
Zenigor has joined #ruby
21:25
ndrei has quit [Remote host closed the connection]
21:26
ndrei has joined #ruby
21:27
wrist has joined #ruby
21:27
<
robscormack >
I MUST write a rant about JavaScript.
21:27
<
robscormack >
please? please? please?
21:28
elaptics is now known as elaptics`away
21:28
<
pontiki >
reddit awaits, robscormack
21:29
chrishough has quit [Quit: chrishough]
21:29
maletor has quit [Quit: Computer has gone to sleep.]
21:29
felgenh3 has joined #ruby
21:29
chihhsin_cloud has quit [Quit: Connection closed for inactivity]
21:30
<
shevy >
godd2 ewwwwww now that is ugly
21:30
<
robscormack >
I must make a confession, pontiki: I don't get reddit.
21:30
<
eam >
if you don't like javascript just disable it in your browser
21:30
<
shevy >
on reddit there are too many uneducated people
21:30
<
shevy >
educating them takes really a long, long time
21:30
<
eam >
shevy: it's the only way they'll improve though
21:31
<
eam >
you used to be like that too, we all did
21:31
<
eam >
(and all still are)
21:31
<
shevy >
I was always great
21:31
wrist has quit [Ping timeout: 240 seconds]
21:31
<
shevy >
except when I used php
21:31
<
shevy >
I wrote functions that way:
21:31
<
shevy >
function FOO_BAR()
21:31
anaeem1__ has quit [Remote host closed the connection]
21:32
<
threesixes >
i dont like javascript because its not server side, and requires you to have it enabled
21:32
asmodlol has quit [Quit: Leaving]
21:32
vsoftoiletpaper has quit []
21:33
<
robscormack >
why on earth people don't have a standard way to write JavaScript or even a standard way to organise their code?
21:33
<
shevy >
it's more fun when people write free style
21:33
<
threesixes >
idk i like hierarchy, not schizophrenic messes
21:34
<
eam >
I don't know if you noticed but you're in #ruby
21:34
<
robscormack >
then, can we create rubyscript? :X
21:35
danijoo has quit [Read error: Connection reset by peer]
21:35
Starless has quit [Quit: Leaving]
21:35
danijoo_ has joined #ruby
21:35
<
shevy >
RUbY for the browser
21:35
<
shevy >
alert 'hello world!'
21:35
iliketurtles has joined #ruby
21:35
iliketurtles has quit [Remote host closed the connection]
21:36
<
threesixes >
chomp chomp chomp, i dont get it lol
21:36
<
robscormack >
jquery(document).get_element_by_id :carousel
21:37
banister has joined #ruby
21:37
nateberkopec has joined #ruby
21:38
kirun has quit [Quit: Client exiting]
21:39
axsuul has quit [Ping timeout: 256 seconds]
21:39
spider-mario has quit [Remote host closed the connection]
21:40
lisa__ has joined #ruby
21:40
<
lisa__ >
is there someone who is good in rails
21:40
<
lisa__ >
i have a small question
21:40
<
jhass >
I'm pretty sure in #rubyonrails are some ;)
21:40
mostlybadfly has quit [Quit: Connection closed for inactivity]
21:40
<
lisa__ >
ohh thanks :)
21:41
yoshie902a has quit [Quit: yoshie902a]
21:41
iliketurtles has joined #ruby
21:41
iliketurtles has quit [Remote host closed the connection]
21:42
bmurt has joined #ruby
21:42
<
lisa__ >
can't join :/
21:42
mehlah has joined #ruby
21:42
<
jhass >
check /msg NickServ help
21:42
nateberkopec has quit [Ping timeout: 240 seconds]
21:43
Guest65447 has joined #ruby
21:43
TorpedoSkyline has joined #ruby
21:43
pierre1_ has joined #ruby
21:44
teddyp1cker has quit [Remote host closed the connection]
21:44
nasj has quit [Remote host closed the connection]
21:45
teddyp1cker has joined #ruby
21:45
mehlah has quit [Client Quit]
21:45
nasj has joined #ruby
21:45
centipedefarmer has joined #ruby
21:46
<
lisa__ >
not very helpful
21:46
<
jhass >
you need to register with that and then identify
21:46
Zenigor has quit [Remote host closed the connection]
21:47
Zenigor has joined #ruby
21:48
<
pontiki >
robscormack: if not reddit, tumblr; if not tumblr, facebook; if not fb, g+; if not g+, twitter; if not twitter, livejournal :)
21:49
axsuul has joined #ruby
21:49
teddyp1cker has quit [Ping timeout: 240 seconds]
21:49
nasj has quit [Ping timeout: 245 seconds]
21:50
<
pontiki >
just use the ruby transpiler to get your ruby in the browser
21:50
centipedefarmer has quit [Ping timeout: 255 seconds]
21:51
<
shevy >
we need opalrb
21:51
<
shevy >
to become part of firefox
21:51
mostlybadfly has joined #ruby
21:52
axl_ has joined #ruby
21:52
ndrei has quit [Ping timeout: 240 seconds]
21:53
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
21:53
axl_ has quit [Client Quit]
21:53
philcrissman has joined #ruby
21:53
TorpedoSkyline has joined #ruby
21:53
Tricon has quit [Quit: Leaving...]
21:53
lw has joined #ruby
21:54
lw has quit [Max SendQ exceeded]
21:54
jonr22 has joined #ruby
21:54
sputnik13 has joined #ruby
21:54
lw has joined #ruby
21:54
InfraRuby has joined #ruby
21:54
lw has quit [Max SendQ exceeded]
21:54
tectonic has quit []
21:55
fold has quit [Ping timeout: 260 seconds]
21:55
lw has joined #ruby
21:55
jonahR has joined #ruby
21:55
Xiti has quit [Quit: Leaving]
21:56
Xiti has joined #ruby
22:00
kevkev____ has joined #ruby
22:00
InfraRuby has left #ruby [#ruby]
22:00
jjasonclark has joined #ruby
22:02
yoshie902a has joined #ruby
22:02
kij__ has joined #ruby
22:02
jottr has quit [Ping timeout: 250 seconds]
22:03
loofer has joined #ruby
22:03
mijicd has joined #ruby
22:03
rlazoti has joined #ruby
22:04
lq has joined #ruby
22:05
kevkev____ has quit [Ping timeout: 260 seconds]
22:05
skysploit has joined #ruby
22:05
skysploit has joined #ruby
22:06
philcrissman has quit [Remote host closed the connection]
22:06
jhass is now known as jhass|off
22:06
philcrissman has joined #ruby
22:07
chrishough has joined #ruby
22:08
w09x has joined #ruby
22:08
<
mistergibson >
I wish ruby would take code examples from OpenJDK, a fine working example, and implement true threads. It would kick ass then.
22:08
Cache_Money has quit [Quit: Cache_Money]
22:09
andrewlio has joined #ruby
22:09
andrewlio has quit [Client Quit]
22:09
gruz0[russia] has joined #ruby
22:10
mikesplain has joined #ruby
22:10
nobodyzzz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:11
philcrissman has quit [Ping timeout: 250 seconds]
22:12
skysploit has quit [Remote host closed the connection]
22:12
mupkoo has quit [Remote host closed the connection]
22:13
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
22:14
Petru has quit [Quit: Leaving]
22:14
queequeg1 has quit [Ping timeout: 256 seconds]
22:14
codecop_ has quit [Remote host closed the connection]
22:15
axl_ has joined #ruby
22:15
goshdarnyou has quit [Quit: Connection closed for inactivity]
22:15
mikesplain has quit [Ping timeout: 256 seconds]
22:16
axl_ has quit [Client Quit]
22:16
jjasonclark has quit [Quit: jjasonclark]
22:17
vsoftoiletpaper has joined #ruby
22:17
Zenigor has quit [Remote host closed the connection]
22:17
Blue_Ice has quit [Ping timeout: 250 seconds]
22:17
Zenigor has joined #ruby
22:18
Lexun has quit [Quit: Manjaro-KDE user leaving!]
22:18
kyb3r_ has joined #ruby
22:18
robbyoconnor has joined #ruby
22:18
Lexun has joined #ruby
22:19
reset has joined #ruby
22:20
queequeg1 has joined #ruby
22:20
existensil has joined #ruby
22:20
vifino has quit [Quit: Ze Cat now leaves...]
22:20
mehlah has joined #ruby
22:21
centipedefarmer has joined #ruby
22:21
centipedefarmer has quit [Remote host closed the connection]
22:21
marr has joined #ruby
22:21
centipedefarmer has joined #ruby
22:22
Zenigor has quit [Ping timeout: 250 seconds]
22:22
robbyoconnor has quit [Ping timeout: 240 seconds]
22:23
skysploit has joined #ruby
22:23
skysploit has quit [Remote host closed the connection]
22:25
gypsydave5 has quit [Quit: Lost terminal]
22:25
boom has quit [Read error: Connection reset by peer]
22:25
mehlah has quit [Quit: Leaving...]
22:26
centipedefarmer has quit [Ping timeout: 250 seconds]
22:26
towbes has joined #ruby
22:27
jjasonclark has joined #ruby
22:27
wrist has joined #ruby
22:28
ziprar has joined #ruby
22:28
ziprar has joined #ruby
22:28
lq has quit [Quit: leaving]
22:28
jayunit100 has joined #ruby
22:28
pr0t has joined #ruby
22:29
<
pontiki >
have at it, mistergibson
22:30
jonahR has quit [Remote host closed the connection]
22:30
reset has quit [Quit: Leaving...]
22:30
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:30
lw has quit [Quit: s]
22:30
oo_ has joined #ruby
22:31
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:31
zipace has quit [Ping timeout: 256 seconds]
22:32
wrist has quit [Ping timeout: 245 seconds]
22:33
Shidash has quit [Ping timeout: 260 seconds]
22:33
saarinen has joined #ruby
22:34
robscormack has quit [Quit: gotta run!]
22:35
robbyoconnor has joined #ruby
22:35
oo_ has quit [Ping timeout: 255 seconds]
22:35
Fezzler has joined #ruby
22:35
robbyoconnor has quit [Read error: Connection reset by peer]
22:36
jottr has joined #ruby
22:36
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:36
bradleyprice has joined #ruby
22:37
mehlah has joined #ruby
22:38
nateberkopec has joined #ruby
22:39
yoshie902a has quit [Quit: yoshie902a]
22:40
jonr22 has quit [Ping timeout: 255 seconds]
22:40
benzrf is now known as test
22:40
test is now known as benzrf
22:41
yoshie902a has joined #ruby
22:42
phoo1234567 has quit [Quit: Leaving]
22:43
Cache_Money has joined #ruby
22:43
nateberkopec has quit [Ping timeout: 240 seconds]
22:45
jjasonclark has quit [Quit: jjasonclark]
22:45
Fezzler has quit [Quit: Leaving]
22:46
b00stfr3ak has quit [Ping timeout: 256 seconds]
22:46
pr0t has quit [Remote host closed the connection]
22:46
Solnse has joined #ruby
22:49
pr0t has joined #ruby
22:52
qpls_ is now known as qpls
22:52
blackmesa has joined #ruby
22:54
agrinb has joined #ruby
22:54
jjasonclark has joined #ruby
22:57
TieSoul has quit [Ping timeout: 255 seconds]
22:58
nopolitica has quit [Ping timeout: 255 seconds]
22:58
Channel6 has joined #ruby
22:59
tylerkern has joined #ruby
22:59
agrinb has quit [Ping timeout: 240 seconds]
23:00
kumarat9pm has left #ruby [#ruby]
23:01
kevkev____ has joined #ruby
23:01
agrinb has joined #ruby
23:01
mupkoo has joined #ruby
23:02
m8 has quit [Read error: Connection reset by peer]
23:03
Ankhers has joined #ruby
23:04
centipedefarmer has joined #ruby
23:05
maletor has joined #ruby
23:05
kevkev____ has quit [Ping timeout: 250 seconds]
23:06
lidaaa has joined #ruby
23:06
<
shevy >
I am going to quiz you people
23:06
<
shevy >
what does Array#pop do
23:06
<
centrx >
It poops out an element
23:07
mechanicalduck_ has joined #ruby
23:08
jonahR has joined #ruby
23:09
centipedefarmer has quit [Ping timeout: 255 seconds]
23:09
mechanicalduck has quit [Ping timeout: 272 seconds]
23:10
<
pontiki >
same as Array#scat ?
23:10
saarinen has quit [Quit: saarinen]
23:10
frankle has quit [Quit: Connection closed for inactivity]
23:11
mikesplain has joined #ruby
23:11
amclain has joined #ruby
23:12
duncannz has joined #ruby
23:16
<
shevy >
NoMethodError: undefined method `scat' for ["a", "b", "c", "d", "e", "f", "g", "b", "h", "i"]:Array
23:16
nasj has joined #ruby
23:16
mikesplain has quit [Ping timeout: 256 seconds]
23:16
<
pontiki >
i see the joke eludes you
23:17
yoshie902a has quit [Quit: yoshie902a]
23:17
<
eam >
method_pissing
23:18
JoshGlzBrk has joined #ruby
23:20
larissa has quit [Quit: Leaving]
23:20
Solnse has quit [Ping timeout: 256 seconds]
23:20
qrohlf has joined #ruby
23:21
nasj has quit [Ping timeout: 260 seconds]
23:22
andrewjanssen has joined #ruby
23:22
jmc75 has joined #ruby
23:22
jmc75 has left #ruby [#ruby]
23:24
<
mistergibson >
[0, 1, 2, 3].pop => 0
23:25
<
Nowaker >
mistergibson: somebody overwrote .pop method on Array?
23:26
centrx has quit [Quit: Mead error: Connection reset by beer]
23:26
klaut has joined #ruby
23:28
patrick99e99 has joined #ruby
23:28
wrist has joined #ruby
23:28
klaut has quit [Remote host closed the connection]
23:29
zenojis has quit [Ping timeout: 240 seconds]
23:29
klaut has joined #ruby
23:30
<
shevy >
method_pissing
23:30
silentpost has joined #ruby
23:30
<
shevy >
it's used when it is toilet time
23:31
jayunit100 has quit [Quit: jayunit100]
23:32
wrist has quit [Ping timeout: 255 seconds]
23:33
patrick99e99 has quit [Ping timeout: 255 seconds]
23:33
<
mistergibson >
err.. => 3 - I'm smoking dope
23:33
p0sixpscl has joined #ruby
23:34
<
shevy >
that is good mistergibson
23:34
zenojis has joined #ruby
23:38
jamto11 has joined #ruby
23:39
zenojis has quit [Ping timeout: 240 seconds]
23:39
nateberkopec has joined #ruby
23:40
p0sixpscl has quit [Ping timeout: 250 seconds]
23:42
InfraRuby has joined #ruby
23:43
philcrissman has joined #ruby
23:43
nateberkopec has quit [Ping timeout: 240 seconds]
23:44
<
shevy >
is .slice() giving me any advantage over [] ?
23:44
<
shevy >
docu says synonym
23:45
gr33n7007h has joined #ruby
23:45
zenojis has joined #ruby
23:45
<
drizz >
you probably save µ1s on the name lookup though!
23:45
teddyp1cker has joined #ruby
23:45
axl_ has joined #ruby
23:47
axl_ has quit [Client Quit]
23:47
philcrissman has quit [Ping timeout: 255 seconds]
23:48
seamon has joined #ruby
23:49
zenojis has quit [Ping timeout: 240 seconds]
23:49
spastorino has quit [Quit: Connection closed for inactivity]
23:50
teddyp1cker has quit [Ping timeout: 244 seconds]
23:51
<
shevy >
a micro second
23:52
justinv has joined #ruby
23:53
tenseiten is now known as seitensei
23:53
seitensei has quit [Changing host]
23:53
seitensei has joined #ruby
23:54
chrishough has quit [Quit: chrishough]
23:55
IceDragon has quit [Remote host closed the connection]
23:55
chrishough has joined #ruby
23:55
zenojis has joined #ruby
23:56
pierre1_ has quit [Ping timeout: 255 seconds]
23:58
neersighted has quit []
23:58
neersighted has joined #ruby
23:59
zenojis has quit [Ping timeout: 240 seconds]