00:00
jcarl43 has quit [Quit: WeeChat 2.1]
00:03
Autolycus has joined #ruby
00:05
jenrzzz has joined #ruby
00:07
c0ncealed1 has quit [Read error: Connection reset by peer]
00:07
dendazen has joined #ruby
00:08
c0ncealed1 has joined #ruby
00:08
derp10327 has quit [Ping timeout: 240 seconds]
00:09
derp10327 has joined #ruby
00:15
rfoust has joined #ruby
00:15
derp10327 has quit [Ping timeout: 265 seconds]
00:16
derp10327 has joined #ruby
00:17
samosaphile has joined #ruby
00:22
nogic has quit [Ping timeout: 240 seconds]
00:23
orbyt_ has joined #ruby
00:24
samosaphile has quit [Ping timeout: 260 seconds]
00:25
jenrzzz has quit [Ping timeout: 265 seconds]
00:30
mikkel- has quit [Quit: WeeChat 0.4.3]
00:35
sanscoeur has joined #ruby
00:39
cagomez has quit [Remote host closed the connection]
00:40
apeiros has quit [Ping timeout: 256 seconds]
00:46
sanscoeur has quit [Remote host closed the connection]
00:46
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:47
fmcgeough has joined #ruby
00:47
rfoust has joined #ruby
00:48
jready has joined #ruby
00:49
fmcgeough has quit [Client Quit]
00:50
fmcgeough has joined #ruby
00:50
kihacviz has quit [Quit: Page closed]
00:50
peterR`` has joined #ruby
01:01
karapetyan has quit [Remote host closed the connection]
01:01
cmhobbs has joined #ruby
01:04
<
cmhobbs >
hey folks! i'm banging my head against a problem. i've got an array of hashes like this: [{foo: 'bar', baz: 'qux'}, {foo: 'quux', baz: 'quuuux'}, ...] and i'd like to just turn that into an array of "tuples" [[key, value], [key, value], ...]
01:05
<
cmhobbs >
at the moment, i've tried foo.map { |element| element.to_a }
01:05
<
cmhobbs >
but that nests multiple arrays [[[key, value], ...], ...]]
01:05
<
cmhobbs >
and calling flatten outside the block just gives me a completely flat array (as expected...)
01:06
<
havenwood >
cmhobbs: flat_map(&:to_a)
01:06
<
cmhobbs >
is flat_map a railsism?
01:06
<
havenwood >
>> [{foo: 'bar', baz: 'qux'}, {foo: 'quux', baz: 'quuuux'}].flat_map(&:to_a)
01:06
<
havenwood >
cmhobbs: It's Ruby core.
01:06
<
cmhobbs >
thanks so much
01:06
<
havenwood >
cmhobbs: you're welcome
01:07
<
cmhobbs >
been doing this ruby stuff for 12 years and i haven't yet heard of #flat_map
01:07
<
cmhobbs >
learn something new everyday i guess
01:07
<
havenwood >
cmhobbs: Alternatively you can `map` then `flatten(1)`, but `flat_map` is better.
01:07
<
cmhobbs >
well, i was doing map and then flatten but i must've had things out of order
01:08
<
cmhobbs >
because i was getting weird nesting
01:08
<
havenwood >
cmhobbs: You'd need: flatten(1)
01:08
<
havenwood >
cmhobbs: Or you flatten too much.
01:08
<
havenwood >
>> [{foo: 'bar', baz: 'qux'}, {foo: 'quux', baz: 'quuuux'}].map(&:to_a).flatten(1)
01:08
<
cmhobbs >
one more stupid question. if i've got a hash that i can always assume (dangerous, yes) will only contain a single key, is there a better way to get only the value out of it than calling foo.keys.first?
01:08
<
havenwood >
#=> [[:foo, "bar"], [:baz, "qux"], [:foo, "quux"], [:baz, "quuuux"]]
01:09
<
cmhobbs >
what is this... flatten takes arguments?
01:09
<
havenwood >
cmhobbs: yerp
01:09
<
cmhobbs >
goodness, i need to read the core docs more closely
01:09
<
havenwood >
cmhobbs: Flat map is like map with flatten one level only.
01:09
<
havenwood >
Which is what you want here.
01:10
<
havenwood >
cmhobbs: Alternatively you could do: first.first
01:10
<
cmhobbs >
yeah, seems just as ham fisted
01:10
SeepingN has quit [Ping timeout: 260 seconds]
01:10
<
cmhobbs >
i know assuming there's only ever one key is dangerous, too
01:10
<
cmhobbs >
but in this case it'll never change. it's a one off with some data munging
01:10
kmurphy4 has joined #ruby
01:10
<
havenwood >
cmhobbs: oh, you want the value?
01:10
<
havenwood >
do you know the key?
01:11
<
cmhobbs >
yeah, just the only value that'll be in there
01:11
<
cmhobbs >
i may not know the key, no
01:11
<
cmhobbs >
i just know that i'm getting a single hash each time in this iterator that looks like { foo: 'bar' } (where the value could be a different data structure)
01:11
<
cmhobbs >
all i want is the sole value
01:11
<
cmhobbs >
point is it'll only ever have one key and one value
01:11
gizmore|2 has joined #ruby
01:11
<
havenwood >
cmhobbs: i guess you meant: foo.values.first
01:11
<
cmhobbs >
i just want the key
01:11
<
cmhobbs >
there's only ever one key
01:11
<
cmhobbs >
at the moment it's just foo.keys.first
01:12
<
cmhobbs >
but it seems ham fisted
01:12
<
cmhobbs >
but in this case, the input is more likely the problem
01:12
<
havenwood >
gotcha, haha - I got confused by "value of the key"
01:12
<
havenwood >
you want the key
01:12
<
cmhobbs >
i want the key and there's only ever one of them in this case
01:12
<
havenwood >
keys.first is best. there's a proposed #one method but it hasn't been accepted.
01:12
<
havenwood >
it's would also ensure there is indeed only one item
01:12
<
cmhobbs >
yeah, seems a little too specific
01:12
<
cmhobbs >
thanks for the input
01:15
gizmore has quit [Ping timeout: 256 seconds]
01:28
cmhobbs has left #ruby ["WeeChat 1.6"]
01:31
Auv has joined #ruby
01:32
Auv is now known as JackMc
01:37
jud has quit [Ping timeout: 260 seconds]
01:37
d_kam has joined #ruby
01:38
orbyt_ has quit [Ping timeout: 265 seconds]
01:42
apparition has joined #ruby
01:42
<
havenwood >
TruffleRuby with keys take the cake, with 42M IPS.
01:42
<
havenwood >
JRuby is runner up with 19M.
01:43
<
havenwood >
CRuby's best showing is also keys at 7M.
01:44
<
havenwood >
And Rubinius is odd man out, with first being fastest at 0.8M.
01:50
jud has joined #ruby
01:55
tdy has quit [Ping timeout: 256 seconds]
02:01
karapetyan has joined #ruby
02:04
amar has joined #ruby
02:04
shinnya has joined #ruby
02:07
karapetyan has quit [Ping timeout: 265 seconds]
02:08
amar has quit [Ping timeout: 256 seconds]
02:13
arekushi has joined #ruby
02:13
cschneid has joined #ruby
02:13
cschneid has quit [Remote host closed the connection]
02:13
cschneid has joined #ruby
02:17
aakp has joined #ruby
02:17
aakp has quit [Client Quit]
02:17
aakp has joined #ruby
02:27
cyberg has quit [Quit: Leaving]
02:31
cadillac_ has quit [Ping timeout: 256 seconds]
02:31
rkazak has joined #ruby
02:32
cadillac_ has joined #ruby
02:34
sytherax has joined #ruby
02:37
SteenJobs has quit [Quit: peaceee]
02:38
<
headius >
havenwood: I got 34M for JRuby
02:40
<
headius >
the benchmark also doesn't use any of the results and it's likely TR can statically "do nothing"
02:40
<
havenwood >
headius: oh, my mistake! Looking at the reported version, I accidentally ran it with graal.
02:41
<
headius >
havenwood: well that's fine, but throw -Xcompile.invokedynamic on there too
02:42
sytherax has quit [Remote host closed the connection]
02:42
<
havenwood >
ah, graal actually does increase performance - i'll add invokedynamic and update the gist
02:42
<
headius >
the benchmark blocks are going to be the biggest cost here
02:42
sytherax has joined #ruby
02:44
<
headius >
I modified your bench to call keys.first five times and use the results, and JRuby gets 27M ips to TR's 8M
02:45
<
headius >
on graal with indy
02:45
jready has quit [Remote host closed the connection]
02:46
<
havenwood >
headius: ahh, how interesting
02:46
arekushi has quit [Quit: Gateway shutdown]
02:46
<
headius >
TR is good at optimizing away unused work...we're getting there :-)
02:47
<
havenwood >
headius: thanks for the heads up! I'm getting 40M now with the original bench with graal and indy
02:47
<
headius >
I'll gist my changes and numbers in a sec
02:49
<
headius >
TR still manages to eliminate most of the first.first one but the others it's being forced to do the work it seems
02:50
<
headius >
it's hard to benchmark an impl that eliminates useless work because it eliminates the benchmark
02:51
aakp has quit [Quit: aakp]
02:51
aakp has joined #ruby
02:52
shinnya has joined #ruby
02:53
<
headius >
havenwood: FWIW let me know what else you see with JRuby + indy + graal...for small benchmarks here that gives JRuby outstanding perf
02:53
<
headius >
mixed back for large apps though
02:55
arekushi has joined #ruby
02:55
rkazak has quit [Quit: Sleep.....ing....]
02:56
aakp has quit [Client Quit]
02:57
aakp has joined #ruby
03:00
cadillac_ has quit [Quit: I quit]
03:00
cadillac_ has joined #ruby
03:01
AJA4350 has quit [Remote host closed the connection]
03:05
braincrash has quit [Quit: bye bye]
03:05
coderphive has quit [Quit: coderphive]
03:07
cschneid has quit [Remote host closed the connection]
03:07
cschneid has joined #ruby
03:10
braincrash has joined #ruby
03:10
cschneid has quit [Remote host closed the connection]
03:10
cschneid has joined #ruby
03:12
coderphi_ has joined #ruby
03:12
Autolycus has quit [Quit: Connection closed for inactivity]
03:13
eelster has joined #ruby
03:15
coderphi_ is now known as coderphive
03:18
shinnya has joined #ruby
03:20
emilford has quit [Ping timeout: 268 seconds]
03:21
cschneid has quit [Remote host closed the connection]
03:21
shinnya has quit [Client Quit]
03:21
ciscam has quit [Ping timeout: 248 seconds]
03:21
aakp has quit [Quit: aakp]
03:21
cschneid has joined #ruby
03:21
aakp has joined #ruby
03:23
ciscam has joined #ruby
03:25
shinnya has joined #ruby
03:26
cschneid has quit [Remote host closed the connection]
03:26
emilford has joined #ruby
03:26
aakp has quit [Client Quit]
03:26
cschneid has joined #ruby
03:28
aakp has joined #ruby
03:31
emilford has quit [Ping timeout: 265 seconds]
03:33
bmurt has joined #ruby
03:33
emilford has joined #ruby
03:34
bmurt has quit [Client Quit]
03:36
<
havenwood >
headius: JRuby indy graal really is fast! Good stuff.
03:37
p0p0pr37_ has joined #ruby
03:37
amar has joined #ruby
03:38
<
headius >
oh yeah that's a perfect case for JRuby + Graal right now
03:38
<
headius >
given these exciting results we'll be working over the next few weeks to get stuff inlining that isn't currently...that should open up more doors
03:39
<
havenwood >
For an empty SipHash13 digest on my laptop: JRuby indy/graal 99K - TruffleRuby 68K - CRuby 59K - JRuby 56K
03:39
p0p0pr37 has quit [Ping timeout: 265 seconds]
03:39
p0p0pr37_ is now known as p0p0pr37
03:39
<
headius >
is that a gem I can install?
03:39
<
headius >
I'm curious about jruby indy hotspot now
03:40
emilford has quit [Ping timeout: 256 seconds]
03:41
<
headius >
havenwood: you should also try -Xfixnum.cache=false
03:41
amar has quit [Ping timeout: 248 seconds]
03:42
<
headius >
to blunt the cost of numerics, we cache -256..256 Fixnum objects
03:42
<
headius >
but on Graal that can get in the way of escape analysis, so it's usually faster to disable it
03:42
<
headius >
sometimes much faster
03:42
<
havenwood >
ah, interesting
03:42
gix- has joined #ruby
03:42
gix has quit [Disconnected by services]
03:43
emilford has joined #ruby
03:43
<
headius >
we may detect graal in the future and only use it in the interpreter, or something
03:46
<
headius >
yeah seems to help some of them
03:48
derp10327 has quit [Ping timeout: 240 seconds]
03:49
sylario has quit [Quit: Connection closed for inactivity]
03:49
apparition has quit [Quit: Bye]
03:55
jamesaxl has quit [Quit: WeeChat 2.1]
03:56
cschneid has quit [Remote host closed the connection]
04:00
Dimik has joined #ruby
04:01
aakp has quit [Quit: aakp]
04:03
pabs has quit [Ping timeout: 256 seconds]
04:04
karapetyan has joined #ruby
04:05
phaul has joined #ruby
04:06
aakp has joined #ruby
04:06
donofrio has quit [Remote host closed the connection]
04:09
karapetyan has quit [Ping timeout: 248 seconds]
04:09
pabs has joined #ruby
04:09
UncleCid__ has joined #ruby
04:11
ciscam has quit [Ping timeout: 265 seconds]
04:11
pwnd_nsfw` has quit [Ping timeout: 240 seconds]
04:12
derp10327 has joined #ruby
04:12
ciscam has joined #ruby
04:21
aakp has quit [Quit: aakp]
04:32
aakp has joined #ruby
04:35
alfiemax has joined #ruby
04:36
aakp has quit [Client Quit]
04:36
ogres has joined #ruby
04:36
dendazen has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
04:46
sanscoeur has joined #ruby
04:48
kmurphy4 has quit [Quit: kmurphy4]
04:55
russellx has joined #ruby
04:56
russellx has quit [Client Quit]
05:01
jnix_ is now known as jnix
05:01
jnix has quit [Changing host]
05:01
jnix has joined #ruby
05:02
ldepandis has joined #ruby
05:03
gnufied has quit [Ping timeout: 240 seconds]
05:06
kmurphy4 has joined #ruby
05:08
TinkerT has quit [Read error: Connection reset by peer]
05:10
TinkerT has joined #ruby
05:12
aakp has joined #ruby
05:15
Guest8275 has quit [Ping timeout: 244 seconds]
05:16
aakp has quit [Client Quit]
05:16
aakp has joined #ruby
05:21
dviola has quit [Quit: WeeChat 2.1]
05:26
nowhere_man has joined #ruby
05:28
mikecmpbll has quit [Quit: inabit. zz.]
05:34
armyriad has joined #ruby
05:36
sytherax has quit [Remote host closed the connection]
05:36
p0p0pr37_ has joined #ruby
05:36
p0p0pr37_ has quit [Changing host]
05:36
p0p0pr37_ has joined #ruby
05:36
phaul has quit [Ping timeout: 256 seconds]
05:36
amar has joined #ruby
05:38
p0p0pr37 has quit [Ping timeout: 240 seconds]
05:38
p0p0pr37_ is now known as p0p0pr37
05:40
sytherax has joined #ruby
05:41
amar has quit [Ping timeout: 248 seconds]
05:44
tdy has joined #ruby
05:44
phaul has joined #ruby
05:45
reber has joined #ruby
05:47
alfiemax has quit [Remote host closed the connection]
05:47
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:48
alfiemax has joined #ruby
05:50
kmurphy4 has quit [Quit: kmurphy4]
05:50
pabs has quit [Ping timeout: 265 seconds]
05:54
sytherax has quit [Ping timeout: 268 seconds]
05:55
pabs has joined #ruby
06:02
sytherax has joined #ruby
06:06
karapetyan has joined #ruby
06:09
postmodern has joined #ruby
06:10
karapetyan has quit [Ping timeout: 265 seconds]
06:11
aakp has quit [Quit: aakp]
06:12
aakp has joined #ruby
06:14
sytherax has quit [Ping timeout: 248 seconds]
06:15
sytherax has joined #ruby
06:16
aakp has quit [Client Quit]
06:20
sytherax has quit [Ping timeout: 260 seconds]
06:21
Immune has joined #ruby
06:24
sytherax has joined #ruby
06:24
nowhere_man has quit [Remote host closed the connection]
06:24
nowhere_man has joined #ruby
06:30
kapil___ has joined #ruby
06:32
aakp has joined #ruby
06:32
sytherax has quit [Ping timeout: 265 seconds]
06:36
aakp has quit [Client Quit]
06:36
aakp has joined #ruby
06:40
sytherax has joined #ruby
06:41
aakp has quit [Quit: aakp]
06:43
gigetoo has quit [Ping timeout: 240 seconds]
06:44
sytherax has quit [Remote host closed the connection]
06:44
sytherax has joined #ruby
06:46
aakp has joined #ruby
06:49
sytherax has quit [Ping timeout: 248 seconds]
06:49
sytherax has joined #ruby
06:49
TomyLobo has joined #ruby
06:50
rippa has joined #ruby
06:51
aakp has quit [Client Quit]
06:52
aakp has joined #ruby
06:54
trautwein has joined #ruby
06:56
aakp has quit [Client Quit]
06:58
troys has quit [Quit: Bye]
06:58
b10s_ has quit [Quit: Leaving]
06:59
alfiemax has quit [Remote host closed the connection]
06:59
alfiemax has joined #ruby
07:00
phaul has quit [Ping timeout: 240 seconds]
07:00
alfiemax has quit [Read error: Connection reset by peer]
07:00
alfiemax has joined #ruby
07:01
nickjj_ has joined #ruby
07:02
nickjj has quit [Ping timeout: 276 seconds]
07:05
alfiemax has quit [Ping timeout: 260 seconds]
07:05
alfiemax has joined #ruby
07:11
emilford has quit [Ping timeout: 268 seconds]
07:11
emilford has joined #ruby
07:12
gigetoo has joined #ruby
07:13
Immune has quit [Read error: Connection reset by peer]
07:16
coderphive has quit [Quit: coderphive]
07:16
sytherax has quit [Remote host closed the connection]
07:17
ciscam has quit [Ping timeout: 260 seconds]
07:18
ciscam has joined #ruby
07:20
sytherax has joined #ruby
07:23
Dimik has quit [Ping timeout: 265 seconds]
07:23
mtkd has joined #ruby
07:28
kevinsjoberg has joined #ruby
07:28
sytherax has quit [Ping timeout: 240 seconds]
07:29
sytherax has joined #ruby
07:32
p0p0pr37_ has joined #ruby
07:32
p0p0pr37_ has joined #ruby
07:32
p0p0pr37_ has quit [Changing host]
07:34
p0p0pr37 has quit [Ping timeout: 248 seconds]
07:34
p0p0pr37_ is now known as p0p0pr37
07:36
emilford has quit [Ping timeout: 256 seconds]
07:36
emilford has joined #ruby
07:37
amar has joined #ruby
07:41
clemens3 has joined #ruby
07:42
alfiemax has quit [Remote host closed the connection]
07:42
amar has quit [Ping timeout: 265 seconds]
07:46
sytherax has quit [Remote host closed the connection]
07:48
sytherax has joined #ruby
07:50
wget has quit [Ping timeout: 260 seconds]
07:52
quobo has joined #ruby
07:53
sytherax has quit [Ping timeout: 265 seconds]
07:55
duderonomy has joined #ruby
07:57
sytherax has joined #ruby
07:57
kevinsjoberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:01
KeyJoo has quit [Remote host closed the connection]
08:01
alfiemax has joined #ruby
08:03
sytherax has quit [Remote host closed the connection]
08:03
sytherax has joined #ruby
08:07
karapetyan has joined #ruby
08:10
emilford has quit [Ping timeout: 256 seconds]
08:11
emilford has joined #ruby
08:11
karapetyan has quit [Ping timeout: 245 seconds]
08:14
ogres has quit [Quit: Connection closed for inactivity]
08:22
schleppel has joined #ruby
08:22
bbobb has joined #ruby
08:23
alfiemax has quit [Remote host closed the connection]
08:24
phaul has joined #ruby
08:27
sanscoeur has quit [Remote host closed the connection]
08:28
sytherax has quit [Remote host closed the connection]
08:32
sytherax has joined #ruby
08:37
sytherax has quit [Ping timeout: 240 seconds]
08:37
mikecmpbll has joined #ruby
08:38
amar has joined #ruby
08:39
amar has quit [Read error: Connection reset by peer]
08:39
amar has joined #ruby
08:40
emilford has quit [Ping timeout: 260 seconds]
08:41
emilford has joined #ruby
08:41
sytherax has joined #ruby
08:44
amar has quit [Ping timeout: 240 seconds]
08:45
reber has quit [Remote host closed the connection]
08:45
reber has joined #ruby
08:45
OS-35301 has joined #ruby
08:46
amar has joined #ruby
08:47
OS-35301 has quit [Client Quit]
08:47
phaul has quit [Ping timeout: 256 seconds]
08:49
kapil___ has quit [Quit: Connection closed for inactivity]
08:49
sytherax has quit [Ping timeout: 265 seconds]
08:49
ldepandis has joined #ruby
08:50
emilford has quit [Ping timeout: 240 seconds]
08:50
emilford has joined #ruby
08:51
phaul has joined #ruby
08:53
ldepandis has quit [Client Quit]
08:53
sytherax has joined #ruby
08:54
ldepandis has joined #ruby
08:56
apeiros has joined #ruby
08:57
jrm has quit [Quit: ciao]
08:58
jrm has joined #ruby
08:59
wget has joined #ruby
08:59
wget has quit [Changing host]
08:59
wget has joined #ruby
09:00
emilford has quit [Ping timeout: 248 seconds]
09:00
mtkd has joined #ruby
09:01
samosaphile has joined #ruby
09:02
sytherax has quit [Ping timeout: 260 seconds]
09:04
wget has quit [Ping timeout: 265 seconds]
09:05
emilford has joined #ruby
09:06
sytherax has joined #ruby
09:12
ams__ has joined #ruby
09:12
wget has joined #ruby
09:17
wget has quit [Ping timeout: 265 seconds]
09:19
sytherax has quit [Ping timeout: 265 seconds]
09:21
bonhoeffer has joined #ruby
09:23
wget has joined #ruby
09:23
sytherax has joined #ruby
09:24
sytherax has quit [Remote host closed the connection]
09:24
sytherax has joined #ruby
09:26
p0p0pr37_ has joined #ruby
09:26
p0p0pr37_ has quit [Changing host]
09:26
p0p0pr37_ has joined #ruby
09:27
wget has quit [Ping timeout: 245 seconds]
09:28
p0p0pr37 has quit [Ping timeout: 265 seconds]
09:28
p0p0pr37_ is now known as p0p0pr37
09:28
tomphp has joined #ruby
09:29
nickjj_ is now known as nickjj
09:29
emilford has quit [Ping timeout: 260 seconds]
09:30
emilford has joined #ruby
09:31
ellcs has joined #ruby
09:40
emilford has quit [Ping timeout: 265 seconds]
09:40
emilford has joined #ruby
09:42
wget has joined #ruby
09:42
wget has joined #ruby
09:42
wget has quit [Changing host]
09:43
psychicist__ has joined #ruby
09:45
psychicist__ has quit [Client Quit]
09:45
\void has quit [Ping timeout: 256 seconds]
09:47
psychicist__ has joined #ruby
09:47
wget has quit [Ping timeout: 265 seconds]
09:47
\void has joined #ruby
09:50
ta_ has quit [Remote host closed the connection]
09:50
ta_ has joined #ruby
09:51
ta_ has quit [Remote host closed the connection]
09:51
sytherax has quit [Remote host closed the connection]
09:51
ta_ has joined #ruby
09:52
ta_ has quit [Remote host closed the connection]
09:52
ta_ has joined #ruby
09:52
ta_ has quit [Remote host closed the connection]
09:53
ta_ has joined #ruby
09:53
ta_ has quit [Remote host closed the connection]
09:54
emilford has quit [Ping timeout: 256 seconds]
09:55
emilford has joined #ruby
09:59
\void has quit [Quit: So long, and thanks for all the fish.]
10:02
vutral|kali has joined #ruby
10:02
<
vutral|kali >
hello anyone here having strange results from mathematic expressions in ruby?
10:03
<
apeiros >
vutral|kali: that's a rather vague question, don't you think?
10:03
<
vutral|kali >
64-32.2 = 31.799999999999997 instead of 31.8
10:03
<
apeiros >
?float vutral|kali
10:03
* apeiros
pokes ruby[bot]
10:03
<
apeiros >
it's dead
10:04
<
apeiros >
in short: floats are not base10 but base2 and have finite space, they're therefore approximations which will not always match your base10 expectations.
10:05
zapata has quit [Quit: WeeChat 2.1]
10:05
ruby[bot] has joined #ruby
10:05
<
apeiros >
?float vutral|kali
10:05
wget has joined #ruby
10:06
<
apeiros >
>> sprintf "%.60f", 0.1 # you see, not even 0.1 is truly 0.1
10:07
<
vutral|kali >
and how do i get the rounded results?
10:07
<
apeiros >
by rounding
10:07
<
apeiros >
or by using rational or bigdecimal
10:08
<
apeiros >
mind you, there are no silver bullets. you have to use solutions which match your requirements & context.
10:08
phaul has quit [Ping timeout: 276 seconds]
10:09
karapetyan has joined #ruby
10:09
clemens3 has quit [Ping timeout: 256 seconds]
10:10
wget has quit [Ping timeout: 265 seconds]
10:10
phaul has joined #ruby
10:11
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:13
karapetyan has quit [Ping timeout: 265 seconds]
10:14
emilford has quit [Ping timeout: 265 seconds]
10:15
emilford has joined #ruby
10:16
zapata has joined #ruby
10:20
ellcs has quit [Ping timeout: 256 seconds]
10:21
minimalism has quit [Quit: minimalism]
10:24
emilford has quit [Ping timeout: 268 seconds]
10:25
emilford has joined #ruby
10:27
wget has joined #ruby
10:27
wget has joined #ruby
10:27
wget has quit [Changing host]
10:29
emilford has quit [Ping timeout: 240 seconds]
10:30
emilford has joined #ruby
10:30
Mike11 has joined #ruby
10:31
wget has quit [Ping timeout: 265 seconds]
10:33
alfiemax has joined #ruby
10:33
ta_ has joined #ruby
10:35
coderphive has joined #ruby
10:35
phaul has quit [Ping timeout: 265 seconds]
10:37
alfiemax has quit [Ping timeout: 240 seconds]
10:39
emilford has quit [Ping timeout: 240 seconds]
10:39
coderphive has quit [Ping timeout: 265 seconds]
10:40
emilford has joined #ruby
10:40
tomphp has joined #ruby
10:43
phaul has joined #ruby
10:45
ta_ has quit [Remote host closed the connection]
10:46
arekushi is now known as Guest33581
10:47
sytherax has joined #ruby
10:48
rfoust has quit [Ping timeout: 265 seconds]
10:48
sameerynho has joined #ruby
10:50
karapetyan has joined #ruby
10:51
za1b1tsu has joined #ruby
10:52
karapetyan has quit [Remote host closed the connection]
10:52
karapetyan has joined #ruby
10:56
karapetyan has quit [Remote host closed the connection]
10:56
amar has quit [Remote host closed the connection]
10:56
karapetyan has joined #ruby
10:57
amar has joined #ruby
10:58
mikecmpbll has quit [Quit: inabit.]
10:59
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:59
gigetoo has quit [Ping timeout: 256 seconds]
11:00
gigetoo has joined #ruby
11:00
sytherax has quit [Remote host closed the connection]
11:00
sytherax has joined #ruby
11:02
phaul has quit [Ping timeout: 260 seconds]
11:04
emilford has quit [Ping timeout: 268 seconds]
11:04
alfiemax has joined #ruby
11:04
emilford has joined #ruby
11:05
d^sh has joined #ruby
11:05
sytherax has quit [Ping timeout: 256 seconds]
11:08
sytherax has joined #ruby
11:08
wget has joined #ruby
11:08
alfiemax has quit [Ping timeout: 256 seconds]
11:12
wget has quit [Ping timeout: 240 seconds]
11:13
AJA4350 has joined #ruby
11:13
Guest33581 is now known as arekushi
11:13
weird_error has quit [Quit: weird_error]
11:15
weird_error has joined #ruby
11:16
pabs has quit [Ping timeout: 265 seconds]
11:16
pabs has joined #ruby
11:16
wget has joined #ruby
11:17
alfiemax has joined #ruby
11:18
yqt has joined #ruby
11:18
sytherax has quit [Remote host closed the connection]
11:19
sytherax has joined #ruby
11:21
alfiemax has quit [Ping timeout: 240 seconds]
11:21
wget has quit [Ping timeout: 265 seconds]
11:24
ellcs has joined #ruby
11:25
weird_error has quit [Quit: weird_error]
11:28
wget has joined #ruby
11:28
wget has joined #ruby
11:28
wget has quit [Changing host]
11:29
ta_ has joined #ruby
11:30
sytherax has quit [Remote host closed the connection]
11:32
IceDragon has quit [Ping timeout: 256 seconds]
11:33
alfiemax has joined #ruby
11:34
mtkd has joined #ruby
11:34
pabs has quit [Ping timeout: 260 seconds]
11:36
IceDragon has joined #ruby
11:36
phaul has joined #ruby
11:36
wget has quit [Ping timeout: 255 seconds]
11:38
alfiemax has quit [Ping timeout: 240 seconds]
11:39
wget has joined #ruby
11:39
alex`` has quit [Ping timeout: 276 seconds]
11:39
emilford has quit [Ping timeout: 265 seconds]
11:40
pabs has joined #ruby
11:41
emilford has joined #ruby
11:41
jhass|off has joined #ruby
11:41
alex`` has joined #ruby
11:42
jhass has quit [Ping timeout: 256 seconds]
11:42
jhass|off is now known as jhass
11:42
pavelz has quit [Ping timeout: 256 seconds]
11:42
nettie has quit [Ping timeout: 256 seconds]
11:43
nettie has joined #ruby
11:44
balo_ has quit [Ping timeout: 256 seconds]
11:44
wget has quit [Ping timeout: 265 seconds]
11:44
balo_ has joined #ruby
11:45
c0ncealed1 has quit [Ping timeout: 256 seconds]
11:45
cschneid has joined #ruby
11:46
alfiemax has joined #ruby
11:46
Dbugger has joined #ruby
11:47
c0ncealed1 has joined #ruby
11:47
postmodern has quit [Quit: Leaving]
11:49
emilford has quit [Ping timeout: 256 seconds]
11:50
pavelz has joined #ruby
11:51
alfiemax has quit [Ping timeout: 260 seconds]
11:52
cschneid has quit [Ping timeout: 260 seconds]
11:55
biberu has joined #ruby
11:58
emilford has joined #ruby
11:59
vikaton has quit [Quit: Connection closed for inactivity]
12:01
wget has joined #ruby
12:02
alfiemax has joined #ruby
12:03
emilford has quit [Ping timeout: 256 seconds]
12:03
alfiemax_ has joined #ruby
12:06
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:07
wget has quit [Ping timeout: 276 seconds]
12:07
alfiemax has quit [Ping timeout: 256 seconds]
12:13
kmurphy4 has joined #ruby
12:14
emilford has joined #ruby
12:14
banisterfiend has joined #ruby
12:18
cyberg has joined #ruby
12:19
emilford has quit [Ping timeout: 260 seconds]
12:20
venmx has joined #ruby
12:26
venmx has quit [Remote host closed the connection]
12:26
wget has joined #ruby
12:27
venmx has joined #ruby
12:31
wget has quit [Ping timeout: 265 seconds]
12:32
fmcgeough has quit [Quit: fmcgeough]
12:32
alfiemax_ has quit [Remote host closed the connection]
12:32
gigetoo has quit [Ping timeout: 245 seconds]
12:33
nowhere_man has quit [Ping timeout: 256 seconds]
12:36
emilford has joined #ruby
12:39
venmx has quit [Remote host closed the connection]
12:40
venmx has joined #ruby
12:41
yqt has quit [Ping timeout: 256 seconds]
12:41
emilford has quit [Ping timeout: 268 seconds]
12:43
bmn has quit [Quit: obai]
12:48
coderphive has joined #ruby
12:48
al2o3-cr has quit [Quit: WeeChat 2.1]
12:48
pavelz has quit [Ping timeout: 256 seconds]
12:48
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:48
pavelz has joined #ruby
12:49
venmx has quit [Ping timeout: 265 seconds]
12:49
gr33n7007h has joined #ruby
12:51
gigetoo has joined #ruby
12:51
bmn has joined #ruby
12:52
quobo has quit [Quit: Connection closed for inactivity]
12:53
houhoulis has joined #ruby
12:54
houhouli_ has joined #ruby
12:55
snapcase has quit [Ping timeout: 256 seconds]
12:55
snapcase has joined #ruby
12:56
sytherax has joined #ruby
12:57
psychicist__ has quit [Ping timeout: 268 seconds]
12:58
houhoulis has quit [Ping timeout: 265 seconds]
12:59
wget has joined #ruby
13:00
venmx has joined #ruby
13:02
sytherax has quit [Remote host closed the connection]
13:04
wget has quit [Ping timeout: 265 seconds]
13:05
ta_ has quit [Remote host closed the connection]
13:05
jamesaxl has joined #ruby
13:06
karapetyan has quit [Remote host closed the connection]
13:07
wget has joined #ruby
13:07
karapetyan has joined #ruby
13:09
emilford has joined #ruby
13:10
karapetyan has quit [Remote host closed the connection]
13:10
karapetyan has joined #ruby
13:11
nowhere_man has joined #ruby
13:11
wget has quit [Ping timeout: 265 seconds]
13:12
kapil___ has joined #ruby
13:12
ta_ has joined #ruby
13:15
phaul has quit [Ping timeout: 256 seconds]
13:19
sytherax has joined #ruby
13:20
phaul has joined #ruby
13:21
yqt has joined #ruby
13:23
wget has joined #ruby
13:27
thebetrayer has joined #ruby
13:27
wget has quit [Ping timeout: 245 seconds]
13:28
dendazen has joined #ruby
13:30
DLSteve has joined #ruby
13:32
wget has joined #ruby
13:33
sytherax has quit [Remote host closed the connection]
13:35
ta_ has quit [Remote host closed the connection]
13:36
wget has quit [Ping timeout: 245 seconds]
13:38
yqt has quit [Read error: Connection reset by peer]
13:38
sagax has quit [Read error: No route to host]
13:39
DoubleMalt has joined #ruby
13:40
DoubleMalt has quit [Remote host closed the connection]
13:41
nowhere_man has quit [Ping timeout: 256 seconds]
13:43
t0xik has quit [Quit: Connection closed for inactivity]
13:44
ellcs has quit [Ping timeout: 256 seconds]
13:48
nertzy has quit [Quit: Leaving]
13:49
emilford has quit [Ping timeout: 256 seconds]
13:50
ta_ has joined #ruby
13:53
emilford has joined #ruby
13:53
sagax has joined #ruby
13:53
fmcgeough has joined #ruby
13:53
venmx has quit [Remote host closed the connection]
13:54
ta_ has quit [Ping timeout: 255 seconds]
13:56
nertzy has joined #ruby
13:57
alfiemax has joined #ruby
13:58
wget has joined #ruby
13:58
shinnya has quit [Ping timeout: 248 seconds]
13:59
ams__ has quit [Quit: Connection closed for inactivity]
14:01
bbobb has quit [Ping timeout: 256 seconds]
14:02
sytherax has joined #ruby
14:02
wget has quit [Ping timeout: 265 seconds]
14:07
alfiemax has quit [Remote host closed the connection]
14:15
kmurphy4 has quit [Quit: kmurphy4]
14:16
kmurphy4 has joined #ruby
14:24
dendazen has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
14:25
gr33n7007h is now known as al2o3-cr
14:26
kmurphy4 has quit [Quit: kmurphy4]
14:28
kmurphy4 has joined #ruby
14:29
Esa_ has joined #ruby
14:30
wget has joined #ruby
14:32
sameerynho has quit [Ping timeout: 268 seconds]
14:32
ta_ has joined #ruby
14:33
cadillac_ has quit [Ping timeout: 265 seconds]
14:33
emilford has quit [Ping timeout: 265 seconds]
14:34
cadillac_ has joined #ruby
14:35
wget has quit [Ping timeout: 265 seconds]
14:36
chongtxtx has quit [Remote host closed the connection]
14:38
emilford has joined #ruby
14:40
cagomez has joined #ruby
14:42
emilford has quit [Ping timeout: 256 seconds]
14:44
Dbugger has quit [Quit: Leaving]
14:44
Dbugger has joined #ruby
14:49
emilford has joined #ruby
14:49
plexigras has joined #ruby
14:50
wget has joined #ruby
14:50
wget has joined #ruby
14:50
wget has quit [Changing host]
14:52
bbobb has joined #ruby
14:53
orbyt_ has joined #ruby
14:53
crankharder has quit [Remote host closed the connection]
14:55
wget has quit [Ping timeout: 265 seconds]
14:55
fmcgeough has quit [Quit: fmcgeough]
14:57
bbobb has quit [Ping timeout: 256 seconds]
14:57
hph^ has joined #ruby
14:58
amar_ has joined #ruby
14:59
emilford has quit [Ping timeout: 240 seconds]
15:00
emilford has joined #ruby
15:01
amar has quit [Ping timeout: 265 seconds]
15:03
ta_ has quit [Ping timeout: 260 seconds]
15:03
tomphp has joined #ruby
15:05
fmcgeough has joined #ruby
15:12
TvL2386_ has joined #ruby
15:13
cschneid has joined #ruby
15:14
TvL2386 has quit [Ping timeout: 268 seconds]
15:15
fmcgeough has quit [Quit: fmcgeough]
15:20
dviola has joined #ruby
15:23
cschneid has quit [Ping timeout: 265 seconds]
15:25
wget has joined #ruby
15:27
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:29
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:29
jrafanie has joined #ruby
15:29
wget has quit [Ping timeout: 245 seconds]
15:29
cagomez has quit [Remote host closed the connection]
15:30
tomphp has joined #ruby
15:30
cagomez has joined #ruby
15:32
tomphp has quit [Client Quit]
15:33
ogres has joined #ruby
15:34
peterR`` has quit [Ping timeout: 265 seconds]
15:34
houhouli_ has quit [Remote host closed the connection]
15:35
houhoulis has joined #ruby
15:35
dendazen has joined #ruby
15:35
cagomez has quit [Ping timeout: 276 seconds]
15:37
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:37
jaequery has joined #ruby
15:39
jaequery has quit [Client Quit]
15:39
hph^ has quit [Ping timeout: 240 seconds]
15:40
Zaab1t has joined #ruby
15:40
houhoulis has quit [Ping timeout: 256 seconds]
15:42
ta_ has joined #ruby
15:44
hph^ has joined #ruby
15:44
hph^ has quit [Max SendQ exceeded]
15:44
cschneid has joined #ruby
15:44
hph^ has joined #ruby
15:44
hph^ has quit [Max SendQ exceeded]
15:45
hph^ has joined #ruby
15:45
hph^ has quit [Max SendQ exceeded]
15:45
User458764 has joined #ruby
15:45
hph^ has joined #ruby
15:45
hph^ has quit [Max SendQ exceeded]
15:45
quobo has joined #ruby
15:45
hph^ has joined #ruby
15:45
hph^ has quit [Max SendQ exceeded]
15:46
hph^ has joined #ruby
15:46
hph^ has quit [Max SendQ exceeded]
15:46
hph^ has joined #ruby
15:46
hph^ has quit [Max SendQ exceeded]
15:47
<
User458764 >
Hi, in an argument based program how do you express a range, for example $ foo [--price between 10 20]
15:48
cschneid has quit [Ping timeout: 248 seconds]
15:49
<
apeiros >
User458764: that's entirely up on you to decide :)
15:49
<
apeiros >
I'd probably go with `foo --price 10-20`
15:49
<
User458764 >
apeiros I mean what is the best practice ;)
15:50
<
apeiros >
I doubt there's established practice
15:50
<
User458764 >
does 10-20 is a string?
15:50
<
apeiros >
all command line arguments are strings
15:51
<
User458764 >
apeiros thanks I will go on that
15:52
<
elomatreb >
That will break or at least be unwieldy if you allow negative values though
15:52
<
User458764 >
elomatreb right
15:52
<
apeiros >
looks a bit ugly. that's all.
15:52
<
elomatreb >
IMO either space separate, or use ..
15:52
<
apeiros >
however, things like .. are less known outside programming
15:53
<
apeiros >
or two args. --min-price --max-price
15:55
<
al2o3-cr >
yeah, i'd go with --min-price --max-price
15:55
OMGBloopMonster has quit [Ping timeout: 268 seconds]
15:58
yokel has quit [Read error: Connection reset by peer]
15:59
<
User458764 >
apeiros i'd go with it too since I would like to express only --min-price or --max-price
16:00
yokel has joined #ruby
16:00
<
elomatreb >
Yeah, in that case this is definitely the correct choice
16:01
kapil___ has quit [Quit: Connection closed for inactivity]
16:01
Dimik has joined #ruby
16:04
tomphp has joined #ruby
16:04
coderphive has quit [Quit: coderphive]
16:09
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
16:14
ta_ has quit [Ping timeout: 256 seconds]
16:15
wget has joined #ruby
16:16
phaul has quit [Ping timeout: 256 seconds]
16:16
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:17
tomphp has joined #ruby
16:19
houhoulis has joined #ruby
16:19
wget has quit [Ping timeout: 265 seconds]
16:21
dviola has quit [Quit: WeeChat 2.1]
16:21
tomphp has quit [Client Quit]
16:22
tomphp has joined #ruby
16:23
peterR`` has joined #ruby
16:29
kapil___ has joined #ruby
16:29
OMGBloopMonster has joined #ruby
16:29
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:32
amatas has joined #ruby
16:32
wget has joined #ruby
16:32
wget has joined #ruby
16:32
wget has quit [Changing host]
16:37
wget has quit [Ping timeout: 265 seconds]
16:37
alex`` has quit [Ping timeout: 260 seconds]
16:38
vikaton has joined #ruby
16:41
alex`` has joined #ruby
16:41
Mike11 has quit [Quit: Leaving.]
16:41
alfiemax has joined #ruby
16:41
nowhere_man has joined #ruby
16:42
amatas has quit [Quit: amatas]
16:47
sytherax has quit [Remote host closed the connection]
16:48
<
havenwood >
User458764: (It isn't in this case, but those are nice to standardize on.)
16:49
pabs has quit [Ping timeout: 260 seconds]
16:50
<
havenwood >
User458764: If the name of the command already denotes that it's price, i'd say: -a --max, -i --min
16:50
<
havenwood >
Or: -M --max, -m --min
16:54
za1b1tsu has quit [Ping timeout: 265 seconds]
16:55
pabs has joined #ruby
16:58
tomphp has joined #ruby
16:59
dendazen has quit [Ping timeout: 256 seconds]
16:59
Zaab1t has quit [Quit: Zaab1t]
17:01
wget has joined #ruby
17:01
wget has joined #ruby
17:01
wget has quit [Changing host]
17:06
wget has quit [Ping timeout: 265 seconds]
17:12
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:19
p0p0pr37_ has joined #ruby
17:22
p0p0pr37 has quit [Ping timeout: 260 seconds]
17:22
p0p0pr37_ is now known as p0p0pr37
17:36
rkazak has joined #ruby
17:36
ellcs has joined #ruby
17:39
wget has joined #ruby
17:41
emilford has quit [Ping timeout: 256 seconds]
17:41
emilford has joined #ruby
17:43
dviola has joined #ruby
17:43
wget has quit [Ping timeout: 265 seconds]
17:46
ellcs has quit [Ping timeout: 265 seconds]
17:47
wget has joined #ruby
17:47
wget has quit [Changing host]
17:47
wget has joined #ruby
17:47
peterR`` has quit [Ping timeout: 240 seconds]
17:50
rkazak has quit [Quit: Sleep.....ing....]
17:51
emilford has quit [Ping timeout: 256 seconds]
17:52
wget has quit [Ping timeout: 260 seconds]
17:52
emilford has joined #ruby
18:04
GinoMan has joined #ruby
18:05
GinoMan has quit [Remote host closed the connection]
18:06
sameerynho has joined #ruby
18:07
GinoMan has joined #ruby
18:09
bbobb has joined #ruby
18:12
ta_ has joined #ruby
18:14
tomphp has joined #ruby
18:16
wget has joined #ruby
18:18
wilbert has joined #ruby
18:18
emilford has quit [Ping timeout: 268 seconds]
18:18
emilford has joined #ruby
18:21
wget has quit [Ping timeout: 276 seconds]
18:23
emilford has quit [Ping timeout: 240 seconds]
18:25
biberu has quit [Ping timeout: 265 seconds]
18:25
biberu has joined #ruby
18:26
emilford has joined #ruby
18:34
emilford has quit [Ping timeout: 268 seconds]
18:34
emilford has joined #ruby
18:36
rkazak has joined #ruby
18:38
Azure has quit [Read error: Connection reset by peer]
18:38
Azure|dc has joined #ruby
18:41
emilford has quit [Ping timeout: 256 seconds]
18:42
emilford has joined #ruby
18:45
ta_ has quit [Ping timeout: 248 seconds]
18:46
emilford has quit [Ping timeout: 248 seconds]
18:48
rkazak has quit [Quit: Sleep.....ing....]
18:49
emilford has joined #ruby
18:54
Paul91 has joined #ruby
18:54
banisterfiend has joined #ruby
18:55
emilford has quit [Ping timeout: 256 seconds]
18:55
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:57
emilford has joined #ruby
18:58
test123456789 has joined #ruby
19:00
mtkd has joined #ruby
19:02
ellcs has joined #ruby
19:04
agent_white has joined #ruby
19:06
tomphp has joined #ruby
19:09
KnownSyntax_ has quit []
19:09
wget has joined #ruby
19:10
KnownSyntax_ has joined #ruby
19:10
test123456789 has quit [Ping timeout: 276 seconds]
19:11
p0p0pr37_ has joined #ruby
19:11
p0p0pr37_ has joined #ruby
19:11
p0p0pr37_ has quit [Changing host]
19:11
KnownSyntax_ is now known as KnownSyntax
19:11
kapil___ has quit [Quit: Connection closed for inactivity]
19:11
emilford has quit [Ping timeout: 276 seconds]
19:12
Nightmare has quit [Ping timeout: 256 seconds]
19:12
KnownSyntax has quit [Client Quit]
19:12
jtperreault has quit [Ping timeout: 256 seconds]
19:12
emilford has joined #ruby
19:13
Nightmare has joined #ruby
19:13
amatas has joined #ruby
19:13
p0p0pr37 has quit [Ping timeout: 240 seconds]
19:13
p0p0pr37_ is now known as p0p0pr37
19:13
jtperreault has joined #ruby
19:14
wget has quit [Ping timeout: 265 seconds]
19:17
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:17
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:20
KnownSyntax has joined #ruby
19:23
tomphp has joined #ruby
19:24
wget has joined #ruby
19:26
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:26
emilford has quit [Ping timeout: 245 seconds]
19:27
banisterfiend has joined #ruby
19:27
emilford has joined #ruby
19:29
amatas has quit [Quit: amatas]
19:29
wget has quit [Ping timeout: 265 seconds]
19:30
Vingador has joined #ruby
19:30
banisterfiend has quit [Client Quit]
19:32
houhoulis has quit [Remote host closed the connection]
19:32
fmcgeough has joined #ruby
19:32
alfiemax has quit [Remote host closed the connection]
19:33
amar has joined #ruby
19:35
emilford has quit [Ping timeout: 265 seconds]
19:35
emilford has joined #ruby
19:36
amar_ has quit [Ping timeout: 265 seconds]
19:37
wget has joined #ruby
19:41
alfiemax has joined #ruby
19:42
wget has quit [Ping timeout: 265 seconds]
19:44
Yzguy has joined #ruby
19:44
GinoMan has quit [Quit: Leaving]
19:45
alfiemax has quit [Ping timeout: 240 seconds]
19:48
wget has joined #ruby
19:48
SCHAPiE has quit [Ping timeout: 256 seconds]
19:50
Paul91 has left #ruby [#ruby]
19:51
tdy has quit [Ping timeout: 265 seconds]
19:52
\void has joined #ruby
19:52
wget has quit [Ping timeout: 240 seconds]
19:52
emilford has quit [Ping timeout: 260 seconds]
19:53
minimalism has joined #ruby
19:54
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:54
alfiemax has joined #ruby
19:55
emilford has joined #ruby
19:57
wilbert has quit [Read error: Connection reset by peer]
19:58
jready has joined #ruby
20:00
SCHAPiE has joined #ruby
20:00
tomphp has joined #ruby
20:01
banisterfiend has joined #ruby
20:02
emilford has quit [Ping timeout: 256 seconds]
20:03
emilford has joined #ruby
20:04
wilbert has joined #ruby
20:06
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:08
tdy has joined #ruby
20:08
VladGh has quit [Remote host closed the connection]
20:09
VladGh has joined #ruby
20:10
alfiemax has quit [Remote host closed the connection]
20:10
emilford has quit [Ping timeout: 260 seconds]
20:11
emilford has joined #ruby
20:11
banisterfiend has joined #ruby
20:13
banisterfiend has quit [Client Quit]
20:13
Vingador_ has joined #ruby
20:14
alfiemax has joined #ruby
20:15
kith has quit [Ping timeout: 240 seconds]
20:15
Vingador has quit [Ping timeout: 256 seconds]
20:16
ur5us has joined #ruby
20:18
alfiemax has quit [Ping timeout: 240 seconds]
20:19
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:20
Yzguy has quit [Quit: Zzz...]
20:22
wilbert has quit [Read error: Connection reset by peer]
20:24
Vingador has joined #ruby
20:25
Vingador_ has quit [Ping timeout: 265 seconds]
20:25
tomphp has joined #ruby
20:27
wget has joined #ruby
20:27
wget has joined #ruby
20:27
wget has quit [Changing host]
20:28
Yzguy has joined #ruby
20:28
alfiemax has joined #ruby
20:29
ldepandis has joined #ruby
20:30
karapetyan has quit [Remote host closed the connection]
20:32
wget has quit [Ping timeout: 265 seconds]
20:33
alfiemax has quit [Ping timeout: 265 seconds]
20:33
fmcgeough has quit [Quit: fmcgeough]
20:36
Yzguy has quit [Quit: Zzz...]
20:40
alfiemax has joined #ruby
20:42
emilford has quit [Ping timeout: 260 seconds]
20:43
emilford has joined #ruby
20:45
alfiemax has quit [Ping timeout: 256 seconds]
20:45
banisterfiend has joined #ruby
20:45
ta_ has joined #ruby
20:47
bbobb has quit [Quit: bbobb]
20:47
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:47
emilford has quit [Ping timeout: 240 seconds]
20:48
emilford has joined #ruby
20:51
gigetoo has quit [Ping timeout: 268 seconds]
20:52
gigetoo has joined #ruby
20:53
alfiemax has joined #ruby
20:53
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:55
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
20:55
ogres has quit [Quit: Connection closed for inactivity]
20:57
emilford has quit [Ping timeout: 240 seconds]
20:57
jready has quit [Remote host closed the connection]
20:57
tomphp has joined #ruby
20:58
alfiemax has quit [Ping timeout: 256 seconds]
20:59
emilford has joined #ruby
21:01
dinfuehr has quit [Ping timeout: 265 seconds]
21:01
p0p0pr37_ has joined #ruby
21:02
dinfuehr has joined #ruby
21:04
p0p0pr37 has quit [Ping timeout: 260 seconds]
21:04
p0p0pr37_ is now known as p0p0pr37
21:05
mtkd has quit [Ping timeout: 240 seconds]
21:06
reber has quit [Remote host closed the connection]
21:06
alfiemax has joined #ruby
21:06
mtkd has joined #ruby
21:09
desperek has joined #ruby
21:11
alfiemax has quit [Ping timeout: 268 seconds]
21:12
griffindy has joined #ruby
21:13
Dbugger has quit [Remote host closed the connection]
21:14
emilford has quit [Ping timeout: 240 seconds]
21:15
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:16
ellcs has quit [Ping timeout: 268 seconds]
21:17
ta_ has quit [Ping timeout: 256 seconds]
21:17
emilford has joined #ruby
21:18
banisterfiend has joined #ruby
21:19
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:20
sytherax has joined #ruby
21:22
wget has joined #ruby
21:27
wget has quit [Ping timeout: 265 seconds]
21:28
Vingador_ has joined #ruby
21:30
sytherax has quit [Read error: Connection reset by peer]
21:30
karapetyan has joined #ruby
21:31
tomphp has joined #ruby
21:31
Vingador has quit [Ping timeout: 268 seconds]
21:35
karapetyan has quit [Ping timeout: 265 seconds]
21:35
nk121 has quit [Quit: moo]
21:35
emilford has quit [Ping timeout: 256 seconds]
21:37
ur5us has quit [Remote host closed the connection]
21:37
face has quit [Ping timeout: 245 seconds]
21:37
ur5us has joined #ruby
21:38
plexigras has quit [Ping timeout: 240 seconds]
21:38
emilford has joined #ruby
21:40
alfiemax has joined #ruby
21:42
ur5us has quit [Ping timeout: 268 seconds]
21:43
emilford has quit [Ping timeout: 240 seconds]
21:43
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:45
alfiemax has quit [Ping timeout: 268 seconds]
21:45
apeiros has quit [Ping timeout: 268 seconds]
21:45
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:47
emilford has joined #ruby
21:50
ta_ has joined #ruby
21:57
alfiemax has joined #ruby
21:59
emilford has quit [Ping timeout: 248 seconds]
22:02
alfiemax has quit [Ping timeout: 240 seconds]
22:02
banisterfiend has joined #ruby
22:02
<
kspencer >
in psych, is there a way to declare the root node or any node as a specific class and have ruby recognize that? I want the node to be an Array/sequence, everything I try doesn't seem to work, and I basically want a yaml->ruby conversion to output [] instead of nil
22:03
emilford has joined #ruby
22:03
amar has quit [Read error: No route to host]
22:03
<
kspencer >
I want to be able to Array.push into it, but so far no go on anything
22:03
amar has joined #ruby
22:05
shinnya has joined #ruby
22:06
karapetyan has joined #ruby
22:07
wget has joined #ruby
22:07
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:08
GodFather has quit [Ping timeout: 256 seconds]
22:09
GodFather has joined #ruby
22:10
kevinsjoberg has joined #ruby
22:10
kevinsjoberg has quit [Client Quit]
22:11
wget has quit [Ping timeout: 265 seconds]
22:13
eelster has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:14
emilford has quit [Ping timeout: 256 seconds]
22:14
emilford has joined #ruby
22:14
alfiemax has joined #ruby
22:19
alfiemax has quit [Ping timeout: 265 seconds]
22:22
ta_ has quit [Ping timeout: 240 seconds]
22:24
pabs has quit [Ping timeout: 265 seconds]
22:24
emilford has quit [Ping timeout: 256 seconds]
22:27
emilford has joined #ruby
22:27
carbivore has joined #ruby
22:29
pabs has joined #ruby
22:29
lytol has quit [Remote host closed the connection]
22:31
alfiemax has joined #ruby
22:33
emilford has quit [Ping timeout: 248 seconds]
22:34
emilford has joined #ruby
22:35
wget has joined #ruby
22:36
karapetyan has quit [Remote host closed the connection]
22:36
alfiemax has quit [Ping timeout: 260 seconds]
22:37
TomyLobo has quit [Ping timeout: 245 seconds]
22:39
karapetyan has joined #ruby
22:39
emilford has quit [Ping timeout: 240 seconds]
22:40
wget has quit [Ping timeout: 265 seconds]
22:41
carbivore has joined #ruby
22:44
pabs has quit [Ping timeout: 265 seconds]
22:44
pabs has joined #ruby
22:44
alfiemax has joined #ruby
22:46
kmurphy4 has quit [Quit: kmurphy4]
22:48
segy has quit [Ping timeout: 276 seconds]
22:48
alfiemax has quit [Ping timeout: 240 seconds]
22:49
fffco has joined #ruby
22:49
emilford has joined #ruby
22:49
fffco has quit [Remote host closed the connection]
22:53
wget has joined #ruby
22:54
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:55
emilford has quit [Ping timeout: 240 seconds]
22:57
alfiemax has joined #ruby
22:58
wget has quit [Ping timeout: 265 seconds]
22:59
emilford has joined #ruby
23:01
alfiemax has quit [Ping timeout: 240 seconds]
23:03
schleppel has quit [Quit: Konversation terminated!]
23:05
segy has joined #ruby
23:05
samosaphile has quit [Quit: Page closed]
23:06
carbivore has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:08
griffindy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:09
Vingador has joined #ruby
23:10
alfiemax has joined #ruby
23:12
emilford has quit [Ping timeout: 256 seconds]
23:13
Vingador_ has quit [Ping timeout: 265 seconds]
23:13
emilford has joined #ruby
23:13
karapetyan has quit [Remote host closed the connection]
23:13
karapetyan has joined #ruby
23:14
apeiros has joined #ruby
23:15
alfiemax has quit [Ping timeout: 276 seconds]
23:16
Vingador has quit [Ping timeout: 256 seconds]
23:17
tdy has quit [Ping timeout: 260 seconds]
23:18
Vingador has joined #ruby
23:20
emilford has quit [Ping timeout: 276 seconds]
23:21
bonhoeffer has quit [Disconnected by services]
23:22
bonhoeffer_win has joined #ruby
23:22
emilford has joined #ruby
23:23
griffindy has joined #ruby
23:24
ogres has joined #ruby
23:25
TomyLobo has joined #ruby
23:27
emilford has quit [Ping timeout: 256 seconds]
23:27
mn3m has joined #ruby
23:28
carbivore has joined #ruby
23:30
thebetrayer has quit [Ping timeout: 245 seconds]
23:31
Vingador_ has joined #ruby
23:31
emilford has joined #ruby
23:32
fmcgeough has joined #ruby
23:32
test007 has joined #ruby
23:34
Vingador has quit [Ping timeout: 276 seconds]
23:34
test007 has quit [Quit: test007]
23:35
amar has quit [Remote host closed the connection]
23:35
amar has joined #ruby
23:35
karapetyan has quit [Remote host closed the connection]
23:36
karapetyan has joined #ruby
23:37
orbyt_ has joined #ruby
23:38
ur5us has joined #ruby
23:39
wget has joined #ruby
23:40
amar has quit [Ping timeout: 248 seconds]
23:41
sameerynho has quit [Ping timeout: 255 seconds]
23:43
ur5us has quit [Ping timeout: 240 seconds]
23:43
coderphive has joined #ruby
23:43
desperek has quit [Quit: xoxo]
23:43
wget has quit [Ping timeout: 265 seconds]
23:46
griffindy has quit [Ping timeout: 256 seconds]
23:46
griffindy has joined #ruby
23:48
karapetyan has quit [Remote host closed the connection]
23:48
emilford has quit [Ping timeout: 260 seconds]
23:48
karapetyan has joined #ruby
23:48
karapetyan has quit [Remote host closed the connection]
23:48
alfiemax has joined #ruby
23:49
karapetyan has joined #ruby
23:49
emilford has joined #ruby
23:49
karapetyan has quit [Remote host closed the connection]
23:49
karapetyan has joined #ruby
23:49
karapetyan has quit [Remote host closed the connection]
23:53
alfiemax has quit [Ping timeout: 265 seconds]
23:58
shinnya has quit [Ping timeout: 256 seconds]
23:59
emilford has quit [Ping timeout: 265 seconds]