00:00
neocoin has quit [Read error: Connection reset by peer]
00:01
headius has joined #ruby-lang
00:01
coryf has quit [Remote host closed the connection]
00:01
savage- has joined #ruby-lang
00:01
facefox_com has quit []
00:01
s0ra_h is now known as sora_h
00:01
arooni-mobile has joined #ruby-lang
00:03
corundum has quit [Remote host closed the connection]
00:03
burgestrand has quit [Quit: Leaving.]
00:04
corundum has joined #ruby-lang
00:08
slicekick has joined #ruby-lang
00:09
snorkdude has quit [Ping timeout: 264 seconds]
00:11
Jay_Levitt has quit [Quit: Jay_Levitt]
00:11
bryancp has quit [Remote host closed the connection]
00:15
slicekick has quit [Remote host closed the connection]
00:15
virunga has quit [Quit: Sto andando via]
00:15
arooni-mobile has quit [Ping timeout: 246 seconds]
00:17
sailias has joined #ruby-lang
00:18
sora_h is now known as s0ra_h
00:22
w0lverine has quit [Quit: w0lverine]
00:23
w0lverine has joined #ruby-lang
00:24
brianpWins has quit [Quit: brianpWins]
00:24
coryf has joined #ruby-lang
00:25
sailias has quit [Read error: Connection reset by peer]
00:26
burgestrand has joined #ruby-lang
00:30
burgestrand has quit [Ping timeout: 244 seconds]
00:30
apeiros_ has joined #ruby-lang
00:34
coryf has quit [Remote host closed the connection]
00:36
igotnolegs has joined #ruby-lang
00:43
arooni-mobile has joined #ruby-lang
00:48
sailias has joined #ruby-lang
00:50
apeiros_ has quit [Ping timeout: 244 seconds]
00:55
sailias has quit [Read error: Connection reset by peer]
00:56
burgestrand has joined #ruby-lang
00:56
banisterfiend has joined #ruby-lang
00:56
sailias has joined #ruby-lang
00:58
savage- has quit [Remote host closed the connection]
00:58
gsav has joined #ruby-lang
00:59
Mchl has joined #ruby-lang
01:02
s0ra_h is now known as sora_h
01:02
arooni-mobile has quit [Ping timeout: 240 seconds]
01:02
sailias has quit [Quit: Leaving.]
01:03
Rezwan has quit [Read error: Connection reset by peer]
01:06
gsav has quit [Ping timeout: 264 seconds]
01:12
chimkan_ has quit [Quit: chimkan_]
01:14
burgestrand has quit [Quit: Leaving.]
01:15
verbad has joined #ruby-lang
01:18
sora_h is now known as s0ra_h
01:21
postmodern has quit [Quit: Leaving]
01:21
s0ra_h is now known as sora_h
01:22
sailias has joined #ruby-lang
01:22
neocoin has joined #ruby-lang
01:22
akira989 has joined #ruby-lang
01:26
savage- has joined #ruby-lang
01:27
S1kx has quit [Ping timeout: 244 seconds]
01:33
r0bby is now known as robbyoconnor
01:34
akira989 has quit [Remote host closed the connection]
01:36
Mchl has joined #ruby-lang
01:37
mikeric has quit [Quit: mikeric]
01:48
r0bby has joined #ruby-lang
01:51
robbyoconnor has quit [Ping timeout: 246 seconds]
01:53
tranzform has joined #ruby-lang
01:55
chessguy has quit [Remote host closed the connection]
01:56
benanne has quit [Quit: kbai]
01:58
r0bby is now known as robbyoconnor
02:08
nazty has joined #ruby-lang
02:08
naz has quit [Read error: Connection reset by peer]
02:08
igotnolegs has quit [Quit: Computer has gone to sleep.]
02:11
tranzform has quit [Quit: Leaving]
02:15
deryl has quit [Quit: Updating to Mountain Lion. Back later]
02:30
voker57 has joined #ruby-lang
02:30
voker57 has quit [Changing host]
02:30
voker57 has joined #ruby-lang
02:38
savage- has quit [Remote host closed the connection]
02:54
bfreeman has joined #ruby-lang
02:57
sailias1 has joined #ruby-lang
02:59
banisterfiend has quit [Remote host closed the connection]
02:59
sailias1 has quit [Client Quit]
03:01
sailias has quit [Ping timeout: 272 seconds]
03:15
dfr|mac has joined #ruby-lang
03:16
dous has quit [Remote host closed the connection]
03:19
Sambalero has joined #ruby-lang
03:20
dous has joined #ruby-lang
03:20
dous has quit [Changing host]
03:20
dous has joined #ruby-lang
03:21
Sambalero has quit [Remote host closed the connection]
03:23
sora_h is now known as s0ra_h
03:31
banisterfiend has joined #ruby-lang
03:37
zigidias has joined #ruby-lang
03:41
deryl has joined #ruby-lang
03:48
apeiros_ has joined #ruby-lang
03:52
brianpWins has joined #ruby-lang
03:52
apeiros_ has quit [Ping timeout: 250 seconds]
04:00
chimkan has joined #ruby-lang
04:00
chimkan has left #ruby-lang [#ruby-lang]
04:02
ryanf has quit [Quit: Lost terminal]
04:03
s0ra_h is now known as sora_h
04:04
ryanf has joined #ruby-lang
04:15
headius has quit [Quit: headius]
04:20
sora_h is now known as s0ra_h
04:21
naz has joined #ruby-lang
04:22
nazty has quit [Read error: Connection reset by peer]
04:26
s0ra_h is now known as sora_h
04:33
u_u has quit [Ping timeout: 246 seconds]
04:38
savage- has joined #ruby-lang
04:39
jtoy has quit [Quit: jtoy]
04:46
andrewhl has quit [Remote host closed the connection]
04:46
ChadStud1uffin has quit [Read error: Operation timed out]
04:46
andrewhl has joined #ruby-lang
04:47
igotnolegs has joined #ruby-lang
04:47
naz has quit [Ping timeout: 264 seconds]
04:47
andrewhl has quit [Read error: Connection reset by peer]
04:47
andrewhl has joined #ruby-lang
04:49
anildigital has quit [Ping timeout: 260 seconds]
04:51
spuk_ has joined #ruby-lang
04:51
jstemmer has quit [Ping timeout: 260 seconds]
04:51
matti has quit [Ping timeout: 260 seconds]
04:51
Kellin has quit [Ping timeout: 260 seconds]
04:51
dagobah_ has quit [Ping timeout: 260 seconds]
04:51
spuk has quit [Ping timeout: 260 seconds]
04:51
jstemmer has joined #ruby-lang
04:52
matti has joined #ruby-lang
04:52
anildigital has joined #ruby-lang
04:52
andrewhl has quit [Ping timeout: 240 seconds]
04:54
dagobah has joined #ruby-lang
05:05
spinagon has joined #ruby-lang
05:07
u_u has joined #ruby-lang
05:20
headius has joined #ruby-lang
05:20
andrewhl has joined #ruby-lang
05:21
savage- has quit [Remote host closed the connection]
05:22
savage- has joined #ruby-lang
05:36
deryl has quit [Quit: deryl]
05:37
robbyoconnor has quit [Ping timeout: 272 seconds]
05:38
chimkan has joined #ruby-lang
05:39
andrewhl has quit [Remote host closed the connection]
05:40
andrewhl has joined #ruby-lang
05:41
robbyoconnor has joined #ruby-lang
05:41
w0lverine has quit [Ping timeout: 240 seconds]
05:42
chimkan has left #ruby-lang [#ruby-lang]
05:43
ttilley is now known as ttilley_off
05:43
w0lverine has joined #ruby-lang
05:44
andrewhl has quit [Ping timeout: 246 seconds]
05:48
seanstickle has quit [Quit: seanstickle]
05:48
headius has quit [Quit: headius]
05:49
apeiros_ has joined #ruby-lang
05:51
jxie has quit [Read error: Connection reset by peer]
05:52
krz has joined #ruby-lang
05:54
apeiros_ has quit [Ping timeout: 272 seconds]
05:57
jxie has joined #ruby-lang
05:59
spinagon has quit [Ping timeout: 246 seconds]
06:05
banisterfiend has quit [Remote host closed the connection]
06:05
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
06:07
dhruvasagar has joined #ruby-lang
06:08
savage- has quit [Remote host closed the connection]
06:10
srbartlett has joined #ruby-lang
06:13
srbartlett has quit [Remote host closed the connection]
06:14
srbartlett has joined #ruby-lang
06:26
banisterfiend has joined #ruby-lang
06:29
dous has quit [Remote host closed the connection]
06:33
dhruvasagar has quit [Ping timeout: 272 seconds]
06:42
savage- has joined #ruby-lang
06:45
brianpWins has quit [Quit: brianpWins]
06:46
dfr|mac has quit [Remote host closed the connection]
06:51
apeiros_ has joined #ruby-lang
06:55
qwerxy has joined #ruby-lang
06:55
apeiros_ has quit [Ping timeout: 264 seconds]
06:59
dous has joined #ruby-lang
06:59
dous has quit [Changing host]
06:59
dous has joined #ruby-lang
07:01
brianpWins has joined #ruby-lang
07:02
dc5ala has joined #ruby-lang
07:04
dous has quit [Ping timeout: 246 seconds]
07:11
savage- has quit [Remote host closed the connection]
07:13
headius has joined #ruby-lang
07:15
areil has joined #ruby-lang
07:21
yxhuvud has joined #ruby-lang
07:21
nagato has joined #ruby-lang
07:22
brianpWins has quit [Quit: brianpWins]
07:22
w0lverine_ has joined #ruby-lang
07:23
towski has quit [Remote host closed the connection]
07:25
w0lverine has quit [Ping timeout: 246 seconds]
07:25
w0lverine_ is now known as w0lverine
07:28
postmodern has joined #ruby-lang
07:31
krz has quit [Quit: krz]
07:31
nagato has joined #ruby-lang
07:31
dous has joined #ruby-lang
07:35
nagato has quit [Client Quit]
07:42
chimkan has joined #ruby-lang
07:45
wallerdev has quit [Quit: wallerdev]
07:46
fayimora has quit [Ping timeout: 272 seconds]
07:48
chimkan has quit [Quit: chimkan]
07:49
fayimora has joined #ruby-lang
07:55
publicvoid has quit [Ping timeout: 240 seconds]
07:56
igotnolegs has quit [Quit: Computer has gone to sleep.]
08:00
qwerxy has quit [Quit: offski]
08:03
Z33K|Lux has quit []
08:07
publicvoid has joined #ruby-lang
08:11
qwerxy has joined #ruby-lang
08:17
tjadc has joined #ruby-lang
08:22
qwerxy has quit [Quit: offski]
08:25
nagato has joined #ruby-lang
08:26
cantonic_ has joined #ruby-lang
08:28
charliesome has joined #ruby-lang
08:28
dhruvasagar has joined #ruby-lang
08:29
cantonic has quit [Ping timeout: 246 seconds]
08:29
cantonic_ is now known as cantonic
08:29
w0lverine has quit [Quit: w0lverine]
08:35
qwerxy has joined #ruby-lang
08:40
arooni-mobile has joined #ruby-lang
08:41
fgomez has quit [Remote host closed the connection]
08:42
qwerxy has quit [Ping timeout: 240 seconds]
08:45
qwerxy has joined #ruby-lang
08:45
srbartlett has quit [Remote host closed the connection]
08:45
fgomez has joined #ruby-lang
08:47
icooba has joined #ruby-lang
08:52
apeiros_ has joined #ruby-lang
08:57
apeiros_ has quit [Ping timeout: 240 seconds]
09:00
arooni-mobile has quit [Ping timeout: 246 seconds]
09:08
sepp2k has joined #ruby-lang
09:11
cha1tanya has joined #ruby-lang
09:11
cha1tanya has quit [Changing host]
09:11
cha1tanya has joined #ruby-lang
09:12
metaphori has joined #ruby-lang
09:14
sepp2k has quit [Ping timeout: 246 seconds]
09:15
metaphori has quit [Quit: out]
09:18
icooba has quit [Quit: Computer has gone to sleep.]
09:19
workmad3 has joined #ruby-lang
09:24
S1kx has joined #ruby-lang
09:28
<
ddfreyne >
Alright, need some help here…
09:28
<
ddfreyne >
my app spends 75% of its time garbage collecting
09:28
<
ddfreyne >
obviously this isn’t quite right. Any tips on tackling this?
09:28
apeiros_ has joined #ruby-lang
09:30
sepp2k has joined #ruby-lang
09:30
<
ddfreyne >
banisterfiend: that looks interesting, but MRI-only :(
09:30
<
ddfreyne >
so not an option for me
09:31
jstemmer has quit [Quit: leaving]
09:31
<
whitequark >
banisterfiend: too evil to be actually useful.
09:32
<
banisterfiend >
whitequark: hehe i know. I've never used it, but some guy put it in production and it did improve the responsiveness of his app..
09:32
<
banisterfiend >
he knew what he was doing though, had a lot of MRI C experience
09:34
<
ddfreyne >
I was thinking of disabling the GC and only letting it run at certain times (e.g. in an app that has multiple iterations, do the GC after each iteration)
09:34
Leeky_afk is now known as Leeky
09:35
dhruvasagar has quit [Ping timeout: 272 seconds]
09:35
<
ddfreyne >
that would mean running the GC less, basically
09:35
<
ddfreyne >
but that is still hacky
09:36
jstemmer has joined #ruby-lang
09:39
srbartlett has joined #ruby-lang
09:41
<
whitequark >
maybe someone knows of a gem...
09:41
<
ryanf >
yeah, people do that
09:41
<
ryanf >
with web apps
09:41
srbartlett has quit [Remote host closed the connection]
09:41
<
whitequark >
I need to do multithreaded processing in both MRI and JRuby
09:41
<
ryanf >
they'll only let the gc run between requests, to minimize the response time for each one
09:42
<
whitequark >
basically what I'm doing is purely functional in nature, i.e. the original dataset isn't changed
09:42
<
whitequark >
so I want it to use threads on jruby and forking map/reduce on mri
09:42
<
ryanf >
ddfreyne: there are also GC tuning settings, although I think you need patches to expose them on 1.9.3
09:42
<
ddfreyne >
ryanf: yeah… but I don’t want users of my gem to patch their Ruby :)
09:43
<
ryanf >
hey, you said app :(
09:43
<
ddfreyne >
disabling the GC and running it at specific times seems like a neat idea though
09:43
<
ddfreyne >
not a web app. a commandline tool
09:45
<
ddfreyne >
dtrace supposedly helps there, but I cannot get it to work (I’ve tried until I became frustrated)
09:47
gsav has joined #ruby-lang
09:48
virunga has joined #ruby-lang
09:51
toretore has joined #ruby-lang
09:51
ryanf has quit [Quit: leaving]
09:53
mikeric has joined #ruby-lang
09:53
workmad3 has quit [Ping timeout: 272 seconds]
09:57
srbartlett has joined #ruby-lang
10:04
vertroa_ has quit [Read error: Connection reset by peer]
10:07
gnufied has joined #ruby-lang
10:10
workmad3 has joined #ruby-lang
10:10
x0F has quit [Disconnected by services]
10:10
x0F_ has joined #ruby-lang
10:10
x0F_ is now known as x0F
10:13
Hakon has joined #ruby-lang
10:14
areil has quit [Remote host closed the connection]
10:15
lynxy has joined #ruby-lang
10:15
workmad3 has quit [Ping timeout: 272 seconds]
10:20
mikeric has quit [Quit: mikeric]
10:22
S1kx has quit [Quit: Leaving]
10:23
srbartlett has quit [Remote host closed the connection]
10:28
dous has quit [Remote host closed the connection]
10:29
gnufied has quit [Quit: Leaving.]
10:30
<
whitequark >
just implemented a new progress visualizer for my decompiler, blinkenlights-style
10:30
<
whitequark >
one dot is one (meaningful) method.
10:32
gnufied has joined #ruby-lang
10:35
burgestrand has joined #ruby-lang
10:36
salout has joined #ruby-lang
10:37
cha1tanya has quit [Quit: cha1tanya]
10:37
Criztian has joined #ruby-lang
10:41
solars has joined #ruby-lang
10:41
postmodern has quit [Quit: Leaving]
10:43
workmad3 has joined #ruby-lang
10:44
srbartlett has joined #ruby-lang
10:49
gnufied has quit [Quit: Leaving.]
10:53
r0bby has joined #ruby-lang
10:55
r0bby_ has joined #ruby-lang
10:56
robbyoconnor has quit [Ping timeout: 272 seconds]
10:58
r0bby has quit [Ping timeout: 246 seconds]
10:58
robbyoconnor has joined #ruby-lang
10:59
sandbags has joined #ruby-lang
10:59
sandbags has quit [Changing host]
10:59
sandbags has joined #ruby-lang
11:00
r0bby_ has quit [Ping timeout: 246 seconds]
11:04
sandbags has quit [Remote host closed the connection]
11:09
dc5ala has quit [Quit: Ex-Chat]
11:13
banisterfiend has quit [Remote host closed the connection]
11:14
banisterfiend has joined #ruby-lang
11:14
workmad3 has quit [Ping timeout: 272 seconds]
11:15
gnufied has joined #ruby-lang
11:16
urbanmonk has joined #ruby-lang
11:20
burgestrand has quit [Quit: Leaving.]
11:20
<
urbanmonk >
trying to download googles homepage over https and I'm gettting some weird errors. I've searched the internet for the error message and tried many different things but I still can't seem to get this to work.
https://gist.github.com/3263944
11:21
gsav has quit [Ping timeout: 246 seconds]
11:23
<
whitequark >
*shrug* probably your CA cert is invalid
11:24
<
whitequark >
if you don't give a fuck if this is actual google or mitm'd, then you can remove that line. OTOH, you can just fall back to HTTP in that case.
11:24
<
whitequark >
if you do, /etc/ssl/certs has a database of CA's your system trusts
11:27
gnufied has quit [Quit: Leaving.]
11:28
benanne has joined #ruby-lang
11:28
dous has joined #ruby-lang
11:28
brunocoelho has joined #ruby-lang
11:33
dous has quit [Ping timeout: 240 seconds]
11:34
Hakon has quit [Quit: Leaving...]
11:35
gsav has joined #ruby-lang
11:35
qwerxy has quit [Quit: offski]
11:35
hramrach has joined #ruby-lang
11:36
mihar_ has quit [Ping timeout: 248 seconds]
11:38
<
urbanmonk >
whitequark: hmmm well the issue is that I created a contrived example to illustrate my problem. Utlimately I can't fallback to http because the api I'm connecting to is proctected with SSL and HTTP Basic Auth ... I tried using google because I figured they would have a cert that could be validateed with this cert file:
http://curl.haxx.se/ca/cacert.pem
11:38
gnufied has joined #ruby-lang
11:38
<
whitequark >
hm, theoretically that should work
11:39
<
urbanmonk >
whitequark: I've also tried the option OpenSSL::SSL::VERIFY_NONE to bypass any SSL checking and I got an SSL error as well
11:39
mihar has joined #ruby-lang
11:46
qwerxy has joined #ruby-lang
11:48
<
whitequark >
no idea, sorry
11:52
wmoxam_ has joined #ruby-lang
11:53
mihar has quit [Ping timeout: 250 seconds]
11:53
chendo_ has joined #ruby-lang
11:55
brunocoelho has quit [Ping timeout: 246 seconds]
12:03
gnufied has quit [Quit: Leaving.]
12:04
gnufied has joined #ruby-lang
12:04
gnufied has quit [Client Quit]
12:05
mihar has joined #ruby-lang
12:05
brunocoelho has joined #ruby-lang
12:07
wmoxam__ has joined #ruby-lang
12:07
wmoxam_ has quit [Ping timeout: 272 seconds]
12:13
jxie has quit [Quit: leaving]
12:14
Leeky is now known as Leeky_afk
12:19
virunga has quit [Ping timeout: 264 seconds]
12:26
mssola has joined #ruby-lang
12:26
Hakon has joined #ruby-lang
12:29
dous has joined #ruby-lang
12:29
dous has quit [Changing host]
12:29
dous has joined #ruby-lang
12:31
Hakon has quit [Ping timeout: 264 seconds]
12:34
dous has quit [Ping timeout: 264 seconds]
12:37
workmad3 has joined #ruby-lang
12:44
wmoxam__ has quit [Read error: Connection reset by peer]
12:45
srbartlett has quit [Remote host closed the connection]
12:53
neocoin has quit [Remote host closed the connection]
13:02
workmad3 has quit [Ping timeout: 272 seconds]
13:03
diegoviola has quit [Quit: leaving]
13:05
Criztian has quit [Remote host closed the connection]
13:05
Mon_Ouie has quit [Read error: Connection reset by peer]
13:06
Mon_Ouie has joined #ruby-lang
13:08
ChadStudmuffin has joined #ruby-lang
13:10
seanstickle has joined #ruby-lang
13:12
<
tef >
whitequark: tried giving the full path to the cacert file?
13:13
lynxy_ has joined #ruby-lang
13:14
lynxy has quit [Ping timeout: 272 seconds]
13:18
Jake232 has joined #ruby-lang
13:25
lynxy_ has quit [Quit: Leaving]
13:33
S1kx has joined #ruby-lang
13:35
andrewhl has joined #ruby-lang
13:41
Weems has quit [Read error: Connection reset by peer]
13:43
andrewhl has quit [Ping timeout: 246 seconds]
13:44
dous_ has joined #ruby-lang
13:44
dous_ has quit [Changing host]
13:44
dous_ has joined #ruby-lang
13:48
lele has joined #ruby-lang
13:58
Criztian has joined #ruby-lang
14:00
nofxx has quit [Ping timeout: 240 seconds]
14:07
Axsuul has quit [Ping timeout: 255 seconds]
14:12
Criztian has quit [Remote host closed the connection]
14:13
nofxx has joined #ruby-lang
14:13
nofxx has quit [Changing host]
14:13
nofxx has joined #ruby-lang
14:15
bryancp has joined #ruby-lang
14:16
dous_ has quit [Remote host closed the connection]
14:21
andrewhl has joined #ruby-lang
14:21
dous has joined #ruby-lang
14:21
dous has quit [Changing host]
14:21
dous has joined #ruby-lang
14:28
mk03 has quit [Remote host closed the connection]
14:29
FluffyCode has joined #ruby-lang
14:30
jxie has joined #ruby-lang
14:33
sailias has joined #ruby-lang
14:35
ttilley_off is now known as ttilley
14:43
qwerxy has quit [Quit: offski]
14:43
zmack has joined #ruby-lang
14:44
dhruvasagar has joined #ruby-lang
14:44
zmack has quit [Remote host closed the connection]
14:48
qwerxy has joined #ruby-lang
14:50
Hakon has joined #ruby-lang
14:51
Criztian has joined #ruby-lang
14:52
nofxx has quit [Read error: Connection reset by peer]
15:04
dhruvasagar has quit [Ping timeout: 246 seconds]
15:06
nofxx has joined #ruby-lang
15:08
andrewhl has quit [Read error: Connection reset by peer]
15:09
andrewhl has joined #ruby-lang
15:11
dfr|mac has joined #ruby-lang
15:15
esad has joined #ruby-lang
15:17
tbuehlmann has joined #ruby-lang
15:23
cha1tanya has joined #ruby-lang
15:23
cha1tanya has quit [Changing host]
15:23
cha1tanya has joined #ruby-lang
15:23
u_u has quit [Remote host closed the connection]
15:24
alex_k has quit [Quit: Lost terminal]
15:24
alex_k has joined #ruby-lang
15:26
sailias has quit [Ping timeout: 246 seconds]
15:32
andrewhl has quit [Ping timeout: 246 seconds]
15:32
gregmore_ has quit [Read error: No route to host]
15:32
gregmoreno has joined #ruby-lang
15:33
enebo has joined #ruby-lang
15:38
enebo has quit [Quit: enebo]
15:42
ChadStudmuffin has quit [Ping timeout: 246 seconds]
15:42
dhruvasagar has joined #ruby-lang
15:44
ChadStud1uffin has joined #ruby-lang
15:45
Jay_Levitt has joined #ruby-lang
15:46
spuk_ has quit [Quit: Human beings were created by water to transport it uphill.]
15:46
spuk has joined #ruby-lang
15:46
virunga has joined #ruby-lang
15:46
spuk has quit [Changing host]
15:46
spuk has joined #ruby-lang
15:47
cha1tanya has quit [Quit: cha1tanya]
15:47
virunga has quit [Client Quit]
15:47
u_u has joined #ruby-lang
15:50
qwerxy has quit [Quit: offski]
15:51
virunga has joined #ruby-lang
15:57
Leeky_afk has quit [Ping timeout: 246 seconds]
15:58
nofxx has quit [Ping timeout: 264 seconds]
16:00
dominikh has quit [Ping timeout: 246 seconds]
16:00
zz_chrismcg has quit [Quit: Bye]
16:00
salout has quit [Quit: Konversation terminated!]
16:00
mortice has quit [Ping timeout: 240 seconds]
16:01
oddmunds has quit [Ping timeout: 240 seconds]
16:01
zz_chrismcg has joined #ruby-lang
16:01
theoros has quit [Remote host closed the connection]
16:01
lucas has quit [Ping timeout: 248 seconds]
16:02
oddmunds has joined #ruby-lang
16:03
lucas has joined #ruby-lang
16:03
dhruvasagar has quit [Ping timeout: 244 seconds]
16:04
VGoff has joined #ruby-lang
16:05
theoros has joined #ruby-lang
16:05
Leeky_afk has joined #ruby-lang
16:06
mortice has joined #ruby-lang
16:07
oddmunds has quit [Ping timeout: 240 seconds]
16:08
qwerxy has joined #ruby-lang
16:11
nofxx has joined #ruby-lang
16:11
oddmunds has joined #ruby-lang
16:12
L0rdShrek has joined #ruby-lang
16:13
snorkdude has joined #ruby-lang
16:13
dominikh has joined #ruby-lang
16:16
gsav has quit [Ping timeout: 240 seconds]
16:19
dous has quit [Remote host closed the connection]
16:23
deryl has joined #ruby-lang
16:24
brunocoelho has quit [Remote host closed the connection]
16:24
sora_h is now known as s0ra_h
16:26
wallerdev has joined #ruby-lang
16:28
workmad3 has joined #ruby-lang
16:33
<
snorkdude >
Ruby langers, how do I store each value of an array into a variable?
16:33
<
snorkdude >
Is there any way to do this?
16:33
<
snorkdude >
*into a unique variable
16:34
<
Mon_Ouie >
You just do it? a = ary[0]; b = ary[1]; …
16:34
<
Mon_Ouie >
And if you mean to generate variables dynamically, that's just taking the wrong approach… that's what we have arrays and hashes for.
16:35
gsav has joined #ruby-lang
16:36
<
snorkdude >
So if I have an array with some values
16:36
<
snorkdude >
and I want to make a button having the text of each value, how would you do that?
16:36
<
Mon_Ouie >
array.each do |text| make_a_button_with(text) end
16:37
<
snorkdude >
make_a_button_with? should I define a new method?
16:37
<
Mon_Ouie >
See also Enumerable#map
16:37
<
Mon_Ouie >
You don't have to, just insert whatever you need to generate a button there
16:37
<
snorkdude >
So can I write that inside some ERB?
16:38
<
Mon_Ouie >
<% array.each do |text| %>; (use text to print a button here) ;<% end %>
16:39
cha1tanya has joined #ruby-lang
16:39
cha1tanya has quit [Changing host]
16:39
cha1tanya has joined #ruby-lang
16:43
nofxx has quit [Ping timeout: 246 seconds]
16:43
coryf has joined #ruby-lang
16:45
bryancp has quit [Remote host closed the connection]
16:49
spuk has quit [Read error: Connection reset by peer]
16:50
coryf has quit [Remote host closed the connection]
16:54
ylluminate has joined #ruby-lang
16:55
Jake232 has quit [Quit: Computer has gone to sleep.]
16:58
brunocoelho has joined #ruby-lang
16:58
dhruvasagar has joined #ruby-lang
17:00
qwerxy has quit [Quit: offski]
17:01
qwerxy has joined #ruby-lang
17:01
lsegal has joined #ruby-lang
17:02
qwerxy has quit [Client Quit]
17:05
samuelkadolph has quit [Quit: Quitting]
17:05
workmad3 has quit [Ping timeout: 246 seconds]
17:06
snorkdude has quit [Remote host closed the connection]
17:07
snorkdude has joined #ruby-lang
17:08
cha1tanya has quit [Quit: cha1tanya]
17:11
solars has quit [Ping timeout: 240 seconds]
17:12
hinbody has quit [Ping timeout: 276 seconds]
17:12
nofxx has joined #ruby-lang
17:13
bytephilia has joined #ruby-lang
17:15
RickHull has joined #ruby-lang
17:16
bryancp has joined #ruby-lang
17:17
cantonic has quit [Quit: cantonic]
17:18
nofxx has quit [Ping timeout: 244 seconds]
17:20
dous has joined #ruby-lang
17:20
dous has quit [Changing host]
17:20
dous has joined #ruby-lang
17:20
snorkdude has quit [Remote host closed the connection]
17:23
dhruvasagar has quit [Ping timeout: 250 seconds]
17:23
rindolf has joined #ruby-lang
17:24
dous has quit [Ping timeout: 246 seconds]
17:25
s0ra_h is now known as sora_h
17:28
<
rindolf >
s/This/This seems/
17:28
bryancp has quit [Remote host closed the connection]
17:29
<
seanstickle >
rindolf: difference between 1.9 series and 1.8 series
17:29
solars has joined #ruby-lang
17:29
<
seanstickle >
1.8 series returns the ASCII value
17:29
<
seanstickle >
1.9 series returns the character
17:30
<
rue >
You can use #chr, it’s compatible
17:30
<
rue >
If you need to support both
17:30
sailias has joined #ruby-lang
17:30
<
rindolf >
rue: I want in the middle of a string.
17:31
<
rue >
Doesn’t matter?
17:31
<
rue >
In 1.8, 72.chr == "H", in 1.9 "H".chr == "H"
17:31
deryl has quit [Ping timeout: 250 seconds]
17:32
nofxx has joined #ruby-lang
17:34
tomzx_ has joined #ruby-lang
17:38
nofxx has quit [Ping timeout: 246 seconds]
17:39
<
rindolf >
rue: ah, well.
17:39
<
rindolf >
rue: I used s[x,1] instead.
17:40
urbanmonk has quit [Quit: Bye!]
17:41
samuelkadolph has joined #ruby-lang
17:42
<
headius >
[] isn't a bad choice for that
17:44
FastJack_ has joined #ruby-lang
17:44
TH__ has joined #ruby-lang
17:44
lele has quit [Ping timeout: 272 seconds]
17:45
mytrile has joined #ruby-lang
17:46
amerine_ has joined #ruby-lang
17:46
JackNorris has quit [Ping timeout: 245 seconds]
17:46
Jade has quit [Ping timeout: 245 seconds]
17:46
JackNorris has joined #ruby-lang
17:46
FastJack has quit [Ping timeout: 245 seconds]
17:46
ttilley has quit [Ping timeout: 245 seconds]
17:46
amerine has quit [Ping timeout: 245 seconds]
17:46
th_ has quit [Remote host closed the connection]
17:46
Stereokitsune has quit [Ping timeout: 245 seconds]
17:46
samuelkadolph_ has joined #ruby-lang
17:46
samuelkadolph has quit [Ping timeout: 246 seconds]
17:47
samuelkadolph has joined #ruby-lang
17:47
Stereokitsune has joined #ruby-lang
17:48
Tasser has quit [Ping timeout: 265 seconds]
17:48
jordan`` has joined #ruby-lang
17:49
jordan` has quit [Ping timeout: 245 seconds]
17:49
sevvie has joined #ruby-lang
17:50
bmaland_ has joined #ruby-lang
17:50
bmaland has quit [Ping timeout: 245 seconds]
17:50
samuelkadolph_ has quit [Ping timeout: 246 seconds]
17:51
Z33K|Lux has joined #ruby-lang
17:51
sora_h is now known as s0ra_h
17:52
nofxx has joined #ruby-lang
17:53
mytrile has quit [Quit: Leaving.]
17:54
tpope_ has joined #ruby-lang
17:58
spuk has joined #ruby-lang
18:01
lzhz_ has joined #ruby-lang
18:01
cantonic has joined #ruby-lang
18:02
ylluminate has quit [Ping timeout: 265 seconds]
18:04
JackNorris has quit [*.net *.split]
18:04
corundum has quit [*.net *.split]
18:04
drbrain has quit [*.net *.split]
18:04
snuxoll has quit [*.net *.split]
18:04
dju has quit [*.net *.split]
18:04
perryh_ has quit [*.net *.split]
18:04
adgar has quit [*.net *.split]
18:04
kartouch has quit [*.net *.split]
18:04
lzhz has quit [*.net *.split]
18:04
tpope has quit [*.net *.split]
18:05
adgar has joined #ruby-lang
18:07
ttilley has joined #ruby-lang
18:09
ylluminate has joined #ruby-lang
18:10
JackNorris has joined #ruby-lang
18:10
corundum has joined #ruby-lang
18:10
drbrain has joined #ruby-lang
18:10
dju has joined #ruby-lang
18:10
perryh_ has joined #ruby-lang
18:10
snuxoll has joined #ruby-lang
18:10
kartouch has joined #ruby-lang
18:10
dju has quit [Max SendQ exceeded]
18:11
havenn has joined #ruby-lang
18:12
dju has joined #ruby-lang
18:14
lele has joined #ruby-lang
18:14
cantonic has quit [Quit: cantonic]
18:15
slyphon has quit [Ping timeout: 245 seconds]
18:15
cantonic has joined #ruby-lang
18:15
seanstickle has quit [Quit: seanstickle]
18:19
sailias has quit [Quit: Leaving.]
18:19
S1kx has quit [Ping timeout: 246 seconds]
18:25
brianpWins has joined #ruby-lang
18:26
mssola has quit [Quit: Konversation terminated!]
18:27
tomzx_ has quit [Ping timeout: 272 seconds]
18:28
tomzx_ has joined #ruby-lang
18:31
cantonic has quit [Quit: cantonic]
18:34
cantonic has joined #ruby-lang
18:34
havenn has quit [Remote host closed the connection]
18:35
s0ra_h is now known as sora_h
18:38
headius has quit [Quit: headius]
18:39
solars has quit [Ping timeout: 240 seconds]
18:39
workmad3 has joined #ruby-lang
18:39
rindolf has quit [Quit: Leaving]
18:40
havenn has joined #ruby-lang
18:44
fgomez has quit [Quit: leaving]
18:45
naquad has joined #ruby-lang
18:46
deryl has joined #ruby-lang
18:49
fgomez has joined #ruby-lang
18:53
sora_h is now known as s0ra_h
18:55
havenn has quit [Read error: Connection reset by peer]
18:55
havenn has joined #ruby-lang
18:58
brianpWins has quit [Quit: brianpWins]
18:58
dr_bob has joined #ruby-lang
19:04
hramrach has quit [Ping timeout: 276 seconds]
19:04
bytephilia has quit [Quit: Computer has gone to sleep.]
19:07
Weems has joined #ruby-lang
19:12
wallerdev has quit [Quit: wallerdev]
19:12
Jake232 has joined #ruby-lang
19:13
Hina_Cute has joined #ruby-lang
19:13
Hina_Cute has left #ruby-lang [#ruby-lang]
19:17
hramrach has joined #ruby-lang
19:18
dfr|mac has quit [Remote host closed the connection]
19:21
dous has joined #ruby-lang
19:21
dous has quit [Changing host]
19:21
dous has joined #ruby-lang
19:25
gsav has quit [Ping timeout: 272 seconds]
19:26
ylluminate has quit [Ping timeout: 252 seconds]
19:26
dous has quit [Ping timeout: 246 seconds]
19:32
vertroa_ has joined #ruby-lang
19:34
dfr|mac has joined #ruby-lang
19:36
vertroa has quit [Ping timeout: 250 seconds]
19:36
s0ra_h is now known as sora_h
19:37
gsav has joined #ruby-lang
19:46
savage- has joined #ruby-lang
19:47
wallerdev has joined #ruby-lang
19:53
sora_h is now known as s0ra_h
19:54
d3vic3 has joined #ruby-lang
20:00
towski has joined #ruby-lang
20:00
workmad3 has quit [Ping timeout: 246 seconds]
20:01
towski has quit [Remote host closed the connection]
20:09
brianpWins has joined #ruby-lang
20:09
havenn has quit [Remote host closed the connection]
20:21
Axsuul has joined #ruby-lang
20:23
dous has joined #ruby-lang
20:23
dous has quit [Changing host]
20:23
dous has joined #ruby-lang
20:24
savage- has quit [Remote host closed the connection]
20:25
brunocoelho has quit [Remote host closed the connection]
20:26
qwerxy has joined #ruby-lang
20:27
u_u has quit [Ping timeout: 272 seconds]
20:28
dous has quit [Ping timeout: 246 seconds]
20:29
workmad3 has joined #ruby-lang
20:31
qwerxy has quit [Quit: offski]
20:32
savage- has joined #ruby-lang
20:33
tbuehlmann has quit []
20:36
alex_k has quit [Quit: Lost terminal]
20:36
s0ra_h is now known as sora_h
20:41
igotnolegs has joined #ruby-lang
20:44
u_u has joined #ruby-lang
20:46
bryancp has joined #ruby-lang
20:46
solars has joined #ruby-lang
20:48
d3vic3 has quit [Quit: leaving]
20:48
nofxx has quit [Ping timeout: 246 seconds]
20:50
savage- has quit [Remote host closed the connection]
20:50
bryancp has quit [Remote host closed the connection]
20:51
ryanf has joined #ruby-lang
20:53
yxhuvud has quit [Ping timeout: 246 seconds]
20:54
sora_h is now known as s0ra_h
20:57
u_u has quit [Ping timeout: 244 seconds]
20:58
neocoin has joined #ruby-lang
20:59
tomzx_ has quit [Read error: Operation timed out]
20:59
havenn has joined #ruby-lang
21:01
nofxx has joined #ruby-lang
21:01
nofxx has quit [Changing host]
21:01
nofxx has joined #ruby-lang
21:04
Criztian has quit [Ping timeout: 246 seconds]
21:04
savage- has joined #ruby-lang
21:05
Musfuut has quit [Read error: Operation timed out]
21:06
nofxx has quit [Ping timeout: 264 seconds]
21:06
dr_bob has quit [Quit: Leaving.]
21:09
cschneid has quit [Ping timeout: 240 seconds]
21:09
s0ber_ has joined #ruby-lang
21:11
s0ber has quit [Ping timeout: 252 seconds]
21:11
s0ber_ is now known as s0ber
21:12
chimkan_ has joined #ruby-lang
21:13
gsav has quit [Ping timeout: 240 seconds]
21:17
nofxx has joined #ruby-lang
21:17
nofxx has quit [Changing host]
21:17
nofxx has joined #ruby-lang
21:18
cschneid has joined #ruby-lang
21:18
gsav has joined #ruby-lang
21:20
Musfuut has joined #ruby-lang
21:23
gsav has quit [Ping timeout: 246 seconds]
21:23
cschneid has quit [Ping timeout: 245 seconds]
21:24
dous has joined #ruby-lang
21:24
dous has quit [Changing host]
21:24
dous has joined #ruby-lang
21:25
diegoviola has joined #ruby-lang
21:26
cschneid has joined #ruby-lang
21:26
deryl has quit [Quit: deryl]
21:29
dous has quit [Ping timeout: 250 seconds]
21:29
fayimora has quit [Quit: Be back in a gifii]
21:29
cschneid has quit [Read error: Operation timed out]
21:31
w0lverine has joined #ruby-lang
21:32
Musfuut has quit [Read error: Operation timed out]
21:32
Musfuut has joined #ruby-lang
21:36
sailias has joined #ruby-lang
21:37
cschneid has joined #ruby-lang
21:37
s0ra_h is now known as sora_h
21:37
w0lverine has quit [Quit: w0lverine]
21:38
burgestrand has joined #ruby-lang
21:40
thone_ has joined #ruby-lang
21:41
thone has quit [Read error: Operation timed out]
21:45
banisterfiend has quit [Remote host closed the connection]
21:46
workmad3 has quit [Ping timeout: 246 seconds]
21:47
sailias has quit [Quit: Leaving.]
21:48
wallerdev has quit [Quit: wallerdev]
21:51
nofxx has quit [Ping timeout: 246 seconds]
21:52
havenn has quit [Remote host closed the connection]
21:53
burgestrand has quit [Quit: Leaving.]
21:54
Hakon has quit [Quit: Leaving...]
21:58
gsav has joined #ruby-lang
21:59
burgestrand has joined #ruby-lang
22:02
gsav has quit [Ping timeout: 240 seconds]
22:04
nofxx has joined #ruby-lang
22:04
nofxx has quit [Changing host]
22:04
nofxx has joined #ruby-lang
22:05
andrewhl has joined #ruby-lang
22:07
guns has joined #ruby-lang
22:07
valeri_ufo has quit [Read error: Connection reset by peer]
22:08
valeri_uF0 has joined #ruby-lang
22:10
mfn has quit [Ping timeout: 248 seconds]
22:10
banisterfiend has joined #ruby-lang
22:11
tubbo has quit [Ping timeout: 248 seconds]
22:12
ltd has quit [Ping timeout: 252 seconds]
22:12
mfn has joined #ruby-lang
22:13
ltd has joined #ruby-lang
22:13
seanstickle has joined #ruby-lang
22:15
tubbo has joined #ruby-lang
22:15
Leeky_afk is now known as Leeky
22:16
sora_h is now known as s0ra_h
22:16
postmodern has joined #ruby-lang
22:16
urbanmonk has joined #ruby-lang
22:17
flebel has quit [Ping timeout: 250 seconds]
22:20
burgestrand has quit [Quit: Leaving.]
22:20
vertroa has joined #ruby-lang
22:21
gsav has joined #ruby-lang
22:23
flebel has joined #ruby-lang
22:24
brianpWins has quit [Quit: brianpWins]
22:26
dous has joined #ruby-lang
22:28
bytephilia has joined #ruby-lang
22:30
dous has quit [Ping timeout: 244 seconds]
22:32
JoshWines has joined #ruby-lang
22:34
gsav has quit [Ping timeout: 272 seconds]
22:37
havenn has joined #ruby-lang
22:37
solars has quit [Read error: Operation timed out]
22:38
havenn has quit [Remote host closed the connection]
22:39
bryancp has joined #ruby-lang
22:42
S1kx has joined #ruby-lang
22:42
S1kx has joined #ruby-lang
22:46
S1kx has quit [Read error: Connection reset by peer]
22:48
urbanmonk has quit [Ping timeout: 272 seconds]
22:49
dous has joined #ruby-lang
22:51
banisterfiend has quit [Remote host closed the connection]
22:53
gsav has joined #ruby-lang
22:54
mk03 has joined #ruby-lang
22:58
sepp2k has quit [Remote host closed the connection]
22:59
chimkan_ has quit [Quit: chimkan_]
23:00
brianpWins has joined #ruby-lang
23:01
chimkan has joined #ruby-lang
23:02
banisterfiend has joined #ruby-lang
23:02
bryancp has quit [Remote host closed the connection]
23:12
dous has quit [Remote host closed the connection]
23:12
bytephilia has quit [Remote host closed the connection]
23:14
banisterfiend is now known as ReginaldTan
23:16
tomzx_ has joined #ruby-lang
23:16
s0ra_h is now known as sora_h
23:18
u_u has joined #ruby-lang
23:19
gsav has quit [Ping timeout: 246 seconds]
23:20
nagato has joined #ruby-lang
23:24
Jake232 has quit [Quit: Computer has gone to sleep.]
23:25
srbartlett has joined #ruby-lang
23:25
benanne has quit [Quit: kbai]
23:26
sora_h is now known as s0ra_h
23:26
s0ra_h is now known as sora_h
23:33
deryl has joined #ruby-lang
23:35
savage- has quit [Remote host closed the connection]
23:42
ReginaldTan has quit [Remote host closed the connection]
23:47
nofxx has quit [Ping timeout: 246 seconds]
23:48
ReginaldTan has joined #ruby-lang
23:49
havenn has joined #ruby-lang
23:50
ReginaldTan is now known as banisterfiend
23:52
banisterfiend has quit [Remote host closed the connection]
23:53
havenn has quit [Ping timeout: 244 seconds]
23:56
banisterfiend has joined #ruby-lang
23:57
virunga has quit [Quit: Sto andando via]
23:58
toretore has quit [Quit: This computer has gone to sleep]