00:00
GodFather_ has quit [Client Quit]
00:00
GodFather has joined #ruby
00:01
mfb2 has quit [Remote host closed the connection]
00:01
mfb2 has joined #ruby
00:02
guardianx has joined #ruby
00:02
jrabe has joined #ruby
00:02
jenrzzz has joined #ruby
00:07
aconnor has joined #ruby
00:07
aconnor has left #ruby [#ruby]
00:07
jenrzzz_ has joined #ruby
00:08
plexigras has quit [Ping timeout: 250 seconds]
00:08
TomyLobo has quit [Ping timeout: 240 seconds]
00:09
jenrzzz has quit [Ping timeout: 248 seconds]
00:10
nowhere_man has joined #ruby
00:10
marxarelli is now known as marxarelli|afk
00:10
vircung has joined #ruby
00:12
mim1k has joined #ruby
00:12
despai has joined #ruby
00:15
vircung has quit [Ping timeout: 248 seconds]
00:17
mim1k has quit [Ping timeout: 248 seconds]
00:18
sepp2k has quit [Quit: Leaving.]
00:20
alveric1 has joined #ruby
00:22
alveric4 has quit [Ping timeout: 248 seconds]
00:27
soulisson has joined #ruby
00:27
<
soulisson >
Hi, in ruby a block starts with the "do" keyword, right?
00:29
<
soulisson >
SeepingN: so do and "{" are considered part of the block from the syntax point of view?
00:29
apeiros_ has joined #ruby
00:31
vircung has joined #ruby
00:31
<
basket >
soulisson: Why do you ask?
00:31
jottr has quit [Ping timeout: 260 seconds]
00:31
<
soulisson >
basket: just to know
00:32
<
basket >
soulisson: do/{ and end/} are to a block as [ and ] are to an array
00:33
<
soulisson >
hmm, ok
00:33
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:34
jameser has joined #ruby
00:35
plexigras has joined #ruby
00:36
vircung has quit [Ping timeout: 248 seconds]
00:36
charliesome has joined #ruby
00:38
<
soulisson >
basket: so the answer for me is yes, because without those, we wouldn't have a block
00:38
<
SeepingN >
blockless
00:40
Ropeney has joined #ruby
00:42
<
soulisson >
basket: I just said that like that I guess someone might disagree
00:43
nowhereman_ has joined #ruby
00:45
jackjackdripper has quit [Quit: Leaving.]
00:45
<
baweaver >
Na, that one's fairly straightforward
00:45
<
soulisson >
baweaver: what do you mean?
00:46
<
baweaver >
There's not really anything to disagree on
00:46
<
soulisson >
baweaver: ok, do you agree with what I said earlier
00:46
<
baweaver >
....you realize you're running circles here right?
00:47
<
soulisson >
baweaver: probably, I'm not right in my mind :)
00:47
<
baweaver >
Blocks are either `do ... end` or `{ ... }` or passed in directly to the method with an `&`
00:47
nowhere_man has quit [Ping timeout: 276 seconds]
00:47
<
soulisson >
baweaver: cool, this is clear
00:47
<
baweaver >
>> double = -> x { x * 2 }; [1,2,3].map(&double)
00:50
<
pragmatism >
>> i = 1
00:50
<
pragmatism >
>> 1+1
00:50
<
pragmatism >
Why won't it eval?
00:51
cdg has joined #ruby
00:52
GodFather has quit [Ping timeout: 240 seconds]
00:52
mtkd has quit [Ping timeout: 240 seconds]
00:52
<
baweaver >
you have to be registered / logged in
00:52
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
00:52
<
pragmatism >
gotcha, ty
00:53
<
baweaver >
I guess authenticated would be the more proper term
00:53
mtkd has joined #ruby
00:54
jenrzzz_ has quit [Ping timeout: 240 seconds]
00:55
cdg_ has quit [Ping timeout: 250 seconds]
00:56
cdg has quit [Ping timeout: 276 seconds]
00:56
dviola has joined #ruby
00:56
chiggins has joined #ruby
00:57
<
chiggins >
Are there any good Gems out there for doing conversions between various cryptocurrancies?
01:00
PaulCapestany has quit [Read error: Connection reset by peer]
01:01
lupine has quit [Remote host closed the connection]
01:01
PaulCapestany has joined #ruby
01:02
michaelzinn has joined #ruby
01:02
lupine has joined #ruby
01:03
GodFather has joined #ruby
01:07
jenrzzz has joined #ruby
01:07
jenrzzz has quit [Changing host]
01:07
jenrzzz has joined #ruby
01:07
michaelzinn has quit [Ping timeout: 260 seconds]
01:08
<
pragmatism >
Not that I'm aware of. That would be a pretty easy scraper to write though
01:09
<
pragmatism >
good idea for an intro project
01:09
charliesome has joined #ruby
01:12
vircung has joined #ruby
01:13
GodFather has quit [Ping timeout: 240 seconds]
01:14
herbmillerjr has quit [Quit: Konversation terminated!]
01:19
mfb2 has quit [Remote host closed the connection]
01:20
chouhoulis has joined #ruby
01:23
SeepingN has quit [Quit: The system is going down for reboot NOW!]
01:24
foobarker has joined #ruby
01:24
ramfjord has quit [Ping timeout: 240 seconds]
01:25
<
chiggins >
Working like a charm for the most part :)
01:26
nofxx_ has joined #ruby
01:26
herbmillerjr has joined #ruby
01:26
shinnya has quit [Ping timeout: 248 seconds]
01:27
uZiel has joined #ruby
01:27
foobarker has quit [Quit: Leaving]
01:29
nofxx__ has quit [Ping timeout: 264 seconds]
01:32
<
pragmatism >
That's legit.
01:39
bmurt has quit [Ping timeout: 252 seconds]
01:40
cagomez has quit [Remote host closed the connection]
01:41
gizmore has quit [Remote host closed the connection]
01:41
goyox86 has quit [Ping timeout: 248 seconds]
01:41
plexigras has quit [Ping timeout: 255 seconds]
01:42
chmurifree has quit [Ping timeout: 248 seconds]
01:44
marr has quit [Ping timeout: 260 seconds]
01:47
bmurt has joined #ruby
01:49
chmurifree has joined #ruby
01:49
<
basket >
>> [1, 2, 3].reject &:even?
01:52
herbmillerjr has quit [Quit: Konversation terminated!]
01:54
byte512 has quit [Ping timeout: 258 seconds]
01:55
byte512 has joined #ruby
01:55
herbmillerjr has joined #ruby
01:56
jenrzzz has quit [Ping timeout: 248 seconds]
01:58
plexigras has joined #ruby
02:02
herbmillerjr has quit [Quit: Konversation terminated!]
02:03
justicefries has joined #ruby
02:05
michaelzinn has joined #ruby
02:05
silvermine has joined #ruby
02:07
guardianx has quit []
02:08
chouhoulis has quit [Remote host closed the connection]
02:09
michaelzinn has quit [Ping timeout: 240 seconds]
02:10
tvw has quit [Ping timeout: 276 seconds]
02:10
ramfjord has joined #ruby
02:12
soulisson has quit [Quit: Leaving]
02:16
mson has quit [Quit: Connection closed for inactivity]
02:16
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
02:16
qmr has quit [Ping timeout: 240 seconds]
02:17
Ropeney has joined #ruby
02:19
brixen has quit [Ping timeout: 248 seconds]
02:20
troys is now known as troys_
02:22
mson has joined #ruby
02:23
brent__ has quit [Quit: Connection closed for inactivity]
02:25
Dimik has quit [Ping timeout: 268 seconds]
02:26
michaelzinn has joined #ruby
02:26
ResidentBiscuit has joined #ruby
02:27
ResidentBiscuit has quit [Client Quit]
02:27
zanoni has quit [Ping timeout: 240 seconds]
02:28
brixen has joined #ruby
02:28
mim1k has joined #ruby
02:28
ivanskie has joined #ruby
02:29
\13k has quit [Ping timeout: 240 seconds]
02:29
orbyt_ has joined #ruby
02:32
michaelzinn has quit [Ping timeout: 276 seconds]
02:32
mim1k has quit [Ping timeout: 240 seconds]
02:32
vircung has quit [Remote host closed the connection]
02:33
deadpoet has quit [Ping timeout: 240 seconds]
02:33
uZiel has quit [Ping timeout: 248 seconds]
02:37
vircung has joined #ruby
02:38
leitz has quit [Quit: Nappy time]
02:39
\13k has joined #ruby
02:40
deadpoet has joined #ruby
02:40
woodruffw has quit [Read error: Connection reset by peer]
02:41
woodruffw has joined #ruby
02:41
woodruffw has joined #ruby
02:42
yeticry has quit [Remote host closed the connection]
02:42
yeticry has joined #ruby
02:45
eckhardt has joined #ruby
02:45
John____ has quit [Read error: Connection reset by peer]
02:46
ivanskie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:47
ResidentBiscuit has joined #ruby
02:54
charliesome has quit [Ping timeout: 260 seconds]
02:54
woodruffw has quit [Ping timeout: 240 seconds]
02:54
charliesome has joined #ruby
02:56
woodruffw has joined #ruby
02:56
woodruffw has joined #ruby
02:58
gil_ has quit [Ping timeout: 255 seconds]
02:58
gil_ has joined #ruby
02:58
gil_ has quit [Changing host]
02:58
gil_ has joined #ruby
02:58
woodruffw has quit [Read error: Connection reset by peer]
02:59
charliesome_ has joined #ruby
02:59
woodruffw has joined #ruby
02:59
woodruffw has joined #ruby
03:00
cadillac_ has quit [Quit: I quit]
03:00
charliesome has quit [Ping timeout: 276 seconds]
03:00
cadillac_ has joined #ruby
03:00
d^sh has quit [Ping timeout: 240 seconds]
03:01
d^sh has joined #ruby
03:02
troys_ is now known as troys
03:03
sspreitz has quit [Ping timeout: 276 seconds]
03:04
woodruffw has quit [Ping timeout: 255 seconds]
03:04
sspreitz has joined #ruby
03:05
Mia has quit [Read error: Connection reset by peer]
03:06
woodruffw has joined #ruby
03:06
woodruffw has joined #ruby
03:08
quobo has quit [Quit: Connection closed for inactivity]
03:11
woodruffw has quit [Read error: Connection reset by peer]
03:14
jenrzzz has joined #ruby
03:14
vircung has quit [Ping timeout: 240 seconds]
03:14
enterprisey has joined #ruby
03:17
woodruffw has joined #ruby
03:17
woodruffw has joined #ruby
03:19
dstrunk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:20
fnodeuser has joined #ruby
03:21
fnodeuser has left #ruby [#ruby]
03:22
ResidentBiscuit has quit []
03:24
vircung has joined #ruby
03:25
uZiel has joined #ruby
03:26
guacamole has joined #ruby
03:28
woodruffw has quit [Ping timeout: 276 seconds]
03:29
vircung has quit [Ping timeout: 240 seconds]
03:29
michaelzinn has joined #ruby
03:31
pilne has quit [Quit: Quitting!]
03:33
woodruffw has joined #ruby
03:33
woodruffw has joined #ruby
03:33
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:33
conta has joined #ruby
03:33
michaelzinn has quit [Ping timeout: 248 seconds]
03:34
kitsunenokenja has quit [Ping timeout: 240 seconds]
03:35
dviola has quit [Quit: WeeChat 1.9.1]
03:36
justicefries has joined #ruby
03:36
ivanskie has joined #ruby
03:37
conta has quit [Ping timeout: 248 seconds]
03:38
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
03:40
minimalism has quit [Quit: minimalism]
03:42
ixti has joined #ruby
03:43
ixti has quit [Client Quit]
03:46
ivanskie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:46
vircung has joined #ruby
03:48
mjolnird has quit [Remote host closed the connection]
03:53
woodruffw has quit [Quit: And then he took off.]
03:53
jackjackdripper has joined #ruby
03:54
Ropeney has joined #ruby
03:57
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:57
nadir has joined #ruby
03:59
justicefries has joined #ruby
04:00
Todd has joined #ruby
04:02
justicefries has quit [Client Quit]
04:05
justicefries has joined #ruby
04:06
cdg has joined #ruby
04:07
lytol has quit [Remote host closed the connection]
04:07
woodruffw has joined #ruby
04:07
woodruffw has quit [Changing host]
04:07
woodruffw has joined #ruby
04:08
esObe has quit [Ping timeout: 258 seconds]
04:08
esObe has joined #ruby
04:10
justicefries has quit [Client Quit]
04:12
woodruffw has quit [Ping timeout: 248 seconds]
04:13
justicefries has joined #ruby
04:13
justicefries has quit [Client Quit]
04:14
justicefries has joined #ruby
04:19
dstrunk has joined #ruby
04:19
woodruffw has joined #ruby
04:19
woodruffw has joined #ruby
04:19
dstrunk has quit [Client Quit]
04:20
ramortegui has quit [Quit: This computer has gone to sleep]
04:22
jxv has joined #ruby
04:23
jamesaxl has joined #ruby
04:24
jackjackdripper has quit [Quit: Leaving.]
04:25
woodruffw has quit [Read error: Connection reset by peer]
04:25
woodruffw has joined #ruby
04:25
woodruffw has joined #ruby
04:25
jackjackdripper has joined #ruby
04:27
bmurt has quit [Ping timeout: 240 seconds]
04:28
mim1k has joined #ruby
04:29
jxv has joined #ruby
04:29
qqmash has joined #ruby
04:30
michaelzinn has joined #ruby
04:32
guacamole has quit [Quit: My face has gone to sleep. ZZZzzz…]
04:33
ur5us has quit [Remote host closed the connection]
04:33
mim1k has quit [Ping timeout: 255 seconds]
04:34
michaelzinn has quit [Ping timeout: 240 seconds]
04:35
bmurt has joined #ruby
04:37
Puffball has quit [Remote host closed the connection]
04:38
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
04:40
Puffball has joined #ruby
04:40
Ropeney has joined #ruby
04:41
noobineer has joined #ruby
04:41
noobineer has quit [Max SendQ exceeded]
04:43
kies has quit [Ping timeout: 240 seconds]
04:44
Rr4sT has joined #ruby
04:45
rabajaj has joined #ruby
04:45
gix has joined #ruby
04:47
gix- has quit [Ping timeout: 260 seconds]
04:48
cdg has quit [Remote host closed the connection]
04:48
cdg has joined #ruby
04:53
cdg has quit [Ping timeout: 255 seconds]
04:56
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:04
CustosLimen has quit [Ping timeout: 252 seconds]
05:05
mithesh109 has joined #ruby
05:05
vircung has quit [Remote host closed the connection]
05:05
CustosLimen has joined #ruby
05:05
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
05:06
Ropeney has joined #ruby
05:07
mithesh109_ has joined #ruby
05:07
ttrx has joined #ruby
05:08
ttrx has quit [Client Quit]
05:08
jackjackdripper has quit [Quit: Leaving.]
05:08
agent_white has joined #ruby
05:10
vircung has joined #ruby
05:11
govg has joined #ruby
05:17
whippythellama has quit [Quit: WeeChat 1.4]
05:22
christiandsg has joined #ruby
05:24
vondruch has quit [Quit: vondruch]
05:24
vondruch has joined #ruby
05:27
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:27
justicefries has joined #ruby
05:28
exhiled has joined #ruby
05:29
vondruch has quit [Client Quit]
05:29
vondruch has joined #ruby
05:29
silvermine has quit [Ping timeout: 240 seconds]
05:30
reallycooldude has quit [Ping timeout: 258 seconds]
05:31
iamarun has joined #ruby
05:31
k3rn31 has joined #ruby
05:31
silvermine has joined #ruby
05:32
michaelzinn has joined #ruby
05:32
reallycooldude has joined #ruby
05:33
herbmillerjr has joined #ruby
05:35
conta has joined #ruby
05:35
mim1k has joined #ruby
05:36
michaelzinn has quit [Ping timeout: 248 seconds]
05:39
christiandsg has quit [Remote host closed the connection]
05:40
conta has quit [Ping timeout: 268 seconds]
05:41
mim1k has quit [Ping timeout: 276 seconds]
05:41
joker5bb_ has quit [Ping timeout: 276 seconds]
05:43
reallycooldude has quit [Ping timeout: 248 seconds]
05:46
fnodeuser has joined #ruby
05:47
fnodeuser has left #ruby [#ruby]
05:48
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:49
qqmash has quit [Quit: Leaving.]
05:49
vircung has quit [Ping timeout: 240 seconds]
05:49
Dimik has joined #ruby
05:50
joker5bb has joined #ruby
05:54
christiandsg has joined #ruby
05:55
Todd has quit [Remote host closed the connection]
05:56
anisha has joined #ruby
05:57
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:58
reber has joined #ruby
05:59
vircung has joined #ruby
06:01
jenrzzz has quit [Ping timeout: 240 seconds]
06:01
christiandsg has quit [Remote host closed the connection]
06:02
reallycooldude has joined #ruby
06:04
vircung has quit [Ping timeout: 248 seconds]
06:05
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:07
houhoulis has quit [Remote host closed the connection]
06:08
houhoulis has joined #ruby
06:08
jxv has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:12
houhoulis has quit [Ping timeout: 248 seconds]
06:13
anisha has quit [Read error: Connection reset by peer]
06:15
helpa has quit [Remote host closed the connection]
06:15
helpa-bot has joined #ruby
06:17
anisha has joined #ruby
06:17
helpa-bot has quit [Remote host closed the connection]
06:17
helpa has joined #ruby
06:20
mfb2 has joined #ruby
06:23
LocaMocha has joined #ruby
06:24
vircung has joined #ruby
06:24
silvermi1 has joined #ruby
06:24
mfb2 has quit [Ping timeout: 240 seconds]
06:25
miskatonic has joined #ruby
06:25
kies has joined #ruby
06:25
silvermi1 has quit [Client Quit]
06:25
silvermi1 has joined #ruby
06:26
silvermi1 has quit [Client Quit]
06:27
jameser has quit [Ping timeout: 248 seconds]
06:27
jxv has joined #ruby
06:27
silvermi1 has joined #ruby
06:28
silvermine has quit [Ping timeout: 276 seconds]
06:28
jameser has joined #ruby
06:28
Cohedrin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:29
Puffball has quit [Remote host closed the connection]
06:30
silvermi1 has left #ruby [#ruby]
06:32
silvermine has joined #ruby
06:32
Puffball has joined #ruby
06:33
silvermine has quit [Quit: WeeChat 2.0-dev]
06:33
silvermine has joined #ruby
06:33
michaelzinn has joined #ruby
06:36
oleo has quit [Quit: Leaving]
06:38
michaelzinn has quit [Ping timeout: 248 seconds]
06:39
ur5us has joined #ruby
06:39
agent_white has quit [Ping timeout: 250 seconds]
06:39
biberu has joined #ruby
06:40
Puffball has quit [Remote host closed the connection]
06:40
ta_ has quit [Remote host closed the connection]
06:40
Puffball has joined #ruby
06:47
muelleme has joined #ruby
06:52
mjolnird has joined #ruby
06:52
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:53
Dark_Arc has quit [Ping timeout: 268 seconds]
06:54
Rr4sT has quit [Quit: Connection closed for inactivity]
06:56
mson has quit [Quit: Connection closed for inactivity]
06:57
pwnd_nsfw has quit [Quit: Leaving]
07:02
vircung has quit [Ping timeout: 248 seconds]
07:03
ivanskie has joined #ruby
07:04
charliesome_ has quit [Ping timeout: 255 seconds]
07:05
charliesome has joined #ruby
07:09
vircung has joined #ruby
07:09
uZiel has quit [Remote host closed the connection]
07:10
uZiel has joined #ruby
07:10
Cra2yZer0 has quit [Ping timeout: 276 seconds]
07:13
imaprog_ has joined #ruby
07:13
charliesome has quit [Ping timeout: 255 seconds]
07:15
imaprog_ has quit [Client Quit]
07:20
jameser_ has joined #ruby
07:20
despai has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:20
lupine has quit [Remote host closed the connection]
07:22
lupine has joined #ruby
07:23
jameser has quit [Ping timeout: 240 seconds]
07:24
Cohedrin has joined #ruby
07:24
muelleme has quit [Ping timeout: 260 seconds]
07:25
charliesome has joined #ruby
07:28
zenspider has joined #ruby
07:30
charliesome has quit [Ping timeout: 276 seconds]
07:32
jameser_ has quit [Read error: Connection reset by peer]
07:33
agent_white has joined #ruby
07:34
zenspider has quit [Quit: bye]
07:35
vircung has quit [Ping timeout: 276 seconds]
07:35
jameser has joined #ruby
07:36
conta has joined #ruby
07:38
conta has quit [Read error: Connection reset by peer]
07:39
conta has joined #ruby
07:43
bruce_lee has joined #ruby
07:49
cdg has joined #ruby
07:53
cdg has quit [Ping timeout: 258 seconds]
07:54
ta_ has joined #ruby
07:55
jameser has quit [Read error: Connection reset by peer]
07:55
jameser has joined #ruby
08:00
quobo has joined #ruby
08:02
jrabe has joined #ruby
08:05
hs366 has joined #ruby
08:05
bauruine has joined #ruby
08:10
aufi has joined #ruby
08:11
Dimik has quit [Ping timeout: 248 seconds]
08:16
ptx0 has quit [Ping timeout: 276 seconds]
08:18
postmodern has quit [Quit: Leaving]
08:20
kculpis has quit [Ping timeout: 255 seconds]
08:22
TomyWork has joined #ruby
08:22
troys has quit [Quit: Bye]
08:23
guille-moe has joined #ruby
08:25
jxv has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:29
michaelzinn has joined #ruby
08:32
mark_66 has joined #ruby
08:33
ur5us has quit [Remote host closed the connection]
08:36
jenrzzz has joined #ruby
08:39
deepredsky has joined #ruby
08:41
jenrzzz has quit [Ping timeout: 248 seconds]
08:44
ur5us has joined #ruby
08:44
ur5us has quit [Read error: Connection reset by peer]
08:45
aupadhye has joined #ruby
08:45
howdoi has joined #ruby
08:46
ur5us has joined #ruby
08:53
paranoicsan has joined #ruby
08:53
houhoulis has joined #ruby
08:58
guille-moe has quit [Ping timeout: 240 seconds]
09:04
Barrt has quit [Ping timeout: 250 seconds]
09:04
Mia has joined #ruby
09:04
Mia has quit [Changing host]
09:04
Mia has joined #ruby
09:05
Barrt has joined #ruby
09:05
vircung has joined #ruby
09:05
andikr has joined #ruby
09:11
mim1k has joined #ruby
09:17
michaelzinn has quit [Ping timeout: 248 seconds]
09:18
marr has joined #ruby
09:21
Cohedrin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:21
ana_ has joined #ruby
09:22
vircung has quit [Ping timeout: 246 seconds]
09:26
aufi has quit [Ping timeout: 240 seconds]
09:30
Burgestrand has joined #ruby
09:31
Barrt has quit [Ping timeout: 240 seconds]
09:31
guille-moe has joined #ruby
09:32
charliesome has joined #ruby
09:33
bkxd has joined #ruby
09:34
silvermine has quit [Ping timeout: 250 seconds]
09:37
houhoulis has quit [Remote host closed the connection]
09:37
ur5us has quit [Remote host closed the connection]
09:38
houhoulis has joined #ruby
09:39
InfinityFye has joined #ruby
09:40
tomphp has joined #ruby
09:41
aufi has joined #ruby
09:42
houhoulis has quit [Ping timeout: 248 seconds]
09:42
ramfjord has quit [Ping timeout: 268 seconds]
09:43
bigkevmcd has quit [Ping timeout: 276 seconds]
09:45
michaelzinn has joined #ruby
09:46
Barrt has joined #ruby
09:47
vircung has joined #ruby
09:50
vircung has quit [Remote host closed the connection]
09:51
bigkevmcd has joined #ruby
09:51
Beams has joined #ruby
09:54
vircung has joined #ruby
09:59
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:01
tomphp has joined #ruby
10:01
tomphp has quit [Client Quit]
10:02
jnyw has quit [Quit: WeeChat 1.9.1]
10:02
ShalokShalom has quit [Remote host closed the connection]
10:03
aufi has quit [Ping timeout: 276 seconds]
10:03
alex`` has joined #ruby
10:03
bkxd has quit [Ping timeout: 276 seconds]
10:04
alex`` is now known as alexherbo2
10:04
alexherbo2 is now known as alex``
10:07
bkxd has joined #ruby
10:15
aufi has joined #ruby
10:16
Serpent7776 has joined #ruby
10:21
mfb2 has joined #ruby
10:23
paranoicsan has quit [Quit: paranoicsan]
10:23
larcara has joined #ruby
10:26
mfb2 has quit [Ping timeout: 276 seconds]
10:27
enterprisey has quit [Remote host closed the connection]
10:28
jottr has joined #ruby
10:28
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:32
bkxd has quit [Ping timeout: 268 seconds]
10:34
RevanOne has quit [Ping timeout: 246 seconds]
10:37
bkxd has joined #ruby
10:37
minimalism has joined #ruby
10:38
cdg has joined #ruby
10:38
deepreds1 has joined #ruby
10:38
naprimer has joined #ruby
10:39
cdg_ has joined #ruby
10:40
vircung has quit [Ping timeout: 264 seconds]
10:41
deepredsky has quit [Ping timeout: 248 seconds]
10:42
cdg has quit [Ping timeout: 258 seconds]
10:42
tvw has joined #ruby
10:43
cdg_ has quit [Ping timeout: 240 seconds]
10:46
dinfuehr_ has joined #ruby
10:46
dinfuehr has quit [Ping timeout: 276 seconds]
10:48
S007 has quit [Ping timeout: 240 seconds]
10:48
despai has joined #ruby
10:52
jaruga has joined #ruby
10:53
bkxd_ has joined #ruby
10:55
michaelzinn1 has joined #ruby
10:55
ldnunes has joined #ruby
10:55
bkxd has quit [Ping timeout: 240 seconds]
10:57
michaelzinn has quit [Ping timeout: 248 seconds]
10:58
enterprisey has joined #ruby
10:59
enterprisey has quit [Remote host closed the connection]
10:59
aupadhye has quit [Ping timeout: 248 seconds]
11:00
drowze has joined #ruby
11:00
cdg has joined #ruby
11:04
cdg has quit [Ping timeout: 258 seconds]
11:05
bkxd_ has quit [Ping timeout: 240 seconds]
11:07
michaelzinn1 has quit [Ping timeout: 240 seconds]
11:08
vircung has joined #ruby
11:09
charliesome_ has joined #ruby
11:09
charliesome has quit [Ping timeout: 240 seconds]
11:10
gnufied has quit [Ping timeout: 240 seconds]
11:11
bkxd has joined #ruby
11:12
mkroman has quit [Ping timeout: 248 seconds]
11:13
leitao has joined #ruby
11:15
bkxd has quit [Ping timeout: 264 seconds]
11:17
nowhereman_ has quit [Remote host closed the connection]
11:18
nowhereman_ has joined #ruby
11:20
deadpoet has left #ruby [#ruby]
11:20
woodruffw has quit [Read error: Connection reset by peer]
11:21
<
argoneus >
are there any special requirements to overriding []=? for some reason my program doesn't work as intended and I can't figure out why
11:21
rabajaj has quit [Quit: Leaving]
11:22
GodFather has joined #ruby
11:23
tcopeland has quit [Quit: tcopeland]
11:23
mson has joined #ruby
11:23
agent_white has quit [Quit: bai]
11:24
<
argoneus >
my signature is def []=(*args), but for some reason when I do Grid[x] = 5 it doesn't get called at all
11:26
despai has quit [Ping timeout: 276 seconds]
11:26
<
argoneus >
any idea why this could be?
11:28
<
argoneus >
oh, I'm an idiot
11:28
<
argoneus >
bla[x][y] is different from bla[x, y]
11:28
<
argoneus >
good to know
11:29
michaelzinn1 has joined #ruby
11:29
bkxd has joined #ruby
11:29
raynold has quit [Quit: Connection closed for inactivity]
11:31
drowze has quit [Read error: Connection reset by peer]
11:31
aupadhye has joined #ruby
11:32
kspencer has quit []
11:33
kspencer has joined #ruby
11:33
tobiasvl has quit [Quit: Fedora 27]
11:36
iamarun has quit [Remote host closed the connection]
11:37
apparition has joined #ruby
11:38
ramfjord has joined #ruby
11:39
bkxd has quit [Ping timeout: 252 seconds]
11:41
nowhereman_ has quit [Remote host closed the connection]
11:41
nowhereman_ has joined #ruby
11:42
bkxd has joined #ruby
11:42
guille-moe has quit [Remote host closed the connection]
11:42
ramfjord has quit [Ping timeout: 240 seconds]
11:43
jottr has quit [Ping timeout: 255 seconds]
11:46
gnufied has joined #ruby
11:46
bkxd has quit [Ping timeout: 248 seconds]
11:49
larcara has quit [Remote host closed the connection]
11:49
larcara has joined #ruby
11:54
jottr has joined #ruby
11:54
larcara has quit [Ping timeout: 240 seconds]
11:55
ta_ has quit [Remote host closed the connection]
11:58
<
ineb >
argoneus: yes, use #dig if you want. bla.dig(x,y) is bla[x][y]
12:00
aufi has quit [Ping timeout: 240 seconds]
12:00
cadillac_ has quit [Ping timeout: 248 seconds]
12:02
aupadhye has quit [Ping timeout: 248 seconds]
12:04
gnufied has quit [Ping timeout: 276 seconds]
12:05
cadillac_ has joined #ruby
12:06
Psybur has joined #ruby
12:08
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:10
deepredsky has joined #ruby
12:11
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:13
deepreds1 has quit [Ping timeout: 268 seconds]
12:14
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
12:17
Yzguy has joined #ruby
12:19
DTZUZO has quit [Read error: No route to host]
12:20
vircung has quit [Remote host closed the connection]
12:20
larcara has joined #ruby
12:21
tcopeland has joined #ruby
12:22
tvl has joined #ruby
12:22
tvl is now known as tobiasvl
12:24
vircung has joined #ruby
12:25
Cra2yZer0 has joined #ruby
12:26
jottr has quit [Ping timeout: 248 seconds]
12:27
aufi has joined #ruby
12:31
aupadhye has joined #ruby
12:37
uZiel has quit [Ping timeout: 248 seconds]
12:37
michaelzinn1 has quit [Quit: kwit]
12:38
ramfjord has joined #ruby
12:39
Guest51 has joined #ruby
12:39
Guest51 is now known as fribmendes
12:39
fribmendes has quit [Changing host]
12:39
fribmendes has joined #ruby
12:41
Yzguy has quit [Quit: Zzz...]
12:41
fribmendes has quit [Client Quit]
12:42
fribmendes has joined #ruby
12:42
mim1k has quit [Ping timeout: 252 seconds]
12:43
ramfjord has quit [Ping timeout: 268 seconds]
12:43
nowhere_man has joined #ruby
12:44
mim1k has joined #ruby
12:47
nowhereman_ has quit [Ping timeout: 276 seconds]
12:47
ta_ has joined #ruby
12:50
ldnunes has quit [Ping timeout: 240 seconds]
12:50
cdg has joined #ruby
12:51
pwnd_nsfw has joined #ruby
12:51
gnufied has joined #ruby
12:54
cdg has quit [Ping timeout: 248 seconds]
12:56
fribmendes has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:59
deepreds1 has joined #ruby
12:59
nowhere_man has quit [Remote host closed the connection]
13:00
nowhere_man has joined #ruby
13:00
hs366 has quit [Quit: Leaving]
13:01
mim1k has quit [Ping timeout: 240 seconds]
13:01
deepredsky has quit [Ping timeout: 248 seconds]
13:01
jeffreylevesque has quit [Ping timeout: 248 seconds]
13:02
Tempesta has quit [Read error: Connection reset by peer]
13:02
iceden has quit [Ping timeout: 240 seconds]
13:02
ldnunes has joined #ruby
13:02
Tempesta has joined #ruby
13:02
Tempesta has joined #ruby
13:05
mim1k has joined #ruby
13:05
gnufied has quit [Ping timeout: 252 seconds]
13:07
iceden has joined #ruby
13:07
stan has joined #ruby
13:08
dstrunk has joined #ruby
13:09
rfoust has joined #ruby
13:09
synthroid has joined #ruby
13:11
<
stan >
can anyone recommend a gem/library/code to round a DateTime object to the nearest minute?
13:13
tacoboy has quit [Ping timeout: 240 seconds]
13:14
tacoboy has joined #ruby
13:14
larcara has quit [Remote host closed the connection]
13:15
larcara has joined #ruby
13:15
lolcats420 has joined #ruby
13:15
dionysus70 has joined #ruby
13:17
<
darix >
stan: check active_support maybe?
13:21
mfb2 has joined #ruby
13:21
howdoi has quit [Quit: Connection closed for inactivity]
13:21
sonOfRa has quit [Remote host closed the connection]
13:21
jottr has joined #ruby
13:22
lolcats420 is now known as imightbestupid12
13:24
sonOfRa has joined #ruby
13:25
mfb2 has quit [Ping timeout: 240 seconds]
13:28
dn` has quit [Ping timeout: 240 seconds]
13:29
plexigras has quit [Ping timeout: 248 seconds]
13:29
larcara has quit [Remote host closed the connection]
13:29
ineb has quit [Ping timeout: 240 seconds]
13:31
gnufied has joined #ruby
13:34
truenito has joined #ruby
13:36
Puffball has quit [Remote host closed the connection]
13:36
jamesaxl has quit [Ping timeout: 248 seconds]
13:36
despai has joined #ruby
13:37
paranoicsan has joined #ruby
13:37
jeffreylevesque has joined #ruby
13:37
nowhere_man has quit [Remote host closed the connection]
13:38
nowhere_man has joined #ruby
13:38
Cra2yZer0 has quit [Ping timeout: 240 seconds]
13:38
Puffball has joined #ruby
13:41
Cra2yZer0 has joined #ruby
13:45
mim1k has quit [Ping timeout: 258 seconds]
13:46
larcara has joined #ruby
13:47
bmurt has joined #ruby
13:47
mim1k has joined #ruby
13:48
guille-moe has joined #ruby
13:48
Cra2yZer0 has quit [Remote host closed the connection]
13:48
Cra2yZer0 has joined #ruby
13:51
paranoicsan has quit [Quit: paranoicsan]
13:55
anisha has quit [Quit: Leaving]
13:56
sepp2k has joined #ruby
13:58
Puffball has quit [Remote host closed the connection]
14:02
Puffball has joined #ruby
14:03
cdg has joined #ruby
14:03
yokel has joined #ruby
14:04
miskatonic has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
14:05
John____ has joined #ruby
14:07
mim1k has quit [Ping timeout: 276 seconds]
14:08
mim1k has joined #ruby
14:09
synthroi_ has joined #ruby
14:10
wolakkk has joined #ruby
14:10
cdg_ has joined #ruby
14:12
synthroid has quit [Ping timeout: 240 seconds]
14:13
ramortegui has joined #ruby
14:13
polishdub has joined #ruby
14:14
GodFather has quit [Ping timeout: 240 seconds]
14:14
larcara has quit [Remote host closed the connection]
14:14
cdg has quit [Ping timeout: 276 seconds]
14:14
marr has quit [Remote host closed the connection]
14:14
larcara has joined #ruby
14:15
ramortegui has quit [Client Quit]
14:15
fribmendes has joined #ruby
14:16
vircung has quit [Ping timeout: 276 seconds]
14:16
GodFather has joined #ruby
14:19
fribmendes has quit [Client Quit]
14:21
woodruffw has joined #ruby
14:21
woodruffw has joined #ruby
14:24
vircung has joined #ruby
14:26
jxv has joined #ruby
14:27
DLSteve has joined #ruby
14:28
ineb has joined #ruby
14:29
jeffreylevesque_ has joined #ruby
14:29
jeffreylevesque has quit [Ping timeout: 240 seconds]
14:30
bmurt has quit [Ping timeout: 260 seconds]
14:30
krawchyk has joined #ruby
14:30
vircung has quit [Remote host closed the connection]
14:33
John____ has quit [Read error: Connection reset by peer]
14:33
justicefries has joined #ruby
14:34
dn` has joined #ruby
14:35
apparition has quit [Quit: Bye]
14:35
vircung has joined #ruby
14:38
ramfjord has joined #ruby
14:40
Puffball has quit [Remote host closed the connection]
14:41
gnufied has quit [Ping timeout: 246 seconds]
14:42
oleo has joined #ruby
14:43
ramfjord has quit [Ping timeout: 250 seconds]
14:48
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:49
deepreds1 has quit [Ping timeout: 276 seconds]
14:52
<
dminuoso >
ineb: Considering that ActiveSupport sets this on Hash rather than Object, that generally does not hold true.
14:53
<
dminuoso >
Also digf short circuits.
14:53
gnufied has joined #ruby
14:53
<
dminuoso >
bla.dig(x,y) is bla&.[](x)&.[](y)
14:53
<
dminuoso >
For Hash anyway when AS is loaded.
14:54
GodFather has quit [Read error: Connection reset by peer]
14:54
GodFather has joined #ruby
14:55
nerium has joined #ruby
14:56
al2o3-cr has quit [Ping timeout: 240 seconds]
14:57
dinfuehr_ has quit [Ping timeout: 240 seconds]
14:58
deepreds1 has joined #ruby
15:00
fribmendes has joined #ruby
15:00
charliesome_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
15:00
cdg_ has quit [Remote host closed the connection]
15:00
dinfuehr has joined #ruby
15:01
miskatonic has joined #ruby
15:02
cdg has joined #ruby
15:02
cdg has quit [Remote host closed the connection]
15:02
cdg has joined #ruby
15:02
jottr has quit [Ping timeout: 240 seconds]
15:03
Cohedrin has joined #ruby
15:03
eckhardt has joined #ruby
15:04
jottr has joined #ruby
15:05
justicefries has joined #ruby
15:06
marr has joined #ruby
15:07
deepredsky has joined #ruby
15:09
deepreds1 has quit [Ping timeout: 255 seconds]
15:12
jottr has quit [Ping timeout: 268 seconds]
15:13
safetypin has joined #ruby
15:13
tvw has quit [Remote host closed the connection]
15:14
jottr has joined #ruby
15:14
dviola has joined #ruby
15:16
shinnya has joined #ruby
15:17
deepredsky has quit [Ping timeout: 240 seconds]
15:18
Rapture has joined #ruby
15:19
ana_ has quit [Quit: Leaving]
15:20
vee__ has quit [Ping timeout: 248 seconds]
15:22
cdg has quit [Remote host closed the connection]
15:24
cdg has joined #ruby
15:24
vircung has quit [Ping timeout: 240 seconds]
15:25
ericx2x has joined #ruby
15:25
vee__ has joined #ruby
15:25
cdg has quit [Remote host closed the connection]
15:26
cdg has joined #ruby
15:27
Cohedrin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:28
ericx2x has quit [Client Quit]
15:28
Dark_Arc has joined #ruby
15:31
nowhere_man has quit [Remote host closed the connection]
15:32
nowhere_man has joined #ruby
15:33
krawchyk_ has joined #ruby
15:33
krawchyk has quit [Ping timeout: 276 seconds]
15:36
anisha has joined #ruby
15:36
FrankD has joined #ruby
15:36
InfinityFye has quit [Ping timeout: 276 seconds]
15:37
InfinityFye has joined #ruby
15:37
skweek has joined #ruby
15:37
dinfuehr has quit [Ping timeout: 276 seconds]
15:37
dinfuehr has joined #ruby
15:42
kculpis has joined #ruby
15:42
vircung has joined #ruby
15:43
nerium has quit [Quit: nerium]
15:44
anisha has quit [Quit: Leaving]
15:46
rippa has joined #ruby
15:52
nerium has joined #ruby
15:52
larcara has quit []
15:58
krawchyk_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:59
TomyWork has quit [Ping timeout: 240 seconds]
16:01
helpa has quit [Remote host closed the connection]
16:01
fyrril has quit [Read error: Connection reset by peer]
16:01
hdaugherty has joined #ruby
16:01
helpa-bot has joined #ruby
16:01
fyrril has joined #ruby
16:01
iamarun has joined #ruby
16:03
helpa-bot has quit [Remote host closed the connection]
16:03
gizmore has joined #ruby
16:03
helpa has joined #ruby
16:05
marxarelli|afk has quit [Ping timeout: 268 seconds]
16:06
Burgestrand has quit [Quit: Closing time!]
16:10
nowhere_man has quit [Ping timeout: 268 seconds]
16:13
deepredsky has joined #ruby
16:17
deepredsky has quit [Ping timeout: 276 seconds]
16:18
synthroi_ has quit [Remote host closed the connection]
16:18
nichtspez has joined #ruby
16:19
synthroid has joined #ruby
16:19
synthroid has quit [Read error: Connection reset by peer]
16:20
TomyLobo has joined #ruby
16:20
synthroid has joined #ruby
16:20
synthroid has quit [Read error: Connection reset by peer]
16:21
synthroid has joined #ruby
16:21
synthroid has quit [Read error: Connection reset by peer]
16:21
conta has quit [Quit: conta]
16:22
synthroid has joined #ruby
16:22
conta has joined #ruby
16:22
synthroid has quit [Read error: Connection reset by peer]
16:22
Rapture has joined #ruby
16:22
synthroid has joined #ruby
16:23
synthroid has quit [Read error: Connection reset by peer]
16:23
uZiel has joined #ruby
16:23
synthroid has joined #ruby
16:24
synthroid has quit [Read error: Connection reset by peer]
16:24
nerium has quit [Quit: nerium]
16:24
deepredsky has joined #ruby
16:26
conta has quit [Ping timeout: 248 seconds]
16:27
safetypin has quit [Ping timeout: 248 seconds]
16:28
nerium has joined #ruby
16:29
deepredsky has quit [Ping timeout: 248 seconds]
16:30
dn` has quit [Read error: Connection reset by peer]
16:30
dn` has joined #ruby
16:32
thinkpad has quit [Ping timeout: 276 seconds]
16:33
gremax has joined #ruby
16:34
krawchyk has joined #ruby
16:36
tacoboy has quit [Read error: Connection reset by peer]
16:36
aufi has quit [Quit: Leaving]
16:36
nofxx_ has quit [Remote host closed the connection]
16:36
nofxx_ has joined #ruby
16:37
wolakkk has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
16:38
cagomez has joined #ruby
16:39
ramfjord has joined #ruby
16:39
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:40
Puffball has joined #ruby
16:42
mcr1 has quit [Ping timeout: 252 seconds]
16:43
mfb2 has joined #ruby
16:43
ramfjord has quit [Ping timeout: 248 seconds]
16:49
eckhardt has joined #ruby
16:51
vircung has quit [Remote host closed the connection]
16:52
nerium has quit [Quit: nerium]
16:52
rabajaj has joined #ruby
16:53
ericx2x_ has joined #ruby
16:54
jamesaxl has joined #ruby
16:55
DTZUZO has joined #ruby
16:55
vircung has joined #ruby
16:56
shinnya has quit [Ping timeout: 240 seconds]
16:58
nowhere_man has joined #ruby
16:58
safetypin has joined #ruby
16:59
moei has quit [Quit: Leaving...]
17:02
InfinityFye has quit [Quit: Leaving]
17:02
[Butch] has joined #ruby
17:03
ptx0 has joined #ruby
17:05
safetypin has quit [Quit: ZZZzzz…]
17:06
andikr has quit [Remote host closed the connection]
17:07
dionysus70 has quit [Ping timeout: 250 seconds]
17:07
GodFather has quit [Ping timeout: 240 seconds]
17:08
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:09
safetypin has joined #ruby
17:11
orbyt_ has joined #ruby
17:11
orbyt_ has quit [Client Quit]
17:15
exhiled has joined #ruby
17:17
conta2 has joined #ruby
17:18
krawchyk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:18
justicefries has joined #ruby
17:19
krawchyk has joined #ruby
17:19
troys has joined #ruby
17:20
Serpent7776 has quit [Quit: Leaving]
17:20
kyle__ has quit [Remote host closed the connection]
17:21
JaccoP has joined #ruby
17:22
kyle__ has joined #ruby
17:24
krawchyk has quit [Ping timeout: 268 seconds]
17:25
hdaugherty has quit [Ping timeout: 240 seconds]
17:27
iamarun has quit [Remote host closed the connection]
17:27
mcr1 has joined #ruby
17:29
krawchyk has joined #ruby
17:30
dviola has quit [Quit: WeeChat 1.9.1]
17:30
TheBrayn has quit [Ping timeout: 255 seconds]
17:32
zautomata1 has quit [Ping timeout: 260 seconds]
17:33
mcr1 has quit [Ping timeout: 268 seconds]
17:33
conta2 has quit [Read error: Connection reset by peer]
17:33
guille-moe has quit [Ping timeout: 260 seconds]
17:34
zautomata1 has joined #ruby
17:34
ericx2x_ has quit [Quit: Leaving]
17:35
banisterfiend has joined #ruby
17:35
TheBrayn has joined #ruby
17:37
deepredsky has joined #ruby
17:38
aupadhye has quit [Ping timeout: 240 seconds]
17:39
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:40
justicefries has joined #ruby
17:41
mfb2 has quit [Remote host closed the connection]
17:42
jgt has joined #ruby
17:42
deepredsky has quit [Ping timeout: 248 seconds]
17:43
nowhere_man has quit [Ping timeout: 276 seconds]
17:45
mim1k has quit [Ping timeout: 248 seconds]
17:45
kies has quit [Ping timeout: 240 seconds]
17:46
mkroman has joined #ruby
17:47
graft_ has joined #ruby
17:47
nofxx_ has quit [Remote host closed the connection]
17:48
nofxx_ has joined #ruby
17:48
Beams has quit [Quit: .]
17:50
code_zombie has joined #ruby
17:50
mark_66 has quit [Remote host closed the connection]
17:50
orbyt_ has joined #ruby
17:52
ramfjord has joined #ruby
17:53
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:53
mfb2 has joined #ruby
17:55
vircung has quit [Ping timeout: 248 seconds]
17:55
Ouchy has joined #ruby
17:55
Ouchy has quit [Changing host]
17:55
Ouchy has joined #ruby
17:59
mfb2 has quit [Ping timeout: 276 seconds]
18:00
rfoust has quit [Read error: Connection reset by peer]
18:00
mfb2 has joined #ruby
18:00
nofxx_ has quit [Remote host closed the connection]
18:00
rfoust has joined #ruby
18:01
nofxx_ has joined #ruby
18:01
muelleme has joined #ruby
18:02
Dimik has joined #ruby
18:06
lytol has joined #ruby
18:07
JaccoP has quit [Ping timeout: 250 seconds]
18:08
muelleme has quit [Ping timeout: 248 seconds]
18:10
nogic has joined #ruby
18:12
DTZUZO has quit [Read error: Connection reset by peer]
18:12
nofxx_ has quit [Ping timeout: 268 seconds]
18:13
coolno1 has joined #ruby
18:13
DTZUZU has quit [Read error: Connection reset by peer]
18:13
<
coolno1 >
how to run a thin ruby server in threaded mode
18:13
S007 has joined #ruby
18:14
moei has joined #ruby
18:14
<
coolno1 >
I have this code snippet and I want to make it multithreaded
18:14
<
coolno1 >
thin_server = Thin::Server.new('127.0.0.1', config.port, signals: false)
18:14
DTZUZO has joined #ruby
18:14
<
coolno1 >
I can see that only way is to pass --threaded
18:14
<
coolno1 >
How can I do the same for above
18:14
<
coolno1 >
code spet
18:15
DTZUZU has joined #ruby
18:18
claudiuinberlin has joined #ruby
18:18
justache is now known as McPrancerTinsleN
18:18
McPrancerTinsleN is now known as TinsleNipples
18:19
JaccoP has joined #ruby
18:19
TinsleNipples is now known as justache
18:20
mtkd has quit [Ping timeout: 240 seconds]
18:22
mtkd has joined #ruby
18:22
oetjenj has joined #ruby
18:27
nofxx_ has joined #ruby
18:27
dviola has joined #ruby
18:28
yabbes has joined #ruby
18:28
nofxx_ has quit [Remote host closed the connection]
18:30
deepredsky has joined #ruby
18:31
yeticry_ has joined #ruby
18:32
jottr has quit [Ping timeout: 248 seconds]
18:32
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:34
orbyt_ has quit [Ping timeout: 268 seconds]
18:35
troys is now known as troys_
18:35
tomphp has joined #ruby
18:35
yeticry has quit [Ping timeout: 268 seconds]
18:35
fusta has joined #ruby
18:35
deepredsky has quit [Ping timeout: 248 seconds]
18:36
nerium has joined #ruby
18:38
nerium has quit [Client Quit]
18:38
krawchyk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:38
conta2 has joined #ruby
18:40
QCF has joined #ruby
18:41
cagomez has quit [Remote host closed the connection]
18:42
QCF has quit [Client Quit]
18:42
kies has joined #ruby
18:43
pieter has joined #ruby
18:43
clemens3 has joined #ruby
18:45
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:51
cagomez has joined #ruby
18:51
<
TomyLobo >
coolno1, i dont know, have you read the help for Thin::Server's initializer?
18:51
<
TomyLobo >
rubydoc, regular documentation
18:52
marxarelli has joined #ruby
18:52
<
dminuoso >
havenwood, have you ever wondered why functional programming is not "the thing" to do in India?
18:52
<
dminuoso >
Didn't find an answer.
18:52
<
baweaver >
Same reason it isn't in the states
18:52
<
baweaver >
Schools teach Java, and most engineers are school to job, no extras
18:53
<
dminuoso >
"are school to job"?
18:53
<
baweaver >
They graduate school, get one job, stay there
18:53
<
kyle__ >
baweaver: Because it can be hellish to debug, most languages don't lend themselves towards it, and the need for side-effects means every language makes different choices for how pure it's FP is?
18:54
<
kyle__ >
s/it's/its/
18:54
ericx2x has joined #ruby
18:55
ericx2x has quit [Client Quit]
18:55
<
baweaver >
AbstractSingletonProxyFactoryBean
18:55
pieter has left #ruby ["Leaving"]
18:55
muelleme has joined #ruby
18:55
<
dminuoso >
baweaver, dont get me started.
18:56
<
dminuoso >
baweaver, I've managed to peek inside the Java code this company has been writing for our CRM tool. It's mindboggingly silly what kind of... "patterns".. they use.
18:56
<
baweaver >
hellish to debug is a side-effect of crap programming
18:56
<
dminuoso >
At times I wonder whether they just intentionally use sillily layered patterns to create the illusion of "complicated programs" to justify their high salaries.
18:56
<
baweaver >
Functional Programming is not inherently hard to debug
18:57
<
dminuoso >
Unless it is evaluated lazily.
18:57
<
dminuoso >
Then things get interesting. ;-)
18:57
<
baweaver >
you're just used to debugging in another paradigm
18:57
<
kyle__ >
baweaver: Granted, but the set of skills to know what is good and what isn't in imperative programming are different than in functional.
18:57
<
kyle__ >
dminuoso: lazy evaluation is amazingly fun :) Or at least, in haskell it is.
18:57
<
baweaver >
See "debugging in another paradigm"
18:58
* kyle__
wants to get back to haskell at some point.
18:58
<
dminuoso >
kyle__, indeed. Ive come to the conclusion that Haskell is incredibly easy to pick up. The main difficulty is not that the language is difficult, its just that its very
*different*
18:58
<
baweaver >
of course a Java person will hate Haskell off the bat. It's completely antithetical to everything they know, especially around debugging.
18:58
troys_ is now known as troys
18:58
<
baweaver >
So the further you learned into that camp the harder it is to see the other side clearly
18:59
<
baweaver >
conversely true as well
18:59
<
baweaver >
Haskell programmers tend to hate Java
18:59
<
dminuoso >
kyle__, I just started to step into dependent types (yes you can have them in Haskell too!). It made me wonder how I could ever live without them.
18:59
yeticry_ has quit [Ping timeout: 264 seconds]
19:00
<
baweaver >
Ruby is pretty well in the gateway drug category of FP
19:00
<
baweaver >
Same with Javascript
19:00
sameerynho has joined #ruby
19:00
yeticry has joined #ruby
19:00
<
kyle__ >
dependent types?
19:00
sameerynho has quit [Client Quit]
19:00
<
kyle__ >
I've never heard of those.... wonder if it's one of those things I've used and didn't know the right name for.
19:00
<
dminuoso >
kyle__, for example: zipWith (+) [1] [1,2]
19:00
<
dminuoso >
this will type check.
19:00
<
dminuoso >
It really shouldn't.
19:01
<
dminuoso >
Its the reason why things like head and tail seem to universally useful but are really bad to use
19:01
Ouchy`w has joined #ruby
19:02
<
dminuoso >
Its very unlikely you have "accidentally used dependent types in Haskell". Formally they are not supported, and it takes some encouragement to gain them
19:02
<
baweaver >
Then again dminuoso is bent on making Ruby into Haskell so...
19:02
Ouchy`w has quit [Client Quit]
19:04
Ouchy has quit [Ping timeout: 248 seconds]
19:05
yeticry has quit [Ping timeout: 240 seconds]
19:05
uZiel has quit [Remote host closed the connection]
19:07
jgt has quit [Ping timeout: 248 seconds]
19:08
nowhere_man has joined #ruby
19:08
coolno1 has quit [Ping timeout: 260 seconds]
19:10
wolakkk has joined #ruby
19:10
TinkerTyper has quit [Read error: Connection reset by peer]
19:11
rabajaj has quit [Remote host closed the connection]
19:11
bkxd has joined #ruby
19:12
chiggins has left #ruby ["WeeChat 1.7.1"]
19:12
TinkerTyper has joined #ruby
19:12
|ifei5good has quit [Ping timeout: 260 seconds]
19:16
mostlybadfly has joined #ruby
19:16
silvermine has joined #ruby
19:18
mim1k has joined #ruby
19:18
raynold has joined #ruby
19:19
jgt has joined #ruby
19:20
orbyt_ has joined #ruby
19:21
matejz has joined #ruby
19:21
urk187 has joined #ruby
19:22
nicesignal has quit [Remote host closed the connection]
19:22
vircung has joined #ruby
19:23
nicesignal has joined #ruby
19:24
jgt has quit [Ping timeout: 260 seconds]
19:24
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:26
yeticry has joined #ruby
19:28
bmurt has joined #ruby
19:28
conta3 has joined #ruby
19:29
Cohedrin has joined #ruby
19:29
LocaMocha has quit [Ping timeout: 240 seconds]
19:29
yabbes has quit [Ping timeout: 264 seconds]
19:30
jaruga has quit [Quit: jaruga]
19:33
bkxd_ has joined #ruby
19:33
conta3 has quit [Ping timeout: 260 seconds]
19:33
conta2 has quit [Remote host closed the connection]
19:34
justicefries has joined #ruby
19:35
deepredsky has joined #ruby
19:35
MrJoshua has joined #ruby
19:35
cdg_ has joined #ruby
19:35
bkxd has quit [Ping timeout: 240 seconds]
19:36
<
RickHull >
dminuoso: I think java hell comes from a side effect of java handcuffs. There is so much boilerplate and restrictions on expression that it's hard to
*design* programs
19:36
<
RickHull >
instead they use an accretion and agglomeration model
19:37
<
RickHull >
a little bit of code doesn't do very much, and we need to do more, so we add more code
19:37
zanoni has joined #ruby
19:38
<
RickHull >
take fresh grads from a degree mill, and they have little design sense to start with -- little ability to question "is this the right approach?"
19:38
Mia has quit [Ping timeout: 276 seconds]
19:38
cdg has quit [Ping timeout: 248 seconds]
19:38
<
dminuoso >
RickHull, when I started teaching ruby to a 14 year old kid from a friend last week, he ended up making mistakes like: a + b = c ["Why doesn't c contain the sum? Ive just stated that they are equal"]
19:39
<
dminuoso >
Think I need to pull the plug on Ruby and teach him Prolog.
19:39
jenrzzz has joined #ruby
19:39
<
RickHull >
it's a great way to get a holistic design perspective
19:39
<
dminuoso >
Or maybe Haskell
19:39
deepredsky has quit [Ping timeout: 240 seconds]
19:39
<
JaccoP >
that was a nice challenge for me
19:39
<
RickHull >
but this example is just a confusion of assignment with definitional equality :)
19:39
<
JaccoP >
it´s supposed to be == huh
19:39
Mia has joined #ruby
19:39
Mia has quit [Changing host]
19:39
Mia has joined #ruby
19:39
<
dminuoso >
RickHull, honestly most math teachers dont understand the difference between reduction and equality either
19:40
<
dminuoso >
for example: 1 + 3 is definitely not equal to 4.
19:40
bkxd_ has quit [Ping timeout: 248 seconds]
19:40
<
RickHull >
interesting, haven't considered that perspective
19:40
<
dminuoso >
they may be extensionally equivalent in some context.
19:40
<
RickHull >
i could see that it reduces to 4
19:40
leitao has quit [Ping timeout: 268 seconds]
19:40
cdg_ has quit [Ping timeout: 276 seconds]
19:41
<
RickHull >
what about 1x + 3x = 4y ?
19:41
<
RickHull >
or 1x + 3x = 4x
19:41
Algebr has joined #ruby
19:41
nichtspez has joined #ruby
19:41
<
dminuoso >
RickHull, Im not talking about the = sign. Math is generally heavily overloaded, so characters always mean different things in different contexts.
19:42
<
Algebr >
How can I monkey patch stdout's put?
19:42
<
dminuoso >
But if the teacher said "they are both equal" then he's just straight lying to you.
19:42
<
dminuoso >
I mean mostly its fine. But it does limit your way of thinking.
19:42
<
JaccoP >
I´m confused
19:43
<
JaccoP >
since when does 1 + 3 not equal 4 anymore
19:43
yabbes has joined #ruby
19:43
<
RickHull >
Algebr: are you calling e.g. $stdout.puts ?
19:43
<
dminuoso >
JaccoP, one is an addition of two numbers, one is a number. A simple way of seeing how they are not the same, is write a parser to generate a CST
19:43
<
dminuoso >
And compare the CST for both expressions (1 + 3) and (4)
19:43
<
dminuoso >
Those two trees will be different.
19:43
<
JaccoP >
that makes sense
19:44
jgt has joined #ruby
19:44
<
Algebr >
yea, like I want to keep a handle on the original puts but still be able to provide my own implemtnation
19:44
<
RickHull >
Algebr: you can `def $stdout.puts` or `class IO; def puts`
19:45
bkxd has joined #ruby
19:45
miskatonic has quit [Ping timeout: 260 seconds]
19:45
<
RickHull >
dminuoso: by that logic, x + y = z shows no equality?
19:45
Mia has quit [Ping timeout: 276 seconds]
19:45
nichtspez has quit [Client Quit]
19:45
<
dminuoso >
RickHull, in the context of algebras it shows extensional equivalence.
19:46
<
dminuoso >
or its a statement "the reduction of both produce values that are equal to one another"
19:46
<
RickHull >
i think that's what most people mean by equality, when they are doing algebra
19:46
<
Algebr >
RickHull: how do I hold onto the original puts?
19:46
Mia has joined #ruby
19:46
Mia has quit [Changing host]
19:46
Mia has joined #ruby
19:46
jenrzzz has quit [Ping timeout: 248 seconds]
19:46
<
dminuoso >
RickHull, when I said algebras, Im using a different far more generalized notion.
19:46
<
RickHull >
Algebr: how would you like to call it?
19:46
<
Algebr >
as a global variable
19:47
<
dminuoso >
RickHull, so the thing you actually mean when you write 1 + 3 = 4 is: <dminuoso> or its a statement "the reduction of both produce values that are equal to one another"
19:47
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:47
<
Algebr >
I tried, $org = $stdout.puts, and then $org("Original given input") but that caused a error
19:47
<
dminuoso >
RickHull, how about this. What is equality?
19:47
ryakh has joined #ruby
19:47
<
RickHull >
it depends on context, but when I learned algebra, we can say that z equals y + x
19:48
<
RickHull >
and with some more equalities
19:48
<
dminuoso >
RickHull, no please give me a definition what equality means.
19:48
<
RickHull >
we can pin down a value for z
19:48
<
dminuoso >
Without looking it up
19:48
<
RickHull >
what for?
19:48
<
dminuoso >
Just do it, because if we use the word "equality" and argue about it, we should define it first.
19:48
John____ has joined #ruby
19:49
<
RickHull >
I'm not arguing -- which definition do you have in mind?
19:49
<
dminuoso >
The only one that is sound: Equality is a relation that an object only has with itself.
19:49
<
baweaver >
Algebr: this sounds like a bad idea
19:50
<
RickHull >
dminuoso: that sounds like identity
19:50
<
baweaver >
Literally just open another IO stream and call puts on it instead
19:50
<
dminuoso >
RickHull, identity has a different notion altogether.
19:50
mfb2 has quit [Remote host closed the connection]
19:50
yeticry has quit [Ping timeout: 276 seconds]
19:50
<
dminuoso >
RickHull, unless you're talking about identity relation.
19:51
<
RickHull >
if z represents a variable with an unknown value, and we know z's value equals the arithmetic sum of x and y
19:51
<
RickHull >
then what is an object?
19:51
<
Algebr >
RickHull: I also tried: org = method(:$stdout.puts), and then tried calling org but got `<main>': private method `puts' called for :$stdout:Symbol (NoMethodError)
19:51
<
RickHull >
and what is an equality in this sense, compared to an inequality, perhaps
19:51
<
dminuoso >
RickHull, we need to define what a relation is then..
19:51
cdg has joined #ruby
19:52
matejz has left #ruby [#ruby]
19:52
<
RickHull >
sure -- I'm interested in the theory -- but I don't think math teachers are lying when they talk about equalities like x + y = z
19:52
goyox86 has joined #ruby
19:52
mim1k has quit [Ping timeout: 276 seconds]
19:53
banisterfiend has joined #ruby
19:53
BTRE has quit [Read error: Connection reset by peer]
19:53
BTRE has joined #ruby
19:54
<
dminuoso >
RickHull, for a set S and T, a relation α is a subset of S x T.
19:54
<
RickHull >
I believe these are traditionally known as equalities, particularly when we have several of them, and several variables of unknown value
19:54
<
RickHull >
and we combine them with algebra and arithmetic in order to discover or pin down the value of a variable
19:55
<
dminuoso >
RickHull, a good example to see the difference between equality and extensional equivalence is pure functions.
19:56
truenito has quit [Remote host closed the connection]
19:56
tlaxkit has joined #ruby
19:56
cdg has quit [Ping timeout: 255 seconds]
19:58
<
RickHull >
symbols, sets, and expressions
19:58
<
ruby[bot] >
ryakh: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use
https://gist.github.com
19:59
<
zanoni >
why wouldn't this work? I'm searching through values in hash to find the key the value exists in - but nada 'myhash.find { |k,v| v =~/page=7/} `
19:59
PaulCapestany has quit [Quit: .]
20:00
<
RickHull >
>> { 1 => 2, three: :four }.find { |k, v| v.is_a? Symbol }
20:00
bkxd has joined #ruby
20:00
krawchyk has joined #ruby
20:02
PaulCapestany has joined #ruby
20:02
<
zanoni >
no i need to use regex, a value would contain that fragment
20:02
<
RickHull >
ryakh: your method will be called when the class is evaluated, not when Foo is instantiated
20:02
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:03
exhiled has joined #ruby
20:03
<
RickHull >
zanoni: then I guess it's not matching
20:03
<
kyle__ >
baweaver: 6~/buffer 31
20:03
<
kyle__ >
ack, sorry
20:03
<
zanoni >
i mean it worked in a quick repl, but no now in the app
20:04
<
RickHull >
zanoni: construct a hash that you know will match. confirm the expected behavior. it sounds like you've already done this
20:04
<
RickHull >
if it doesn't work in the app, then the hash doesn't have a matching value
20:04
<
zanoni >
i mean regex could be a fragment right?
20:04
<
RickHull >
a fragment of what?
20:05
Brondius has joined #ruby
20:05
<
zanoni >
of the entire value i'm looking for
20:05
<
RickHull >
open up irb
20:05
<
RickHull >
construct a value
20:05
<
RickHull >
try your match
20:05
<
Brondius >
Is there a reason there are no Ruby packages available for the Atom text editor?
20:05
<
RickHull >
zanoni: and yes, a regex need not match an entire string
20:05
graft_ has quit [Ping timeout: 276 seconds]
20:06
<
zanoni >
ok, i'll go back to irb with it,thanks!
20:06
<
RickHull >
>> 'foobar'.match %r{.}
20:06
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:08
Algebr has quit [Read error: Connection reset by peer]
20:08
Algebr has joined #ruby
20:08
bmurt has joined #ruby
20:09
<
tobiasvl >
Brondius: I'm not familiar with Atom, what would a Ruby package for Atom do?
20:09
<
RickHull >
I think Atom is github's web editor
20:09
<
RickHull >
based on Electron?
20:09
<
Brondius >
tobiasvl there are packages for Atom in tons of languages that make writing whatever it is easier. I just saw nothing for Ruby
20:09
<
RickHull >
i don't know what a "ruby package" would be for this
20:10
mfb2 has joined #ruby
20:10
goyox86 has quit [Quit: goyox86]
20:10
<
tobiasvl >
Brondius: OK, so plugins that make Atom into an IDE of sorts for different languages?
20:10
<
RickHull >
i would think that ruby is one of the first languages supported, out-of-the-box
20:10
<
Brondius >
Auto completes and other such things for Python and stuff
20:10
<
Brondius >
Correct, tobiasvl
20:11
<
Brondius >
Huh. Weird. Searching from within the client shows nothing. My bad.
20:11
<
Brondius >
Thanks :)
20:11
<
tobiasvl >
I just googled "atom ruby"
20:13
larcara has joined #ruby
20:13
larcara has quit [Client Quit]
20:13
goyox86 has joined #ruby
20:13
deepredsky has joined #ruby
20:14
joe42 has joined #ruby
20:14
ldnunes has quit [Quit: Leaving]
20:16
pilne has joined #ruby
20:16
yeticry has joined #ruby
20:16
vircung has quit [Remote host closed the connection]
20:17
Axy has joined #ruby
20:18
deepredsky has quit [Ping timeout: 248 seconds]
20:18
mfb2 has quit [Ping timeout: 276 seconds]
20:19
SkeletorWasRight has joined #ruby
20:19
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
20:20
sammi`_ has joined #ruby
20:20
John__ has joined #ruby
20:21
Mia has quit [Ping timeout: 268 seconds]
20:21
vircung has joined #ruby
20:22
wolakkk has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
20:22
ur5us has joined #ruby
20:23
ryakh has quit [Ping timeout: 260 seconds]
20:24
yeticry has quit [Ping timeout: 276 seconds]
20:24
nichtspez has joined #ruby
20:24
John____ has quit [Ping timeout: 268 seconds]
20:24
synthroid has joined #ruby
20:27
nichtspez has quit [Client Quit]
20:27
sammi` has quit [Quit: Lost terminal]
20:28
<
dminuoso >
21:11 Brondius | Huh. Weird. Searching from within the client shows nothing. My bad.
20:28
<
dminuoso >
Thats very reassuring.
20:33
jenrzzz has joined #ruby
20:33
jenrzzz has joined #ruby
20:33
jenrzzz has quit [Changing host]
20:33
banisterfiend has joined #ruby
20:33
cagomez has quit [Remote host closed the connection]
20:34
yeticry has joined #ruby
20:34
nogic has quit [Ping timeout: 240 seconds]
20:34
John____ has joined #ruby
20:35
Psybur has quit [Ping timeout: 276 seconds]
20:37
John__ has quit [Ping timeout: 240 seconds]
20:38
orbyt_ has joined #ruby
20:39
yeticry has quit [Ping timeout: 268 seconds]
20:40
dviola has quit [Quit: WeeChat 1.9.1]
20:41
nerium has joined #ruby
20:42
jackjackdripper has joined #ruby
20:45
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:45
Mia has joined #ruby
20:45
Mia has quit [Changing host]
20:45
Mia has joined #ruby
20:46
mfb2 has joined #ruby
20:46
johnrandall has joined #ruby
20:47
Guest89500 has quit [Ping timeout: 240 seconds]
20:47
johnrandall has quit [Quit: johnrandall]
20:48
Axy has quit [Ping timeout: 248 seconds]
20:50
nofxx has joined #ruby
20:50
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:51
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:51
banisterfiend has joined #ruby
20:52
danielgl- has joined #ruby
20:52
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:52
yeticry has joined #ruby
20:53
justicefries has joined #ruby
20:56
jackjackdripper1 has joined #ruby
20:56
yeticry has quit [Ping timeout: 240 seconds]
20:57
jackjackdripper1 has quit [Client Quit]
20:57
jackjackdripper has quit [Ping timeout: 258 seconds]
20:57
cdg has joined #ruby
20:57
jackjackdripper has joined #ruby
20:59
<
darix >
apple made a good evening even better
21:00
Barrt has quit [Ping timeout: 248 seconds]
21:00
cdg has quit [Read error: Connection reset by peer]
21:01
cdg has joined #ruby
21:01
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:02
Barrt has joined #ruby
21:06
Barrt has quit [Ping timeout: 240 seconds]
21:07
Barrt has joined #ruby
21:08
exhiled has joined #ruby
21:08
mcr1 has joined #ruby
21:09
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:09
jamesaxl has quit [Quit: WeeChat 1.9.1]
21:10
<
baweaver >
darix: that's the topic of the day in ruby-offtopic
21:10
<
darix >
topic of the day already? it is just 2.5hours old!
21:10
<
baweaver >
you overestimate the amount of interesting content in offtopic
21:12
eckhardt has joined #ruby
21:13
pragmatism has left #ruby ["Leaving"]
21:14
cdg_ has joined #ruby
21:17
kitikonti has joined #ruby
21:17
cdg has quit [Ping timeout: 255 seconds]
21:17
Brondius has quit [Quit: Page closed]
21:20
bruce_lee has quit [Read error: Connection reset by peer]
21:20
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:24
joe42 has quit [Quit: ChatZilla 0.9.93 [SeaMonkey 2.46/20161213183751]]
21:26
nerium has quit [Ping timeout: 248 seconds]
21:27
orbyt_ has joined #ruby
21:29
troys is now known as troys_
21:31
conta1 has joined #ruby
21:32
yeticry has joined #ruby
21:33
orbyt_ has quit [Ping timeout: 240 seconds]
21:33
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:34
fusta has quit [Quit: Leaving]
21:35
jeffreylevesque_ has quit [Ping timeout: 240 seconds]
21:35
conta1 has quit [Ping timeout: 240 seconds]
21:35
exhiled has joined #ruby
21:36
jeffreylevesque_ has joined #ruby
21:37
yeticry has quit [Remote host closed the connection]
21:40
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:40
cagomez has joined #ruby
21:42
armando has joined #ruby
21:43
justicefries has joined #ruby
21:46
jottr has joined #ruby
21:46
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:47
r3my has joined #ruby
21:47
lytol has quit [Quit: lytol]
21:48
yeticry has joined #ruby
21:48
GodFather has joined #ruby
21:49
nowhereman_ has joined #ruby
21:49
nowhere_man has quit [Ping timeout: 276 seconds]
21:53
synthroid has quit []
21:54
yeticry has quit [Ping timeout: 260 seconds]
21:55
jeffreylevesque_ has quit [Ping timeout: 248 seconds]
21:55
yeticry has joined #ruby
21:57
nerium has joined #ruby
21:58
goyox86 has quit [Ping timeout: 248 seconds]
21:59
mfb2 has quit [Remote host closed the connection]
21:59
exhiled has joined #ruby
21:59
goyox86_ has joined #ruby
22:01
yeticry has quit [Ping timeout: 240 seconds]
22:03
danielgl- has quit [Ping timeout: 268 seconds]
22:03
<
Algebr >
I found alias_method, and I use it as alias_method :a, :b but how can I use it when I want to get it on $stderr.puts?
22:04
ged has quit [Ping timeout: 255 seconds]
22:04
mahlon has quit [Ping timeout: 240 seconds]
22:04
JaccoP has quit [Quit: Leaving]
22:05
nofxx has quit [Quit: Leaving]
22:06
nofxx has joined #ruby
22:06
goyox86_ has quit [Quit: goyox86_]
22:08
mfb2 has joined #ruby
22:08
prutheus has joined #ruby
22:09
mahlon has joined #ruby
22:09
yeticry has joined #ruby
22:10
<
prutheus >
Hey. I have a 10.times do |i| ... end block
22:10
jottr_ has joined #ruby
22:10
<
prutheus >
I need to do a retry when i == 3
22:10
<
prutheus >
but its an invalid retry there...how to retry in such block?
22:11
mfb2_ has joined #ruby
22:11
jottr has quit [Ping timeout: 248 seconds]
22:11
selim has quit [Ping timeout: 276 seconds]
22:12
selim has joined #ruby
22:12
ged has joined #ruby
22:12
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:13
duderonomy has joined #ruby
22:14
mfb2 has quit [Ping timeout: 248 seconds]
22:14
kitsunenokenja has joined #ruby
22:14
yeticry has quit [Ping timeout: 276 seconds]
22:17
vircung has quit [Remote host closed the connection]
22:18
goyox86_ has joined #ruby
22:18
goyox86_ is now known as goyox86
22:19
<
RickHull >
prutheus: retry is for exception handling
22:19
<
RickHull >
please paste a code example, even if it's not behaving how you want
22:20
GodFather has quit [Ping timeout: 240 seconds]
22:20
yeticry has joined #ruby
22:21
Mia has quit [Ping timeout: 276 seconds]
22:21
vircung has joined #ruby
22:25
yeticry has quit [Ping timeout: 248 seconds]
22:25
mfb2_ has quit [Remote host closed the connection]
22:25
fyrril has quit [Quit: Leaving]
22:26
muelleme has quit [Ping timeout: 248 seconds]
22:26
orbyt_ has joined #ruby
22:28
danielgl- has joined #ruby
22:29
miskatonic has joined #ruby
22:31
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:31
mfb2 has joined #ruby
22:33
troys_ is now known as troys
22:34
banisterfiend has joined #ruby
22:34
<
prutheus >
solved it
22:34
<
prutheus >
just mapped the content of the loop inside a begin block and raises at some point an exception which can retry then
22:37
gheegh has joined #ruby
22:37
exhiled has joined #ruby
22:38
reber has quit [Quit: Leaving]
22:38
mniip has quit [Ping timeout: 630 seconds]
22:38
TomyLobo has quit [Ping timeout: 264 seconds]
22:39
ctrlaltdev has joined #ruby
22:39
jgt has quit [Ping timeout: 276 seconds]
22:40
cschneid_ has joined #ruby
22:41
<
gheegh >
hey all, anyone know of a good tool to do this:
https://eval.in/909535 basically, i want to define a template of a string, and extract data from that string using that template.. (like npm-router does)
22:42
marxarelli is now known as marxarelli|afk
22:42
jottr_ has quit [Ping timeout: 248 seconds]
22:43
<
RickHull >
gheegh: regex
22:43
<
RickHull >
much more general purpose than that but well capable
22:43
<
cschneid_ >
I need to write a very-high-performance mini parser, are there any guides on spinning over medium length strings, and avoiding allocations? Logically I can do stuff like `input.split(" ").first` and have a case statement on that, but that allocates at least 2 strings, and I need to skim until some known points in the middle of the string as well
22:43
<
cschneid_ >
basically, what in string manipulation & lookup actually allocates
22:44
<
RickHull >
cschneid_: VHP in ruby seems ...
22:44
<
RickHull >
are you concerned about object allocation or memory?
22:44
<
cschneid_ >
RickHull: allocation & memory pressure
22:44
<
cschneid_ >
gc time, not overall usage
22:45
<
RickHull >
object allocation determines gc stuff
22:45
<
gheegh >
RickHull: I'm trying ot build something more generic, editable.. than building Regex expressions
22:45
<
RickHull >
gheegh: are you building such a tool? or looking for an existing one?
22:45
<
cschneid_ >
RickHull: I know about performance. tl;dr - trying to do basic sql parsing to fingerprint sql down to pretty simple things like `Select User` and `Update Account` and such.
22:45
<
RickHull >
for the former, you can build it with regex
22:45
<
gheegh >
looking for one
22:45
<
gheegh >
it's implemented alreday a few places.. like in Rails routing..
22:46
<
RickHull >
gheegh: yep, i'd look there first
22:46
<
gheegh >
where you pick up data from the string
22:46
goyox86 has quit [Quit: goyox86]
22:46
<
cschneid_ >
but I don't know what parts of the String api create brand new string objects vs not. And how to minimize that gc time
22:46
<
gheegh >
but everywhere i've found it so far is either in Javascript or the Rails router
22:46
<
RickHull >
cschneid_: every string operation will create a new object, generally
22:46
<
RickHull >
particularly with frozen strings
22:46
avelldiroll has quit [Ping timeout: 240 seconds]
22:47
<
RickHull >
cschneid_: if I were you, I'd build it cleanly and correctly, then profile and optimize
22:47
<
cschneid_ >
RickHull: right, so something like `input.each_char { mystatemachine }` would create a ton of 1 char long string objects as it spun through right?
22:47
<
gheegh >
i'm suprised if there isn't a gem out there arleady that does this
22:47
<
RickHull >
gheegh: I don't know rails well enough to spit out the answer
22:48
<
RickHull >
but it can't be that hard to find
22:48
yabbes has quit [Quit: lu]
22:48
<
RickHull >
cschneid_: I would say it's going to be hard to predict before profiling
22:48
<
cschneid_ >
RickHull: yeah - I'll go try a few ways and see
22:49
<
RickHull >
it's possible that lots of tiny objects will have better gc performance than fewer big ones -- no idea
22:49
<
cschneid_ >
yeah, there are those tipping-point string lengths (31 chars or something?) that may come into play, and ... yeah, who knows :)
22:49
<
cschneid_ >
will be interesting, it's a pretty simple problem conceptually, just our app is doing a lot of it, so want to make sure it's speedy enough
22:51
helpa has quit [Quit: Be]
22:52
helpa has joined #ruby
22:53
SeepingN has joined #ruby
22:53
ctrlaltdev has quit [Quit: leaving]
22:53
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:54
ctrlaltdev has joined #ruby
22:55
polishdub has quit [Quit: leaving]
22:55
shinnya has joined #ruby
22:55
nuk9 has joined #ruby
22:55
nuk9 has left #ruby [#ruby]
22:55
<
RickHull >
cschneid_: my info is in the realm of educated guesses here, so take with a grain of salt, regarding string object allocations. I'm fairly certain that profiling, gathering data, and making adjustments is better than predictions
22:55
tcopeland has quit [Quit: tcopeland]
22:55
<
RickHull >
and keep in mind "frozen strings"
22:55
<
cschneid_ >
RickHull: what version of ruby were those frozen-string changes made? Its sorta recent?
22:56
<
cschneid_ >
there was the annotation first, then later it doing it automatically?
22:56
<
RickHull >
i'm about as fuzzy on it as you are :)
22:57
<
cschneid_ >
When did the newer regex library land? That was 1.9 or 2?
22:57
mcr1 has quit [Ping timeout: 250 seconds]
22:57
<
RickHull >
oniguruma showed up in 1.9
22:57
<
RickHull >
just about anything that is in 2.0 landed in 1.9
22:58
goyox86 has joined #ruby
22:58
<
cschneid_ >
I've been doing ruby too long :) Can't remember when any of these things happened.
22:58
Mia has joined #ruby
22:58
nerium has quit [Quit: nerium]
22:58
<
RickHull >
2.0 was more about ceremony and establishing a reference for backwards compatibility
22:58
skweek has quit [Ping timeout: 268 seconds]
22:59
goyox86 has quit [Client Quit]
23:00
goyox86 has joined #ruby
23:01
dinfuehr has quit [Ping timeout: 240 seconds]
23:02
dinfuehr has joined #ruby
23:02
jeffreylevesque has joined #ruby
23:02
ramfjord has quit [Ping timeout: 276 seconds]
23:02
nowhereman_ has quit [Ping timeout: 240 seconds]
23:02
yeticry has joined #ruby
23:03
goyox86 has quit [Client Quit]
23:06
thinkpad has joined #ruby
23:07
goyox86 has joined #ruby
23:07
yeticry has quit [Ping timeout: 248 seconds]
23:07
<
prutheus >
hey how can I get a variable be forced evaluated.
23:08
<
prutheus >
I mean I do something like var_x = arrg[4].text
23:08
<
prutheus >
but it wants to evaluate .text function only when i use that assinged var somewhere else
23:08
<
prutheus >
but i need an assignment imediately when assigning
23:08
miskatonic has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
23:10
dviola has joined #ruby
23:11
mim1k has joined #ruby
23:11
GodFather has joined #ruby
23:12
<
baweaver >
prutheus: What's the full code there?
23:12
<
baweaver >
because Ruby does immediate assignment
23:12
<
baweaver >
so unless it's in a function or a block or inside an if conditional of some sort it will be immediately evaluated
23:13
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:13
<
RickHull >
prutheus: what happens when you do arrg[4].text in irb? or `puts arrg[4].text` ?
23:14
ctrlaltdev has quit [Quit: leaving]
23:14
<
prutheus >
it is because i use selenium
23:15
k3rn31 has quit [Ping timeout: 276 seconds]
23:15
yeticry has joined #ruby
23:15
<
RickHull >
prutheus: you'll have to check with selenium folks or else give more context -- this question makes no sense for ruby
23:15
safetypin has quit [Quit: ZZZzzz…]
23:16
mim1k has quit [Ping timeout: 240 seconds]
23:17
<
prutheus >
oh yeah right
23:17
<
prutheus >
and it was also wrong
23:17
<
prutheus >
there was an error caused by something else
23:17
<
prutheus >
it got evaluated
23:17
<
prutheus >
thanks anyway :D im in bed now, gn8
23:18
<
RickHull >
cheers -- it can be tricky when errors compound :)
23:19
urk187 has quit [Remote host closed the connection]
23:20
yeticry_ has joined #ruby
23:20
sepp2k has quit [Quit: Leaving.]
23:21
jordanm has quit [Remote host closed the connection]
23:22
agent_white has joined #ruby
23:22
yeticry has quit [Read error: Connection reset by peer]
23:22
jordanm has joined #ruby
23:24
gheegh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:24
Algebr` has joined #ruby
23:24
yeticry_ has quit [Ping timeout: 248 seconds]
23:24
ramfjord has joined #ruby
23:25
nowhereman_ has joined #ruby
23:26
Algebr has quit [Ping timeout: 248 seconds]
23:30
dviola has quit [Quit: WeeChat 1.9.1]
23:31
yeticry has joined #ruby
23:31
clemens3 has quit [Ping timeout: 248 seconds]
23:31
mfb2 has quit [Remote host closed the connection]
23:32
dviola has joined #ruby
23:32
mfb2 has joined #ruby
23:32
prutheus has quit [Quit: Page closed]
23:33
zautomata1 has quit [Ping timeout: 276 seconds]
23:33
safetypin has joined #ruby
23:33
zautomata has joined #ruby
23:34
postmodern has joined #ruby
23:35
yeticry has quit [Ping timeout: 240 seconds]
23:36
mfb2 has quit [Ping timeout: 240 seconds]
23:38
safetypin has quit [Client Quit]
23:42
yeticry has joined #ruby
23:43
Sina has joined #ruby
23:44
<
dminuoso >
RickHull: damn yeah!
23:44
mfb2 has joined #ruby
23:44
<
dminuoso >
I can finally compose keys intuitively!
23:45
mcr1 has joined #ruby
23:45
cagomez has quit [Remote host closed the connection]
23:45
<
RickHull >
ASCII4LYFE
23:45
cagomez has joined #ruby
23:46
<
RickHull >
is that first one for-every or at-least-one ?
23:47
yeticry has quit [Ping timeout: 255 seconds]
23:47
jackjackdripper has quit [Quit: Leaving.]
23:47
<
RickHull >
i haven't looked at such symbols in a while. predicate logic? there exists at least one X such that ...
23:48
rfoust has joined #ruby
23:48
mfb2 has quit [Remote host closed the connection]
23:48
<
RickHull >
"universal quantification" vs "existential quantification" maybe?
23:49
<
dminuoso >
Im populating my mappings. :-)
23:49
mfb2 has joined #ruby
23:49
<
RickHull >
make sure you have the desk-toss, tenderlove's face thing, and reddit-look-of-disapproval
23:49
ramfjord has quit [Ping timeout: 255 seconds]
23:50
<
RickHull >
propositional logic :)
23:50
cagomez has quit [Ping timeout: 248 seconds]
23:50
unreal has quit [Ping timeout: 258 seconds]
23:50
<
dminuoso >
But yeah ∀ is for univeral quantification
23:51
mfb2 has quit [Remote host closed the connection]
23:51
gheegh has joined #ruby
23:51
mfb2 has joined #ruby
23:52
cagomez has joined #ruby
23:52
sepp2k has joined #ruby
23:53
sepp2k1 has joined #ruby
23:53
yeticry has joined #ruby
23:53
Ropeney has joined #ruby
23:56
thinkpad has quit [Read error: Connection reset by peer]
23:56
tcopeland has joined #ruby
23:56
sepp2k has quit [Ping timeout: 248 seconds]
23:57
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
23:58
yeticry has quit [Ping timeout: 276 seconds]