00:00
beemo has quit [Ping timeout: 240 seconds]
00:00
patrick99e99 has quit [Ping timeout: 240 seconds]
00:02
badhatter has joined #ruby
00:03
djbkd has joined #ruby
00:04
nateberkopec has quit [Ping timeout: 240 seconds]
00:04
<
banisterfiend >
wallerdev have you tried oing for a ruby job?
00:05
CaptainAnime has quit [Ping timeout: 240 seconds]
00:05
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
00:05
_5kg has quit [Ping timeout: 264 seconds]
00:05
gkagan has joined #ruby
00:06
<
wallerdev >
idk i like JS a lot and i think it has more of a future than ruby
00:06
emmesswhy has joined #ruby
00:06
<
wallerdev >
anyway my previous job was .NET and im much happier doing JS
00:06
CaptainAnime has joined #ruby
00:07
<
wallerdev >
i could probably get a ruby job if i looked for one
00:07
<
dorei >
i think i can only tolerate js in its coffeescript form xD
00:07
<
johndeeer >
does the nymi use ruby?
00:07
<
wallerdev >
im not a huge fan of coffeescript
00:07
<
wallerdev >
reminds me of python
00:08
<
banisterfiend >
wallerdev just front-end dev? or you're doing back-end in js too?
00:08
<
wallerdev >
ive done both but mostly front end lately
00:08
<
wallerdev >
angularJS
00:08
<
banisterfiend >
yeah fuck that, i'd hate to do primarily front-end
00:08
<
banisterfiend >
css, lul
00:08
<
wallerdev >
i dont do any css
00:08
vyorkin has joined #ruby
00:08
<
wallerdev >
or html lol
00:08
<
banisterfiend >
wallerdev ah ok, who're you working for?
00:09
vyorkin has quit [Client Quit]
00:09
<
wallerdev >
just js front-end
00:09
<
wallerdev >
its a single page app kinda deal
00:09
djbkd has quit [Remote host closed the connection]
00:09
yubrew has joined #ruby
00:09
fabrice31 has joined #ruby
00:09
<
wallerdev >
prefer not to say who i work for :p
00:09
<
banisterfiend >
ok, weird ;)
00:09
hooper has quit [Quit: Leaving.]
00:10
<
wallerdev >
haha i can pm you if you really care
00:10
<
banisterfiend >
sure
00:10
gkagan has quit [Ping timeout: 245 seconds]
00:11
marr has quit [Ping timeout: 264 seconds]
00:13
jmbrown412 has quit [Remote host closed the connection]
00:13
sepp2k1 has joined #ruby
00:13
jmbrown412 has joined #ruby
00:13
chipotle has quit [Quit: cya]
00:13
fabrice31 has quit [Ping timeout: 250 seconds]
00:14
yubrew has quit [Ping timeout: 255 seconds]
00:14
djbkd has joined #ruby
00:14
sepp2k has quit [Ping timeout: 260 seconds]
00:16
Outlawandy has joined #ruby
00:16
emocakes has quit []
00:17
jmbrown412 has quit [Ping timeout: 245 seconds]
00:18
Outlawandy has left #ruby [#ruby]
00:19
Outlawandy has joined #ruby
00:19
treehug88 has quit []
00:19
angusigu1ss has joined #ruby
00:20
angusiguess has quit [Ping timeout: 246 seconds]
00:20
aspires has quit []
00:20
aspires has joined #ruby
00:21
nateberkopec has joined #ruby
00:21
ramin_sed has joined #ruby
00:21
hamakn has joined #ruby
00:22
mikesplain has joined #ruby
00:22
asteve has joined #ruby
00:23
mikepack_ has joined #ruby
00:24
angusigu1ss has quit [Ping timeout: 245 seconds]
00:24
angusiguess has joined #ruby
00:24
jelera has joined #ruby
00:25
mikecmpbll has quit [Quit: i've nodded off.]
00:25
rezzack has joined #ruby
00:25
nateberkopec has quit [Ping timeout: 240 seconds]
00:26
hamakn has quit [Ping timeout: 255 seconds]
00:27
cndiv has quit [Ping timeout: 240 seconds]
00:27
mikepack has quit [Ping timeout: 272 seconds]
00:28
lukeholder has joined #ruby
00:29
angusiguess has quit [Ping timeout: 240 seconds]
00:29
mengu has quit [Remote host closed the connection]
00:29
Outlawandy has left #ruby [#ruby]
00:29
angusiguess has joined #ruby
00:30
emocakes has joined #ruby
00:31
cpruitt has joined #ruby
00:31
Fezzler has joined #ruby
00:31
Wolland has joined #ruby
00:32
davispuh has quit [Ping timeout: 245 seconds]
00:32
emocakes has quit [Client Quit]
00:32
jerikl has quit [Quit: jerikl]
00:32
jdj_dk has joined #ruby
00:32
havenwood has quit []
00:32
yfeldblum has quit [Remote host closed the connection]
00:33
owen1 has joined #ruby
00:33
SilkFox_ has joined #ruby
00:33
yfeldblum has joined #ruby
00:33
emmesswhy has quit [Quit: This computer has gone to sleep]
00:33
cpruitt has quit [Client Quit]
00:34
<
owen1 >
i installed ruby 2.0.0-p353 with rbenv. when i run bundle install i get: -bash: /usr/local/bin/bundle: /usr/bin/ruby1.9.1: bad interpreter: No such file or directory. any ideas?
00:34
<
wallerdev >
sounds like ruby 1.9 is first in your path
00:34
saarinen has quit [Quit: saarinen]
00:35
ptrrr has quit [Quit: ptrrr]
00:35
<
wallerdev >
whats your ruby -v
00:35
<
owen1 >
i don't think i have 1.9. aptitude search ruby show me: pi ruby1.9.1
00:35
nobitanobi has quit [Remote host closed the connection]
00:35
sdouglas has quit [Remote host closed the connection]
00:35
dgutierrez1287 has joined #ruby
00:35
<
owen1 >
not sure what pi means on ubuntu
00:36
sdouglas has joined #ruby
00:36
Wolland has quit [Ping timeout: 260 seconds]
00:36
SCHAAP137 has quit [Remote host closed the connection]
00:37
jdj_dk has quit [Ping timeout: 260 seconds]
00:37
yetanotherdave has quit [Ping timeout: 240 seconds]
00:37
SilkFox_ has quit [Ping timeout: 240 seconds]
00:38
yfeldblum has quit [Read error: Connection reset by peer]
00:38
yfeldblum has joined #ruby
00:38
St_Marx has quit [Quit: Ex-Chat]
00:39
Kricir has joined #ruby
00:39
angusiguess has quit [Ping timeout: 272 seconds]
00:39
angusiguess has joined #ruby
00:40
sdouglas has quit [Ping timeout: 250 seconds]
00:40
SCHAAP137 has joined #ruby
00:40
dgutierrez1287 has quit [Ping timeout: 245 seconds]
00:40
ixti has joined #ruby
00:41
djbkd has quit [Read error: Connection reset by peer]
00:41
djbkd has joined #ruby
00:41
aspires has quit []
00:42
djbkd has quit [Remote host closed the connection]
00:42
klmlfl has joined #ruby
00:42
nateberkopec has joined #ruby
00:43
mikepack_ has quit [Remote host closed the connection]
00:43
ramin_sed has quit [Remote host closed the connection]
00:43
Kricir has quit [Ping timeout: 250 seconds]
00:44
ramin_sed has joined #ruby
00:44
vifino has quit [Quit: Me sais Laptop sleepy.]
00:44
mikepack has joined #ruby
00:45
AlexRussia has quit [Ping timeout: 250 seconds]
00:46
cocotton has joined #ruby
00:47
nateberkopec has quit [Ping timeout: 240 seconds]
00:47
yfeldblum has quit [Remote host closed the connection]
00:47
St_Marx has joined #ruby
00:48
yfeldblum has joined #ruby
00:48
ramin_sed has quit [Ping timeout: 250 seconds]
00:49
mikepack has quit [Ping timeout: 264 seconds]
00:50
chipotle has joined #ruby
00:52
gregf has quit [Quit: WeeChat 0.4.3]
00:52
renderful has joined #ruby
00:52
yfeldblum has quit [Ping timeout: 240 seconds]
00:53
dgutierrez1287 has joined #ruby
00:54
yetanotherdave has joined #ruby
00:54
dgutierrez1287 has quit [Max SendQ exceeded]
00:55
renderfu_ has quit [Ping timeout: 246 seconds]
00:55
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
00:56
InhalingPixels has quit [Remote host closed the connection]
00:56
wjimenez5271 has quit [Ping timeout: 264 seconds]
00:56
beemo has joined #ruby
00:56
<
jhass >
owen1: try sudo rm /usr/local/bin/bundle; gem install bundler; rbenv rehash;
00:56
ramin_sed has joined #ruby
00:56
<
owen1 >
wallerdev: jhass ruby -v -> ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-linux] which ruby -> /home/oren/.rbenv/shims/ruby which bundle -> /home/oren/.rbenv/shims/bundle
00:57
gsd has joined #ruby
00:57
ramin_sed has quit [Remote host closed the connection]
00:57
Channel6 has joined #ruby
00:57
armanghassemi_ has joined #ruby
00:57
ramin_sed has joined #ruby
00:57
johndeeer has quit [Ping timeout: 245 seconds]
00:58
lidaaa has quit [Read error: Connection reset by peer]
00:58
dgutierrez1287 has joined #ruby
00:58
dgutierrez1287 has quit [Max SendQ exceeded]
00:58
lidaaa has joined #ruby
00:58
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
00:58
nahob has quit [Ping timeout: 250 seconds]
00:59
dgutierrez1287 has joined #ruby
00:59
sdouglas has joined #ruby
01:00
Takle has quit [Remote host closed the connection]
01:00
nanoyak has quit [Quit: Computer has gone to sleep.]
01:00
beemo has quit [Ping timeout: 250 seconds]
01:01
gsd has quit [Ping timeout: 250 seconds]
01:01
<
owen1 >
jhass: works! what was that?
01:01
<
jhass >
throwing out old cruft
01:02
JoshGlzBrk has joined #ruby
01:02
infinitone has quit [Remote host closed the connection]
01:02
momomomomo has quit [Quit: momomomomo]
01:03
yubrew has joined #ruby
01:03
nateberkopec has joined #ruby
01:03
jerikl has joined #ruby
01:04
alexju has joined #ruby
01:04
pbhandari has quit [Quit: leaving]
01:04
kristofferR has joined #ruby
01:04
philcrissman has joined #ruby
01:05
hephaestus_rg has quit [Ping timeout: 264 seconds]
01:06
tylerker_ has quit [Ping timeout: 245 seconds]
01:07
gkagan has joined #ruby
01:07
ramin_sed has quit [Remote host closed the connection]
01:07
yubrew has quit [Ping timeout: 246 seconds]
01:08
nateberkopec has quit [Ping timeout: 240 seconds]
01:08
hamakn has joined #ruby
01:09
philcrissman has quit [Ping timeout: 246 seconds]
01:09
mikesplain has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
01:09
charliesome has quit [Quit: zzz]
01:10
toastynerd has joined #ruby
01:11
gkagan has quit [Ping timeout: 255 seconds]
01:12
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
01:13
yetanotherdave has quit [Quit: Lost terminal]
01:14
braincra- has joined #ruby
01:14
TheNet has joined #ruby
01:16
shevy has joined #ruby
01:16
braincrash has quit [Ping timeout: 245 seconds]
01:17
dgutierrez1287 has quit [Ping timeout: 260 seconds]
01:17
Spami has joined #ruby
01:18
toastynerd has quit [Remote host closed the connection]
01:22
lw has joined #ruby
01:22
TorpedoSkyline has joined #ruby
01:22
nobitanobi has joined #ruby
01:23
troyready has quit [Ping timeout: 245 seconds]
01:24
xaxisx has joined #ruby
01:25
nateberkopec has joined #ruby
01:25
jhass is now known as jhass|off
01:25
sdwrage has quit [Quit: This computer has gone to sleep]
01:26
kenndel_ has joined #ruby
01:26
charliesome has joined #ruby
01:26
TorpedoSkyline has quit [Client Quit]
01:27
jelera has quit [Quit: WeeChat 0.4.2]
01:27
sdouglas has quit [Remote host closed the connection]
01:27
jamesfor_ has quit [Remote host closed the connection]
01:28
sdouglas has joined #ruby
01:29
kenndel has quit [Ping timeout: 240 seconds]
01:29
nateberkopec has quit [Ping timeout: 240 seconds]
01:30
nateberkopec has joined #ruby
01:30
bmurt has joined #ruby
01:30
deric_skibotn_ has quit [Ping timeout: 240 seconds]
01:31
Wolland has joined #ruby
01:32
InhalingPixels has joined #ruby
01:32
jdj_dk has joined #ruby
01:32
sdouglas has quit [Ping timeout: 260 seconds]
01:34
SilkFox_ has joined #ruby
01:35
nanoyak has joined #ruby
01:35
thomasxie has joined #ruby
01:35
wallerdev has quit [Quit: wallerdev]
01:36
sylvanica has joined #ruby
01:36
CorySimmons has joined #ruby
01:36
jdj_dk has quit [Ping timeout: 245 seconds]
01:38
Wolland has quit [Ping timeout: 250 seconds]
01:38
SilkFox_ has quit [Ping timeout: 260 seconds]
01:39
cndiv has joined #ruby
01:40
cndiv has quit [Client Quit]
01:40
Kricir has joined #ruby
01:40
nobitanobi has quit []
01:41
nobitanobi has joined #ruby
01:41
nanoyak_ has joined #ruby
01:42
sepp2k1 has quit [Read error: Connection reset by peer]
01:42
teddyp1cker has joined #ruby
01:42
thomasxie has quit [Remote host closed the connection]
01:42
crdpink has quit [Quit: q term]
01:43
thomasxie has joined #ruby
01:43
nanoyak has quit [Ping timeout: 240 seconds]
01:43
mosheee has quit [Ping timeout: 264 seconds]
01:44
robscormack has joined #ruby
01:44
Kricir has quit [Ping timeout: 240 seconds]
01:46
Red_Onyx has joined #ruby
01:46
goleldar has quit [Remote host closed the connection]
01:46
bricker`work has quit [Ping timeout: 264 seconds]
01:47
kristofferR has quit [Remote host closed the connection]
01:47
teddyp1cker has quit [Ping timeout: 250 seconds]
01:47
goleldar has joined #ruby
01:47
bitri has joined #ruby
01:48
kenneth has joined #ruby
01:49
yfeldblum has joined #ruby
01:49
jhc76 has quit [Quit: Leaving]
01:50
thomasxie has quit [Remote host closed the connection]
01:50
thomasxie has joined #ruby
01:50
bthesorceror has joined #ruby
01:50
kristofferR has joined #ruby
01:51
goleldar has quit [Ping timeout: 255 seconds]
01:52
Wolland has joined #ruby
01:52
jgrevich has quit [Quit: jgrevich]
01:52
sdouglas has joined #ruby
01:53
cpruitt has joined #ruby
01:55
Shidash has joined #ruby
01:55
wallerdev has joined #ruby
01:56
saarinen has joined #ruby
01:56
yfeldblum has quit [Remote host closed the connection]
01:57
rjhunter has quit [Remote host closed the connection]
01:57
patrick99e99 has joined #ruby
01:57
yubrew has joined #ruby
01:58
fabrice31 has joined #ruby
01:58
CorySimmons has quit [Quit: Zzz...]
01:58
crdpink has joined #ruby
01:59
cy has quit [Quit: bedtime]
01:59
Red_Onyx has quit [Quit: Leaving]
01:59
<
armanghassemi_ >
guys does anyone know if you can program the nymi with ruby?
01:59
<
armanghassemi_ >
someone told me you could, but everything i see online is in C,C++
02:00
Takle has joined #ruby
02:00
<
robscormack >
nymi, is that the cardiac monitor?
02:01
benzrf has joined #ruby
02:01
cpruitt has quit [Quit: cpruitt]
02:01
patrick99e99 has quit [Ping timeout: 240 seconds]
02:01
craigp has quit [Remote host closed the connection]
02:01
jkline has quit [Quit: jkline]
02:02
yubrew has quit [Ping timeout: 250 seconds]
02:02
fabrice31 has quit [Ping timeout: 246 seconds]
02:03
SilkFox_ has joined #ruby
02:03
tectonic has joined #ruby
02:05
Akagi201 has joined #ruby
02:06
Spami has quit [Quit: This computer has gone to sleep]
02:06
Lewix has joined #ruby
02:07
bradleyprice has quit [Remote host closed the connection]
02:07
bradleyprice has joined #ruby
02:07
Takle has quit [Ping timeout: 250 seconds]
02:08
tylerkern has joined #ruby
02:08
SilkFox_ has quit [Ping timeout: 260 seconds]
02:08
bthesorceror has quit [Ping timeout: 260 seconds]
02:08
gkagan has joined #ruby
02:08
AlexRussia has joined #ruby
02:10
Fezzler has quit [Quit: Leaving]
02:10
kristofferR has quit [Remote host closed the connection]
02:10
frankle has quit [Quit: Connection closed for inactivity]
02:11
benzrf is now known as not_benzrf
02:11
not_benzrf is now known as benzrf
02:12
rjhunter has joined #ruby
02:12
bradleyprice has quit [Ping timeout: 255 seconds]
02:12
klmlfl has quit [Quit: klmlfl]
02:13
gkagan has quit [Ping timeout: 272 seconds]
02:16
renier_ has quit [Ping timeout: 240 seconds]
02:17
rjhunter has quit [Ping timeout: 250 seconds]
02:18
jeramyRR has joined #ruby
02:18
klmlfl has joined #ruby
02:18
<
jeramyRR >
Hi everyone
02:19
<
jeramyRR >
Was hoping someone could help me with a regexp
02:19
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
02:20
<
jeramyRR >
trying to create a regex for roman numerals where there can only be a maximum of three for each character
02:20
CorySimmons has joined #ruby
02:20
<
jeramyRR >
like VIII will be true, while VIIII will be false
02:20
angusigu1ss has joined #ruby
02:20
renier has joined #ruby
02:20
rjhunter has joined #ruby
02:21
nateberkopec has quit [Quit: Leaving...]
02:21
<
armanghassemi_ >
robscormack, yes it is
02:22
angusiguess has quit [Ping timeout: 250 seconds]
02:22
cpruitt has joined #ruby
02:23
mary5030 has joined #ruby
02:23
mary5030 has quit [Remote host closed the connection]
02:23
mary5030 has joined #ruby
02:24
CuriousMind has joined #ruby
02:24
<
CuriousMind >
Can someone help me use the git editor? PLEAAASE
02:24
<
CuriousMind >
I am in git and no one is helping me. >:(
02:25
<
CuriousMind >
centrx, RubyPather?
02:25
<
CuriousMind >
shevy: Please help me shevy.
02:25
nateberkopec has joined #ruby
02:25
<
mozzarella >
CuriousMind: what's the "git editor"?
02:25
<
benzrf >
jeramyRR: why the heck are you using regex
02:25
<
benzrf >
for such a thing
02:25
<
CuriousMind >
mozzarella: One second, I will take a picture.
02:25
<
CuriousMind >
Hi benzrf!
02:25
* benzrf
whaps jeramyRR with a roled up news paper
02:25
<
benzrf >
hows it goin CuriousMind
02:25
charliesome has quit [Quit: zzz]
02:26
<
CuriousMind >
benzrf: Not good :(
02:26
nobitanobi has quit []
02:27
<
benzrf >
somebody should invent proper cool FP libs and categorical concepts for ruby
02:27
<
jeramyRR >
because I’m a noobie and have no f’n clue what I’m doing yet
02:27
<
benzrf >
like so many people have for js
02:27
<
benzrf >
cant i just have my monads
02:27
<
jeramyRR >
I just figured it’d be easier to use a regexp
02:28
AlexRussia has quit [Ping timeout: 240 seconds]
02:28
lw has quit [Quit: s]
02:28
<
benzrf >
really what it comes down to
02:28
<
benzrf >
really what it comes down to
02:29
<
benzrf >
more languages need algebraic data types
02:29
<
CuriousMind >
It's so confusing benzrf and mozzarella
02:29
<
benzrf >
whyyyy are you rebasing
02:29
<
CuriousMind >
benzrf me?
02:29
<
mozzarella >
CuriousMind: that's vim…
02:29
<
CuriousMind >
benzrf is that what it's called, rebasing?
02:29
<
CuriousMind >
I don't know about vim! :(
02:30
<
benzrf >
yo i thought u were out of windows
02:30
<
mozzarella >
then use another editor?
02:30
<
CuriousMind >
mozzarella I want to learn about this. I want to do things through this.
02:30
emandari has quit [Quit: leaving]
02:30
<
CuriousMind >
I would like help, that's all I ask.
02:31
<
mozzarella >
CuriousMind: run "vimtutor", then
02:31
<
mozzarella >
in 48 hours you should be able to save that file properly
02:31
<
benzrf >
mozzarella: bls
02:31
ghr has joined #ruby
02:31
<
CuriousMind >
mozzarella: May I ask, do I run vimtutor in cmd?
02:31
AlexRussia has joined #ruby
02:32
<
benzrf >
CuriousMind
02:32
<
benzrf >
why are you back on window
02:32
<
CuriousMind >
benzrf Hi, yes
02:32
<
CuriousMind >
benzrf OMG I KNEW YOU WAS GOING TO ASK!!!
02:32
<
CuriousMind >
benzrf shhhhhh
02:32
<
benzrf >
seriously dude why
02:32
jeramyRR has quit [Quit: jeramyRR]
02:32
jdj_dk has joined #ruby
02:32
<
mozzarella >
CuriousMind: I don't know about windows, sorry
02:32
InhalingPixels has quit [Remote host closed the connection]
02:32
<
CuriousMind >
benzrf sigh
02:33
<
CuriousMind >
benzrf I am too lazy to plug in my external hard drive into my laptop
02:33
nanoyak_ has quit [Quit: Computer has gone to sleep.]
02:33
<
CuriousMind >
benzrf I am not lazy but
02:33
beemo has joined #ruby
02:33
<
CuriousMind >
benzrf I miss windows maybe, I am working on something in windows. I will use Linux after I am done
02:33
<
CuriousMind >
mozzarella: ok
02:33
<
CuriousMind >
benzrf Are you giving me the angry eyes
02:34
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:34
Kricir has joined #ruby
02:34
<
mozzarella >
"On windows, there's an entry in the start menu folder just titled "Vim tutor" which is a shortcut for vimtutor"
02:34
sdwrage has joined #ruby
02:35
<
benzrf >
CuriousMind: no, the upside down sad face
02:35
<
benzrf >
CuriousMind: im not mad
02:35
<
benzrf >
i'm just disappointed
02:35
<
CuriousMind >
benzrf I'm sorry I'm sorry all right all right
02:35
<
CuriousMind >
benzrf I will use Linux after I am done with this vim stuff
02:35
<
CuriousMind >
mozzarella I will do that
02:35
ghr has quit [Ping timeout: 240 seconds]
02:36
<
CuriousMind >
mozzarella so vimtutor will teach me what it is and stuff right?
02:36
<
benzrf >
vim is a unix thing
02:36
<
CuriousMind >
ooooooooooooooooooooh
02:36
<
mozzarella >
it's not "the git editor", git uses whatever is your favorite editor, which is often vi/vim by default
02:36
<
benzrf >
that's like saying "i will use non-internet-explorer after im done with web devyn "
02:37
jdj_dk has quit [Ping timeout: 255 seconds]
02:37
<
CuriousMind >
It's in cmd, what do I use
02:37
saarinen has quit [Quit: saarinen]
02:37
<
CuriousMind >
Oh wait, you don't use windows right
02:37
<
CuriousMind >
Ok thanks
02:37
<
benzrf >
CuriousMind: vim is a unix thinggggggggggggg
02:38
<
CuriousMind >
benzrf I know, I know. I will switch to my external hard drive sooon. I have too much on my mind
02:38
<
benzrf >
CuriousMind: saying "ill go back to linux instead of windows once im done figuring out vim" is like "ill go back to using firefox instead of internet explorer once im done making my website"
02:38
<
benzrf >
CuriousMind: ok
02:39
jeramyRR has joined #ruby
02:39
livingstn has quit []
02:39
<
CuriousMind >
benzrf you have a good point. ( -__-)
02:39
bitri has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
02:40
Biohazard has quit [Ping timeout: 260 seconds]
02:40
hellangel7 has joined #ruby
02:40
sonofflynn has joined #ruby
02:40
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
02:41
<
sonofflynn >
quick question, why would I get a ruby exception ENETUNREACH (network unreachable) when opening a tcpsocket connection to a machine? I can ping it, and I know it's up and listening on the port, but I get that exception
02:42
<
CuriousMind >
^ I don't know what the hell that means but good luck.
02:42
<
CuriousMind >
I'm a beginner in ruby. :(
02:42
klmlfl has quit [Read error: Connection reset by peer]
02:43
klmlfl has joined #ruby
02:43
mary5030_ has joined #ruby
02:43
asteve has joined #ruby
02:43
Spami has joined #ruby
02:46
mary5030 has quit [Ping timeout: 255 seconds]
02:46
Biohazard has joined #ruby
02:46
gwillickers has joined #ruby
02:46
Biohazard is now known as Guest7694
02:46
kireevco has quit [Quit: Leaving.]
02:48
Kricir has quit [Remote host closed the connection]
02:49
CorySimmons has quit [Quit: Zzz...]
02:49
spastorino has quit [Quit: Connection closed for inactivity]
02:49
bitri has joined #ruby
02:50
<
armanghassemi_ >
guys is it possible to program the nymi in ruby?
02:52
yubrew has joined #ruby
02:52
catbusters has quit [Quit: Connection closed for inactivity]
02:53
philcrissman has joined #ruby
02:55
brothmars has quit [Ping timeout: 240 seconds]
02:55
robscormack has quit [Quit: Leaving]
02:55
jumblemuddle has quit [Quit: Death]
02:55
hellangel7 has quit [Remote host closed the connection]
02:56
yubrew has quit [Ping timeout: 240 seconds]
02:56
jshultz has quit [Quit: Connection closed for inactivity]
02:57
philcrissman has quit [Ping timeout: 255 seconds]
02:59
sonofflynn has left #ruby [#ruby]
03:00
InhalingPixels has joined #ruby
03:01
Spami has quit [Quit: This computer has gone to sleep]
03:01
Cheezebox has quit [Remote host closed the connection]
03:01
Spami has joined #ruby
03:02
chaos___________ has joined #ruby
03:04
SilkFox_ has joined #ruby
03:05
Spami has quit [Client Quit]
03:06
charliesome has joined #ruby
03:06
braincra- has quit [Quit: bye bye]
03:06
moritzs has joined #ruby
03:07
oo_ has joined #ruby
03:07
xaxisx has quit [Quit: Leaving]
03:09
SilkFox_ has quit [Ping timeout: 250 seconds]
03:09
gkagan has joined #ruby
03:09
braincrash has joined #ruby
03:10
CorySimmons has joined #ruby
03:10
SouL_ has quit [Ping timeout: 250 seconds]
03:14
gkagan has quit [Ping timeout: 260 seconds]
03:14
hellangel7 has joined #ruby
03:16
Cheezebox has joined #ruby
03:16
nateberkopec has quit [Quit: Leaving...]
03:17
bitri has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
03:17
day has quit [Ping timeout: 240 seconds]
03:20
kenneth has joined #ruby
03:21
CuriousMind has quit [Quit: Page closed]
03:21
day has joined #ruby
03:25
axsuul has quit [Ping timeout: 240 seconds]
03:25
Azure has quit [Read error: Connection reset by peer]
03:25
Azure has joined #ruby
03:26
tlarevo has joined #ruby
03:26
GeekOnCoffee has quit [Ping timeout: 240 seconds]
03:28
GeekOnCoffee has joined #ruby
03:28
jeramyRR has left #ruby [#ruby]
03:29
arup_r has joined #ruby
03:29
alvaro_o__ has quit [Quit: Ex-Chat]
03:29
yfeldblum has joined #ruby
03:29
alvaro_o has quit [Quit: Ex-Chat]
03:29
alvaro_o_ has quit [Quit: Ex-Chat]
03:32
Lewoco has joined #ruby
03:32
lw has joined #ruby
03:32
ghr has joined #ruby
03:32
SilkFox_ has joined #ruby
03:32
jdj_dk has joined #ruby
03:32
moshee has joined #ruby
03:33
oo_ has quit [Remote host closed the connection]
03:33
oo_ has joined #ruby
03:34
GeekOnCoffee has quit [Ping timeout: 264 seconds]
03:34
GeekOnCoffee has joined #ruby
03:35
<
Lewoco >
Is there something like semaphores that I can use between different processes?
03:36
sysx1000 has joined #ruby
03:36
ghr has quit [Ping timeout: 260 seconds]
03:36
jdj_dk has quit [Ping timeout: 245 seconds]
03:38
oo_ has quit [Ping timeout: 245 seconds]
03:38
froggy__ has joined #ruby
03:38
gregf has joined #ruby
03:38
GeekOnCoffee has quit [Ping timeout: 240 seconds]
03:39
armanghassemi_ has quit [Quit: Leaving]
03:40
beemo has quit [Remote host closed the connection]
03:40
GeekOnCoffee has joined #ruby
03:42
froggy_ has quit [Ping timeout: 246 seconds]
03:43
teddyp1cker has joined #ruby
03:43
threesixes has quit [Ping timeout: 240 seconds]
03:44
Bumptious has quit [Remote host closed the connection]
03:44
threesixes has joined #ruby
03:44
Bumptious has joined #ruby
03:45
bmurt has joined #ruby
03:46
yubrew has joined #ruby
03:47
fabrice31 has joined #ruby
03:47
nateberkopec has joined #ruby
03:47
emocakes has joined #ruby
03:47
teddyp1cker has quit [Ping timeout: 250 seconds]
03:48
havenwood has joined #ruby
03:49
tlarevo has quit [Remote host closed the connection]
03:49
SCHAAP137 has quit [Remote host closed the connection]
03:50
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
03:50
rezzack has quit [Quit: Leaving.]
03:50
emmesswhy has joined #ruby
03:50
yubrew has quit [Ping timeout: 264 seconds]
03:50
GeekOnCoffee has quit [Ping timeout: 264 seconds]
03:51
fabrice31 has quit [Ping timeout: 245 seconds]
03:51
GeekOnCoffee has joined #ruby
03:53
sysx1000 has quit [Quit: sysx1000]
03:53
Cheezebox has quit [Remote host closed the connection]
03:54
jmbrown412 has joined #ruby
03:54
chipotle has quit [Quit: cya]
03:55
flowerhack has joined #ruby
03:57
nateberkopec has quit [Ping timeout: 240 seconds]
03:59
gwillickers has left #ruby [#ruby]
04:01
kenneth has joined #ruby
04:02
craigp has joined #ruby
04:02
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
04:03
yfeldblum has quit [Remote host closed the connection]
04:05
kireevco has joined #ruby
04:05
lw has quit [Quit: s]
04:05
moritzs has quit [Ping timeout: 250 seconds]
04:08
ghostmoth has joined #ruby
04:08
lw has joined #ruby
04:10
TheNet has quit [Quit: Leaving...]
04:10
gkagan has joined #ruby
04:11
nanoyak has joined #ruby
04:12
emmesswhy has quit [Quit: This computer has gone to sleep]
04:13
zorak8 has quit [Ping timeout: 260 seconds]
04:13
Zesty has joined #ruby
04:13
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
04:14
gkagan has quit [Ping timeout: 240 seconds]
04:15
baweaver has joined #ruby
04:17
threesixes has quit [Ping timeout: 240 seconds]
04:17
lukeholder has joined #ruby
04:17
lukeholder has quit [Max SendQ exceeded]
04:17
zorak has joined #ruby
04:18
lukeholder has joined #ruby
04:18
lukeholder has quit [Max SendQ exceeded]
04:19
lukeholder has joined #ruby
04:19
lukeholder has quit [Max SendQ exceeded]
04:19
bradleyprice has joined #ruby
04:19
baweaver has quit [Ping timeout: 264 seconds]
04:20
lukeholder has joined #ruby
04:20
lukeholder has quit [Max SendQ exceeded]
04:21
lukeholder has joined #ruby
04:21
ramin_sed has joined #ruby
04:21
lukeholder has quit [Max SendQ exceeded]
04:21
gh has joined #ruby
04:21
gh has quit [Remote host closed the connection]
04:22
lukeholder has joined #ruby
04:22
lukeholder has quit [Max SendQ exceeded]
04:23
_5kg has joined #ruby
04:23
lukeholder has joined #ruby
04:23
Shidash has quit [Ping timeout: 260 seconds]
04:23
brothmars has joined #ruby
04:24
lukeholder has quit [Max SendQ exceeded]
04:24
saarinen has joined #ruby
04:24
cocotton has quit [Remote host closed the connection]
04:24
dik_dak has joined #ruby
04:24
lukeholder has joined #ruby
04:26
lidaaa has quit [Read error: Connection reset by peer]
04:26
craigp has quit [Remote host closed the connection]
04:29
ramin_sed has quit [Remote host closed the connection]
04:29
ramin_sed has joined #ruby
04:29
mengu has joined #ruby
04:30
albedoa has joined #ruby
04:30
rjhunter has quit [Remote host closed the connection]
04:32
jdj_dk has joined #ruby
04:33
ghr has joined #ruby
04:33
cocotton has joined #ruby
04:33
mary5030_ has quit [Remote host closed the connection]
04:33
axsuul has joined #ruby
04:34
ramin_sed has quit [Ping timeout: 255 seconds]
04:34
mengu has quit [Ping timeout: 260 seconds]
04:36
thomasxie has quit [Remote host closed the connection]
04:36
thomasxie has joined #ruby
04:36
lxsameer has joined #ruby
04:37
lidaaa has joined #ruby
04:37
jdj_dk has quit [Ping timeout: 246 seconds]
04:37
ghr has quit [Ping timeout: 240 seconds]
04:38
benlieb has joined #ruby
04:39
Shidash has joined #ruby
04:40
yubrew has joined #ruby
04:41
bthesorceror has joined #ruby
04:41
saarinen has quit [Quit: saarinen]
04:41
philcrissman has joined #ruby
04:42
lw has quit [Quit: s]
04:42
<
pontiki >
Lewoco: try Mutex? stdlib, i think
04:43
<
pontiki >
pardon me, it's core
04:44
arup_r1 has joined #ruby
04:44
<
Lewoco >
pontiki, That only works within a single process I think.
04:44
yubrew has quit [Ping timeout: 240 seconds]
04:44
lw has joined #ruby
04:44
<
Lewoco >
pontiki, But I managed to solve my problem without requiring any interprocess communication so it's all good =)
04:44
<
pontiki >
the next thing i was going to suggest was flock
04:44
arup_r has quit [Ping timeout: 245 seconds]
04:45
gr33n7007h has quit [Ping timeout: 246 seconds]
04:45
philcrissman has quit [Ping timeout: 240 seconds]
04:46
johnmolina has quit [Remote host closed the connection]
04:46
benlieb has quit [Quit: benlieb]
04:48
arup_r has joined #ruby
04:49
bryanhowarth has joined #ruby
04:49
CaptainAnime has quit []
04:49
ramin_sed has joined #ruby
04:50
arup_r1 has quit [Ping timeout: 255 seconds]
04:52
nateberkopec has joined #ruby
04:52
neersighted has quit [Quit: Updating details, brb]
04:52
neersighted has joined #ruby
04:54
yacks has quit [Quit: Leaving]
04:55
mweshi has joined #ruby
04:57
mikecmpbll has joined #ruby
04:57
cpruitt has quit [Quit: cpruitt]
04:57
nateberkopec has quit [Ping timeout: 240 seconds]
05:00
Takle has joined #ruby
05:03
cocotton has quit [Remote host closed the connection]
05:05
cpruitt has joined #ruby
05:06
mattmcclure has quit [Quit: Connection closed for inactivity]
05:07
Takle has quit [Ping timeout: 272 seconds]
05:07
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
05:08
CorySimmons has left #ruby ["Bye!"]
05:08
gr33n7007h has joined #ruby
05:08
dkamioka has joined #ruby
05:09
lukeholder has joined #ruby
05:09
spicerack has joined #ruby
05:09
rjhunter has joined #ruby
05:10
lukeholder has quit [Max SendQ exceeded]
05:10
gkagan has joined #ruby
05:10
timonv_ has joined #ruby
05:11
lukeholder has joined #ruby
05:11
lukeholder has quit [Max SendQ exceeded]
05:11
mweshi has quit [Quit: ZZZzzz…]
05:12
lukeholder has joined #ruby
05:13
johnmolina has joined #ruby
05:15
timonv_ has quit [Ping timeout: 245 seconds]
05:15
gkagan has quit [Ping timeout: 245 seconds]
05:15
rjhunter has quit [Remote host closed the connection]
05:16
anarang has joined #ruby
05:17
mikecmpbll has quit [Quit: i've nodded off.]
05:18
IceDragon has quit [Quit: Space~~~]
05:20
neersighted has quit []
05:20
neersighted has joined #ruby
05:21
johnmolina has quit []
05:21
Bumptious has quit [Remote host closed the connection]
05:22
Bumptious has joined #ruby
05:22
lidaaa has quit [Ping timeout: 255 seconds]
05:22
neersighted has quit [Remote host closed the connection]
05:23
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:24
lidaaa has joined #ruby
05:25
neersighted has joined #ruby
05:25
neersighted has quit [Read error: Connection reset by peer]
05:25
lemur has joined #ruby
05:25
Photism has joined #ruby
05:25
neersighted has joined #ruby
05:25
neersighted has quit [Client Quit]
05:26
jerikl has quit [Quit: jerikl]
05:27
godd2 has joined #ruby
05:27
neersighted has joined #ruby
05:27
charliesome has quit [Quit: zzz]
05:27
ejnahc has quit [Ping timeout: 240 seconds]
05:28
ejnahc has joined #ruby
05:28
zeroNones has joined #ruby
05:29
sylvanica has quit [Quit: Quitte]
05:30
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
05:31
neersighted has quit [Remote host closed the connection]
05:31
neersighted has joined #ruby
05:31
catbusters has joined #ruby
05:32
nfk has joined #ruby
05:32
lukeholder has joined #ruby
05:32
jdj_dk has joined #ruby
05:33
lukeholder has quit [Client Quit]
05:33
neersighted has quit [Remote host closed the connection]
05:33
Lexun has joined #ruby
05:33
lukeholder has joined #ruby
05:33
lukeholder has quit [Client Quit]
05:33
neersighted has joined #ruby
05:33
ghr has joined #ruby
05:34
bozon has joined #ruby
05:34
yubrew has joined #ruby
05:34
oo_ has joined #ruby
05:34
oo_ has quit [Remote host closed the connection]
05:34
oo_ has joined #ruby
05:35
fabrice31 has joined #ruby
05:37
jdj_dk has quit [Ping timeout: 250 seconds]
05:37
lukeholder has joined #ruby
05:38
SouL_ has joined #ruby
05:38
ghr has quit [Ping timeout: 250 seconds]
05:38
yubrew has quit [Ping timeout: 245 seconds]
05:39
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
05:39
oo_ has quit [Ping timeout: 272 seconds]
05:40
fabrice31 has quit [Ping timeout: 260 seconds]
05:42
emmesswhy has joined #ruby
05:43
FoxZoOL has joined #ruby
05:43
Eiam has quit [Ping timeout: 255 seconds]
05:43
anaeem1 has joined #ruby
05:44
teddyp1cker has joined #ruby
05:46
gh has joined #ruby
05:47
kritika has joined #ruby
05:47
bthesorceror has quit [Quit: Lost terminal]
05:47
<
kritika >
hi all i am trying to call erb file from sinatra i am wondering what do these symbols stand for in erb file <h1>Hello <%= @user %>!</h1> <%= ?
05:48
toastynerd has joined #ruby
05:48
<
kritika >
why not Hello @user since it is an instance variable?
05:48
lw has quit [Quit: s]
05:49
teddyp1cker has quit [Ping timeout: 272 seconds]
05:49
gh has quit [Quit: Leaving]
05:50
bthesorceror has joined #ruby
05:52
threesixes has joined #ruby
05:52
anaeem1_ has joined #ruby
05:52
lkba has quit [Ping timeout: 260 seconds]
05:53
nateberkopec has joined #ruby
05:53
anaeem1 has quit [Read error: No route to host]
05:53
<
Wolland >
kritika: it's how erb gets ruby output into html
05:54
cpruitt has quit [Quit: cpruitt]
05:55
<
kritika >
Wolland: video_list = d.select { |x| x.end_with?(".mp4")} video_list.each { |x| print " <video src=\"
http://v2v.cc/~j/theora_testsuite/320x240.ogg \" controls> Your browser does not support the <code>video</code> element. </video> seems to call only video_list the .each is not called in sinatra why?
05:55
dkamioka has quit [Remote host closed the connection]
05:56
<
pontiki >
how do you konw video_list isn't empty?
05:56
DEA7TH has quit [Ping timeout: 245 seconds]
05:56
ramin_sed has left #ruby [#ruby]
05:56
cpruitt has joined #ruby
05:56
dkamioka has joined #ruby
05:56
<
Wolland >
and it's best to use gist to share you code
05:57
nateberkopec has quit [Ping timeout: 240 seconds]
05:58
zeroNones has joined #ruby
05:58
patrick99e99 has joined #ruby
05:58
<
Wolland >
Sorry, there is no pastie #9496108 or it has been removed.
05:59
<
godd2 >
Man, why does Coveralls have to be down :(
05:59
yfeldblum has joined #ruby
05:59
zeroNones has quit [Client Quit]
06:00
FoxZoOL has quit [Remote host closed the connection]
06:00
dkamioka has quit [Ping timeout: 250 seconds]
06:01
<
Wolland >
now it works
06:01
toastynerd has quit [Remote host closed the connection]
06:02
emmesswhy has quit [Quit: This computer has gone to sleep]
06:02
Lucky__ has joined #ruby
06:02
<
godd2 >
kritika you're yielding x in video_list.each but then never using it
06:03
patrick99e99 has quit [Ping timeout: 240 seconds]
06:03
<
Wolland >
that should matter if there are items on the list
06:04
<
kritika >
Wolland: i get some items returned from list
06:04
root3d has joined #ruby
06:04
emmesswhy has joined #ruby
06:04
<
kritika >
godd2: i didnt get it ":/
06:04
ghostmoth has quit [Quit: ghostmoth]
06:05
<
godd2 >
if I say [1,2,3].each {|i| puts "hello"}
06:05
<
godd2 >
that won't output 1, 2, or 3, it will only output hello because I never used the variable i
06:05
<
lemur >
>> [1,2,3].each {|i| puts "hello"}
06:05
emmesswhy has quit [Client Quit]
06:05
<
Wolland >
he just wants to output a block for each video that user can't play?
06:06
<
godd2 >
so in your code, you're eaching over the videolist and then not using the element you're at on that cycle
06:06
<
godd2 >
He may want to do that, I just wanted to point it out
06:06
<
kritika >
yes i want to use x filename in the video element
06:07
<
kritika >
but i was thinking to get this to work first
06:07
<
lemur >
You're also making a new directory with nothing in it and attempting a select on it
06:07
<
kritika >
lemur: i am not making a new new directory, i am pointint to one
06:07
<
lemur >
you want Dir.glob('path/to/files/*.ext').each { |file_name ... }
06:07
<
Wolland >
that's not new dir it's a new Dir instance at that path
06:08
<
lemur >
*blinks* derp
06:08
<
lemur >
still, glob is what he wants
06:09
<
kritika >
godd2: so it should be something like { |x| x.end_with?(".mp4")} video_list.each { |x| print " <video src="+x+"controls> ?
06:09
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
06:09
<
godd2 >
kritika assuming that video_list contains at least one element, that is closer to what you probably want
06:10
<
godd2 >
but you need to escape those double quotes
06:10
heftig has quit [Quit: Quitting]
06:10
<
Wolland >
why are you using print?
06:10
lukeholder has joined #ruby
06:10
<
lemur >
@video_links = Dir.glob('/var/www/*.mp4').map { |name| "<video src='#{name}' controls />" }
06:10
<
pontiki >
what's wrong with using print??
06:10
lukeholder has quit [Max SendQ exceeded]
06:10
<
lemur >
it'd log to cons
06:10
<
lemur >
no point in it
06:10
<
pontiki >
no it won't
06:11
<
Wolland >
no point in it
06:11
timonv_ has joined #ruby
06:11
<
lemur >
unless sinatra does some black ruby magic to print
06:11
lukeholder has joined #ruby
06:11
<
Wolland >
just use normal erb syntax
06:11
gkagan has joined #ruby
06:11
<
pontiki >
print, unlike puts, returns the value printed
06:11
lukeholder has quit [Max SendQ exceeded]
06:11
<
Wolland >
<% video_links.each do |x| %>
06:12
<
Wolland >
<video>...
06:12
<
godd2 >
print returns nil
06:12
<
lemur >
[1] pry(main)> print 1
06:12
Shidash has quit [Ping timeout: 255 seconds]
06:12
<
godd2 >
p returns value
06:12
lukeholder has joined #ruby
06:12
<
godd2 >
>> output = (p 1); output
06:12
<
lemur >
I'd suggest doing something more like this: @video_links = Dir.glob('/var/www/*.mp4')
06:12
<
godd2 >
>> output = (print 1); output
06:12
<
lemur >
and in ERB, loop through that and THEN interpolate it as a paramater
06:13
<
Wolland >
yeah just use erb
06:13
<
kritika >
confused..
06:14
<
lemur >
<% @video_links.each do |name| %><video src='<%= name %>' controls /><% end %>
06:14
<
lemur >
my erb is rusty, correct me if I was off there
06:14
<
lemur >
of course indentation is preferred there
06:15
<
lemur >
and use the code above with the glob, it'll get all files ending with an mp4 extension and give full paths
06:15
<
kritika >
i use erb or not?
06:15
<
lemur >
if you generate html, yes
06:15
<
lemur >
you don't want to screw with rendering strings
06:15
<
kritika >
lemur: so erb is: <% @video_links.each do |name| %><video src='<%= name %>' controls /><% end %>
06:15
<
lemur >
(* not that it's hard, but it's very rarely correct)
06:16
<
lemur >
something like that
06:16
<
lemur >
and see where I specified that above as well
06:16
gkagan has quit [Ping timeout: 260 seconds]
06:17
<
kritika >
@video_links = Dir.glob('/var/www/*.mp4')
06:17
Photism has quit [Read error: Connection reset by peer]
06:18
<
lemur >
I tend to use HAML myself, less noise, but that's far more a matter of preference than anything.
06:18
<
kritika >
lemur: the erb should be in another file no?
06:19
<
kritika >
and do erb: ?
06:19
<
Wolland >
doesn't have to be in sinatra
06:20
<
godd2 >
Nah just write your own ruby->html builder.
06:20
<
godd2 >
That was a joke.
06:20
<
lemur >
erb is an html templating language
06:21
anaeem___ has joined #ruby
06:21
<
lemur >
I assume sinatra has some form of views
06:21
emmesswhy has joined #ruby
06:21
<
Wolland >
creates a view in the app file
06:21
<
Wolland >
if you want to
06:22
<
Wolland >
then erb :video in controller action would render it
06:22
teddyp1cker has joined #ruby
06:22
<
godd2 >
class variables? I don't know if that's a good idea...
06:22
anaeem___ has quit [Remote host closed the connection]
06:22
emmesswhy has quit [Client Quit]
06:22
<
lemur >
class vars misbehave a bit too much for my liking
06:22
<
kritika >
so when i use <% %> it means use erb
06:22
<
Wolland >
sorry it's not @@video, it's @@ video
06:23
lidaaa has quit [Read error: Connection reset by peer]
06:23
<
godd2 >
kritika <% %> is used in erb to say "whatever is between these is ruby code"
06:23
lidaaa has joined #ruby
06:24
<
godd2 >
and <%= %> means "this is ruby code AND I want you to output the result to the html page you're building"
06:24
anaeem1_ has quit [Ping timeout: 245 seconds]
06:24
lidaaa has quit [Read error: Connection reset by peer]
06:25
<
Wolland >
and it's not top down parsing, it's more complex than that
06:25
<
kritika >
need to read sinatra
06:26
banister has joined #ruby
06:27
<
Wolland >
<% %> stuff should be in your .erb file or in the app file under @@ some action
06:27
ramin_sed has joined #ruby
06:27
<
pontiki >
or passed as a string to the erb handler
06:28
yubrew has joined #ruby
06:29
Shidash has joined #ruby
06:29
philcrissman has joined #ruby
06:30
sprihodko has joined #ruby
06:31
ramin_sed has quit [Remote host closed the connection]
06:32
<
kritika >
@@ <what kind of action> ?
06:32
yubrew has quit [Ping timeout: 246 seconds]
06:32
jdj_dk has joined #ruby
06:32
yfeldblum has quit [Remote host closed the connection]
06:33
yfeldblum has joined #ruby
06:33
teddyp1c_ has joined #ruby
06:34
philcrissman has quit [Ping timeout: 250 seconds]
06:34
<
Wolland >
kind of like this
06:34
ghr has joined #ruby
06:34
benzrf has quit [Quit: leaving]
06:34
<
Wolland >
just showing how @@ are used
06:34
<
kritika >
ah ok thanks
06:35
<
Wolland >
otherwise it will look for views/hi.html.erb ? or hi.erb not certain
06:36
hellangel7 has quit [Read error: Connection reset by peer]
06:36
teddyp1cker has quit [Ping timeout: 250 seconds]
06:37
jdj_dk has quit [Ping timeout: 260 seconds]
06:38
<
Wolland >
so it's hi.erb with Tilt
06:38
<
Wolland >
but you have to register template Tilt
06:39
<
kritika >
why 2 end on line 6 7 Wolland ?
06:39
<
Wolland >
one for controller and one for Application
06:39
<
Wolland >
action and application rather
06:39
rjhunter has joined #ruby
06:39
jerikl has joined #ruby
06:39
bthesorceror has quit [Quit: bthesorceror]
06:39
ghr has quit [Ping timeout: 272 seconds]
06:40
anaeem1_ has joined #ruby
06:40
<
Wolland >
Application get end end
06:41
InhalingPixels has quit [Remote host closed the connection]
06:42
lidaaa has joined #ruby
06:42
abuzze has joined #ruby
06:42
abuzze has quit [Read error: Connection reset by peer]
06:43
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:43
abuzze has joined #ruby
06:43
gccostabr has quit [Quit: ZZZzzz…]
06:44
Photism has joined #ruby
06:46
gccostabr has joined #ruby
06:46
lemur has quit [Remote host closed the connection]
06:47
lemur has joined #ruby
06:47
timonv_ has quit [Remote host closed the connection]
06:48
Channel6 has quit [Remote host closed the connection]
06:48
timonv_ has joined #ruby
06:49
<
Wolland >
does it work?
06:50
<
kritika >
yntax error, unexpected $undefined, expecting $end @@ hi
06:51
qba73 has joined #ruby
06:51
lemur has quit [Ping timeout: 240 seconds]
06:51
lemur has joined #ruby
06:52
Morkel has joined #ruby
06:52
Asher has joined #ruby
06:52
Asher has quit [Client Quit]
06:52
<
Wolland >
try putting
__END__ above @@ hi
06:52
jdj_dk has joined #ruby
06:52
timonv_ has quit [Ping timeout: 260 seconds]
06:53
nateberkopec has joined #ruby
06:53
JBreit has joined #ruby
06:54
klmlfl has quit [Quit: klmlfl]
06:54
Mon_Ouie has joined #ruby
06:54
Mon_Ouie has joined #ruby
06:56
bricker`LA has joined #ruby
06:56
JBreit has left #ruby [#ruby]
06:57
<
kritika >
ok Wolland it works last thing it is returning @video_links = Dir.glob('/var/www/*.mp4') /var/www/filename i need to extract only filename is there a method to do that or need to use regex?
06:57
szuletett has joined #ruby
06:58
Ilyas has joined #ruby
06:58
Ilyas has quit [Max SendQ exceeded]
06:58
anaeem1_ has quit [Ping timeout: 264 seconds]
06:58
nateberkopec has quit [Ping timeout: 240 seconds]
06:58
<
Wolland >
there might be a method that only returns file name and not path
06:58
<
Wolland >
or you can do split
06:58
Ilyas has joined #ruby
06:58
<
Wolland >
name.split('/').last
06:59
<
Hanmac >
kritika & Wolland File.basename ?
06:59
<
pontiki >
File.basename
06:59
<
Wolland >
there that one
07:00
steeve has joined #ruby
07:00
bozon has left #ruby [#ruby]
07:01
_5kg has quit [Ping timeout: 255 seconds]
07:02
lkba has joined #ruby
07:02
anaeem1_ has joined #ruby
07:03
steeve_ has joined #ruby
07:03
starkhalo has quit [Ping timeout: 255 seconds]
07:04
gr33n7007h has quit [Quit: Leaving]
07:05
steeve has quit [Ping timeout: 260 seconds]
07:06
sdwrage has quit [Quit: This computer has gone to sleep]
07:07
<
bricker`LA >
mother of god, the yosemite beta 2 release fixed ruby installation
07:07
<
bricker`LA >
I've never been so happy
07:07
ht__th has joined #ruby
07:07
jeaye has quit [Ping timeout: 255 seconds]
07:09
emmesswhy has joined #ruby
07:10
SilkFox_ has quit [Ping timeout: 264 seconds]
07:10
angusigu1ss has quit [Ping timeout: 260 seconds]
07:11
InhalingPixels has joined #ruby
07:11
gccostabr has quit [Quit: ZZZzzz…]
07:12
ramin_sed has joined #ruby
07:12
gkagan has joined #ruby
07:12
sinkensabe has joined #ruby
07:14
ramin_sed has quit [Remote host closed the connection]
07:15
renier has quit [Ping timeout: 255 seconds]
07:15
nircUser has joined #ruby
07:16
ramin_sed has joined #ruby
07:16
renier has joined #ruby
07:16
nircUser has quit [Client Quit]
07:16
gkagan has quit [Ping timeout: 240 seconds]
07:17
yacks has joined #ruby
07:17
InhalingPixels has quit [Ping timeout: 250 seconds]
07:19
ptrrr has joined #ruby
07:19
sdwrage has joined #ruby
07:20
dik_dak has quit [Quit: Leaving]
07:20
ramin_sed has quit [Ping timeout: 260 seconds]
07:21
chipotle has joined #ruby
07:21
doev has joined #ruby
07:22
emocakes has quit [Ping timeout: 260 seconds]
07:22
yubrew has joined #ruby
07:23
szuletett has quit [Ping timeout: 250 seconds]
07:23
jheg has joined #ruby
07:24
fabrice31 has joined #ruby
07:24
sdwrage has quit [Client Quit]
07:24
sparrovv has joined #ruby
07:24
sdwrage has joined #ruby
07:24
SDr has joined #ruby
07:25
<
SDr >
hey, what's the recommended connector for nginx -> ruby?
07:26
szuletett has joined #ruby
07:26
<
godd2 >
One option to look into is Phusion Passenger
07:26
arup_r1 has joined #ruby
07:26
<
godd2 >
I don't know any others off hand, but I would recommend getting at least one other option from somewhere to consider.
07:26
yubrew has quit [Ping timeout: 240 seconds]
07:27
arup_r has quit [Ping timeout: 240 seconds]
07:29
fabrice31 has quit [Ping timeout: 260 seconds]
07:29
cpruitt has quit [Quit: cpruitt]
07:29
<
threesixes >
unicorn 2 nginx is another method, gitlab uses it, idk much about it
07:29
<
SDr >
thank you, godd2, threesixes; anyone else?
07:30
jheg has quit [Quit: jheg]
07:30
emocakes has joined #ruby
07:30
emocakes has quit [Client Quit]
07:30
<
threesixes >
i know another method that isnt nginx, using webrick to serve & varnish cache to accelerate
07:31
<
threesixes >
you could use webrick and have nginx proxy / accelerate that
07:31
Lewix has quit [Remote host closed the connection]
07:32
mikecmpbll has joined #ruby
07:32
arup_r has joined #ruby
07:32
<
godd2 >
SDr try googling 'passenger vs' without pressing enter
07:33
<
godd2 >
and youll get a little list to look over like puma and thin
07:33
arup_r has quit [Remote host closed the connection]
07:33
<
godd2 >
and then look up the most recent versions to see how active each one is
07:33
<
threesixes >
yeah there are several ways to fry that fish
07:34
<
godd2 >
I've only ever used passenger and it works fine for me, but if I were you I'd set up several virtual environments to try a coupel out
07:34
<
threesixes >
passenger had some bad reviews a while back, its easiest to get a project up though
07:34
Morkel has quit [Quit: Morkel]
07:34
<
godd2 >
that way if you dont like one its not too scary to set another one up
07:35
emmesswhy has quit [Quit: This computer has gone to sleep]
07:35
ghr has joined #ruby
07:35
<
threesixes >
i personally passenger > apache > varnish
07:35
angusiguess has joined #ruby
07:35
echevemaster has quit [Quit: Leaving]
07:35
kaspertidemann has joined #ruby
07:36
JoshGlzBrk has joined #ruby
07:37
nfk has quit [Quit: yawn]
07:39
havenwood has quit [Remote host closed the connection]
07:40
ghr has quit [Ping timeout: 260 seconds]
07:40
crdpink has quit [Remote host closed the connection]
07:41
angusiguess has quit [Ping timeout: 245 seconds]
07:42
<
threesixes >
puma's super simple haha
07:42
jerikl has quit [Quit: jerikl]
07:42
codecop has joined #ruby
07:44
mockra has quit [Remote host closed the connection]
07:44
mockra has joined #ruby
07:46
abuzze has quit [Ping timeout: 260 seconds]
07:47
radic has joined #ruby
07:47
Shidash has quit [Ping timeout: 250 seconds]
07:48
lidaaa has quit [Read error: Connection reset by peer]
07:48
nanoyak has quit [Quit: Computer has gone to sleep.]
07:49
mockra has quit [Ping timeout: 260 seconds]
07:50
krisquigley has joined #ruby
07:51
crdpink has joined #ruby
07:51
radic_ has quit [Ping timeout: 272 seconds]
07:52
mikecmpbll has quit [Quit: i've nodded off.]
07:53
alexju has quit [Remote host closed the connection]
07:53
alexju has joined #ruby
07:54
mikecmpbll has joined #ruby
07:54
nateberkopec has joined #ruby
07:55
crdprink2 has joined #ruby
07:57
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
07:57
crdpink has quit [Ping timeout: 272 seconds]
07:57
alexju has quit [Ping timeout: 246 seconds]
07:59
szuletett has quit [Ping timeout: 245 seconds]
07:59
nateberkopec has quit [Ping timeout: 240 seconds]
07:59
patrick99e99 has joined #ruby
08:00
tectonic has quit []
08:02
ramin_sed has joined #ruby
08:02
kritika has quit [Quit: Page closed]
08:03
dawkirst has joined #ruby
08:04
mikecmpbll has quit [Quit: i've nodded off.]
08:04
emmesswhy has joined #ruby
08:04
patrick99e99 has quit [Ping timeout: 255 seconds]
08:06
SilkFox_ has joined #ruby
08:06
ramin_sed has quit [Ping timeout: 240 seconds]
08:06
sinkensabe has quit [Remote host closed the connection]
08:07
OffTheRails has joined #ruby
08:07
poulet_a has joined #ruby
08:07
mikecmpbll has joined #ruby
08:07
emocakes has joined #ruby
08:07
senayar has joined #ruby
08:08
jmbrown412 has quit [Remote host closed the connection]
08:08
Darkchaos has joined #ruby
08:08
jmbrown412 has joined #ruby
08:10
SilkFox_ has quit [Ping timeout: 240 seconds]
08:11
emmesswhy has quit [Quit: This computer has gone to sleep]
08:11
sdwrage has quit [Quit: This computer has gone to sleep]
08:12
decoponio has joined #ruby
08:12
catbusters has quit [Quit: Connection closed for inactivity]
08:12
jmbrown412 has quit [Ping timeout: 240 seconds]
08:13
gkagan has joined #ruby
08:14
heftig has joined #ruby
08:14
szuletett has joined #ruby
08:14
roolo has joined #ruby
08:15
goshdarnyou has quit [Quit: Connection closed for inactivity]
08:15
jeaye has joined #ruby
08:15
wallerdev has quit [Quit: wallerdev]
08:16
kireevco has quit [Quit: Leaving.]
08:16
mburns has quit [Remote host closed the connection]
08:16
yubrew has joined #ruby
08:17
psmolen has quit [Ping timeout: 240 seconds]
08:17
mikecmpbll has quit [Quit: i've nodded off.]
08:17
philcrissman has joined #ruby
08:18
gkagan has quit [Ping timeout: 260 seconds]
08:19
root3d has quit [Ping timeout: 240 seconds]
08:19
sinkensabe has joined #ruby
08:20
psmolen has joined #ruby
08:20
thomasxie has left #ruby [#ruby]
08:21
GeekOnCoffee has quit [Ping timeout: 240 seconds]
08:21
yubrew has quit [Ping timeout: 264 seconds]
08:22
root3d has joined #ruby
08:22
philcrissman has quit [Ping timeout: 246 seconds]
08:22
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
08:23
GeekOnCoffee has joined #ruby
08:24
mburns_ is now known as mburns
08:24
jhass|off is now known as jhass
08:24
mikecmpbll has joined #ruby
08:25
senayar has quit [Remote host closed the connection]
08:25
kenneth has joined #ruby
08:25
senayar has joined #ruby
08:25
kenneth has quit [Max SendQ exceeded]
08:26
sinkensabe has quit [Remote host closed the connection]
08:27
relix has joined #ruby
08:27
Alina-malina has joined #ruby
08:29
Wolland has quit [Remote host closed the connection]
08:30
senayar has quit [Ping timeout: 260 seconds]
08:30
Wolland has joined #ruby
08:30
teddyp1c_ has quit []
08:30
mengu has joined #ruby
08:33
thomasxie has joined #ruby
08:34
Wolland has quit [Ping timeout: 260 seconds]
08:35
mengu has quit [Ping timeout: 272 seconds]
08:36
steeve_ has quit [Ping timeout: 260 seconds]
08:37
adac has joined #ruby
08:37
senayar has joined #ruby
08:38
Alina-malina has quit [Ping timeout: 255 seconds]
08:38
angusiguess has joined #ruby
08:38
lkba has quit [Ping timeout: 260 seconds]
08:38
Lexun has quit [Ping timeout: 260 seconds]
08:39
sprihodko has joined #ruby
08:41
ari-_-e has quit [Ping timeout: 240 seconds]
08:42
jgrevich has joined #ruby
08:43
angusiguess has quit [Ping timeout: 260 seconds]
08:43
Alina-malina has joined #ruby
08:43
ari-_-e has joined #ruby
08:44
jgrevich has quit [Client Quit]
08:45
mengu has joined #ruby
08:45
mengu has joined #ruby
08:45
maroloccio has joined #ruby
08:46
BraddPitt has quit [Ping timeout: 240 seconds]
08:47
BraddPitt has joined #ruby
08:48
doev has quit [Ping timeout: 250 seconds]
08:52
agent_white has joined #ruby
08:53
sysx1000 has joined #ruby
08:55
nateberkopec has joined #ruby
08:56
senayar has quit [Remote host closed the connection]
08:58
yfeldblu_ has joined #ruby
08:58
BraddPitt has quit [Ping timeout: 250 seconds]
08:59
yfeldblum has quit [Ping timeout: 255 seconds]
08:59
synergyz has joined #ruby
09:00
nateberkopec has quit [Ping timeout: 240 seconds]
09:00
adamski2600 has joined #ruby
09:02
heftig has quit [Ping timeout: 245 seconds]
09:05
heftig has joined #ruby
09:06
SilkFox_ has joined #ruby
09:07
emocakes has quit [Ping timeout: 240 seconds]
09:07
poulet_a has quit [Quit: Quitte]
09:08
sinkensabe has joined #ruby
09:09
jmbrown412 has joined #ruby
09:09
rjhunter has quit [Remote host closed the connection]
09:10
startupality has joined #ruby
09:10
craigp has joined #ruby
09:10
emocakes has joined #ruby
09:11
yubrew has joined #ruby
09:11
SilkFox_ has quit [Ping timeout: 272 seconds]
09:13
brothmars has quit [Ping timeout: 255 seconds]
09:13
fabrice31 has joined #ruby
09:13
jmbrown412 has quit [Ping timeout: 255 seconds]
09:13
klmlfl has joined #ruby
09:13
gkagan has joined #ruby
09:14
godd2 has quit [Remote host closed the connection]
09:15
yubrew has quit [Ping timeout: 240 seconds]
09:15
InhalingPixels has joined #ruby
09:16
BraddPitt has joined #ruby
09:17
fabrice31 has quit [Ping timeout: 255 seconds]
09:18
gkagan has quit [Ping timeout: 255 seconds]
09:19
bryanhowarth has quit [Quit: sleep | bryan.howarth@gmail.com | twitter.com/bryanhowarth]
09:19
InhalingPixels has quit [Ping timeout: 246 seconds]
09:20
OffTheRails has quit [Ping timeout: 240 seconds]
09:20
kaspertidemann has quit []
09:21
chipotle has quit [Ping timeout: 245 seconds]
09:22
BraddPitt has quit [Ping timeout: 250 seconds]
09:22
timonv_ has joined #ruby
09:23
BraddPitt has joined #ruby
09:23
descala has joined #ruby
09:23
lemur has quit [Remote host closed the connection]
09:23
szuletett has quit [Ping timeout: 250 seconds]
09:24
lemur has joined #ruby
09:28
hellangel7 has joined #ruby
09:28
lemur has quit [Ping timeout: 255 seconds]
09:29
jottr has joined #ruby
09:29
GeekOnCoffee has quit [Ping timeout: 264 seconds]
09:29
GeekOnDecaf has joined #ruby
09:29
sparrovv has quit [Remote host closed the connection]
09:29
GeekOnDecaf is now known as GeekOnCoffee
09:30
Alina-malina has quit [Ping timeout: 240 seconds]
09:30
sparrovv has joined #ruby
09:30
dseitz has joined #ruby
09:32
krisquigley has quit [Remote host closed the connection]
09:33
SilkFox_ has joined #ruby
09:33
Alina-malina has joined #ruby
09:34
tlarevo has joined #ruby
09:34
maroloccio has quit [Quit: WeeChat 0.4.3]
09:34
sparrovv has quit [Ping timeout: 246 seconds]
09:37
Mon_Ouie has quit [Remote host closed the connection]
09:37
Hobogrammer has quit [Ping timeout: 245 seconds]
09:37
SilkFox_ has quit [Ping timeout: 250 seconds]
09:38
Kryptonical has joined #ruby
09:38
angusiguess has joined #ruby
09:39
realDAB has joined #ruby
09:39
sinkensabe has quit [Remote host closed the connection]
09:40
Mon_Ouie has joined #ruby
09:42
threesixes has quit [Remote host closed the connection]
09:43
mengu has quit [Ping timeout: 260 seconds]
09:43
Kryptonical has quit [Read error: Connection reset by peer]
09:43
angusiguess has quit [Ping timeout: 264 seconds]
09:45
abuzze has joined #ruby
09:46
mengu has joined #ruby
09:46
mengu has quit [Changing host]
09:46
mengu has joined #ruby
09:47
lukeholder has joined #ruby
09:47
lukeholder has quit [Max SendQ exceeded]
09:48
banister has joined #ruby
09:48
marr has joined #ruby
09:48
realDAB has quit [Quit: realDAB]
09:48
lukeholder has joined #ruby
09:48
Kryptonical has joined #ruby
09:48
lukeholder has quit [Max SendQ exceeded]
09:49
lukeholder has joined #ruby
09:50
ramin_sed has joined #ruby
09:50
axsuul has quit [Ping timeout: 255 seconds]
09:50
root3d has quit [Quit: Leaving]
09:51
Bumptious has quit [Remote host closed the connection]
09:51
lukeholder has quit [Client Quit]
09:51
georgesmith has joined #ruby
09:51
Bumptious has joined #ruby
09:52
Photism has quit [Quit: Leaving]
09:53
saladspork has joined #ruby
09:53
jottr has quit [Ping timeout: 245 seconds]
09:55
ramin_sed has quit [Ping timeout: 260 seconds]
09:56
nateberkopec has joined #ruby
10:00
patrick99e99 has joined #ruby
10:00
nateberkopec has quit [Ping timeout: 240 seconds]
10:02
Takle has joined #ruby
10:03
abuzze has quit [Remote host closed the connection]
10:03
bMalum has quit [Quit: bMalum]
10:03
Kryptonical has quit [Quit: See ya]
10:03
abuzze has joined #ruby
10:03
Kryptonical has joined #ruby
10:04
anaeem1_ has quit [Remote host closed the connection]
10:05
patrick99e99 has quit [Ping timeout: 260 seconds]
10:05
yubrew has joined #ruby
10:06
troulouliou_dev has joined #ruby
10:06
philcrissman has joined #ruby
10:06
m8 has joined #ruby
10:07
lukeholder has joined #ruby
10:07
abuzze has quit [Ping timeout: 240 seconds]
10:08
GeekOnCoffee has quit [Ping timeout: 240 seconds]
10:08
rbenv has joined #ruby
10:09
GeekOnCoffee has joined #ruby
10:09
yubrew has quit [Ping timeout: 255 seconds]
10:10
philcrissman has quit [Ping timeout: 264 seconds]
10:12
claw__ has joined #ruby
10:12
Kryptonical has quit [Remote host closed the connection]
10:12
claw_ has quit [Ping timeout: 255 seconds]
10:12
senayar has joined #ruby
10:13
sinkensabe has joined #ruby
10:14
senayar has quit [Remote host closed the connection]
10:14
gkagan has joined #ruby
10:14
tokik has joined #ruby
10:15
motto has joined #ruby
10:16
InhalingPixels has joined #ruby
10:17
hellangel7 has quit [Remote host closed the connection]
10:18
sinkensabe has quit [Ping timeout: 255 seconds]
10:18
m8 has quit [Ping timeout: 245 seconds]
10:18
adamski2600 has quit [Remote host closed the connection]
10:18
sinkensabe has joined #ruby
10:19
pandaant has joined #ruby
10:19
gkagan has quit [Ping timeout: 264 seconds]
10:19
GeekOnCoffee has quit [Ping timeout: 264 seconds]
10:19
senayar has joined #ruby
10:20
InhalingPixels has quit [Ping timeout: 250 seconds]
10:21
AlexRussia is now known as badass[ru]
10:21
GeekOnCoffee has joined #ruby
10:22
troulouliou_dev has quit [Ping timeout: 272 seconds]
10:22
anaeem1 has joined #ruby
10:22
steeve has joined #ruby
10:22
georgesmith has quit [Quit: georgesmith]
10:23
georgesmith has joined #ruby
10:23
adamski2600 has joined #ruby
10:25
Xeago has joined #ruby
10:25
timonv_ has quit [Remote host closed the connection]
10:27
klmlfl has quit [Read error: Connection reset by peer]
10:27
maximski has joined #ruby
10:27
Xeago has quit [Remote host closed the connection]
10:27
klmlfl has joined #ruby
10:28
GeekOnCoffee has quit [Ping timeout: 240 seconds]
10:28
Takle has quit [Remote host closed the connection]
10:29
GeekOnCoffee has joined #ruby
10:30
Xeago has joined #ruby
10:31
_2_rianna123 has joined #ruby
10:31
abuzze has joined #ruby
10:33
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
10:33
SilkFox_ has joined #ruby
10:34
Xeago has quit [Ping timeout: 246 seconds]
10:35
klmlfl has quit [Quit: klmlfl]
10:35
GeekOnCoffee has quit [Ping timeout: 264 seconds]
10:36
Kryptonical has joined #ruby
10:36
GeekOnDecaf has joined #ruby
10:36
GeekOnDecaf is now known as GeekOnCoffee
10:37
klmlfl has joined #ruby
10:37
<
shevy >
is this japanese humor
10:38
SilkFox_ has quit [Ping timeout: 240 seconds]
10:39
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
10:39
lemur has joined #ruby
10:39
angusiguess has joined #ruby
10:43
lemur has quit [Ping timeout: 240 seconds]
10:44
maximski has quit []
10:44
angusiguess has quit [Ping timeout: 250 seconds]
10:44
abuzze has quit [Read error: Connection reset by peer]
10:44
jhass is now known as jhass|off
10:44
_2_rianna123 has quit [Ping timeout: 255 seconds]
10:44
abuzze has joined #ruby
10:46
agjacome has joined #ruby
10:47
klmlfl has quit [Quit: klmlfl]
10:47
zarul has joined #ruby
10:48
bMalum has joined #ruby
10:48
Jackneill has joined #ruby
10:49
claw__ has quit [Ping timeout: 255 seconds]
10:49
claw___ has joined #ruby
10:49
klmlfl has joined #ruby
10:50
senayar has quit [Remote host closed the connection]
10:50
jhass|off is now known as jhass
10:50
saladspork has quit [Quit: saladspork]
10:51
georgesmith has quit [Ping timeout: 260 seconds]
10:51
osvico has quit [Ping timeout: 260 seconds]
10:51
Kryptonical is now known as KryptonicalAFK
10:51
sinkensabe has quit []
10:53
rjhunter has joined #ruby
10:54
georgesmith has joined #ruby
10:55
SouL_ has quit [Ping timeout: 264 seconds]
10:55
Alina-malina has quit [Read error: Connection reset by peer]
10:56
Alina-malina has joined #ruby
10:56
nateberkopec has joined #ruby
10:58
rjhunter has quit [Ping timeout: 260 seconds]
10:59
yubrew has joined #ruby
10:59
spider-mario has joined #ruby
11:01
georgesmith has quit [Ping timeout: 255 seconds]
11:01
spider-mario has quit [Read error: Connection reset by peer]
11:01
nateberkopec has quit [Ping timeout: 240 seconds]
11:02
robbyoconnor has joined #ruby
11:02
georgelappies has joined #ruby
11:02
fabrice31 has joined #ruby
11:03
yubrew has quit [Ping timeout: 245 seconds]
11:04
DivineEntity has quit [Ping timeout: 260 seconds]
11:05
abuzze_ has joined #ruby
11:05
anaeem1 has quit [Read error: Connection reset by peer]
11:05
Alina-malina has quit [Read error: Connection reset by peer]
11:05
St_Marx has quit [Remote host closed the connection]
11:05
anaeem1 has joined #ruby
11:06
St_Marx has joined #ruby
11:06
Alina-malina has joined #ruby
11:07
fabrice31 has quit [Ping timeout: 260 seconds]
11:07
spider-mario has joined #ruby
11:07
anaeem1 has quit [Remote host closed the connection]
11:08
abuzze has quit [Ping timeout: 250 seconds]
11:11
DivineEntity has joined #ruby
11:12
georgesmith has joined #ruby
11:12
hamakn has quit [Remote host closed the connection]
11:13
Xeago has joined #ruby
11:15
gkagan has joined #ruby
11:15
klmlfl has quit [Quit: klmlfl]
11:16
Alina-malina has quit [Read error: Connection reset by peer]
11:17
InhalingPixels has joined #ruby
11:17
Alina-malina has joined #ruby
11:17
hasan has joined #ruby
11:17
rjhunter has joined #ruby
11:18
Xeago has quit [Remote host closed the connection]
11:19
gkagan has quit [Ping timeout: 240 seconds]
11:20
doev has joined #ruby
11:20
georgesmith has quit [Quit: georgesmith]
11:20
ptrrr has quit [Quit: ptrrr]
11:21
sysx1000 has quit [Quit: sysx1000]
11:21
InhalingPixels has quit [Ping timeout: 250 seconds]
11:21
Alina-malina has quit [Read error: Connection reset by peer]
11:21
bMalum_ has joined #ruby
11:22
lkba has joined #ruby
11:22
bMalum has quit [Ping timeout: 240 seconds]
11:22
bMalum_ is now known as bMalum
11:22
dawkirst has quit [Remote host closed the connection]
11:22
Alina-malina has joined #ruby
11:26
Alina-malina has quit [Client Quit]
11:27
Alina-malina has joined #ruby
11:27
kyb3r_ has quit [Read error: Connection reset by peer]
11:28
brtdv has joined #ruby
11:28
guardian has left #ruby ["WeeChat 0.4.3"]
11:28
mengu has quit [Remote host closed the connection]
11:30
sparrovv has joined #ruby
11:31
georgesmith has joined #ruby
11:31
ltd has quit [Ping timeout: 255 seconds]
11:32
sawtooth has quit [Ping timeout: 240 seconds]
11:32
dawkirst has joined #ruby
11:32
CorpusCallosum has joined #ruby
11:32
georgesmith has quit [Client Quit]
11:33
ndrei has quit [Ping timeout: 260 seconds]
11:34
kirun has joined #ruby
11:34
SilkFox_ has joined #ruby
11:35
sparrovv has quit [Ping timeout: 255 seconds]
11:37
chihhsin_cloud has quit [*.net *.split]
11:37
closer has quit [*.net *.split]
11:37
Zespre has quit [*.net *.split]
11:37
Lewoco has quit [*.net *.split]
11:37
zz_karupa has quit [*.net *.split]
11:38
cibs has quit [*.net *.split]
11:38
eshy has quit [*.net *.split]
11:38
abuzze_ has quit [Remote host closed the connection]
11:38
mengu has joined #ruby
11:38
ramin_sed has joined #ruby
11:39
sawtooth has joined #ruby
11:39
Takle has joined #ruby
11:39
SilkFox_ has quit [Ping timeout: 260 seconds]
11:40
angusiguess has joined #ruby
11:40
chihhsin_cloud has joined #ruby
11:40
Zespre has joined #ruby
11:40
lemur has joined #ruby
11:40
Guest7694 is now known as Biohazard
11:42
thomasxie has quit [Ping timeout: 260 seconds]
11:43
ramin_sed has quit [Ping timeout: 246 seconds]
11:43
sawtooth has quit [Ping timeout: 245 seconds]
11:44
lemur has quit [Ping timeout: 240 seconds]
11:45
Takle has quit [Ping timeout: 260 seconds]
11:45
angusiguess has quit [Ping timeout: 260 seconds]
11:46
Takle has joined #ruby
11:47
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:48
ndrei has joined #ruby
11:50
sawtooth has joined #ruby
11:51
thomasxie has joined #ruby
11:51
nateberkopec has joined #ruby
11:51
saladspork has joined #ruby
11:53
yubrew has joined #ruby
11:53
banister has joined #ruby
11:54
jerius has quit [Ping timeout: 245 seconds]
11:54
abuzze has joined #ruby
11:54
philcrissman has joined #ruby
11:56
jerius has joined #ruby
11:56
tokik has quit [Ping timeout: 246 seconds]
11:58
yubrew has quit [Ping timeout: 240 seconds]
11:58
mengu has quit [Remote host closed the connection]
11:58
duncannz has quit [Ping timeout: 272 seconds]
11:58
aoeu256 has joined #ruby
11:58
Xeago has joined #ruby
11:58
Xeago has quit [Remote host closed the connection]
11:58
mengu has joined #ruby
11:58
HelperW__ has joined #ruby
11:59
lukeholder has joined #ruby
11:59
philcrissman has quit [Ping timeout: 255 seconds]
11:59
lukeholder has quit [Max SendQ exceeded]
11:59
apeiros has joined #ruby
12:00
lukeholder has joined #ruby
12:00
adac has quit [Ping timeout: 246 seconds]
12:00
lukeholder has quit [Max SendQ exceeded]
12:00
senayar has joined #ruby
12:01
lukeholder has joined #ruby
12:01
lukeholder has quit [Max SendQ exceeded]
12:02
lukeholder has joined #ruby
12:02
relix_ has joined #ruby
12:02
mengu has quit [Ping timeout: 240 seconds]
12:03
mijicd has quit [Ping timeout: 255 seconds]
12:03
otherj has joined #ruby
12:04
relix has quit [Ping timeout: 250 seconds]
12:04
apeiros has quit [Ping timeout: 272 seconds]
12:04
anarang has quit [Quit: Leaving]
12:05
mijicd has joined #ruby
12:06
startupality has quit [Quit: startupality]
12:07
SCHAAP137 has joined #ruby
12:08
Lewoco has joined #ruby
12:08
eshy has joined #ruby
12:10
AlSquire has joined #ruby
12:10
Fire-Dragon-DoL has joined #ruby
12:12
hamakn has joined #ruby
12:13
abuzze has quit [Remote host closed the connection]
12:13
emocakes has quit [Ping timeout: 240 seconds]
12:13
bmurt has joined #ruby
12:13
kristofferR has joined #ruby
12:14
shevy has quit [Remote host closed the connection]
12:14
CorpusCallosum has quit [Ping timeout: 255 seconds]
12:14
Joffily has joined #ruby
12:14
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
12:16
gkagan has joined #ruby
12:16
emocakes has joined #ruby
12:16
adac has joined #ruby
12:17
InhalingPixels has joined #ruby
12:17
motto has quit [Quit: Sto andando via]
12:18
hamakn has quit [Ping timeout: 272 seconds]
12:19
nateberkopec has quit [Quit: Leaving...]
12:20
m8 has joined #ruby
12:21
gkagan has quit [Ping timeout: 272 seconds]
12:21
agent_white has quit [Quit: night]
12:21
catbusters has joined #ruby
12:22
InhalingPixels has quit [Ping timeout: 272 seconds]
12:24
gccostabr has joined #ruby
12:25
adac has quit [Ping timeout: 260 seconds]
12:25
lukeholder has joined #ruby
12:25
lukeholder has quit [Max SendQ exceeded]
12:26
monds has quit [Read error: Connection reset by peer]
12:26
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:26
dkamioka has joined #ruby
12:28
lukeholder has joined #ruby
12:28
hasan has left #ruby [#ruby]
12:28
lukeholder has quit [Max SendQ exceeded]
12:29
kristofferR has joined #ruby
12:30
lukeholder has joined #ruby
12:30
lukeholder has quit [Max SendQ exceeded]
12:30
adam12 is now known as adam
12:31
lukeholder has joined #ruby
12:31
adam is now known as Guest12126
12:31
lukeholder has quit [Max SendQ exceeded]
12:32
lukeholder has joined #ruby
12:33
lukeholder has quit [Max SendQ exceeded]
12:34
maroloccio has joined #ruby
12:34
lukeholder has joined #ruby
12:34
lukeholder has quit [Max SendQ exceeded]
12:34
diegoviola has joined #ruby
12:35
SilkFox_ has joined #ruby
12:36
phoo1234567 has joined #ruby
12:36
startupality has joined #ruby
12:36
sysx1000 has joined #ruby
12:37
lukeholder has joined #ruby
12:37
phoo1234567 has quit [Max SendQ exceeded]
12:37
lukeholder has quit [Max SendQ exceeded]
12:37
phoo1234567 has joined #ruby
12:38
yfeldblu_ has quit [Ping timeout: 240 seconds]
12:38
lukeholder has joined #ruby
12:39
lukeholder has quit [Max SendQ exceeded]
12:39
startupality has quit [Client Quit]
12:39
gccostabr has quit [Quit: ZZZzzz…]
12:40
SilkFox_ has quit [Ping timeout: 260 seconds]
12:40
lukeholder has joined #ruby
12:40
alexherbo2 has quit [Ping timeout: 240 seconds]
12:40
lukeholder has quit [Max SendQ exceeded]
12:40
emocakes has quit []
12:41
angusiguess has joined #ruby
12:41
CorpusCallosum has joined #ruby
12:41
lukeholder has joined #ruby
12:41
dgutierrez1287 has joined #ruby
12:41
lemur has joined #ruby
12:41
lukeholder has quit [Max SendQ exceeded]
12:42
emocakes has joined #ruby
12:42
lukeholder has joined #ruby
12:43
claymore has joined #ruby
12:43
lukeholder has quit [Max SendQ exceeded]
12:44
OffTheRails has joined #ruby
12:45
lukeholder has joined #ruby
12:45
lukeholder has quit [Max SendQ exceeded]
12:45
adac has joined #ruby
12:45
Photism has joined #ruby
12:45
lemur has quit [Ping timeout: 240 seconds]
12:45
angusiguess has quit [Ping timeout: 260 seconds]
12:46
lukeholder has joined #ruby
12:46
codecop has quit [Remote host closed the connection]
12:47
lukeholder has quit [Max SendQ exceeded]
12:47
yubrew has joined #ruby
12:47
blackoperat has joined #ruby
12:48
blackoperat has quit [Remote host closed the connection]
12:48
lukeholder has joined #ruby
12:48
lukeholder has quit [Max SendQ exceeded]
12:48
abuzze has joined #ruby
12:48
senayar has quit [Remote host closed the connection]
12:49
lukeholder has joined #ruby
12:49
lukeholder has quit [Max SendQ exceeded]
12:50
senayar has joined #ruby
12:50
chipotle has joined #ruby
12:50
fabrice31 has joined #ruby
12:51
abuzze has quit [Remote host closed the connection]
12:51
lukeholder has joined #ruby
12:51
lukeholder has quit [Max SendQ exceeded]
12:51
yubrew has quit [Ping timeout: 245 seconds]
12:53
lukeholder has joined #ruby
12:53
lukeholder has quit [Max SendQ exceeded]
12:54
lw has joined #ruby
12:55
lukeholder has joined #ruby
12:55
jds has joined #ruby
12:55
lukeholder has quit [Max SendQ exceeded]
12:55
fabrice31 has quit [Ping timeout: 250 seconds]
12:55
saladspork has quit [Quit: saladspork]
12:56
lukeholder has joined #ruby
12:56
Darkchaos has quit [Ping timeout: 240 seconds]
12:56
lukeholder has quit [Max SendQ exceeded]
12:57
Dreamer3 has joined #ruby
12:57
lukeholder has joined #ruby
12:57
zeroNones has joined #ruby
12:58
nateberkopec has joined #ruby
12:58
lukeholder has quit [Max SendQ exceeded]
12:58
nateberkopec has quit [Client Quit]
12:59
lukeholder has joined #ruby
12:59
lukeholder has quit [Max SendQ exceeded]
13:00
lukeholder has joined #ruby
13:00
lukeholder has quit [Max SendQ exceeded]
13:00
moritzs has joined #ruby
13:00
moritzs has quit [Max SendQ exceeded]
13:01
alexherbo2 has joined #ruby
13:01
Wolland has joined #ruby
13:01
lukeholder has joined #ruby
13:01
freerobby has joined #ruby
13:01
lukeholder has quit [Max SendQ exceeded]
13:01
hamakn has joined #ruby
13:02
lukeholder has joined #ruby
13:02
Wolland has quit [Read error: Connection reset by peer]
13:02
lukeholder has quit [Max SendQ exceeded]
13:02
moritzs has joined #ruby
13:03
abuzze has joined #ruby
13:03
Wolland has joined #ruby
13:03
lukeholder has joined #ruby
13:03
apeiros has joined #ruby
13:04
lukeholder has quit [Max SendQ exceeded]
13:04
lukeholder has joined #ruby
13:04
Dreamer3 has quit [Ping timeout: 260 seconds]
13:05
lukeholder has quit [Max SendQ exceeded]
13:05
adac has quit [Ping timeout: 264 seconds]
13:05
yfeldblum has joined #ruby
13:05
lukeholder has joined #ruby
13:06
lukeholder has quit [Max SendQ exceeded]
13:06
abuzze has quit [Remote host closed the connection]
13:06
abuzze has joined #ruby
13:07
lukeholder has joined #ruby
13:07
marjinal1st has joined #ruby
13:07
moritzs has quit [Max SendQ exceeded]
13:08
<
marjinal1st >
How can get arguments from console, but using like --option1=lorem --option2=ipsum, in Ruby?
13:09
Dreamer3 has joined #ruby
13:09
Wolland has quit [Ping timeout: 260 seconds]
13:09
yfeldblum has quit [Ping timeout: 240 seconds]
13:10
lukeholder has quit [Client Quit]
13:10
Dreamer3 has quit [Max SendQ exceeded]
13:11
Dreamer3 has joined #ruby
13:11
Dreamer3 has quit [Max SendQ exceeded]
13:12
atmosx has joined #ruby
13:13
sepp2k has joined #ruby
13:13
lw has quit [Quit: s]
13:14
kristofferR has joined #ruby
13:15
timonv_ has joined #ruby
13:16
Xeago has joined #ruby
13:16
<
weeb1e >
Anyone feel like throwing out random ideas why a Rack::Session::Cookie refuses to persist in one of my apps?
13:16
railzForDaiz has joined #ruby
13:16
gkagan has joined #ruby
13:18
abuzze has quit [Remote host closed the connection]
13:18
InhalingPixels has joined #ruby
13:19
lukeholder has joined #ruby
13:19
Janno__ has joined #ruby
13:20
moritzs has joined #ruby
13:20
georgesmith has joined #ruby
13:21
gkagan has quit [Ping timeout: 250 seconds]
13:21
Xeago has quit [Ping timeout: 260 seconds]
13:22
havenwood has joined #ruby
13:22
startupality has joined #ruby
13:22
InhalingPixels has quit [Ping timeout: 245 seconds]
13:22
Xeago has joined #ruby
13:22
Janno has quit [Ping timeout: 255 seconds]
13:23
Xeago has quit [Remote host closed the connection]
13:23
yfeldblum has joined #ruby
13:26
ramin_sed has joined #ruby
13:27
marjinal1st has left #ruby [#ruby]
13:28
yfeldblum has quit [Ping timeout: 246 seconds]
13:29
poulet_a has joined #ruby
13:30
sparrovv has joined #ruby
13:30
kristofferR has joined #ruby
13:30
arup_r1 has quit [Quit: Leaving.]
13:31
lw has joined #ruby
13:31
freeaaa has joined #ruby
13:31
freeaaa has left #ruby [#ruby]
13:31
krz has joined #ruby
13:31
ramin_sed has quit [Ping timeout: 260 seconds]
13:31
Dreamer3 has joined #ruby
13:32
britneywright has joined #ruby
13:33
sawtooth has quit [Ping timeout: 250 seconds]
13:33
sawtooth has joined #ruby
13:33
sylvanica has joined #ruby
13:33
GeekOnCoffee has quit [Ping timeout: 240 seconds]
13:34
startupality has quit [Quit: startupality]
13:34
sparrovv has quit [Ping timeout: 245 seconds]
13:35
bMalum has quit [Quit: bMalum]
13:35
Cheezebox has joined #ruby
13:35
dkamioka has quit [Remote host closed the connection]
13:36
noop has joined #ruby
13:36
SilkFox_ has joined #ruby
13:36
<
weeb1e >
I'm really losing my mind now
13:37
senayar has quit [Remote host closed the connection]
13:37
<
weeb1e >
After getting no where with figuring out why my rack based microframework was failing to keep rack cookie based sessions, I switched the web app to Sinatra
13:37
GeekOnCoffee has joined #ruby
13:37
<
weeb1e >
And the problem persisted
13:37
startupality has joined #ruby
13:38
<
weeb1e >
Now I just figured out, my session works perfectly in a Chrome Incognito window, I can login and logout, and the session persists correctly across page loads
13:38
starless has joined #ruby
13:38
<
weeb1e >
But in my main chrome browser window, even after manually removing all cookies for the site multiple times, the session will not persist to be bale to login
13:38
<
weeb1e >
*be able to login
13:39
sawtooth has quit [Ping timeout: 246 seconds]
13:40
CorpusCallosum has quit [Ping timeout: 240 seconds]
13:40
sawtooth has joined #ruby
13:40
SilkFox_ has quit [Ping timeout: 250 seconds]
13:41
angusiguess has joined #ruby
13:41
yubrew has joined #ruby
13:42
Dreamer3 has quit [Read error: Connection reset by peer]
13:42
philcrissman has joined #ruby
13:43
mengu has joined #ruby
13:43
mengu has quit [Remote host closed the connection]
13:45
poulet_a has quit [Ping timeout: 255 seconds]
13:45
<
pontiki >
does it work in any other browser as well?
13:45
Lewoco has quit [*.net *.split]
13:45
eshy has quit [*.net *.split]
13:46
yubrew has quit [Ping timeout: 246 seconds]
13:46
railzForDaiz has quit []
13:46
lxsameer has quit [Quit: Leaving]
13:46
ramin_sed has joined #ruby
13:46
jusmyth has joined #ruby
13:47
philcrissman has quit [Ping timeout: 255 seconds]
13:47
Janno has joined #ruby
13:48
bit_twit has joined #ruby
13:49
kristofferR has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:50
noop has quit [Ping timeout: 240 seconds]
13:50
ramin_sed has quit [Ping timeout: 250 seconds]
13:50
motto has joined #ruby
13:51
Janno__ has quit [Ping timeout: 250 seconds]
13:51
jusmyth has left #ruby [#ruby]
13:51
noop has joined #ruby
13:51
kristofferR has joined #ruby
13:51
m8 has quit [Ping timeout: 260 seconds]
13:52
Janno has quit [Ping timeout: 240 seconds]
13:52
shevy has joined #ruby
13:52
cashnguns has joined #ruby
13:52
Janno has joined #ruby
13:52
otherj has joined #ruby
13:53
<
weeb1e >
pontiki: Yes I tested in FF nightly now to be sure
13:53
bit_twit has quit [Quit: Leaving]
13:53
<
weeb1e >
So I can no longer use my main chrome browser window to test this app at all
13:54
<
weeb1e >
Only this app, sessions work fine in my chrome for 10 of my other apps
13:54
FoxZoOL has joined #ruby
13:54
<
jhass >
cookies, local storage all empty? browser fully restarted? app fully restarted?
13:55
<
weeb1e >
jhass: Cookies for the site are cleared, it doesn't make use of local storage
13:55
<
weeb1e >
I have not restarted the brower, the app has been reloaded in new tabs
13:55
<
pontiki >
disable extensions?
13:55
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
13:57
<
pontiki >
has it ever worked for this combination of app + browser profile?
13:57
<
weeb1e >
I really doubt it is an extension, why would an extensions screw with a single apps cookies, and none of my other apps
13:57
<
weeb1e >
The app is brand new, so no
13:57
<
weeb1e >
But it's based on nearly the same code as many of my other sinatra apps
13:57
<
weeb1e >
Which all work fine in this browser profile
13:58
krz has quit [Quit: WeeChat 0.4.3]
13:58
<
weeb1e >
It's very strange, but all I can assume at this point is a Chrome bug
13:58
<
pontiki >
why would it work if incognito but not with your regular profile?
13:58
<
weeb1e >
and I'll just stick to an incognito window for testing this app
13:58
<
pontiki >
i'd still look at disabling extensions and plugins
13:58
<
weeb1e >
and even using it :/
13:58
poulet_a has joined #ruby
13:58
<
weeb1e >
I really have no idea
13:59
<
pontiki >
that's why i suggest disabling them and checking
13:59
<
weeb1e >
I'll quickly disable the few extensions I use, but I highly doubt they are related
13:59
<
weeb1e >
I've already wasted so much time due to this retarded bug
13:59
<
weeb1e >
I cannot afford to waste more
13:59
saladspork has joined #ruby
14:00
<
weeb1e >
All extensions are disabled, problem persists.
14:00
skysploit has joined #ruby
14:01
lw has quit [Quit: s]
14:01
<
weeb1e >
It wouldn't be the first time retarded Google Chrome bugs have wasted my time
14:02
patrick99e99 has joined #ruby
14:02
poulet_a has quit [Client Quit]
14:02
<
shevy >
bugs always waste time
14:02
<
weeb1e >
Google Chrome has some nasty CSS cache reverting bugs, which constantly cause old CSS to randomly be rendered in many users browsers
14:02
osvico has joined #ruby
14:02
<
weeb1e >
Including my own
14:02
ltd has joined #ruby
14:02
<
weeb1e >
Ctrl + F5 usually only fixes the rendering for one page load, until you F5 again and it reverts to the old CSS
14:02
dorei has joined #ruby
14:03
<
weeb1e >
The only way to completely fix the cache bug is to manually clear all browser cache, which you cannot expect most users to do
14:03
brothmars has joined #ruby
14:03
<
weeb1e >
I'm really not sure how people update production sites these days, without Chrome breaking their layout completely
14:03
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
14:03
Wolland has joined #ruby
14:04
Xeago has joined #ruby
14:05
Xeago has joined #ruby
14:07
patrick99e99 has quit [Ping timeout: 255 seconds]
14:07
FoxZoOL has quit [Remote host closed the connection]
14:07
ari-_-e has quit [Ping timeout: 246 seconds]
14:07
Lewoco has joined #ruby
14:07
eshy has joined #ruby
14:08
Wolland has quit [Ping timeout: 240 seconds]
14:08
<
pagios >
#{request.ip}" returns the ip in the address bar in a browser?
14:09
sevenseacat has joined #ruby
14:09
starkhalo has joined #ruby
14:09
senayar has joined #ruby
14:10
Xeago has quit [Ping timeout: 260 seconds]
14:11
ltd has quit [Ping timeout: 260 seconds]
14:12
rismoney1_ has joined #ruby
14:12
ari-_-e has joined #ruby
14:13
<
shevy >
depends on what request is
14:13
<
shevy >
usually it will be documented
14:14
<
mozzarella >
pagios: rails? that's the ip of the user
14:15
startupality has quit [Quit: startupality]
14:17
frankle has joined #ruby
14:17
gkagan has joined #ruby
14:17
yfeldblum has joined #ruby
14:18
startupality has joined #ruby
14:19
InhalingPixels has joined #ruby
14:19
mr-foobar has quit [Ping timeout: 240 seconds]
14:21
stef_204 has joined #ruby
14:21
mr-foobar has joined #ruby
14:22
gkagan has quit [Ping timeout: 240 seconds]
14:22
arup_r has joined #ruby
14:22
bMalum has joined #ruby
14:22
yfeldblum has quit [Ping timeout: 255 seconds]
14:23
InhalingPixels has quit [Ping timeout: 250 seconds]
14:23
<
pagios >
shevy mozzarella its sinatra mainly trying to get the ip of the server running ruby
14:24
FoxZoOL has joined #ruby
14:24
<
shevy >
"Your IP address is #{request.ip}"
14:24
<
shevy >
I assume request is a global object
14:24
SilkFox_ has joined #ruby
14:24
<
shevy >
or a call to a method returning such
14:24
<
pagios >
shevy: i need the ip of the server not the client
14:25
<
shevy >
you did not state so before man
14:26
CoffeeDrivenC0d1 has joined #ruby
14:26
fold has quit [Ping timeout: 250 seconds]
14:27
Dreamer3 has joined #ruby
14:27
zz_jrhorn424 is now known as jrhorn424
14:27
CoffeeDrivenC0d1 has left #ruby [#ruby]
14:27
Dreamer3 has quit [Max SendQ exceeded]
14:28
krisquigley has joined #ruby
14:28
dangerousdave has joined #ruby
14:29
<
pagios >
request.host thanks
14:29
SilkFox_ has quit [Ping timeout: 245 seconds]
14:30
senayar_ has joined #ruby
14:30
bradleyprice has quit [Remote host closed the connection]
14:30
jrhorn424 is now known as zz_jrhorn424
14:30
bradleyprice has joined #ruby
14:30
sparrovv has joined #ruby
14:31
senayar has quit [Ping timeout: 240 seconds]
14:32
centrx has joined #ruby
14:33
claymore has quit [Ping timeout: 260 seconds]
14:34
senayar_ has quit [Ping timeout: 245 seconds]
14:35
bradleyprice has quit [Ping timeout: 250 seconds]
14:35
claymore has joined #ruby
14:35
yubrew has joined #ruby
14:36
banister has joined #ruby
14:36
ltd has joined #ruby
14:36
go|dfish has quit [Ping timeout: 250 seconds]
14:37
klmlfl has joined #ruby
14:37
banister has quit [Max SendQ exceeded]
14:39
nobitanobi has joined #ruby
14:39
hamakn has quit [Remote host closed the connection]
14:39
fabrice31 has joined #ruby
14:40
hamakn has joined #ruby
14:40
yubrew has quit [Ping timeout: 250 seconds]
14:40
TC` has joined #ruby
14:40
charliesome has joined #ruby
14:41
banister has joined #ruby
14:41
banister has quit [Max SendQ exceeded]
14:42
lemur has joined #ruby
14:42
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:43
SonicSwordcane has joined #ruby
14:43
klmlfl has quit [Quit: klmlfl]
14:43
senayar has joined #ruby
14:43
banister has joined #ruby
14:44
abuzze has joined #ruby
14:44
hamakn has quit [Ping timeout: 245 seconds]
14:44
fabrice31 has quit [Ping timeout: 260 seconds]
14:45
SonicSwordcane has left #ruby [#ruby]
14:45
Dreamer3 has joined #ruby
14:45
Cheezebox has quit [Remote host closed the connection]
14:46
lemur has quit [Ping timeout: 240 seconds]
14:47
Takle has quit [Remote host closed the connection]
14:48
abuzze has quit [Ping timeout: 255 seconds]
14:48
<
xhoy >
HI! i am looking for another idiom :)
14:49
<
xhoy >
how can i do a loop until i hit something, in this case i have an array with email addresses, i need to look of they exsist, until i find one.
14:49
senayar has quit [Ping timeout: 250 seconds]
14:49
<
xhoy >
just a simpel .each with a break?
14:50
bthesorceror has joined #ruby
14:50
<
waxjar >
#take_while ?
14:51
_808chris has joined #ruby
14:51
<
waxjar >
or probably just #find
14:51
<
xhoy >
waxjar: how would that work with a find?
14:51
<
waxjar >
array.find { |email| does_this_exist? email }
14:52
<
_808chris >
i cant get guard to watch my coffee folder. anyone see any issues here:?
14:52
<
_808chris >
guard 'coffeescript', :output => 'public/javascripts' { watch(%r{^coffeescripts/(.+\.coffee)$}) }
14:52
<
xhoy >
oke end how does the loop end when there is a hit?
14:52
<
xhoy >
because it does some sql query's everytime i look :P so its prefered to look as less as possible :)
14:53
<
pagios >
how can i pass #{request.host} to erb :/
14:53
<
waxjar >
it returns the first result that does_this_exist? return true for
14:53
<
xhoy >
i didn't know that!
14:53
<
dorei >
any vim users here? what do you use for code completion?
14:54
<
xhoy >
dorei: good question!
14:55
<
xhoy >
dorei: i love to hear the anwser when you find one
14:55
ltd has quit [Ping timeout: 260 seconds]
14:55
<
xhoy >
waxjar: thanks!
14:55
ltd has joined #ruby
14:55
rjhunter has quit [Remote host closed the connection]
14:55
<
nobitanobi >
dorei: I use vim. vim-ruby is pretty good
14:56
axilla has quit [Ping timeout: 240 seconds]
14:56
<
dorei >
nobitanobi: and u complete with <ctrl-x> <ctrl-o> ?
14:56
<
xhoy >
waxjar: why?
14:56
<
xhoy >
waxjar: less code?
14:57
<
nobitanobi >
Actually I have supertab too
14:57
<
waxjar >
sorry, i thought you meand using #find over #loop
14:57
<
nobitanobi >
that helps me to autocomplete words, based on the context
14:57
<
xhoy >
i meand that, you prefer find?
14:57
sinkensabe has joined #ruby
14:57
<
xhoy >
why? seems that the break is 'common' ?
14:58
codecop has joined #ruby
14:58
<
dorei >
nobitanobi: thanx, I'll give supertab a try :)
14:58
<
waxjar >
because methods from Enumerable make it all a lot prettier and easier to change
14:59
<
xhoy >
find feels cleaner :)
14:59
<
xhoy >
ill go with find!
14:59
<
waxjar >
plus it's much clearer, #find says exactly what you're doing, some loop doesn't
14:59
timonv_ has quit [Remote host closed the connection]
15:00
hellangel7 has joined #ruby
15:00
<
dorei >
#find cleanly conveys what you're doing
15:00
emocakes has quit []
15:00
<
xhoy >
that is true, weird that it isn't suggested
15:01
lw has joined #ruby
15:02
<
nobitanobi >
xhoy: suggested where?
15:02
fold has joined #ruby
15:02
<
xhoy >
when i search and look around, everybody uses the break
15:03
<
xhoy >
or kernel#loop
15:03
<
waxjar >
probably because you're searching for looping stuff
15:03
<
xhoy >
yeah that is true :)
15:03
Wolland has joined #ruby
15:03
<
xhoy >
need to learn a lot more :)
15:03
<
xhoy >
but loving ruby :)
15:04
<
xhoy >
(and rails) :)
15:04
<
xhoy >
i did as suggested by waxjar :)
15:05
<
pagios >
how can i pass #{request.host} to erb ?
15:05
sevenseacat has quit [Quit: Leaving.]
15:05
rjhunter has joined #ruby
15:05
abuzze has joined #ruby
15:05
<
xhoy >
pagios: rails? in your controller @request = request?
15:05
<
xhoy >
and then @request.host in your view?
15:05
ltd has quit [Ping timeout: 250 seconds]
15:06
TieSoul has quit [Remote host closed the connection]
15:06
<
pagios >
@server_ip = #{request.host} and then in @@ erb @server_ip xhoy ?
15:07
krisquigley has quit [Remote host closed the connection]
15:07
ltd has joined #ruby
15:07
diegovio1 has joined #ruby
15:07
<
xhoy >
pagios: @vars live in the view && controller they are your way of transporting stuff
15:07
<
pagios >
<% @server_ip %>
15:07
<
xhoy >
pagios: but you should ask these things in #rubyonrails
15:07
bthesorceror has quit [Quit: bthesorceror]
15:07
<
xhoy >
yes for example
15:07
<
pagios >
i am using sinatra xhoy
15:07
diegoviola has quit [Ping timeout: 245 seconds]
15:07
<
xhoy >
ow then i dont know :)
15:08
<
xhoy >
but i guess its almost the same? :)
15:08
Wolland has quit [Ping timeout: 260 seconds]
15:08
diegovio1 is now known as diegoviola
15:08
dgutierrez1287 has quit [Ping timeout: 264 seconds]
15:09
<
pagios >
xhoy: no it returns null
15:10
<
xhoy >
maby it isn't there?
15:10
<
xhoy >
does run a debugger :)
15:10
noop has quit [Ping timeout: 260 seconds]
15:10
<
xhoy >
maby better errors gem (if that works for sintra)
15:10
<
pagios >
no i did this: @server_ip = #{request.host} and in erb: <source src='http://<% @server_ip %>:...
15:11
<
nobitanobi >
pagios: how do you pass your locals to the ERB?
15:11
<
waxjar >
try <%= ... %>
15:11
<
pagios >
ah yes the = sign
15:12
toastynerd has joined #ruby
15:12
Takle has joined #ruby
15:12
yfeldblum has joined #ruby
15:12
<
pagios >
nobitanobi: @server_ip = #{request.host} this is how i pass it
15:13
<
pagios >
then in erb trying: <source src='http://<%= @server_ip %> ....\
15:13
<
pagios >
for some reason it returns blank
15:13
rjhunter has quit [Remote host closed the connection]
15:13
dgutierrez1287 has joined #ruby
15:13
<
nobitanobi >
Uhm, I recall using ERB in sinatra and passing it like this: erb :hello, :locals => {:foo => var}
15:14
moritzs has quit [Ping timeout: 240 seconds]
15:15
Nahra has quit [Remote host closed the connection]
15:15
nobitanobi has quit [Remote host closed the connection]
15:15
Nahra has joined #ruby
15:16
FoxZoOL has quit [Remote host closed the connection]
15:16
goshdarnyou has joined #ruby
15:16
yfeldblum has quit [Ping timeout: 240 seconds]
15:16
alexju has joined #ruby
15:17
abuzze has quit [Remote host closed the connection]
15:18
gkagan has joined #ruby
15:19
toastynerd has quit [Remote host closed the connection]
15:19
dgutierrez1287 has quit [Ping timeout: 255 seconds]
15:19
InhalingPixels has joined #ruby
15:20
noop has joined #ruby
15:20
<
pagios >
anyone? i idnt get it
15:21
<
pagios >
ah ok i am passing the variable correctly but request.host returns null
15:22
Joffily has quit [Read error: Connection reset by peer]
15:22
toastyne_ has joined #ruby
15:22
gkagan has quit [Ping timeout: 245 seconds]
15:23
<
pagios >
got it working please ignore
15:23
thomasxie has quit [Ping timeout: 245 seconds]
15:24
InhalingPixels has quit [Ping timeout: 255 seconds]
15:24
dgutierrez1287 has joined #ruby
15:25
razum2um has joined #ruby
15:26
startupality has quit [Quit: startupality]
15:26
toastyne_ has quit [Remote host closed the connection]
15:26
_808chris has quit [Ping timeout: 260 seconds]
15:29
yubrew has joined #ruby
15:30
albedoa has joined #ruby
15:31
philcrissman has joined #ruby
15:32
kenneth has joined #ruby
15:32
yacks has quit [Read error: Connection reset by peer]
15:34
bthesorceror has joined #ruby
15:34
yubrew has quit [Ping timeout: 240 seconds]
15:34
ramin_sed has joined #ruby
15:35
philcrissman has quit [Ping timeout: 240 seconds]
15:35
go|dfish has joined #ruby
15:37
axilla has joined #ruby
15:37
sdwrage has joined #ruby
15:37
synergyz has quit [Remote host closed the connection]
15:38
bitri has joined #ruby
15:38
froggy_ has joined #ruby
15:38
CaptainJet has joined #ruby
15:38
Bumptious has quit [Remote host closed the connection]
15:38
Bumptious has joined #ruby
15:39
ramin_sed has quit [Ping timeout: 260 seconds]
15:40
timonv_ has joined #ruby
15:41
froggy__ has quit [Ping timeout: 246 seconds]
15:42
abuzze has joined #ruby
15:42
Joffily has joined #ruby
15:43
maZtah_ is now known as maZtah
15:43
maZtah has quit [Changing host]
15:43
maZtah has joined #ruby
15:43
maZtah has quit [Changing host]
15:43
maZtah has joined #ruby
15:43
lemur has joined #ruby
15:45
<
centrx >
albedoa, Seems like it makes sense
15:45
<
jhass >
albedoa: if you want to avoid building a big intermediate array of the successors, yes. You can use each_value on the outer loop
15:45
shevy has quit [Read error: Connection reset by peer]
15:45
<
albedoa >
jhass centrx thanks!!
15:46
cibs has joined #ruby
15:46
<
jhass >
entries.values.flat_map(&:successors).each do |successor| is the (big) intermediate array(s) version
15:46
abuzze has quit [Ping timeout: 260 seconds]
15:47
pandaant has quit [Remote host closed the connection]
15:47
lemur has quit [Ping timeout: 240 seconds]
15:48
zorak has quit [Ping timeout: 255 seconds]
15:49
cpruitt has joined #ruby
15:50
nonnatus has joined #ruby
15:51
lkba has quit [Ping timeout: 260 seconds]
15:52
zorak has joined #ruby
15:52
poulet_a has joined #ruby
15:55
timonv_ has quit [Ping timeout: 240 seconds]
15:56
bMalum has quit [Quit: bMalum]
15:57
Lewix has joined #ruby
15:57
TieSoul has joined #ruby
15:58
charliesome has quit [Quit: zzz]
15:58
Wolland has joined #ruby
15:58
lw has quit [Quit: s]
15:59
jmbrown412 has joined #ruby
15:59
jottr has joined #ruby
15:59
jusmyth1 has joined #ruby
16:00
skysploit has quit [Remote host closed the connection]
16:00
andrewlio has joined #ruby
16:01
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:02
cpruitt has quit [Quit: cpruitt]
16:02
Wolland has quit [Ping timeout: 240 seconds]
16:03
patrick99e99 has joined #ruby
16:03
krisquigley has joined #ruby
16:04
arup_r has quit [Quit: Leaving.]
16:05
bthesorceror has quit [Quit: bthesorceror]
16:05
nobitanobi has joined #ruby
16:06
jusmyth1 has left #ruby [#ruby]
16:07
Zenigor has joined #ruby
16:07
cpruitt has joined #ruby
16:07
patrick99e99 has quit [Ping timeout: 260 seconds]
16:08
charliesome has joined #ruby
16:08
krisquigley has quit [Remote host closed the connection]
16:10
nonnatus has quit [Ping timeout: 260 seconds]
16:10
jottr has quit [Ping timeout: 255 seconds]
16:15
heftig has quit [Quit: Quitting]
16:15
krisquigley has joined #ruby
16:15
hamakn has joined #ruby
16:15
nonnatus has joined #ruby
16:16
seamon has joined #ruby
16:16
gsd has joined #ruby
16:17
matchaw has quit [Ping timeout: 255 seconds]
16:18
nobitanobi has quit [Remote host closed the connection]
16:18
jottr has joined #ruby
16:18
saladspork has quit [Quit: saladspork]
16:19
gkagan has joined #ruby
16:19
fold has quit [Ping timeout: 255 seconds]
16:20
InhalingPixels has joined #ruby
16:21
<
nonnatus >
Morning, everyone. I'm having a small problem with RSpec and Rails, and was wondering if could get some help.
16:23
<
nonnatus >
I want to use some shared examples in my controller specs for basic authentication things, but the shared example groups don't include the `get`, `post`, etc methods.
16:23
britneywright has joined #ruby
16:23
gkagan has quit [Ping timeout: 250 seconds]
16:24
pasties has quit [Read error: Connection reset by peer]
16:24
yubrew has joined #ruby
16:24
jottr has quit [Ping timeout: 260 seconds]
16:25
InhalingPixels has quit [Ping timeout: 255 seconds]
16:25
<
nonnatus >
Does RSpec include any simple way of including them? I tried adding the `:type => :controller` parameter but it doesn't seem to have any effect.
16:26
pasties has joined #ruby
16:28
fabrice31 has joined #ruby
16:28
yubrew has quit [Ping timeout: 250 seconds]
16:29
emmesswhy has joined #ruby
16:29
apeiros has quit [Remote host closed the connection]
16:30
charliesome has quit [Quit: zzz]
16:30
apeiros has joined #ruby
16:33
albedoa has quit [Ping timeout: 240 seconds]
16:33
fabrice31 has quit [Ping timeout: 245 seconds]
16:33
seamon has quit [Quit: Zzzzzzz]
16:34
apeiros has quit [Ping timeout: 246 seconds]
16:35
maximski has joined #ruby
16:35
jds has quit [Quit: Connection closed for inactivity]
16:36
amargherio has joined #ruby
16:37
yacks has joined #ruby
16:37
shelling has joined #ruby
16:39
fantazo has joined #ruby
16:42
krisquigley has quit [Remote host closed the connection]
16:42
poulet_a has quit [Ping timeout: 245 seconds]
16:42
fold has joined #ruby
16:42
Ilyas_ has joined #ruby
16:43
nanoyak has joined #ruby
16:44
Ilyas has quit [Ping timeout: 255 seconds]
16:44
<
preyalone >
why does PTY hang on process_stdout.write(data) ?
16:44
tylerkern has quit []
16:44
lemur has joined #ruby
16:45
Takle has quit [Remote host closed the connection]
16:45
<
preyalone >
can PTY.spawn commands have pipes (e.g. PTY.spawn("sed /#/ g/ | cat") ?
16:46
jackz1 has joined #ruby
16:47
mockra has joined #ruby
16:48
<
preyalone >
ah, my command "aspell -c" was waiting for a filename
16:48
Darkchaos has joined #ruby
16:49
Cheezebox has joined #ruby
16:49
lemur has quit [Ping timeout: 240 seconds]
16:50
Lewix has quit [Remote host closed the connection]
16:50
jackz1 has quit [Remote host closed the connection]
16:50
olivier_bK has joined #ruby
16:51
charliesome has joined #ruby
16:51
Lewix has joined #ruby
16:52
jackz has joined #ruby
16:52
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:53
senayar has joined #ruby
16:53
adamski2_ has joined #ruby
16:54
alexju has quit [Remote host closed the connection]
16:54
jackz has quit [Remote host closed the connection]
16:54
soulcake has quit [Ping timeout: 244 seconds]
16:54
alexju has joined #ruby
16:55
charliesome has quit [Client Quit]
16:55
adamski2600 has quit [Ping timeout: 245 seconds]
16:57
maximski has quit []
16:58
relix_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
16:58
shevy has joined #ruby
16:58
alexju has quit [Ping timeout: 240 seconds]
16:58
adamski2_ has quit [Remote host closed the connection]
16:59
<
linduxed >
so what is it in this page indent file that does so that when i do <CR> in normal-mode when writing an arugment list, it indents all the way up to the opening parenthesis?
16:59
nanoyak has quit [Quit: Computer has gone to sleep.]
16:59
adamski2600 has joined #ruby
16:59
<
linduxed >
i think it's line 90, but i'm not sure at all
16:59
<
linduxed >
on top of that, i don't understand that syntax at all
16:59
Dreamer3 has quit [Ping timeout: 240 seconds]
16:59
doev has quit [Ping timeout: 255 seconds]
16:59
adamski2600 has quit [Read error: Connection reset by peer]
16:59
sylvanica has quit [Ping timeout: 250 seconds]
16:59
DEA7TH has joined #ruby
16:59
<
jhass >
more of a #vim question, no?
17:00
DEA7TH has quit [Changing host]
17:00
DEA7TH has joined #ruby
17:00
yfeldblum has joined #ruby
17:00
<
linduxed >
wrong channel
17:00
adamski2600 has joined #ruby
17:00
seamon has joined #ruby
17:00
maximski has joined #ruby
17:00
mockra has quit [Remote host closed the connection]
17:00
soulcake has joined #ruby
17:01
mockra has joined #ruby
17:02
chaos___________ has quit [Ping timeout: 255 seconds]
17:02
cy has joined #ruby
17:03
<
preyalone >
grr, process_stream.write(data) to "aspell" is STILL hanging, don't know why
17:04
Dreamer3 has joined #ruby
17:04
yfeldblum has quit [Ping timeout: 240 seconds]
17:05
mockra has quit [Ping timeout: 240 seconds]
17:05
cpruitt has quit [Quit: cpruitt]
17:06
sysx1000 has quit [Ping timeout: 245 seconds]
17:06
Channel6 has joined #ruby
17:06
kireevco has joined #ruby
17:06
senayar has quit [Remote host closed the connection]
17:07
senayar has joined #ruby
17:07
charliesome has joined #ruby
17:08
apeiros has joined #ruby
17:08
cashnguns has quit [Ping timeout: 250 seconds]
17:09
gregf has quit [Quit: WeeChat 0.4.3]
17:09
apeiros has quit [Remote host closed the connection]
17:09
apeiros has joined #ruby
17:11
senayar has quit [Ping timeout: 260 seconds]
17:12
adamski2600 has quit [Remote host closed the connection]
17:13
adamski2600 has joined #ruby
17:13
fold has quit [Ping timeout: 260 seconds]
17:14
xapak has joined #ruby
17:14
CorpusCallosum has joined #ruby
17:14
<
xapak >
Just out of curiousity, has anybody had segmentation faults coming from ffi-yajl?
17:16
ramin_sed has joined #ruby
17:17
sinkensabe has quit [Remote host closed the connection]
17:17
adamski2600 has quit [Ping timeout: 245 seconds]
17:18
yubrew has joined #ruby
17:19
philcrissman has joined #ruby
17:20
gkagan has joined #ruby
17:20
ringarin has joined #ruby
17:20
xapak has quit [Quit: leaving]
17:21
tylerkern has joined #ruby
17:21
davispuh has joined #ruby
17:21
InhalingPixels has joined #ruby
17:22
yubrew has quit [Ping timeout: 240 seconds]
17:23
michaeldeol has joined #ruby
17:23
philcrissman has quit [Ping timeout: 246 seconds]
17:23
bluOxigen has joined #ruby
17:23
ringarin has quit [Client Quit]
17:24
shevy has quit [Ping timeout: 255 seconds]
17:24
ramin_sed has quit [Remote host closed the connection]
17:24
gkagan has quit [Ping timeout: 240 seconds]
17:25
krisquigley has joined #ruby
17:25
wallerdev has joined #ruby
17:25
InhalingPixels has quit [Ping timeout: 240 seconds]
17:27
cpruitt has joined #ruby
17:27
cpruitt has quit [Client Quit]
17:28
Zenigor has quit [Remote host closed the connection]
17:30
Dreamer3 has quit [Read error: Connection reset by peer]
17:30
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
17:30
JohnBat26 has joined #ruby
17:31
LACP has quit [Ping timeout: 240 seconds]
17:31
noop has quit [Quit: Leaving]
17:31
johndeeer has joined #ruby
17:31
Takle has joined #ruby
17:32
<
johndeeer >
is it possible to program the Nymi with ruby?
17:32
bradleyprice has joined #ruby
17:33
cashnguns has joined #ruby
17:34
johndeeer is now known as johndeer
17:34
britneywright has joined #ruby
17:37
shevy has joined #ruby
17:37
Dreamer3 has joined #ruby
17:37
<
preyalone >
how can i send EOF to a PTY process?
17:37
JoshGlzBrk has joined #ruby
17:37
<
jhass >
try closing the pipe
17:37
lkba has joined #ruby
17:37
skysploit has joined #ruby
17:38
<
preyalone >
jhass: i am :/
17:38
ramin_sed has joined #ruby
17:39
krisquigley has quit [Remote host closed the connection]
17:39
<
preyalone >
bugger, the process's readable stream hangs on .each_line when there's no more input
17:40
ari-_-e has quit [Ping timeout: 260 seconds]
17:40
tlarevo_ has joined #ruby
17:41
InhalingPixels has joined #ruby
17:41
michaeldeol has joined #ruby
17:41
tlarevo has quit [Ping timeout: 245 seconds]
17:45
tlarevo_ has quit [Remote host closed the connection]
17:45
tectonic has joined #ruby
17:47
<
jhass >
use read, each_line waits for a newline
17:47
axsuul has joined #ruby
17:48
Cache_Money has joined #ruby
17:49
maximski has quit []
17:49
Fire-Dragon-DoL has quit [Quit: Leaving.]
17:52
mijicd_ has joined #ruby
17:52
<
preyalone >
read hangs as well
17:52
Akagi201 has quit [Remote host closed the connection]
17:52
<
jhass >
is read_nonblock defined in that thing?
17:53
ramin_sed has quit [Remote host closed the connection]
17:54
HelperW__ has quit [Quit: Computer has gone to sleep.]
17:54
yfeldblum has joined #ruby
17:54
<
preyalone >
quick overview of project goal: take input to ruby program, send to "aspell" subprocess, manipulate aspell output, print back to stdout of ruby program
17:54
ramin_sed has joined #ruby
17:54
HelperW__ has joined #ruby
17:55
<
preyalone >
I've switched to IO.popen, but it's behaving as if skipping over IO.popen("aspell -a", "rw") do |pipe| ... end altogether
17:55
startupality has joined #ruby
17:55
razum2um has quit [Quit: Leaving.]
17:56
kireevco has quit [Quit: Leaving.]
17:58
cashnguns has quit [Ping timeout: 255 seconds]
17:58
ramin_sed has quit [Ping timeout: 250 seconds]
17:58
diegoviola has quit [Ping timeout: 264 seconds]
17:58
yfeldblum has quit [Ping timeout: 240 seconds]
17:59
qmfnp has joined #ruby
17:59
HelperW__ has quit [Ping timeout: 264 seconds]
18:00
Photism has quit [Quit: Leaving]
18:00
<
shevy >
make:
*** No rule to make target `/thread_native.h', needed by `ossl.o'. Stop.
18:00
<
shevy >
in ext/openssl
18:04
patrick99e99 has joined #ruby
18:04
relix has joined #ruby
18:07
hamakn has quit [Remote host closed the connection]
18:07
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
18:08
GeekOnCoffee has quit [Ping timeout: 264 seconds]
18:08
patrick99e99 has quit [Ping timeout: 240 seconds]
18:09
GeekOnCoffee has joined #ruby
18:09
ramin_sed has joined #ruby
18:09
gregf has joined #ruby
18:09
ari-_-e has joined #ruby
18:10
klmlfl has joined #ruby
18:12
Advocation has joined #ruby
18:12
yubrew has joined #ruby
18:13
jackz has joined #ruby
18:14
ramin_sed has quit [Remote host closed the connection]
18:14
ramin_sed has joined #ruby
18:15
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
18:15
senayar has joined #ruby
18:16
<
preyalone >
lol, i was catching ArgumentError and NOPping it
18:16
rubytor has joined #ruby
18:16
echevemaster has joined #ruby
18:16
jackz has quit [Client Quit]
18:17
<
preyalone >
so IO.popen processes can't be read/write mode together? merf.
18:17
yubrew has quit [Ping timeout: 260 seconds]
18:17
fabrice31 has joined #ruby
18:17
starkhalo has quit [Ping timeout: 272 seconds]
18:18
ramin_sed has quit [Ping timeout: 240 seconds]
18:20
maximski has joined #ruby
18:20
starless has quit [Remote host closed the connection]
18:20
gkagan has joined #ruby
18:21
gregf has quit [Quit: WeeChat 0.4.3]
18:22
fabrice31 has quit [Ping timeout: 240 seconds]
18:22
<
preyalone >
switched back to PTY.spawn. hanging on write again.
18:23
diegoviola has joined #ruby
18:24
CorpusCallosum has quit [Ping timeout: 260 seconds]
18:24
Darkchaos has quit [Ping timeout: 240 seconds]
18:25
gkagan has quit [Ping timeout: 240 seconds]
18:25
HelperW__ has joined #ruby
18:27
<
shevy >
hang hang hang the man
18:27
sparrovv has quit [Read error: Connection reset by peer]
18:28
sparrovv has joined #ruby
18:28
Hanmac has quit [Remote host closed the connection]
18:29
Hanmac has joined #ruby
18:29
bitri has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
18:29
tectonic has quit []
18:29
HelperW__ has quit [Ping timeout: 250 seconds]
18:30
ramin_sed has joined #ruby
18:30
<
Mon_Ouie >
preyalone: Sure they can, there's an example right in the documentation
18:30
benzrf has joined #ruby
18:30
<
Mon_Ouie >
IO.popen(%wsed -e s|^|<foo>| -e s&$&;zot;&", "r+") {|f|
18:30
newton has quit [Quit: newton]
18:31
<
preyalone >
can you write to that and read to it?
18:31
<
preyalone >
or just read?
18:31
<
benzrf >
don't you need a delimiter with that %w
18:31
toastynerd has joined #ruby
18:31
<
Mon_Ouie >
Yeah, it's documentation format bug I suspect
18:32
<
Mon_Ouie >
preyalone: r+ is read and write
18:32
nanoyak has joined #ruby
18:32
startupality has quit [Quit: startupality]
18:32
maximski has quit []
18:33
startupality has joined #ruby
18:35
maximski has joined #ruby
18:35
maximski has quit [Client Quit]
18:35
ramin_sed has left #ruby [#ruby]
18:36
georgesmith has quit [Quit: georgesmith]
18:36
georgesmith has joined #ruby
18:37
poulet_a has joined #ruby
18:37
hamakn has joined #ruby
18:37
havenwood has quit [Remote host closed the connection]
18:38
jeaye has quit [Quit: WeeChat 1.0]
18:38
jeaye has joined #ruby
18:39
startupality has quit [Quit: startupality]
18:40
krisquigley has joined #ruby
18:41
andrewjanssen has joined #ruby
18:42
nfk has joined #ruby
18:42
badass[ru] is now known as AlexRussia
18:42
Renich has joined #ruby
18:42
<
Renich >
hey Rubyists
18:42
sepp2k has quit [Read error: Connection reset by peer]
18:43
senayar has quit [Ping timeout: 272 seconds]
18:43
senayar_ has joined #ruby
18:43
<
Renich >
instead of puts, I'd like to put those things in a hash; with names: weekday, day, month-year, etc
18:43
<
Renich >
so I can use a template later
18:43
<
preyalone >
blargh, looks like aspell is dumb, and blocks its stdin reading on its stdout
*being read*
18:43
<
Renich >
in bash, I'd do something like while read a b c; do ...; done
18:44
<
Renich >
< <( 'data1', 'data2', 'data3' )
18:44
mijicd_ has quit [Remote host closed the connection]
18:44
<
Renich >
how can I do this in Ruby?
18:44
<
shevy >
Renich what does this mean? But looks like you wanna use <<
18:44
toastynerd has quit [Remote host closed the connection]
18:44
krisquigley has quit [Ping timeout: 255 seconds]
18:45
<
shevy >
foo = []; foo << %w( data1 data2 data3 )
18:45
<
shevy >
for user input, $stdin.gets.chomp or Readline.readline()
18:45
lemur has joined #ruby
18:45
<
shevy >
for a loop in ruby, the best way is usually to apply .each on your object
18:46
<
Renich >
shevy: well, I just want to end up with the results of the second each in a hash like { weekday: Saturday, day: 23, date: Jan, 2004
18:46
hamakn has quit [Ping timeout: 264 seconds]
18:46
<
GeekOnCoffee >
Renich: you could use collect, and just return what you want in the array in each iteration
18:47
<
Renich >
thanks guys; I'll try both solutions to see which I can figure out
18:47
TheNet has joined #ruby
18:47
asteve has joined #ruby
18:47
<
waxjar >
[:weekday, :day, :date].zip(that_tr_thing).to_h ?
18:47
mockra has joined #ruby
18:48
<
Renich >
waxjar: that seems really cool, hehe
18:48
yfeldblum has joined #ruby
18:49
senayar_ has quit [Ping timeout: 240 seconds]
18:49
bitri has joined #ruby
18:49
lemur has quit [Ping timeout: 240 seconds]
18:50
mijicd_ has joined #ruby
18:50
danijoo has quit [Read error: Connection reset by peer]
18:51
danijoo has joined #ruby
18:51
robustus has quit [Ping timeout: 250 seconds]
18:51
sdwrage has quit [Quit: This computer has gone to sleep]
18:52
yfeldblum has quit [Ping timeout: 240 seconds]
18:52
britneywright has quit [Ping timeout: 246 seconds]
18:52
<
preyalone >
separating my PTY reads and writes into threads helps a lot
18:53
<
preyalone >
aspell is stupid and refuses to take input until its version banner is read
18:53
Spami has joined #ruby
18:54
robustus has joined #ruby
18:55
ptrrr has joined #ruby
18:55
ptrrr has quit [Read error: Connection reset by peer]
18:56
skysploit has quit [Remote host closed the connection]
18:56
britneywright has joined #ruby
18:56
Xuerian has quit [Remote host closed the connection]
18:57
nobitanobi has joined #ruby
18:57
Advocation has quit [Quit: Advocation]
18:57
skysploit has joined #ruby
18:57
skysploit has quit [Changing host]
18:57
skysploit has joined #ruby
18:58
zarul has quit [Ping timeout: 260 seconds]
18:58
toastynerd has joined #ruby
18:58
<
Renich >
I am not getting exactly what I need.
18:58
<
Renich >
almost there, though ;)
19:00
Xuerian has joined #ruby
19:00
toastynerd has quit [Remote host closed the connection]
19:00
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
19:01
<
shevy >
how to check out latest ruby version from source?
19:01
_shrine has quit [Quit: Leaving]
19:01
<
shevy >
perhaps openssl has been fixed
19:01
charliesome has quit [Quit: zzz]
19:02
seamon has quit [Quit: Zzzzzzz]
19:03
Kalni has joined #ruby
19:03
heftig has joined #ruby
19:04
charliesome has joined #ruby
19:04
saladspork has joined #ruby
19:05
niklasb has joined #ruby
19:06
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
19:06
yubrew has joined #ruby
19:06
Kalni is now known as everything
19:06
chipotle has quit [Quit: cya]
19:07
lemur has joined #ruby
19:07
everything is now known as nothing
19:07
philcrissman has joined #ruby
19:07
bitri has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
19:07
nothing has quit [Quit: Leaving]
19:08
Xeago has joined #ruby
19:09
Kalni has joined #ruby
19:09
tylerkern has joined #ruby
19:11
yubrew has quit [Ping timeout: 240 seconds]
19:11
TheNet has quit [Ping timeout: 240 seconds]
19:11
<
preyalone >
finally! I had to use threads, and query read_stream.ready? before each read, or it would block at the end of the process's output
19:11
<
preyalone >
eof was of no help
19:12
OffTheRails has quit [Ping timeout: 250 seconds]
19:12
pothibo has joined #ruby
19:12
philcrissman has quit [Ping timeout: 264 seconds]
19:13
andrewjanssen has quit [Quit: Leaving...]
19:13
yacks has quit [Ping timeout: 260 seconds]
19:15
yacks has joined #ruby
19:15
mockra has quit [Ping timeout: 240 seconds]
19:17
<
preyalone >
no wait, still hangs on reads
19:17
<
preyalone >
eff this, i'll just write to a temp file
19:17
sea_local has quit [Ping timeout: 264 seconds]
19:20
Fusl has quit [Ping timeout: 272 seconds]
19:20
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
19:21
krisquigley has joined #ruby
19:21
gkagan has joined #ruby
19:24
sea_local has joined #ruby
19:24
michaeldeol has joined #ruby
19:26
gkagan has quit [Ping timeout: 240 seconds]
19:26
timonv_ has joined #ruby
19:27
OffTheRails has joined #ruby
19:27
<
jokke >
i get a name error because battery is not known in the module
19:27
<
nobitanobi >
I get a SSL error :P
19:27
<
jokke >
how can i expose it so it is known
19:27
<
jokke >
nobitanobi: yeah its a CACert certificate
19:28
Guest12126 is now known as adam12
19:28
<
nobitanobi >
jokke: Why don't you use GIST?
19:28
Renich has quit [Quit: leaving]
19:28
<
jokke >
because this is my own pastebin and i can easily paste stuff from my editor or the command line. It's just for convenience.
19:29
danijoo has quit [Read error: Connection reset by peer]
19:29
danijoo has joined #ruby
19:29
<
jokke >
i can also "paste" binaries like photos and such, so i basically use it for everything i want to push to the net fast.
19:30
JoshGlzBrk has joined #ruby
19:30
seamon has joined #ruby
19:31
<
jokke >
so how about my question? :)
19:31
sea_local has quit [Ping timeout: 246 seconds]
19:31
JoshGlzBrk has quit [Client Quit]
19:31
timonv_ has quit [Ping timeout: 260 seconds]
19:32
<
shevy >
he was more interested in his own question :>
19:32
<
nobitanobi >
jokke: I don't know how I would do that
19:33
<
jokke >
i admit it looks pretty weird, but it's for a dsl
19:33
saladspork has quit [Quit: saladspork]
19:34
Soda has joined #ruby
19:35
sea_local has joined #ruby
19:35
andrewjanssen has joined #ruby
19:37
<
Mon_Ouie >
jokke: Use methods that take blocks instead of class and def
19:37
<
Mon_Ouie >
define_singleton_method in this case
19:37
startupality has joined #ruby
19:38
Fusl has joined #ruby
19:38
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
19:39
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
19:40
krisquigley has quit [Remote host closed the connection]
19:40
chaos___________ has joined #ruby
19:40
krisquigley has joined #ruby
19:41
<
shevy >
why is ruby using svn and not git?
19:41
lidaaa has joined #ruby
19:41
gsd has joined #ruby
19:41
rubytor has quit [Quit: No Ping reply in 180 seconds.]
19:41
alexherbo2 has quit [Quit: WeeChat 0.4.3]
19:42
rubytor has joined #ruby
19:42
yfeldblum has joined #ruby
19:42
lolmaus__ has quit [Quit: Konversation terminated!]
19:43
sea_local has quit [Ping timeout: 246 seconds]
19:43
brothmars has quit [Ping timeout: 246 seconds]
19:44
Xeago has quit [Remote host closed the connection]
19:44
threesixes has joined #ruby
19:45
<
centrx >
shevy, Probably been using that since before git existed
19:45
startupality has quit [Quit: startupality]
19:45
<
Mon_Ouie >
Probably not before it existed, but at least before it was popular
19:46
<
Mon_Ouie >
(i.e. before github and everyone started to use that)
19:46
<
Mon_Ouie >
I think it used CVS before SVN
19:47
yfeldblum has quit [Ping timeout: 255 seconds]
19:47
sea_local has joined #ruby
19:47
<
Mon_Ouie >
Yeah, it switched in 2006
19:48
tylerkern has joined #ruby
19:50
nanoyak has quit [Quit: Computer has gone to sleep.]
19:50
sinkensabe has joined #ruby
19:50
tylerkern has quit [Client Quit]
19:51
osvico has quit [Ping timeout: 240 seconds]
19:52
rubytor has quit [Quit: No Ping reply in 180 seconds.]
19:52
rubytor has joined #ruby
19:53
bMalum has joined #ruby
19:56
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:56
maroloccio has quit [Quit: WeeChat 0.4.3]
19:57
ari-_-e has quit [Ping timeout: 260 seconds]
19:57
St_Marx has quit [Quit: Ex-Chat]
19:57
senayar has joined #ruby
19:58
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
19:59
startupality has joined #ruby
20:00
claw___ has quit [Read error: No route to host]
20:00
yubrew has joined #ruby
20:00
gsd has joined #ruby
20:00
georgesmith has quit [Quit: georgesmith]
20:02
klmlfl has quit [Quit: klmlfl]
20:02
startupality has quit [Client Quit]
20:03
mfmfmfmfmfmf has joined #ruby
20:05
yubrew has quit [Ping timeout: 272 seconds]
20:05
sinkensabe has quit [Remote host closed the connection]
20:05
mikecmpbll has quit [Ping timeout: 246 seconds]
20:06
fabrice31 has joined #ruby
20:06
startupality has joined #ruby
20:06
adac has joined #ruby
20:06
ari-_-e has joined #ruby
20:06
decoponio has quit [Quit: Leaving...]
20:09
tylerkern has joined #ruby
20:09
sdwrage has joined #ruby
20:10
tylerkern has quit [Client Quit]
20:10
senayar has quit [Remote host closed the connection]
20:11
fabrice31 has quit [Ping timeout: 264 seconds]
20:11
senayar has joined #ruby
20:12
axilla has quit [Ping timeout: 240 seconds]
20:13
michaeldeol has joined #ruby
20:13
andrewjanssen has quit [Quit: Leaving...]
20:15
rubytor has quit [Ping timeout: 260 seconds]
20:15
senayar has quit [Ping timeout: 246 seconds]
20:15
Advocation has joined #ruby
20:17
Jackneill has quit [Quit: Leaving]
20:17
tylerkern has joined #ruby
20:17
Ilyas_ has quit [Read error: Connection reset by peer]
20:18
sdwrage has quit [Quit: This computer has gone to sleep]
20:18
osvico has joined #ruby
20:18
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
20:19
kyb3r_ has joined #ruby
20:20
Advocation has quit [Client Quit]
20:20
mariappp has joined #ruby
20:20
mariappp has quit [Remote host closed the connection]
20:21
Hobogrammer has joined #ruby
20:21
<
shevy >
damn openssl
20:22
gkagan has joined #ruby
20:24
St_Marx has joined #ruby
20:25
gccostabr has joined #ruby
20:25
startupality has quit [Quit: startupality]
20:25
sinkensabe has joined #ruby
20:26
sinkensabe has quit [Remote host closed the connection]
20:26
InhalingPixels has quit [Remote host closed the connection]
20:26
sinkensabe has joined #ruby
20:26
gkagan has quit [Ping timeout: 255 seconds]
20:26
lidaaa has quit [Read error: Connection reset by peer]
20:27
nobitanobi has quit [Remote host closed the connection]
20:28
sepp2k has joined #ruby
20:29
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
20:29
virtualize has quit [Read error: Connection reset by peer]
20:29
lidaaa has joined #ruby
20:29
virtualize has joined #ruby
20:29
Channel6 has quit [Quit: Leaving]
20:33
gccostabr has quit [Quit: ZZZzzz…]
20:33
craigp has quit [Remote host closed the connection]
20:33
Cache_Money has quit [Read error: Connection reset by peer]
20:33
axilla has joined #ruby
20:36
sea_local has quit [Ping timeout: 255 seconds]
20:36
yfeldblum has joined #ruby
20:37
codecop has quit [Remote host closed the connection]
20:37
Nahra has quit [Remote host closed the connection]
20:38
Nahra has joined #ruby
20:38
InhalingPixels has joined #ruby
20:39
dkamioka has joined #ruby
20:41
crdpink has joined #ruby
20:41
yfeldblum has quit [Ping timeout: 246 seconds]
20:41
sea_local has joined #ruby
20:41
crdprink2 has quit [Ping timeout: 255 seconds]
20:42
echevemaster has quit [Remote host closed the connection]
20:42
mijicd_ has quit [Remote host closed the connection]
20:42
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
20:42
starkhalo has joined #ruby
20:42
hamakn has joined #ruby
20:43
bMalum has quit [Quit: bMalum]
20:44
seamon has quit [Quit: Zzzzzzz]
20:44
Cache_Money has joined #ruby
20:45
ixti has quit [Ping timeout: 240 seconds]
20:45
sparrovv has quit [Remote host closed the connection]
20:45
sparrovv has joined #ruby
20:46
j75 has joined #ruby
20:46
jaredrhine_ has quit [Ping timeout: 255 seconds]
20:46
Kalni has quit [Ping timeout: 245 seconds]
20:47
nobitanobi has joined #ruby
20:47
hamakn has quit [Ping timeout: 260 seconds]
20:48
mijicd_ has joined #ruby
20:48
j75 has quit [Quit: WeeChat 0.4.1]
20:49
j75 has joined #ruby
20:50
sparrovv has quit [Ping timeout: 246 seconds]
20:50
j75 has quit [Client Quit]
20:51
dawkirst has quit [Remote host closed the connection]
20:51
Beoran_ has quit [Ping timeout: 255 seconds]
20:52
flowerhack has quit [Remote host closed the connection]
20:52
flowerha_ has joined #ruby
20:53
dkamioka_ has joined #ruby
20:54
yubrew has joined #ruby
20:55
dkamioka has quit [Ping timeout: 260 seconds]
20:55
philcrissman has joined #ruby
20:56
ht__th has quit [Remote host closed the connection]
20:56
dwts has left #ruby [#ruby]
20:56
dkamioka_ has quit [Remote host closed the connection]
20:56
fantazo has quit [Ping timeout: 255 seconds]
20:57
TDJACR has quit [Ping timeout: 264 seconds]
20:58
dkamioka has joined #ruby
20:59
yubrew has quit [Ping timeout: 246 seconds]
20:59
jd1 has joined #ruby
20:59
osvico has quit [Ping timeout: 250 seconds]
20:59
dawkirst has joined #ruby
21:00
philcrissman has quit [Ping timeout: 245 seconds]
21:03
startupality has joined #ruby
21:03
JohnBat26 has quit [Ping timeout: 250 seconds]
21:04
craigp has joined #ruby
21:04
Beoran_ has joined #ruby
21:04
osvico has joined #ruby
21:04
Cache_Money_ has joined #ruby
21:05
Cache_Money has quit [Ping timeout: 272 seconds]
21:05
Cache_Money_ is now known as Cache_Money
21:05
jd1 has quit [Quit: WeeChat 0.4.3]
21:06
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
21:06
siwica has joined #ruby
21:06
KryptonicalAFK is now known as Kyrptonical
21:07
nectarys has joined #ruby
21:10
michaeldeol has joined #ruby
21:10
txdv has quit [Read error: Connection reset by peer]
21:11
txdv has joined #ruby
21:11
JoshGlzBrk has joined #ruby
21:11
starless has joined #ruby
21:11
craigp has quit [Ping timeout: 250 seconds]
21:12
ixti has joined #ruby
21:14
_lexjm has joined #ruby
21:14
bonhoeffer has joined #ruby
21:15
_shrine has joined #ruby
21:16
lele has quit [Ping timeout: 240 seconds]
21:16
Cheezebox has quit [Remote host closed the connection]
21:16
poulet_a has quit [Quit: Quitte]
21:17
ghostmoth has joined #ruby
21:17
ghostmoth has quit [Client Quit]
21:17
jamesfor_ has joined #ruby
21:18
dkamioka has quit [Remote host closed the connection]
21:18
threesixes has quit [Remote host closed the connection]
21:18
lele has joined #ruby
21:18
georgelappies has quit [Remote host closed the connection]
21:18
dkamioka has joined #ruby
21:18
sea_local has quit [Ping timeout: 250 seconds]
21:19
skysploit has quit [Remote host closed the connection]
21:19
sea_local has joined #ruby
21:19
claymore has quit [Quit: Leaving]
21:20
kenneth has joined #ruby
21:20
senayar has joined #ruby
21:22
dkamioka has quit [Ping timeout: 255 seconds]
21:23
kristofferR has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:23
gkagan has joined #ruby
21:23
Azure has quit [Ping timeout: 250 seconds]
21:25
danzilio has joined #ruby
21:25
<
bonhoeffer >
is there an easy way to download all pdfs in a directory on the web?
21:26
<
shevy >
bonhoeffer sure
21:26
<
shevy >
require 'open-uri'
21:26
jamesfor_ has quit []
21:26
<
shevy >
then parse that result
21:26
<
manacit >
you could do it with jquery pretty easily in browser if you wanted
21:27
<
shevy >
fetch all links to the .pdf
21:27
<
shevy >
download them, most easily via all_pdf_files_here.each {|path_to_pdf_file| system 'wget '+path_to_pdf_file }
21:27
<
bonhoeffer >
but how do i query the files and get them in a list?
21:27
gkagan has quit [Ping timeout: 240 seconds]
21:27
<
bonhoeffer >
oh, let me try
21:27
<
shevy >
well you could use .scan() for instance
21:27
<
bonhoeffer >
got it -- will try
21:27
<
shevy >
you get a huge fat string from .read, you have to extract the info ... ok
21:27
<
shevy >
there are probably easier ways too
21:28
<
bonhoeffer >
very appreciative . . . pretty good lead
21:29
sea_local has quit [Ping timeout: 255 seconds]
21:30
Petru has joined #ruby
21:30
tylerkern has joined #ruby
21:31
yfeldblum has joined #ruby
21:31
<
shevy >
I know that because I myself do something similar right now
21:32
<
shevy >
I am writing a script that will download the latest x entries
21:32
<
shevy >
where x is determined on the time of the release, and a comparison against a cached "last updated at dd.mm.yyyy" or something like that
21:32
axilla has quit [Ping timeout: 255 seconds]
21:32
<
shevy >
I got tired of manually searching for new updates
21:33
andrewlio has quit [Quit: Leaving.]
21:35
yfeldblum has quit [Ping timeout: 255 seconds]
21:36
Channel6 has joined #ruby
21:37
emmesswhy has quit [Quit: Leaving]
21:37
yfeldblum has joined #ruby
21:37
sea_local has joined #ruby
21:38
sdouglas has quit [Remote host closed the connection]
21:38
Cheezebox has joined #ruby
21:38
swartwulf has joined #ruby
21:38
Fire-Dragon-DoL has joined #ruby
21:40
_shrine has quit [Ping timeout: 240 seconds]
21:41
C0deMaver1ck has joined #ruby
21:41
bryanhowarth has joined #ruby
21:42
gsd has joined #ruby
21:42
j75 has joined #ruby
21:43
hamakn has joined #ruby
21:43
sinkensabe has quit [Remote host closed the connection]
21:44
danzilio has quit []
21:45
dawkirst has quit [Remote host closed the connection]
21:46
ARCADIVS has quit [Quit: WeeChat 0.4.3]
21:47
hamakn has quit [Ping timeout: 246 seconds]
21:48
jaredrhine has joined #ruby
21:49
<
bonhoeffer >
shevy -- do you have a good way to parse the urls out of the string?
21:49
yubrew has joined #ruby
21:49
ixti has quit [Ping timeout: 250 seconds]
21:50
<
waxjar >
URI.extract
21:51
<
bonhoeffer >
waxjar: thanks
21:51
fantazo has joined #ruby
21:52
TorpedoSkyline has joined #ruby
21:53
yubrew has quit [Ping timeout: 240 seconds]
21:53
brothmars has joined #ruby
21:53
<
shevy >
who wants to test it for me :P
21:54
nobitanobi has quit [Remote host closed the connection]
21:54
fabrice31 has joined #ruby
21:56
krisquigley has quit [Remote host closed the connection]
21:58
danzilio has joined #ruby
21:59
fabrice31 has quit [Ping timeout: 245 seconds]
21:59
nanoyak has joined #ruby
22:00
senayar has quit [Remote host closed the connection]
22:00
moritzs has joined #ruby
22:00
senayar has joined #ruby
22:00
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:03
michaeldeol has joined #ruby
22:03
Xeago has joined #ruby
22:03
rjhunter has joined #ruby
22:04
rjhunter has quit [Client Quit]
22:04
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:04
senayar has quit [Ping timeout: 246 seconds]
22:05
michaeldeol has quit [Client Quit]
22:05
patrick99e99 has joined #ruby
22:06
<
hfp >
Compiling Ruby on a Raspberry Pi....That's going to take a while
22:06
<
hfp >
Why is it that RVM has to compile Ruby every time you want a new version?
22:07
sea_local has quit [Ping timeout: 240 seconds]
22:07
Lexun has joined #ruby
22:08
<
shevy >
it probably has no ways to redistribute binaries for all platforms
22:08
michaeldeol has joined #ruby
22:08
craigp has joined #ruby
22:08
<
hfp >
shevy: I see. Could I save the compiled form and reuse it so I can save the 2 hours of compilation every time?
22:08
danzilio has quit []
22:09
<
shevy >
it probably will keep everything in wherever the directory is where it compiles
22:09
bryanhowarth has quit [Quit: sleep | bryan.howarth@gmail.com | twitter.com/bryanhowarth]
22:09
<
shevy >
somewhere in your home dir I suppose in .rvm or something
22:09
<
shevy >
the binaries should already be there
22:09
<
shevy >
like in bin/ruby
22:10
<
shevy >
linux-vdso.so.1 => (0x00007fff1bd7c000)
22:10
<
shevy >
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007ff6f5b6c000)
22:10
danzilio has joined #ruby
22:10
<
shevy >
that is my ruby binary... it has lots of links to .so shared object files
22:10
<
shevy >
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
22:10
nanoyak has quit [Quit: Computer has gone to sleep.]
22:10
patrick99e99 has quit [Ping timeout: 260 seconds]
22:11
<
shevy >
so you'd only have to find out where they are
22:11
TorpedoSkyline has joined #ruby
22:12
<
hfp >
shevy: Thanks
22:12
moritzs has quit [Ping timeout: 250 seconds]
22:12
Spami has quit [Quit: This computer has gone to sleep]
22:12
danzilio has quit [Client Quit]
22:12
mfmfmfmfmfmf has quit [Remote host closed the connection]
22:13
craigp has quit [Ping timeout: 246 seconds]
22:13
seitensei has quit [Ping timeout: 260 seconds]
22:13
bryanhowarth has joined #ruby
22:16
riotjone_ has joined #ruby
22:16
ixti has joined #ruby
22:18
Xeago has quit [Remote host closed the connection]
22:19
bluOxigen has quit [Ping timeout: 250 seconds]
22:19
riotjones has quit [Ping timeout: 245 seconds]
22:19
WillAmes has quit [Remote host closed the connection]
22:19
WillAmes has joined #ruby
22:20
mijicd_ has quit [Remote host closed the connection]
22:20
mostlybadfly has quit [Quit: Connection closed for inactivity]
22:20
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:21
sdouglas has joined #ruby
22:23
jonathan_alban has joined #ruby
22:23
Mongey is now known as Mongey|rageQuit
22:23
gkagan has joined #ruby
22:24
diegoviola has quit [Read error: Connection reset by peer]
22:25
nobitanobi has joined #ruby
22:28
senayar has joined #ruby
22:28
gkagan has quit [Ping timeout: 260 seconds]
22:29
timonv_ has joined #ruby
22:29
nobitanobi has quit [Ping timeout: 264 seconds]
22:30
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:31
bonhoeffer has quit [Ping timeout: 246 seconds]
22:32
Petru has quit [Quit: Leaving]
22:33
timonv_ has quit [Ping timeout: 245 seconds]
22:35
bthesorceror has joined #ruby
22:36
sdouglas has quit [Remote host closed the connection]
22:36
OrkzRule has quit [Remote host closed the connection]
22:36
sdouglas has joined #ruby
22:37
jonathan_alban has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:37
CoffeeDrivenC0de has joined #ruby
22:38
David_Miller has joined #ruby
22:40
Lexun has quit [Quit: Manjaro-KDE user leaving!]
22:40
Lexun has joined #ruby
22:41
sdouglas has quit [Ping timeout: 264 seconds]
22:41
<
David_Miller >
Can anyone suggest a good approach for parsing messages out of a byte stream given that I might have malformed messages or other garbage in the stream
22:42
Cache_Money has quit [Remote host closed the connection]
22:42
Cache_Money has joined #ruby
22:43
yubrew has joined #ruby
22:43
<
David_Miller >
I am hoping for a gem that makes this kind of thing easy
22:43
starless has quit [Remote host closed the connection]
22:44
senayar has quit [Remote host closed the connection]
22:44
philcrissman has joined #ruby
22:45
starless has joined #ruby
22:46
Cheezebox has quit [Remote host closed the connection]
22:46
jamesfordummies has joined #ruby
22:47
saarinen has joined #ruby
22:47
yubrew has quit [Ping timeout: 240 seconds]
22:47
sea_local has joined #ruby
22:48
philcrissman has quit [Ping timeout: 240 seconds]
22:50
lemur has quit [Remote host closed the connection]
22:50
lemur has joined #ruby
22:50
kirun has quit [Quit: Client exiting]
22:51
jgrevich has joined #ruby
22:51
seitensei has joined #ruby
22:51
Azure has joined #ruby
22:53
sdouglas has joined #ruby
22:54
Cheezebox has joined #ruby
22:54
sea_local has quit [Ping timeout: 246 seconds]
22:54
lemur has quit [Ping timeout: 240 seconds]
22:55
Cheezebox has quit [Remote host closed the connection]
22:55
BraddPitt has quit [Ping timeout: 246 seconds]
22:56
BraddPitt has joined #ruby
22:58
saarinen has quit [Quit: saarinen]
22:58
danijoo has quit [Read error: Connection reset by peer]
22:59
danijoo has joined #ruby
22:59
lidaaa has quit [Ping timeout: 255 seconds]
23:02
Cheezebox has joined #ruby
23:02
cocotton has joined #ruby
23:03
j75 has quit [Quit: WeeChat 0.4.3]
23:05
angusiguess has quit [Ping timeout: 250 seconds]
23:06
craigp has joined #ruby
23:07
phoo1234567 has quit [Remote host closed the connection]
23:08
Lexun has quit [Quit: Manjaro-KDE user leaving!]
23:09
havenwood has joined #ruby
23:10
Deele has quit [Ping timeout: 244 seconds]
23:11
cocotton has quit [Remote host closed the connection]
23:11
craigp has quit [Ping timeout: 260 seconds]
23:11
zarul has joined #ruby
23:11
Akagi201 has joined #ruby
23:11
n_blownapart has joined #ruby
23:12
oso|away has quit [Ping timeout: 255 seconds]
23:13
n_blownapart has quit [Client Quit]
23:14
starless has quit [Quit: Leaving]
23:14
lw has joined #ruby
23:16
starless has joined #ruby
23:16
Akagi201 has quit [Ping timeout: 264 seconds]
23:17
Channel6 has quit [Quit: Leaving]
23:19
hellangel7 has quit [Remote host closed the connection]
23:20
oso|away has joined #ruby
23:20
britneywright has joined #ruby
23:20
Zespre has quit [Quit: leaving]
23:20
oso|away is now known as oso96_2000
23:21
hactor has joined #ruby
23:21
lemur has joined #ruby
23:21
bthesorceror has quit [Quit: bthesorceror]
23:22
crdpink has quit [Ping timeout: 240 seconds]
23:22
crdpink has joined #ruby
23:22
nfk has quit [Quit: yawn]
23:24
gkagan has joined #ruby
23:25
mostlybadfly has joined #ruby
23:26
lw has quit [Quit: s]
23:26
nobitanobi has joined #ruby
23:28
gkagan has quit [Ping timeout: 240 seconds]
23:29
nobitano_ has joined #ruby
23:30
nobitanobi has quit [Ping timeout: 240 seconds]
23:31
angusiguess has joined #ruby
23:32
starless has quit [Quit: Leaving]
23:32
CoffeeDrivenC0d1 has joined #ruby
23:32
CoffeeDrivenC0d1 has left #ruby [#ruby]
23:33
zenojis has quit [Ping timeout: 240 seconds]
23:34
StephenA1 has joined #ruby
23:35
sdouglas has quit [Quit: Leaving...]
23:35
CoffeeDrivenC0de has quit [Ping timeout: 272 seconds]
23:35
cocotton has joined #ruby
23:36
mailo has joined #ruby
23:36
zenojis has joined #ruby
23:37
cocotton has quit [Remote host closed the connection]
23:37
angusiguess has quit [Ping timeout: 264 seconds]
23:37
yubrew has joined #ruby
23:38
Boohbah has quit [Ping timeout: 264 seconds]
23:38
roolo has quit [Ping timeout: 245 seconds]
23:39
<
havenwood >
anyone have any thoughts on using a ThreadGroup instead of a simple Array to store Threads for a ThreadPool?
23:39
siwica has quit [Quit: siwica]
23:39
Boohbah has joined #ruby
23:39
bthesorceror has joined #ruby
23:39
sea_local has joined #ruby
23:39
<
havenwood >
seems to have wins to me, so looking for any downside
23:40
lw has joined #ruby
23:41
zenojis has quit [Ping timeout: 240 seconds]
23:41
yubrew has quit [Ping timeout: 246 seconds]
23:42
<
havenwood >
only thing i see is the slower access speed to ThreadGroup#list
23:43
fabrice31 has joined #ruby
23:44
timonv_ has joined #ruby
23:44
L8D has joined #ruby
23:44
<
L8D >
What's the destructive version of concat?
23:44
zenojis has joined #ruby
23:44
sinkensabe has joined #ruby
23:44
adac has quit [Ping timeout: 272 seconds]
23:44
<
L8D >
Like .contact!
23:44
InhalingPixels has quit [Remote host closed the connection]
23:45
crdprink2 has joined #ruby
23:46
crdpink has quit [Ping timeout: 255 seconds]
23:46
StephenA1 has quit [Quit: StephenA1]
23:46
nonnatus has quit [Ping timeout: 260 seconds]
23:46
dgutierrez1287 has quit [Ping timeout: 245 seconds]
23:47
InhalingPixels has joined #ruby
23:47
duncannz has joined #ruby
23:48
<
havenwood >
L8D: Array#concat does already modify the receiver, so there isn't a variant with a bang that modifies the receiver, it already does
23:48
<
havenwood >
L8D: Array#+ doesn't.
23:48
fabrice31 has quit [Ping timeout: 255 seconds]
23:48
<
havenwood >
>> a = [1]; a + [2]; a
23:48
<
havenwood >
>> a = [1]; a.concat [2]; a
23:48
timonv_ has quit [Ping timeout: 255 seconds]
23:48
zenojis has quit [Ping timeout: 240 seconds]
23:49
apeiros has quit [Remote host closed the connection]
23:49
<
L8D >
havenwood: oh thanks
23:49
sinkensabe has quit [Ping timeout: 260 seconds]
23:49
apeiros has joined #ruby
23:49
_cpt_yossarian_ has joined #ruby
23:50
niklasb has quit [Ping timeout: 272 seconds]
23:51
spicerack has joined #ruby
23:52
zenojis has joined #ruby
23:52
sea_local has quit [Ping timeout: 246 seconds]
23:52
cpt_yossarian has quit [Ping timeout: 246 seconds]
23:52
nobitano_ has quit [Remote host closed the connection]
23:52
spider-mario has quit [Remote host closed the connection]
23:53
craigp has joined #ruby
23:54
<
L8D >
Does ruby have anything like Python's CMD module?
23:55
sea_local has joined #ruby
23:55
ixti has quit [Quit: WeeChat 0.4.3]
23:56
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
23:56
zenojis has quit [Ping timeout: 240 seconds]
23:57
lemur has quit [Ping timeout: 260 seconds]
23:58
chipotle has joined #ruby
23:58
<
havenwood >
L8D: What does cmd do?
23:58
Cheezebox has quit [Remote host closed the connection]
23:59
senayar has joined #ruby