havenwood changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.9: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ http://irclog.whitequark.org/ruby/
GnuYawk has quit [Read error: Connection reset by peer]
ChiefAlexander has quit [Remote host closed the connection]
<graft> how the hell can my argument mutate from a hash to an array across a method call?
blackmesa has quit [Ping timeout: 276 seconds]
<dfockler> It could be that the to_s representation of the Tempfile args is a hash and not an array
<graft> all of this is within Rack/ruby base, none of this is my code, so it ought to work anyway
bobbycvi has quit [Client Quit]
whathappens has joined #ruby
<graft> nah, the call is literally Tempfile.new(["RackMultipart", file.extname(filename)])
<graft> and then within Tempfile#initialize(basename=""...), if you report basename.class.name it is Hash
<graft> so obviously Tempfile.new is not what i think it is
<akkad> pwd
ramfjord has joined #ruby
bobbycvi has joined #ruby
dfockler has quit [Quit: Leaving]
karmatr0n has quit [Ping timeout: 240 seconds]
johnmilton has joined #ruby
shinnya has joined #ruby
freerobby has quit [Quit: Leaving.]
shazaum_ has joined #ruby
karmatr0n has joined #ruby
postmodern has joined #ruby
freerobby has joined #ruby
diegoviola has quit [Quit: WeeChat 1.4]
rcvalle has quit [Quit: rcvalle]
pawnbox has joined #ruby
johnmilton has quit [Ping timeout: 244 seconds]
stardiviner has joined #ruby
hxegon is now known as hxegon_afk
levensailor has joined #ruby
benlieb has quit [Quit: benlieb]
<levensailor> hey guys.. figured i would try here for reading recommendations for learning ruby on rails ?
vdamewood has joined #ruby
pawnbox has quit [Ping timeout: 252 seconds]
<weaksauce> Radar's book is a good one
whathappens has quit [Remote host closed the connection]
<weaksauce> !r4ia
<weaksauce> !r4a
<weaksauce> nevermind. I guess that only works in the rails channel
<weaksauce> rails 4 in action
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blackmes1 has quit [Ping timeout: 252 seconds]
<baweaver> !r4ia
<baweaver> ?r4ia
<baweaver> nope, bots not here for that
<levensailor> of course the author of the book would be in the irc channel
<baweaver> ?rails
* baweaver sighs
<baweaver> #RubyOnRails
jenrzzz has quit [Ping timeout: 260 seconds]
<levensailor> i'm learning the joys of REST APIs and right now i'm doing php and curl
<baweaver> tends to be better for rails specific questions
<levensailor> and database integration
emilford has joined #ruby
<levensailor> and it seems like ruby on rails is a good full solution
<weaksauce> baweaver I guess #ruby has a different bot
<baweaver> it does
arescorpio has joined #ruby
djbkd has quit [Remote host closed the connection]
<weaksauce> levensailor yeah rails is really nice for things
jenrzzz has joined #ruby
<weaksauce> much nicer than php imo
davedev2_ has joined #ruby
davedev24 has quit [Ping timeout: 244 seconds]
zacstewart has joined #ruby
stannard has quit [Remote host closed the connection]
FooMunki has joined #ruby
<Radar> Hi what
karmatr0n has quit [Ping timeout: 246 seconds]
<Radar> ?rails
smathy has joined #ruby
Vile` has quit [Ping timeout: 240 seconds]
<Radar> levensailor: Hello :)
<Radar> levensailor: Do you have much Rails experience?
<levensailor> hey Radar, just bought your book i think
smathy_afk has quit [Ping timeout: 244 seconds]
<Radar> :O thanks!
<Radar> Or Ruby experience for that matter?
<levensailor> mostly java, html.. some c, some php
<levensailor> some bash scripting and python
<levensailor> they don't teach ruby in schools :o
davedev2_ has quit [Read error: Connection reset by peer]
<levensailor> but they teach assembly language
<baweaver> Python will be the safest parallel.
davedev24 has joined #ruby
IrishGringo has joined #ruby
<baweaver> Eloquent Ruby and Effective Ruby are great reads for learning to do Ruby like a Ruby programmer
<levensailor> if universities really wanted its graduates to make good livings they would require a year of advanced excel
x77686d has quit [Quit: x77686d]
S_Waqas has joined #ruby
<baweaver> levensailor so they can excel in life?
<levensailor> lol
rkazak has joined #ruby
<levensailor> word
nullwarp has quit [Quit: ZNC - http://znc.in]
ur5us has quit [Remote host closed the connection]
nullwarp has joined #ruby
GodFather has joined #ruby
Vile` has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
emilford has quit [Ping timeout: 260 seconds]
<Radar> levensailor: Ok, I think you'll be able to pick up Ruby quickly if you know Python already. If you've got another few bucks to spare, then I can recommend https://www.manning.com/books/the-well-grounded-rubyist-second-edition as well
FooMunki has quit [Quit: FooMunki]
patrick_star_2 has quit [Ping timeout: 240 seconds]
ropeney has joined #ruby
tax has joined #ruby
diegoaguilar has joined #ruby
statelesscode has quit [Quit: statelesscode]
brent__ has quit [Quit: Connection closed for inactivity]
idefine has joined #ruby
Vile` has quit [Ping timeout: 244 seconds]
torandu has quit [Ping timeout: 244 seconds]
bronson has joined #ruby
torandu has joined #ruby
levensailor has quit [Remote host closed the connection]
Vile` has joined #ruby
<sharkman> if i log onto ipchicken with mechanize, then i turn a proxy on and log onto ipchicken with mechanze, i see the same IP address
<sharkman> how does ipchicken save my info?
ta_ has joined #ruby
idefine has quit [Ping timeout: 252 seconds]
drusepth has quit [Ping timeout: 260 seconds]
mnrmnaugh has joined #ruby
drusepth has joined #ruby
stannard has joined #ruby
S_Waqas has quit [Ping timeout: 276 seconds]
karmatr0n has joined #ruby
dudepare has joined #ruby
stoodfarback has joined #ruby
ta_ has quit [Ping timeout: 260 seconds]
stannard has quit [Ping timeout: 244 seconds]
djcp has joined #ruby
drusepth has quit [Ping timeout: 276 seconds]
djcp has quit [Client Quit]
northrup has joined #ruby
drusepth has joined #ruby
ur5us has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
moeabdol has joined #ruby
zacstewart has quit [Ping timeout: 246 seconds]
cdg has quit [Remote host closed the connection]
jhack has joined #ruby
solocshaw has quit [Ping timeout: 276 seconds]
moeabdol has quit [Ping timeout: 250 seconds]
solocshaw has joined #ruby
<Radar> My guess is that mechanize isn't configured to use the proxy
sneakerhax has quit [Ping timeout: 276 seconds]
diegoaguilar has quit [Remote host closed the connection]
<sharkman> radar, it is
<sharkman> it works because if i turn the proxy on first and connect then ipchicken gives the proxy IP
<sharkman> and if i disconnect and connect a 2nd time then it STILL gives the proxy IP
<sharkman> so somewhere info is getting stored. but i am also clearing the mechanize cookies
Arcaire_ has quit [Quit: wew lad]
Arcaire has joined #ruby
karmatr0n has quit [Ping timeout: 240 seconds]
davedev24 has quit [Remote host closed the connection]
Ebok has joined #ruby
<Radar> no idea
drusepth_ has joined #ruby
kies has joined #ruby
drusepth has quit [Quit: Reconnecting]
patrick_star has joined #ruby
Gasher has quit [Quit: Leaving]
drusepth_ is now known as drusepth
silentpost has quit [Ping timeout: 246 seconds]
aghalarp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
eljimador has joined #ruby
Devalo has joined #ruby
eljimmy has quit [Ping timeout: 244 seconds]
karapetyan has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
Devalo has quit [Ping timeout: 250 seconds]
pawnbox has joined #ruby
aaeron has joined #ruby
kobain has quit [Ping timeout: 260 seconds]
blaxter has quit [Read error: Connection reset by peer]
JakFrist has joined #ruby
aaeron has quit [Client Quit]
KensoDev has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Es0teric has joined #ruby
S_Waqas has joined #ruby
karapetyan has quit [Ping timeout: 244 seconds]
whathappens has joined #ruby
kobain has joined #ruby
IrishGringo has quit [Ping timeout: 250 seconds]
benlieb has joined #ruby
pawnbox has quit [Ping timeout: 244 seconds]
drusepth has quit [Ping timeout: 246 seconds]
flashpoint9 has joined #ruby
Yiota has joined #ruby
drusepth has joined #ruby
jhack has quit [Quit: jhack]
godzillaenlacasa has quit [Quit: ZZZZZ....]
matp has quit [Ping timeout: 276 seconds]
choke has joined #ruby
Xeago_ has joined #ruby
sdwrage has quit [Quit: Leaving]
Xeago_ has quit [Ping timeout: 260 seconds]
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
benlieb has quit [Quit: benlieb]
nando293921 has quit [Ping timeout: 250 seconds]
<sharkman> does mechanize cache pages
Elvin has joined #ruby
chipotle has joined #ruby
bronson has quit [Remote host closed the connection]
Madplatypus has quit [Quit: Connection closed for inactivity]
devbug has joined #ruby
<sharkman> mechanize is caching info somehow
<Radar> iirc, it doesn't do that
GnuYawk has joined #ruby
GnuYawk has quit [Changing host]
GnuYawk has joined #ruby
whathappens has quit [Remote host closed the connection]
mjuszczak has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
ta_ has joined #ruby
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stannard has joined #ruby
nerium has quit [Quit: nerium]
ta_ has quit [Ping timeout: 260 seconds]
thesheff17 has joined #ruby
emilford has joined #ruby
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
IrishGringo has joined #ruby
matp has joined #ruby
cpup has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
TomyLobo has quit [Ping timeout: 252 seconds]
devbug has quit [Ping timeout: 252 seconds]
cpup has joined #ruby
shazaum_ has quit [Quit: Leaving]
GodFather has quit [Ping timeout: 260 seconds]
ismaelga has quit [Remote host closed the connection]
rojomisin has joined #ruby
karmatr0n has joined #ruby
SilverKey has joined #ruby
<zacts> hi rubyists
JakFrist has joined #ruby
benlieb has joined #ruby
<sharkman> hi zacts
<sharkman> what up
<zacts> hey,, I'm just getting through this Text Processing with Ruby book by pragmatic
<dudepare> zacks: sup? this channel is quiet.
davedev24 has joined #ruby
<sharkman> i remember a few months ago people talked i here more!
<zacts> pragmatic press
benlieb has quit [Client Quit]
jenrzzz has quit [Ping timeout: 260 seconds]
zeroDivisible has quit [Ping timeout: 260 seconds]
stannard has quit [Remote host closed the connection]
<dudepare> zacts: good for you. here's the author's blog: https://robm.me.uk/
<zacts> cool! :-)
<zacts> I'm about to learn the basics of parsing HTML with the nokogiri gem
pawnbox has joined #ruby
arlek has quit [Ping timeout: 244 seconds]
davedev24 has quit [Ping timeout: 276 seconds]
Cohedrin_ has joined #ruby
marsjaninzmarsa has quit [Quit: ZNC 1.7.x-git-487-cbf5c38 - http://znc.in]
devbug has joined #ruby
NightMonkey has quit [Ping timeout: 264 seconds]
vinleod has joined #ruby
vdamewood has quit [Disconnected by services]
vinleod is now known as vdamewood
Cohedrin has quit [Ping timeout: 276 seconds]
DefV_ has quit [Ping timeout: 252 seconds]
rbennace_ has joined #ruby
DefV has joined #ruby
marsjaninzmarsa has joined #ruby
marsjaninzmarsa has quit [Excess Flood]
pawnbox has quit [Ping timeout: 276 seconds]
marsjaninzmarsa has joined #ruby
IrishGringo has quit [Ping timeout: 276 seconds]
rojomisin has quit [Ping timeout: 252 seconds]
choke has quit [Ping timeout: 250 seconds]
htmldrum has quit [Ping timeout: 250 seconds]
rbennacer has quit [Ping timeout: 252 seconds]
mg^ has quit [Ping timeout: 246 seconds]
zacstewart has joined #ruby
NightMonkey has joined #ruby
benlieb has joined #ruby
emilford has quit [Ping timeout: 260 seconds]
karmatr0n has quit [Ping timeout: 260 seconds]
xlegoman has quit [Quit: xlegoman]
mg^ has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
statelesscode has joined #ruby
nanoz has joined #ruby
zacstewart has quit [Ping timeout: 244 seconds]
htmldrum has joined #ruby
flashpoint9 has joined #ruby
Guest38 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blur3d has joined #ruby
fedexo has joined #ruby
mozzarel1 is now known as mozzarella
devbug has quit [Quit: ZZZzzz…]
Xeago_ has joined #ruby
s00pcan has quit [Remote host closed the connection]
CloCkWeRX has quit [Ping timeout: 260 seconds]
weemsledeux has joined #ruby
s00pcan has joined #ruby
ismaelga has joined #ruby
symm- has quit [Ping timeout: 240 seconds]
Rixius has quit [Ping timeout: 244 seconds]
flashpoint9 has quit [Remote host closed the connection]
Xeago_ has quit [Ping timeout: 250 seconds]
adgtl_ is now known as adgtl
adgtl has quit [Changing host]
adgtl has joined #ruby
stardiviner has quit [Ping timeout: 244 seconds]
<sharkman> wow brutal
<sharkman> i cant figure out what mechanize is dong
Elvin has quit [Quit: Textual IRC Client: www.textualapp.com]
ismaelga has quit [Ping timeout: 276 seconds]
Rixius has joined #ruby
zenguy_pc2 has quit [Ping timeout: 276 seconds]
zenguy_pc has joined #ruby
<al2o3-cr> sharkman: whats up?
<sharkman> hi al2o3-cr how are you
SilverKey has quit [Quit: Halted.]
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
<sharkman> i scrape ipchicken with mechanze and get an IP address, then i disconnect from a proxy and scrape ipchicken again and get the SAME ip addres
<al2o3-cr> let me check
BtcBen has left #ruby [#ruby]
<al2o3-cr> sharkman: show code
<al2o3-cr> make a gist
borodin has joined #ruby
LoneHerm_ has joined #ruby
<sharkman> this is part of the code, you wouldnt be able to recreate it since i have port forwarding set up on my computer to a server
moeabdol has joined #ruby
<Arcaire> Why wouldn't you just net::http.get icanhazip.com or something
duderonomy has joined #ruby
<sharkman> cause i will need to fill in forms
<Arcaire> ah okay so you're using it lter
<Arcaire> later *
<sharkman> yup. im just trying to set it up now
<al2o3-cr> TCPSocket::socks_server, where's this from?
<sharkman> socksify gem
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<al2o3-cr> sharkman: why don't use set the proxy on mechanize agent itself?
<sharkman> id like to. but mechanze does not support socks proxy
<al2o3-cr> ah, socks thought was http
<al2o3-cr> let me check
<sharkman> okay thanks
mnrmnaugh has quit [Ping timeout: 250 seconds]
lxsameer has quit [Ping timeout: 276 seconds]
stardiviner has joined #ruby
moeabdol has quit [Ping timeout: 250 seconds]
dikaio has joined #ruby
<sharkman> i kind of want to find a way to change Mechanize so it can accept a socks proxy, but that is probably above my skill level. i cant even figure out this much simpler problem
<al2o3-cr> just tried too, same ip address
chosen1 has quit [Quit: Leaving]
<al2o3-cr> give me minute not to familiar with these gems
ta_ has joined #ruby
rbennace_ has quit [Read error: Connection reset by peer]
tildes_ has joined #ruby
SilverKey has joined #ruby
<sharkman> okay thanks i appreciate it
<sharkman> i notice that if you scrape http://www.ipchicken.com the first time, and then http://ipchicken.com the second time, it changes the IP
rubyaw has quit [Quit: Leaving...]
rbennacer has joined #ruby
yqt has quit [Ping timeout: 276 seconds]
nanoz has quit [Read error: Connection reset by peer]
<sharkman> this code also works, using nokogiri
berserk_ren has joined #ruby
<sharkman> so i guess mechanize is caching the page somewhere? even though i start different instances. i dont see anything in the documentation about this
LoneHerm_ has quit [Remote host closed the connection]
<Arcaire> It's honestly probably not caching the page.
<Arcaire> Primarily because there's a bunch of gems specifically to enable Mechanize caching.
<Arcaire> So given their existence I'd venture that it doesn't do it by default.
<al2o3-cr> it doesn't cache
tildes_ has quit [Ping timeout: 276 seconds]
ta_ has quit [Ping timeout: 276 seconds]
braincrash has quit [Quit: bye bye]
tildes_ has joined #ruby
CloCkWeRX has joined #ruby
<sharkman> yeah good pont
<sharkman> point
<sharkman> yup i am stumped!
zast has joined #ruby
binaryplease1 has joined #ruby
saneax is now known as saneax_AFK
htmldrum has quit [Ping timeout: 260 seconds]
kobain has quit [Read error: Connection reset by peer]
smathy is now known as smathy_afk
pawnbox has joined #ruby
kobain has joined #ruby
yfeldblum has quit [Remote host closed the connection]
<sharkman> if i add the command "sleep(6)" in between scrapes than it gets different IP addreses
<sharkman> but if its just sleep(4) then it still gets the same IP
binaryplease has quit [Ping timeout: 276 seconds]
braincrash has joined #ruby
htmldrum has joined #ruby
Limix has joined #ruby
stannard has joined #ruby
agent_white has joined #ruby
Caerus|Away is now known as Caerus
d0lph1n98 has joined #ruby
<sharkman> any ideas al2o3-cr
<agent_white> Evenin.
<Caerus> hello #ruby :)
pawnbox has quit [Ping timeout: 244 seconds]
stannard has quit [Ping timeout: 252 seconds]
<al2o3-cr> sharkman: been messing about for 15 minutes, still no further in why this is happening :(
<sharkman> okay thank you
<sharkman> its a tricky issue right
binaryplease1 is now known as binaryplease
<al2o3-cr> upto now yes :p
<sharkman> :)
karmatr0n has joined #ruby
yfeldblum has joined #ruby
d0lph1n98 has quit [Ping timeout: 260 seconds]
statelesscode has quit [Quit: statelesscode]
GnuYawk has quit [Read error: Connection reset by peer]
d0lph1n98 has joined #ruby
gix- has quit [Ping timeout: 276 seconds]
x77686d has joined #ruby
gix has joined #ruby
Vile` has quit [Ping timeout: 252 seconds]
smathy_afk is now known as smathy
ismaelga has joined #ruby
brendan- has quit [Ping timeout: 276 seconds]
<zacts> is mechanize inspired by perl's WWW::Mechanize?
segy_ has joined #ruby
Xeago_ has joined #ruby
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
segy has quit [Ping timeout: 260 seconds]
segy_ is now known as segy
<sharkman> i dont know zacts
mnrmnaugh has joined #ruby
<zacts> hrm... does mechanize automate navigating web pages?
<zacts> if so it's probably a similar lib
<zacts> (which I'll be learning about soon)
moeabdol has joined #ruby
Xeago_ has quit [Ping timeout: 276 seconds]
segy_ has joined #ruby
<smathy> ...inspired at least in name.
auzty has joined #ruby
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<zacts> heh
<zacts> :-)
<zacts> lol
segy has quit [Ping timeout: 240 seconds]
segy_ is now known as segy
<zacts> "Acknowledgments
<zacts> This library was heavily influenced by its namesake in the Perl world. A big thanks goes to Andy Lester, the author of the original Perl module WWW::Mechanize which is available here. Ruby Mechanize would not be around without you!
dikaio has joined #ruby
<zacts> ^ so there ya go
<sharkman> yup
tildes_ has quit [Ping timeout: 240 seconds]
karmatr0n has quit [Ping timeout: 260 seconds]
BSaboia has joined #ruby
BSaboia has quit [Client Quit]
pawnbox has joined #ruby
htmldrum has quit [Ping timeout: 250 seconds]
berserk_ren has quit [Ping timeout: 260 seconds]
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
htmldrum has joined #ruby
tildes_ has joined #ruby
S_Waqas has quit [Ping timeout: 260 seconds]
nando293921 has joined #ruby
S_Waqas has joined #ruby
pawnbox has quit [Ping timeout: 250 seconds]
mnrmnaugh is now known as Maturin
troys has joined #ruby
pawnbox has joined #ruby
BSaboia has joined #ruby
emilford has joined #ruby
hogetaro has quit [Quit: Leaving...]
troys_ has quit [Ping timeout: 240 seconds]
BrunoSaboia has joined #ruby
BSaboia has quit [Ping timeout: 240 seconds]
ta_ has joined #ruby
arescorpio has quit [Quit: Leaving.]
Coldblackice has joined #ruby
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rodya_ has joined #ruby
yfeldblum has quit [Ping timeout: 260 seconds]
igam has joined #ruby
ta_ has quit [Ping timeout: 260 seconds]
Spami has joined #ruby
govg has joined #ruby
igam has quit [Ping timeout: 250 seconds]
Devalo has joined #ruby
Ebok has quit [Quit: This computer has gone to sleep]
<al2o3-cr> sharkman: hmm.. definitely a mechanize issue: https://gist.github.com/gr33n7007h/2c3cb18798e836067cc26a936253f1f7
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
zacstewart has joined #ruby
hostess has quit [Quit: No Ping reply in 180 seconds.]
Ikzi has quit [Quit: No Ping reply in 180 seconds.]
Y_Ichiro_ has quit [Quit: No Ping reply in 180 seconds.]
constantinexvi has quit [Ping timeout: 246 seconds]
rideh has quit [Ping timeout: 240 seconds]
ceej_ has quit [Ping timeout: 240 seconds]
cschneid_ has quit [Ping timeout: 250 seconds]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cybrside has quit [Ping timeout: 240 seconds]
Y_Ichiro has joined #ruby
zacstewart has quit [Ping timeout: 260 seconds]
rbennacer has quit [Remote host closed the connection]
Ikri has joined #ruby
Fire-Dragon-DoL has quit [Remote host closed the connection]
Fire-Dragon-DoL has joined #ruby
hinbody has quit [Ping timeout: 250 seconds]
ceej has joined #ruby
hostess has joined #ruby
rideh has joined #ruby
cschneid has joined #ruby
troys has quit [Quit: Bye]
constantinexvi has joined #ruby
Yiota has joined #ruby
vdamewood has quit [Quit: Life beckons.]
cybrside has joined #ruby
x77686d has quit [Ping timeout: 260 seconds]
emilford has quit [Ping timeout: 260 seconds]
thesheff17 has quit [Quit: Connection closed for inactivity]
Yiota has quit [Client Quit]
moeabdol has quit [Quit: WeeChat 1.4]
<al2o3-cr> sharkman: running without debug always goes through the proxy. running it with debug (hit and miss) sometime it works sometime it doesn't. https://gist.github.com/gr33n7007h/550d959841c2e70adf4e487ce4939733
<al2o3-cr> so, i'm clueless to why this happens :(
BrunoSaboia has quit [Ping timeout: 240 seconds]
SparkMasterTape has joined #ruby
ramfjord has quit [Ping timeout: 276 seconds]
govg has quit [Ping timeout: 252 seconds]
Xeago_ has joined #ruby
amclain has quit [Quit: Leaving]
rojomisin has joined #ruby
The_Phoenix has quit [Read error: Connection reset by peer]
Dimik has quit [Ping timeout: 260 seconds]
<sharkman> back
roadt_ has joined #ruby
<sharkman> al2o3-cr those liks you sent me dont open for me
tildes_ has quit [Ping timeout: 276 seconds]
<al2o3-cr> you have to use the #start method with a block
<al2o3-cr> sharkman: you can't open the link?
Xeago_ has quit [Ping timeout: 240 seconds]
<sharkman> i can open the last one, the others didnt open. but this last one did
<al2o3-cr> sharkman: that works
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<sharkman> nice code
<sharkman> so if you put it in blocks then it works? thats weird right. like a bug in mechanize?
<al2o3-cr> maybe
S_Waqas has quit [Ping timeout: 246 seconds]
<al2o3-cr> we should have a !next like #archlinux :P
saneax_AFK is now known as saneax
dikaio has joined #ruby
Xiti has quit [Quit: Xiti]
<Radar> ?next
<Radar> al2o3-cr: what does it do in that channel?
<al2o3-cr> Another satisfied customer! NEXT!
S_Waqas has joined #ruby
<Radar> right
Dimik has joined #ruby
<sharkman> :)
<sharkman> thank you for your help al2o3-cr!
<al2o3-cr> np
Caerus is now known as Caerus|Away
lxsameer has joined #ruby
stoodfarback has quit [Quit: WeeChat 1.4]
Limix has quit [Quit: Limix]
<zacts> nokogiri is cool
tildes_ has joined #ruby
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
S_Waqas has quit [Ping timeout: 276 seconds]
duncannz has joined #ruby
<al2o3-cr> it's also a japanese handsaw :P
duncannz has quit [Max SendQ exceeded]
drusepth has quit [Ping timeout: 244 seconds]
duncannz has joined #ruby
Intel_ has quit [Quit: Leaving]
<zacts> heh, that's cool
Rodya_ has quit [Quit: Leaving...]
duncannz has quit [Client Quit]
KensoDev has joined #ruby
yfeldblum has joined #ruby
bernsie has joined #ruby
bernsie has left #ruby [#ruby]
ta_ has joined #ruby
djbkd has joined #ruby
ta_ has quit [Ping timeout: 276 seconds]
d0lph1n98 has quit [Ping timeout: 244 seconds]
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ruby-lang207 has joined #ruby
karmatr0n has joined #ruby
ruby-lang207 has left #ruby [#ruby]
rippa has joined #ruby
Devalo has quit [Remote host closed the connection]
noService has joined #ruby
SilverKey has quit [Quit: Halted.]
sauvin has joined #ruby
htmldrum has quit [Ping timeout: 240 seconds]
dafull97 has quit [Quit: ZNC 1.6.2 - http://znc.in]
zast has quit [Remote host closed the connection]
htmldrum has joined #ruby
last_staff has joined #ruby
PedramT has joined #ruby
PedramT has quit [Remote host closed the connection]
PedramT has joined #ruby
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Moosashi has joined #ruby
whathappens has joined #ruby
duncannz has joined #ruby
isxek has joined #ruby
freerobby has quit [Quit: Leaving.]
dikaio has joined #ruby
KensoDev has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tildes_ has quit [Ping timeout: 260 seconds]
Xeago_ has joined #ruby
djbkd has quit []
heftig_ is now known as heftig
karmatr0n has quit [Ping timeout: 240 seconds]
Macaveli has joined #ruby
aghalarp has joined #ruby
Macaveli has quit [Client Quit]
ruby[bot] has joined #ruby
Xeago_ has quit [Ping timeout: 250 seconds]
rojomisin has quit [Ping timeout: 240 seconds]
pawnbox has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 250 seconds]
pawnbox has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
moeabdol has joined #ruby
Es0teric has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
aghalarp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
solars has joined #ruby
SparkMasterTape has quit [Remote host closed the connection]
whathappens has quit [Remote host closed the connection]
nippysaurus has joined #ruby
polysics has quit [Ping timeout: 276 seconds]
d0lph1n98 has joined #ruby
bluOxigen_ has joined #ruby
bluOxigen has quit [Ping timeout: 276 seconds]
zzak has quit [Remote host closed the connection]
craysiii has joined #ruby
zzak has joined #ruby
bobbycvi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<craysiii> I'm trying to set up Jenkins CI on a VPS for a Rails project. Every time i try to run a build, when bundler is invoked, I keep getting an error that states Could not find gem 'rails_12factor' in any of the gem sources listed in your Gemfile or available on this machine. (Bundler::GemNotFound)
nippysaurus has quit [Quit: Page closed]
<craysiii> i am able to install these gems through gem install on the command line, but for some reason when Jenkins is doing the work it says they don't exist according to my Gemfile sources.
Macaveli has joined #ruby
tref has joined #ruby
whathappens has joined #ruby
<craysiii> any ideas?
ponga has joined #ruby
blur3d has quit [Quit: blur3d]
whathappens has quit [Remote host closed the connection]
<matt_d> craysiii: perhaps bundler is not being invoked with any production env vars set, your gemfile has the rails_12factor gem under the production group
PedramT has quit [Remote host closed the connection]
<craysiii> you're right that i am missing some environment variables related to my app
duncannz has quit [Remote host closed the connection]
PedramT has joined #ruby
grenierm has joined #ruby
<craysiii> but why would that stop bundler from finding gems?
scepticulous has joined #ruby
duncannz has joined #ruby
<matt_d> craysiii: true, i think i glanced at your error too quickly. if the error is coming from the bundle command: Could not find gem
<matt_d> 'rails_12factor' in any of the gem sources listed in your Gemfile
<matt_d> then it seems that your produciton group is being run
<craysiii> well i have source 'https://rubygems.org' in my gemfile, and I can find the gem itself on the site
Ispira has quit [Quit: Connection closed for inactivity]
<craysiii> which is why im puzzled i guess
firstdayonthejob has joined #ruby
agit0 has joined #ruby
ta_ has joined #ruby
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<matt_d> craysiii: rightfully so. i haven't used jenkins ci, so not sure what might be going on with JCI..
dikaio has joined #ruby
<craysiii> yeah that was my worry when coming here. it could be Jenkins CI, it could be the Rake plugin inside it, it could be Ruby..
<matt_d> craysiii: is this your first project with Jenkins CI?
PedramT_ has joined #ruby
<craysiii> yes it is
rodfersou has joined #ruby
<craysiii> i read a few tutorials but none give any tips in case something like this were to happen
<matt_d> craysiii: i was just going to ask how you like jenkins ci, but i don't think you're too impressed, yet :)
<craysiii> hah, well i don't think it's jenkins fault
<craysiii> pebcak most likely :P
<matt_d> craysiii: well you haven't been able to really use it yet
howdoi has quit [Quit: Connection closed for inactivity]
<craysiii> at first i thought it was the Gemfile.lock, so I got rid of it in the repo but then i still ran into this error
andikr has joined #ruby
<craysiii> and i am trying to get jenkins setup so i can move away from heroku for my portfolio projects
PedramT has quit [Ping timeout: 246 seconds]
PedramT has joined #ruby
grenierm has quit [Quit: grenierm]
karapetyan has joined #ruby
PedramT_ has quit [Ping timeout: 250 seconds]
minimalism has quit [Quit: minimalism]
pawnbox has quit [Remote host closed the connection]
karapetyan has quit [Ping timeout: 244 seconds]
Moosashi has quit [Quit: Moosashi]
awer has quit [Ping timeout: 252 seconds]
hakunin has quit [Read error: Connection reset by peer]
firstdayonthejob has quit [Ping timeout: 276 seconds]
hakunin has joined #ruby
Pumukel has joined #ruby
lsmola has joined #ruby
galeido_ is now known as galeido
galeido has quit [Changing host]
galeido has joined #ruby
wuyin has joined #ruby
ur5us has joined #ruby
pawnbox has joined #ruby
Pumukel has quit [Client Quit]
ur5us has quit [Remote host closed the connection]
PedramT has quit [Remote host closed the connection]
PedramT has joined #ruby
ur5us has joined #ruby
jaruga___ has joined #ruby
aganov has joined #ruby
stardiviner has quit [Ping timeout: 240 seconds]
benlieb has quit [Quit: benlieb]
sj has joined #ruby
ur5us has quit [Ping timeout: 260 seconds]
jaguarmagenta has joined #ruby
aghalarp has joined #ruby
Xeago_ has joined #ruby
CausaMortis has joined #ruby
fedexo has quit [Ping timeout: 276 seconds]
hk238 has joined #ruby
biberu has joined #ruby
Coldblackice has quit [Ping timeout: 250 seconds]
akem has joined #ruby
agit0 has quit [Ping timeout: 252 seconds]
Macaveli has quit [Ping timeout: 240 seconds]
stardiviner has joined #ruby
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yardenbar has joined #ruby
Moosashi has joined #ruby
Macaveli has joined #ruby
Cohedrin_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
madgen has joined #ruby
elaptics is now known as elaptics`away
toretore has joined #ruby
postmodern has quit [Quit: Leaving]
htmldrum has quit [Ping timeout: 244 seconds]
edwinvdgraaf has joined #ruby
Dimik has quit []
Xeago_ has quit [Read error: Connection reset by peer]
elaptics`away is now known as elaptics
aufi has joined #ruby
tref has quit [Quit: tref]
dikaio has joined #ruby
Moosashi has quit [Quit: Moosashi]
Couch has joined #ruby
tref has joined #ruby
tref has quit [Client Quit]
elaptics is now known as elaptics`away
ramfjord has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
PedramT has quit [Ping timeout: 240 seconds]
PedramT has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
PedramT has quit [Remote host closed the connection]
Xeago_ has joined #ruby
DoubleMalt has joined #ruby
Amnez777 has joined #ruby
mloy has joined #ruby
antgel has joined #ruby
mloy has quit [Client Quit]
PedramT has joined #ruby
bronson has quit [Remote host closed the connection]
AlexRussia has quit [Ping timeout: 260 seconds]
grenierm has joined #ruby
PedramT has quit [Remote host closed the connection]
neanderslob has joined #ruby
pawnbox_ has joined #ruby
Madplatypus has joined #ruby
ur5us has joined #ruby
PedramT has joined #ruby
hakunin has quit []
ropeney has quit [Quit: Textual IRC Client: www.textualapp.com]
PedramT has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 240 seconds]
Mia has quit [Read error: Connection reset by peer]
PedramT has joined #ruby
Amnez777 has quit [Changing host]
Amnez777 has joined #ruby
xcesariox has joined #ruby
Alina-malina has joined #ruby
igam has joined #ruby
blackgoat has quit [Quit: WeeChat 1.4]
moeabdol has quit [Ping timeout: 250 seconds]
sj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has quit [Remote host closed the connection]
moeabdol has joined #ruby
zacstewart has joined #ruby
Moosashi has joined #ruby
User458764 has joined #ruby
zacstewart has quit [Ping timeout: 276 seconds]
PedramT has quit [Ping timeout: 276 seconds]
d0lph1n98 has quit [Ping timeout: 246 seconds]
jaguarma_ has joined #ruby
igam` has joined #ruby
helpa-bot has joined #ruby
madgen_ has joined #ruby
PaulCape_ has joined #ruby
senayar has joined #ruby
senayar has joined #ruby
senayar has quit [Changing host]
dling` has joined #ruby
err_ok_ has joined #ruby
skade has joined #ruby
ged_ has joined #ruby
helpa-bot has quit [Remote host closed the connection]
helpa-bot has joined #ruby
Zarthus_ has joined #ruby
jmcc___________ has joined #ruby
im0b_ has joined #ruby
zack6849 has quit [Ping timeout: 276 seconds]
boxrick1__ has quit [Ping timeout: 276 seconds]
gmas has quit [Ping timeout: 276 seconds]
gmci has quit [Ping timeout: 276 seconds]
mrsolo has quit [Ping timeout: 276 seconds]
Guest78050 has quit [Ping timeout: 276 seconds]
akahn has quit [Ping timeout: 276 seconds]
swgillespie has quit [Ping timeout: 276 seconds]
|2701 has quit [Ping timeout: 276 seconds]
twe4ked has quit [Ping timeout: 276 seconds]
err_ok has quit [Ping timeout: 276 seconds]
jmcc__________ has quit [Ping timeout: 276 seconds]
HashNuke_ has quit [Ping timeout: 276 seconds]
ELCALOR has quit [Ping timeout: 276 seconds]
deimos__ has quit [Ping timeout: 276 seconds]
acerna has quit [Ping timeout: 276 seconds]
zrl_ has quit [Ping timeout: 276 seconds]
atmosx has quit [Ping timeout: 276 seconds]
cschneid has quit [Ping timeout: 276 seconds]
Caerus|Away has quit [Ping timeout: 276 seconds]
jimeh has quit [Ping timeout: 276 seconds]
im0b has quit [Ping timeout: 276 seconds]
priodev has quit [Ping timeout: 276 seconds]
lipoqil has quit [Ping timeout: 276 seconds]
hfp has quit [Ping timeout: 276 seconds]
borkdude_ has quit [Ping timeout: 276 seconds]
daemonwrangler has quit [Ping timeout: 276 seconds]
lancetw has quit [Ping timeout: 276 seconds]
x0f_ has quit [Ping timeout: 276 seconds]
jaruga___ has quit [Read error: Connection reset by peer]
LoganG has quit [Quit: robots are cool]
jaguarmagenta has quit [Ping timeout: 276 seconds]
fn2187_ has quit [Ping timeout: 276 seconds]
helpa has quit [Ping timeout: 276 seconds]
pfg has quit [Ping timeout: 276 seconds]
yo61_ has quit [Ping timeout: 276 seconds]
jxf has quit [Ping timeout: 276 seconds]
dling has quit [Ping timeout: 276 seconds]
aredridel has quit [Ping timeout: 276 seconds]
c355e3b has quit [Ping timeout: 276 seconds]
Expanse has quit [Ping timeout: 276 seconds]
eggoez has quit [Ping timeout: 276 seconds]
ICantCook has quit [Ping timeout: 276 seconds]
chris2 has quit [Ping timeout: 276 seconds]
kireevco has quit [Ping timeout: 276 seconds]
[diecast] has quit [Ping timeout: 276 seconds]
drbrain has quit [Ping timeout: 276 seconds]
Majost has quit [Ping timeout: 276 seconds]
Sou|cutter has quit [Ping timeout: 276 seconds]
Kim^J has quit [Ping timeout: 276 seconds]
ged has quit [Read error: Connection reset by peer]
gmci has joined #ruby
c355e3b_ has joined #ruby
err_ok_ is now known as err_ok
deavidsedice has quit [Read error: Connection reset by peer]
acerna has joined #ruby
Coldblackice has joined #ruby
jxf_ has joined #ruby
eregon_ has joined #ruby
[diecast] has joined #ruby
dafull97 has joined #ruby
dafull97 has quit [Changing host]
dafull97 has joined #ruby
Kim^J has joined #ruby
gmci has quit [Changing host]
gmci has joined #ruby
acerna has quit [Changing host]
acerna has joined #ruby
[diecast] has quit [Changing host]
[diecast] has joined #ruby
fn2187__ has joined #ruby
boxrick1__ has joined #ruby
igam has quit [Ping timeout: 276 seconds]
neanderslob has quit [Ping timeout: 276 seconds]
Amnez777 has quit [Ping timeout: 276 seconds]
toretore has quit [Ping timeout: 276 seconds]
madgen has quit [Ping timeout: 276 seconds]
aganov has quit [Ping timeout: 276 seconds]
zenguy_pc has quit [Ping timeout: 276 seconds]
PaulCapestany has quit [Ping timeout: 276 seconds]
twistedpixels has quit [Ping timeout: 276 seconds]
noodle has quit [Ping timeout: 276 seconds]
jtd has quit [Ping timeout: 276 seconds]
kitallisii has quit [Ping timeout: 276 seconds]
jpinnix_______ has quit [Ping timeout: 276 seconds]
nwhirschfeld has quit [Ping timeout: 276 seconds]
bjmllr has quit [Ping timeout: 276 seconds]
zacts has quit [Ping timeout: 276 seconds]
Caelum has quit [Ping timeout: 276 seconds]
kalzz has quit [Ping timeout: 276 seconds]
Zarthus has quit [Ping timeout: 276 seconds]
thang has quit [Ping timeout: 276 seconds]
nibbo_ has quit [Ping timeout: 276 seconds]
jokke has quit [Ping timeout: 276 seconds]
kalz has quit [Ping timeout: 276 seconds]
jhill has quit [Ping timeout: 276 seconds]
Zarthus_ is now known as Zarthus
Xeago_ has quit [Remote host closed the connection]
neanderslob has joined #ruby
eregon has quit [Read error: Connection reset by peer]
jaruga___ has joined #ruby
deavid has joined #ruby
HashNuke_ has joined #ruby
nwhirschfeld_ has joined #ruby
drbrain has joined #ruby
nibbo has joined #ruby
cschneid has joined #ruby
x0f has joined #ruby
jaguarma_ has quit [Ping timeout: 252 seconds]
Amnez777 has joined #ruby
jtd has joined #ruby
hostess has quit [Read error: Connection reset by peer]
kitallis has joined #ruby
Xeago_ has joined #ruby
toretore has joined #ruby
hfp has joined #ruby
LoganG has joined #ruby
Dimik has joined #ruby
zacts has joined #ruby
helpa-bot has quit [Remote host closed the connection]
priodev has joined #ruby
aganov has joined #ruby
atmosx has joined #ruby
bjmllr has joined #ruby
gmas has joined #ruby
twistedpixels has joined #ruby
twistedpixels has quit [Changing host]
twistedpixels has joined #ruby
eggoez has joined #ruby
thang has joined #ruby
zenguy_pc has joined #ruby
Sou|cutter has joined #ruby
helpa has joined #ruby
chris2 has joined #ruby
noodle has joined #ruby
symm- has joined #ruby
lancetw has joined #ruby
borkdude has joined #ruby
hostess has joined #ruby
aredridel has joined #ruby
sepp2k has joined #ruby
im0b_ is now known as im0b
Amnez777 has quit [Changing host]
Amnez777 has joined #ruby
c355e3b_ is now known as c355e3b
Caelum has joined #ruby
Xeago_ has quit [Remote host closed the connection]
zack6849 has joined #ruby
zack6849 has quit [Changing host]
zack6849 has joined #ruby
jxf_ is now known as jxf
mark_66 has joined #ruby
zel has joined #ruby
zel is now known as Guest2673
swgillespie has joined #ruby
jordanm has quit [Ping timeout: 276 seconds]
wldcordeiro has quit [Ping timeout: 244 seconds]
kalzz has joined #ruby
twe4ked has joined #ruby
mikecmpbll has joined #ruby
Xeago_ has joined #ruby
kalz has joined #ruby
elaptics`away is now known as elaptics
nyuszika7h has quit [Ping timeout: 250 seconds]
znz_jp has quit [Ping timeout: 250 seconds]
dikaio has quit [Quit: Textual IRC Client: www.textualapp.com]
jimeh has joined #ruby
kireevco has joined #ruby
jokke has joined #ruby
lipoqil has joined #ruby
daemonwrangler has joined #ruby
CloCkWeRX has quit [Ping timeout: 260 seconds]
anisha has joined #ruby
stef204 has joined #ruby
deimos__ has joined #ruby
ELCALOR has joined #ruby
tvw has joined #ruby
mrsolo has joined #ruby
pfg has joined #ruby
Expanse has joined #ruby
zrl_ has joined #ruby
znz_jp has joined #ruby
znz_jp has quit [Client Quit]
nyuszika7h has joined #ruby
|2701 has joined #ruby
akahn has joined #ruby
jhill has joined #ruby
yo61_ has joined #ruby
Majost has joined #ruby
Moosashi has quit [Quit: Moosashi]
Caerus|Away has joined #ruby
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
jpinnix_______ has joined #ruby
znz_jp has joined #ruby
ByronJohnson has quit [Ping timeout: 244 seconds]
gdp has joined #ruby
dionysus69 has joined #ruby
Dimik has quit [Ping timeout: 260 seconds]
grenierm has quit [Quit: grenierm]
stannard has joined #ruby
Moosashi has joined #ruby
devbug has joined #ruby
ByronJohnson has joined #ruby
ByronJohnson has quit [Changing host]
ByronJohnson has joined #ruby
Moosashi has quit [Client Quit]
stannard has quit [Ping timeout: 246 seconds]
pawnbox has joined #ruby
MrSamuel has joined #ruby
awer has joined #ruby
pawnbox_ has quit [Ping timeout: 246 seconds]
Lildirt has quit [Ping timeout: 244 seconds]
mrgrieve1 has joined #ruby
karmatr0n has joined #ruby
Lildirt has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
pandaant has joined #ruby
codecop has joined #ruby
bronson has joined #ruby
TheHodge has joined #ruby
dgncn has quit [Excess Flood]
wldcordeiro has joined #ruby
skade has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
devbug has quit [Quit: ZZZzzz…]
dgncn has joined #ruby
<MrSamuel> ey
<MrSamuel> i made some packages in the aur
<MrSamuel> is it worth discussing with anyone bring those package to the official repos?
PedramT has joined #ruby
<MrSamuel> oh whoops wrong channel :D
evidex has joined #ruby
htmldrum has joined #ruby
Xeago_ has quit [Remote host closed the connection]
aupadhye has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
aghalarp has quit [Quit: Textual IRC Client: www.textualapp.com]
htmldrum has quit [Ping timeout: 240 seconds]
tax has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
Coldblackice has quit [Ping timeout: 244 seconds]
sepp2k has quit [Ping timeout: 252 seconds]
ferr has joined #ruby
the_drow has joined #ruby
karmatr0n has quit [Ping timeout: 252 seconds]
blur3d has joined #ruby
binaryplease has quit [Ping timeout: 240 seconds]
ur5us has quit [Remote host closed the connection]
Xeago_ has joined #ruby
n008f4g_ has joined #ruby
dede has joined #ruby
workmad3 has joined #ruby
Xeago_ has quit [Remote host closed the connection]
sepp2k has joined #ruby
hk238 has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Xeago_ has joined #ruby
ferr has quit [Quit: WeeChat 1.4]
giz|work has joined #ruby
ferr has joined #ruby
johnny56 has quit [Remote host closed the connection]
ferr has quit [Client Quit]
ferr has joined #ruby
johnny56 has joined #ruby
PedramT has quit [Remote host closed the connection]
elaptics is now known as elaptics`away
PedramT has joined #ruby
blackmes1 has joined #ruby
PedramT has quit [Remote host closed the connection]
ferr has quit [Client Quit]
PedramT has joined #ruby
ferr has joined #ruby
ferr has quit [Client Quit]
ferr has joined #ruby
PedramT_ has joined #ruby
aufi has quit [Ping timeout: 244 seconds]
pLaToOn has joined #ruby
PedramT_ has quit [Remote host closed the connection]
<pLaToOn> moin
Xeago_ has quit [Remote host closed the connection]
PedramT has quit [Ping timeout: 260 seconds]
ferr has quit [Client Quit]
FooMunki has joined #ruby
ferr has joined #ruby
<al2o3-cr> good morning mr pLaToOn
ixti has quit [Quit: WeeChat 1.4]
<al2o3-cr> how we doing this fine morning?
ferr has quit [Client Quit]
TomyLobo has joined #ruby
ferr has joined #ruby
<pLaToOn> fine, thx, and you?
<al2o3-cr> not bad at all
tildes has quit [Ping timeout: 260 seconds]
cpup has quit [Ping timeout: 250 seconds]
craysiii has quit [Remote host closed the connection]
ferr has quit [Quit: WeeChat 1.4]
ferr has joined #ruby
Kaer has joined #ruby
<Kaer> hi
<Kaer> do anyone have a moment for a beginner with problem ?
RegulationD has joined #ruby
<al2o3-cr> sure
polysics has joined #ruby
stef_204 has joined #ruby
RegulationD has quit [Ping timeout: 246 seconds]
cpup has joined #ruby
noService has quit [Quit: leaving]
stef204 has quit [Ping timeout: 276 seconds]
n008f4g_ has quit [Ping timeout: 250 seconds]
Kaer has quit [Quit: Page closed]
Ox0dea has quit [Ping timeout: 246 seconds]
tildes has joined #ruby
infernix has quit [Ping timeout: 276 seconds]
ramfjord has quit [Ping timeout: 250 seconds]
moeabdol has quit [Ping timeout: 250 seconds]
Gasher has joined #ruby
elaptics`away is now known as elaptics
MyMind is now known as sembei
saneax is now known as saneax_AFK
Grantlyk has joined #ruby
n008f4g_ has joined #ruby
ICantCook has joined #ruby
moeabdol has joined #ruby
infernix has joined #ruby
jaguarmagenta has joined #ruby
saneax_AFK is now known as saneax
madgen_ has quit [Ping timeout: 240 seconds]
nofxx has quit [Ping timeout: 252 seconds]
ur5us has joined #ruby
vondruch has quit [Ping timeout: 260 seconds]
vondruch has joined #ruby
isxek has quit [Ping timeout: 244 seconds]
<shevy> al2o3-cr you scared him off!
jaguarmagenta has quit [Ping timeout: 276 seconds]
PaulePanter has quit [Quit: Lost terminal]
PedramT has joined #ruby
PaulePanter has joined #ruby
awer has quit [Ping timeout: 260 seconds]
<al2o3-cr> shevy: freenode gateway, prolly a ***** anyway
yo61_ is now known as yo61
madgen has joined #ruby
<adaedra> cute.
PedramT has quit [Ping timeout: 260 seconds]
<al2o3-cr> haha
d0lph1n98 has joined #ruby
Macaveli has joined #ruby
siaw has quit [Quit: siaw]
<al2o3-cr> shevy: what you coding lately?
karapetyan has joined #ruby
duncannz has quit [Remote host closed the connection]
Macaveli has quit [Client Quit]
<al2o3-cr> come backs with answer is disallowed within >= 20 lines
awer has joined #ruby
karapetyan has quit [Ping timeout: 244 seconds]
<al2o3-cr> >> Math.gamma(-~5)
<ruby[bot]> al2o3-cr: # => 120.0 (https://eval.in/564259)
<al2o3-cr> hey, factorials
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
platzhirsch has joined #ruby
platzhirsch has left #ruby [#ruby]
PedramT has joined #ruby
<al2o3-cr> is their a shorter way to get PI in Ruby than `-1.arg`
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
roshanavand has joined #ruby
<adaedra> Not shorter but clearer: Math::PI
<al2o3-cr> *there
<al2o3-cr> adaedra: how to get 9999 back from this: [0.61029052734375, 14]
<adaedra> Beats me.
PedramT has quit [Ping timeout: 240 seconds]
stannard has joined #ruby
auzty has quit [Quit: Leaving]
<al2o3-cr> >> Math.frexp(9999)
<ruby[bot]> al2o3-cr: # => [0.61029052734375, 14] (https://eval.in/564284)
<al2o3-cr> now how?
stannard has quit [Ping timeout: 276 seconds]
alexherbo2 has quit [Quit: WeeChat 1.4]
yfeldblum has quit [Remote host closed the connection]
infernix has quit [Ping timeout: 276 seconds]
blaxter has joined #ruby
n008f4g_ has quit [Ping timeout: 260 seconds]
claw has quit [Ping timeout: 260 seconds]
bronson has joined #ruby
PedramT has joined #ruby
claw has joined #ruby
User458764 has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
aufi has joined #ruby
PedramT has quit [Ping timeout: 260 seconds]
Ox0dea has joined #ruby
<Ox0dea> al2o3-cr: It's right there in the docs for #frexp.
silentpo1t has joined #ruby
slackbotgz has joined #ruby
Xeago_ has joined #ruby
ponga has quit []
Mia has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
roadt_ has quit [Ping timeout: 250 seconds]
d0lph1n98 has quit [Ping timeout: 252 seconds]
FooMunki has quit [Quit: FooMunki]
hanmac has quit [Remote host closed the connection]
sdothum has joined #ruby
madgen has quit [Ping timeout: 252 seconds]
elaptics is now known as elaptics`away
skade has quit [Quit: Computer has gone to sleep.]
FooMunki has joined #ruby
elaptics`away is now known as elaptics
PedramT has joined #ruby
johnmilton has joined #ruby
moeabdol has quit [Ping timeout: 250 seconds]
pawnbox has quit [Remote host closed the connection]
roadt_ has joined #ruby
PedramT has quit [Ping timeout: 260 seconds]
moeabdol has joined #ruby
chipotle has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
charliesome has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
jds has joined #ruby
GodFather has joined #ruby
charliesome has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
ur5us has quit [Remote host closed the connection]
d0lph1n98 has joined #ruby
skade has joined #ruby
rbr has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
zacstewart has joined #ruby
rbr has joined #ruby
slackbotgz has quit [Remote host closed the connection]
chipotle has joined #ruby
Xeago_ has quit [Remote host closed the connection]
zacstewart has quit [Ping timeout: 244 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<adaedra> 0xGreetings.
Snowy has joined #ruby
Xeago_ has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RegulationD has joined #ruby
inukshuk_ has joined #ruby
inukshuk_ has quit [Client Quit]
<Ox0dea> I want to understand.
RegulationD has quit [Ping timeout: 276 seconds]
JakFrist has joined #ruby
silentpo1t has quit [Ping timeout: 240 seconds]
pawnbox_ has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
PedramT has joined #ruby
User458764 has joined #ruby
awer has quit [Ping timeout: 250 seconds]
solars has quit [Ping timeout: 276 seconds]
PedramT_ has joined #ruby
PedramT has quit [Ping timeout: 240 seconds]
pawnbox_ has quit [Ping timeout: 240 seconds]
PedramT has joined #ruby
Xeago_ has quit [Remote host closed the connection]
vondruch has quit [Quit: Ex-Chat]
nofxx has joined #ruby
nofxx has quit [Changing host]
nofxx has joined #ruby
PedramT_ has quit [Ping timeout: 260 seconds]
polysics has quit [Ping timeout: 276 seconds]
Guest94592 is now known as ndrst
vondruch has joined #ruby
PedramT has quit [Ping timeout: 260 seconds]
vondruch has quit [Client Quit]
madgen has joined #ruby
vondruch has joined #ruby
jaguarmagenta has joined #ruby
rbr has quit [Ping timeout: 240 seconds]
rbr has joined #ruby
symm- has quit [Quit: Leaving...]
mrgrieve1 has quit [Ping timeout: 276 seconds]
mrgrieve1 has joined #ruby
saneax is now known as saneax_AFK
jaguarmagenta has quit [Ping timeout: 244 seconds]
Xeago_ has joined #ruby
ldnunes has joined #ruby
Xeago_ has quit [Read error: Connection reset by peer]
Xeago_ has joined #ruby
diegoviola has joined #ruby
SHyx0rmZ has joined #ruby
pawnbox has joined #ruby
linuxuser9000 has quit [Read error: Connection reset by peer]
hanmac has joined #ruby
Snowy has quit [Remote host closed the connection]
Rickmasta has joined #ruby
n008f4g_ has joined #ruby
polysics has joined #ruby
pawnbox_ has joined #ruby
PlasmaStar has quit [Ping timeout: 250 seconds]
Azure|dc has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
ItSANgo has joined #ruby
gnufied has joined #ruby
diegoaguilar has joined #ruby
tlaxkit has joined #ruby
Azure has quit [Ping timeout: 260 seconds]
Azure|dc has quit [Max SendQ exceeded]
Xeago_ has quit [Remote host closed the connection]
polysics has quit []
aufi has quit [Ping timeout: 240 seconds]
diego1 has joined #ruby
synthroid has joined #ruby
PlasmaStar has joined #ruby
Azure has joined #ruby
Azure has quit [Read error: Connection reset by peer]
duckpuppy has joined #ruby
<hanmac> shevy: what do you think about that Fixnum and Bignum does colide? xD
diego2 has joined #ruby
diego2 has quit [Changing host]
diego2 has joined #ruby
diegoviola is now known as Guest48263
diego2 is now known as diegoviola
Guest48263 has quit [Ping timeout: 244 seconds]
diego1 has quit [Ping timeout: 246 seconds]
isxek has joined #ruby
<Ox0dea> They're not "colliding"; they're being unified.
<Ox0dea> It's obviously a Good Thing.
ismaelga has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
ismaelga has joined #ruby
ismaelga has quit [Remote host closed the connection]
stannard has joined #ruby
blackmes1 has quit [Ping timeout: 240 seconds]
saneax_AFK is now known as saneax
jhill has quit [Ping timeout: 260 seconds]
tref has joined #ruby
stannard has quit [Ping timeout: 260 seconds]
jhill has joined #ruby
skade has joined #ruby
Snowy has joined #ruby
swills has quit [Ping timeout: 260 seconds]
<apeiros> it's also mostly an implementation detail and all you have to consider is Integer
Snowy has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
Snowy has joined #ruby
Xiti has joined #ruby
GodFather has quit [Ping timeout: 246 seconds]
Madplatypus has quit [Quit: Connection closed for inactivity]
bronson has joined #ruby
govg has joined #ruby
brendan- has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
flashpoint9 has joined #ruby
<hanmac> Ox0dea: they are colliding together like two big galaxies XD
gregf has quit [Quit: WeeChat 1.4]
tref has quit [Quit: tref]
bronson has quit [Ping timeout: 252 seconds]
nando293921 has quit [Ping timeout: 250 seconds]
anisha has quit [Quit: This computer has gone to sleep]
anisha has joined #ruby
<apeiros> hanmac: in other words - it'll be a problem in millions of years but not now?
<hanmac> apeiros: or it could mean the end of million lifeforms XD
<apeiros> somewhen a couple of million years in the future…
User458764 has joined #ruby
giz|work has quit [Ping timeout: 244 seconds]
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
User458764 has quit [Client Quit]
Snowy has quit [Remote host closed the connection]
Ispira has joined #ruby
<igam`> Galaxy collisions are basically harmless for life on planets on those galaxies.
Xeago_ has joined #ruby
<igam`> You would need to be very unlucky to live on a planet whose star would pass close enough to a star of the colliding galaxy to perturbate your orbit catastrophically.
borodin has quit [Quit: Textual IRC Client: www.textualapp.com]
Vingador has joined #ruby
<Ox0dea> *perturb
<Ox0dea> In case you wanted that.
al2o3-cr has quit [Ping timeout: 240 seconds]
Xeago_ has quit [Ping timeout: 250 seconds]
ChiefAlexander has joined #ruby
madgen has quit [Ping timeout: 246 seconds]
ramortegui has joined #ruby
pandaant has quit [Remote host closed the connection]
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kfpratt has joined #ruby
crystal77 has joined #ruby
ChiefAlexander has quit [Ping timeout: 252 seconds]
Vingador_ has joined #ruby
Vingador has quit [Ping timeout: 246 seconds]
aegis3121 has joined #ruby
banister has joined #ruby
Snowy has joined #ruby
madgen has joined #ruby
sharkman has quit [Ping timeout: 250 seconds]
davedev24 has joined #ruby
Ox0dea has quit [Ping timeout: 252 seconds]
Xeago_ has joined #ruby
madgen has quit [Ping timeout: 260 seconds]
platzhirsch has joined #ruby
nadir has joined #ruby
karapetyan has quit [Remote host closed the connection]
Xeago_ has quit [Remote host closed the connection]
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
VeryBewitching has joined #ruby
hosttor has quit [Remote host closed the connection]
nerium has joined #ruby
JakFrist has joined #ruby
nerium has quit [Client Quit]
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
karmatr0n has joined #ruby
aegis3121 has quit [Ping timeout: 252 seconds]
ChiefAlexander has joined #ruby
stardiviner has quit [Ping timeout: 246 seconds]
madgen has joined #ruby
hhee has joined #ruby
<hhee> guys, ruby difficult for beginner?
diegoviola has quit [Ping timeout: 252 seconds]
<tobiasvl> beginner in what?
<tobiasvl> ruby? object-oriented programming? functional programming? just programming?
sgambino has joined #ruby
karmatr0n has quit [Ping timeout: 246 seconds]
madgen has quit [Ping timeout: 252 seconds]
madgen has joined #ruby
<hhee> tobiasvl, just programming. (i have a little knowledge of php in background)
PedramT has joined #ruby
ismaelga has joined #ruby
<hhee> tobiasvl, maybe in web-way. rails i mean
aegis3121 has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Ox0dea has joined #ruby
SilverKey has joined #ruby
<tobiasvl> OK, I don't know rails
godzillaenlacasa has joined #ruby
malconis has joined #ruby
nofxx has quit [Ping timeout: 276 seconds]
nofxx has joined #ruby
S_Waqas has joined #ruby
malconis has quit [Remote host closed the connection]
PedramT has quit [Ping timeout: 252 seconds]
<adaedra> Ruby itself should not be difficult to pick up, given you use the right resource (and that depends on the person)
KensoDev has joined #ruby
tlolczyk_ has quit [Quit: Leaving]
jordanm has joined #ruby
pandaant has joined #ruby
pawnbox_ has quit [Remote host closed the connection]
diego1 has joined #ruby
Ebok has joined #ruby
saneax is now known as saneax_AFK
diego1 has quit [Changing host]
diego1 has joined #ruby
b3nt_pin is now known as beagles
diego1 is now known as diegoviola
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
S_Waqas has quit [Ping timeout: 244 seconds]
S_Waqas has joined #ruby
freerobby has joined #ruby
<apeiros> hhee: I found ruby one of the easiest to learn languages. but I had other languages before that. also people differ.
govg has quit [Quit: leaving]
<hhee> tobiasvl, ruby in rails i mean
<hhee> adaedra, apeiros got it. thx guys
<hhee> which books or courses can you recommend?
Xeago_ has joined #ruby
<apeiros> ?books hhee
<ruby[bot]> hhee: You can find a list of recommended books at http://ruby-community.com/pages/links
Elvin has joined #ruby
giz|work has joined #ruby
<hhee> apeiros, cool
<tobiasvl> hhee: sure, I know what rails IS, I just don't know it myself :)
<tobiasvl> #rubyonrails
GodFather has joined #ruby
malconis has joined #ruby
SilverKey has quit [Quit: Halted.]
moos3_ has quit [Quit: leaving]
banister has quit [Ping timeout: 260 seconds]
<hhee> one more question. ruby suitable for system tasks like bash? instead python for example
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
swills has joined #ruby
pawnbox has joined #ruby
<tobiasvl> sure
hinbody has joined #ruby
<hhee> cool :)
davedev24 has quit []
CloCkWeRX has joined #ruby
saneax_AFK is now known as saneax
diego1 has joined #ruby
diego1 has quit [Changing host]
diego1 has joined #ruby
MissionCritical has quit [Ping timeout: 276 seconds]
diegoviola has quit [Read error: Connection reset by peer]
diego1 is now known as diegoviola
deadnull_ has joined #ruby
sharkman has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
hostess has quit [Remote host closed the connection]
hostess has joined #ruby
Xeago_ has quit [Remote host closed the connection]
JakFrist has joined #ruby
diegoviola has quit [Ping timeout: 246 seconds]
Snowy has quit [Remote host closed the connection]
diegoviola has joined #ruby
cdg has joined #ruby
diegoviola has quit [Changing host]
diegoviola has joined #ruby
MissionCritical has joined #ruby
saneax is now known as saneax_AFK
nerium has joined #ruby
jaguarmagenta has joined #ruby
<mrgrieves> hi, this is doing what I want but it's failing tests because it takes to long to run https://gist.github.com/dansanabria/220f435587a1dbc7be4df6e5f2eef51c
moeabdol has quit [Ping timeout: 240 seconds]
giz|work has quit [Ping timeout: 276 seconds]
rbennacer has joined #ruby
rbennacer has quit [Remote host closed the connection]
karmatr0n has joined #ruby
FooMunki has quit [Quit: FooMunki]
rbennacer has joined #ruby
gregf has joined #ruby
<tobiasvl> what are the tests?
<adaedra> what is it expected to do?
<mrgrieves> basically we get an array of five names which we process from left to right (names) and a digit representing a position in the queue (r). when we process the first name we double it and move those 2 names to the back of the queue the idea of the method is to return the name that's going to be in position r
madgen has quit [Ping timeout: 250 seconds]
dopamean_ has quit [Ping timeout: 252 seconds]
ismaelga has quit []
jaguarmagenta has quit [Ping timeout: 276 seconds]
<mrgrieves> 1< r < 1000000000
<tobiasvl> shift removes the first entry from the array, you know? that doesn't sound like what you want
<apeiros> that's a funny algorithm…
pLaToOn has quit [Read error: Connection reset by peer]
<tobiasvl> oh wait that is what you want
<apeiros> so with r = 1000000000, you end up with 2000000000 items in the queue
DoubleMalt has quit [Remote host closed the connection]
saneax_AFK is now known as saneax
<apeiros> you can probably make the given algorithm academically faster by choosing the right methods, but I doubt it'll solve your "too slow" problem. I assume the algorithm is required to be implemented like that?
Xeago_ has joined #ruby
firstdayonthejob has joined #ruby
<apeiros> the alternative would be to just calculate the name
CloCkWeRX has quit [Remote host closed the connection]
stannard has joined #ruby
ndrst has quit [Ping timeout: 250 seconds]
<mrgrieves> apeiros: yes calculate the name - Return the single line the name of the person who is at the top of the queue on the r-th turn.
ruby-lang956 has joined #ruby
<tobiasvl> what's the purpose of this method?
<apeiros> mrgrieves: your method does not calculate it
<apeiros> it "explores" it
ta_ has quit [Remote host closed the connection]
n008f4g_ has quit [Ping timeout: 260 seconds]
zacstewart has joined #ruby
<mrgrieves> apeiros: you are right, my maths are crap
CloCkWeRX has joined #ruby
<apeiros> if you want to figure the formula to calculate it - given names.size = 5, inspect the array at those values for r: 0, 5, 15, 35, 75
madgen has joined #ruby
charliesome has joined #ruby
stannard has quit [Ping timeout: 276 seconds]
moeabdol has joined #ruby
bim has joined #ruby
<apeiros> and I was wrong, with r= 1000000000, you get quite a lot more than 2000000000 items in the queue. you probably would run out of memory.
bim is now known as Guest54109
<apeiros> oh, meh, or actually maybe not :)
freerobby has quit [Quit: Leaving.]
BSaboia has joined #ruby
<mrgrieves> apeiros: I think you are on the right path with inspecting and figuring out the formula
lxsameer has quit [Quit: WeeChat 1.4]
Snowy has joined #ruby
Phasee has joined #ruby
madgen has quit [Ping timeout: 252 seconds]
skade has quit [Quit: Computer has gone to sleep.]
moeabdol has quit [Ping timeout: 276 seconds]
ndrst has joined #ruby
ndrst is now known as Guest53755
madgen has joined #ruby
giz|work has joined #ruby
anisha has quit [Quit: Leaving]
kobain has joined #ruby
FooMunki has joined #ruby
kobain has quit [Max SendQ exceeded]
kobain has joined #ruby
dopamean_ has joined #ruby
n008f4g_ has joined #ruby
ruby-lang956 has quit [Ping timeout: 250 seconds]
bronson has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
charliesome_ has joined #ruby
DoubleMalt has joined #ruby
smathy has joined #ruby
charliesome has quit [Ping timeout: 240 seconds]
stannard has joined #ruby
stannard has quit [Remote host closed the connection]
stannard has joined #ruby
perlgod has joined #ruby
ChiefAlexander has joined #ruby
codecop has quit [Remote host closed the connection]
charliesome_ has quit [Client Quit]
zast has joined #ruby
infernix has joined #ruby
Xeago_ has quit [Remote host closed the connection]
SilverKey has joined #ruby
mihail has joined #ruby
<mihail> dd
DoubleMalt has quit [Remote host closed the connection]
mihail has quit []
IrishGringo has joined #ruby
deadnull_ has quit [Quit: Bye]
whippythellama has joined #ruby
Limix has joined #ruby
pandaant has quit [Remote host closed the connection]
mustmodify has joined #ruby
diegoaguilar has quit [Remote host closed the connection]
jhack has joined #ruby
freerobby has joined #ruby
hobodave has joined #ruby
dhollinger has joined #ruby
ixti has joined #ruby
jimcroft_ has quit []
jimcroft_ has joined #ruby
chey has quit [Ping timeout: 252 seconds]
jimcroft_ is now known as jimcroft
LastWhisper____ has joined #ruby
n008f4g_ has quit [Ping timeout: 260 seconds]
rojomisin has joined #ruby
saneax is now known as saneax_AFK
kareeoleez has joined #ruby
Rickmasta has joined #ruby
openstruct has joined #ruby
hxegon_afk is now known as hxegon
borodin has joined #ruby
kareeoleez has quit [Remote host closed the connection]
Devalo has joined #ruby
emilford has joined #ruby
weemsledeux has joined #ruby
hhee has quit [Ping timeout: 246 seconds]
pawnbox has quit [Ping timeout: 260 seconds]
Blaguvest has joined #ruby
aganov has quit [Remote host closed the connection]
polishdub has joined #ruby
chey has joined #ruby
blackmes1 has joined #ruby
znz_jp has quit [Quit: kill -QUIT $$]
skade has joined #ruby
pawnbox has joined #ruby
zacstewart has quit [Ping timeout: 260 seconds]
freerobby has quit [Quit: Leaving.]
madgen has quit [Ping timeout: 276 seconds]
freerobby has joined #ruby
znz_jp has joined #ruby
aegis3121 has quit [Ping timeout: 276 seconds]
maokomioko has joined #ruby
PedramT has joined #ruby
aegis3121 has joined #ruby
rodfersou has quit [Ping timeout: 246 seconds]
mark_66 has left #ruby ["PART #RubyOnRails :PART #elixir-lang :PART #crystal-lang :PONG :orwell.freenode.net"]
dionysus69 has quit [Ping timeout: 276 seconds]
giz|work has quit [Ping timeout: 260 seconds]
PedramT has quit [Ping timeout: 252 seconds]
zacstewart has joined #ruby
PedramT has joined #ruby
ruby-lang880 has joined #ruby
GinoMan2440 has joined #ruby
freerobby1 has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
edwinvdgraaf has quit [Ping timeout: 244 seconds]
amclain has joined #ruby
wldcordeiro has quit [Quit: WeeChat 1.4]
idefine has joined #ruby
drale2k has quit [Quit: ZNC - http://znc.in]
crystal77 has joined #ruby
minimalism has joined #ruby
drale2k has joined #ruby
diegoaguilar has joined #ruby
nofacade has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
troulouliou_div2 has joined #ruby
blandflakes has joined #ruby
bronson has quit [Remote host closed the connection]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
enslavedtuna has joined #ruby
<enslavedtuna> Hey guys quick question. I want to acces x[:test] but "test" is a string as in z = "test". how do i use z in the first statement? x[:#{z}] does not work
<apeiros> z.to_sym
<adaedra> x[z.to_sym]
rojomisin has quit [Ping timeout: 276 seconds]
<apeiros> but if z is user-input, you should reconsider why you're using symbols as keys in the first place
n008f4g_ has joined #ruby
<adaedra> go back to ninja school, apeiros
c_nick has joined #ruby
mjuszczak has joined #ruby
<enslavedtuna> thanks a lot guys! did not know about to_sym
<apeiros> why go back? I'm still a sensai there
<apeiros> *sensei
<c_nick> i am calling an exe using system(executable *args) How to output a log file with the status of the exe?
Limix has quit [Quit: Limix]
shadeslayer_ is now known as shadeslayer
<adaedra> the status?
<enslavedtuna> oh the : symbol is not part of the string, but I do need it in the index, is there a better way than to add : to the string?
bronson has joined #ruby
<adaedra> :test is not a string but a symbol
kyle__ has joined #ruby
Limix has joined #ruby
<adaedra> >> "test".to_sym
<ruby[bot]> adaedra: # => :test (https://eval.in/564634)
<enslavedtuna> ohh, I'm such a noob. Thanks again!
Yiota has joined #ruby
<kyle__> It's been a while, but I __thought__ I used to be able to do something like this: r=/something (?<a>\S+) (?<b>\S+)/;File.read("somefile").scan(r)
<kyle__> And get an array of matches with named captures. Is my memory fault here? Is that just something I wanted to happen and didn't?
<c_nick> adaedra: yeah I trued with `` and with system surprisingly p gives me the output of the invoked cmd for both while one was supposed to tell me whether the call was successful or not
<adaedra> You may be after $?
<c_nick> p `date`, $?
<c_nick> > p `date`, $?
<c_nick> >> p `date`, $?
<ruby[bot]> c_nick: # => (https://eval.in/564635)
<adaedra> Do you need to get the output of the program?
<c_nick> yeah otherwise i wont know if it ran successfully or not
<adaedra> You can't `` with the bot, use your irb/pry.
scepticulous has quit [Ping timeout: 244 seconds]
<adaedra> $? contains system information about the last run command
<adaedra> (or something like that but should be close enough)
berserk_ren has joined #ruby
<adaedra> see:
<adaedra> &ri Process::Status
kareeoleez has joined #ruby
lagweezl1 is now known as lagweezle
giz|work has joined #ruby
giz|work has quit [Client Quit]
sgambino has joined #ruby
<c_nick> $?.success? works for me
<c_nick> i am intrigued to find out how to read from the stdout
<adaedra> using `` will provide you the stdout once the command is finished
akem has quit [Ping timeout: 250 seconds]
rbr has quit [Ping timeout: 240 seconds]
<adaedra> otherwise, IO.open() allows to pipe to/from a process and interact directly
<adaedra> there's also open3
<adaedra> mh, hold on
PedramT has quit [Read error: Connection reset by peer]
<c_nick> $stdout.reopen("out.txt", "w")
<c_nick> this should help too right?
PedramT has joined #ruby
<adaedra> from a fork {} block sure, but that's quite manual.
<adaedra> if you need something short like date, `date` is enough.
<c_nick> hmm cool
<adaedra> It's Kernel.open, not IO.open which allows to pipe commands, my bad.
<adaedra> &ri Kernel.open
akem has joined #ruby
ruby-lang880 has quit [Quit: Page closed]
<c_nick> cool thanks
nando293921 has joined #ruby
rodfersou has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
rbr has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
ljames has joined #ruby
<adaedra> mh, this link is wrong.
hogetaro has joined #ruby
<c_nick> since i am using team city i can let the output be displayed on the stdout only the success and failure of the command is what i am worried about
* adaedra hits `derpy on the head
<adaedra> then you can just use system() then check $?
<soahccc> Is there a way to use OptionParser but not raising an InvalidOption exception? I just want it to treat unknown options as normal arguments... any chance? I tried with ex.recover but that doesn't resume processing and I need to not interrupt the order of arguments
<c_nick> i think team city fails the job if the process status is failed
akem has quit [Ping timeout: 250 seconds]
rbr has quit [Disconnected by services]
<adaedra> also, if the only thing you're doing is passing down the status to make the build fail, you can also exec(), which will transform your current process to the new one and remove the need of passing down the status.
<c_nick> ah! i dont want that .. because the script is doing two interdependent things
<c_nick> if i use exec() it will lose out on the second part
<adaedra> fair enough
dionysus69 has joined #ruby
<c_nick> soahccc: Soachcc
rbr has joined #ruby
Limix has quit [Read error: Connection reset by peer]
duderonomy has quit [Ping timeout: 250 seconds]
akem has joined #ruby
bronson has quit [Remote host closed the connection]
kareeoleez has quit [Remote host closed the connection]
SilverKey has quit [Quit: Halted.]
Spami has quit [Read error: Connection reset by peer]
Spami has joined #ruby
rbr has quit [Ping timeout: 244 seconds]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
openstruct has quit []
<chey> what do you guys use to write in ruby?
Limix has joined #ruby
<jackdaniel> emacs (:
<chey> using linux?
<jackdaniel> yes, but emacs works fine on windows too
<chey> thanks bro
<jackdaniel> sure. be aware that emacs has somewhat steep learning curve, I knew it before
whathappens has joined #ruby
madgen has joined #ruby
<chey> no worries i learn pretty fast
kareeoleez has joined #ruby
<jackdaniel> sure, just a warning
duderonomy has joined #ruby
andikr has quit [Remote host closed the connection]
duderonomy has quit [Max SendQ exceeded]
DarkBushido has joined #ruby
DarkBushido has quit [Changing host]
DarkBushido has joined #ruby
SilverKey has joined #ruby
<chey> yea i was just trying to find an ide to no avail
duderonomy has joined #ruby
moeabdol has joined #ruby
cocotton has joined #ruby
<smathy> chey, for Linux?
duderonomy has quit [Max SendQ exceeded]
<chey> yea
duderonomy has joined #ruby
enslavedtuna has quit [Ping timeout: 250 seconds]
kareeoleez has quit [Ping timeout: 260 seconds]
synthroid has quit [Remote host closed the connection]
<adaedra> ?ide
<ruby[bot]> an IDE is not necessary to develop with ruby. A decent text editor is sufficient. If you truly want an IDE, take a look at RubyMine by JetBrains (https://www.jetbrains.com/ruby/).
The_Phoenix has joined #ruby
perlgod has quit [Quit: Textual IRC Client: www.textualapp.com]
hhee has joined #ruby
<chey> thanks
LastWhisper____ has quit [Read error: Connection reset by peer]
<chey> i just finished ruby on codecademy i did it twice
sgambino has joined #ruby
<adaedra> twice!
Xeago_ has joined #ruby
<chey> just to make sure
oncall-pokemon has joined #ruby
LastWhisper____ has joined #ruby
<chey> hehe
moeabdol has quit [Ping timeout: 252 seconds]
jaguarmagenta has joined #ruby
Coldblackice has joined #ruby
stannard has quit [Remote host closed the connection]
CausaMortis has quit [Ping timeout: 260 seconds]
idefine has quit [Ping timeout: 244 seconds]
stannard has joined #ruby
idefine has joined #ruby
<soahccc> c_nick: thanks I think that will work :)
terminal_ has joined #ruby
jaguarmagenta has quit [Ping timeout: 276 seconds]
RH72 has joined #ruby
Grantlyk has quit [Remote host closed the connection]
synthroid has joined #ruby
<chey> emacs is quality thanks
whathappens has quit [Quit: Leaving...]
aegis3121 has quit [Ping timeout: 276 seconds]
LastWhisper____ has quit [Ping timeout: 260 seconds]
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RegulationD has joined #ruby
rodfersou is now known as rodfersou|lunch
moeabdol has joined #ruby
kareeoleez has joined #ruby
Couch has quit [Ping timeout: 276 seconds]
stannard has quit [Remote host closed the connection]
emilford has quit [Ping timeout: 250 seconds]
Sot has joined #ruby
stannard has joined #ruby
dikaio has joined #ruby
Xeago_ has quit [Ping timeout: 246 seconds]
yardenbar has quit [Ping timeout: 250 seconds]
[Butch] has joined #ruby
Stephen321 has joined #ruby
<Stephen321> Anyone ever find or develop a documentation standard for Web Forms?
kareeoleez has quit [Ping timeout: 240 seconds]
Xeago_ has joined #ruby
sp4rrow has joined #ruby
Elvin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
infra-red has joined #ruby
Stephen321 has quit []
<chey> what sort of situation do you put two ends at the end guys?
<chey> if indented?
tlaxkit has quit [Quit: ¡Adiós!]
rbennacer has quit [Remote host closed the connection]
<smathy> chey, two ends?
<chey> yea
<smathy> chey, in English, repeating something someone said with a question mark following it is shorthand for "I don't understand what this meant, please elaborate."
gdp has quit [Quit: Leaving]
rojomisin has joined #ruby
<chey> there was a tutorial that i spent ages on the answer cus i had to put end under end
bqscott has quit [Ping timeout: 244 seconds]
<chey> at the end of the script
bronson has joined #ruby
<chey> but then sometimes i dont even put end at the end of a script
<toretore> lol
<chey> strange haha
newjersey has joined #ruby
newjersey has quit [Max SendQ exceeded]
bqscott has joined #ruby
blur3d has quit [Quit: blur3d]
p0p0pr37 has quit [Ping timeout: 240 seconds]
<chey> and to think i have an alevel in english!
nrd_pxs has joined #ruby
pawnbox has joined #ruby
platzhirsch has left #ruby [#ruby]
kareeoleez has joined #ruby
Snowy has quit [Remote host closed the connection]
evidex has quit [Remote host closed the connection]
sneakerhax has joined #ruby
IrishGringo has quit [Ping timeout: 276 seconds]
mrgrieve1 has quit [Ping timeout: 276 seconds]
hobodave_ has joined #ruby
kareeoleez has quit [Ping timeout: 260 seconds]
IrishGringo has joined #ruby
stannard has quit [Remote host closed the connection]
stannard has joined #ruby
rkazak has quit [Ping timeout: 250 seconds]
Grantlyk has joined #ruby
Grantlyk has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
stannard has quit [Remote host closed the connection]
Grantlyk has joined #ruby
djbkd has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
mikecmpbll has quit [Ping timeout: 276 seconds]
Dimik has joined #ruby
djbkd has joined #ruby
S_Waqas has quit [Ping timeout: 244 seconds]
S_Waqas has joined #ruby
blackmes1 has quit [Ping timeout: 260 seconds]
hobodave has quit [Ping timeout: 260 seconds]
Xeago_ has quit [Ping timeout: 240 seconds]
stannard has joined #ruby
stannard has quit [Remote host closed the connection]
idefine has quit [Remote host closed the connection]
rbennacer has joined #ruby
stannard has joined #ruby
idefine has joined #ruby
wldcordeiro has joined #ruby
Grantlyk has quit [Ping timeout: 244 seconds]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
whathappens has joined #ruby
ivanskie has joined #ruby
mitt3ns has joined #ruby
S_Waqas has quit [Ping timeout: 260 seconds]
malconis has joined #ruby
malconis has quit [Remote host closed the connection]
PedramT has quit [Remote host closed the connection]
S_Waqas has joined #ruby
mikecmpbll has joined #ruby
jhack has quit [Quit: jhack]
diegoaguilar has quit [Remote host closed the connection]
antgel has quit [Ping timeout: 246 seconds]
<mitt3ns> Moin
silentpost has joined #ruby
benlieb has joined #ruby
Snowy has joined #ruby
Don_John has joined #ruby
agent_white has quit [Disconnected by services]
Logico has joined #ruby
mitt3ns is now known as agent_white
lsmola has quit [Ping timeout: 252 seconds]
RH72 has quit []
Don_John has quit [Client Quit]
drusepth has joined #ruby
bronson has quit [Remote host closed the connection]
nemish has joined #ruby
kareeoleez has joined #ruby
<nemish> Can someone help me figure out why my puts evaluations are all blank? http://pastebin.com/VN7f8TGe
<ruby[bot]> nemish: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/a6175e41c77edb3df3f402e3f68c19ea
<ruby[bot]> nemish: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
senayar has quit []
<apeiros> role = facts[role] # you override role
roshanavand has quit [Ping timeout: 260 seconds]
blaxter has quit [Read error: Connection reset by peer]
<nemish> apeiros: i'm trying to write role with content above from facts[role]
<nemish> apeiros: in `method_missing': undefined local variable or method `role' for
<nemish> if i remove it
kareeoleez has quit [Read error: No route to host]
<c_nick> nemish: :role is a symbol you have not defined that in the hash
<c_nick> :role and role are diferent
malconis has joined #ruby
Guest38 has joined #ruby
tvw has quit [Read error: Connection reset by peer]
<baweaver> chey for every beginning there must be an end.
infra-red has quit []
<nemish> c_nick: yes that's why i was trying facts[role] which is in the hash
<baweaver> did.... did we just dodge an editor war?
* baweaver is impressed
madgen has quit [Ping timeout: 244 seconds]
_aeris_ has joined #ruby
Snowy has quit [Quit: ragequit]
nanoz has joined #ruby
mtkd has quit [Ping timeout: 276 seconds]
whathappens has quit [Remote host closed the connection]
whathappens has joined #ruby
mtkd has joined #ruby
cocotton has quit [Remote host closed the connection]
<shevy> hmmm
rbennacer has quit [Remote host closed the connection]
aegis3121 has joined #ruby
eljimmy has joined #ruby
ramfjord has joined #ruby
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
freerobby1 has quit [Quit: Leaving.]
Ox0dea has quit [Ping timeout: 244 seconds]
Devalo has quit [Remote host closed the connection]
sp4rrow has joined #ruby
freerobby has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
freerobby has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
SilverKey has quit [Quit: Halted.]
tildes_ has joined #ruby
<nemish> c_nick: here is the full script if it helps: https://gist.github.com/cdenneen/3d170620ccfc38b5b077d9baeaf2cf94
hobodave_ has quit [Quit: Computer has gone to sleep.]
ChiefAlexander has joined #ruby
kareeoleez has joined #ruby
Ebok has quit [Quit: Leaving]
Ebok has joined #ruby
nando293921 has quit [Ping timeout: 252 seconds]
bklane has joined #ruby
salty_solution has joined #ruby
nando293921 has joined #ruby
`tim` has joined #ruby
ramfjord has quit [Ping timeout: 260 seconds]
BSaboia has quit [Quit: Leaving]
BSaboia has joined #ruby
<c_nick> nemish: what is the issue
<salty_solution> Has anyone played with the new rails 5.0 api goodness?
kareeoleez has quit [Ping timeout: 244 seconds]
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> the people on #rubyonrails have!
Ishido has joined #ruby
diegoaguilar has joined #ruby
mikecmpbll has joined #ruby
<c_nick> nemish: comment line 28
nando293921 has quit [Ping timeout: 260 seconds]
* apeiros sobs
igam` has quit [Ping timeout: 260 seconds]
<apeiros> nemish: unless `role` is a method, which i doubt it is, you really should revisit my statement.
nando293921 has joined #ruby
tildes_ has quit [Ping timeout: 260 seconds]
Ebok has quit [Quit: This computer has gone to sleep]
blackmes1 has joined #ruby
openstruct has joined #ruby
jaruga___ has quit [Quit: jaruga___]
marr has joined #ruby
whathappens has quit [Remote host closed the connection]
Guest54109 has quit [Remote host closed the connection]
S_Waqas has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
choke has joined #ruby
Cohedrin has joined #ruby
kareeoleez has joined #ruby
zast has quit [Remote host closed the connection]
the_drow has joined #ruby
mjuszczak has quit []
kareeoleez has quit [Remote host closed the connection]
zzz has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
mesamoo has joined #ruby
whathappens has quit [Remote host closed the connection]
kareeoleez has joined #ruby
the_drow has joined #ruby
whathappens has joined #ruby
bronson has joined #ruby
chouhoul_ has joined #ruby
dionysus69 has quit [Remote host closed the connection]
thorgi_ is now known as thorgi
dionysus69 has joined #ruby
Sot has quit [Ping timeout: 250 seconds]
nando293921 has quit [Ping timeout: 260 seconds]
<benlieb> Can anyone help me understand why ruby-install says it has installed ruby 2.2.3 but then it doesn't list it as available, and can't find it when 2.2.3 is in .ruby-version file?
SilverKey has joined #ruby
Devalo has joined #ruby
<benlieb> or am I misunderstand the default output of ruby-install?
chouhoulis has quit [Ping timeout: 252 seconds]
<havenwood> benlieb: It is successfully installed, but ruby-install doesn't set GEM_HOME, GEM_PATH or modify PATH.
chipotle has quit [Read error: Connection reset by peer]
silentpost has quit [Ping timeout: 260 seconds]
<havenwood> benlieb: chruby will detect the Ruby automatically in that location
<workmad3> benlieb: also, if you're using chruby, then it evaluates its list of available rubies when you load the script... if you install a new ruby, you need to reload chruby for it to find the new one
<benlieb> haven I'm using chruby which should switch
chipotle has joined #ruby
<benlieb> I tried in a new terminal window...
<havenwood> benlieb: chruby doesn't automatically switch unless you set it up to
drewo has joined #ruby
RegulationD has quit [Remote host closed the connection]
<benlieb> it is set up to, and finds 2.2.4, 2.3, etc
<benlieb> is it because it's not "stable"
drewo has quit [Client Quit]
<benlieb> ? I just started a project that is using 2.2.3
<workmad3> benlieb: no... chruby doesn't care about that... it only cares about what rubies it can see
toretore has quit [Ping timeout: 240 seconds]
<havenwood> benlieb: restart your terminal
freerobby1 has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
<havenwood> benlieb: RUBIES gets populated when you source chruby
cjbottaro has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
nando293921 has joined #ruby
aupadhye has quit [Quit: Leaving]
drewo has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Phasee has quit [Quit: Leaving]
<benlieb> havenwood: yeah that worked
<benlieb> had to be another window, not another tab, hm
TheHodge has quit [Ping timeout: 260 seconds]
SCHAAP137 has joined #ruby
PedramT has joined #ruby
dopie_ has joined #ruby
braderhart has quit [Ping timeout: 260 seconds]
ELCALOR has quit [Ping timeout: 240 seconds]
yardenbar has joined #ruby
jimcroft has quit [Ping timeout: 260 seconds]
lipoqil has quit [Ping timeout: 260 seconds]
jmcc___________ has quit [Ping timeout: 260 seconds]
err_ok has quit [Ping timeout: 260 seconds]
jlyndon has quit [Ping timeout: 260 seconds]
ggherdov has quit [Ping timeout: 260 seconds]
TheWhip has joined #ruby
idefine has quit [Remote host closed the connection]
bronson has quit [Remote host closed the connection]
sp4rrow has quit [Read error: Connection reset by peer]
Lightsword has quit [Quit: ZNC]
rodfersou|lunch is now known as rodfersou
lipoqil has joined #ruby
jlyndon has joined #ruby
discounted has joined #ruby
jmcc___________ has joined #ruby
dopie has quit [Ping timeout: 260 seconds]
sp4rrow has joined #ruby
shinnya has quit [Ping timeout: 252 seconds]
TheHodge has joined #ruby
ELCALOR has joined #ruby
PedramT has quit [Ping timeout: 246 seconds]
discounted has quit [Client Quit]
Elvin has joined #ruby
discounted has joined #ruby
chouhoul_ has quit [Remote host closed the connection]
Phasee has joined #ruby
Asher has quit [Quit: Leaving.]
idefine has joined #ruby
chouhoulis has joined #ruby
err_ok has joined #ruby
jimcroft has joined #ruby
p0p0pr37 has joined #ruby
Lightsword has joined #ruby
chouhoul_ has joined #ruby
Asher has joined #ruby
choke has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Karunamon has quit [Ping timeout: 264 seconds]
dikaio has joined #ruby
idefine has quit [Ping timeout: 252 seconds]
idefine has joined #ruby
ggherdov has joined #ruby
braderhart has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
Karunamon has joined #ruby
whathappens has quit [Remote host closed the connection]
chouhoul_ has quit [Ping timeout: 246 seconds]
whathappens has joined #ruby
<nemish> apeiros: maybe I'm not fully understanding your statement? You said I'm overriding role = facts[role]. role isn't currently set (only inside the facts hash). I'm trying to print out facts[role] and it's empty
toretore has joined #ruby
djbkd has quit [Remote host closed the connection]
ramfjord has joined #ruby
bronson has joined #ruby
Phasee has quit [Quit: Leaving]
karapetyan has joined #ruby
<nemish> c_nick: I can and just did comment out line 28... but the 2 puts above it are printing blank values
bklane has quit [Read error: Connection reset by peer]
govg has joined #ruby
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
<nemish> My Role is
<nemish> My FactsRole is
<nemish> nothing evaluating for either
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rbennacer has joined #ruby
Lomex has joined #ruby
discounted has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<nemish> is it because it's within the same context?
bklane has joined #ruby
<zacts> hi rubyists
charliesome has joined #ruby
roadt__ has joined #ruby
roadt__ has quit [Max SendQ exceeded]
Phasee has joined #ruby
roadt__ has joined #ruby
elifoster has joined #ruby
roadt__ has quit [Max SendQ exceeded]
codecop has joined #ruby
roadt_ has quit [Ping timeout: 250 seconds]
roadt__ has joined #ruby
xcesariox has quit [Read error: Connection reset by peer]
charliesome has quit [Client Quit]
jaguarmagenta has joined #ruby
ta_ has joined #ruby
salty_solution has quit [Ping timeout: 250 seconds]
sp4rrow has joined #ruby
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
Miron has quit [Ping timeout: 244 seconds]
jaguarmagenta has quit [Ping timeout: 240 seconds]
soulisson has joined #ruby
Miron has joined #ruby
<shevy> yo zacts the man
bluOxigen has joined #ruby
<soulisson> Hi, are xml external entities fetched when they are declared or when they are used? or does it depend on the parser?
bluOxigen_ has quit [Ping timeout: 250 seconds]
charliesome has joined #ruby
ramfjord_ has joined #ruby
howdoico1 has joined #ruby
xcesariox has joined #ruby
ramfjord has quit [Ping timeout: 276 seconds]
bklane has quit [Remote host closed the connection]
Guest15533 has joined #ruby
<soulisson> any one?
flashpoint9 has quit [Remote host closed the connection]
discounted has joined #ruby
flashpoint9 has joined #ruby
skade has joined #ruby
cdg has quit [Remote host closed the connection]
bklane has joined #ruby
Pumukel has joined #ruby
bklane has quit [Remote host closed the connection]
d0lph1n98 has quit [Ping timeout: 244 seconds]
openstruct has quit []
hanmac has quit [Ping timeout: 250 seconds]
Ebok has joined #ruby
roadt_ has joined #ruby
hanmac has joined #ruby
soulisson_ has joined #ruby
roadt__ has quit [Ping timeout: 246 seconds]
discounted has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
roadt_ has quit [Max SendQ exceeded]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Ispira> nuby here with a question about methods
soulisson has quit [Ping timeout: 246 seconds]
<Ispira> just learning the language and it confuses me with one thing
blackmes1 has quit [Ping timeout: 276 seconds]
SilverKey has quit [Quit: Halted.]
<Ispira> object.method1.method2.method3 was shown to me to work, and I used it in an earlier part of this
tildes_ has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
<Ispira> previously I used gets.chomp.upcase! and that worked fine and dandy
<Ispira> but gets.chomp.split!(' ') does not work
SilverKey has joined #ruby
<mustmodify> lspira: try split instead of split!
hobodave has joined #ruby
<Ispira> ooooh I see
<mustmodify> split! isn't an option... generally speaking, methods ending in ! have a similar method that does not end in ! and do one of two things.
isxek has quit [Quit: Leaving]
<Ispira> it /needs/ to make a copy since it's changing object type?
<Ispira> basically
<mustmodify> either they change the underlying object or they raise an error.
<mustmodify> lspira: right, doesn't make sense to change a string to an arrya
<Ispira> whereas calling upcase! can modify in-place because it's just manipulating data that's already there, rather than making a new data
<Ispira> Alright thanks :D
benlieb has quit [Quit: benlieb]
twistedpixels has quit [Excess Flood]
diegoaguilar has quit [Remote host closed the connection]
twistedpixels has joined #ruby
codecop has quit [Remote host closed the connection]
troulouliou_div2 has quit [Quit: Leaving]
sauvin has quit [Remote host closed the connection]
dionysus69 has quit [Remote host closed the connection]
soulisson_ has quit [Ping timeout: 240 seconds]
dionysus69 has joined #ruby
inukshuk_ has joined #ruby
inukshuk_ has quit [Client Quit]
hanmac has quit [Remote host closed the connection]
nixfreak has joined #ruby
<nixfreak> I need to install ruby , rubygems, and several gems on a offline server what would be the best way to do this?
The_Phoenix has quit [Read error: Connection reset by peer]
<shevy> rubygems is included in ruby since quite a long time by now
<shevy> gems that don't have to be compiled, are in the .gem format, which you can batch-install locally
IrishGringo has quit [Ping timeout: 250 seconds]
skade has quit [Quit: Computer has gone to sleep.]
djbkd has joined #ruby
skade has joined #ruby
GodFather has quit [Ping timeout: 244 seconds]
djbkd has quit [Read error: Connection reset by peer]
_djbkd has joined #ruby
RegulationD has joined #ruby
roadt_ has joined #ruby
<havenwood> nixfreak: There are a variety of options. A production server? Just need one Ruby?
idefine_ has joined #ruby
<havenwood> nixfreak: Like shevy said, RubyGems ships with Ruby so you'd just need Ruby and the gems.
_djbkd has quit [Remote host closed the connection]
roadt__ has joined #ruby
<nixfreak> Ok so so far this is what I need according to my test machine, @havenwood no its going to be software testing on staging env.
drewo has quit [Ping timeout: 252 seconds]
Guest15533 has quit []
<havenwood> nixfreak: So need a Ruby switcher or just one Ruby?
akem has quit [Quit: Quitte]
<zacts> yo yo
<havenwood> zacts: yo
<zacts> I <3 this nokogiri gem
<havenwood> zacts: See also Oga: https://github.com/YorickPeterse/oga#readme
<zacts> I'm going to learn mechanize next
Lomex has quit [Remote host closed the connection]
<zacts> oh nice
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
<pipework> zacts: I suggest you share your feelings with the gem. It might be scary, but if there are shared feelings, it might be the best thing in the world. Alternatively, it might crush you… but I say go for it!
idefine has quit [Ping timeout: 252 seconds]
<nixfreak> Just one Ruby for now
replay has joined #ruby
RegulationD has quit [Ping timeout: 246 seconds]
benlieb has joined #ruby
Ox0dea has joined #ruby
<shevy> zacts teach me too! I used to play with it years ago, then some changes happened, nokogiri was added and acted weird and I lost interest for a while. But I need some way to interact with remote websites from some ruby scripts eventually
<nixfreak> I'm just trying to figure out how many depends I need
roadt_ has quit [Ping timeout: 252 seconds]
freerobby1 has quit [Quit: Leaving.]
jenrzzz has joined #ruby
<havenwood> nixfreak: tar -xjvf ruby-2.3.1.tar.bz2 && cd ruby-2.3.1 && ./configure && make && sudo make install
<havenwood> nixfreak: You can just copy ruby-2.3.1.tar.bz2 to your server and install it by hand if you'd like ^
freerobby has joined #ruby
<havenwood> nixfreak: Then it's easy to install local gems.
SilverKey has quit [Quit: Halted.]
mrgrieves has quit [Quit: leaving]
<zacts> shevy: well I think nokogiri has both XPath and CSS styles of navigating recursive XML/HTML structures
sdothum has joined #ruby
<nixfreak> yeah I will have to build it which is fine , but then do I just download all of the gems and install
<zacts> so you can choose
c_nick has quit [Quit: Leaving.]
<zacts> the guide on http://www.nokogiri.org/ is a good intro
<havenwood> nixfreak: Another option is Traveling Ruby but I'm not sure that makes sense for your usecase: http://phusion.github.io/traveling-ruby/
SilverKey has joined #ruby
idefine_ has quit [Remote host closed the connection]
perlgod has joined #ruby
<pipework> shevy: mechanize has a nice API.
<shevy> nixfreak the .gem files are easy, just put them all onto a USB stick
<zacts> it looks like this Oga gem uses only XPath
diegoaguilar has joined #ruby
<zacts> Oga seems cool for certain applications
<shevy> ruby itself you may have to compile, either on the offline computer, or build it on another one, then copy the respective files (should work without problem if it is the same arch)
<pipework> zacts: Read the whole readme.
<zacts> but I would have to try it
<zacts> pipework: ah ok
<zacts> ah I see
<zacts> cool
<havenwood> zacts: It's not just XPath, there're CSS queries as well.
<nixfreak> ok great sounds like I answered my own questions , I'm new at ruby so I wanted to get a better opinon
<zacts> neato
<pipework> havenwood: And sax parsing!
<havenwood> pipework: :D
<pipework> So kinda like almost but does that even?
rcvalle has joined #ruby
<zacts> perhaps I may prefer oga over nokogiri, I'll have to try it out
Gandalf has joined #ruby
Gandalf is now known as Guest28754
yardenbar has quit [Ping timeout: 260 seconds]
Pumukel has quit [Ping timeout: 276 seconds]
<pipework> zacts: Lots of gems depend on nokogiri, but I suspect if you're using those you don't often care about the underlying library.
drewo has joined #ruby
CloCkWeRX has quit [Ping timeout: 246 seconds]
whathappens has quit [Remote host closed the connection]
chouhoulis has joined #ruby
perlgod_ has joined #ruby
blackmes1 has joined #ruby
davedev24 has joined #ruby
perlgod has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
chouhoul_ has joined #ruby
ptx0 has joined #ruby
whathappens has joined #ruby
<zacts> ah yeah
skade has quit [Quit: Computer has gone to sleep.]
c_nick has joined #ruby
c_nick has left #ruby [#ruby]
<shevy> hmmm one of my gems has a Gem::MissingSpecError
chouhoulis has quit [Ping timeout: 276 seconds]
<shevy> aha... I do a rescue Gem::LoadError
blackmes1 has quit [Ping timeout: 276 seconds]
nando293921 has quit [Ping timeout: 276 seconds]
TheWhip has quit [Remote host closed the connection]
Rush has joined #ruby
RushPL has joined #ruby
synthroid has quit [Remote host closed the connection]
roadt__ has quit [Ping timeout: 240 seconds]
yardenbar has joined #ruby
felltir has joined #ruby
Elvin has quit [Quit: Textual IRC Client: www.textualapp.com]
synthroid has joined #ruby
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
Es0teric has joined #ruby
nanoz has quit [Read error: Connection reset by peer]
benlieb has quit [Quit: benlieb]
idefine has joined #ruby
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
soulisson has joined #ruby
soulisson has quit [Client Quit]
RegulationD has joined #ruby
hanmac has joined #ruby
idefine has quit [Ping timeout: 246 seconds]
JakFrist has joined #ruby
zzz has quit [Quit: Leaving...]
elaptics is now known as elaptics`away
bronson has quit [Remote host closed the connection]
discounted has joined #ruby
eljimmy has quit [Quit: This computer has gone to sleep]
skade has joined #ruby
pietr0 has joined #ruby
roadt__ has joined #ruby
SilverKey has quit [Quit: Halted.]
benny_ has joined #ruby
elifoster has quit [Ping timeout: 276 seconds]
tjohnson has joined #ruby
elifoster has joined #ruby
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
d0nn1e has joined #ruby
govg has quit [Quit: leaving]
discounted has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
SilverKey has joined #ruby
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
Guest28754 has quit []
idefine has joined #ruby
chipotle has quit [Ping timeout: 250 seconds]
madgen has joined #ruby
benny_ has left #ruby [#ruby]
discounted has joined #ruby
govg has joined #ruby
discounted has quit [Client Quit]
yfeldblum has joined #ruby
chouhoul_ has quit [Remote host closed the connection]
chouhoulis has joined #ruby
roadt_ has joined #ruby
toretore has quit [Ping timeout: 246 seconds]
justin_pdx has joined #ruby
aswen has joined #ruby
chipotle has joined #ruby
karmatr0n has quit [Ping timeout: 252 seconds]
roadt__ has quit [Ping timeout: 276 seconds]
perlgod_ is now known as perlgod
tildes_ has quit [Ping timeout: 244 seconds]
aegis3121 has quit [Ping timeout: 244 seconds]
benlieb has joined #ruby
roadt__ has joined #ruby
blackmes1 has joined #ruby
roadt_ has quit [Ping timeout: 276 seconds]
ramortegui has quit [Quit: Ex-Chat]
berserk_ren has quit [Ping timeout: 252 seconds]
govg has quit [Ping timeout: 276 seconds]
craysiii has joined #ruby
jds has quit [Quit: Connection closed for inactivity]
tildes_ has joined #ruby
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
giz|work has joined #ruby
haylon has joined #ruby
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
perlgod has quit [Quit: Textual IRC Client: www.textualapp.com]
dhollinger has quit [Quit: WeeChat 1.4]
eljimmy has joined #ruby
aegis3121 has joined #ruby
sp4rrow has joined #ruby
sharkman has quit [Ping timeout: 276 seconds]
Snowy has joined #ruby
helpa has quit [Remote host closed the connection]
yardenbar has quit [Quit: Leaving]
IrishGringo has joined #ruby
tvw has joined #ruby
elifoster has quit [Ping timeout: 244 seconds]
skade has quit [Quit: Computer has gone to sleep.]
helpa has joined #ruby
Xeago_ has joined #ruby
FooMunki has quit [Quit: FooMunki]
discounted has joined #ruby
FooMunki has joined #ruby
karmatr0n has joined #ruby
Kamilion has quit [*.net *.split]
chipotle has quit [*.net *.split]
justin_pdx has quit [*.net *.split]
chouhoulis has quit [*.net *.split]
madgen has quit [*.net *.split]
d0nn1e has quit [*.net *.split]
whathappens has quit [*.net *.split]
RegulationD has quit [*.net *.split]
diegoaguilar has quit [*.net *.split]
xcesariox has quit [*.net *.split]
bluOxigen has quit [*.net *.split]
Asher has quit [*.net *.split]
p0p0pr37 has quit [*.net *.split]
mikecmpbll has quit [*.net *.split]
Ishido has quit [*.net *.split]
agent_white has quit [*.net *.split]
nrd_pxs has quit [*.net *.split]
[Butch] has quit [*.net *.split]
moeabdol has quit [*.net *.split]
duderonomy has quit [*.net *.split]
Logico has quit [*.net *.split]
nerium has quit [*.net *.split]
godzillaenlacasa has quit [*.net *.split]
Vingador_ has quit [*.net *.split]
gnufied has quit [*.net *.split]
ByronJohnson has quit [*.net *.split]
akahn has quit [*.net *.split]
Expanse has quit [*.net *.split]
pfg has quit [*.net *.split]
nyuszika7h has quit [*.net *.split]
gmas has quit [*.net *.split]
ged_ has quit [*.net *.split]
PaulCape_ has quit [*.net *.split]
zzak has quit [*.net *.split]
Y_Ichiro has quit [*.net *.split]
gix has quit [*.net *.split]
reaVer has quit [*.net *.split]
JoshL has quit [*.net *.split]
danzilio has quit [*.net *.split]
fumduq- has quit [*.net *.split]
astrobun_ has quit [*.net *.split]
csaunders_ has quit [*.net *.split]
z3uS has quit [*.net *.split]
swistak35_ has quit [*.net *.split]
sarlalian_ has quit [*.net *.split]
FifthWall has quit [*.net *.split]
renderfu_ has quit [*.net *.split]
mikeiniowa has quit [*.net *.split]
Fernando-Basso has quit [*.net *.split]
Guest35736 has quit [*.net *.split]
sarbs has quit [*.net *.split]
AustinMatherne has quit [*.net *.split]
Rubycito has quit [*.net *.split]
spacemud has quit [*.net *.split]
gomix has quit [*.net *.split]
TheMoonMaster has quit [*.net *.split]
Puffball has quit [*.net *.split]
BTRE has quit [*.net *.split]
john3 has quit [*.net *.split]
g____ has quit [*.net *.split]
Danielss89 has quit [*.net *.split]
ejnahc has quit [*.net *.split]
dreinull has quit [*.net *.split]
eboaz has quit [*.net *.split]
cfillion has quit [*.net *.split]
colegatron has quit [*.net *.split]
iNs has quit [*.net *.split]
crankharder has quit [*.net *.split]
ltp has quit [*.net *.split]
apeiros has quit [*.net *.split]
KramerC has quit [*.net *.split]
crank1988 has quit [*.net *.split]
bmn has quit [*.net *.split]
stryek has quit [*.net *.split]
Papierkorb has quit [*.net *.split]
Nilium has quit [*.net *.split]
Adam_FrVancouver has quit [*.net *.split]
brainslug has quit [*.net *.split]
Authenticator has quit [*.net *.split]
benlieb has quit [*.net *.split]
freerobby has quit [*.net *.split]
jenrzzz has quit [*.net *.split]
flashpoint9 has quit [*.net *.split]
howdoico1 has quit [*.net *.split]
Miron has quit [*.net *.split]
Karunamon has quit [*.net *.split]
pawnbox has quit [*.net *.split]
rojomisin has quit [*.net *.split]
borodin has quit [*.net *.split]
ixti has quit [*.net *.split]
VeryBewitching has quit [*.net *.split]
PaulePanter has quit [*.net *.split]
johnmilton has quit [*.net *.split]
cpup has quit [*.net *.split]
sepp2k has quit [*.net *.split]
priodev has quit [*.net *.split]
constantinexvi has quit [*.net *.split]
Rixius has quit [*.net *.split]
mg^ has quit [*.net *.split]
solocshaw has quit [*.net *.split]
nullwarp has quit [*.net *.split]
kriskropd has quit [*.net *.split]
hayden_ has quit [*.net *.split]
robbyoconnor has quit [*.net *.split]
mgorbach has quit [*.net *.split]
ceegee_ has quit [*.net *.split]
peterhu_ has quit [*.net *.split]
tw1sted has quit [*.net *.split]
hfp_work has quit [*.net *.split]
ryotarai has quit [*.net *.split]
djellemah_ has quit [*.net *.split]
valeri_ufo has quit [*.net *.split]
croberts has quit [*.net *.split]
greister has quit [*.net *.split]
JesseH2 has quit [*.net *.split]
aef has quit [*.net *.split]
nisstyre has quit [*.net *.split]
baweaver has quit [*.net *.split]
sphex has quit [*.net *.split]
svkurowski has quit [*.net *.split]
Lycaonian has quit [*.net *.split]
joconcepts has quit [*.net *.split]
M-shine has quit [*.net *.split]
julie_harshaw has quit [*.net *.split]
ruskie has quit [*.net *.split]
beawesomeinstead has quit [*.net *.split]
wnd has quit [*.net *.split]
ghr has quit [*.net *.split]
ghoti has quit [*.net *.split]
mattp_ has quit [*.net *.split]
M-mistake has quit [*.net *.split]
edwardly has quit [*.net *.split]
musl has quit [*.net *.split]
papercode has quit [*.net *.split]
bnagy_ has quit [*.net *.split]
trollface has quit [*.net *.split]
tjvc has quit [*.net *.split]
yorickpeterse has quit [*.net *.split]
sonne has quit [*.net *.split]
thai_ has quit [*.net *.split]
unsymbol has quit [*.net *.split]
mhenrixon has quit [*.net *.split]
KervyN has quit [*.net *.split]
mmasaki has quit [*.net *.split]
spider-mario has joined #ruby
drewo has quit [Ping timeout: 276 seconds]
tildes_ has quit [Ping timeout: 250 seconds]
nchambers is now known as mute
atmosx has quit [Quit: rage rage against the dying of the light...]
kriskropd has joined #ruby
mute is now known as nchambers
idefine has quit [Ping timeout: 250 seconds]
devbug has joined #ruby
acerna has quit [Ping timeout: 276 seconds]
funnel has quit [Ping timeout: 276 seconds]
[Butch] has joined #ruby
Xeago_ has quit [Remote host closed the connection]
TheWhip has joined #ruby
akkmaxon has joined #ruby
acerna has joined #ruby
roadt_ has joined #ruby
rodfersou is now known as rodfersou|afk
akkmaxon has quit [Client Quit]
solocshaw has joined #ruby
nyuszika7h has joined #ruby
akkmaxon has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dopie_ has quit [Quit: Lost terminal]
FooMunki has quit [Quit: FooMunki]
roadt__ has quit [Ping timeout: 244 seconds]
mikecmpbll has joined #ruby
Moosashi has joined #ruby
funnel has joined #ruby
emilford has joined #ruby
benlieb has joined #ruby
freerobby has joined #ruby
flashpoint9 has joined #ruby
Miron has joined #ruby
jenrzzz has joined #ruby
Karunamon has joined #ruby
pawnbox has joined #ruby
rojomisin has joined #ruby
borodin has joined #ruby
ixti has joined #ruby
VeryBewitching has joined #ruby
johnmilton has joined #ruby
PaulePanter has joined #ruby
cpup has joined #ruby
sepp2k has joined #ruby
priodev has joined #ruby
constantinexvi has joined #ruby
Rixius has joined #ruby
mg^ has joined #ruby
nullwarp has joined #ruby
hayden_ has joined #ruby
mgorbach has joined #ruby
ceegee_ has joined #ruby
peterhu_ has joined #ruby
tw1sted has joined #ruby
hfp_work has joined #ruby
djellemah_ has joined #ruby
ryotarai has joined #ruby
croberts has joined #ruby
valeri_ufo has joined #ruby
JesseH2 has joined #ruby
greister has joined #ruby
aef has joined #ruby
baweaver has joined #ruby
nisstyre has joined #ruby
svkurowski has joined #ruby
sphex has joined #ruby
joconcepts has joined #ruby
Lycaonian has joined #ruby
M-shine has joined #ruby
julie_harshaw has joined #ruby
ruskie has joined #ruby
beawesomeinstead has joined #ruby
wnd has joined #ruby
ghr has joined #ruby
ghoti has joined #ruby
mattp_ has joined #ruby
M-mistake has joined #ruby
edwardly has joined #ruby
musl has joined #ruby
papercode has joined #ruby
bnagy_ has joined #ruby
trollface has joined #ruby
tjvc has joined #ruby
yorickpeterse has joined #ruby
sonne has joined #ruby
thai_ has joined #ruby
unsymbol has joined #ruby
mhenrixon has joined #ruby
KervyN has joined #ruby
mmasaki has joined #ruby
dopie has joined #ruby
chipotle has joined #ruby
chouhoulis has joined #ruby
madgen has joined #ruby
justin_pdx has joined #ruby
d0nn1e has joined #ruby
RegulationD has joined #ruby
diegoaguilar has joined #ruby
xcesariox has joined #ruby
bluOxigen has joined #ruby
Asher has joined #ruby
p0p0pr37 has joined #ruby
Ishido has joined #ruby
Logico has joined #ruby
nrd_pxs has joined #ruby
agent_white has joined #ruby
moeabdol has joined #ruby
duderonomy has joined #ruby
nerium has joined #ruby
godzillaenlacasa has joined #ruby
gnufied has joined #ruby
Vingador_ has joined #ruby
ByronJohnson has joined #ruby
akahn has joined #ruby
Expanse has joined #ruby
pfg has joined #ruby
gmas has joined #ruby
PaulCape_ has joined #ruby
ged_ has joined #ruby
zzak has joined #ruby
Y_Ichiro has joined #ruby
gix has joined #ruby
reaVer has joined #ruby
JoshL has joined #ruby
fumduq- has joined #ruby
danzilio has joined #ruby
cfillion has joined #ruby
gomix has joined #ruby
astrobun_ has joined #ruby
csaunders_ has joined #ruby
z3uS has joined #ruby
swistak35_ has joined #ruby
FifthWall has joined #ruby
sarlalian_ has joined #ruby
Rubycito has joined #ruby
renderfu_ has joined #ruby
mikeiniowa has joined #ruby
Fernando-Basso has joined #ruby
sarbs has joined #ruby
AustinMatherne has joined #ruby
Guest35736 has joined #ruby
dreinull has joined #ruby
spacemud has joined #ruby
Puffball has joined #ruby
TheMoonMaster has joined #ruby
john3 has joined #ruby
BTRE has joined #ruby
g____ has joined #ruby
Danielss89 has joined #ruby
ejnahc has joined #ruby
eboaz has joined #ruby
colegatron has joined #ruby
iNs has joined #ruby
ltp has joined #ruby
crankharder has joined #ruby
crank1988 has joined #ruby
apeiros has joined #ruby
KramerC has joined #ruby
bmn has joined #ruby
stryek has joined #ruby
Papierkorb has joined #ruby
Nilium has joined #ruby
Adam_FrVancouver has joined #ruby
brainslug has joined #ruby
Authenticator has joined #ruby
dopie has quit [Client Quit]
pawnbox has quit [Remote host closed the connection]
xcesariox has quit [Max SendQ exceeded]
sj has joined #ruby
ferr has quit [Ping timeout: 244 seconds]
Vingador_ has quit [Remote host closed the connection]
al2o3-cr has joined #ruby
idefine has joined #ruby
idefine has quit [Remote host closed the connection]
sj is now known as perniciouscaffei
idefine has joined #ruby
al2o3-cr is now known as Guest36030
nisstyre has quit [Max SendQ exceeded]
Guest36030 has quit [Client Quit]
moei has quit [Ping timeout: 244 seconds]
charlespl has joined #ruby
chandlerbing has quit [Ping timeout: 276 seconds]
al2o3-cr1 has joined #ruby
sneakerhax has quit [Ping timeout: 246 seconds]
karmatr0n has quit [Read error: Connection reset by peer]
al2o3-cr1 is now known as al2o3-cr
karmatr0_ has joined #ruby
nisstyre has joined #ruby
shadowdf has joined #ruby
<shadowdf> Boa tarde pessoal
jaguarmagenta has joined #ruby
mjuszczak has joined #ruby
kirun has joined #ruby
<nemish> apeiros: what do you feel I'm missing?
bronson has joined #ruby
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
funnel has quit [Changing host]
funnel has joined #ruby
Gasher has quit [Ping timeout: 244 seconds]
moei has joined #ruby
<adaedra> hi shadowdf, this is an english-speaking channel
Bugboy1028 has quit [Remote host closed the connection]
tildes_ has joined #ruby
aef has quit [Read error: Connection reset by peer]
Rickmasta has joined #ruby
`tim` has joined #ruby
<shadowdf> ok
jaguarmagenta has quit [Ping timeout: 246 seconds]
duderonomy has quit [Ping timeout: 252 seconds]
steve has quit [Ping timeout: 244 seconds]
replay has quit [Ping timeout: 246 seconds]
Phasee has quit [Quit: Leaving]
aef has joined #ruby
benlieb has quit [Quit: benlieb]
djbkd has joined #ruby
mtkd has quit [Ping timeout: 246 seconds]
al2o3-cr has quit [Ping timeout: 276 seconds]
Bugboy1028 has joined #ruby
mtkd has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
karapetyan has quit [Remote host closed the connection]
tildes_ has quit [Ping timeout: 246 seconds]
karapetyan has joined #ruby
roadt__ has joined #ruby
whathappens has joined #ruby
djbkd has quit [Ping timeout: 250 seconds]
Kamilion has joined #ruby
roadt_ has quit [Ping timeout: 276 seconds]
drewo has joined #ruby
djbkd has joined #ruby
whathappens has quit [Remote host closed the connection]
moei has quit [Quit: Leaving...]
Gasher has joined #ruby
|2701 has quit [Disconnected by services]
karmatr0_ has quit []
karapetyan has quit [Ping timeout: 276 seconds]
|2701_ has joined #ruby
Madplatypus has joined #ruby
bobbycvi has joined #ruby
diegoviola has quit [Ping timeout: 250 seconds]
LastWhisper____ has joined #ruby
rojomisi1 has joined #ruby
blackgoat has joined #ruby
karapetyan has joined #ruby
djbkd has quit [Remote host closed the connection]
rojomisin has quit [Ping timeout: 240 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
TheHodge has quit [Quit: Connection closed for inactivity]
steve has joined #ruby
yfeldblum has quit [Remote host closed the connection]
sepp2k has quit [Quit: Leaving.]
aegis3121 has quit [Ping timeout: 250 seconds]
GodFather has joined #ruby
weemsledeux has joined #ruby
akkmaxon has quit [Quit: Konversation terminated!]
discounted has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
roadt_ has joined #ruby
Blaguvest has quit []
der-landgraf has quit [Quit: WeeChat 1.4]
howdoico1 has joined #ruby
roadt__ has quit [Ping timeout: 252 seconds]
<shevy> I can speak more than english!
Pumukel has quit [Quit: ChatZilla 0.9.92 [Firefox 45.0.2/20160407164938]]
|2701_ is now known as |2701
flashpoint9 has quit [Remote host closed the connection]
<adaedra> A lot of people here can; however, English is the most common denominator, being the international lingua franca.
der-landgraf has joined #ruby
drewo has quit [Ping timeout: 246 seconds]
<pipework> I thought food was the international lingua franca? (besides, I don't like beef tongue anyways.)
<adaedra> ahah.
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
<adaedra> Ein andere Sprache sprechen ist nicht nett für Volk wem kann nicht es sprechen
dhollinger has joined #ruby
<adaedra> (sorry for any horror I could have written here)
<shevy> haha
auxbuss has joined #ruby
<shevy> I grade you a B for the above
sp4rrow has joined #ruby
shadowdf has quit [Ping timeout: 246 seconds]
<adaedra> (moving to ot)
idefine has quit [Ping timeout: 276 seconds]
mjuszcza_ has joined #ruby
discounted has joined #ruby
duckpuppy has quit [Ping timeout: 260 seconds]
Xeago_ has joined #ruby
jonathanwallace_ has joined #ruby
charliesome has joined #ruby
discounted has quit [Client Quit]
Devalo has quit [Remote host closed the connection]
mjuszczak has quit [Ping timeout: 260 seconds]
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tax has joined #ruby
aegis3121 has joined #ruby
salty_solution has joined #ruby
scepticulous has joined #ruby
<zacts> anyway, I still have much to learn about ruby and oop
<zacts> I'm such a newbie right now
<zacts> :-)
DevastatingDave has joined #ruby
<zacts> next after the ruby text processing and ruby cli books, I'm reading the ruby black book 2nd edition
<zacts> The Well Grounded Rubyist
<zacts> I need to learn Ruby and OOP
mustmodify has left #ruby [#ruby]
<adaedra> Practicing is also a great way to learn
<zacts> but I figured starting with UNIXy cli and text tools would give me a good start
<zacts> adaedra: indeed =)
<zacts> I'm starting small though
<adaedra> good.
<zacts> small utility scripts, and then larger tools that require more class definitions
<shevy> yay
<zacts> and then to full Ruby programming, and eventually frameworks like rails
<shevy> this is the best way to start!
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
wldcordeiro has quit [Ping timeout: 260 seconds]
auxbuss has quit [Quit: I'm gone.]
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
discounted has joined #ruby
<baweaver> https://imagetragick.com/ - ImageMagick CVE, update your stuff people.
Es0teric has joined #ruby
<akkad> or don't use imagemagick
<akkad> idiots and their dumb naming of bugs.
<baweaver> it's commonly used enough
sp4rrow has joined #ruby
IrishGringo has quit [Ping timeout: 260 seconds]
Es0teric has quit [Client Quit]
<akkad> tragedy: ode to goats. the last song in a Dionysian play
<baweaver> akkad no need for name calling in any case
northrup has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DoubleMalt has joined #ruby
chandlerbing has joined #ruby
synthroid has quit []
discounted has quit [Client Quit]
<pipework> I think it's amusing. It's not like the CVE isn't in a public database too...
<pipework> there's greater need for calling people idiots who don't subscribe to security mailing lists for everything they use than there is for someone spending the money to buy a domain and name a bug.
karapetyan has quit [Remote host closed the connection]
<akkad> domain registration over a CVE?
<pipework> akkad: When you have loads of cash from your high paying software engineering job, you wouldn't even think twice, likely.
<adaedra> For what a domain costs nowadays
<pipework> Get one! Buy all the domains!
<pipework> Name all the CVE's!
<baweaver> wasn't it like $10 a year?
roadt__ has joined #ruby
<pipework> You can get them less, but generally around there, yeah
<baweaver> yeah, but those sites are pains to work with
<pipework> I mostly do gandi, then namecheap, then nic.<tld>
nofacade has quit [Ping timeout: 260 seconds]
<adaedra> Anyway, we're offtopicying here.
Lomex has joined #ruby
<baweaver> yessir
<baweaver> ?ot
<ruby[bot]> this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related topics. Thanks!
graft has quit [Quit: Lost terminal]
chopin has joined #ruby
discounted has joined #ruby
roadt_ has quit [Ping timeout: 246 seconds]
karapetyan has joined #ruby
ixti has quit [Quit: WeeChat 1.4]
whathappens has joined #ruby
ixti has joined #ruby
shark has joined #ruby
shark is now known as Guest37414
freerobby has quit [Quit: Leaving.]
SCHAAP137 has quit [Ping timeout: 250 seconds]
ur5us has joined #ruby
cloaked1 has joined #ruby
cloaked1 has quit [Changing host]
cloaked1 has joined #ruby
freerobby has joined #ruby
<chopin> Hi all, quick question on best practices. I've read the patterns and good practices section on rubygems.org and done some googling but haven't found a complete answer.
<majuscule> that's not a question!
workmad3 has joined #ruby
<pipework> chopin: There isn't one.
<chopin> I'm building my first gem which is a wrapper for an API. What's the best place to set a constant for the gem. Say for example the base url for said API?
DoubleMalt has quit [Remote host closed the connection]
<adaedra> That sounds more like some configuration.
<pipework> chopin: I don't necessarily like singleton constants for that. I prefer a configuration object.
<pipework> singletons/constants*
<chopin> Excellent. I guess it did feel 'weird'. I will do some more Googling. ty!
mjuszcza_ has quit []
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DoubleMalt has joined #ruby
hobodave has quit [Quit: Computer has gone to sleep.]
workmad3 has quit [Ping timeout: 260 seconds]
tvw has quit []
skade has joined #ruby
felltir has quit []
skade has quit [Client Quit]
SCHAAP137 has joined #ruby
Moosashi has quit [Quit: Moosashi]
drusepth has quit [Ping timeout: 246 seconds]
ldnunes has quit [Quit: Leaving]
dikaio has joined #ruby
Grantlyk has joined #ruby
chopin has quit [Remote host closed the connection]
GinoMan2440 has quit [Ping timeout: 244 seconds]
Grantlyk has quit [Read error: Connection reset by peer]
Grantlyk has joined #ruby
mjuszczak has joined #ruby
pawnbox has joined #ruby
mjuszcza_ has joined #ruby
mjuszcza_ has quit [Max SendQ exceeded]
kareeoleez has quit [Remote host closed the connection]
rbennacer has quit [Remote host closed the connection]
mjuszcza_ has joined #ruby
mjuszcza_ has quit [Max SendQ exceeded]
wldcordeiro has joined #ruby
Grantlyk has quit [Ping timeout: 244 seconds]
mjuszcza_ has joined #ruby
rbennace_ has joined #ruby
roadt__ has quit [Ping timeout: 250 seconds]
mjuszczak has quit [Ping timeout: 240 seconds]
pawnbox has quit [Ping timeout: 244 seconds]
hobodave has joined #ruby
kareeoleez has joined #ruby
dgncn has quit [Excess Flood]
rbennace_ has quit [Ping timeout: 244 seconds]
djbkd has joined #ruby
htmldrum has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
dgncn has joined #ruby
GinoMan2440 has joined #ruby
karapetyan has quit [Remote host closed the connection]
rojomisin has joined #ruby
karapetyan has joined #ruby
dionysus69 has quit [Ping timeout: 250 seconds]
djbkd has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
discounted has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dhollinger has quit [Quit: WeeChat 1.4]
rojomisi1 has quit [Ping timeout: 244 seconds]
djbkd has joined #ruby
rkoller has joined #ruby
rkoller has quit [Client Quit]
mjuszcza_ has quit []
Lomex has quit [Remote host closed the connection]
Devalo has joined #ruby
northrup has joined #ruby
BSaboia has quit [Ping timeout: 244 seconds]
moei has joined #ruby
johnmilton has quit [Quit: Namaste]
Devalo has quit [Ping timeout: 250 seconds]
hhee has quit [Ping timeout: 260 seconds]
yfeldblum has joined #ruby
drewo has joined #ruby
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
heyimwill has quit [Ping timeout: 260 seconds]
slackbotgz has joined #ruby
IrishGringo has joined #ruby
Kami has joined #ruby
GinoMan2440 has quit [Ping timeout: 250 seconds]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
johnny56_ has joined #ruby
mjuszczak has joined #ruby
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
dopamean1 has joined #ruby
whathappens has quit [Remote host closed the connection]
minimalism has quit [Ping timeout: 250 seconds]
Kami has quit [Client Quit]
gnufied has quit [Quit: Leaving]
whathappens has joined #ruby
dopamean1 has quit [Client Quit]
johnny56 has quit [Ping timeout: 264 seconds]
dopamean1 has joined #ruby
minimalism has joined #ruby
dopamean_ has quit [Ping timeout: 244 seconds]
dopamean1 has quit [Client Quit]
sp4rrow has joined #ruby
Limix has quit [Quit: Limix]
dopie has joined #ruby
Infinite_182 has joined #ruby
spectra has quit [Ping timeout: 260 seconds]
heyimwill has joined #ruby
mjuszczak has quit [Client Quit]
Gasher has quit [Ping timeout: 276 seconds]
swills has quit [Ping timeout: 276 seconds]
mjuszczak has joined #ruby
[Butch] has quit [Ping timeout: 260 seconds]
Gasher has joined #ruby
chey has quit [Quit: Leaving]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
drusepth has joined #ruby
haylon has quit [Quit: WeeChat 1.4]
davedev24 has quit []
flashpoint9 has joined #ruby
djbkd has quit [Remote host closed the connection]
hobodave has quit [Quit: Computer has gone to sleep.]
Yiota has joined #ruby
GinoMan2440 has joined #ruby
last_staff has quit [Quit: last_staff]
Grantlyk has joined #ruby
Snowy has quit [Read error: Connection reset by peer]
yqt has joined #ruby
Snowy has joined #ruby
blaxter has joined #ruby
sgambino has joined #ruby
GinoMan2440_ has joined #ruby
hobodave has joined #ruby
Yiota has quit [Ping timeout: 240 seconds]
jaguarmagenta has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
bronson has joined #ruby
<Infinite_182> anyone know if you can put two attributes added together into the same collection_select?
biberu has quit []
GinoMan2440 has quit [Ping timeout: 276 seconds]
djbkd has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jaguarmagenta has quit [Ping timeout: 252 seconds]
TomyLobo has quit [Ping timeout: 276 seconds]
Snowy has quit [Quit: ragequit]
silentpo1t has joined #ruby
<zacts> zombie chopin cool!
<zacts> (kidding)
bronson has quit [Ping timeout: 252 seconds]
dikaio has joined #ruby
Grantlyk has quit []
spectra has joined #ruby
spectra has quit [Changing host]
spectra has joined #ruby
hobodave has quit [Ping timeout: 276 seconds]
flashpoint9 has joined #ruby
prooftechnique has quit [Ping timeout: 264 seconds]
<zacts> if chopin were alive today, he would dig Ruby. That's all I can say. Anyway, back to #ruby
maokomioko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
scepticulous has quit [Ping timeout: 276 seconds]
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
sp4rrow has joined #ruby
<shevy> ruby is like poetry, art and music combined
nemish has quit [Ping timeout: 264 seconds]
salty_solution has quit [Quit: Page closed]
rc0r has quit [Ping timeout: 264 seconds]
nemish has joined #ruby
<zacts> indeed
prooftechnique has joined #ruby
nibbo has quit [Ping timeout: 276 seconds]
kareeoleez has quit [Remote host closed the connection]
flashpoint9 has quit [Ping timeout: 250 seconds]
shadows has joined #ruby
nibbo has joined #ruby
<akkad> baweaver: oh the person who names the bug and not the exploit is clearly one who spends a lot of time alone, justifying the label
<baweaver> akkad again, don't be rude
Limix has joined #ruby
workmad3 has joined #ruby
cdg has joined #ruby
aswen has quit [Quit: WeeChat 1.4]
<shadows> given x = [[a,b,c],[1,2,3],[4,5,6],[d,e,f],[7,8,9]] ; smallest ruby-way to split x with regex ; result something like [ [[a,b,c],[1,2,3],[4,5,6]], [[d,e,f],[7,8,9]] ] ; I've got a working bit of code but it's ugly
<shadows> tried messing with zip and map, only to end up in a big conditional loop
<shadows> not super awesome how I have it right now
<baweaver> you didn't mention the condition
<baweaver> I just see an arbitrary split
<akkad> baweaver: no rudeness. merely your neurological association of said word being projected on others.
<baweaver> !rude akkad
<baweaver> that's nice
slackbotgz has quit [Remote host closed the connection]
BSaboia has joined #ruby
<shadows> baweaver: the input is a text dump from Wireshark and I'm only interested in pretty-ifying the bytes outputs; will pastebin sample input if it's somehow relevent
<baweaver> use gist if you could
<baweaver> A few in/out samples would do wonders to understanding the problem
bronson has joined #ruby
<pipework> shadows: What we're seeing is that you have an array and want to split it taking the first three and the last two as two arrays that are the 0th and 1st elements of a new array.
<pipework> Nothing you've said has made the necessity of regex plain.
<baweaver> ^
<shadows> pipework: i'd like to do this if alphanumeric i.e.
workmad3 has quit [Ping timeout: 276 seconds]
<pipework> shadows: regex are for string-like content.
<shadows> ohh yeah I meant quoted letters
<shadows> they're not variables
<shadows> I'd better just come up with the input... will pastebin
<pipework> I don't think either of us has any clue about what the other is saying.
ChiefAlexander has quit [Remote host closed the connection]
Azure has joined #ruby
nixfreak has quit [Ping timeout: 250 seconds]
<baweaver> real data will help that
<shadows> sorry for confusion will try to be more clear yes
<pipework> Here's how you take x and split it. [x[0,2], x[3,-1]]
Ebok has quit [Quit: This computer has gone to sleep]
<shadows> input example (first 50 lines): http://paste.ubuntu.com/16209337/
aegis3121 has quit [Ping timeout: 240 seconds]
northrup has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
araujo has quit [Ping timeout: 244 seconds]
<baweaver> shadows so this line type? '0000 c0 b4 44 9b 00 88 ff ff 53 02 00 04 08 00 00 00'
idefine has joined #ruby
<shadows> yeah kind of
<pipework> By giving us the desired outputs and inputs with some seemingly non-sequitur piece of code seems more like you've come up with a puzzle where the answer is the puzzle to solve the answer initially given.
<pipework> A veritable Jeopardy+mastermind
rc0r has joined #ruby
rc0r is now known as Guest64287
<shadows> baweaver: I don't care about that "block" of lines unless the first line in the block is /^[\w ]+ \(\d+ bytes\)\:.*\n/
<pipework> shadows: I think what might help here is if you described using inputs that are real, what should be done to them in order to reach your intended result. Describe the logic involved.
<shadows> example output I've done by hand http://paste.ubuntu.com/16209346/
<shadows> wireshark byte display output splits on 8 byte margins (I couldn't find any common setting in Wireshark to change this and it's got to be repeatable without hacking up source)
<baweaver> shadows nothing matches that regexp
tax has quit [Ping timeout: 260 seconds]
<pipework> shadows: Hm, so you want to take some text and extract some of the values from it, right?
CausaMortis has joined #ruby
<pipework> Miaow I assume you've got maybe like a line of the file in hand and you want to remove or extract some data, right?
whathappens has quit [Remote host closed the connection]
VeryBewitching has quit [Quit: Konversation terminated!]
<pipework> So you've got a line and miaow you need to find values within it to purportedly do something else with.
<shadows> oh paste.ubuntu wants login to view / download oops
<shadows> the interesting lines don't happen until around line 30 or so
<shadows> and I didn't even provide enough lines to make that happen
<shadows> baweaver: I'm really not doing so hot today huh
<pipework> We prefer gist
mikecmpbll has joined #ruby
<pipework> See the topic.
<shadows> looking thanks
davedev24 has joined #ruby
whathappens has joined #ruby
<baweaver> It happens. Anyways, I'd better head off, still recovering from some sickness
chouhoul_ has joined #ruby
<shadows> thanks for trying baweaver ... assembling better prepared question now with gist example
karapetyan has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 252 seconds]
idefine has quit [Ping timeout: 276 seconds]
moeabdol has quit [Ping timeout: 252 seconds]
Limix has quit [Ping timeout: 244 seconds]
chouhoul_ has quit [Ping timeout: 276 seconds]
banister has joined #ruby
<shadows> okay using gist the textfile is 5Mb or so note https://gist.github.com/eshattow/fdeb79efbeb6bd014cf63ced513638a8
drewo has quit [Ping timeout: 252 seconds]
LastWhisper____ has quit [Ping timeout: 246 seconds]
crystal77 has joined #ruby
zenlot has joined #ruby
<shadows> most of it is junk I don't want, so what I'm looking for are these blocks of text (ending in \n\n) that begin with a text label ending in "\(\d+ bytes\)\:"
nerium has quit [Quit: nerium]
diegoaguilar has quit [Remote host closed the connection]
mjuszczak has quit []
howdoico1 has quit [Ping timeout: 260 seconds]
<pipework> shadows: Why use regex when you can use the String class?
polishdub has quit [Quit: Leaving]
weemsledeux has joined #ruby
Guest43 has joined #ruby
<pipework> String#split is pretty cool, look at the arguments you can pass it.
weemsledeux has quit [Remote host closed the connection]
zenlot6 has quit [Ping timeout: 244 seconds]
nettoweb has quit [Ping timeout: 244 seconds]
<Guest43> Hello. Would this be a good place to ask for some help with a dashing job? (dashing.io)
<pipework> Guest43: When you say 'job' what do you mean?
<shadows> pipework: well, currently I parse from stdin... so I should not try to wait until forever to parse... hmm
<Guest43> pipework the actual rb script dashing is executing
madgen has quit [Ping timeout: 252 seconds]
swills has joined #ruby
<shadows> pipework: interesting thought about String#split but I don't think I can do nested regexp groups
<shadows> or can we?
<pipework> shadows: So buffer up a string until it contains the delimeter yo uwant
<pipework> Then fix that.
<pipework> shadows: I'm still not sure you need any regular expressions yet.
charlespl has quit [Remote host closed the connection]
adgtl has quit [Quit: EliteBNC - http://www.elitebnc.org/]
<shadows> pipework: what else would I split on?
<shadows> input is already split on \n
giz|work has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
adgtl has joined #ruby
<pipework> shadows: You said you wanted all the text after the first ":"
<pipework> Basically, to make this a lot easier on yourself, don't use regex and just manipulate the string using ruby.
DevastatingDave has quit [Ping timeout: 260 seconds]
firstdayonthejob has quit [Ping timeout: 260 seconds]
northrup has joined #ruby
idefine has joined #ruby
howdoico1 has joined #ruby
<shadows> pipework: better gist with input, output, and ruby code I have so far at https://gist.github.com/eshattow/57322d18a59e8e5f00788efc2aa2a056
idefine has quit [Remote host closed the connection]
<shadows> pipework: you can do this with String#split? I'd like to know how
hinbody has quit [Ping timeout: 260 seconds]
<shadows> pipework: the output10lines.txt in the gist is not the ideal output, just it's as far as I've gotten
<ytti> $_ is faux pas
emilford has quit [Ping timeout: 240 seconds]
<shadows> ytti: what to use instead?
<ytti> while line = $stdin.gets
urbanmonk has joined #ruby
<shadows> ah
skolman_ has joined #ruby
<ytti> shadows, http://ruby-doc.org/stdlib-1.9.3/libdoc/strscan/rdoc/StringScanner.html this may be of interest to tyou
hinbody has joined #ruby
<ytti> sc = StringScanner.new line
<shadows> looking now thanks
mtkd has quit [Ping timeout: 244 seconds]
<ytti> while not sc.eos?
<shadows> ytti: yes this is very interesting
<ytti> sc.scan_until /^\d{4} [\da-f]/
mtkd has joined #ruby
<ytti> hex << sc.scan_until /^\s*$/
<ytti> end
<ytti> something like that
Infinite_182 has quit [Ping timeout: 244 seconds]
whathappens has quit [Remote host closed the connection]
SCHAAP137 has quit [Quit: Leaving]
<ytti> that won't work, because the fir sc.scan_until will eat the line you need, but hopefully gives some tools
<shadows> ytti: also part of what I'm doing is to take say the lines:
<shadows> 0000 57 00 20 10 00 00 00 00 00 00 00 00 00 00 00 00 W. .............
<shadows> 0010 00 00 00 00 30 06
devbug has quit [Quit: ZZZzzz…]
<ytti> maybe
<shadows> ....0.
<ytti> hex = sc.scan_until /^\s*$/
whathappens has joined #ruby
<ytti> hex = hex.split(' ')[1]
<ytti> hexes << hex
<shadows> and then turn that into one line 57 00 20 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 06 W. .................0.
<shadows> yeah
<ytti> (i don't know what i'm talking about, i didn't really even read the url, sorry)
<ytti> but hopefully you got some tools
<shadows> you're still helpful thanks
ta_ has quit [Read error: Connection reset by peer]
Gasher has quit [Quit: Leaving]
rojomisin has quit [Ping timeout: 260 seconds]
IrishGringo has quit [Ping timeout: 244 seconds]
kirun has quit [Quit: Client exiting]
<ytti> maybe
<ytti> hex = hex.lines.map{|e|e.split(' ')[1]}
<ytti> hexes << hex.lines.map{|e|e.split(' ')[1]}
ta_ has joined #ruby
n008f4g_ has quit [Ping timeout: 244 seconds]
crystal77 has quit [Ping timeout: 260 seconds]
jpterry has joined #ruby
csmb has joined #ruby
seitensei has joined #ruby
seitensei has quit [Changing host]
seitensei has joined #ruby
chopin has joined #ruby
whathappens has quit [Remote host closed the connection]
whathappens has joined #ruby
Xeago_ has quit [Remote host closed the connection]
Xeago_ has joined #ruby
Xeago_ has quit [Remote host closed the connection]
kfpratt has quit [Remote host closed the connection]
jhack has joined #ruby
zapata has quit [Ping timeout: 260 seconds]
silentpo1t has quit [Quit: leaving]
RegulationD has quit [Remote host closed the connection]
<Guest43> https://gist.github.com/csbogdan/0474bdff604fb7be2877f2a9732585fa Any ideas as to why that file trows: /usr/local/rvm/gems/ruby-1.9.3-p551/gems/dashing-1.3.6/lib/dashing/app.rb:137:in `send_event' /vagrant/dashing/dashing/jobs/Mashery-jen.rb:57:in `block in <top (required)>' please?
n008f4g_ has joined #ruby
symm- has joined #ruby
CausaMortis has quit [Ping timeout: 260 seconds]
davedev24 has quit []
devbug has joined #ruby
shadowdf has joined #ruby
SilverKey has quit [Quit: Halted.]
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
dopamean_ has joined #ruby
smathy is now known as smathy_afk
Infinite_182 has joined #ruby
elifoster has joined #ruby
ChiefAlexander has joined #ruby
ChiefAlexander has quit [Client Quit]
zapata has joined #ruby
rbennacer has joined #ruby
jhack has quit [Quit: jhack]
chopin has quit [Ping timeout: 244 seconds]
rbennace_ has joined #ruby
rbennacer has quit [Read error: Connection reset by peer]
oncall-pokemon has quit [Quit: Connection closed for inactivity]
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
robbyoconnor has joined #ruby
mjuszczak has joined #ruby
mikecmpbll has joined #ruby
mikecmpbll has quit [Client Quit]
Infinite_187 has joined #ruby
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chipotle has quit [Ping timeout: 252 seconds]
Vile` has joined #ruby
drewo has joined #ruby
dikaio has joined #ruby
Infinite_182 has quit [Ping timeout: 276 seconds]
mjuszcza_ has joined #ruby
Limix has joined #ruby
mjuszczak has quit [Ping timeout: 244 seconds]
benlieb has joined #ruby
madgen has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 246 seconds]
Devalo has joined #ruby
howdoico1 has quit [Ping timeout: 250 seconds]
justin_pdx has quit [Quit: justin_pdx]
whathappens has quit [Quit: Leaving...]
karapetyan has joined #ruby
CloCkWeRX has joined #ruby
Devalo has quit [Ping timeout: 250 seconds]
cjbottaro has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ta_ has quit [Read error: Connection reset by peer]
rojomisin has joined #ruby
ta_ has joined #ruby
karapetyan has quit [Ping timeout: 244 seconds]
crystal77 has joined #ruby
smathy_afk is now known as smathy
hahuang65 has joined #ruby
whathappens has joined #ruby
Emmanuel_Chanel has joined #ruby
mjuszcza_ has quit []
idefine has joined #ruby
graft has joined #ruby
<graft> ok, can someone help me out with this stack trace? https://gist.github.com/graft/9db3cf99681e7d6c22bed39501dbe38e
<Radar> it's wrong
* Radar opens the gist
<graft> for some reason rack is barfing on multipart uploads, the problem seems to have something to do with Tempfile.new
<graft> Rack does this: Tempfile.new(["RackMultipart", ::File.extname(filename)])
<Radar> graft: Filename there seems weird, like it's being munged by something before it gets to Rack.
<Radar> graft: Does Rails 4.2.6 fix this by any chance?
<graft> 4.2.6? hmm
<graft> thing is this works on my production machine running ruby 2.2.0, but not on my dev machine running ruby 2.3.0 (yes, i know, don't yell at me)
idefine_ has joined #ruby
<graft> the really, really weird thing is that between that Tempfile.new line in rack's parser.rb, and initialize in ruby's tempfile.rb, the first argument mutates from an Array (the one above) to a Hash (the one in the error)
mjuszczak has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
<graft> i have no idea how this could possibly happen
Spami has quit [Quit: This computer has gone to sleep]
<graft> i feel like i'm taking crazy pills here
chipotle has joined #ruby
madgen has quit [Ping timeout: 260 seconds]
<graft> and, again, all of this code works fine on my production machine
ledestin has joined #ruby
rbennace_ has quit [Remote host closed the connection]
mjuszczak has joined #ruby
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
idefine has quit [Ping timeout: 276 seconds]
idefine__ has joined #ruby
djbkd has quit [Remote host closed the connection]
idefine has joined #ruby
s00pcan has quit [Remote host closed the connection]