00:04
clemens3_ has quit [Ping timeout: 245 seconds]
00:04
jcarl43 has quit [Quit: WeeChat 2.1]
00:05
clemens3 has quit [Ping timeout: 245 seconds]
00:06
zlogan85 has joined #ruby
00:08
kmurphy4 has quit [Quit: kmurphy4]
00:10
chocoelho has quit [Quit: Leaving.]
00:10
zlogan2003 has quit [Ping timeout: 260 seconds]
00:14
pabst has joined #ruby
00:15
pabst has quit [Client Quit]
00:17
nitric_ has quit [Ping timeout: 256 seconds]
00:18
ipeee has quit [Read error: Connection reset by peer]
00:19
kmurphy4 has joined #ruby
00:25
rivalomega has quit [Remote host closed the connection]
00:25
rivalomega has joined #ruby
00:29
shinnya has quit [Ping timeout: 245 seconds]
00:29
rivalomega has quit [Ping timeout: 252 seconds]
00:32
Inside has quit [Quit: leaving]
00:36
sytherax has quit [Quit: Leaving...]
00:36
sytherax has joined #ruby
00:37
Asher has quit [Ping timeout: 252 seconds]
00:38
Asher has joined #ruby
00:39
cagomez has quit [Remote host closed the connection]
00:39
zlogan85 has quit [Quit: Leaving]
00:39
SeepingN has quit [Quit: The system is going down for reboot NOW!]
00:39
cagomez has joined #ruby
00:39
zlogan2003 has joined #ruby
00:40
marr has quit [Ping timeout: 268 seconds]
00:44
quobo has quit [Quit: Connection closed for inactivity]
00:45
cagomez has quit [Ping timeout: 256 seconds]
00:46
tvw has quit [Remote host closed the connection]
00:52
rfoust has joined #ruby
01:04
rkazak has joined #ruby
01:06
zlogan2003 has quit [Ping timeout: 240 seconds]
01:07
hlmjr has joined #ruby
01:10
knight33 has joined #ruby
01:17
houhoulis has joined #ruby
01:26
jenrzzz has quit [Ping timeout: 252 seconds]
01:26
faces has quit [Read error: Connection reset by peer]
01:44
rivalomega has joined #ruby
01:48
rivalomega has quit [Ping timeout: 256 seconds]
01:53
kapil___ has quit [Quit: Connection closed for inactivity]
01:58
kapil___ has joined #ruby
02:00
ramfjord has quit [Ping timeout: 240 seconds]
02:00
white_lilies has joined #ruby
02:12
knight33 has quit [Ping timeout: 260 seconds]
02:16
gil_ has quit [Ping timeout: 245 seconds]
02:17
Mia has quit [Read error: Connection reset by peer]
02:20
jamesaxl has quit [Quit: WeeChat 2.1]
02:21
RougeR has quit [Ping timeout: 260 seconds]
02:21
gil_ has joined #ruby
02:21
gil_ has joined #ruby
02:21
gil_ has quit [Changing host]
02:21
duderonomy has joined #ruby
02:26
rivalomega has joined #ruby
02:27
alfiemax_ has joined #ruby
02:27
tdy has quit [Ping timeout: 256 seconds]
02:29
AJA4350 has quit [Quit: AJA4350]
02:32
<
uplime >
whats a commonly used http library in ruby?
02:33
<
uplime >
something like python's requests
02:33
alfiemax_ has quit [Ping timeout: 252 seconds]
02:35
minimalism has joined #ruby
02:40
tdy has joined #ruby
02:45
w09x has joined #ruby
02:45
<
cjohnson >
httparty
02:47
<
w09x >
anyone know how to turn off multiline in ruby regex?
02:47
<
w09x >
trying to get that to match the entire commit message
02:48
<
cjohnson >
turn on you mean?
02:49
<
cjohnson >
TBH this is not a job for regular expressions. Or at least not just one regex
02:49
<
w09x >
cjohnson: oh yeah?
02:49
<
w09x >
how would you approach it?
02:49
<
uplime >
thanks guys
02:49
<
cjohnson >
Your problem is |$ allows the +? to terminate early instead of carrying on the next line
02:50
<
cjohnson >
So you can get rid of that but then obviously lose the last match
02:50
pilne has quit [Quit: Leaving]
02:50
<
havenwood >
uplime: http.rb is quite nice. consider typhoeus if you need parallel requests.
02:50
<
uplime >
luckily these are synchronous http calls
02:50
<
cjohnson >
w09x: I would maybe split on ^(?=commit[\s\S]+?$)
02:50
<
cjohnson >
I think that might split it into an array of items
02:51
<
havenwood >
uplime: for GET requests, open-uri in the stdlib works
02:51
darkhanb has joined #ruby
02:51
<
w09x >
cjohnson: not sure that works?
02:52
<
cjohnson >
w09x: str.split(/^(?=commit[\s\S]+?$)/)
02:52
<
cjohnson >
this seems to work ok for me
02:53
<
cjohnson >
And then trim any trailing newlines since they don't seem like they are semantically part of the commit message
02:56
<
w09x >
legend! thanks cjohnson
02:58
<
w09x >
cjohnson: commit[\s\S]+?(?=commit \b[a-f0-9]{40}\b|\z)
02:58
<
w09x >
taking it even further
02:58
<
w09x >
again, thanks.
02:58
noobineer has quit [Ping timeout: 260 seconds]
02:58
<
cjohnson >
It seems to me that using match and looking for another commit is what makes it a bad fit for regex but I suppose if it works it works
02:59
emilford has quit [Ping timeout: 245 seconds]
03:00
cadillac_ has quit [Quit: I quit]
03:00
cadillac_ has joined #ruby
03:01
<
baweaver >
ohai cjohnson
03:03
<
cjohnson >
ok that's all for me time to make money
03:03
<
baweaver >
cjohnson: want to see something terrifying in Ruby?
03:03
<
cjohnson >
nooooooooo ok
03:05
braincrash has quit [Quit: bye bye]
03:05
<
cjohnson >
why do you hate the world
03:06
<
baweaver >
Because I can
03:06
<
baweaver >
Also, infix operators evaluate before to_proc
03:07
<
baweaver >
>> class Mf;def self.+(b)->a{a+b}end;end; [1,2,3,4,5].map(&Mf + 5)
03:07
emilford has joined #ruby
03:09
braincrash has joined #ruby
03:17
ciscam has quit [Ping timeout: 260 seconds]
03:18
Yxhuvud has quit [Read error: Connection reset by peer]
03:19
Yxhuvud has joined #ruby
03:19
ciscam has joined #ruby
03:22
emilford has quit [Ping timeout: 260 seconds]
03:23
alfiemax has joined #ruby
03:23
emilford has joined #ruby
03:23
houhoulis has quit [Remote host closed the connection]
03:23
arashb has joined #ruby
03:24
bmurt has joined #ruby
03:27
alfiemax has quit [Ping timeout: 260 seconds]
03:27
emilford has quit [Ping timeout: 252 seconds]
03:30
knight33 has joined #ruby
03:31
mtkd has joined #ruby
03:34
emilford has joined #ruby
03:34
alfiemax has joined #ruby
03:35
alfiemax_ has joined #ruby
03:38
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:38
alfiemax has quit [Ping timeout: 240 seconds]
03:44
emilford has quit [Ping timeout: 245 seconds]
03:45
emilford has joined #ruby
03:47
gnufied has quit [Remote host closed the connection]
03:47
gix has joined #ruby
03:48
alfiemax_ has quit [Remote host closed the connection]
03:49
gix- has quit [Ping timeout: 245 seconds]
03:49
regedit has joined #ruby
03:51
tdy has quit [Ping timeout: 260 seconds]
03:53
goez has quit [Quit: If you're lost you can look and you will find me]
03:53
knight33 has quit [Ping timeout: 240 seconds]
03:57
emilford has quit [Ping timeout: 260 seconds]
04:00
emilford has joined #ruby
04:00
goez has joined #ruby
04:06
goez has quit [Quit: If you're lost you can look and you will find me]
04:08
cadillac_ has quit [Read error: Connection reset by peer]
04:10
goez has joined #ruby
04:11
alfiemax has joined #ruby
04:12
goez has quit [Client Quit]
04:12
cadillac_ has joined #ruby
04:14
emilford has quit [Ping timeout: 264 seconds]
04:15
emilford has joined #ruby
04:16
white_lilies has quit [Ping timeout: 245 seconds]
04:16
alfiemax has quit [Ping timeout: 264 seconds]
04:17
thapakazi has joined #ruby
04:17
rivalomega has quit [Remote host closed the connection]
04:18
kmurphy4 has quit [Quit: kmurphy4]
04:20
goez has joined #ruby
04:26
arashb has quit [Remote host closed the connection]
04:27
ciscam has quit [Ping timeout: 260 seconds]
04:27
ciscam has joined #ruby
04:28
rivalomega has joined #ruby
04:31
\void has joined #ruby
04:34
emilford has quit [Ping timeout: 252 seconds]
04:35
emilford has joined #ruby
04:41
s2013 has joined #ruby
04:44
emilford has quit [Ping timeout: 260 seconds]
04:45
zlogan2003 has joined #ruby
04:45
emilford has joined #ruby
04:53
emilford has quit [Ping timeout: 256 seconds]
04:54
reber has joined #ruby
04:59
emilford has joined #ruby
05:04
mrush_ has quit [Changing host]
05:04
mrush_ has joined #ruby
05:04
mrush_ is now known as mrush
05:06
alfiemax has joined #ruby
05:07
<
w09x >
wrong channel, sorry.
05:10
sauvin has joined #ruby
05:11
emilford has quit [Ping timeout: 240 seconds]
05:12
anisha has joined #ruby
05:13
emilford has joined #ruby
05:18
suukim has joined #ruby
05:22
emilford has quit [Ping timeout: 248 seconds]
05:23
rivalomega has quit [Remote host closed the connection]
05:24
emilford has joined #ruby
05:27
Mike111 has joined #ruby
05:27
Mike111 has quit [Max SendQ exceeded]
05:28
Mike11 has quit [Ping timeout: 245 seconds]
05:29
emilford has quit [Ping timeout: 264 seconds]
05:30
dviola has quit [Quit: WeeChat 2.1]
05:32
apeiros has quit [Remote host closed the connection]
05:33
emilford has joined #ruby
05:37
emilford has quit [Ping timeout: 260 seconds]
05:38
ogres has joined #ruby
05:40
emilford has joined #ruby
05:40
rkazak has quit [Quit: Sleep.....ing....]
05:40
oleo has quit [Quit: Leaving]
05:45
armyriad has joined #ruby
05:48
alfiemax_ has joined #ruby
05:51
emilford has quit [Ping timeout: 256 seconds]
05:51
alfiemax has quit [Ping timeout: 260 seconds]
05:52
emilford has joined #ruby
05:53
zlogan2003 has quit [Read error: Connection reset by peer]
05:53
aupadhye has joined #ruby
05:56
rkazak has joined #ruby
06:01
venmx has joined #ruby
06:02
emilford has quit [Ping timeout: 245 seconds]
06:03
emilford has joined #ruby
06:05
ur5us has quit [Remote host closed the connection]
06:06
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
06:07
rkazak has quit [Quit: Sleep.....ing....]
06:07
venmx has quit [Ping timeout: 245 seconds]
06:11
clemens3_ has joined #ruby
06:11
w09x has quit [Quit: Page closed]
06:14
emilford has quit [Ping timeout: 264 seconds]
06:14
emilford has joined #ruby
06:21
sytherax has quit [Remote host closed the connection]
06:21
emilford has quit [Ping timeout: 245 seconds]
06:24
emilford has joined #ruby
06:27
biberu has joined #ruby
06:28
lypsis|awy is now known as lypsis
06:28
emilford has quit [Ping timeout: 252 seconds]
06:28
mtkd has quit [Ping timeout: 240 seconds]
06:29
emilford has joined #ruby
06:29
Tempesta_ has joined #ruby
06:29
ciscam has quit [Ping timeout: 248 seconds]
06:30
mtkd has joined #ruby
06:30
ciscam has joined #ruby
06:32
Tempesta has quit [Ping timeout: 245 seconds]
06:32
heftig has quit [Ping timeout: 245 seconds]
06:34
amar_ has joined #ruby
06:34
yohji has joined #ruby
06:35
Mortomes|Work has joined #ruby
06:38
amar_ has quit [Ping timeout: 252 seconds]
06:38
schleppel has joined #ruby
06:39
clemens3 has joined #ruby
06:41
redlegion has quit [Remote host closed the connection]
06:42
redlegion has joined #ruby
06:43
biberu has quit [Ping timeout: 260 seconds]
06:44
thapakazi has quit [Ping timeout: 245 seconds]
06:45
\void has quit [Quit: So long, and thanks for all the fish.]
06:47
joro_ has joined #ruby
06:47
minimalism has quit [Quit: minimalism]
06:47
emilford has quit [Ping timeout: 260 seconds]
06:48
amar_ has joined #ruby
06:48
joro_ has quit [Remote host closed the connection]
06:48
emilford has joined #ruby
06:52
joro_ has joined #ruby
06:52
amar_ has quit [Ping timeout: 256 seconds]
06:54
thapakazi has joined #ruby
06:54
amar_ has joined #ruby
06:55
emilford has quit [Ping timeout: 256 seconds]
06:55
clemens3 has quit [Ping timeout: 245 seconds]
06:57
ramfjord has joined #ruby
06:58
sphenxes has joined #ruby
06:59
dionysus69 has joined #ruby
06:59
emilford has joined #ruby
07:01
ramfjord has quit [Ping timeout: 240 seconds]
07:01
Guest40880 is now known as rmerry
07:04
roshanavand has quit [Quit: Leaving.]
07:05
emilford has quit [Ping timeout: 240 seconds]
07:10
aufi has joined #ruby
07:11
claudiuinberlin has joined #ruby
07:15
clemens3 has joined #ruby
07:16
alfiemax_ has quit [Remote host closed the connection]
07:17
armyriad has quit [Ping timeout: 248 seconds]
07:18
alfiemax has joined #ruby
07:21
emilford has joined #ruby
07:23
heftig has joined #ruby
07:23
rivalomega has joined #ruby
07:24
ta_ has quit [Remote host closed the connection]
07:25
dinfuehr has quit [Ping timeout: 260 seconds]
07:26
emilford has quit [Ping timeout: 245 seconds]
07:26
dinfuehr has joined #ruby
07:27
emilford has joined #ruby
07:27
Burgestrand has joined #ruby
07:28
rivalomega has quit [Ping timeout: 252 seconds]
07:30
Torstein has joined #ruby
07:33
vondruch has quit [Ping timeout: 252 seconds]
07:35
emilford has quit [Ping timeout: 252 seconds]
07:36
MXfive has joined #ruby
07:36
emilford has joined #ruby
07:36
c0ncealed1 has quit [Remote host closed the connection]
07:37
amar_ has quit [Remote host closed the connection]
07:37
vondruch has joined #ruby
07:37
amar_ has joined #ruby
07:38
c0ncealed1 has joined #ruby
07:38
heftig has quit [Quit: heftig]
07:40
MXfive has quit [Read error: Connection reset by peer]
07:42
amar_ has quit [Ping timeout: 256 seconds]
07:43
heftig has joined #ruby
07:43
emilford has quit [Ping timeout: 264 seconds]
07:43
mlkkk has joined #ruby
07:43
mlkkk has quit [Remote host closed the connection]
07:44
mlkkk has joined #ruby
07:47
armyriad has joined #ruby
07:48
emilford has joined #ruby
07:52
Mia has joined #ruby
07:52
Mia has joined #ruby
07:52
Mia has quit [Changing host]
07:52
phaul has joined #ruby
07:53
emilford has quit [Ping timeout: 248 seconds]
07:53
aufi_ has joined #ruby
07:55
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:55
aufi has quit [Ping timeout: 240 seconds]
07:58
emilford has joined #ruby
08:00
hurricanehrndz has quit [Quit: Goodbye]
08:05
dionysus69 has quit [Remote host closed the connection]
08:05
dionysus69 has joined #ruby
08:07
hurricanehrndz has joined #ruby
08:08
alex`` has quit [Quit: WeeChat 2.1]
08:08
mrush has quit [Ping timeout: 245 seconds]
08:08
alfiemax_ has joined #ruby
08:09
alex`` has joined #ruby
08:10
mrush has joined #ruby
08:10
marr has joined #ruby
08:10
mrush is now known as Guest23707
08:11
alfiemax has quit [Ping timeout: 260 seconds]
08:16
guille-moe has joined #ruby
08:21
emilford has quit [Ping timeout: 252 seconds]
08:22
sytherax has joined #ruby
08:22
<
kapil___ >
How to use variable as hash keys?
08:22
biberu has joined #ruby
08:23
<
phaul >
>> a = 1; h = {1 => 2}; h[a]
08:23
<
phaul >
kapil___: does that help?
08:23
<
kapil___ >
No to set value
08:23
<
tobiasvl >
>> a = 1; h = {a => 2}; h[a]
08:23
<
tobiasvl >
the same
08:23
face has joined #ruby
08:25
emilford has joined #ruby
08:26
sytherax has quit [Ping timeout: 260 seconds]
08:27
Zinder has joined #ruby
08:27
<
kapil___ >
How to add new keys to nested hash?
08:28
<
tobiasvl >
kapil___: what have you tried?
08:28
<
tobiasvl >
it should work exactly as you expect it to, but if you don't know how to expect it to work, maybe just try a little and see? and ask if something doesn't work the way you thought it would
08:29
<
tobiasvl >
like your previous question it's just a matter of syntax
08:29
<
kapil___ >
@all_modification[@file_name] = {word => s}
08:29
RougeR has joined #ruby
08:29
<
kapil___ >
i want to add new keys to last hash
08:29
amar_ has joined #ruby
08:30
emilford has quit [Ping timeout: 260 seconds]
08:30
<
kapil___ >
but some times last hash not exist then i need to create it
08:31
<
tobiasvl >
ok, yeah, that requires a new bit of syntax
08:31
<
tobiasvl >
@all_modification[@file_name][word2] = s2
08:31
<
tobiasvl >
for example
08:32
emilford has joined #ruby
08:32
<
kapil___ >
but if its not exist as a hash then
08:32
<
tobiasvl >
you need to create it first
08:32
<
tobiasvl >
either the way you did above, with an initial value, or just by initializing it as an empty hash: {}
08:32
<
tobiasvl >
then you can add to it
08:32
<
kapil___ >
ok thanks
08:33
weaksauce has quit [Ping timeout: 248 seconds]
08:34
amar_ has quit [Ping timeout: 245 seconds]
08:34
guille-moe has quit [Read error: Connection reset by peer]
08:35
amar_ has joined #ruby
08:36
guille-moe has joined #ruby
08:37
emilford has quit [Ping timeout: 245 seconds]
08:40
<
kapil___ >
tobiasvl:
08:40
<
kapil___ >
def deep_set(hash, value, *keys)
08:40
<
kapil___ >
keys[0...-1].inject(hash) do |acc, h|
08:40
<
kapil___ >
acc.public_send(:[], h)
08:40
<
kapil___ >
end.public_send(:[]=, keys.last, value)
08:40
<
kapil___ >
what this function does?
08:42
<
kapil___ >
ok, next time i will do it on gist.
08:42
<
tobiasvl >
that method uses more advanced ruby functionality. do you know any other programming languages?
08:42
<
kapil___ >
i know elixir javascript
08:44
Zinder has joined #ruby
08:44
<
kapil___ >
is it ok?
08:46
emilford has joined #ruby
08:46
reber is now known as rebear
08:49
armyriad has quit [Quit: Leaving]
08:50
<
tobiasvl >
kapil___: yes, it's OK. it can be written more succintly, or you can use other concise tricks to do the same thing, but it's fine
08:52
armyriad has joined #ruby
08:53
emilford has quit [Ping timeout: 260 seconds]
08:56
lxsameer has joined #ruby
08:57
ramfjord has joined #ruby
08:57
elphe has joined #ruby
08:57
ogres has quit [Quit: Connection closed for inactivity]
08:59
armyriad has quit [Read error: Connection reset by peer]
08:59
armyriad has joined #ruby
09:00
ramfjord has quit [Ping timeout: 240 seconds]
09:01
emilford has joined #ruby
09:01
thapakazi has quit [Ping timeout: 245 seconds]
09:01
ta_ has joined #ruby
09:03
<
phaul >
it took me a while to understand that^ snippet.. The clue is in the method name *deep*...
09:04
conta has joined #ruby
09:05
guille-moe has quit [Remote host closed the connection]
09:06
emilford has quit [Ping timeout: 260 seconds]
09:06
AlHafoudh has quit [Ping timeout: 248 seconds]
09:06
contradictioned has quit [Ping timeout: 256 seconds]
09:06
emilford has joined #ruby
09:07
Caius has quit [Ping timeout: 256 seconds]
09:07
ujjain- has quit [Ping timeout: 268 seconds]
09:07
Hobbyboy has quit [Ping timeout: 245 seconds]
09:07
Zarthus has quit [Ping timeout: 265 seconds]
09:07
S007 has quit [Ping timeout: 240 seconds]
09:07
jhass has quit [Ping timeout: 256 seconds]
09:08
universa1 has quit [Ping timeout: 265 seconds]
09:08
jnollette has quit [Ping timeout: 250 seconds]
09:08
bathtub_shark has quit [Ping timeout: 260 seconds]
09:08
elomatreb has quit [Ping timeout: 252 seconds]
09:08
DEac-_ has quit [Ping timeout: 260 seconds]
09:08
sonOfRa has quit [Ping timeout: 265 seconds]
09:08
foxxx0 has quit [Ping timeout: 276 seconds]
09:08
ablackack has quit [Ping timeout: 276 seconds]
09:08
shadeslayer has quit [Ping timeout: 256 seconds]
09:08
nyuszika7h has quit [Ping timeout: 276 seconds]
09:08
ohcibi has quit [Ping timeout: 264 seconds]
09:08
heftig has quit [Ping timeout: 256 seconds]
09:09
darix has quit [Ping timeout: 265 seconds]
09:09
heftig has joined #ruby
09:09
heftig has quit [Changing host]
09:09
Guest79469 has joined #ruby
09:10
Guest79469 is now known as heftig
09:11
venmx has joined #ruby
09:11
heftig is now known as heftig[irssi]
09:11
guille-moe has joined #ruby
09:12
elphe has quit [Quit: leaving]
09:12
elphe has joined #ruby
09:13
kloeri has quit [Ping timeout: 612 seconds]
09:14
heftig[irssi] has left #ruby [#ruby]
09:14
Torstein has quit [*.net *.split]
09:14
Mortomes|Work has quit [*.net *.split]
09:14
samosaphile has quit [*.net *.split]
09:14
mikeeeeeeey has quit [*.net *.split]
09:15
darix has joined #ruby
09:15
contradictioned has joined #ruby
09:15
ablackack has joined #ruby
09:15
AlHafoudh has joined #ruby
09:16
plexigras has joined #ruby
09:16
Zarthus has joined #ruby
09:16
ohcibi has joined #ruby
09:16
bathtub_shark has joined #ruby
09:16
foxxx0 has joined #ruby
09:16
nyuszika7h has joined #ruby
09:16
emilford has quit [Ping timeout: 248 seconds]
09:16
heftig has joined #ruby
09:17
ByronJohnson has quit [Ping timeout: 252 seconds]
09:17
nowhere_man has quit [Ping timeout: 245 seconds]
09:17
S007 has joined #ruby
09:17
jnollette has joined #ruby
09:18
DEac- has joined #ruby
09:19
thapakazi has joined #ruby
09:19
XB23 has joined #ruby
09:19
regedit has quit [Quit: Connection closed for inactivity]
09:20
guille-moe has quit [Quit: guille-moe]
09:20
guille-moe has joined #ruby
09:22
emilford has joined #ruby
09:24
ByronJohnson has joined #ruby
09:25
rivalomega has joined #ruby
09:25
CrazyEddy has quit [Ping timeout: 240 seconds]
09:27
universa1 has joined #ruby
09:28
sonOfRa_ has joined #ruby
09:28
tvw has joined #ruby
09:29
Hobbyboy has joined #ruby
09:30
rivalomega has quit [Ping timeout: 268 seconds]
09:30
jhass has joined #ruby
09:32
sonOfRa_ is now known as sonOfRa
09:34
CrazyEddy has joined #ruby
09:34
emilford has quit [Remote host closed the connection]
09:35
emilford has joined #ruby
09:35
KeyJoo has quit [Ping timeout: 252 seconds]
09:39
_whitelogger has joined #ruby
09:40
ujjain has joined #ruby
09:40
ujjain has joined #ruby
09:40
ujjain has quit [Changing host]
09:41
conta has quit [Remote host closed the connection]
09:41
conta has joined #ruby
09:43
samosaphile has joined #ruby
09:44
alfiemax has joined #ruby
09:47
alfiemax_ has quit [Ping timeout: 260 seconds]
09:47
ipe has joined #ruby
09:48
emilford has quit [Ping timeout: 260 seconds]
09:50
emilford has joined #ruby
09:56
ta_ has quit [Remote host closed the connection]
09:56
davet has joined #ruby
09:56
elphe has quit [Ping timeout: 245 seconds]
09:56
ta_ has joined #ruby
09:58
KeyJoo has joined #ruby
09:58
karapetyan has joined #ruby
09:58
KeyJoo has quit [Max SendQ exceeded]
09:58
biberu has quit [Ping timeout: 245 seconds]
09:58
emilford has quit [Ping timeout: 248 seconds]
09:59
KeyJoo has joined #ruby
10:01
ta_ has quit [Ping timeout: 256 seconds]
10:02
Puffball has joined #ruby
10:03
emilford has joined #ruby
10:05
RougeR has quit [Ping timeout: 245 seconds]
10:07
emilford has quit [Ping timeout: 245 seconds]
10:09
davet has quit [Quit: Leaving]
10:12
dr3w_ has joined #ruby
10:14
roshanavand has joined #ruby
10:16
jamesaxl has joined #ruby
10:17
t0xik has quit [Quit: Connection closed for inactivity]
10:17
_aeris_ has quit [Excess Flood]
10:17
emilford has joined #ruby
10:17
_aeris_ has joined #ruby
10:18
GodFather has joined #ruby
10:20
guille-moe has quit [Ping timeout: 256 seconds]
10:20
pskosinski has quit [Ping timeout: 256 seconds]
10:21
joro_ has quit [Remote host closed the connection]
10:21
contradictioned has quit [Ping timeout: 245 seconds]
10:23
RougeR has joined #ruby
10:23
RougeR has joined #ruby
10:23
RougeR has quit [Changing host]
10:24
elphe has joined #ruby
10:26
emilford has quit [Ping timeout: 240 seconds]
10:26
contradictioned has joined #ruby
10:27
XB23 has quit [Quit: Leaving]
10:28
<
kapil___ >
phaul: what it does?
10:29
emilford has joined #ruby
10:29
karapetyan has quit [Remote host closed the connection]
10:30
contradictioned has quit [Ping timeout: 245 seconds]
10:31
sphenxes has quit [Remote host closed the connection]
10:32
Zinder has quit [Ping timeout: 256 seconds]
10:33
karapetyan has joined #ruby
10:33
Zinder has joined #ruby
10:34
contradictioned has joined #ruby
10:34
sphenxes has joined #ruby
10:36
RougeR has quit [Ping timeout: 264 seconds]
10:36
lxsameer has quit [Quit: WeeChat 2.1]
10:37
lxsameer has joined #ruby
10:37
emilford has quit [Ping timeout: 264 seconds]
10:40
karapetyan has quit [Remote host closed the connection]
10:41
emilford has joined #ruby
10:41
maufart__ has joined #ruby
10:42
contradictioned has quit [Ping timeout: 245 seconds]
10:44
aufi_ has quit [Ping timeout: 256 seconds]
10:44
<
phaul >
kapil___: if you have a deeply nested hash, it traverses down with the keys, going deeper with each step, and sets the leaf to the value
10:47
contradictioned has joined #ruby
10:47
<
phaul >
>> %i(a b c).inject({ a: { b: {c: 1} } }) {|acc, k| p acc: acc, k: k; acc[k] }
10:48
cyberg has joined #ruby
10:52
emilford has quit [Ping timeout: 256 seconds]
10:53
ciscam has quit [Ping timeout: 245 seconds]
10:54
amar__ has joined #ruby
10:54
ciscam has joined #ruby
10:54
emilford has joined #ruby
10:55
hfp_work has quit [Quit: bye]
10:55
<
kapil___ >
phaul: i understand it. but it takes so much time to me.
10:56
rmerry_ has joined #ruby
10:56
rmerry_ is now known as Guest74699
10:56
Guest74699 has left #ruby [#ruby]
10:57
amar_ has quit [Ping timeout: 252 seconds]
10:58
hfp_work has joined #ruby
11:02
emilford has quit [Ping timeout: 240 seconds]
11:02
contradictioned has quit [Ping timeout: 256 seconds]
11:04
emilford has joined #ruby
11:05
mlkkk has quit [Read error: Connection reset by peer]
11:05
pskosinski has joined #ruby
11:07
mlkkk has joined #ruby
11:07
contradictioned has joined #ruby
11:14
millerti has joined #ruby
11:17
samosaphile has quit [Quit: Page closed]
11:19
jarnalyrkar has joined #ruby
11:20
raynold has quit [Quit: Connection closed for inactivity]
11:20
lxsameer has quit [Quit: WeeChat 2.1]
11:21
suukim has quit [Quit: Konversation terminated!]
11:26
alfiemax_ has joined #ruby
11:30
alfiemax has quit [Ping timeout: 256 seconds]
11:31
GodFather has quit [Remote host closed the connection]
11:31
NL3limin4t0r has joined #ruby
11:32
VladGh has joined #ruby
11:33
VladGh_ has quit [Ping timeout: 245 seconds]
11:34
AJA4350 has joined #ruby
11:35
ujjain has quit [Ping timeout: 256 seconds]
11:36
sytherax has joined #ruby
11:37
ldnunes has joined #ruby
11:40
karapetyan has joined #ruby
11:44
howdoi has quit [Quit: Connection closed for inactivity]
11:45
karapetyan has quit [Ping timeout: 256 seconds]
11:46
GodFather has joined #ruby
11:46
alfiemax has joined #ruby
11:47
nkh^ has joined #ruby
11:49
alfiemax_ has quit [Ping timeout: 245 seconds]
11:51
guille-moe has joined #ruby
11:52
mtkd has joined #ruby
11:54
thapakazi has quit [Quit: thapakazi]
11:58
alfiemax_ has joined #ruby
12:00
synthroid has joined #ruby
12:00
alfiema__ has joined #ruby
12:01
<
kapil___ >
how to compare above two string. it should be equal?
12:01
nkh^ has quit [Quit: Leaving]
12:01
alfiemax has quit [Ping timeout: 256 seconds]
12:02
<
tobiasvl >
kapil___: what do you want to do in a general sense? compare two strings, ignoring leading whitespace on each line?
12:02
<
kapil___ >
compare two strings, ignoring leading whitespace on each line
12:04
<
tobiasvl >
you can remove all leading whitespace on each line like so: a.gsub(/^\s+/,'')
12:04
alfiemax_ has quit [Ping timeout: 252 seconds]
12:05
<
kapil___ >
tobiasvl: thanks
12:07
alfiemax has joined #ruby
12:10
<
dionysus69 >
seriously
12:10
<
dionysus69 >
I am looking for what options does to_yaml method accepts
12:10
<
dionysus69 >
online documentation doesn't show anything
12:10
rkazak has joined #ruby
12:10
<
dionysus69 >
what's the quickest way to see ?
12:11
alfiema__ has quit [Ping timeout: 276 seconds]
12:11
lxsameer has joined #ruby
12:12
alfiemax has quit [Remote host closed the connection]
12:12
phaul has quit [Ping timeout: 256 seconds]
12:15
<
tbuehlmann >
dionysus69: I'd dig using pry's $ (show-source) method
12:15
<
tbuehlmann >
`$ {}.to_yaml` => `$ Psych.dump` => `$ Psych::Visitors::YAMLTree.create` => `$ Psych::Visitors::YAMLTree#initialize`
12:15
tvw has joined #ruby
12:15
<
tbuehlmann >
so, check where @options is used in Psych::Visitors::YAMLTree
12:16
joast has quit [Quit: Leaving.]
12:16
gnufied has joined #ruby
12:17
joast has joined #ruby
12:18
pskosinski has quit [Ping timeout: 245 seconds]
12:18
pskosinski has joined #ruby
12:21
canton7 has quit [Ping timeout: 265 seconds]
12:21
<
dionysus69 >
ok thanks tbuehlmann :)
12:22
<
kapil___ >
File.open("app/sce_umbrella/logs/file.txt",w) fails.
12:23
<
kapil___ >
`File.open("file.txt",w)` works
12:23
<
dionysus69 >
quotes around w?
12:23
<
kapil___ >
yes but still fails
12:23
canton7 has joined #ruby
12:24
<
kapil___ >
`File.open("app/sce_umbrella/logs/file.txt", 'w')` fails.
12:24
joast has quit [Quit: Leaving.]
12:24
<
tobiasvl >
and where are you running it from?
12:25
<
tobiasvl >
what's the cwd in relation to the path you're trying to open?
12:25
<
kapil___ >
i am running it from rails generators
12:26
joast has joined #ruby
12:26
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:26
<
kapil___ >
```Dir.pwd
12:26
<
kapil___ >
=> "/home/ubuntu/workspace/sce_rails"```
12:27
<
tobiasvl >
and file.txt is located in /home/ubuntu/workspace/sce_rails/app/sce_umbrella/logs/ ?
12:27
ogres has joined #ruby
12:27
<
tobiasvl >
well then that's why it fails
12:27
<
kapil___ >
logs folder also not exist
12:27
<
tobiasvl >
create it?
12:27
<
tobiasvl >
then it should work
12:27
<
kapil___ >
but `File.open("file.txt",w)` works even if file.txt not exist
12:28
houhoulis has joined #ruby
12:28
<
tobiasvl >
yes, sorry. the directory not existing is the problem
12:28
<
tobiasvl >
File.open won't create a directory
12:28
<
kapil___ >
tobiasvl: thanks
12:28
GodFather has quit [Ping timeout: 240 seconds]
12:29
elphe has quit [Ping timeout: 245 seconds]
12:29
joast has quit [Client Quit]
12:29
sphenxes has quit [Ping timeout: 252 seconds]
12:30
<
dionysus69 >
you need file utils to create directory first
12:31
Dryon has joined #ruby
12:31
sphenxes has joined #ruby
12:31
<
kapil___ >
thanks i create a directory and it works
12:31
Dryon has quit [Client Quit]
12:32
k0mpa has joined #ruby
12:33
<
kapil___ >
you know the rails?
12:33
mlkkk_ has joined #ruby
12:34
<
kapil___ >
How to get full command passed to rails generator (written in console) in generator.
12:34
joast has joined #ruby
12:36
<
dionysus69 >
I think generators are just a rake task
12:36
mlkkk has quit [Ping timeout: 240 seconds]
12:36
sphenxes has quit [Ping timeout: 256 seconds]
12:36
ellcs has joined #ruby
12:36
<
dionysus69 >
you can see those rake files
12:38
<
dionysus69 >
ah, I hit the roadblock with pry, show source isn't showing source of TreeBuilder
12:39
<
dionysus69 >
which I found under show-source Psych::Visitors::YAMLTree
12:39
<
kapil___ >
dionysus69: i not know how to find it in source
12:40
mlkkk_ has quit [Remote host closed the connection]
12:42
duderonomy has joined #ruby
12:42
mlkkk has joined #ruby
12:42
karapetyan has joined #ruby
12:42
ellcs has quit [Ping timeout: 260 seconds]
12:44
sytherax has quit [Remote host closed the connection]
12:46
joast has quit [Quit: Leaving.]
12:46
karapetyan has quit [Ping timeout: 240 seconds]
12:47
bmurt has joined #ruby
12:49
joast has joined #ruby
12:54
elphe has joined #ruby
12:56
ramfjord has joined #ruby
12:57
sytherax has joined #ruby
12:59
elphe has quit [Ping timeout: 245 seconds]
13:01
ramfjord has quit [Ping timeout: 245 seconds]
13:01
griffindy has joined #ruby
13:02
mtkd has joined #ruby
13:04
houhoulis has quit [Remote host closed the connection]
13:04
Cavallari has joined #ruby
13:05
houhoulis has joined #ruby
13:08
<
markand >
ruby is amazing
13:08
<
markand >
it's sad that its popularity decrease over time
13:09
vondruch has quit [Ping timeout: 256 seconds]
13:10
houhoulis has quit [Ping timeout: 268 seconds]
13:11
matled has quit [Remote host closed the connection]
13:11
marens has quit [Ping timeout: 264 seconds]
13:16
conta has quit [Quit: conta]
13:17
conta has joined #ruby
13:19
beefjoe has joined #ruby
13:20
matled has joined #ruby
13:20
sphenxes has joined #ruby
13:22
Rapture has joined #ruby
13:23
alfiemax has joined #ruby
13:23
alfiemax has quit [Remote host closed the connection]
13:23
alfiemax has joined #ruby
13:24
skryking has quit [Quit: Leaving]
13:25
marens has joined #ruby
13:27
rivalomega has joined #ruby
13:29
rfoust has joined #ruby
13:31
rivalomega has quit [Ping timeout: 256 seconds]
13:32
<
livcd >
markand: well it's not ruby it's the type of the problem ruby solves
13:32
krawchyk has joined #ruby
13:32
oleo has joined #ruby
13:34
weird_error has quit [Quit: weird_error]
13:37
weird_error has joined #ruby
13:37
XB23 has joined #ruby
13:38
alfiemax has quit [Remote host closed the connection]
13:42
rivalomega has joined #ruby
13:42
alfiemax has joined #ruby
13:43
jordanm has quit [Remote host closed the connection]
13:44
karapetyan has joined #ruby
13:46
krawchyk has quit [Quit: krawchyk]
13:47
krawchyk has joined #ruby
13:49
karapetyan has quit [Ping timeout: 268 seconds]
13:49
elphe has joined #ruby
13:53
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:53
weird_error has quit [Quit: weird_error]
13:55
bmurt has joined #ruby
13:56
jordanm has joined #ruby
13:57
ramfjord has joined #ruby
13:59
rebear has quit [Remote host closed the connection]
13:59
rebear has joined #ruby
14:01
Torstein has joined #ruby
14:01
<
Torstein >
in the ruby std lib, where are dependendcies defined?
14:02
rkazak has quit [Quit: Sleep.....ing....]
14:02
<
Torstein >
where/how is rbtree included?
14:02
ramfjord has quit [Ping timeout: 260 seconds]
14:03
phaul has joined #ruby
14:10
shinnya has joined #ruby
14:12
weird_error has joined #ruby
14:15
kmurphy4 has joined #ruby
14:17
zautomata has joined #ruby
14:20
suukim has joined #ruby
14:27
dionysus69 has quit [Ping timeout: 260 seconds]
14:27
kloeri has joined #ruby
14:28
Azure has quit [Read error: Connection reset by peer]
14:28
Azure|dc has joined #ruby
14:30
chocoelho has joined #ruby
14:34
kmurphy4 has quit [Quit: kmurphy4]
14:36
elphe has quit [Ping timeout: 260 seconds]
14:40
Bonjourm8 has joined #ruby
14:41
venmx has quit [Ping timeout: 245 seconds]
14:43
tdy has joined #ruby
14:43
grilix_ has joined #ruby
14:45
venmx has joined #ruby
14:46
XB23 has quit [Quit: Leaving]
14:51
RougeR has joined #ruby
14:54
Bonjourm8 has quit [Remote host closed the connection]
14:54
Bonjourm8 has joined #ruby
14:54
aupadhye has quit [Ping timeout: 252 seconds]
14:55
Bonjourm8 has quit [Remote host closed the connection]
14:56
Dbugger has joined #ruby
14:58
rkazak has joined #ruby
15:00
maufart__ has quit [Ping timeout: 268 seconds]
15:01
chouhoul_ has joined #ruby
15:01
Vashy is now known as psTzv2
15:01
Cavallari has quit [Quit: Cavallari]
15:02
venmx has quit [Ping timeout: 260 seconds]
15:03
venmx has joined #ruby
15:04
elphe has joined #ruby
15:05
mtkd has joined #ruby
15:05
amar__ has quit [Remote host closed the connection]
15:11
sytherax has quit [Remote host closed the connection]
15:13
ellcs has joined #ruby
15:13
Torstein has quit [Ping timeout: 260 seconds]
15:13
sytherax has joined #ruby
15:13
elphe has quit [Ping timeout: 240 seconds]
15:15
sytherax has quit [Read error: Connection reset by peer]
15:15
sytherax has joined #ruby
15:16
karapetyan has joined #ruby
15:18
karapetyan has quit [Remote host closed the connection]
15:18
cagomez has joined #ruby
15:18
cagomez has quit [Remote host closed the connection]
15:18
cagomez has joined #ruby
15:19
anjen has joined #ruby
15:21
Burgestrand has quit [Quit: Closing time!]
15:22
karapetyan has joined #ruby
15:23
conta has quit [Remote host closed the connection]
15:24
conta has joined #ruby
15:27
synthroid has quit [Remote host closed the connection]
15:30
shinnya has quit [Ping timeout: 264 seconds]
15:40
thapakazi has joined #ruby
15:40
MyMind has quit [Ping timeout: 248 seconds]
15:40
Bonjourm8 has joined #ruby
15:40
conta has quit [Ping timeout: 240 seconds]
15:44
coderphive has joined #ruby
15:44
phaul has quit [Ping timeout: 265 seconds]
15:49
chocoelho has quit [Ping timeout: 256 seconds]
15:49
Bonjourm8 has quit [Remote host closed the connection]
15:50
Bonjourm8 has joined #ruby
15:51
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:54
Bonjourm8_ has joined #ruby
15:54
RougeR has quit [Ping timeout: 256 seconds]
15:54
Bonjourm8 has quit [Read error: Connection reset by peer]
15:57
mostly-harmless has quit [Ping timeout: 260 seconds]
15:58
apeiros has joined #ruby
15:59
rkazak has quit [Quit: Sleep.....ing....]
15:59
ldepandis has joined #ruby
15:59
synthroid has joined #ruby
16:01
agent_white has joined #ruby
16:01
venmx has quit [Ping timeout: 240 seconds]
16:01
hlmjr has quit [Quit: Konversation terminated!]
16:02
venmx has joined #ruby
16:02
karapetyan has quit [Remote host closed the connection]
16:05
troys has joined #ruby
16:09
Bonjourm8_ has quit [Remote host closed the connection]
16:10
Bonjourm8_ has joined #ruby
16:10
yohji has quit [Remote host closed the connection]
16:10
anisha has quit [Ping timeout: 245 seconds]
16:11
jarnalyrkar has quit [Quit: Leaving]
16:11
cadillac_ has quit [Ping timeout: 245 seconds]
16:11
anisha has joined #ruby
16:12
Bonjourm8__ has joined #ruby
16:12
Bonjourm8__ has quit [Remote host closed the connection]
16:13
Bonjourm8_ has quit [Read error: Connection reset by peer]
16:14
cadillac_ has joined #ruby
16:15
anjen has quit [Quit: anjen]
16:16
minimalism has joined #ruby
16:19
ellcs has quit [Ping timeout: 260 seconds]
16:19
nitric has joined #ruby
16:22
jcarl43 has joined #ruby
16:24
conta has joined #ruby
16:25
cadillac_ has quit [Read error: Connection reset by peer]
16:25
dionysus69 has joined #ruby
16:26
darkhanb has joined #ruby
16:26
orbyt_ has joined #ruby
16:27
guille-moe has quit [Ping timeout: 260 seconds]
16:28
mlkkk has quit [Remote host closed the connection]
16:29
synthroid has quit [Remote host closed the connection]
16:29
Bonjourm8 has joined #ruby
16:30
amar_ has joined #ruby
16:32
phaul has joined #ruby
16:32
cadillac_ has joined #ruby
16:34
nowhere_man has joined #ruby
16:36
anjen has joined #ruby
16:37
anjen has quit [Client Quit]
16:39
nayena has joined #ruby
16:41
amar_ has quit [Ping timeout: 252 seconds]
16:50
sanscoeur has joined #ruby
16:53
houhoulis has joined #ruby
16:55
alfiemax_ has joined #ruby
16:56
clemens3 has quit [Ping timeout: 256 seconds]
16:56
rippa has joined #ruby
16:56
alfiemax has quit [Ping timeout: 268 seconds]
16:58
ldepandis has quit [Ping timeout: 248 seconds]
16:58
pilne has joined #ruby
17:03
karapetyan has joined #ruby
17:05
NL3limin4t0r has quit [Quit: WeeChat 1.9.1]
17:05
codymj has joined #ruby
17:07
contradictioned has quit [Ping timeout: 276 seconds]
17:07
karapetyan has quit [Ping timeout: 240 seconds]
17:09
mtkd has quit [Ping timeout: 245 seconds]
17:10
contradictioned has joined #ruby
17:10
mtkd has joined #ruby
17:12
cagomez has quit [Remote host closed the connection]
17:13
cagomez has joined #ruby
17:13
telnet has joined #ruby
17:13
<
telnet >
does anyone have a guide on getting postgresql setup with ruby on ubuntu? I can only find guides for setting it up with rails
17:14
Shadow25 has joined #ruby
17:14
<
apeiros >
drop the "install rails and create a new rails app" part and you're 99% there.
17:15
<
apeiros >
the other 1% (which takes 80% of the time) is choosing a library to connect to pg
17:15
<
uplime >
I used the pg gem but I can't get it to talk to my db
17:15
<
apeiros >
Shadow25: hi girl
17:15
<
Shadow25 >
Can I ask questions regardin rails in here?
17:16
<
apeiros >
?rails Shadow25
17:16
<
ruby[bot] >
Shadow25: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
17:16
<
apeiros >
you can, but ^ is better suited
17:16
<
Shadow25 >
ok thanks!
17:16
<
apeiros >
you're welcome :)
17:16
agent_white has quit [Read error: Connection reset by peer]
17:17
venmx has quit [Ping timeout: 264 seconds]
17:18
synthroid has joined #ruby
17:19
<
Shadow25 >
I get a message "Cannot join channel (+r) - you need to be identified with services"
17:19
<
Shadow25 >
i registered my nickname
17:19
<
Shadow25 >
what else do I need to do?
17:20
<
apeiros >
you have to login with that registration
17:20
<
apeiros >
iirc it doesn't do a login when you register, only register
17:20
<
apeiros >
(been a while, though)
17:20
<
Shadow25 >
aaah i need to do /ns identify
17:20
<
apeiros >
best is to setup sasl login
17:20
<
apeiros >
most irc clients support that
17:21
contradictioned has quit [Ping timeout: 245 seconds]
17:25
Eiam has joined #ruby
17:25
contradictioned has joined #ruby
17:28
agent_white has joined #ruby
17:30
nowhere_man has quit [Ping timeout: 256 seconds]
17:32
kirun has joined #ruby
17:33
universa1 has quit [Read error: Connection reset by peer]
17:33
universa1 has joined #ruby
17:34
dionysus69 has quit [Ping timeout: 256 seconds]
17:36
jrabe has quit [Quit: Disconnected]
17:36
jrabe has joined #ruby
17:39
alfiemax_ has quit [Remote host closed the connection]
17:39
hays_ has joined #ruby
17:39
hays_ has joined #ruby
17:39
hays_ has quit [Changing host]
17:40
brent__ has joined #ruby
17:40
alfiemax has joined #ruby
17:43
houhoulis has quit [Remote host closed the connection]
17:44
houhoulis has joined #ruby
17:45
mtkd has joined #ruby
17:46
sytherax has quit [Remote host closed the connection]
17:48
dmgk has joined #ruby
17:48
sytherax has joined #ruby
17:48
suukim has quit [Quit: Konversation terminated!]
17:48
houhoulis has quit [Ping timeout: 256 seconds]
17:49
GodFather_ has joined #ruby
17:49
nicesignal has quit [Remote host closed the connection]
17:50
nicesignal has joined #ruby
17:51
mikeeeeeeey has joined #ruby
17:55
karapetyan has joined #ruby
17:56
nayena has quit [Ping timeout: 252 seconds]
17:57
SeepingN has joined #ruby
17:57
Shadow25 has quit [Quit: Page closed]
18:00
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:00
karapetyan has quit [Ping timeout: 260 seconds]
18:00
bmurt has joined #ruby
18:02
alfiemax_ has joined #ruby
18:03
alfiemax has quit [Ping timeout: 252 seconds]
18:04
contradictioned has quit [Ping timeout: 256 seconds]
18:06
thapakazi has quit [Ping timeout: 245 seconds]
18:08
<
baweaver >
mikeeeeeeey: look at those script variables
18:08
alfiemax_ has quit [Ping timeout: 256 seconds]
18:08
<
baweaver >
they're the literal command
18:08
lypsis has joined #ruby
18:08
<
baweaver >
nevermind, they get interpolated.
18:08
contradictioned has joined #ruby
18:08
<
baweaver >
Check the output of those if you can
18:08
<
baweaver >
Chances are it's blank
18:08
alfiemax has joined #ruby
18:09
<
mikeeeeeeey >
Seems to work on one server but not another
18:09
mtkd has joined #ruby
18:09
<
baweaver >
What I'd do is break it up a bit to get some more tests in there.
18:09
cagomez has quit [Remote host closed the connection]
18:10
<
baweaver >
def user_output; script_result = `#{SACLI_SCRIPT}`; return {} if script_result.empty?; JSON.parse(script_result) end
18:10
<
baweaver >
Something like that, add validation to make sure it actually got something
18:11
<
brent__ >
i was wondering how i could translate `curl -u user_name:api_key url` to httparty
18:11
<
brent__ >
I'm not sure how to replicate the user_name_api_key into the request
18:13
havenwood has joined #ruby
18:13
havenwood has joined #ruby
18:14
GodFather_ has quit [Ping timeout: 245 seconds]
18:14
<
baweaver >
Probably in the docs somewhere as well, but looks like those are options you could pass in
18:14
<
baweaver >
Ah, that looks more relevant
18:14
cagomez has joined #ruby
18:15
<
brent__ >
any idea how to do so via postman?
18:16
<
brent__ >
like like is the `-u user:pass` relate to a standard header or params?
18:17
<
baweaver >
Not offhand
18:17
ramfjord has joined #ruby
18:17
contradictioned has quit [Ping timeout: 245 seconds]
18:17
<
baweaver >
I'd have to search around for it for a while.
18:17
<
brent__ >
no worries
18:17
<
baweaver >
mikeeeeeeey: I'd also add some validation to make sure those scripts actually exist on the server, and raise relevant errors if they don't
18:17
<
brent__ >
any idea how to see what exactly the curl -u request looks like
18:17
<
brent__ >
after you send it?
18:18
<
baweaver >
one of these days I should learn how to translate those. Unfortunately not
18:18
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:20
<
havenwood >
mikeeeeeeey: Name your gist file with a .rb extension for syntax highlighting.
18:20
<
mikeeeeeeey >
Thanks =)
18:20
<
brent__ >
baweaver: fyi, in postman I was able to add basic_auth options, and the user_id and api_key as user/pass which worked
18:21
<
havenwood >
mikeeeeeeey: You can edit a gist too or add more than one file, when relevant.
18:21
<
havenwood >
mikeeeeeeey: Do you understand what that JSON error means?
18:22
contradictioned has joined #ruby
18:22
eckhardt has joined #ruby
18:22
<
havenwood >
"A JSON text must at least contain two octets!"
18:22
ghormoon has quit [Ping timeout: 240 seconds]
18:22
<
mikeeeeeeey >
I dont know =(
18:23
<
havenwood >
mikeeeeeeey: Do you know what JSON is?
18:23
ghormoon has joined #ruby
18:24
<
mikeeeeeeey >
javascript notation
18:25
<
SeepingN >
nil result eh?
18:26
nitric_ has joined #ruby
18:26
sauvin has quit [Read error: Connection reset by peer]
18:27
nitric has quit [Ping timeout: 245 seconds]
18:27
weaksauce has joined #ruby
18:27
GodFather_ has joined #ruby
18:28
guille-moe has joined #ruby
18:31
DTZUZU has quit [Ping timeout: 256 seconds]
18:31
<
havenwood >
>> require 'json'; JSON.parse ''
18:31
<
ruby[bot] >
havenwood: # => A JSON text must at least contain two octets! (JSON::ParserError) ...check link for more (
https://eval.in/1009490)
18:32
<
havenwood >
>> require 'json'; JSON.parse '{}'
18:32
DTZUZU has joined #ruby
18:34
<
havenwood >
mikeeeeeeey: I've seen folk tell you on previous days (and I've also mentioned) that your bash script, which itself shells out to python, is returning an empty string when run with backticks from Ruby.
18:35
wald0 has joined #ruby
18:35
<
havenwood >
mikeeeeeeey: It seems you don't understand that explanation, so maybe ask questions about the parts you don't understand. It's hard for us to know what you don't know.
18:35
rebear has quit [Remote host closed the connection]
18:35
i4 has joined #ruby
18:36
<
mikeeeeeeey >
Do you think maybe the server is missing dependencies to run the scripts?
18:36
<
havenwood >
mikeeeeeeey: When you parse an empty string with JSON, it complains about not having two octets, either "[]" for an Array or "{}" for a Hash.
18:36
<
i4 >
I try to using loop counter as part of variable, and it working for single variable, but I cant set it for variable with dot... Like a @gon.var1 @gon.var2 etc. I was tried to set it by using: :"var#{i}", but for @gon.* it is not working... then I was tried to use binding.local_variable_set("var#{i}", 'some') but it is not working with @gon.*
18:36
<
mikeeeeeeey >
such as python?
18:36
<
i4 >
What I'm doing wrong? And how I can get the @gon.var#{i} variables in loop? In good way I want to get: @gon.var1 = '1', @gon.var2 = '2' etc
18:36
<
havenwood >
mikeeeeeeey: foo = `ls -fdklj`; foo.empty? #=> True
18:36
<
baweaver >
i4: Ruby doesn't work like that.
18:37
<
havenwood >
mikeeeeeeey: As previously said, try the scripts directly, outside of Ruby. This isn't a Ruby problem.
18:37
<
i4 >
Why not? and how it's working? How can I get this dynamic variables?
18:37
<
baweaver >
You're thinking in Javascript. You can't dynamically set values like that
18:37
wald0 has quit [Read error: No route to host]
18:37
<
i4 >
baweaver, really?
18:37
<
i4 >
And what is the true way?
18:37
<
baweaver >
i4: Can you put your code in a gist?
18:37
<
mikeeeeeeey >
Yeah, its strange, the scripts exists
18:37
<
havenwood >
mikeeeeeeey: I'd guess it's erring on one server, and you're just getting the empty string back from Ruby - not enough to diagnose the error.
18:37
<
mikeeeeeeey >
ill compare it to the other server
18:38
<
havenwood >
mikeeeeeeey: Look at the scripts, outside Ruby. Run them yourself. This isn't a Ruby problem.
18:38
mtkd has joined #ruby
18:38
<
mikeeeeeeey >
yup! ill take a look at them now
18:38
<
baweaver >
More than likely using a hash i4, but I'd have to know what you're doing first.
18:39
jenrzzz has joined #ruby
18:39
jenrzzz has joined #ruby
18:39
jenrzzz has quit [Changing host]
18:39
<
SeepingN >
as is common when pulling API data or data over an SSH connection, you learn the hard way to check EVERYTHING for errors or nil results or empty results
18:39
<
baweaver >
Pretty much, the data is never pure.
18:39
<
i4 >
(1..4).each do |x|
18:39
<
havenwood >
i4: I don't get what you're doing either. Gist!
18:39
<
SeepingN >
Don't run JSON.parse on X until you've checked that X isn't empty at the very least
18:40
<
i4 >
@gon.var1 = t("somepathsometext")
18:40
<
baweaver >
Also, what exact problem are you trying to solve?
18:40
<
i4 >
I need to set three or four @gon.var#{i}
18:40
hays_ has quit [Remote host closed the connection]
18:40
<
i4 >
var1 var2 var3 etc
18:40
<
havenwood >
i4: i? x? huh?
18:41
<
baweaver >
Ah, Gon.
18:41
<
SeepingN >
@gon[x] = t("junk") ?????
18:41
<
baweaver >
That thing is a mess.
18:41
<
i4 >
I need @gon.var*
18:41
<
i4 >
Can I use @gon.var[x] ?
18:41
<
baweaver >
It's a way to shim Rails variables into JS.
18:41
<
SeepingN >
I dunno.. can you? seems like you should
18:42
<
havenwood >
baweaver: oh!
18:42
<
havenwood >
I'd never see the gon gem.
18:42
<
baweaver >
So yeah, hash syntax works for those
18:42
<
baweaver >
You can't make a dynamic variable name with interpolation like that
18:42
<
baweaver >
that said, you should also avoid using Gon
18:42
<
baweaver >
it means you're conflating your UI state too much with your Rails state
18:42
<
baweaver >
It's a path of great pain and suffering
18:44
<
baweaver >
Also the README shows this exact usecase.
18:44
<
i4 >
undefined method `[]=' for nil:NilClass
18:45
<
mikeeeeeeey >
is there anything i need to install to run python scripts on a server?
18:45
<
i4 >
I was tried to do like this: @gon.lon[i] = t("office.all.n_#{x[0]}.pos.lon", locale: :x)
18:45
guille-moe has quit [Ping timeout: 245 seconds]
18:45
tvw has quit [Ping timeout: 248 seconds]
18:45
<
i4 >
but it's mot working (
18:45
elphe has joined #ruby
18:46
<
baweaver >
do you know how interpolation works?
18:46
<
SeepingN >
you have i AND x. which is what
18:46
<
havenwood >
mikeeeeeeey: Python and any Python package dependencies.
18:46
<
baweaver >
the `lon` variable does't exist.
18:46
<
havenwood >
mikeeeeeeey: Python questions are better in the Python channel.
18:46
<
i4 >
'i' - index, 'x' some naming
18:47
<
havenwood >
mikeeeeeeey: /join #python
18:47
<
i4 >
I'm waiting for lon1 not for lon
18:47
<
i4 >
baweaver, I think no
18:47
<
baweaver >
Read the README for Gon
18:48
<
baweaver >
@gon.push("lon#{i}" => t())
18:49
<
i4 >
Yesm it's working!
18:49
<
i4 >
In the reame of gon I don't saw this solution
18:49
<
i4 >
Thank you, my friend ^)
18:50
<
i4 >
You are the best
18:50
<
baweaver >
"1. Write variables by"
18:50
<
baweaver >
right there
18:50
elphe has quit [Ping timeout: 265 seconds]
18:50
<
baweaver >
But seriously: don't use Gon
18:51
<
SeepingN >
is Gon funded by ads?
18:51
<
havenwood >
it's a forgon conclusion
18:52
<
baweaver >
It conflates the idea of Javascript and Rails state
18:52
<
baweaver >
and by extension ends up tightly coupling the two, making for harder to test and update code.
18:53
<
mikeeeeeeey >
hm interesting. 16.04 script works but breaks on 14.04 ubuntu
18:54
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:54
<
baweaver >
Having a consistent version of your OS deployed is a good first step towards sanity
18:54
<
i4 >
I'll try to remove it in future
18:54
<
havenwood >
i4: Whatcha using it for?
18:54
<
i4 >
to send params from rails to coffee.erb
18:57
karapetyan has joined #ruby
19:00
amelliaa has joined #ruby
19:01
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:02
karapetyan has quit [Ping timeout: 248 seconds]
19:05
karapetyan has joined #ruby
19:16
TomyLobo has joined #ruby
19:16
i4 has quit [Quit: Leaving]
19:18
micutzu has joined #ruby
19:19
Bonjourm8 has quit [Quit: Leaving]
19:19
codymj has quit [Quit: Leaving]
19:20
conta has quit [Ping timeout: 256 seconds]
19:20
jenrzzz has quit [Ping timeout: 245 seconds]
19:22
dviola has joined #ruby
19:22
dviola has left #ruby [#ruby]
19:24
jinie has joined #ruby
19:29
alfiemax has quit [Remote host closed the connection]
19:30
bijan_ has joined #ruby
19:31
bijan_ has quit [Client Quit]
19:33
tvw has joined #ruby
19:33
jenrzzz has joined #ruby
19:33
zumbi is now known as Guest37885
19:33
bhaak is now known as Guest86737
19:33
pocketprotector is now known as Guest49953
19:33
AKPWD is now known as Guest54383
19:33
Radar is now known as Guest55615
19:33
madhatter is now known as Guest93864
19:34
braderhart is now known as Guest74533
19:34
auv is now known as Guest44382
19:34
larissa is now known as Guest17221
19:34
Mutsuhito is now known as Guest22947
19:34
mkaito is now known as Guest73467
19:34
graingert is now known as Guest25333
19:34
ELLIOTTCABLE is now known as Guest44951
19:34
ptx0 is now known as Guest58280
19:34
spiette is now known as Guest9512
19:34
vdl is now known as Guest58471
19:34
SuperTux88 is now known as Guest36902
19:34
raggi is now known as Guest71745
19:34
TheMoonMaster is now known as Guest84079
19:34
fury is now known as Guest10930
19:34
nuck is now known as Guest21194
19:34
sirecote is now known as Guest91942
19:34
Cyrus is now known as Guest49403
19:34
ged is now known as Guest68543
19:34
EvilJStoker is now known as Guest41100
19:34
tekk is now known as Guest64970
19:34
Cork is now known as Guest8084
19:34
Sp4rKy is now known as Guest41156
19:34
ndrst is now known as Guest73837
19:34
tectonic is now known as Guest53857
19:34
marahin is now known as Guest4172
19:34
swistak35 is now known as Guest50286
19:34
Morrolan is now known as Guest31486
19:34
phage is now known as Guest62913
19:34
devyn is now known as Guest8837
19:34
markand is now known as Guest54268
19:34
levifig is now known as Guest82445
19:34
jacky is now known as Guest24064
19:34
jrgifford is now known as Guest53256
19:34
baweaver is now known as Guest3612
19:34
cats is now known as Guest10935
19:34
bougyman is now known as Guest90958
19:34
oz is now known as Guest23822
19:34
r3dc0d3r is now known as Guest69234
19:34
olspookishmagus is now known as Guest73982
19:34
redondos is now known as Guest57996
19:34
DarthGandalf is now known as Guest14918
19:34
rmerry is now known as Guest83502
19:34
balo is now known as Guest43572
19:34
jenrzzz has joined #ruby
19:34
jenrzzz has quit [Changing host]
19:34
Guest10930 is now known as fury
19:34
Guest71745 is now known as raggi
19:35
darkhanb has joined #ruby
19:35
Guest58280 has quit [Quit: Changing server]
19:35
Guest68543 is now known as ged
19:35
ptx0 has joined #ruby
19:36
ged is now known as Guest88335
19:36
dviola has joined #ruby
19:36
shortdudey123 has quit [Ping timeout: 240 seconds]
19:36
Fire-Dragon-DoL has quit [Ping timeout: 240 seconds]
19:36
psmolen has quit [Ping timeout: 240 seconds]
19:36
Dabo has quit [Ping timeout: 260 seconds]
19:36
naquad has quit [Ping timeout: 260 seconds]
19:36
Guest54383 has quit [Quit: じゃね。]
19:36
AKPWD has joined #ruby
19:38
naquad has joined #ruby
19:38
orbyt_ has joined #ruby
19:38
Flashynuff has quit []
19:39
Flashynuff has joined #ruby
19:39
psmolen has joined #ruby
19:39
shortdudey123 has joined #ruby
19:39
Dabo has joined #ruby
19:39
elphe has joined #ruby
19:40
Guest58471 is now known as vdl
19:41
reber has joined #ruby
19:41
Fire-Dragon-DoL has joined #ruby
19:43
plexigras has quit [Ping timeout: 256 seconds]
19:44
alfiemax has joined #ruby
19:44
anisha has quit [Quit: This computer has gone to sleep]
19:44
elphe has quit [Ping timeout: 260 seconds]
19:45
plexigras has joined #ruby
19:48
bmurt has joined #ruby
19:49
alfiemax has quit [Ping timeout: 260 seconds]
19:49
karapetyan has quit [Remote host closed the connection]
19:49
Zinder has joined #ruby
19:51
Zinder has quit [Client Quit]
19:51
Zinder has joined #ruby
19:51
Chew has joined #ruby
19:51
dionysus69 has joined #ruby
19:55
clemens3 has joined #ruby
19:56
telnet has left #ruby ["WeeChat 2.1"]
19:56
jenrzzz has quit [Ping timeout: 252 seconds]
19:56
plexigras has quit [Quit: WeeChat 2.1]
19:56
plexigras has joined #ruby
20:01
xenops has joined #ruby
20:02
kmurphy4 has joined #ruby
20:05
jenrzzz has joined #ruby
20:05
jenrzzz has joined #ruby
20:05
jenrzzz has quit [Changing host]
20:05
justache is now known as FireBeard
20:06
FireBeard is now known as Guest71490
20:07
alfiemax has joined #ruby
20:08
Guest71490 is now known as justache
20:09
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:11
Guest86737 is now known as bhaak
20:12
cagomez has quit [Remote host closed the connection]
20:12
alfiemax has quit [Ping timeout: 268 seconds]
20:13
cagomez has joined #ruby
20:15
jenrzzz_ has joined #ruby
20:16
mostlybadfly has quit [Quit: Connection closed for inactivity]
20:16
roshanavand has quit [Remote host closed the connection]
20:16
mjolnird has quit [Remote host closed the connection]
20:17
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:17
mjolnird has joined #ruby
20:18
beefjoe has quit [Remote host closed the connection]
20:18
jenrzzz has quit [Ping timeout: 260 seconds]
20:24
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
20:27
nowhere_man has joined #ruby
20:39
mlkkk has joined #ruby
20:41
jenrzzz_ has quit [Ping timeout: 256 seconds]
20:43
kapil___ has quit [Quit: Connection closed for inactivity]
20:45
Guest88335 is now known as ged
20:46
ged is now known as Guest40319
20:47
jenrzzz has joined #ruby
20:49
karapetyan has joined #ruby
20:50
mrsolo has joined #ruby
20:53
karapetyan has quit [Ping timeout: 240 seconds]
20:54
synthroid has quit []
20:54
cagomez has quit [Remote host closed the connection]
20:55
cagomez has joined #ruby
20:57
quobo has joined #ruby
20:58
coderphive has quit [Quit: coderphive]
20:59
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:59
Guest49403 is now known as Cyrus
21:00
Cyrus is now known as Guest9089
21:02
schleppel has quit [Quit: Konversation terminated!]
21:02
jyaworski has joined #ruby
21:03
jcalla has quit [Quit: Leaving]
21:05
t0xik has joined #ruby
21:05
roshanavand has joined #ruby
21:07
orbyt_ has joined #ruby
21:07
elphe has joined #ruby
21:08
reber has quit [Remote host closed the connection]
21:12
elphe has quit [Ping timeout: 268 seconds]
21:15
Guest43572 is now known as balo_
21:15
ldnunes has quit [Quit: Leaving]
21:16
ogres has quit [Quit: Connection closed for inactivity]
21:17
grilix_ has quit [Ping timeout: 260 seconds]
21:19
Guest82445 is now known as levifig
21:21
levifig has quit [Read error: Connection reset by peer]
21:21
levifig has joined #ruby
21:23
ur5us has joined #ruby
21:25
plexigras has quit [Ping timeout: 260 seconds]
21:25
krawchyk has quit [Quit: krawchyk]
21:25
kirun has quit [Quit: Konversation terminated!]
21:28
apeiros has quit [Ping timeout: 252 seconds]
21:29
jwheare has quit []
21:30
jwheare has joined #ruby
21:30
chluca has joined #ruby
21:30
rivalomega has quit [Remote host closed the connection]
21:30
jyaworski has quit [Remote host closed the connection]
21:31
chluca has left #ruby [#ruby]
21:32
ramfjord has quit [Ping timeout: 256 seconds]
21:32
rivalomega has joined #ruby
21:32
jyaworski has joined #ruby
21:32
rivalomega has quit [Remote host closed the connection]
21:35
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:36
Guest44382 has quit [Changing host]
21:36
Guest44382 has joined #ruby
21:36
Guest44382 has joined #ruby
21:36
Guest44382 is now known as Auv
21:37
ramfjord has joined #ruby
21:37
sphenxes has quit [Quit: Leaving]
21:42
orbyt_ has joined #ruby
21:44
elphe has joined #ruby
21:44
alfiemax has joined #ruby
21:45
Bonjourm8 has joined #ruby
21:45
Bonjourm8 has quit [Remote host closed the connection]
21:46
RougeR has joined #ruby
21:47
sanscoeur has quit [Ping timeout: 256 seconds]
21:48
elphe has quit [Ping timeout: 252 seconds]
21:49
alfiemax has quit [Ping timeout: 260 seconds]
21:49
Guest23707 has quit [Changing host]
21:49
Guest23707 has joined #ruby
21:51
musl has quit [Quit: WeeChat 2.0.1]
21:55
Guest40319 is now known as ged
21:56
ged is now known as Guest95110
21:56
RougeR has quit [Ping timeout: 252 seconds]
21:58
phaul has quit [Ping timeout: 240 seconds]
21:58
Mia has quit [Read error: Connection reset by peer]
21:59
ramfjord has quit [Ping timeout: 252 seconds]
22:00
lypsis is now known as lypsis|awy
22:00
RougeR has joined #ruby
22:01
ramfjord has joined #ruby
22:05
amelliaa has quit [Quit: -]
22:06
ramfjord has quit [Ping timeout: 260 seconds]
22:07
ramfjord has joined #ruby
22:10
rfoust has joined #ruby
22:11
karapetyan has joined #ruby
22:12
ramfjord has quit [Ping timeout: 252 seconds]
22:13
ramfjord has joined #ruby
22:17
jenrzzz has quit [Ping timeout: 240 seconds]
22:17
ramfjord has quit [Ping timeout: 240 seconds]
22:18
KeyJoo has quit [Read error: Connection reset by peer]
22:19
alfiemax has joined #ruby
22:19
ramfjord has joined #ruby
22:20
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:20
RyanMcCoskrie has joined #ruby
22:22
dionysus69 has quit [Quit: dionysus69]
22:22
dionysus69 has joined #ruby
22:23
alfiemax has quit [Ping timeout: 256 seconds]
22:23
ramfjord has quit [Ping timeout: 245 seconds]
22:24
ramfjord has joined #ruby
22:24
dionysus69 has quit [Client Quit]
22:25
dionysus69 has joined #ruby
22:25
gil_ has quit [Ping timeout: 260 seconds]
22:26
dionysus69 has quit [Client Quit]
22:26
dionysus69 has joined #ruby
22:26
redlegion has quit [Remote host closed the connection]
22:27
zapata has quit [Quit: WeeChat 2.1]
22:27
redlegion has joined #ruby
22:27
gil_ has joined #ruby
22:27
gil_ has joined #ruby
22:27
gil_ has quit [Changing host]
22:27
zapata has joined #ruby
22:28
elphe has joined #ruby
22:28
VladGh has quit [Ping timeout: 276 seconds]
22:28
jenrzzz has joined #ruby
22:28
jenrzzz has joined #ruby
22:28
jenrzzz has quit [Changing host]
22:34
ramfjord has quit [Ping timeout: 248 seconds]
22:36
ramfjord has joined #ruby
22:36
sytherax has quit [Remote host closed the connection]
22:40
ramfjord has quit [Ping timeout: 260 seconds]
22:43
dionysus69 has quit [Ping timeout: 248 seconds]
22:44
alfiemax has joined #ruby
22:46
karapetyan has quit [Remote host closed the connection]
22:47
orbyt_ has joined #ruby
22:48
kmurphy4 has quit [Quit: kmurphy4]
22:49
alfiemax has quit [Ping timeout: 240 seconds]
22:49
\void has joined #ruby
22:49
brent__ has quit [Quit: Connection closed for inactivity]
22:49
Emmanuel_Chanel has quit [Quit: Leaving]
22:49
kapil___ has joined #ruby
22:50
j75 has joined #ruby
22:50
j75 has quit [Quit: WeeChat 1.9.1]
22:51
Emmanuel_Chanel has joined #ruby
22:51
Emmanuel_Chanel has quit [Max SendQ exceeded]
23:02
ramfjord has joined #ruby
23:03
darkhanb has quit [Ping timeout: 252 seconds]
23:05
Guest95110 is now known as ged
23:06
clemens3 has quit [Ping timeout: 240 seconds]
23:06
ged is now known as Guest19310
23:06
eckhardt has quit [Read error: Connection reset by peer]
23:07
eckhardt has joined #ruby
23:07
ramfjord has quit [Ping timeout: 248 seconds]
23:07
quobo has quit [Quit: Connection closed for inactivity]
23:07
clemens3_ has quit [Ping timeout: 264 seconds]
23:09
ramfjord has joined #ruby
23:13
ramfjord has quit [Ping timeout: 268 seconds]
23:15
ramfjord has joined #ruby
23:15
cadillac_ has quit [Ping timeout: 268 seconds]
23:15
sytherax has joined #ruby
23:19
alfiemax has joined #ruby
23:22
ramfjord has quit [Ping timeout: 240 seconds]
23:24
alfiemax has quit [Ping timeout: 252 seconds]
23:27
k0mpa has quit [Remote host closed the connection]
23:32
karapetyan has joined #ruby
23:33
rivalomega has joined #ruby
23:35
elphe has quit [Ping timeout: 248 seconds]
23:37
karapetyan has quit [Ping timeout: 260 seconds]
23:37
rivalomega has quit [Ping timeout: 240 seconds]
23:41
ramfjord has joined #ruby
23:50
lilherc has joined #ruby
23:52
marr has quit [Ping timeout: 252 seconds]
23:53
coderphive has joined #ruby
23:53
jenrzzz_ has joined #ruby
23:54
jenrzzz has quit [Ping timeout: 245 seconds]
23:56
mlkkk has quit [Remote host closed the connection]
23:57
alfiemax has joined #ruby
23:57
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:57
x0f has quit [Ping timeout: 256 seconds]