apeiros changed the topic of #ruby to: Ruby 2.1.3; 2.0.0-p576; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
Rx_o has joined #ruby
Rx_o has quit [Read error: Connection reset by peer]
Rx_o has joined #ruby
Rx_o has quit [Read error: Connection reset by peer]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rx_o has joined #ruby
Rx_o has quit [Read error: Connection reset by peer]
Rx_o has joined #ruby
Rx_o has quit [Read error: Connection reset by peer]
gsd has joined #ruby
Rx_o has joined #ruby
<shevy> hehe
ghr has joined #ruby
tectonic has joined #ruby
Rx_o_ has joined #ruby
* Mia needs a good tutorial recommendation
Rx_o_ has quit [Read error: Connection reset by peer]
<Mia> codecademy is nice, but I'm far from knowing ruby
<Mia> it's done
Rx_o_ has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
danijoo has quit [Read error: Connection reset by peer]
danijoo_ has joined #ruby
choke has quit [Read error: Connection reset by peer]
Kricir has quit [Remote host closed the connection]
Rx_o_ has quit [Read error: Connection reset by peer]
Rx_o_ has joined #ruby
Rx_o has quit [Ping timeout: 240 seconds]
<shevy> did you work through "learn to program" from chris pine yet
Rx_o_ has quit [Read error: Connection reset by peer]
djcp has joined #ruby
<Mia> shevy, link please?
<shevy> but you must test in irb
<Mia> Oh no I didn't
<shevy> not in your editor
Rx_o_ has joined #ruby
Rx_o_ has quit [Read error: Connection reset by peer]
ghr has quit [Ping timeout: 260 seconds]
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Mia> shevy, I just checked the final chapters
gilest has quit [Remote host closed the connection]
<Mia> I know everything here
Rx_o_ has joined #ruby
phutchin1 has quit [Ping timeout: 272 seconds]
Rx_o_ has quit [Read error: Connection reset by peer]
boombada_ has quit [Remote host closed the connection]
zz_LoRdToLsToI has quit [Quit: bye to all]
<shevy> ok
Rx_o_ has joined #ruby
<shevy> explain how to use yield
ItSANgo has joined #ruby
<shevy> if you worked through the example you will have no problem to explain it :)
Rx_o_ has quit [Read error: Connection reset by peer]
* shevy waits patiently.
xvqq17 has quit [Quit: leaving]
Rx_o_ has joined #ruby
<Mia> oh let me tell
<centrx> What's the third word of paragraph seven?
Rx_o_ has quit [Read error: Connection reset by peer]
codeFiend has quit [Quit: codeFiend]
<Mia> yield is inserted into methods
<Mia> so that ti ca get blocks or procs from ourside
Rx_o_ has joined #ruby
cpruitt has quit [Quit: cpruitt]
rubie has quit [Quit: Page closed]
gilest has joined #ruby
<Mia> when there is yield, it means the flow will continue from the inserted block, and depending on the block/prock it will return
Rx_o_ has quit [Read error: Connection reset by peer]
SilkFox_ has joined #ruby
supersym has quit [Quit: WeeChat 0.4.2]
Rx_o_ has joined #ruby
<Mia> shevy, my subtle description may be quite stinky but yeah. What's my score :)
<shevy> hehe
<shevy> yeah that is good enough
<shevy> let me check another part
Rx_o_ has quit [Read error: Connection reset by peer]
<Mia> I'm challenging myself for simple things, I can't achieve any
<Mia> Ok sure
<Mia> Quiz me :)
Rx_o_ has joined #ruby
<shevy> Mia how do you check for "smaller or equal to"
Rx_o_ has quit [Read error: Connection reset by peer]
<Mia> <= ?
<Mia> what do you mean
<Mia> by check
<shevy> yeah
<Mia> you mean an if statement
Rx_o_ has joined #ruby
<shevy> well you don't necessarily need if
<shevy> >> 5 <= 6
<eval-in_> shevy => true (https://eval.in/200093)
emocakes has quit [Ping timeout: 272 seconds]
<shevy> >> 6 <= 5
<eval-in_> shevy => false (https://eval.in/200094)
Rx_o_ has quit [Read error: Connection reset by peer]
<Mia> oo, what's >>
<shevy> next question - Mia how do you remove a "\n" from a string, if that is the last character token of that string?
<shevy> the bot responds to that
djcp has quit [Quit: WeeChat 1.0]
Rx_o_ has joined #ruby
<Mia> let me think
djcp has joined #ruby
<Mia> ok I think I would doo
bmurt has joined #ruby
<Mia> string = string[0,-2]
Rx_o_ has quit [Read error: Connection reset by peer]
<Mia> I don't even know if it works
Rx_o_ has joined #ruby
<shevy> >> string = "Mia learns ruby\n"; string[0,-2]
<eval-in_> shevy => nil (https://eval.in/200095)
<shevy> yeah it does not work
livingstn has joined #ruby
Rx_o_ has quit [Read error: Connection reset by peer]
<shevy> you would have known if you would have read https://pine.fm/LearnToProgram/chap_06.html
<Mia> I don't know how to modify string :( I just realized
<Mia> it was not in the codecademy thing
Rx_o_ has joined #ruby
<shevy> that's what you get for skipping basic tutorials!
<Mia> Ok I'll go over every chapter then - I thought they follow a particular order
<shevy> well
<Mia> shevy, I didn't, I just compared the final chapters
lw has quit [Quit: s]
<shevy> the first one are just simple intros to work with
Rx_o_ has quit [Read error: Connection reset by peer]
<Mia> with what I've seen in codecademy
<shevy> but the most important part is that you start with irb
<Mia> Hm ok
<shevy> irb
<shevy> irb
<shevy> irb
<shevy> :D
<shevy> did you already start it?
Rx_o_ has joined #ruby
<Mia> Idon't like the fact that irb doens2t have indentation
<Mia> it looks too plain, I can't udnerstand what's going on
<shevy> just input stuff
Rx_o_ has quit [Read error: Connection reset by peer]
<shevy> 5 + enter key
<shevy> class Foo; end; foo = Foo.new
Rx_o_ has joined #ruby
<shevy> for more complicated stuff you will use your editor anyway
<shevy> this is just for testing small chunks of ruby code
<shevy> puts 'Hello, what\'s your name?'
<shevy> name = gets.chomp
djcp has quit [Client Quit]
<shevy> but look, that is right from that tutorial
<shevy> and if you test in irb, you will instantly know what it does!
Rx_o_ has quit [Read error: Connection reset by peer]
djcp has joined #ruby
Rx_o_ has joined #ruby
<Mia> I ned to challenge myself
<Mia> right now there is a lot of information I'm pouring into my brain, I understand but I don't see much difference in some things
Rx_o_ has quit [Read error: Connection reset by peer]
krisquigley has joined #ruby
Rx_o_ has joined #ruby
<Mia> for instance, private and public variables (and variables with no description at alll -- whatever they're called)
dx7_ has joined #ruby
rpag has quit [Ping timeout: 246 seconds]
djcp has quit [Client Quit]
Rx_o_ has quit [Read error: Connection reset by peer]
<Mia> Or,the difference between a proc and a lambda is too tiny for me that I wouldn't think and pick one over another in a clear way
Rx_o_ has joined #ruby
djcp has joined #ruby
Rx_o_ has quit [Read error: Connection reset by peer]
<shevy> nono
<shevy> variables are not private or public
<shevy> it is the methods that may be
djcp has quit [Client Quit]
<Mia> shevy, right methods
<Mia> sorry -
Rx_o_ has joined #ruby
<shevy> you use private to denote that some methods are internal
<shevy> and public for those methods that you wish to expose to the outside
<shevy> so others could use your code properly
Rx_o_ has quit [Read error: Connection reset by peer]
djcp has joined #ruby
<shevy> and there is not much difference between proc and lambda
<shevy> there is a subtle difference in whether arguments are mandatory or not
Rx_o_ has joined #ruby
<shevy> lambda is stricter, proc is more relaxed
Rx_o_ has quit [Read error: Connection reset by peer]
dx7 has quit [Ping timeout: 260 seconds]
djcp has quit [Client Quit]
emocakes has joined #ruby
Rx_o_ has joined #ruby
<shevy> ok now I have a question
<shevy> how can I intercept ctrl-D ?
cndiv has quit [Ping timeout: 246 seconds]
<shevy> I know how to rescue ctrl-C
krisquigley has quit [Ping timeout: 240 seconds]
<shevy> Signal.trap('SIGINT')
<shevy> but ctrl-D?
Rx_o_ has quit [Read error: Connection reset by peer]
Rx_o_ has joined #ruby
mpistone has quit [Remote host closed the connection]
Rx_o_ has quit [Read error: Connection reset by peer]
dx7_ has quit [Ping timeout: 272 seconds]
mikepack has quit [Remote host closed the connection]
Rx_o_ has joined #ruby
mpistone has joined #ruby
enodata has joined #ruby
Rx_o_ has quit [Read error: Connection reset by peer]
Rx_o_ has joined #ruby
Rx_o_ has quit [Read error: Connection reset by peer]
Rx_o_ has joined #ruby
coderdad has joined #ruby
Takle has quit [Remote host closed the connection]
emmesswhy has quit [Quit: This computer has gone to sleep]
KLVTZ has quit [Ping timeout: 260 seconds]
Rx_o_ has quit [Read error: Connection reset by peer]
Rx_o_ has joined #ruby
justinmburrous has joined #ruby
SilkFox_ has quit [Ping timeout: 250 seconds]
Rx_o_ has quit [Read error: Connection reset by peer]
Rx_o_ has joined #ruby
emmesswhy has joined #ruby
Rx_o_ has quit [Read error: Connection reset by peer]
Rx_o_ has joined #ruby
mpistone has quit [Ping timeout: 244 seconds]
Rx_o_ has quit [Read error: Connection reset by peer]
Rx_o_ has joined #ruby
cerberblue has joined #ruby
Rx_o_ has quit [Read error: Connection reset by peer]
niklasb has quit [Ping timeout: 240 seconds]
Rx_o_ has joined #ruby
jontmorehouse has joined #ruby
Rx_o_ has quit [Read error: Connection reset by peer]
danijoo_ has quit [Read error: Connection reset by peer]
Rx_o_ has joined #ruby
justinmburrous has quit [Ping timeout: 250 seconds]
danijoo has joined #ruby
Rx_o_ has quit [Read error: Connection reset by peer]
solo_ has joined #ruby
Rx_o_ has joined #ruby
vxqq177 has joined #ruby
SCHAAP137 has joined #ruby
<solo_> Is there no method in 2.0.0 to get the root directory of said path? Seems so dirty to loop over with each_filename and break on first one
Rx_o_ has quit [Read error: Connection reset by peer]
<shevy> what path
Rx_o_ has joined #ruby
<solo_> "some/random/path"
<shevy> and what the heck is .each_filename, that sure enough is not in default ruby
kil0byte has joined #ruby
<shevy> there is File.absolute_path
Rx_o_ has quit [Read error: Connection reset by peer]
Rx_o_ has joined #ruby
<solo_> that returns the absolute path
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<solo_> I'm just looking for "some" in this case
goodenough has quit [Remote host closed the connection]
Rx_o_ has quit [Read error: Connection reset by peer]
<shevy> aaah I see what you mean
lw has joined #ruby
<shevy> well that is trickier, it is not a common File operation right?
Rx_o_ has joined #ruby
<solo_> and Pathname::each_filename btw
<shevy> ack
<solo_> It should be
<shevy> so you work with Pathname
<shevy> I hate that thing
<shevy> >> "some/random/path".split('/').first
<eval-in_> shevy => "some" (https://eval.in/200097)
Rx_o_ has quit [Read error: Connection reset by peer]
angusiguess has quit [Read error: Connection reset by peer]
<shevy> you are right, it is in default ruby
<shevy> god how I hate Pathname
Rx_o_ has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
Rx_o_ has quit [Read error: Connection reset by peer]
<solo_> only problem with "some/random/path".split('/').first is "/some/random/path".split('/').first
<solo_> hmm
emmesswhy has quit [Quit: This computer has gone to sleep]
Rx_o_ has joined #ruby
<shevy> not sure I get the problem
<shevy> you showed the same code twice or?
<solo_> nah, path is absolute starts with "/"
Rx_o_ has quit [Read error: Connection reset by peer]
<solo_> I need the opposite of File.basename lol
Rx_o_ has joined #ruby
Rx_o_ has quit [Read error: Connection reset by peer]
mikepack has joined #ruby
<solo_> I'll just go with pathname for now
Rx_o_ has joined #ruby
Rx_o_ has quit [Read error: Connection reset by peer]
skolman__ has joined #ruby
zz_karupa is now known as karupa
Rx_o_ has joined #ruby
Rx_o_ has quit [Read error: Connection reset by peer]
karupa is now known as karupane
karupane is now known as karupa
<shevy> ah you are right
Rx_o_ has joined #ruby
<shevy> There is File.basename and File.dirname
<shevy> but no File.first or something
<shevy> but it is just a string or? you can build that up by yourself easily
thomasxie has joined #ruby
Rx_o_ has quit [Read error: Connection reset by peer]
<shevy> and if the above is the sole difference, you can check if it has the first character a '/' or not
Rx_o_ has joined #ruby
moted has quit [Ping timeout: 272 seconds]
Rx_o_ has quit [Read error: Connection reset by peer]
Rx_o_ has joined #ruby
Rx_o_ has quit [Read error: Connection reset by peer]
skolman_ has quit [Ping timeout: 260 seconds]
Rx_o_ has joined #ruby
zorak8 has quit [Ping timeout: 246 seconds]
Rx_o_ has quit [Read error: Connection reset by peer]
Rx_o_ has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
<shevy> I started to dislike Pathname when I ended up doing really long stuff
Rx_o_ has quit [Read error: Connection reset by peer]
<shevy> I still use it in some projects though
<shevy> like:
<shevy> Pathname.new($PROGRAM_NAME).basename.to_s
Rx_o_ has joined #ruby
Rx_o_ has quit [Read error: Connection reset by peer]
spastorino has quit [Quit: Connection closed for inactivity]
Rx_o_ has joined #ruby
<eam> shevy: you mean Pathname.new($0).basename.to_s
Rx_o_ has quit [Read error: Connection reset by peer]
benzrf is now known as benzrf|offline
<shevy> I don't use the ugly variants
<eam> ALL_CAPS is pretty ugyly
Rx_o_ has joined #ruby
<shevy> I use that for my constants :)
hplc has joined #ruby
oo_ has joined #ruby
<eam> yeah but it's not a constant
<shevy> eam a user reported a Ctrl-D error in one of my projects. but what exactly is Ctrl-D? I can't seem to intercept that
<eam> control-D is end of file
<shevy> hmm
Rx_o_ has quit [Read error: Connection reset by peer]
zeroNone_ has joined #ruby
MaciejCzyzewski has joined #ruby
Rx_o_ has joined #ruby
<eam> shevy: ruby is super amusing. If it were a constant you could assign 12345 to it
<eam> but you can't :)
<eam> how backwards are all the things I just said?
<centrx> it's as easy 12345
troyready has quit [Ping timeout: 258 seconds]
<shevy> $HEY = 12345
<eam> shevy: try it with $PROGRAM_NAME
<shevy> I don't like that
<eam> :P
<eam> strings are fine though, no big deal
<shevy> >> $STDIN = $stdin; $STDIN.class
<eval-in_> shevy => IO (https://eval.in/200098)
codeFiend has joined #ruby
Skyler has quit [Ping timeout: 272 seconds]
<shevy> I made it BIGGER do you see that?
zeroNones has quit [Ping timeout: 272 seconds]
Kricir has joined #ruby
bloudermilk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
emmesswhy has joined #ruby
Rx_o__ has joined #ruby
Rx_o_ has quit [Ping timeout: 245 seconds]
Rx_o__ has quit [Read error: Connection reset by peer]
Rx_o__ has joined #ruby
Rx_o__ has quit [Read error: Connection reset by peer]
Rx_o__ has joined #ruby
<eam> >> $STDIN = $stdin; IO.for_fd($STDIN.class.to_s.length).puts "omg"
<eval-in_> eam => nil ... (https://eval.in/200099)
jerius has joined #ruby
Rx_o__ has quit [Read error: Connection reset by peer]
<eam> oh does it not capture stderr
Rx_o__ has joined #ruby
Vivekananda has quit [Quit: Ex-Chat]
* eam whatevers away
TorpedoSkyline has joined #ruby
Rx_o__ has quit [Read error: Connection reset by peer]
justinmburrous has joined #ruby
Rx_o__ has joined #ruby
shosti has quit [Remote host closed the connection]
Rx_o__ has quit [Read error: Connection reset by peer]
Takle has joined #ruby
Rx_o__ has joined #ruby
lkba has quit [Ping timeout: 260 seconds]
solo_ has quit [Quit: Leaving...]
Rx_o__ has quit [Read error: Connection reset by peer]
codeFiend has quit [Quit: codeFiend]
Rx_o__ has joined #ruby
Rx_o__ has quit [Read error: Connection reset by peer]
Rx_o__ has joined #ruby
benzrf|offline is now known as benzrf
codeFiend has joined #ruby
Rx_o__ has quit [Read error: Connection reset by peer]
Rx_o__ has joined #ruby
SilkFox_ has joined #ruby
Rx_o__ has quit [Read error: Connection reset by peer]
mikepack has quit [Remote host closed the connection]
Rx_o__ has joined #ruby
jcxau has joined #ruby
jonmorehouse has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
Rx_o__ has quit [Read error: Connection reset by peer]
Rx_o__ has joined #ruby
ghr has joined #ruby
rpag has joined #ruby
Rx_o__ has quit [Read error: Connection reset by peer]
ItSANgo has quit [Quit: Leaving...]
Kricir_ has joined #ruby
Rx_o__ has joined #ruby
jontmorehouse has quit [Ping timeout: 272 seconds]
narcan has joined #ruby
Rx_o__ has quit [Read error: Connection reset by peer]
mikeg has joined #ruby
Rx_o__ has joined #ruby
codeFiend has quit [Client Quit]
Rx_o__ has quit [Read error: Connection reset by peer]
sevenseacat has joined #ruby
Kricir has quit [Ping timeout: 260 seconds]
Rx_o__ has joined #ruby
Rx_o__ has quit [Read error: Connection reset by peer]
arescorpio has joined #ruby
Rx_o__ has joined #ruby
zeroNone_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Takle has quit [Ping timeout: 272 seconds]
echevemaster has joined #ruby
Rx_o___ has joined #ruby
thejamespinto has quit [Read error: Connection reset by peer]
Rx_o__ has quit [Read error: Connection reset by peer]
Rx_o___ has quit [Read error: Connection reset by peer]
spyderman4g63 has joined #ruby
thejamespinto has joined #ruby
ghr has quit [Ping timeout: 272 seconds]
braincra- has joined #ruby
justinmburrous has quit []
Rx_o___ has joined #ruby
IteratorP has joined #ruby
justinmburrous has joined #ruby
Rx_o___ has quit [Read error: Connection reset by peer]
Rx_o___ has joined #ruby
SilkFox_ has quit [Ping timeout: 260 seconds]
Rx_o___ has quit [Read error: Connection reset by peer]
Rx_o___ has joined #ruby
Rx_o___ has quit [Read error: Connection reset by peer]
Rx_o___ has joined #ruby
braincrash has quit [Ping timeout: 260 seconds]
zeroNones has joined #ruby
Rx_o___ has quit [Read error: Connection reset by peer]
Rx_o___ has joined #ruby
Rx_o___ has quit [Read error: Connection reset by peer]
Rx_o___ has joined #ruby
Rx_o___ has quit [Read error: Connection reset by peer]
Rx_o___ has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
thejamespinto has quit [Read error: Connection reset by peer]
echooo has quit [Ping timeout: 240 seconds]
Rx_o___ has quit [Read error: Connection reset by peer]
thejamespinto has joined #ruby
echooo has joined #ruby
Rx_o___ has joined #ruby
TorpedoSkyline has quit [Ping timeout: 258 seconds]
Rx_o___ has quit [Read error: Connection reset by peer]
lkba has joined #ruby
coderdad has quit [Remote host closed the connection]
Rx_o___ has joined #ruby
bricker`work has quit [Ping timeout: 260 seconds]
mikepack has joined #ruby
Kricir_ has quit [Remote host closed the connection]
Rx_o___ has quit [Read error: Connection reset by peer]
Rx_o___ has joined #ruby
iliketurtles has joined #ruby
Kricir has joined #ruby
skolman__ has quit [Remote host closed the connection]
TorpedoSkyline has joined #ruby
msmith_ has joined #ruby
Rx_o___ has quit [Read error: Connection reset by peer]
skolman has joined #ruby
Rx_o___ has joined #ruby
lolmaus has quit [Ping timeout: 240 seconds]
oo_ has quit [Remote host closed the connection]
mclosson has quit [Quit: Lost terminal]
Rx_o___ has quit [Read error: Connection reset by peer]
skolman has quit [Read error: Connection reset by peer]
Rx_o___ has joined #ruby
tokik has joined #ruby
skolman has joined #ruby
oo_ has joined #ruby
abdulsattar has joined #ruby
oo_ has quit [Remote host closed the connection]
Rx_o___ has quit [Read error: Connection reset by peer]
ursooperduper has quit [Quit: Textual IRC Client: www.textualapp.com]
oo_ has joined #ruby
tkuchiki has joined #ruby
Rx_o___ has joined #ruby
Rx_o___ has quit [Read error: Connection reset by peer]
Rx_o___ has joined #ruby
xcv has joined #ruby
Rx_o___ has quit [Read error: Connection reset by peer]
thejamespinto has quit [Read error: Connection reset by peer]
xcv has quit [Remote host closed the connection]
Kricir has quit [Ping timeout: 246 seconds]
Rx_o___ has joined #ruby
Rx_o___ has quit [Read error: Connection reset by peer]
amclain has joined #ruby
thejamespinto has joined #ruby
emocakes has quit []
Rx_o___ has joined #ruby
tectonic has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rx_o___ has quit [Read error: Connection reset by peer]
Rx_o___ has joined #ruby
Rx_o___ has quit [Read error: Connection reset by peer]
Rx_o___ has joined #ruby
Rx_o___ has quit [Read error: Connection reset by peer]
Rx_o___ has joined #ruby
lemur has quit [Remote host closed the connection]
hmsimha_ has quit [Read error: Connection reset by peer]
Rx_o___ has quit [Read error: Connection reset by peer]
lemur has joined #ruby
Rx_o___ has joined #ruby
hmsimha_ has joined #ruby
Rx_o___ has quit [Read error: Connection reset by peer]
havenwood has quit [Remote host closed the connection]
emocakes has joined #ruby
Rx_o___ has joined #ruby
Rx_o___ has quit [Read error: Connection reset by peer]
Rx_o___ has joined #ruby
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rx_o___ has quit [Read error: Connection reset by peer]
zeroNones has joined #ruby
Rx_o___ has joined #ruby
skolman has quit [Remote host closed the connection]
Rx_o___ has quit [Read error: Connection reset by peer]
skolman_ has joined #ruby
Rx_o___ has joined #ruby
aspires has quit []
jack_rabbit has quit [Ping timeout: 245 seconds]
Rx_o___ has quit [Read error: Connection reset by peer]
gccostabr has quit [Quit: ZZZzzz…]
Rx_o___ has joined #ruby
bitemyapp has joined #ruby
lemur has quit [Ping timeout: 272 seconds]
Rx_o___ has quit [Read error: Connection reset by peer]
aspires has joined #ruby
Rx_o___ has joined #ruby
Rx_o___ has quit [Read error: Connection reset by peer]
Rx_o___ has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
b00stfr3ak has quit [Ping timeout: 260 seconds]
Rx_o___ has quit [Read error: Connection reset by peer]
Rx_o___ has joined #ruby
skolman_ has quit [Ping timeout: 245 seconds]
Rx_o___ has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
Rx_o___ has joined #ruby
seanosaur has joined #ruby
Rx_o___ has quit [Read error: Connection reset by peer]
Rx_o___ has joined #ruby
northfurr has joined #ruby
jack_rabbit has joined #ruby
Rx_o___ has quit [Read error: Connection reset by peer]
Rx_o___ has joined #ruby
Rx_o___ has quit [Read error: Connection reset by peer]
Rx_o___ has joined #ruby
paradisaeidae has joined #ruby
Rx_o___ has quit [Read error: Connection reset by peer]
Rx_o___ has joined #ruby
hamakn has joined #ruby
Rx_o___ has quit [Read error: Connection reset by peer]
Rx_o___ has joined #ruby
agjacome has quit [Quit: leaving]
rezzack has quit [Quit: Leaving.]
Rx_o___ has quit [Read error: Connection reset by peer]
KC9YDN has quit [Read error: Connection reset by peer]
Rx_o___ has joined #ruby
spastorino has joined #ruby
kireevco has quit [Quit: Leaving.]
niftylettuce has quit [Quit: Connection closed for inactivity]
InhalingPixels has joined #ruby
boombadaroomba has quit [Remote host closed the connection]
Rx_o___ has quit [Read error: Connection reset by peer]
KC9YDN has joined #ruby
stunder has quit [Quit: Screw you guys I'm going home]
omosoj has quit [Quit: leaving]
SilkFox_ has joined #ruby
Rx_o___ has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
Rx_o___ has quit [Read error: Connection reset by peer]
Rx_o___ has joined #ruby
hamakn has quit [Ping timeout: 260 seconds]
Rx_o___ has quit [Read error: Connection reset by peer]
Rx_o___ has joined #ruby
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rx_o___ has quit [Read error: Connection reset by peer]
rpag has quit [Ping timeout: 272 seconds]
Rx_o___ has joined #ruby
Rx_o___ has quit [Read error: Connection reset by peer]
AtumT has quit [Remote host closed the connection]
Rx_o___ has joined #ruby
_reset has joined #ruby
wallerdev has quit [Quit: wallerdev]
Rx_o___ has quit [Read error: Connection reset by peer]
Rx_o___ has joined #ruby
butblack has joined #ruby
Rx_o___ has quit [Read error: Connection reset by peer]
Rx_o___ has joined #ruby
Rx_o___ has quit [Read error: Connection reset by peer]
reset has quit [Ping timeout: 244 seconds]
Rx_o___ has joined #ruby
zorak8 has joined #ruby
Rx_o___ has quit [Read error: Connection reset by peer]
Rx_o___ has joined #ruby
dx7 has joined #ruby
Celm_ has quit [Ping timeout: 272 seconds]
Rx_o___ has quit [Read error: Connection reset by peer]
Rx_o___ has joined #ruby
SilkFox_ has quit [Ping timeout: 245 seconds]
_reset has quit [Ping timeout: 258 seconds]
Rx_o___ has quit [Read error: Connection reset by peer]
emmesswhy has quit [Quit: This computer has gone to sleep]
Rx_o___ has joined #ruby
Rx_o___ has quit [Read error: Connection reset by peer]
thejamespinto has quit [Read error: Connection reset by peer]
Rx_o___ has joined #ruby
thejamespinto has joined #ruby
Rx_o___ has quit [Read error: Connection reset by peer]
Rx_o___ has joined #ruby
Parker0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rx_o___ has quit [Read error: Connection reset by peer]
Rx_o___ has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
aspires has quit []
Rx_o___ has quit [Read error: Connection reset by peer]
thomasxie has left #ruby [#ruby]
Rx_o___ has joined #ruby
Advocation has joined #ruby
Rx_o___ has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
Rx_o___ has joined #ruby
Parker0 has joined #ruby
GluonQuark has joined #ruby
ItSANgo has joined #ruby
jcxau has quit [Quit: Lingo - http://www.lingoirc.com]
<GluonQuark> Hi all! Anyone has done some desktop app using ruby? Which GUI is stable for ruby to work on?
Rx_o___ has quit [Read error: Connection reset by peer]
<GluonQuark> Anyone can share some experience?
j_mcnally has joined #ruby
tyll_ has joined #ruby
TorpedoSkyline has joined #ruby
Rx_o___ has joined #ruby
Koshian has quit [Ping timeout: 258 seconds]
b00stfr3ak has joined #ruby
Rx_o___ has quit [Read error: Connection reset by peer]
Rx_o___ has joined #ruby
TorpedoSkyline has quit [Client Quit]
Advocation has quit [Ping timeout: 272 seconds]
Parker0 has quit [Ping timeout: 250 seconds]
hamakn has quit [Ping timeout: 250 seconds]
abdulsattar has quit [Ping timeout: 240 seconds]
msmith_ has quit []
iliketurtles has quit [Quit: zzzzz…..]
maestrojed has quit [Quit: Computer has gone to sleep.]
Rx_o____ has joined #ruby
tyll has quit [Ping timeout: 272 seconds]
lw has quit [Quit: s]
Rx_o____ has quit [Read error: Connection reset by peer]
Rx_o____ has joined #ruby
Rx_o____ has quit [Read error: Connection reset by peer]
ghr has joined #ruby
Rx_o____ has joined #ruby
nanoyak has joined #ruby
b00stfr3ak has quit [Ping timeout: 272 seconds]
Rx_o___ has quit [Ping timeout: 260 seconds]
Rx_o_____ has joined #ruby
Rx_o____ has quit [Read error: Connection reset by peer]
wallerdev has joined #ruby
Rx_o_____ has quit [Read error: Connection reset by peer]
msmith_ has joined #ruby
maestrojed has joined #ruby
Rx_o_____ has joined #ruby
<shevy> GluonQuark do you mean a GUI like qtruby or ruby-gnome?
<shevy> or a web GUI
<shevy> in general they are quite stable and will almost never crash if your code is good and solid
mikeg has quit [Remote host closed the connection]
<shevy> there are some corner cases; I managed to crash ruby-gnome apps quite a few times myself, also always without intention
JeffBonds has quit [Quit: JeffBonds]
<GluonQuark> shevy, I did consider web GUI though but since it is something like file explorer type app, web GUI doesn't feel right
<GluonQuark> I can't make the first sample out using ruby/gtk
mary5030 has joined #ruby
InhalingPixels has quit []
<shevy> ruby gtk is quite simple
<GluonQuark> I tried to just run simple ruby/gtk and it failed
<shevy> do you have code to show
<shevy> and add why it failed
ghr has quit [Ping timeout: 240 seconds]
krisquigley has joined #ruby
boombadaroomba has joined #ruby
Rx_o_____ has quit [Read error: Connection reset by peer]
Rx_o______ has joined #ruby
Rx_o______ has quit [Read error: Connection reset by peer]
spyderman4g63 has quit [Remote host closed the connection]
zeroNones has joined #ruby
Rx_o______ has joined #ruby
spyderman4g63 has joined #ruby
<GluonQuark> let me dig out the sample
Rx_o______ has quit [Read error: Connection reset by peer]
sdwrage has quit [Quit: Leaving]
sdwrage_ has quit [Quit: Leaving]
tectonic has joined #ruby
Rx_o______ has joined #ruby
Rx_o______ has quit [Read error: Connection reset by peer]
<GluonQuark> between gtk and qt, which one is better for cross platform? means feel native?
hamakn has joined #ruby
Rx_o______ has joined #ruby
Rx_o______ has quit [Read error: Connection reset by peer]
Rx_o______ has joined #ruby
<sevenseacat> neither will feel native
boombadaroomba has quit [Ping timeout: 245 seconds]
Rx_o______ has quit [Read error: Connection reset by peer]
Rx_o______ has joined #ruby
Cache_Money has joined #ruby
<GluonQuark> Haha! Am i asking too much?
Rx_o______ has quit [Read error: Connection reset by peer]
yetanotherdave has quit [Ping timeout: 272 seconds]
<GluonQuark> I can't get a comfortable gui toolkit for both linux and win
<shevy> I asked you for your code
Rx_o______ has joined #ruby
spyderman4g63 has quit [Ping timeout: 250 seconds]
<shevy> ruby gnome works perfectly well on windows too
* Nilium pre-emptively shanks shevy
Rx_o______ has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
Rx_o______ has joined #ruby
<sevenseacat> you might get a comfortable cross-platform toolkit, but my comment was that it wont look native because it wont be native
<shevy> he did not even get it to run on linux either
* sevenseacat shrugs
<shevy> yet he already looks for cross platform
<Nilium> You might shank shevy.
<Nilium> Shank him.
* sevenseacat has not looked at GUI stuff in ruby
Rx_o______ has quit [Read error: Connection reset by peer]
* Nilium is the owner of the gui gem.
<shevy> I may well be the last person here to use ruby-gnome now that RubyPanther is gone :(
freerobby has joined #ruby
<Nilium> Look elsewhere. GUI stuff in Ruby's a dead end.
* sevenseacat has only ever looked at GUI stuff in Java and was scared enough by that to not look ever again
<Nilium> GTK might be your only option.
<Nilium> I think even Tk bindings are dead.
maestrojed has quit [Read error: Connection reset by peer]
bitemyapp has left #ruby [#ruby]
<GluonQuark> My bad...i found my code is for gtk2
Rx_o______ has joined #ruby
Rx_o______ has quit [Read error: Connection reset by peer]
<GluonQuark> It works after i gem gtk3 and some code tweaking
seanosaur has quit []
HS__ has joined #ruby
<shevy> GOOD!
Rx_o______ has joined #ruby
<shevy> though I use a completely different approach
<GluonQuark> care to share shevy?
Kricir has joined #ruby
Rx_o______ has quit [Read error: Connection reset by peer]
<shevy> I download http://downloads.sourceforge.net/ruby-gnome2/ruby-gnome2-all-2.2.0.tar.gz extract it and run a script "traveresinstall" that does the same action on each directory there; namely invokes extconf.rb
<shevy> before that works, I need the pkg-config gem, and rcairo: wget http://cairographics.org/releases/rcairo-1.12.9.tar.gz
solo_ has joined #ruby
Rx_o______ has joined #ruby
<shevy> though the order may be important... e. g. pango bindings before gtk bindings, just the same as if you were to compile either from source
Rx_o______ has quit [Read error: Connection reset by peer]
<solo_> anyone use AWS to stand up ruby+sinatra webservices? Was using heroku, but just found out their ruby build doesn't link with the correct OpenSSL version I need :/
Rx_o______ has joined #ruby
<GluonQuark> hmm...you install package by package
HS__ has quit [Remote host closed the connection]
Rx_o______ has quit [Read error: Connection reset by peer]
magic has joined #ruby
Rx_o______ has joined #ruby
magic is now known as Guest25353
<shevy> yeah
Rx_o______ has quit [Read error: Connection reset by peer]
<shevy> but via scripts
<shevy> I compile from source because I can not trust distributions
Rx_o______ has joined #ruby
Guest25353 is now known as magic
mocfive has quit [Remote host closed the connection]
magic has quit [Changing host]
magic has joined #ruby
Rx_o______ has quit [Read error: Connection reset by peer]
<GluonQuark> shevy, how did you manage your OS lib then? Last time I did compile from source and make install screw up my ubuntu
Rx_o______ has joined #ruby
mocfive has joined #ruby
<GluonQuark> that was few years ago btw
<shevy> yeah
<shevy> ubuntu stinks so that is no surprise
<sevenseacat> :(
* sevenseacat likes ubuntu
TorpedoSkyline has joined #ruby
justinmburrous has quit [Remote host closed the connection]
<shevy> GluonQuark I use the source; for instance, if I do "ry gtkplus" (sorry for the "plus", I should also enable "ry gtk+" but for now I use this) it will compile the latest gtk3 from source
Rx_o______ has quit [Read error: Connection reset by peer]
<shevy> GluonQuark 95% of the OS libs will work just fine without any modification
justinmburrous has joined #ruby
Rx_o______ has joined #ruby
solo_ has quit [Quit: Leaving...]
radic has joined #ruby
<shevy> ok ruby-gnome works now
<GluonQuark> shevy I mean It is replacing some of the ubuntu gtk lib...which I'm pretty much trying to stay out of the way
<shevy> let me make a screenshot of a radio button widget (in a minute or two)
<shevy> yeah sure
Rx_o______ has quit [Read error: Connection reset by peer]
<shevy> so you have to remain in the way how ubuntu works
<shevy> that means installing their packages through apt
Rx_o______ has joined #ruby
oo_ has quit [Remote host closed the connection]
justinmburrous has quit [Read error: No route to host]
justinmburrous has joined #ruby
aspires has joined #ruby
<GluonQuark> shevy your desktop is not ubuntu?
oo_ has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
mocfive has quit [Ping timeout: 260 seconds]
mikepack has quit [Remote host closed the connection]
maestrojed has joined #ruby
radic_ has quit [Ping timeout: 244 seconds]
Rx_o______ has quit [Read error: Connection reset by peer]
Rx_o______ has joined #ruby
<shevy> GluonQuark, ok so this is how it looks - don't mind that it looks ugly, I use fluxbox and have not setup anything in ruby-gnome/gnome right now http://i.imgur.com/a3zXyX1.png
<shevy> you even get included the warning message below ;)
aspires has quit [Client Quit]
Rx_o______ has quit [Read error: Connection reset by peer]
<shevy> nah, I can't stand ubuntu. unity is unusably to me
<shevy> I work with the terminal non-stop, kde terminal usually with lots of tabs
<shevy> *unusable
Rx_o______ has joined #ruby
zeroNones has quit [Quit: Textual IRC Client: www.textualapp.com]
<sevenseacat> i use unity, but i am admittedly not a power user of anything
<GluonQuark> the warning message is comforting...
<GluonQuark> :D
<GluonQuark> Nice! Thanks shevy
zeroNones has joined #ruby
<GluonQuark> How about qt?
<GluonQuark> any insight?
SilkFox_ has joined #ruby
yetanotherdave has joined #ruby
jthomp has quit [Quit: Textual IRC Client: www.textualapp.com]
Rx_o______ has quit [Ping timeout: 260 seconds]
<hakunin> i'm making a small cli app, it needs piped data, and an argument. The thing I'm trying to do is if there is no argument, it should block asking for input. So first I parse ARGV to see if anything was passed, and clear it out. Second I call ARGF.readlines to read piped data. Third I call $stdin.gets if ARGV didn't have what was needed, but $stdin.gets does nothing…
aspires has joined #ruby
<hakunin> i'm using it wrong, but not sure how
<shevy> sevenseacat yeah I saw it with my coworker, he is super fast with unity
<shevy> GluonQuark you have to ask Phrogz he is using ruby-qt/qtruby
awc737 has joined #ruby
krisquigley has quit [Remote host closed the connection]
cndiv has joined #ruby
<Mia> someone sent me a nice resource for ruby beginners before
<benzrf> glouns arent Quarks
<Mia> it looks like I forgot to save the link
maestrojed has quit [Quit: Computer has gone to sleep.]
<shevy> Mia chris pine? or something else
shiver has quit [Quit: WeeChat 1.0]
krisquigley has joined #ruby
<Mia> shevy, no no, not that
<shevy> ah ok
aspires has quit [Client Quit]
<Mia> like a git link
<shevy> huh no
<GluonQuark> benzrf it isn't...
<GluonQuark> :D
Fire-Dragon-DoL has quit [Quit: Leaving.]
<Mia> with sort of like... a readme?
<shevy> you mean my code
<shevy> ?
<Mia> Ah no,
<Mia> not today
<shevy> a git link with a readme?
<Mia> I mean someone sent that 2 days ago
<shevy> ok, I don't have that long a backlog sorry
<Mia> And there was this readme file (or something along the lines) with the hyperlinks and descriptions
badhatter has joined #ruby
badhatter has joined #ruby
<sevenseacat> bookmarking is your friend
<Mia> sevenseacat, indeed
c107 has joined #ruby
<Mia> Well what would you recommend after finishing up pine.fm stuff
ItSANgo has quit [Quit: Leaving...]
<Mia> codecademy is done already
<Mia> this is, too, close to the end
fgo has quit [Remote host closed the connection]
iliketurtles has joined #ruby
iliketurtles has quit [Remote host closed the connection]
SilkFox_ has quit [Ping timeout: 250 seconds]
aspires has joined #ruby
<sevenseacat> the end?
<sevenseacat> Mia: after you've done some learning, then its time to start building something
nanoyak has quit [Read error: Connection reset by peer]
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sevenseacat> and do more learning while you do that
<Mia> I mean pine.fm chapters area also pretty much done as well
<Mia> sevenseacat, yes but I don't feel capable, still
nanoyak has joined #ruby
<Mia> I mean everything's so simple
<sevenseacat> and you won't, until you get some actual experience under your belt
<Mia> if people build stuff with this I wonder how :D
<sevenseacat> experience figuring stuff out and tinkering and researching how to do things
<sevenseacat> rather than just following a guide
krisquigley has quit [Ping timeout: 260 seconds]
<Mia> right
<sevenseacat> i mean everything is relatively easy when you're following a step by step guide designed to be easy
tjr9898 has quit [Remote host closed the connection]
MaciejCzyzewski has joined #ruby
<Mia> You know, for instance, my first target is to create a twitter bot
<Mia> I mean I can open up sublime and save/run stuff
<Mia> but that's all
aspires has quit [Client Quit]
<Mia> no visuals, nothing
<Mia> where is the connection between this, and the front end
mikepack has joined #ruby
<sevenseacat> what front end?
<Mia> web, app, any kind
<sevenseacat> are you building a cli app, or a web app, or a gui app....
<sevenseacat> theyre all totally different frontends
<Mia> Well my initial idea isto create a web app
<sevenseacat> then you want a web framework
<Mia> without a particular front end actually
<sevenseacat> like sinatra, or rails
<Mia> I want the bot to reply to tweets that's all -
<Mia> btw - is sinatra still actively being developed
<sevenseacat> yes
<Mia> I've seen tutorials from 4 years ago (or such) and the website was identical
<Mia> hm
<sevenseacat> http://rubygems.org/gems/sinatra last release in april
<Mia> I know the basics o the language, now I need the basics of "how stuff is really done"
<Mia> I mean, deploying,
<Mia> installing,
<Mia> expanding,
<Mia> the more real life stuff
<Mia> Is there any guide or something along the lines that cover those, or such?
centrx has quit [Quit: The plan is programmed into every one of my one thousand robots]
profelm has joined #ruby
jcdesimp has joined #ruby
Sgeo has quit [Read error: Connection reset by peer]
<profelm> Hey guys, I'm making a simple command line program, and I want to have an association kind-of like the ones in rails.
<profelm> I have two classes, say "credit card" and "user". How can I say that a user can have many credit cards.
badhatter has quit [Ping timeout: 245 seconds]
freerobby has quit [Quit: Leaving.]
<profelm> And save that to a sqlite file?
Scotteh has quit [Ping timeout: 245 seconds]
gilest has quit [Remote host closed the connection]
<havenwood> profelm: take a look at the fine sequel gem: https://github.com/jeremyevans/sequel#readme
freerobby has joined #ruby
<profelm> Awesome! Thanks!
<profelm> I was just googling around and was wondering if ActiveRecord was the way to go, havenwood .
Sgeo has joined #ruby
<Mia> ahoy havenwood
lemur has joined #ruby
<havenwood> hi
<Mia> What's up
kenneth has joined #ruby
gilest has joined #ruby
<havenwood> i'm hungry
krz has joined #ruby
* Mia offers chocolate
jackjackdrpr has quit [Ping timeout: 245 seconds]
kireevco has joined #ruby
enodata has quit [Quit: quit]
<hakunin> Mia: if you know how to write programs that send ruby strings to your terminal (puts to stdout), then a web app is a ruby program that outputs strings to a special thing called socket (instead of stdout), and those strings have html code
JBreit has left #ruby ["Leaving"]
melik has quit [Quit: Computer has gone to sleep.]
<Mia> hakunin, oh that's all?
jehosogo has joined #ruby
<hakunin> Mia: between these basics there are thick layers of abstractions to remove most legwork
<GluonQuark> find sequel gem looks great...thanks havenwood
<Mia> Where can I learn more about the basics of all that, hakunin
<Mia> I mean, even "getting a server" part,
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Mia> I'm a 100% designer; not familiar with any of this in depth
<hakunin> Mia: it's a difficult question cause there are many angles to appraoch it
<Mia> Well first of all, should I get a vps for ruby
<Mia> I was considering digitalocean for that
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Mia> if it's not essential for the first steps, I can skip as well
<hakunin> Mia: yeah it's totally fine, $5/mo, but that means you just need to install ruby there and set it up. with heroku you get a lot of magic, but this way you won't understand what's going on
<Mia> hm I see
<hakunin> Mia: but you can easily run web apps on your computer until you're ready to deploy
<hakunin> Mia: no need to buy anything
larsam has quit [Read error: Connection reset by peer]
<Mia> what about connecting to them
<hakunin> only you will be able to access them
<hakunin> using url like localhost:3000
<Mia> For instance, as I mentioned earlier, two of my initial aims are creating bots (a twitter bot and an irc bot)
<Mia> can I run them / test them without deploying
<hakunin> i would recommend starting with serving hello world and seeing it in your browser
<hakunin> but there are no speed limits on learning :)
benzrf is now known as benzrf|offline
benzrf|offline is now known as benzrf
b00stfr3ak has joined #ruby
<GluonQuark> Mia, if you want some basic rails stuff, I can sent you some ebooks
<GluonQuark> ruby too
<hakunin> you can probably have twitter bot running from your computer but they might need some api key domain verification (not familiar) and you'd them have to host somehwere
koderok has joined #ruby
ItSANgo has joined #ruby
<Mia> GluonQuark, I don't know if I want to go for RoR yet
<Mia> I want to try a few things without any web interface at all
<Mia> I mean, RoR is purely for website kinds, right?
<hakunin> Mia: ror is for anything
<hakunin> web-related
<hakunin> apis, websites, webapps
kireevco has quit [Quit: Leaving.]
<Mia> Hm
<Mia> what about sinatra?
<Mia> it seems simpler, do they serve a similar purpose?
<hakunin> same
<Nilium> Stay away from Rails.
<sevenseacat> nothing wrong with rails :(
<Nilium> Rails is the blight.
<Mia> Nilium, O.o
<Nilium> It is the thing wrong with Ruby.
<sevenseacat> well.... some stuff wrong, but its still an awesome framework
* sevenseacat has been working with Rails for years
<Nilium> The rails community is a bunch of people who can't think correctly.
MaciejCzyzewski has joined #ruby
<sevenseacat> oy
<GluonQuark> sinatra works too for web
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
braincra- has quit [Quit: bye bye]
<Mia> Ok I will tell you what I want, you tell me what I need to learn. --- I want to create a dice roller twitter bot that will respond to @mentiones like @dice_roller_bot d20 as @username you rolled 19!
<Mia> and save them up with dates and usernames so that I can have a history as well
mattmcclure has quit [Quit: Connection closed for inactivity]
kil0byte has quit [Remote host closed the connection]
<Mia> I mean, this is not a functional project, I want to learn some "things" related to socialapps
<hakunin> please don't pay attention to generalizations like "stay away from rails", it's far too early to have that conversation, and it's a lot more nuanced than that
<Mia> and that idea was the one I came up with
oo_ has quit [Remote host closed the connection]
kenneth has joined #ruby
ghr has joined #ruby
aleatorik has joined #ruby
b00stfr3ak has quit [Ping timeout: 272 seconds]
<Mia> hakunin, I was told to stay away from ruby too :)
Rx_o has joined #ruby
<hakunin> :)
<Mia> That's okay I want to learn the basics and once I gt going I will ty as much as possible to have a less biased pov
aleatorik is now known as wolves_cs
northfurr has quit [Quit: northfurr]
<Mia> started learning python too, just to understand all the flame going on
MaciejCzyzewski has quit [Ping timeout: 246 seconds]
<Mia> So yeah - any basic suggestions for my "My First Twitter Dice Roller" project :) ?
<hakunin> so there's the twitter gem, you can write a simple ruby script that would interact with twitter using that gem
<sevenseacat> so... reading from a sybase database in a ruby app running on ubuntu
<Mia> sybase? is there any reason for that
oo_ has joined #ruby
braincrash has joined #ruby
<sevenseacat> the legacy database is in sybase, so yes
<Mia> is it the best option?
<Mia> or is it just easier to play with?
<GluonQuark> why sybase?
<sevenseacat> no, hence im trying to read the data out from it to put it in a better option
niklasb has joined #ruby
<GluonQuark> roll the dice over twitter?
<GluonQuark> sounds interesting
<Mia> GluonQuark, it's done many times, I want to test myself
ghr has quit [Ping timeout: 260 seconds]
Rx_o has quit [Quit: Lingo - http://www.lingoirc.com]
havenwood has quit [Remote host closed the connection]
lukevinc has joined #ruby
tylersmith has joined #ruby
zorak8 has quit [Ping timeout: 272 seconds]
<GluonQuark> it's done many times means?
_lexjm has joined #ruby
<GluonQuark> you have something running like that?
livingstn has quit []
AndroUser465 has quit [Quit: good bye]
SilkFox_ has joined #ruby
profelm has quit [Read error: Connection reset by peer]
AndroUser465 has joined #ruby
<_lexjm> new to ruby...is there a way to create a list of gems and run a command that installs them all at once, kind of like a caskfile in homebrew?
nonmadden has joined #ruby
<arrubin> _lexjm: bundler
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<_lexjm> perfect, exactly what i was looking for. thanks @arrubin
icebourg has joined #ruby
nonmadden has quit [Client Quit]
AndroUser465 has quit [Remote host closed the connection]
yetanotherdave has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby
AndroUser466 has joined #ruby
echooo has quit [Ping timeout: 272 seconds]
nonmadden has joined #ruby
mastr_bennett[x] has joined #ruby
echooo has joined #ruby
mary5030 has quit [Remote host closed the connection]
fgo has joined #ruby
benzrf is now known as benzrf|offline
mastr_bennett[x] has quit [Client Quit]
benzrf|offline is now known as benzrf
codeFiend has joined #ruby
SilkFox_ has quit [Ping timeout: 250 seconds]
Mia has quit [Read error: Connection reset by peer]
kireevco has joined #ruby
fgo has quit [Ping timeout: 258 seconds]
kireevco has quit [Client Quit]
GriffinHeart has joined #ruby
Mia has joined #ruby
echooo has quit [Ping timeout: 244 seconds]
<Mia> crashed
<Mia> anywa I installed the twitter gem
ryao has quit [Ping timeout: 245 seconds]
77CAAFFYT has joined #ruby
codeFiend has quit [Quit: codeFiend]
gilest has quit [Remote host closed the connection]
fgo has joined #ruby
butblack has quit [Quit: butblack]
troter_ has quit [Read error: Connection reset by peer]
synergyz_ has quit [Remote host closed the connection]
troter_ has joined #ruby
<hakunin> Mia: like, here's an example: https://coderwall.com/p/qotqqq
<hakunin> (just randomly googled)
<Mia> hakunin, oh so it's a neverending loop
<Mia> that's what while true is, right?
<hakunin> Mia: yeah it's like a simple way of having something run forever
<hakunin> (until killed, like a daemon)
<Mia> is that the best way to do that
<Mia> for roduction?
<Mia> *production
autonomousdev has quit [Quit: Textual IRC Client: www.textualapp.com]
<hakunin> Mia: notice how it has sleep 5 in it
lukevinc has quit [Quit: ChatZilla 0.9.90.1 [Firefox 24.8.0/20000101000000]]
<hakunin> that means it won't run at your maximum cpu speed, just every 5 seconds
<Mia> like, I'm just thinking, this just checks every 5 secodns as far as I can understand with my humble knowledge of 2 days --- what if I want to run it via push
echooo has joined #ruby
<hakunin> Mia: maybe the gem has that capability
wjimenez5271 has quit [Remote host closed the connection]
fgo has quit [Ping timeout: 245 seconds]
wjimenez5271 has joined #ruby
<hakunin> Mia: so you can make a special loop that iterates every time new tweet comes in
<hakunin> Mia: (the gem uses twitter streaming to give you that from what i'm seeing)
Logico has joined #ruby
justinmburrous has quit [Remote host closed the connection]
<Mia> hakunin, more importantly, let's assume I sent this app to my website/vps
<Mia> on digitalocean or whatever
oo_ has quit [Remote host closed the connection]
hiyosi has quit [Ping timeout: 260 seconds]
<Mia> will I be able to run more than one there? or will I hav to mix all my things into a single app
justinmburrous has joined #ruby
<Mia> maybe this doens't make any sense but as I said, I don't know the basics
<Mia> When I think abotu wordpress it's kind of scary
Logico has left #ruby [#ruby]
<hakunin> Mia: you mean like many bots?
gvenkat has joined #ruby
<Mia> or, like a twiter bot, an irc bot, a website, a web app, etc
<Mia> differet things. I don't have to pay 5usd per month per each, right?
<hakunin> Mia: you could totally do that but you would need to learn a little about server configuration
wjimenez5271 has quit [Ping timeout: 240 seconds]
<hakunin> Mia: it's not scary really, you can run different apps on different ports for example, app1 on port 3000, app2 on 3001
<hakunin> etc
emocakes has quit []
<Mia> hm I see
<Wolland> you will not be able to run it on $5 droplet
<hakunin> Wolland: why?
<Wolland> ruby will not compile
<Wolland> for starters
<hakunin> you can launch a droplet with pre-installed ruby or install a package
<hakunin> which is a separate topic kind of
narcan has joined #ruby
<Wolland> true
* Mia doensn't get it
<hakunin> i never compile ruby on production machines frankly
<Wolland> why not
<hakunin> Wolland: because packages rock
<Wolland> :) most of the time yes
justinmburrous has quit [Ping timeout: 272 seconds]
mary5030 has joined #ruby
<hakunin> Wolland: on vps if i need different ruby i just launch a new droplet
<hakunin> Wolland: provision it with some tool (chef/ansible) and get the desired ruby on it in seconds using brightbox package
bmurt has quit []
<hakunin> tools like rvm/rbenv/chruby are great for dev, in production they complicate things
<Mia> enlighten me too :)
<hakunin> Mia: just discussing how to get ruby to work on a digitalocean server you need to have it installed on your machine
threesixes has quit [Remote host closed the connection]
<hakunin> Mia: err, on their machine
<hakunin> Mia: but there are many ways to do that
<Mia> hakunin, you can select when creating droplet I guess
<hakunin> Mia: that's one way
<Mia> and I bleieve I can connect through ssh and install required gems?
<hakunin> yes
<Mia> but how about next, I mean if I'm going to simply open the console and say "ruby twitter.rb" to the machine
<Mia> and if it's gonig to loop forever...
<Mia> I mean I don't get the concept here
<Mia> concept of running multiple things
<hakunin> Mia: then while your ssh session is running your app will be running
<Mia> and it's because of my lack of information
<Mia> hakunin, hmmm
<hakunin> Mia: but you can run it in background
<hakunin> Mia: it's called "daemonizing" an app
<Mia> like when you install a rails installation on a digitalocean
<hakunin> Mia: usually they run in foreground, but simplest way to daemonize a script is to add & at the end of your command
<Mia> it runs in the background?
<hakunin> Mia: ruby twitter.rb &
<Mia> oh
<Mia> how do I stop it later
<hakunin> you can check running processes
<hakunin> and kill it
<Mia> ok, nice
<hakunin> these are the very basic ways to do that
fgo has joined #ruby
goodenough has joined #ruby
<hakunin> but a lot more is involved if you want to have a stable daemon
<hakunin> a lot of things can happen while it's running in background, like you wouldn't know if it crashed
<Mia> hm, like, something that will restart itself when things get messy, and such ?
<hakunin> until you stop seeing twitter responses
melik has joined #ruby
<Wolland> https://github.com/ghazel/daemons mia is one of options
<Mia> ok I see
<hakunin> Mia: but you don't have to think about daemonizing your app until it's finished and runs in foreground
<Mia> hakunin, I know - then maybe it's not the best time to get the server yet
krisquigley has joined #ruby
<hakunin> Mia: one good practice to keep in mind if you plan to make it into a deamon is - write all the output using puts (to STDOUT)
<Mia> but I will solve ho this twitter thing works today/tomorrow, and I will need to know soon anyway
<hakunin> (well, and errors to STDERR)
<Mia> instead of puts?
arup_r has joined #ruby
<hakunin> $stderr.puts
<hakunin> then later you can use a wrapper that will daemonize your app and send all that text to a logfile
<hakunin> automatically
<hakunin> without any additional work
rubyonrailed has quit [Remote host closed the connection]
<Mia> would it not grow and grow and cause trouble?
w09x has joined #ruby
<hakunin> yes, but those tools usually "rotate" the log for you
<hakunin> by keeping timestamps, and deleting older ones
<Mia> I see
crodas has quit [Remote host closed the connection]
<Mia> ok
<hakunin> you are having all the right hunches about things, just start playing with them
<Mia> That's good to know
w09x_ has joined #ruby
<Mia> I mean, I want to do it the "good" way you know
crodas has joined #ruby
<Mia> I don't want to feel like I'm barely standing up with matchstick support
<hakunin> well, you can only get so much out of this medium (irc)
<hakunin> hard to write tutorials/books on here, just pointers
<Mia> true
<Mia> that's also one another reason for me to create an irc bot
jbueza has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mofai has joined #ruby
<Mia> I want to connect it to freenode, to the channls I like; and I want it to collect links on a website with #channel information and nicknames
<Mia> like a link log
krisquigley has quit [Ping timeout: 260 seconds]
<hakunin> all cool ideas, go start :)
* Mia omnomnoms
x1337807x has joined #ruby
<hakunin> food is overrated :)
<Mia> sometimes
<Mia> chocolate is never overrated
niklasb has quit [Quit: WeeChat 1.0]
SilkFox_ has joined #ruby
kireevco has joined #ruby
w09x has quit [Ping timeout: 272 seconds]
<hakunin> I'm still curious why i can't read stdin after i read ARGF
codeFiend has joined #ruby
<hakunin> confused rather
snath has joined #ruby
spastorino has quit [Quit: Connection closed for inactivity]
nanoyak has quit [Quit: Computer has gone to sleep.]
zorak8 has joined #ruby
koderok has quit [Quit: koderok]
gilest has joined #ruby
b00stfr3ak has joined #ruby
amclain has quit [Quit: Leaving]
aspires has joined #ruby
hiyosi has joined #ruby
SilkFox_ has quit [Ping timeout: 250 seconds]
yacks has quit [Ping timeout: 240 seconds]
GriffinHeart has quit [Remote host closed the connection]
ghr has joined #ruby
ramfjord has quit [Ping timeout: 245 seconds]
b00stfr3ak has quit [Ping timeout: 272 seconds]
<Mia> Any ideas about what this is?
<Mia> ERROR: Error installing twitter:
<Mia> The 'http_parser.rb' native gem requires installed build tools
<Mia> Please update your PATH to include build tools or download the DevKit
<Mia> from 'http://rubyinstaller.org/downloads' and follow the instructions
gilest has quit [Ping timeout: 272 seconds]
mocfive has joined #ruby
arescorpio has quit [Excess Flood]
benzrf is now known as benzrf|offline
justinmburrous has joined #ruby
Kricir has quit [Remote host closed the connection]
<sevenseacat> you need the build tools, as the error message states.
hiyosi has quit [Ping timeout: 244 seconds]
Kricir has joined #ruby
<Mia> but gem install was working before
<Mia> before my pc crashed
<Mia> just 15 minutes ago
<havenwood> Mia: some gems have c-exts to build, many dont
<sevenseacat> for the same gem?
<havenwood> Mia: if you start installing gems doesn't take long to run into one that has c-extensions to build
ghr has quit [Ping timeout: 240 seconds]
<Mia> http://rubyinstaller.org/downloads --- is the link working for you?
<Mia> google dns can't resolve it
<havenwood> qoeka
<havenwood> works*
<Mia> hm
larissa has quit [Quit: Leaving]
KC9YDN has quit [Ping timeout: 272 seconds]
justinmburrous has quit [Ping timeout: 272 seconds]
<Mia> ok opendns worked
Kricir has quit [Ping timeout: 258 seconds]
Koshian has joined #ruby
jusmyth has joined #ruby
jusmyth has left #ruby [#ruby]
arup_r has quit [Quit: Leaving.]
mary5030 has quit [Remote host closed the connection]
belozi has joined #ruby
<belozi> hey!
AndroUser466 has quit [Read error: Connection reset by peer]
codecop has joined #ruby
cherwin has joined #ruby
<belozi> If I already have my model set up, and I want to generate a controller and views is scoffolding the best way to go?
<sevenseacat> i wouldnt, but thats up to you
therue has joined #ruby
<sevenseacat> also, #rubyonrails
w09x has joined #ruby
belozi has left #ruby [#ruby]
chipotle has quit [Quit: cya]
koderok has joined #ruby
koderok has quit [Client Quit]
w09x_ has quit [Ping timeout: 244 seconds]
wolves_cs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
belozi has joined #ruby
<belozi> I can't get in there.
<belozi> I don't know how this works, really.
<jhass> belozi: /msg NickServ help
<belozi> So, would you generate a controller and then manually build the views.
<sevenseacat> no
<belozi> jhass: I dont't know how to do that.
<jhass> belozi: type it into your IRC
<sevenseacat> ouch
<Mia> it worked ! :)
<belozi> lol!
<Mia> how to stop ruby program looping, in te console?
freerobby has quit [Quit: Leaving.]
<hakunin> Mia: ctrl+c
<belozi> CTRL C
<hakunin> belozi: you can still run generator and tell it to skip model
<Mia> thanks hakunin belozi
Takle has joined #ruby
lampd1 has joined #ruby
<belozi> So generate a controller, right?
echooo has quit [Read error: Connection reset by peer]
<sevenseacat> i wouldnt
<belozi> *Hakunin
<hakunin> belozi: you can generate everything and it will ask if you want to override model
oo_ has joined #ruby
<hakunin> but as sevenseacat you'll stop doing this as you learn more
<sevenseacat> i generate models and migrations, thats about it
<belozi> hmmmm...thanks hakunin.
<sevenseacat> and only because the whole timestamping thing in migration names is silly to do manually
echooo has joined #ruby
<hakunin> i don't generate models even, just migrations
nonmadden has quit [Remote host closed the connection]
jimmyy has joined #ruby
<belozi> Ok, thanks. I can write them all then.
yacks has joined #ruby
<hakunin> belozi: if you don't feel confident, generators are helpful to get started with rails
<belozi> I was just trying to figure out the best way to do it.
Takle has quit [Ping timeout: 258 seconds]
<belozi> I'm okay with writing them.
<belozi> Thanks!
toretore has joined #ruby
GriffinHeart has joined #ruby
SilkFox_ has joined #ruby
<Mia> what does rescue do?
<Mia> I'm testing this twitter gem, and I get mostly the resue error
<Mia> Sometimes it works though
<hakunin> Mia: you should be able to search for this
Dude007 has quit [Read error: No route to host]
Dude007 has joined #ruby
jhass is now known as jhass|off
msmith_ has quit [Remote host closed the connection]
kyb3r_ has joined #ruby
jcdesimp has quit [Remote host closed the connection]
SilkFox_ has quit [Ping timeout: 272 seconds]
maestrojed has joined #ruby
thomasxie has joined #ruby
mikepack has quit [Remote host closed the connection]
Scotteh has joined #ruby
Channel6 has quit [Quit: Leaving]
rubyonrailed has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
thomasxie has quit [Ping timeout: 260 seconds]
w09x_ has joined #ruby
w09x_ has quit [Client Quit]
rubyonrailed has quit [Ping timeout: 272 seconds]
w09x has quit [Ping timeout: 246 seconds]
justinmburrous has joined #ruby
bluOxigen has joined #ruby
<Mia> hm I can't get the tweet gem work
kireevco has quit [Quit: Leaving.]
thagomizer has quit [Quit: Leaving.]
c107 has quit [Remote host closed the connection]
gvenkat_ has joined #ruby
b00stfr3ak has joined #ruby
<Hanmac> Mia can you finially say what is your problem and what error/exception you get? and make a pastie/gist of your code so we could find what you might do wrong
gvenkat has quit [Ping timeout: 258 seconds]
msmith_ has joined #ruby
nanoyak has joined #ruby
<Mia> you need to insert keys
iamcyberbird has joined #ruby
gilest has joined #ruby
HelperW_ has quit [Quit: Lingo - http://www.lingoirc.com]
hiyosi has joined #ruby
IceDragon has quit [Quit: Space~~~]
<Hanmac> Mia ah ok and what problem with rescue do you get?
cherwin has quit [Ping timeout: 272 seconds]
ta has quit [Remote host closed the connection]
<Mia> I followed the chart Hanmac
<Mia> it was nothing certain
<Mia> it was Twitter::Error
<Mia> no details
ta has joined #ruby
ghr has joined #ruby
b00stfr3ak has quit [Ping timeout: 245 seconds]
aspires has quit []
<Hanmac> Mia did you add config.access_token & config.access_token_secret too?
msmith_ has quit [Ping timeout: 240 seconds]
<Mia> yes, I did. the rquest I'm doing should be done with rest
<Mia> not streaming
aspires has joined #ruby
guiguidoc has quit [Ping timeout: 246 seconds]
JohnBat26 has joined #ruby
hiyosi has quit [Ping timeout: 240 seconds]
<Hanmac> Mia hm where does this "collect_with_max_id" come from and what interface does it have? maybe you use the wrong block parameters?
heftig has quit [Ping timeout: 260 seconds]
gilest has quit [Remote host closed the connection]
<Mia> these two
aspires has quit [Client Quit]
sinkensabe has joined #ruby
ta has quit [Ping timeout: 260 seconds]
ghr has quit [Ping timeout: 250 seconds]
codecop has quit [Remote host closed the connection]
mocfive has quit [Remote host closed the connection]
<Mia> brb
mocfive has joined #ruby
robustus|Off is now known as robustus
<GluonQuark> if i were to use gtk, should i use gtk2 or gtk3 binding?
robustus is now known as robustus|Off
codecop has joined #ruby
Jarboe has quit []
mesamoo has quit [Quit: Konversation terminated!]
elshaka has joined #ruby
mocfive has quit [Ping timeout: 260 seconds]
noop has joined #ruby
SilkFox_ has joined #ruby
emocakes has joined #ruby
enali1 has joined #ruby
enali1 has quit [Remote host closed the connection]
enali1 has joined #ruby
icebourg has quit []
guiguidoc has joined #ruby
thomasxie has joined #ruby
jimmyy has quit [Ping timeout: 240 seconds]
oleo__ has quit [Quit: Verlassend]
charliesome has quit [Quit: zzz]
SilkFox_ has quit [Ping timeout: 250 seconds]
ramfjord has joined #ruby
77CAAFFYT has quit [Remote host closed the connection]
robustus|Off is now known as robustus
apeiros has quit [Remote host closed the connection]
GluonQuark has quit [Quit: Leaving]
apeiros has joined #ruby
Skyler has joined #ruby
oo_ has quit [Remote host closed the connection]
Cache_Money has quit [Quit: Cache_Money]
benlieb has joined #ruby
ramfjord has quit [Client Quit]
dx7 has quit [Remote host closed the connection]
oo_ has joined #ruby
dx7 has joined #ruby
robustus is now known as robustus|Off
<Mia> Hanmac, did you have a look at the links
enali1 has quit [Ping timeout: 250 seconds]
<sevenseacat> this is what i mean about experimenting, researching, and trying to figure stuff out :P
<Hanmac> yes but i dont have any info what chould go wrong ... normally it chould have shown an exception message ... (or did you maybe cut it away?)
dx7 has quit [Ping timeout: 258 seconds]
krisquigley has joined #ruby
Axy has joined #ruby
bthesorceror has quit [Quit: bthesorceror]
Mia has quit [Ping timeout: 246 seconds]
<Axy> disconnected
kuanyui has quit [Quit: Leaving.]
foooobear has joined #ruby
jelera has joined #ruby
charliesome has joined #ruby
gilest has joined #ruby
Spami has joined #ruby
ryao has joined #ruby
tagrudev has joined #ruby
robustus|Off is now known as robustus
codeFiend has quit [Quit: codeFiend]
fgo has quit [Remote host closed the connection]
jonmorehouse has quit [Ping timeout: 260 seconds]
uber has quit [Ping timeout: 260 seconds]
robustus is now known as robustus|Off
tectonic has quit []
sigurding has joined #ruby
jonmorehouse has joined #ruby
lxsameer has joined #ruby
lxsameer has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
jcdesimp has joined #ruby
sinkensabe has quit [Remote host closed the connection]
mityaz has joined #ruby
yfeldblu_ has joined #ruby
yfeldblum has quit [Ping timeout: 260 seconds]
nonmadden has joined #ruby
apeiros has quit [Ping timeout: 272 seconds]
charliesome has quit [Quit: zzz]
jehosogo has quit [Quit: Textual IRC Client: www.textualapp.com]
drawingthesun has joined #ruby
SilkFox_ has joined #ruby
<pontiki> I'm seeking some clarification on terminology: is this what people consider a private, internal class: https://gist.github.com/tamouse/63e5a4a103701f14108f
Axy has quit [Read error: Connection reset by peer]
maestrojed has quit [Quit: Computer has gone to sleep.]
b00stfr3ak has joined #ruby
agent_white has quit [Ping timeout: 272 seconds]
Dude007 has quit []
uber has joined #ruby
snorkra has quit [Ping timeout: 246 seconds]
sigurding has quit [Quit: sigurding]
Mia has joined #ruby
hiyosi has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
jsaak has joined #ruby
MasterPiece has joined #ruby
* Mia is happy that Twitter stream works now
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
Kartagis has joined #ruby
ghr has joined #ruby
<Mia> Does anyone have any experience with RubyMotion?
b00stfr3ak has quit [Ping timeout: 272 seconds]
krisquigley has quit [Remote host closed the connection]
krisquigley has joined #ruby
goodenough has quit [Remote host closed the connection]
paradisaeidae has quit [Ping timeout: 246 seconds]
goodenough has joined #ruby
<Nilium> No, but I keep eyeballing it as an impulse purchase to regret later.
<sevenseacat> my company used it extensively for a while.
hiyosi has quit [Ping timeout: 260 seconds]
GriffinHeart has quit [Remote host closed the connection]
<sevenseacat> then switched to swift when that came out
<Nilium> I'd just use Swift and Obj-C.
<Nilium> Former for most code, latter for performance related stuff
<pontiki> hmm, that backhaul from oz is slow tonite?
<hakunin> Nilium: objc is more performant than swift?
Wolland_ has joined #ruby
<hakunin> sevenseacat: oh nice, i read that
ghr has quit [Ping timeout: 272 seconds]
<Nilium> hakunin: By virtue of being a superset of C and allowing you to do evil things in C (or C++/Obj-C++), yes, without question.
<Mia> Hm I see
Wolland has quit [Ping timeout: 245 seconds]
<Mia> I'm checking the post
<Nilium> Swift has the potential to be at least as performant as C, but it's early days.
<sevenseacat> was written by one of the guys here. pretty smart dood.
<pontiki> excellent quote: Swift looked like Ruby and C# had a beautiful strongly-typed baby
<Nilium> s/C#/Scala/
SilkFox_ has quit [Ping timeout: 244 seconds]
<hakunin> Nilium: i just thought that swift is low level enough, and perhaps objc only wins on some hacky micro-optimizations that you could deem insignificant
<Nilium> Fixed that for you. Heathen.
<Nilium> Swift isn't really very low-level.
<pontiki> actually, i thought swift rather high-lvel
<Nilium> Can't really get low level without explicit memory management, control over alignment and such, etc.
krisquigley has quit [Ping timeout: 272 seconds]
<hakunin> i mean, the mapping of swift to ios
<hakunin> is direct enough :)
rpag has joined #ruby
IteratorP has quit [Quit: Leaving...]
<Nilium> I'm not even sure what guarantees you can make about sequential array access in Swift depending on object type (i.e., struct vs. class) and when you can expect a cache miss
kuanyui has joined #ruby
goodenough has quit [Ping timeout: 246 seconds]
sinkensabe has joined #ruby
bal has joined #ruby
<Nilium> And I figure if you want an easy performance boost, writing code to avoid cache misses is the easiest thing to start with.
AlexRussia has joined #ruby
lewix has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
<Nilium> The second easiest one is to stop writing code that operates on one thing at a time, since that's just stupid no matter how you look at it, but everyone does it because it's easy to think about.
charliesome has joined #ruby
<hakunin> map reduce all the things
<Nilium> Map and reduce are actually exactly the sort of thing I just said was stupid
<hakunin> depends
<Nilium> Map and reduce are one block invocation per element, whereas I'm talking about one block invocation for all elements
<Nilium> The reason I say that is because you never want just one.
<Nilium> Just _one_ invocation is the exceptional case. You usually want to do the same thing a lot of times, and yet you're wasting all these cycles on block invocation
gilest has quit [Remote host closed the connection]
jcdesimp has quit [Remote host closed the connection]
<pontiki> like potato chips
<Nilium> The reason we do it that way is because it's easy to reason about, but it's not fast
<hakunin> i kind of lost you, how do you traverse anything
paradisaeidae has joined #ruby
<Nilium> Well, not fastest
anaeem1 has joined #ruby
<Nilium> My point is that you have more looping constructs than .each and .map and so on.
<hakunin> they're highly contextual
<Nilium> As taboo as it is in Ruby, you can get some good use out of a while loop over .each
<Hanmac> Nilium: with #lazy you might optimize the code a bit too
<Nilium> Depends on whether that's going to eliminate the cost of repeatedly invoking a block
rubyonrailed has joined #ruby
sigurding has joined #ruby
<Nilium> Probably won't.
<hakunin> lazy is easy, i'm curious about this cleverness Nilium is referring to, sounds fascinating
<Nilium> It's less cleverness and more just the usual awareness that calling a function has a penalty
kwd has joined #ruby
<shevy> hmm
<pontiki> are you saying while is different because it doesn't have to traverse each element of the collection?
heftig has joined #ruby
<shevy> how do you pass a block given to one method, to another method from inside that method?
<Nilium> I'm saying while is different because you're not creating a block and calling it each iteration.
<hakunin> shevy: def foo(&block); bar(&block) end
rpag has quit [Ping timeout: 246 seconds]
<shevy> hmmmmm
<shevy> that syntax always trips me up
jgrevich has joined #ruby
<shevy> I mean, I am so used to blocks {} and then call yield
<pontiki> each and map don't create blocks
<shevy> and suddenly I have to use two &
<pontiki> they create enumerators
<Nilium> foo.each { |...| } ← This basically creates an object that allows you to invoke the block, passes it to .each, and .each calls it per-element
<Nilium> .each isn't creating the block, you are.
<Nilium> .each is just invoking it.
<Nilium> The point is that invoking it is not free.
<pontiki> and while () { } is not invoking a block?
<Hanmac> Nilium: a block itself is not an object per-se ... if you use yield it does not create an Proc object
<Nilium> while cond ; end does not invoke a block.
<Nilium> Hanmac: That's not really the point.
<hakunin> shevy: in arg you use & to convert block into a proc and stuff it into a varaible, it's a syntatic thing, then in method invocation you need a way to make that variable act like a block of that method, so you use & to tell ruby to treat is as a block
crazydiamond has joined #ruby
<shevy> by the way that works very well, thanks hakunin
<Nilium> Creating a block isn't the part that I'm talking about. It's block invocation, like I keep saying.
rubyonrailed has quit [Ping timeout: 244 seconds]
<pontiki> yeah, that's the expensive part of looping
<hakunin> Nilium: interesting, so this has to do with ruby internals
<hakunin> Nilium: the overhead of invoking blocks
<Nilium> Ruby internals, but it also applies to almost all programming languages
<Nilium> i.e., you write a function to process one element and while iterating you pass one element at a time to a function
<Nilium> It's easy to think about that way, but it's writing code for the exceptional case: you're not dealing with one thing, you're dealing with many things, write code for that.
gilest has joined #ruby
<Nilium> Granted, that's harder to do in practice and chances are that's not what you need to be optimizing most things for
justinmburrous has quit [Remote host closed the connection]
<hakunin> Nilium: could you give any simple example where code is augmented this way besides using while as opimization?
KLVTZ has joined #ruby
justinmburrous has joined #ruby
<Nilium> Not in Ruby I couldn't.
jelera has quit [Ping timeout: 246 seconds]
yfeldblu_ has quit [Remote host closed the connection]
Deejay has joined #ruby
<hakunin> Nilium: cause it bothers me that i can't seem to grasp the concept
AlexRussia has quit []
Deejay is now known as Guest54236
fgo has joined #ruby
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Nilium> https://github.com/CppCon/CppCon2014/tree/master/Presentations/Data-Oriented%20Design%20and%20C%2B%2B ← If you know C++, these slides from Mike Acton might help. He's given this same sort of talk over the years, which is how I picked it up.
justinmburrous has quit [Ping timeout: 246 seconds]
lewix has joined #ruby
aganov has joined #ruby
<hakunin> Nilium: the only stuff that pops into my head is using matrix transformations via GPU doing math operations on multiple numbers at once
<Nilium> That would actually be a good example.
<Nilium> Anyway, need to go brush teeth and head off to sleep because otherwise I'm going to be more angry than usual about going to work and writing code in PHP.
<Nilium> Because PHP.
<Nilium> Oh god why PHP.
<sevenseacat> lol
<Nilium> I must've been a terrible person in a past life.
<sevenseacat> wanna swap? you can have this spree/wordpress mashup app
cs0sf has joined #ruby
<hakunin> we get to pick nowadays. change jobs.
<cs0sf> hello people,
<sevenseacat> so easy to say
<hakunin> sevenseacat: speaking from experience (no pun)
tylersmith has quit [Remote host closed the connection]
<sevenseacat> 'just put yourself and your family in financial peril'
Tomme has joined #ruby
<hakunin> sevenseacat: step 1 - find new job, step 2 - quit
tylersmith has joined #ruby
<hakunin> done multiple times, my wife is ok
<sevenseacat> hakunin: guessing you live in a part of the world where that is easy to do
gvenkat_ has quit [Quit: Leaving]
<cs0sf> can i ask something'
<Nilium> This is my first developer job, so I'll just trust it gets better than PHP
starkhalo has quit [Ping timeout: 244 seconds]
gilest has quit [Remote host closed the connection]
<sevenseacat> Nilium: really? i would have pegged you for much more experienced
<hakunin> sevenseacat: not trying to trivialize it, but know some people are unreasonably reluctant. pushed a few people i know around me to do this and they ended up happy
<Nilium> I have a lot of experience coding for myself and over the years, but little professional experience.
<hakunin> and i'd recommend to focus on remote
mikeg has joined #ruby
fabrice31 has joined #ruby
<hakunin> but it's all a matter of taste
<Nilium> Github doesn't mean much to a lot of HR peoples either, apparently.
coderhs has quit [Ping timeout: 240 seconds]
<sevenseacat> i'd have to focus on remote if i wanted another ruby job
Synthbread has joined #ruby
jgrevich has quit [Quit: jgrevich]
thebigman has joined #ruby
tylersmith has quit [Ping timeout: 272 seconds]
SilkFox_ has joined #ruby
spicerack has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zeroNones has joined #ruby
zeroNones has quit [Client Quit]
<Nilium> My job title is technically junior iOS developer, but I keep pointing out that I haven't touched Obj-C since I started working
<Nilium> Well, haven't touched it for work.
havenwood has quit [Remote host closed the connection]
<Nilium> I've been doing personal stuff, but I keep that under wraps because my NDA is all-consuming.
ctp has joined #ruby
havenwood has joined #ruby
Guest54236 has quit [Quit: Textual IRC Client: www.textualapp.com]
thebigman is now known as bigkevmcd
Macaveli has joined #ruby
jcdesimp has joined #ruby
arup_r has joined #ruby
JBreit has joined #ruby
* Hanmac point and laugh at iOS developer ;P
Morkel has joined #ruby
JBreit has left #ruby [#ruby]
<arup_r> Need one help suppose I did.. doc = Nokogiri::HTML(open("http://www.threescompany.com/")) Now I get the Nokogiri::HTML::Document object... From the document object can I get the actual **uri** back ?
<arup_r> Is there any utility method in Nokogiri API? I am not finding it ..
havenwood has quit [Ping timeout: 264 seconds]
jonmorehouse has quit [Ping timeout: 272 seconds]
oo_ has quit [Remote host closed the connection]
thomasxie has left #ruby [#ruby]
<Hanmac> arup_r: doc = Nokogiri::HTML(open("http://www.threescompany.com/"), "http://www.threescompany.com/") and then doc.url
<arup_r> Hanmac: Let me try
<sevenseacat> that sneaky url method.
agent_white has joined #ruby
andikr has joined #ruby
oo_ has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
<shevy> it gets right to your brain
jack_rabbit has quit [Ping timeout: 260 seconds]
<arup_r> shevy: I should get some point as I asked this question .. :-)
<shevy> nah
<shevy> you get -3 for asking XML stuff
<arup_r> Hanmac: It works... tell me the API doc link.. where did you find it ?
<shevy> his brain keeps all APIs
anarang has joined #ruby
<arup_r> shevy: I am writing Crawler for my comp.. so I have to.. :)
justinmburrous has joined #ruby
cndiv has quit [Ping timeout: 272 seconds]
charliesome has quit [Quit: zzz]
<Hanmac> arup_r: "ri Nokogiri::HTML.parse" did return "parse(thing, url = nil, encoding = nil, options = XML::ParseOptions::DEFAULT_HTML, &block)" the rest was just trying
Xeago has joined #ruby
b00stfr3ak has joined #ruby
<arup_r> Hanmac: Cool!
sigurding has quit [Ping timeout: 260 seconds]
beneggett has quit [Quit: Textual IRC Client: www.textualapp.com]
SilkFox_ has quit [Ping timeout: 260 seconds]
<arup_r> I am happy as I didn't need to add one extra parameter to pass the URL and use it some where else.. I strictly follow **copuling** ;) :p
thomasxie has joined #ruby
bigkevmcd has quit [Quit: This computer has gone to sleep]
justinmburrous has quit [Ping timeout: 272 seconds]
a13x212 has quit [Ping timeout: 240 seconds]
sigurding has joined #ruby
hiyosi has joined #ruby
ghr has joined #ruby
belozi1 has joined #ruby
sigurding has quit [Read error: Connection reset by peer]
<Mia> How can I say "not" in ruby
<Mia> like, include? not
<shevy> nah
<Mia> unless my_string.include?
<shevy> use ! please
belozi has quit [Ping timeout: 240 seconds]
<Mia> !mystring.include? --- this?
<shevy> >> %w( cat dog ).include? 'horse'
<eval-in_> shevy => false (https://eval.in/200147)
<shevy> >> ! %w( cat dog ).include? 'horse'
<eval-in_> shevy => true (https://eval.in/200148)
<sevenseacat> whats wrong with unless?
terlar has joined #ruby
<shevy> there you see the boolean return is toggled
<shevy> cats and dogs do not get along with horses
<shevy> we have a real channel cat to verify that statement
<Mia> >> !true
<eval-in_> Mia => false (https://eval.in/200149)
<Mia> ok nice
<Mia> thank you shevy
<sevenseacat> is true, i dont like horses.
<shevy> \o/
nanoyak has quit [Quit: Computer has gone to sleep.]
hiyosi has quit [Ping timeout: 260 seconds]
ciampix has joined #ruby
<Mia> ok. What's wrong with this line?
<Mia> if object.is_a?(Twitter::Tweet) && !object.text.include? "RT "
ghr has quit [Ping timeout: 244 seconds]
<Mia> I want to check if the object is a tweet and doens't have "RT " in it at the same time
<sevenseacat> that depends on what its supposed to do and what its not doing and what object and object.text is
<shevy> is there anything wrong with it?
krisquigley has joined #ruby
<Mia> well I get this error
<Mia> twitter.rb:13: syntax error, unexpected tSTRING_BEG, expecting keyword_then or ';' or '\n'
<Mia> if object.is_a?(Twitter::Tweet) && !object.text.include? "RT "
<Mia> twitter.rb:18: syntax error, unexpected keyword_end, expecting end-of-input
<Mia> ^
<shevy> >> x = 'cats hate mice'; puts 'yeah they do' if x.is_a?(String) && !x.include?('d')
<eval-in_> shevy => yeah they do ... (https://eval.in/200151)
<shevy> well then it tells you to use an extra () there
<Mia> hm why so
Vivekananda has joined #ruby
<shevy> the parser gets confused
<sevenseacat> because the && binds more tightly, guessing
<sevenseacat> than the implied ()
GriffinHeart has quit [Remote host closed the connection]
<shevy> Mia simply put () and be done with that line ;)
<Hanmac> sevenseacat & shevy & Mia ... the problem is the !
melik has quit [Quit: Computer has gone to sleep.]
<Mia> yes it works now, but I didn't get why
<sevenseacat> how? thats not a tSTRING_BEG
snorkra has joined #ruby
<sevenseacat> the " is
<Mia> Hanmac, do explain please
mozzarella has quit [Ping timeout: 246 seconds]
<Hanmac> hm or maybe the ! in combination with the &&
<Mia> WEll if there is a more clever way to do it I would love to know
Hyknua has joined #ruby
<Hanmac> hm no sevenseacat is right is the && and not the !
<Mia> like if this unless this (both at the same time wtihıt nesting)
belozi1 has quit [Ping timeout: 272 seconds]
<Hanmac> "and" works
<Hanmac> >> x = 'cats hate mice'; puts 'yeah they do' if x.is_a?(String) and !x.include? 'd'
<eval-in_> Hanmac => yeah they do ... (https://eval.in/200153)
<Mia> What's wrong with &&
<sevenseacat> and is much lower precedence
<shevy> it's a clever cat indeed
agent_white has quit [Read error: Connection reset by peer]
klaut has joined #ruby
<sevenseacat> Mia: your line is interpreted as if(object.is_a?(Twitter::Tweet) && !object.text.include?)"RT "
<shevy> Mia you only have to remember that && has not the same precedence as "and"
KLVTZ has quit [Quit: Lost terminal]
<Mia> hm
* Hanmac is reminded at Mindy from Animaniacs ... like "you need to use ()" - "Why?" - "because otherwise it does not work" - "Why?"
<sevenseacat> which kinda isnt what you want
<Mia> so instead of useng && or ||, should I directly type and or ?
<sevenseacat> no - always use && and ||
<Mia> isn't it the same thing
oo_ has quit [Remote host closed the connection]
<sevenseacat> no
<Mia> O.o
<sevenseacat> different levels of precendence
<sevenseacat> && is much stronger than `and`
mozzarella has joined #ruby
* Mia googles precendence
<sevenseacat> i also cant spell the word 'precedence'
krisquig_ has joined #ruby
<Hanmac> because it did fall in the coding pot while it was made ... now && is stronger than and
<sevenseacat> `importance` might also work - ever do BODMAS with maths at school? :)
<Mia> oh
relix has joined #ruby
<Mia> like * and + difference
<sevenseacat> multiplication has higher precedence than addition, for example
echooo has quit [Ping timeout: 244 seconds]
<Mia> order
<sevenseacat> exactly
<Mia> okay
<shevy> Mia see, after you wrote a few thousands line of code in ruby
<Mia> :)
<shevy> you no longer have to ask whether you will use && or and
wallerdev has quit [Quit: wallerdev]
<shevy> because you will simply look at your code and intuitively know which way is right and which way is wrong
<sevenseacat> i think rubocop will flag `and` as an offense
<Mia> also when I'm creating the object, it's created like this:
<Mia> client = Twitter::Streaming::Client.new
nonmadde_ has joined #ruby
thejamespinto has quit [Remote host closed the connection]
<shevy> rubocop flags itself as offense
mijicd has joined #ruby
<Mia> I've finished the codecademy simple tutorial but didn't see anything like that
sigurding has joined #ruby
jack_rabbit has joined #ruby
echooo has joined #ruby
<Mia> what the hell is going on there between::those::things
<shevy> that is just nesting
<sevenseacat> like what? its just an assignment
<shevy> you can use a million ::
<sevenseacat> :: is namespacing
<shevy> take sevenseacat care
<shevy> erm
<shevy> *here
dx7 has joined #ruby
<shevy> with namespacing it would be:
qba73 has joined #ruby
<shevy> Seven::Sea::Cat
<sevenseacat> module Seven; module Sea; class Cat; end; end; end
<shevy> yeah
<shevy> just like your Twitter thing Mia
charliesome has joined #ruby
<Mia> so why not dots but :
<Mia> oh, method.
<sevenseacat> theyve put everything into a Twitter namespace in case you're using something else that defines a Streaming class - that would be massive conflicts
<Mia> ok I see
oo_ has joined #ruby
<Mia> ok. I got my bot running.
<Mia> :)
carraroj has joined #ruby
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
krisquig_ has quit [Ping timeout: 260 seconds]
Hobogrammer has quit [Ping timeout: 245 seconds]
<sevenseacat> awesome
<Mia> it's jsut streaming right now, but still a step
nonmadden has quit [Ping timeout: 260 seconds]
mozzarella has quit [Ping timeout: 245 seconds]
thejamespinto has joined #ruby
dx7 has quit [Ping timeout: 258 seconds]
ggherdov___ has quit [Changing host]
ggherdov___ has joined #ruby
ggherdov___ has quit [Changing host]
ggherdov___ has joined #ruby
sk87 has joined #ruby
mozzarella has joined #ruby
ggherdov___ is now known as ggherdov
emrox has joined #ruby
tvw has joined #ruby
carraroj has quit [Read error: Connection reset by peer]
carraroj has joined #ruby
charliesome has quit [Quit: zzz]
carraroj has quit [Changing host]
carraroj has joined #ruby
cerberblue has quit [Ping timeout: 264 seconds]
sigurding has quit [Read error: No route to host]
alem0lars has joined #ruby
thomasxie has left #ruby [#ruby]
willgo has quit [Remote host closed the connection]
SilkFox_ has joined #ruby
nonmadde_ has quit [Quit: Leaving...]
nonmadden has joined #ruby
threesixes has joined #ruby
bigkevmcd has joined #ruby
jack_rabbit has quit [Ping timeout: 244 seconds]
lewix has quit [Remote host closed the connection]
carraroj has quit [Ping timeout: 240 seconds]
sigurding has joined #ruby
elshaka has quit [Quit: Saliendo]
GriffinHeart has joined #ruby
garbanotas has joined #ruby
gilest has joined #ruby
SilkFox_ has quit [Ping timeout: 272 seconds]
alex88 has joined #ruby
enali has joined #ruby
zorak8 has quit [Ping timeout: 245 seconds]
goshdarnyou has quit [Quit: Connection closed for inactivity]
LiohAu_ has joined #ruby
abdulsattar has joined #ruby
MasterPiece is now known as Qarekhani
paradisaeidae has quit [Quit: ChatZilla 0.9.90.1 [Firefox 33.0/20140923222114]]
Qarekhani is now known as MasterPiece
thomasxie has joined #ruby
rubyonrailed has joined #ruby
foooobear has quit [Ping timeout: 245 seconds]
ndrei has joined #ruby
jonmorehouse has joined #ruby
Takle has joined #ruby
krisquigley has quit [Remote host closed the connection]
AFKGeek has joined #ruby
lsmola has joined #ruby
ht__th has joined #ruby
ta has joined #ruby
elaptics`away is now known as elaptics
kaspertidemann has joined #ruby
thomasxie has quit [Read error: Connection reset by peer]
Takle has quit [Ping timeout: 246 seconds]
thomasxie has joined #ruby
coderhs has joined #ruby
oo_ has quit [Remote host closed the connection]
Wolland has joined #ruby
roolo has joined #ruby
Wolland_ has quit [Ping timeout: 260 seconds]
yfeldblum has joined #ruby
enali has quit [Remote host closed the connection]
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shredding has joined #ruby
mikeg has quit [Read error: Connection reset by peer]
alem0lars has quit [Quit: AFK..]
sigurding has quit [Quit: sigurding]
echooo has quit [Ping timeout: 272 seconds]
ghr has joined #ruby
oo_ has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
echooo has joined #ruby
MasterPiece is now known as Qarekhani
hiyosi has joined #ruby
Qarekhani is now known as MasterPiece
rdark has joined #ruby
jontmorehouse has joined #ruby
justinmburrous has joined #ruby
echooo1 has joined #ruby
alem0lars has joined #ruby
jonmorehouse has quit [Ping timeout: 260 seconds]
echooo has quit [Ping timeout: 250 seconds]
mrfoto has joined #ruby
hiyosi has quit [Ping timeout: 260 seconds]
seitensei has quit [Ping timeout: 250 seconds]
justinmburrous has quit [Ping timeout: 244 seconds]
Wolland has quit [Remote host closed the connection]
ndrei has quit [Disconnected by services]
mrfoto has quit [Client Quit]
<Mia> Question
mrfoto has joined #ruby
ndrei has joined #ruby
Igneous has quit [Ping timeout: 246 seconds]
<Mia> the documentation says Chatterbot comes with a script named chatterbot-register which will handle two tasks -- it will authorize your bot with Twitter and it will generate a skeleton script, which you use to implement your actual bot." - how can Irun this thing?
<Mia> I mean the chatterbot-register
SilkFox_ has joined #ruby
sepp2k has joined #ruby
havenwood has joined #ruby
ndrei has quit [Disconnected by services]
echooo1 has quit [Ping timeout: 258 seconds]
ndrei has joined #ruby
Tricon has quit [Quit: Leaving...]
marr has joined #ruby
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
ephemerian has joined #ruby
WormDrink has quit [Ping timeout: 246 seconds]
yfeldblum has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
yfeldblum has joined #ruby
ndrei has quit [Client Quit]
ndrei has joined #ruby
arup_r has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 264 seconds]
banister has joined #ruby
kaspertidemann has quit [Ping timeout: 260 seconds]
Aaaal has joined #ruby
w1xz has joined #ruby
mikeg has joined #ruby
arup_r has joined #ruby
jcdesimp has quit [Quit: Leaving...]
ndrei has quit [Client Quit]
einarj has joined #ruby
SilkFox_ has quit [Ping timeout: 260 seconds]
ndrei has joined #ruby
alem0lars has quit [Quit: AFK..]
seitensei has joined #ruby
abdulsattar_ has joined #ruby
duncannz has joined #ruby
charliesome has joined #ruby
ndrei has quit [Client Quit]
ndrei has joined #ruby
gilest has quit [Quit: Leaving...]
krisquigley has joined #ruby
Soda has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ndrei has quit [Client Quit]
ndrei has joined #ruby
banister has joined #ruby
coderhs has quit [Ping timeout: 260 seconds]
ndrei has quit [Client Quit]
ndrei has joined #ruby
duncan_ has joined #ruby
banister has quit [Client Quit]
crazydiamond has quit [Ping timeout: 244 seconds]
Scotteh has quit [Quit: Later, folks]
jlebrech has joined #ruby
ndrei is now known as recover
coderhs has joined #ruby
joonty has joined #ruby
abdulsattar_ has quit [Quit: Leaving]
<jlebrech> what's this thing called where you can put extra data in an rb and use that as a template, i think you can do that with camping
abdulsattar has quit [Remote host closed the connection]
abdulsattar has joined #ruby
mikeg has quit [Remote host closed the connection]
ta__ has joined #ruby
andrewlio has joined #ruby
recover has quit [Client Quit]
charliesome has quit [Quit: zzz]
mkaesz has joined #ruby
ndrei has joined #ruby
ta has quit [Read error: Connection reset by peer]
oo_ has quit [Remote host closed the connection]
benlieb has quit [Quit: benlieb]
chthon has joined #ruby
Takle has joined #ruby
dumdedum has joined #ruby
charliesome has joined #ruby
elstif has joined #ruby
oo_ has joined #ruby
alem0lars has joined #ruby
ciampix has quit [Ping timeout: 260 seconds]
kuanyui has quit [Ping timeout: 272 seconds]
thomasxie has left #ruby [#ruby]
ciampix has joined #ruby
benlieb has joined #ruby
Alina-malina has quit [Ping timeout: 246 seconds]
duncannz has quit [Remote host closed the connection]
duncan_ has quit [Remote host closed the connection]
arup_r has quit [Remote host closed the connection]
WormDrink has joined #ruby
Spami has joined #ruby
coderhs has quit [Ping timeout: 246 seconds]
charliesome has quit [Quit: zzz]
alem0lars has quit [Ping timeout: 260 seconds]
Skyler has quit [Ping timeout: 260 seconds]
agent_white has joined #ruby
kuanyui has joined #ruby
Advocation has joined #ruby
Alina-malina has joined #ruby
SilkFox_ has joined #ruby
Takle has quit [Remote host closed the connection]
cherwin has joined #ruby
alem0lars has joined #ruby
sevenseacat has quit [Remote host closed the connection]
benlieb has quit [Quit: benlieb]
b00stfr3ak has quit [Ping timeout: 272 seconds]
urtokk has joined #ruby
AlSquire has joined #ruby
skammer3 has joined #ruby
einarj_ has joined #ruby
beseku has joined #ruby
urtokk has quit [Client Quit]
SilkFox_ has quit [Ping timeout: 272 seconds]
urtokk has joined #ruby
LiohAu_ is now known as LiohAu
jbw has joined #ruby
hiyosi has joined #ruby
einarj has quit [Ping timeout: 258 seconds]
oo_ has quit [Remote host closed the connection]
justinmburrous has joined #ruby
Xeago has quit [Remote host closed the connection]
dx7 has joined #ruby
einarj_ has quit [Read error: Connection reset by peer]
einarj has joined #ruby
MasterPiece has quit [Quit: Leaving]
hiyosi has quit [Ping timeout: 245 seconds]
justinmburrous has quit [Ping timeout: 272 seconds]
oo_ has joined #ruby
dx7 has quit [Ping timeout: 245 seconds]
badhatter has joined #ruby
b00stfr3ak has joined #ruby
lkba has quit [Ping timeout: 244 seconds]
havenwood has joined #ruby
alem0lars has quit [Quit: AFK..]
<pontiki> you mean following __DATA__ in the source file?
foooobear has joined #ruby
nfk has joined #ruby
b00stfr3ak has quit [Ping timeout: 244 seconds]
_lexjm has quit [Ping timeout: 260 seconds]
workmad3 has joined #ruby
arup_r has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
elstif has quit [Quit: Leaving.]
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
nrsk has joined #ruby
<jlebrech> pontiki: yeah i mean __END__ and the DATA variable :)
<pontiki> right, i have no idea what that's actually called. Embedded data maybe?
fgo has quit [Remote host closed the connection]
jontmorehouse has quit [Ping timeout: 260 seconds]
rdark has quit [Ping timeout: 245 seconds]
<Mia> Anyone around?
Advocation has quit [Quit: Advocation]
<Mia> I need a little help with a gem
<pontiki> ya
rdark has joined #ruby
<arup_r> I have an array --- [1, 2, 's', nil, '', 'd'] I want to use #grep to filter the array with `nil` and empty string.. But not able to make correct Regex... Any help please ?
banister has joined #ruby
<Mia> I've found "chatterbot" gem that works like a wrapper over twitter gem
<canton7> why are you using grep? grep uses regex. regex is for searching strings
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<canton7> >> [1, 2, 's', nil, '', 'd'].select{ |x| ['', nil].include?(x) }
<eval-in_> canton7 => [nil, ""] (https://eval.in/200187)
<pontiki> Mia: is this a question specifically about chatterbot?
<Mia> well yes and no pontiki, I started ruby 2 days ago, so it's possibly a general question.
rubyonrailed has quit [Remote host closed the connection]
<Mia> I will send an example and ask my question, one sec.
<arup_r> No I want to use #grep.. I know #reject # select bla bla
<Mia> you can see that there are those options - but how can I access them?
Hien has joined #ruby
<Mia> I mean, I don't get the logic of it eventhough I know the basics
<arup_r> canton7: Trying something new.. :-)
<canton7> arup_r, listen to me. grep accepts a regex. regexes are for use on *strings*
<canton7> nil is *not* a string
<Mia> pontiki, here is an example that uses the streaming (I believe) https://github.com/muffinista/chatterbot/blob/master/examples/streaming_bot.rb
rpag has joined #ruby
abdulsattar has quit [Ping timeout: 246 seconds]
<arup_r> canton7: makes sense..
<Mia> pontiki, does my question make sense
SilkFox_ has joined #ruby
<Mia> or any other person around, if you want to reply
<pontiki> Mia: i have not a single clue what those comments are referring to
<pontiki> definitely not the code over them
<pontiki> under them*
<Mia> it uses the twitter api, but I thought it's an "optional" thing to disable/enable
crazydiamond has joined #ruby
<Mia> pontiki, it uses this https://github.com/sferik/twitter
tessi_zz is now known as tessi
<pontiki> sorry, i'm not really interested in delving into the guts of these gems
<Mia> ok, thank you anyway
<pontiki> those comments make absolutely no sense to me where they are
<pontiki> perhaps leave an issue on the repo
mtlatif__ has joined #ruby
oo_ has quit [Remote host closed the connection]
nettoweb has joined #ruby
<Mia> pontiki, maybe
<Mia> I'm also very new to ruby too, so I thought it was me missing something
beseku has quit [Quit: Lingo - http://www.lingoirc.com]
Tomme has quit [Ping timeout: 240 seconds]
sinkensabe has quit [Remote host closed the connection]
cherwin has quit [Ping timeout: 272 seconds]
robustus|Off is now known as robustus
cherwin has joined #ruby
MasterPiece has joined #ruby
agjacome has joined #ruby
SilkFox_ has quit [Ping timeout: 244 seconds]
Advocation has joined #ruby
rpag_ has joined #ruby
oo_ has joined #ruby
rpag_ has quit [Remote host closed the connection]
rpag has quit [Remote host closed the connection]
einarj has quit [Read error: No route to host]
rpag has joined #ruby
einarj has joined #ruby
jwang has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thomasxie has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
Aaaal has quit [Quit: Aaaal]
fabrice31 has quit [Remote host closed the connection]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oo_ has quit [Remote host closed the connection]
hmsimha_ has quit [Quit: Leaving]
hmsimha has joined #ruby
bigkevmcd_ has joined #ruby
fgo has joined #ruby
Takle has joined #ruby
bigkevmcd has quit [Read error: Connection reset by peer]
rdark has quit [Quit: leaving]
rdark has joined #ruby
cherwin has quit [Ping timeout: 245 seconds]
sk87 has joined #ruby
nettoweb has joined #ruby
sk87 has quit [Client Quit]
havenwood has quit [Ping timeout: 264 seconds]
cherwin has joined #ruby
ta__ has quit [Ping timeout: 272 seconds]
kaspergrubbe has joined #ruby
einarj has quit [Read error: Connection reset by peer]
<wasamasa> hmm, looks to me like the streamer argument is some object that has these options set
sk87 has joined #ruby
hiyosi has joined #ruby
<Mia> wasamasa, hm
fgo has quit [Ping timeout: 244 seconds]
<Mia> ther is this dsl.rb in the lib, also
<Mia> can you have a look at that
einarj has joined #ruby
<Mia> What I don't understand (also in general) that how you can make the methods defind in a module, work outside
ItSANgo has quit [Quit: Leaving...]
<wasamasa> something outside must be using them
justinmburrous has joined #ruby
<Mia> I mean, the method "streaming" is defined inside
<Mia> but without any special adressing (like chatterbot.streaing or whatever) they just... work?
<Mia> check chatterbot / examples / streaming_bot.rb
<Mia> wasamasa, oh no, I see it
mrfoto has quit []
GriffinHeart has joined #ruby
<Mia> se how simple it looks?
<Mia> (this is a general question btw) - how does it work?
<wasamasa> that's the so-called DSLs in ruby
<wasamasa> Mia: well, you don't really want to know
<Mia> Oh, that's a special thing?
<wasamasa> Mia: might cause you to feel sick
<Mia> O_O
<Mia> why
* Mia is curious
<wasamasa> because it's pretty horribly done, that's why
<Mia> oh, you mean particularly in this example?
<wasamasa> and works well enough if it's done in one domain without much interoperation
<wasamasa> no, generally
<Mia> or ruby in general?
<Mia> hm
emocakes has quit []
<wasamasa> I come from a language where this kind of stuff is done in a better manner :P
<Mia> whats that?
<wasamasa> hence my reaction once I found out how the rubyists do it
GriffinHeart has quit [Remote host closed the connection]
fgo has joined #ruby
<wasamasa> elisp, the language ruby's creator stole a bunch of things from
<Mia> Hm
hiyosi has quit [Ping timeout: 272 seconds]
<Mia> I never heard it
Takle has quit [Remote host closed the connection]
<wasamasa> it's what emacs is mostly written in
<Mia> I see
<Mia> well I've finished 2 tutorials to learn the basics
justinmburrous has quit [Ping timeout: 240 seconds]
<wasamasa> despite it being a rather peculiar lisp dialect, it has pretty much everything to be used for serious tasks
<Mia> nothing is close to what I see here, I'm struggling with code for the last few hours non stop, trying to understand how people do things
fella5s has joined #ruby
KC9YDN has joined #ruby
einarj has quit [Read error: No route to host]
ta has joined #ruby
oo_ has joined #ruby
roolo has quit [Remote host closed the connection]
roolo has joined #ruby
elstif has joined #ruby
lolmaus has joined #ruby
Advocation has quit [Quit: Advocation]
oo_ has quit [Remote host closed the connection]
roolo has quit [Ping timeout: 245 seconds]
gaussblurinc1 has joined #ruby
SilkFox_ has joined #ruby
GluonQuark has joined #ruby
emrox has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
larsam has joined #ruby
cherwin has quit [Read error: Connection reset by peer]
Veidit_ has quit [Read error: Connection reset by peer]
Veidit has joined #ruby
ndrei has quit [Ping timeout: 246 seconds]
root3d has joined #ruby
bigkevmcd_ is now known as bigkevmcd
ndrei has joined #ruby
emrox has joined #ruby
havenwood has joined #ruby
SilkFox_ has quit [Ping timeout: 245 seconds]
thomasxie has quit [Quit: Leaving.]
<kuanyui> I'm tring to use getch() in Curses to detect key press, but getch() would suspend all the other action(e.g. A loop + sleep). How to detect key press event and avoid the whole program suspended for reading input?
aspiers has quit [Ping timeout: 272 seconds]
Ridley5 has joined #ruby
Hanmac has quit [Quit: Leaving.]
Hanmac has joined #ruby
Advocation has joined #ruby
mofai_ has joined #ruby
sinkensabe has joined #ruby
einarj has joined #ruby
yacks has quit [Ping timeout: 250 seconds]
GriffinHeart has joined #ruby
oo_ has joined #ruby
stylus has quit [Ping timeout: 260 seconds]
yacks has joined #ruby
jottr has joined #ruby
kuanyui has quit [Quit: Leaving.]
aspiers has joined #ruby
havenwood has quit [Ping timeout: 264 seconds]
kuanyui has joined #ruby
GriffinHeart has quit [Ping timeout: 246 seconds]
andrewlio1 has joined #ruby
andrewlio has quit [Ping timeout: 258 seconds]
thejamespinto has quit [Read error: Connection reset by peer]
thejamespinto has joined #ruby
stylus has joined #ruby
cherwin has joined #ruby
phutchin1 has joined #ruby
elstif has quit [Quit: Leaving.]
mofai_ has quit [Quit: Leaving...]
fabrice31 has joined #ruby
elstif has joined #ruby
<krz> whats the best way to check if an array contains all 0?
nrsk has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<krz> [0, 0, 0] => true, [0, 1, 0] => false
<workmad3> krz: as long as it's only numbers, you can do 'ary.all?(&:zero?)'
<krz> sum?
<krz> i could sum it too
<workmad3> krz: otherwise, you could do 'ary.all?{|i| i == 0}'
<krz> ok cool i like that
<osse> [-1, 0, 1] ?
iamdoo2 has joined #ruby
dblessing has joined #ruby
dblessing has quit [Client Quit]
tokik has quit [Ping timeout: 258 seconds]
jottr_ has joined #ruby
robustus is now known as robustus|Off
cherwin has quit [Read error: Connection reset by peer]
alem0lars has joined #ruby
elstif has quit [Client Quit]
Takle has joined #ruby
dx7 has joined #ruby
MCDev has quit [Ping timeout: 250 seconds]
jottr has quit [Ping timeout: 272 seconds]
<Hanmac> workmad3: ary.all?(&:zero?)
<workmad3> Hanmac: that was my first suggestion :P
<workmad3> Hanmac: I suggested the other in case the array lacked homogenous types ;)
<workmad3> Hanmac: i.e. if the array may contain an element without a zero? method ;)
<Hanmac> damiit for some resion i didnt see that message ... (hm maybe it need a little sleep after eating)
Koshian has quit [Quit: Tiarra 0.1+svn-39209: SIGTERM received; exit]
agent_white has quit [Read error: Connection reset by peer]
<workmad3> heh
agent_white has joined #ruby
<workmad3> all this talk of food has made me hungry
skammer3 has quit [Ping timeout: 260 seconds]
chthon has quit [Ping timeout: 244 seconds]
alem0lars has quit [Quit: alem0lars]
dx7 has quit [Ping timeout: 245 seconds]
Morkel has quit [Ping timeout: 260 seconds]
<Hanmac> hihi watch an episode of AdventureTime with the CandyKingdom and the BreakfastPrincess ;P i mean she is litterally made of waffles, eggs and bacon *g
bjornar has quit [Ping timeout: 258 seconds]
Takle has quit [Remote host closed the connection]
SilkFox_ has joined #ruby
Aaaal has joined #ruby
nonmadden has quit [Remote host closed the connection]
arya_ has joined #ruby
hiyosi has joined #ruby
GriffinHeart has joined #ruby
fgo has quit [Remote host closed the connection]
<kuanyui> kuanyui: Curses.timeout=0
charliesome has joined #ruby
Takle has joined #ruby
<wasamasa> omnomnom
skammer3 has joined #ruby
justinmburrous has joined #ruby
nrsk has joined #ruby
apeiros has joined #ruby
nonmadden has joined #ruby
ciampix has quit [Quit: Ex-Chat]
nonmadden has quit [Remote host closed the connection]
justinmburrous has quit [Read error: Connection reset by peer]
justinmburrous has joined #ruby
northfurr has joined #ruby
hiyosi has quit [Ping timeout: 260 seconds]
Xeago has joined #ruby
SilkFox_ has quit [Ping timeout: 272 seconds]
bjornar has joined #ruby
apeiros has quit [Ping timeout: 244 seconds]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
elaptics is now known as elaptics`away
chthon has joined #ruby
JohnBat26 has joined #ruby
gaussblurinc1 has quit [Quit: Leaving.]
benzrf|offline is now known as benzrf
ciampix has joined #ruby
ciampix has quit [Read error: Connection reset by peer]
justinmburrous has quit [Ping timeout: 272 seconds]
Insanity_ has joined #ruby
Insanity_ has quit [Client Quit]
MCDev has joined #ruby
Insanity133 has joined #ruby
bjornar has quit [Excess Flood]
heliosaurus has joined #ruby
bjornar has joined #ruby
jottr_ has quit [Ping timeout: 272 seconds]
buub has joined #ruby
mupkoo has joined #ruby
<heliosaurus> Hello guys, quick question. I have two versions of a plugin installed, how can I specify which one to use?
<heliosaurus> It is not my system, and I believe it uses neither rvm nor rbenv (is this even possible?). I just know for a fact that three are multiple versions of the plugin installed through 'gem list'
kaspertidemann has joined #ruby
apeiros has joined #ruby
vinleod has joined #ruby
decoponio has joined #ruby
roolo has joined #ruby
tkuchiki has quit [Remote host closed the connection]
root3d has quit [Quit: Leaving]
abdulsattar has joined #ruby
<Hanmac> heliosaurus: use gem "name", "version" before require
szarubin has joined #ruby
jottr_ has joined #ruby
iamdoo2_ has joined #ruby
zarubin has joined #ruby
<heliosaurus> hello Hanmac. I am not requiring anything. I am just running the knife-ec2 plugin :/
zarubin has left #ruby [#ruby]
ldnunes has joined #ruby
zarubin has joined #ruby
<Hanmac> hm i dont know how it works for such pluigin ...
<heliosaurus> i just run "knife ec2 server create" and it automatically selects the latest installed version I believe, but I want to specify another version to use
Takle has quit []
bayed has joined #ruby
iamdoo2 has quit [Ping timeout: 240 seconds]
Takle has joined #ruby
last_staff has joined #ruby
f0ster has quit [Read error: Connection reset by peer]
garethrees has joined #ruby
benzrf is now known as benzrf|offline
Xiti` has joined #ruby
jimmyhoughjr has quit [Read error: Connection reset by peer]
voodoofish1 has quit [Read error: Connection reset by peer]
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #ruby
fgo has joined #ruby
aclearman037 has joined #ruby
voodoofish has joined #ruby
Xiti has quit [Ping timeout: 245 seconds]
doubleemms has quit [Ping timeout: 260 seconds]
TorpedoSkyline has joined #ruby
szarubin has quit [Quit: Leaving]
szarubin has joined #ruby
ghr has quit [Ping timeout: 272 seconds]
Alina-malina has quit [Ping timeout: 272 seconds]
Alina-malina has joined #ruby
Hyknua has quit [Ping timeout: 244 seconds]
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
northfurr has quit [Quit: northfurr]
workmad3 has quit [Ping timeout: 245 seconds]
havenwood has joined #ruby
voodoofish has quit [Read error: Connection reset by peer]
nhhagen has joined #ruby
TorpedoSkyline has quit [Client Quit]
voodoofish has joined #ruby
ctp has joined #ruby
aleatorik has joined #ruby
banister has joined #ruby
Hyknua has joined #ruby
aleatorik has quit [Client Quit]
tvw has quit [Ping timeout: 240 seconds]
willgo has joined #ruby
SilkFox_ has joined #ruby
tvw has joined #ruby
<mostlybadfly> Good morning amigos
<Mia> Ahoy
havenwood has quit [Ping timeout: 264 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
mtlatif__ has quit [Quit: Connection closed for inactivity]
MasterPiece has quit [Quit: Leaving]
Beoran__ has quit [Ping timeout: 245 seconds]
mofai has quit [Read error: Connection reset by peer]
AlexRussia has joined #ruby
mofai has joined #ruby
goodenough has joined #ruby
hplc has quit [Quit: Lämnar]
lxsameer has quit [Ping timeout: 272 seconds]
mikecmpbll has joined #ruby
arya_ has quit []
SilkFox_ has quit [Ping timeout: 244 seconds]
MasterPiece has joined #ruby
charliesome has quit [Quit: zzz]
cherwin has joined #ruby
SilkFox_ has joined #ruby
lxsameer has joined #ruby
<Hanmac> heliosaurus: hm i think that might not be easy possible without rvm and/or gemset
adac has joined #ruby
WillAmes has quit [Remote host closed the connection]
<adac> For some reasons my ruby app does not install gems that are marked as "add_development_dependency" in a gem that I install on my ruby app. Any ideas what might be wrong?
MasterPiece has quit [Max SendQ exceeded]
krz has quit [Quit: WeeChat 1.0.1]
WillAmes has joined #ruby
MasterPiece has joined #ruby
<canton7> adac, read "add_development_dependency"
<canton7> oops
Xiti` has quit [Quit: Leaving]
Xiti has joined #ruby
<adac> canton7, has this changed lately? since some time ago this used to work
<canton7> nope, it's always been this way
<canton7> development dependencies are installed when you ask gem to install them
<canton7> that's the entire point of them, otherwise you'd just have normal dependencies
<adac> canton7, So I can explicitly tel my ruby app to use them, right? Maybe someone removed this from the code then
<adac> *tell
<canton7> adac, your ruby app shouldn't be using the *developmental* dependencies of some other gem
kuanyui has quit [Quit: Leaving.]
<adac> canton7, Ok I see thanks
kuanyui has joined #ruby
MuffinPimp has quit [Ping timeout: 246 seconds]
<canton7> adac, indeed, your app should specify all of its dependencies (e.g. A, B, C) regardless of whether A depends on B
JeffBonds has joined #ruby
<canton7> A might not always depend on B
Beoran__ has joined #ruby
<adac> canton7, I think I understand. thank you a lot!
Takle has quit [Remote host closed the connection]
mengu has joined #ruby
mengu has joined #ruby
SilkFox_ has quit [Ping timeout: 245 seconds]
dangerousdave has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
xcv has joined #ruby
charliesome has joined #ruby
sk87 has joined #ruby
nathankleyn has joined #ruby
hiyosi has joined #ruby
aleatorik has joined #ruby
zarubin has quit [Quit: Leaving.]
szarubin has quit [Remote host closed the connection]
xcv has quit [Remote host closed the connection]
<heliosaurus> Hanmac: thanks, I'll try to look more into it; so far I haven't found anything :/
jbw has quit [Ping timeout: 260 seconds]
robustus|Off is now known as robustus
justinmburrous has joined #ruby
MCDev has quit [Ping timeout: 250 seconds]
hiyosi has quit [Ping timeout: 272 seconds]
ItSANgo has joined #ruby
northfurr has joined #ruby
paulfm has joined #ruby
chthon has quit [Ping timeout: 245 seconds]
fsapo has joined #ruby
justinmburrous has quit [Ping timeout: 245 seconds]
jhass|off is now known as jhass
<Mia> I've installed sinatra
<Mia> and created the basic example site
krisquigley has quit [Remote host closed the connection]
<Mia> but it's "this page is not available" on 0.0.0.0:4567/hi
<Mia> what's going on?
xcv has joined #ruby
Jackneill has joined #ruby
krisquigley has joined #ruby
<Hanmac> Mia sinatra has its own channel with #sinatra ... maybe its more helpful?
<Mia> Thanks Hanmac I'll check
emocakes has joined #ruby
Jackneill has quit [Max SendQ exceeded]
arup_r has quit [Remote host closed the connection]
Takle has joined #ruby
<canton7> Mia, why 0.0.0.0?
Macaveli has joined #ruby
kuanyui has quit [Ping timeout: 240 seconds]
<Mia> that's what it says at the website?
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<canton7> aaand where does it say that?
nathankleyn has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<canton7> I was looking for something a bit more specific ;)
<Mia> $ gem install sinatra
<Mia> $ ruby hi.rb
<Mia> == Sinatra has taken the stage ...
<Mia> >> Listening on 0.0.0.0:4567
<eval-in_> Mia => /tmp/execpad-4621d52febc9/source-4621d52febc9:2: no .<digit> floating literal anymore; put 0 before dot ... (https://eval.in/200238)
<canton7> Mia, ok, browse to http://127.0.0.1:4567 or http://localhost:4567 in your browser
<Mia> OH
jbw has joined #ruby
<Mia> canton7, I love you
<canton7> that even has its own wiki page ;) http://en.wikipedia.org/wiki/0.0.0.0
<canton7> the last bullet point is the relevant one
nathankleyn has joined #ruby
Jackneill has joined #ruby
amvadder has joined #ruby
amvadder has left #ruby [#ruby]
<canton7> i.e. "find a suitable interface and bind to it". the interface it binds to is reachable through localhost/127.0.0.1
robustus is now known as robustus|Off
chthon has joined #ruby
jerius has quit []
bluOxigen has quit [Ping timeout: 245 seconds]
bluOxigen has joined #ruby
ctp has joined #ruby
ciampix has joined #ruby
jusmyth1 has joined #ruby
livingstn has joined #ruby
Koshian has joined #ruby
MasterPiece has quit [Ping timeout: 258 seconds]
gaussblurinc1 has joined #ruby
SilkFox_ has joined #ruby
<shevy> huh Mia is fast
<shevy> already at sinatra now
<shevy> then rails
<shevy> :D
Takle has quit [Remote host closed the connection]
<rpag> then...
<shevy> then the first roidrage
<shevy> "rails is a ghetto" or "rails is shrinking my penis"
<rpag> haha
Takle has joined #ruby
<Mia> shevy, it's fun :)
<Mia> I've already made my twitter stream thing
<Mia> trying to conenct it to a website
spastorino has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> that is so weird
<shevy> to even write code that uses twitter
<shevy> I don't think I have ever done that myself
nathankleyn has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> but let's see that you are putting things where they belong to
<shevy> do you use modules yet?
havenwood has joined #ruby
<shevy> I usually start projects by defining a bunch of constants
<shevy> into a module of that project main namespace, usually I will call it: module Constants
<Mia> I'm just using the Twitter library
kuanyui has joined #ruby
<Mia> I mean.. "gem"
<Mia> feeding stuff in it and gettin funny outputs
<Mia> that's all
<Mia> I also did some maths stuff such as fibonacci and golden ratio just because it's fun
<Mia> it's just printing values, that's all
gccostabr has joined #ruby
workmad3 has joined #ruby
SilkFox_ has quit [Ping timeout: 245 seconds]
<shevy> hmm ok
<shevy> so you have not yet given your project a name
jimmyy has joined #ruby
<Mia> not yet no
<shevy> that is usually the hardest part
<Mia> :) agreed
<rpag> sometimes picking a name is the hardest part -_-
<Mia> well for experimental projects I find it easy to name
<shevy> if you ever find other gems with silly names, you'll know that the author failed at naming his project in a sensible manner
<shevy> yes
<shevy> that is how silly names are made Mia
<Mia> Right now I would prefer to call it "glitch" because I don't kno what the hell is going on
<shevy> you are thinking like 50% of the other authors now
<Mia> I like silly names :)
<shevy> :(
<shevy> I always try to find names that are related to the task at hand
<shevy> project: cut_audio, with the main class being called CutAudio, and it ... cuts audio
<Mia> I like names that are good for branding
arup_r has joined #ruby
<Mia> if I made it I would possibly name it waveknife
<Mia> or something along the lines
rkalfane has joined #ruby
AtumT has joined #ruby
cocotton has joined #ruby
havenwood has quit [Ping timeout: 264 seconds]
cocotton has quit [Remote host closed the connection]
relix has joined #ruby
Takle has quit [Remote host closed the connection]
last_staff has quit [Quit: run!!...]
<shevy> know what would be cool?
Tomme has joined #ruby
<shevy> ruby with optional static typing
<Mia> shevy, what do you mean
<pontiki> that would be ruby 3
<pontiki> at least, that's one of the things Matz is proposing
<shevy> Mia well right now I have to do checks on my own
<wasamasa> pontiki: I wonder whether he stole that from guido
<shevy> like, some variables are strings, arrays, hashes, but a few others can only be a boolean value
<wasamasa> pontiki: who all of a sudden called it a cool feature to have
<shevy> everyone can become wiser :)
<shevy> pontiki really?
krz has joined #ruby
<Mia> hmm
bigkevmcd_ has joined #ruby
<Mia> what do you think about nodejs btw
<shevy> it is javascript
<Mia> I agree the blah factor about it
<Mia> but as a framework, what do you think
<shevy> we do not have much choice in the browser
<workmad3> who doesn't love tasty webscale nodings?
bigkevmcd has quit [Disconnected by services]
bigkevmcd_ is now known as bigkevmcd
<shevy> I can not think of it as a framework or not because I don't have any real choice. I have to use javascript if I wish to handle other people's user experience when they browse the www and visit a page
yfeldblum has quit [Remote host closed the connection]
Takle has joined #ruby
<canton7> ruby copying php? no way!
<workmad3> shevy: nodejs is nothing to do with the browser
<shevy> it's like eating cod liver
<rpag> shevy, have you seen opal?
<shevy> why does nodejs have a js part
<shevy> rpag I think so; I did not really understand what to do with it though
<workmad3> shevy: because it's a framework around running js outside of the browser
<shevy> ack
<shevy> so that is like releasing godzilla
<shevy> the beast is out of the cage
<shevy> it will SPREAD TO ALL OF US
cocotton has joined #ruby
<shevy> gozilla - mozilla hmmm :)
cocotton has quit [Remote host closed the connection]
<rpag> shevy, you can use it to write a ruby-like language in the browser, it compiles to JS
<shevy> I'm gonna troll #firefox ...
jeremy04 has joined #ruby
cocotton has joined #ruby
<shevy> rpag yeah well
<shevy> it sounds cool
<cs0sf> shevy ..yeah
<shevy> but I still did not really understand it ...
<rpag> alright
<shevy> it sounds too good to be true too
<workmad3> shevy: lots of things have started treating JS as a portable asm :)
<shevy> oh man
<workmad3> shevy: so lots of projects have popped up that will trans-compile one language into JS to run it on a JS platform (such as the browser or on nodejs)
<Mia> :)
<Mia> :)
coderdad has joined #ruby
<Mia> Hmm there is a problem with my messages
<Hanmac> workmad3: my current project is to write haxe code that gets "compiled" into js code and then be put into a browser app ;P
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Mia> Hanmac, lol
nathankleyn has joined #ruby
<workmad3> Hanmac: why did you quote 'compiled'?
<workmad3> Hanmac: it is a compilation step :P
<workmad3> Hanmac: unless you're gonna write a haxe VM or interpreter in JS ;)
anaeem1 has quit [Remote host closed the connection]
<Hanmac> no ... that would be just creepy ...
<workmad3> shevy: hell, emscripten has existed for quite a while now, which can cross-compile LLVM bytecode into JS ;)
cs0sf has quit [Ping timeout: 260 seconds]
mwlang has joined #ruby
mdunbavan1985_ has joined #ruby
jerius has joined #ruby
GriffinHeart has joined #ruby
<mdunbavan1985_> can anyone help with an issue I am having with adding images to a gallery that is attached to a book?
<mdunbavan1985_> Basically I can add images to the gallery but when I try and add images to the gallery via being published on the book form it will not add the images to the assigned book
<Hanmac> mdunbavan1985_: rails ?
<mdunbavan1985_> Hanmac: yes
<Hanmac> mdunbavan1985_: #rubyonrails
bmurt has joined #ruby
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bluOxigen has quit [Ping timeout: 246 seconds]
<Mia> Hm here is a question: I tried to create a counter within the "/hi" page of sinatra
<Mia> but since it's a neverending loop, the page never loads
<Mia> What's the optimal workaround for those things?
relix has joined #ruby
hiyosi has joined #ruby
<Mia> I know that I'll also have a similar issue whyn streamig tweets as well since the stream never ends but I also need to display a page
relix has quit [Client Quit]
northfurr has quit [Quit: northfurr]
<shevy> workmad3 seems as if everyone is using LLVM nowadays
danguita has quit [Ping timeout: 264 seconds]
<shevy> Mia you are not thinking in the ruby way yet
bluOxigen has joined #ruby
<shevy> def '/hi'
<shevy> @counter += 1
<workmad3> Mia: you need to render a HTML page that then either opens a persistent connection to the server (such as a websocket) or polls the server at frequent intervals
<shevy> and return a string that includes the counter
mdunbavan1985_ has quit [Quit: Page closed]
GriffinHeart has quit [Ping timeout: 240 seconds]
<workmad3> Mia: i.e. you need to think in terms of request-response cycles... the browser makes a request, you need to respond with the data at that time
<shevy> she could also store the counter in a file!
<workmad3> Mia: and then another request needs to be made in order to update the data
<Mia> Hm, is that possible via sinatra?
<workmad3> (in the browser)
cpruitt has joined #ruby
ctp has joined #ruby
<workmad3> Mia: sinatra only cares about the server endpoints... what runs in the browser is HTML and javascript ;)
<Mia> shit welcome to the rabbit hole
danguita has joined #ruby
* Mia notes to self
mengu has quit [Remote host closed the connection]
justinmburrous has joined #ruby
entrenador has joined #ruby
entrenador has quit [Client Quit]
mosez_ is now known as mosez
entrenador has joined #ruby
hiyosi has quit [Ping timeout: 260 seconds]
tjr9898 has joined #ruby
entrenador has left #ruby [#ruby]
xxneolithicxx has joined #ruby
<xxneolithicxx> hi all, anyone have any experience with using Jruby? Im considering switching my multithreaded ruby app over to Jruby to get real threading as im not getting the full cpu utilization that I need but I have a few questions.
<Hanmac> xxneolithicxx: there is a #jruby channel too which might be more helpful
<xxneolithicxx> k
justinmburrous has quit [Ping timeout: 250 seconds]
dx7 has joined #ruby
SilkFox_ has joined #ruby
cocotton has quit [Remote host closed the connection]
ursooperduper has joined #ruby
cleopatra has joined #ruby
sailias has joined #ruby
wald0 has quit [Quit: Lost terminal]
shredding has quit [Quit: shredding]
postmodern has quit [Quit: Leaving]
<Hanmac> shevy the new Iphone has a Futurama edition ... now with a "bender" chassis ;P
Channel6 has joined #ruby
<shevy> omg
willgo has quit [Remote host closed the connection]
oleo has joined #ruby
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
benzrf|offline is now known as benzrf
Jackneill has quit [Ping timeout: 250 seconds]
cocotton has joined #ruby
hellangel7 has joined #ruby
<apeiros> Hanmac: adaptive casing
Jackneill has joined #ruby
yfeldblum has joined #ruby
_maes_ has joined #ruby
cherwin has quit [Ping timeout: 260 seconds]
karupa is now known as zz_karupa
jusmyth1 has quit [Quit: Leaving.]
SilkFox_ has quit [Ping timeout: 272 seconds]
snath has quit [Ping timeout: 258 seconds]
yfeldblu_ has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
cherwin has joined #ruby
cherwin has quit [Max SendQ exceeded]
cherwin has joined #ruby
mark_locklear has joined #ruby
zarubin has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
Raboo has quit [Ping timeout: 246 seconds]
paulfm has quit []
garethrees has quit [Ping timeout: 272 seconds]
Raboo has joined #ruby
yfeldblu_ has quit [Ping timeout: 245 seconds]
arup_r has quit [Remote host closed the connection]
Veidit has quit [Read error: Connection reset by peer]
antlong has joined #ruby
cocotton has quit [Remote host closed the connection]
clauswitt has joined #ruby
qmfnp has joined #ruby
shredding has joined #ruby
obscured has joined #ruby
anarang has quit [Quit: Leaving]
slester has joined #ruby
Takle has quit [Remote host closed the connection]
thejamespinto has quit [Ping timeout: 240 seconds]
paulfm has joined #ruby
Takle has joined #ruby
cleopatra has quit [Ping timeout: 246 seconds]
Takle has quit [Remote host closed the connection]
lw has joined #ruby
thejamespinto has joined #ruby
ciampix has quit [Quit: Ex-Chat]
ciampix has joined #ruby
GeorgesLeYeti has joined #ruby
<GeorgesLeYeti> Hi
Veidit has joined #ruby
hiyosi has joined #ruby
ciampix has quit [Client Quit]
<GeorgesLeYeti> I have a stupid question. I just wanna write a file in ruby so I make: File.open("#{Rails.root}/backups/3/#{Time.now.strftime("%d_%m_%y-%H_%M_%S")}.txt", "w") { |f| f.write('Hello!') }
gerep has joined #ruby
<GeorgesLeYeti> But it returns Errno::ENOENT: No such file or directory @ rb_sysopen
<shevy> god is that awful
<shevy> can't you please break that shit up
<apeiros> GeorgesLeYeti: means the directory does not exist
<gerep> Hi all
<shevy> store_here = "#{Rails.root}/backups/3/#{Time.now.strftime("%d_%m_%y-%H_%M_%S")}.txt"
<apeiros> GeorgesLeYeti: also you can use File.write(path, content)
<shevy> and feedback what store_here is exactly
<gerep> I'm using this Gem (https://github.com/rubyzip/rubyzip) and I'd like to add a module to that so I do something like: Zip::Save()
<gerep> How can I do that?
danijoo_ has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
silkfox has joined #ruby
<gerep> I know how to create a module but I don't know how to add this module do the Zip library
<apeiros> Zip::Save() is a method, not a module, gerep
<gerep> apeiros, yes...my mistake...
<gerep> apeiros, how can add methods to this lib?
Sawbones has joined #ruby
xcv has quit [Remote host closed the connection]
<apeiros> gerep: there's no magic involved. the same way you define any class method.
lewix has joined #ruby
<gerep> apeiros, or even a module, so it would be Zip::Riak::SaveFiles
ciampix has joined #ruby
Takle has joined #ruby
subopt has quit [Remote host closed the connection]
justinmburrous has joined #ruby
<gerep> apeiros, even in the case of a module? I know I can extend a class but how do I add a module?
<gerep> apeiros, sorry if I'm sounding lost :D
dx7 has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
Takle has quit [Remote host closed the connection]
<gerep> apeiros, is just that I want to add functionality to this Lib so I don't have to create a lib that will include the 'zip' and etc
subopt has joined #ruby
mastr_bennett[x] has joined #ruby
ciampix has quit [Client Quit]
havenwood has joined #ruby
dx7 has joined #ruby
lw has quit [Quit: s]
<gerep> apeiros, it would be nice if I could work with the zip file and at the end I just do Zip::Riak::Save()
ciampix has joined #ruby
<apeiros> gerep: as said, no magic involved. just define the method.
<gerep> apeiros, ok, I"ll try that =) thanks for your patience :)
<apeiros> classes/modules in ruby are open. you can add methods any time.
Channel6 has quit [Quit: Leaving]
<apeiros> >> class Foo; end; def Foo.Wee; "Wee!"; end; Foo::Wee()
<eval-in_> apeiros => "Wee!" (https://eval.in/200262)
AFKGeek has quit [Quit: Leaving]
guiguidoc has quit [Ping timeout: 240 seconds]
<apeiros> that's not really related to your issue. unless you want to cargo cult and copy code you don't understand.
thejamespinto has quit [Read error: Connection reset by peer]
havenwood has quit [Client Quit]
thejamespinto has joined #ruby
<Hanmac> in ruby you can nearly put anything into anything ;P
justinmburrous has quit [Ping timeout: 260 seconds]
ciampix has quit [Client Quit]
gerep_ has joined #ruby
iamdoo2_ has quit [Remote host closed the connection]
charliesome_ has joined #ruby
justinmburrous has joined #ruby
charliesome has quit [Read error: Connection reset by peer]
GriffinHeart has quit [Ping timeout: 260 seconds]
ta has quit [Remote host closed the connection]
gerep_ has quit [Client Quit]
mynameisbrian has joined #ruby
gerep_ has joined #ruby
<mynameisbrian> has anyone tried treehouse to learn ruby?
hmsimha has quit [Ping timeout: 272 seconds]
<gerep_> mynameisbrian, I didn't like it
benzrf is now known as benzrf|offline
<mynameisbrian> why not gerep_?
<gerep_> mynameisbrian, I'd go with pluralsight, there is a Ruby Fundamentals course, awesome
ciampix has joined #ruby
<gerep_> mynameisbrian, treeshouse wasn't practical...
gerep has quit [Ping timeout: 246 seconds]
gerep_ is now known as gerep
ciampix has quit [Read error: Connection reset by peer]
<gerep> mynameisbrian, codeschool is really good but just rails courses
<mynameisbrian> ah okay. I'll check out pluralsight then
<gerep> mynameisbrian, yes, I think it will be better
<Hanmac> hm i dont even know how i learned ruby .... hm mostly while reading rgss scripts ...
kuanyui has quit [Ping timeout: 258 seconds]
tkuchiki has joined #ruby
justinmburrous has quit [Ping timeout: 272 seconds]
<mynameisbrian> hmm okay. yeah ill probably use Ruby mostly for web development, but I want a general language to use for random shit.
<mynameisbrian> I do mostly front end work so I don't actually "know" a language. I know them, but I'm not a master of one.
msmith_ has joined #ruby
Ankhers has joined #ruby
gerep_ has joined #ruby
ciampix has joined #ruby
ciampix has quit [Read error: Connection reset by peer]
gregf has joined #ruby
ciampix has joined #ruby
<shevy> just write lots and lots of code
qba73 has quit [Remote host closed the connection]
robert_ has joined #ruby
charliesome_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<robert_> is it possible to use is_a? / instance_of? on an exception?
zB0hs has joined #ruby
ciampix has quit [Client Quit]
qba73 has joined #ruby
<shevy> I guess so
<shevy> it is available on every object
ciampix has joined #ruby
<robert_> and hai shevy :D
<shevy> ah you are that robert
<shevy> I thought you are a random robert
gerep has quit [Ping timeout: 260 seconds]
ciampix has quit [Read error: Connection reset by peer]
AFKGeek has joined #ruby
<shevy> rescue Exception => error; p error.is_a? BigError
<robert_> undefined method `ia_a?' for #<NoMethodError:0x00000802749140>
Kricir has joined #ruby
lw has joined #ruby
<tobiasvl> robert_: ia_a?
<robert_> er
<shevy> lol
gerep__ has joined #ruby
<shevy> don't randomly beat the keyboard man
<shevy> let's go back to the basics - how to type stuff :)
<apeiros> robert_: yes, is_a? is available on exceptions.
<apeiros> robert_: but better use proper rescue statement
<robert_> apeiros: I would, if I wasn't poping it off of a Thread::Queue. :p
cleopatra has joined #ruby
<robert_> pop'ing **
mskaesz has joined #ruby
<apeiros> popping?
mkaesz has quit [Read error: No route to host]
arcsky has joined #ruby
gerep_ has quit [Ping timeout: 245 seconds]
mengu has quit [Remote host closed the connection]
Advocation has quit [Quit: Advocation]
reisl has joined #ruby
<robert_> apeiros: yeah; bit of a long story- but I'm writing a threaded event logger. You have threads that write to private buffers. Exceptions are returned via either your private result queues or the generic channel queue.
<arcsky> hello i got some issues when i run sudo bundle install for more info http://pastebin.com/SDeSUjvJ
mskaesz has quit [Read error: No route to host]
mkaesz has joined #ruby
cherwin has quit [Ping timeout: 245 seconds]
<apeiros> arcsky: why do you use sudo?
<robert_> apeiros: It's sort of the "Windows" method for logging and event notification.. But for my purposes, it works.
Advocation has joined #ruby
<shevy> a windows user!!!
<shevy> I have noticed that
<shevy> if I have the simpler thoughts
<shevy> I write better code
lw has quit [Quit: s]
cleopatra has quit [Ping timeout: 250 seconds]
mastr_bennett[x] has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<adac> Someone familiar with standalone_migrations gem?
geggam has joined #ruby
reisl is now known as larissa
cherwin has joined #ruby
<robert_> shevy: lmao.. Also a long story. I'll have to remind myself somehow to tell you about it when I'm more awake than I am right now. :p
<adac> I'm getting this error: database configuration does not specify adapter", even though the adapter is set in db/config.yml
Insanity133 has quit [Remote host closed the connection]
<arcsky> apeiros: witout sudo -> http://pastebin.com/FtADAw7h
Macaveli has quit [Ping timeout: 260 seconds]
ffranz has joined #ruby
Takle has joined #ruby
ndrei has quit [Ping timeout: 246 seconds]
Sawbones has quit []
clauswitt has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> Make sure that `gem install pg -v '0.17.1'` succeeds before bundling.
<shevy> you failed to install the postgresql gem
<shevy> version 0.17.1
<shevy> if you are on linux then this probably was because it failed to compile the native extensions
<shevy> which 80% of the time may be because of a lack of the respective .h file
<shevy> *files
benzrf|offline is now known as benzrf
mynameisbrian has quit [Quit: Leaving]
<apeiros> arcsky: I'm not sure why you think that answers the question *why* you use sudo
boombadaroomba has joined #ruby
<apeiros> arcsky: anyway, did you read what it prints and actually do "Make sure that `gem install pg -v '0.17.1'` succeeds before bundling." as it says?
gerep_ has joined #ruby
skolman has joined #ruby
mary5030 has joined #ruby
emocakes has quit []
ephemerian has quit [Quit: Leaving.]
danguita has left #ruby ["WeeChat 0.4.2"]
Ridley5 is now known as zzz_Ridley
skammer3 has quit [Ping timeout: 272 seconds]
skammer3 has joined #ruby
jobewan has joined #ruby
buub has quit [Read error: Connection reset by peer]
SilkFox_ has joined #ruby
buub has joined #ruby
boombadaroomba has quit [Ping timeout: 272 seconds]
gerep__ has quit [Ping timeout: 272 seconds]
Jackneill has quit [Ping timeout: 260 seconds]
tylersmith has joined #ruby
<shevy> "Camping is a small web framework, less than 4k"
tylersmith has quit [Remote host closed the connection]
yfeldblum has joined #ruby
icebourg has joined #ruby
w1xz has quit [Quit: ZZZzzz…]
gerep__ has joined #ruby
fgo has quit [Remote host closed the connection]
coderhs has joined #ruby
coderhs has quit [Read error: Connection reset by peer]
tagrudev has quit [Quit: Me = Awesome]
mofai has quit []
kuanyui has joined #ruby
douglasssssss has joined #ruby
SilkFox_ has quit [Ping timeout: 240 seconds]
<flughafen> wooo!
gerep_ has quit [Ping timeout: 260 seconds]
MaciejCzyzewski has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
moritzs has joined #ruby
aganov has quit [Quit: Leaving]
benzrf is now known as benzrf|offline
axl_ has joined #ruby
Hightower666 has joined #ruby
foooobear has quit [Ping timeout: 245 seconds]
pandaant has quit [Remote host closed the connection]
foooobear has joined #ruby
agjacome has quit [Remote host closed the connection]
kireevco has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Jackneill has joined #ruby
gerep_ has joined #ruby
Rollabunna has joined #ruby
ndrei has joined #ruby
gerep__ has quit [Ping timeout: 245 seconds]
oo_ has quit [Remote host closed the connection]
justinmburrous has joined #ruby
agjacome has joined #ruby
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cocotton has joined #ruby
Takle has quit [Remote host closed the connection]
HelperW has joined #ruby
ghr has joined #ruby
kaspergrubbe has quit []
kwd has quit [Quit: kwd]
justinmburrous has quit [Ping timeout: 258 seconds]
tessi is now known as tessi_zz
mleone has joined #ruby
lampd1 has quit []
kaspergrubbe has joined #ruby
ctp has quit [Ping timeout: 244 seconds]
cocotton has quit [Ping timeout: 245 seconds]
nonmadden has joined #ruby
lw has joined #ruby
zeroNones has joined #ruby
lmickh has joined #ruby
nrsk has quit [Ping timeout: 256 seconds]
gerep__ has joined #ruby
Takle has joined #ruby
clauswitt has joined #ruby
clauswitt has quit [Max SendQ exceeded]
Hightower661 has joined #ruby
ctp has joined #ruby
mijicd has quit [Quit: leaving]
nonmadden has quit [Client Quit]
ctp has quit [Client Quit]
carraroj has joined #ruby
clauswitt has joined #ruby
TorpedoSkyline has joined #ruby
benzrf|offline is now known as benzrf
clauswitt has quit [Client Quit]
Jackneill_ has joined #ruby
GriffinHeart has joined #ruby
Jackneill has quit [Ping timeout: 272 seconds]
gerep_ has quit [Ping timeout: 260 seconds]
alem0lars has joined #ruby
codeFiend has joined #ruby
Aaaal has quit [Quit: Aaaal]
`Dath has joined #ruby
kuanyui has quit [Quit: Leaving.]
szarubin has joined #ruby
<canton7> arcsky, windows or nix?
nonmadden has joined #ruby
GriffinHeart has quit [Ping timeout: 244 seconds]
Sharker has quit [Remote host closed the connection]
<xxneolithicxx> re camping: as cool as it might be if that actually works, id be paranoid as shit using something like that I cant read to validate because of its purposely obfuscated code.
treehug88 has joined #ruby
Sharker_ has joined #ruby
stunder has joined #ruby
klmlfl has joined #ruby
bthesorceror has joined #ruby
banister has quit [Ping timeout: 260 seconds]
kaspertidemann has quit []
nathankleyn has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fijimunkii has joined #ruby
Hightower660 has joined #ruby
nathankleyn has joined #ruby
gerep_ has joined #ruby
railis has joined #ruby
tkuchiki has quit [Remote host closed the connection]
xxneolithicxx has quit [Quit: Leaving.]
Hightower661 has quit [Ping timeout: 272 seconds]
bal has quit [Quit: bal]
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Hightower666 has quit [Ping timeout: 246 seconds]
mpistone has joined #ruby
Hightower666 has joined #ruby
gerep__ has quit [Ping timeout: 245 seconds]
fgo has joined #ruby
thagomizer has joined #ruby
justinmburrous has joined #ruby
wpp has joined #ruby
ursooperduper has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Aaaal has joined #ruby
lw has quit [Quit: s]
Takle has quit [Read error: No route to host]
SilkFox_ has joined #ruby
zeroNones has joined #ruby
kireevco has quit [Read error: Connection reset by peer]
fgo has quit [Ping timeout: 258 seconds]
abdulsattar has quit [Ping timeout: 272 seconds]
carraroj has quit [Ping timeout: 260 seconds]
subopt has left #ruby [#ruby]
HelperW has quit [Quit: Computer has gone to sleep.]
HelperW has joined #ruby
kireevco has joined #ruby
freerobby has joined #ruby
TieSoul has left #ruby [#ruby]
danijoo_ has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
HelperW has quit [Ping timeout: 258 seconds]
hiall has joined #ruby
phutchins has quit [Ping timeout: 245 seconds]
hellangel7 has quit [Remote host closed the connection]
heliosaurus has quit [Remote host closed the connection]
fabrice31 has quit [Remote host closed the connection]
SilkFox_ has quit [Ping timeout: 245 seconds]
shakoep has quit [Ping timeout: 260 seconds]
snath has joined #ruby
douglasssssss has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Insanity133 has joined #ruby
Akagi201 has joined #ruby
nathankleyn has quit [Quit: Textual IRC Client: www.textualapp.com]
arup_r has joined #ruby
sinkensabe has quit [Remote host closed the connection]
slyslick has joined #ruby
hellangel7 has joined #ruby
jthomp has joined #ruby
banister has joined #ruby
ghostmoth has joined #ruby
MrBoolean has joined #ruby
Frogging101-chan has joined #ruby
nhhagen_ has joined #ruby
lxsameer has quit [Quit: Leaving]
<Frogging101-chan> Why did rubygems install gem executables in /usr/local/bin with 750 permissions? Non-root can't execute them. I could easily change it but it seems like something went wrong if this happened.
_maes_ has quit [Ping timeout: 250 seconds]
hellangel7 has quit [Max SendQ exceeded]
Avahey has joined #ruby
einarj has quit [Remote host closed the connection]
yfeldblum has joined #ruby
hellangel7 has joined #ruby
<mozzarella> did you install them as root?
<Frogging101-chan> mozzarella: Yes. You're supposed to I thought
<mozzarella> Frogging101-chan: no
nhhagen has quit [Ping timeout: 260 seconds]
<Frogging101-chan> k
<mozzarella> quite the opposite actually
nhhagen_ has quit [Ping timeout: 245 seconds]
<Frogging101-chan> So, how do I remedy this and re-install as non-root?
ghostmoth has quit [Ping timeout: 272 seconds]
endash has quit [Quit: endash]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
Advocation has quit [Quit: Advocation]
yfeldblum has quit [Ping timeout: 260 seconds]
noop has quit [Ping timeout: 240 seconds]
rippa has joined #ruby
davispuh has joined #ruby
aspires has joined #ruby
enyo_ has joined #ruby
b00stfr3ak has joined #ruby
AFKGeek has quit [Quit: Leaving]
fsapo has quit [Remote host closed the connection]
wpp has quit [Quit: ZZZzzz…]
fgo has joined #ruby
ddv has quit [Quit: *poof*]
ctp has joined #ruby
ctp has quit [Client Quit]
Takle has joined #ruby
banister_ has joined #ruby
banister_ has quit [Max SendQ exceeded]
Takle has quit [Remote host closed the connection]
qba73 has quit []
apeiros has quit [Read error: Connection reset by peer]
banister has quit [Read error: Connection reset by peer]
mkaesz has quit [Quit: Leaving...]
tylersmith has joined #ruby
skammer3 has quit [Ping timeout: 272 seconds]
Takle has joined #ruby
enyo_ has quit [Quit: leaving]
fgo has quit [Ping timeout: 272 seconds]
<pagios> how can i implement server side to broadcast a signal to all the clients saying this button changed state?
jonr22 has quit [Ping timeout: 246 seconds]
<pagios> they are javascript clients
Tomme has quit [Ping timeout: 260 seconds]
<pagios> i need to develop a server side (preferably using sinatra)
Hightower660 has quit [Quit: On the other hand, you have different fingers.]
<gizmore> pagios: how about websockets?
<fennec> two basic approaches. (1) polling -- easy, straightforward, ugly, resource intensive, high latency (2) keeping a connection open and then sending something over it once the state changes (websockets)
<fennec> don't know about websockets in sinatra
<pagios> i need to send the updates over all sockets
<pagios> i n1 shot
<workmad3> pagios: or, use meteor
<pagios> so that if client1 sends an update, that update goes to all clients..
cocotton has joined #ruby
<workmad3> pagios: which is built around that type of broadcast interaction
<pagios> meteor you mean or sinatra websocket?
<workmad3> pagios: I mean meteor
<pagios> it supports sending a write from 1 client and broadcating it to all connected clients?
<workmad3> pagios: yes
justinmburrous has quit [Remote host closed the connection]
IceDragon has joined #ruby
ursooperduper has joined #ruby
<workmad3> pagios: 1 proviso... it's a js framework (client and server-side)
lw has joined #ruby
jthomp has quit [Ping timeout: 260 seconds]
jehosogo has joined #ruby
kobain has joined #ruby
kobain has quit [Max SendQ exceeded]
<workmad3> pagios: that's the one
cocotton has quit [Ping timeout: 260 seconds]
jthomp has joined #ruby
kobain has joined #ruby
<pagios> workmad3: have you tried it?
<pagios> whats the feedback
<pagios> i am using sinatra..
gsd has joined #ruby
<fennec> you might consider using both
SilkFox_ has joined #ruby
<pagios> does that bcast work in sinatra?
<fennec> depending on how easy it is to run both on your infrastructure (don't want to duplicate session setup, I assume)
awestroke has joined #ruby
gaussblurinc1 has quit [Quit: Leaving.]
treehug88 has quit [Ping timeout: 246 seconds]
cs0sf has joined #ruby
<workmad3> pagios: I used it for a prototype back in its v0.50 days... did a prototype in a few weeks that would probably have taken months in sinatra or rails
<dfedde> pagios: if you just want to use pure sinatra take a look at this tutorial
<workmad3> pagios: because there's another thing you still need to take care of - making your pages react correctly to the events
<pagios> there is a listener
sinkensabe has joined #ruby
wallerdev has joined #ruby
<fennec> just using websockets is easy enough. coordinating an event broadcast across multiple connections being handled in multiple processes, that's a little harder. :P
<workmad3> pagios: if you were going to consider meteor, I'd suggest going whole-hog with it though
mleone has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sinkensabe has quit [Remote host closed the connection]
<workmad3> fennec: and then doing that so that you don't bombard all connections with every bit of information is harder still... and then doing that with user authentication is harder yet again ;)
lkba has joined #ruby
Wolland has joined #ruby
<workmad3> meteor is essentially all of that on top of plain websockets
mleone has joined #ruby
hamakn has quit [Remote host closed the connection]
hellangel7 has quit [Max SendQ exceeded]
GriffinHeart has joined #ruby
<pagios> well i was using xmltrequest from javascript into sinatra, but i suffered lot of race condition and deadlocks
<pagios> pull mechanism
cndiv has joined #ruby
<workmad3> pagios: the other question is, how many clients are you anticipating needing to handle at once?
mikepack has joined #ruby
obscured has quit [Quit: leaving]
banister has joined #ruby
benzrf is now known as benzrf|offline
<pagios> work_op: 5
<pagios> workmad3:
Wolland has quit [Ping timeout: 260 seconds]
<workmad3> pagios: ah right... so you could potentially get away with just polling for new state every few seconds, or creating a websocket in the ruby process for each client
cocotton has joined #ruby
mityaz has quit [Quit: Leaving]
<pagios> or creating a websocket in the ruby process for each client <-- how is that done
GriffinHeart has quit [Ping timeout: 260 seconds]
<workmad3> pagios: through googling around and figuring it out :P
cherwin has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<banister> workmad3 sup workie
<workmad3> banister: howdy
<workmad3> pagios: i.e. I know roughly what I'd start considering, but that's beyond the scope of free community QA and into me doing your job for you for free
<workmad3> (at least, it's beyond the scope for me)
<banister> workmad3 wassup
cndiv has quit [Ping timeout: 258 seconds]
<workmad3> waaaaaaaaassssssssup
* workmad3 reverts to the '90s
<pagios> no worries i will figure it out
ghostmoth has joined #ruby
<workmad3> pagios: as another brick in the wall, you'll also need to figure out on the server how to get the received event from one browser and pass it out to each of the websockets
<workmad3> pagios: you'll likely want to consider some kind of message queue for that, I suspect
<workmad3> preferably one that supports a fanout exchange (giving you lots of google-bait here ;) )
sanguisdex has joined #ruby
treehug88 has joined #ruby
troyready has joined #ruby
carraroj has joined #ruby
carraroj has quit [Changing host]
carraroj has joined #ruby
cocotton has quit [Ping timeout: 272 seconds]
SilkFox_ has quit [Ping timeout: 272 seconds]
<sanguisdex> is rbenv vs RVM a holy war issue in the ruby community, or do some environments work better for one or the other (more specifically CentOS 6.5)
sargas has quit [Quit: Leaving]
moritzs has quit [Ping timeout: 260 seconds]
Tricon has joined #ruby
<Hanmac> sanguisdex: depends, if you need gemsets then rvm is better, but without its not so a big problem ... for myself i prefer self compiled ruby if possible
kobain has quit [Read error: Connection timed out]
thagomizer has quit [Quit: Leaving.]
kobain has joined #ruby
thagomizer has joined #ruby
koderok has joined #ruby
abdulsattar has joined #ruby
moritzs has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
koderok has quit [Client Quit]
kobain has quit [Max SendQ exceeded]
kobain has joined #ruby
<eam> neither for production
apeiros has joined #ruby
choke has joined #ruby
thejamespinto has quit [Read error: Connection reset by peer]
kobain has quit [Max SendQ exceeded]
SCHAAP137 has joined #ruby
bluehavana has quit [Quit: Connection closed for inactivity]
j_mcnally has joined #ruby
aleatorik has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
adac has quit [Ping timeout: 272 seconds]
thejamespinto has joined #ruby
sedai has joined #ruby
Kricir has quit [Remote host closed the connection]
<sanguisdex> eam should I just compile for production? yum's packages were buggy
Kricir has joined #ruby
joonty has quit [Quit: Leaving]
<eam> that's what I do
<eam> rhel 6.5's system ruby should be fine, but it's old (1.8.7)
<eam> EPEL gems aren't any good though, if you're trying to use those
f0ster_ has joined #ruby
<Hanmac> centOS software from the last centuries ;P
zorak8 has joined #ruby
<eam> I'd sooner blame ruby's poor software lifecycle :)
<Hanmac> i would try to run centos on my stone cycle, but my hardware is to new for it
<eam> nonsense
<pagios> is this a good idea to implement websocket broadcast to different clients in 1 shot? https://blog.engineyard.com/2013/getting-started-with-ruby-and-websockets
<eam> centos is what you run if you want solid hardware support
Kricir has quit [Ping timeout: 246 seconds]
<ctrlrsf> sanguisdex: for your own apps, I'd use rvm or rbenv and not the system ruby
<eam> I think a lot of folks who don't venture outside the safety of a higher level language don't understand why systems need to have stable and longer-term lifecycles
<ctrlrsf> sanguisdex: and depends how much you love compiling your own ruby, but that'll get old really fast.
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
<pagios> Hanmac: i am using sinatra, and different clients with javascript connecting to it. i would liketo implement a broadcast signaling system where a client can send a message to sinatra , sinatra analyses the message and sends a broadcast message to all the clients, what is the best way to do it
nettoweb has joined #ruby
yfeldblum has joined #ruby
chthon has quit [Ping timeout: 272 seconds]
<Hanmac> dont know never used sinatra before but you can try to ask at #sinatra
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Kricir has joined #ruby
HelperW has joined #ruby
cndiv has joined #ruby
cherwin has joined #ruby
cherwin has quit [Max SendQ exceeded]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<sanguisdex> ctrlrsf: since this is a box for staging mostly PHP made sites and ruby is just being used for server management tools I think I will compile. because I enjoy compiling every now and then. it would be great if ruby had anb offical yum and deb repo like ngins and MySQL have done
TorpedoSkyline has quit [Quit: Textual IRC Client: www.textualapp.com]
cherwin has joined #ruby
cherwin has quit [Max SendQ exceeded]
roolo has quit [Ping timeout: 272 seconds]
sk87 has joined #ruby
sk87 has quit [Client Quit]
roolo has joined #ruby
cherwin has joined #ruby
awc737 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has quit [Ping timeout: 260 seconds]
jthomp has quit [Ping timeout: 272 seconds]
sedai has quit [Quit: sedai]
HelperW has quit [Ping timeout: 245 seconds]
tvw has quit []
AlexRussia has quit [Remote host closed the connection]
jthomp has joined #ruby
AlexRussia has joined #ruby
Darryl has quit [Quit: Connection closed for inactivity]
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
cocotton has joined #ruby
bayed has quit [Quit: Connection closed for inactivity]
paulfm has quit []
linojon has quit [Ping timeout: 240 seconds]
linojon has joined #ruby
krisquigley has quit [Remote host closed the connection]
roolo has quit [Remote host closed the connection]
gerep__ has joined #ruby
iliketurtles has joined #ruby
krisquigley has joined #ruby
GeorgesLeYeti has quit [Quit: Quitte]
andikr has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 272 seconds]
jthomp has quit [Ping timeout: 245 seconds]
iliketurtles has quit [Client Quit]
mleone has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
HelperW has joined #ruby
crazydiamond has quit [Ping timeout: 240 seconds]
bricker`work has joined #ruby
fgo has joined #ruby
gerep_ has quit [Ping timeout: 244 seconds]
ctp has joined #ruby
szarubin has quit [Remote host closed the connection]
zarubin has quit [Read error: Connection reset by peer]
gerep_ has joined #ruby
jthomp has joined #ruby
alex88 has quit [Quit: Leaving...]
krisquigley has quit [Ping timeout: 245 seconds]
SilkFox_ has joined #ruby
linojon_ has joined #ruby
flughafen_ has joined #ruby
linojon has quit [Ping timeout: 245 seconds]
linojon_ is now known as linojon
maestrojed has joined #ruby
cherwin has quit [Ping timeout: 246 seconds]
stunder has quit [Quit: Screw you guys I'm going home]
aspires has quit []
phutchin1 is now known as phutchins
gerep__ has quit [Ping timeout: 272 seconds]
fgo has quit [Ping timeout: 272 seconds]
cherwin has joined #ruby
carraroj has quit [Ping timeout: 272 seconds]
mikecmpbll has quit [Ping timeout: 245 seconds]
shredding has quit [Quit: shredding]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
WormDrink has quit [Ping timeout: 260 seconds]
luckyruby has joined #ruby
wallerdev has quit [Quit: wallerdev]
spider-mario has joined #ruby
IceDragon has quit [Ping timeout: 244 seconds]
gsd has joined #ruby
SilkFox_ has quit [Ping timeout: 260 seconds]
Ashe`` has joined #ruby
abdulsattar has quit [Ping timeout: 272 seconds]
<Ashe``> hello, I was doing something completely unrelated to ruby and stumbled upon ruby_atomic.h, it seems for gcc the fetch_and_add/sub intrinsics are used while on win32 InterlockedIncrement/Decrement is used, except the win32 functions (those 2 anyway) are add/sub_and_fetch instead of fetch_and_add/sub
mark_locklear has quit [Ping timeout: 272 seconds]
<Ashe``> thought maybe you'd want to get it fixed (if it matters)
stunder has joined #ruby
justinmburrous has joined #ruby
boombadaroomba has joined #ruby
<Ashe``> (lines 8/9, 29/30 and 47/48)
emrox_ has joined #ruby
<miah> Ashe``: filing a bug report would be helpful
Hobogrammer has joined #ruby
<Ashe``> ah, couldn't find it on github
<Ashe``> (the issues tab)
<Ashe``> ok
IceDragon has joined #ruby
<Ashe``> need to register though, might be simpler to just do a pull request
jimmyhoughjr has joined #ruby
nhhagen has joined #ruby
gerep_ is now known as gerep
MrBoolean has quit [Quit: Leaving...]
emrox has quit [Ping timeout: 272 seconds]
anaeem1_ has joined #ruby
hooper1 has joined #ruby
jottr_ is now known as jottr
aspires has joined #ruby
mark_locklear has joined #ruby
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
govg has quit [Ping timeout: 260 seconds]
justinmburrous has quit [Ping timeout: 272 seconds]
mikecmpbll has joined #ruby
gerep_ has joined #ruby
govg has joined #ruby
patrick99e99 has quit [Quit: Lost terminal]
abdulsattar has joined #ruby
<arcsky> canton7: nix
krz has quit [Quit: WeeChat 1.0.1]
cocotton has quit [Remote host closed the connection]
<canton7> arcsky, whoa, long time ago :P
krisquigley has joined #ruby
<canton7> arcsky, install the postgres devel package
<canton7> the one supplied by your package manager, that is - nothing to do with ruby
lw has quit [Quit: s]
cocotton_ has joined #ruby
Takle has quit [Remote host closed the connection]
sepp2k has quit [Quit: Konversation terminated!]
cocotton_ has quit [Remote host closed the connection]
lw has joined #ruby
gerep has quit [Ping timeout: 272 seconds]
cocotton has joined #ruby
cherwin has quit [Ping timeout: 240 seconds]
Kricir has quit [Remote host closed the connection]
boombadaroomba is now known as roombadaboomba
roombadaboomba is now known as boombadaroomba
mityaz has joined #ruby
moritzs has quit [Ping timeout: 260 seconds]
gerep__ has joined #ruby
Aaaal has quit [Quit: Aaaal]
ddv has joined #ruby
<arcsky> canton7: http://pastebin.com/vEUtw9KT anyone of those packages?
sigurding has joined #ruby
krisquigley has quit [Remote host closed the connection]
cherwin has joined #ruby
mupkoo has quit [Remote host closed the connection]
omosoj has joined #ruby
lw has quit [Ping timeout: 260 seconds]
lw has joined #ruby
gerep_ has quit [Ping timeout: 246 seconds]
jonr22 has joined #ruby
fsapo has joined #ruby
jlebrech has quit []
lw has quit [Client Quit]
<canton7> arcsky, try postgresql-server-dev-9.3? otherwise google
<canton7> not familiar with ubuntu's package ecosystem
* canton7 is off home
j_mcnally has joined #ruby
cocotton has quit [Remote host closed the connection]
fun has joined #ruby
fabrice31 has joined #ruby
cherwin has quit [Ping timeout: 258 seconds]
<fun> hey folks if I installed ruby does it mean rails are also automatically installed?
<Ashe``> there, now I shall rest in peace
ddv has quit [Changing host]
ddv has joined #ruby
Ashe`` has quit [Quit: leaving]
emrox_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mastr_bennett[x] has joined #ruby
Advocation has joined #ruby
ta has joined #ruby
<apeiros> fun: no
mastr_bennett[x] has quit [Client Quit]
<pagios> so i created a rackfile http://pastebin.com/egsFjSTB how can i use it now in my app?
BadQuanta has joined #ruby
Tomme has joined #ruby
lw has joined #ruby
michaeldeol has joined #ruby
fabrice31 has quit [Ping timeout: 245 seconds]
treehug8_ has joined #ruby
cherwin has joined #ruby
freerobby1 has joined #ruby
zeroNones has quit [Quit: Textual IRC Client: www.textualapp.com]
wallerdev has joined #ruby
spyderman4g63 has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
zeroNones has joined #ruby
zeroNones has quit [Max SendQ exceeded]
ar has joined #ruby
zeroNones has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
treehug88 has quit [Ping timeout: 244 seconds]
ghr has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
centrx has joined #ruby
yfeldblum has joined #ruby
j_mcnally has quit [Remote host closed the connection]
awc737 has joined #ruby
nanoyak has joined #ruby
treehug8_ has quit [Ping timeout: 245 seconds]
<jhass> pagios: what's your app built with?
<ar> hi. is there a way to tap into assignment operations on arrays? i would like to have some piece of code executed whenever "A[n] = something" happens. i tried overloading the [] operator, and checking for size, but that doesn't give me anything useful
chrisja has joined #ruby
aspires has quit []
larissa has quit [Quit: Leaving]
<jhass> ar: you would overwrite #[]= but I'd suggest doing a wrapper around the array or at least a subclass
SilkFox_ has joined #ruby
HelperW has quit [Quit: Computer has gone to sleep.]
ghr has quit [Ping timeout: 244 seconds]
aspires has joined #ruby
iamcyberbird has quit [Ping timeout: 272 seconds]
<sanguisdex> so I have just installed bundler and when I run bundle install it can't find itself tips for debuffing?
starless has joined #ruby
<sanguisdex> debugging!
HelperW has joined #ruby
<pagios> what is rackup exactly? i didnt understand it
Takle has joined #ruby
klaut has quit [Remote host closed the connection]
treehug88 has joined #ruby
<jhass> pagios: just a small wrapper that runs webrick or thin by default, I don't remember
melik has joined #ruby
<ar> jhass: thanks
<jhass> sanguisdex: what's the error you get?
yfeldblum has quit [Ping timeout: 272 seconds]
mleone has joined #ruby
Wolland has joined #ruby
hiall has quit [Ping timeout: 272 seconds]
flughafen_ has quit [Ping timeout: 260 seconds]
jerius has quit []
<sanguisdex> jhass: bundle install
<sanguisdex> /usr/local/lib/ruby/2.1.0/rubygems/dependency.rb:298:in `to_specs': Could not find 'bundler' (>= 0) among 8 total gem(s) (Gem::LoadError)
<sanguisdex> from /usr/local/lib/ruby/2.1.0/rubygems/dependency.rb:309:in `to_spec'
<sanguisdex> from /usr/bin/bundle:18:in `<main>'
<sanguisdex> from /usr/local/lib/ruby/2.1.0/rubygems/core_ext/kernel_gem.rb:53:in `gem'
<sanguisdex> opps
<sanguisdex> sorry all
<sanguisdex> jhass: http://pastebin.com/YQ43aRAB
jelera has joined #ruby
<jhass> sanguisdex: did you update ruby after installing bundler? try just installing it again: sudo gem install bundler
mikecmpbll has joined #ruby
<jhass> I see you have a ruby install in /usr/local, make sure which gem points to it
tectonic has joined #ruby
<sanguisdex> jhass: it's a long story I yesterday I tried installing ruby via rvm, got issues, removed it, I just compile ruby from source and installled bundler
MuffinPimp has joined #ruby
foooobear_ has joined #ruby
gerep_ has joined #ruby
<pagios> webrick or thin is a webserver jhass ?
HelperW has quit [Ping timeout: 272 seconds]
<jhass> pagios: kinda, we call them application server
foooobear has quit [Ping timeout: 245 seconds]
<jhass> they serve your application over http
enali has joined #ruby
adac has joined #ruby
<pagios> can it handle like lot of connections?
<pagios> liek apache and such
<jhass> that depends on the application server
enali1 has joined #ruby
<jhass> the usual setup if you have to scale big is to have an apache, nginx or similar in front of a bunch of application servers
wjimenez5271 has joined #ruby
<sanguisdex> jhass: I really would like to besure I have removed all of RVM's files but I can't figure that one out. I think there may be conflicting issues
coderdad has quit []
jbueza has joined #ruby
<pagios> jhass: i am trying to install faye: http://faye.jcoglan.com/ruby.html it includes at the top page a rackup file and at the end of the page another rackup file, what is the difference?
<jhass> pagios: there's also passenger which is a ruby application server that can run as a module inside apache and nginx
<jhass> sanguisdex: so what's the output of gem env now?
flughafen_ has joined #ruby
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gerep__ has quit [Ping timeout: 260 seconds]
mikeg has joined #ruby
<jhass> pagios: I see three three files there
<sanguisdex> jhass: http://pastebin.com/aL6wCE70
gerep has joined #ruby
<jhass> sanguisdex: oh you installed rvm as root, that explains it :P
<jhass> sanguisdex: do you still have a rvm command?
<sanguisdex> jhass: no
<sanguisdex> I removed it
<jhass> how?
enali has quit [Ping timeout: 260 seconds]
justinmburrous has joined #ruby
<sanguisdex> jhass: with rm, I could not figure out if there was a removel script
<jhass> there is
<jhass> rvm implode
Insanity133 has quit [Remote host closed the connection]
maniacal_ has joined #ruby
starkhalo has joined #ruby
gerep_ has quit [Ping timeout: 245 seconds]
<sanguisdex> so should I reinstall rvm and then run implode?
<sanguisdex> just to clean up?
govg has quit [Quit: leaving]
<jhass> sanguisdex: maybe, there's also a paragraph at https://rvm.io/support/troubleshooting
djbkd has joined #ruby
goshdarnyou has joined #ruby
carraroj has joined #ruby
Hobogrammer has quit [Ping timeout: 260 seconds]
LiohAu has quit [Quit: LiohAu]
emmesswhy has joined #ruby
iliketurtles has joined #ruby
coderdad has joined #ruby
djbkd has quit [Remote host closed the connection]
mikeg has quit [Ping timeout: 258 seconds]
gerep_ has joined #ruby
starless has quit [Quit: WeeChat 1.0]
justinmburrous has quit [Ping timeout: 260 seconds]
djbkd has joined #ruby
fgo has joined #ruby
zeroNones has joined #ruby
alem0lars has quit [Quit: AFK..]
starless has joined #ruby
jottr has quit [Ping timeout: 244 seconds]
SilkFox_ has quit [Ping timeout: 260 seconds]
robbyoconnor has quit [Ping timeout: 260 seconds]
maniacal_ has quit [Remote host closed the connection]
slyslick has quit [Ping timeout: 272 seconds]
gerep has quit [Ping timeout: 258 seconds]
cs0sf has quit [Quit: Leaving]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
wallerdev has quit [Quit: wallerdev]
rubyonrailed has joined #ruby
x1337807x has joined #ruby
fgo has quit [Ping timeout: 245 seconds]
wallerdev has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
AlexRussia has quit [Ping timeout: 272 seconds]
Tranquility___ has quit [Ping timeout: 272 seconds]
Hightower666 has quit [Read error: Connection reset by peer]
AFKGeek has joined #ruby
rfv has quit [Ping timeout: 272 seconds]
mattyohe has quit [Ping timeout: 272 seconds]
<pagios> any idea why this request is not going into ruby ? http://pastebin.com/HeNMhMeQ
<pagios> if i take the urls and put in browser it triggers ruby correctly
Hightower666 has joined #ruby
<ctrlrsf> sanguisdex: IMO, if you're using ruby for system management work, best to stick with the system ruby
Tranquility___ has joined #ruby
rfv has joined #ruby
mattyohe has joined #ruby
krisquigley has joined #ruby
lifenoodles has quit [Ping timeout: 272 seconds]
Spami has quit [Ping timeout: 250 seconds]
x1337807x has quit [Ping timeout: 245 seconds]
Spami has joined #ruby
thejamespinto has quit [Read error: Connection reset by peer]
nanoyak has quit [Quit: Computer has gone to sleep.]
noop has joined #ruby
x1337807x has joined #ruby
<jhass> pagios: what does your browser error console and network debugger say?
thejamespinto has joined #ruby
cndiv has quit [Ping timeout: 260 seconds]
<pagios> jhass: literally no errors
<jhass> pagios: okay, first half no errors
<jhass> what about the network console?
<pagios> jhass: thats my ruby config http://pastebin.com/u7h5b9j7
<sanguisdex> ctrlrsf: when you say thesystem ruby do you mean the package managed ruby?
rdark has quit [Quit: leaving]
goodenough has quit [Remote host closed the connection]
lifenoodles has joined #ruby
krisquigley has quit [Ping timeout: 240 seconds]
<sanguisdex> jhass: I logged out and logged back in, bundle installed worked. thanks for point me to the troubleshooting link
<jhass> pagios: what makes you say "this request not going into ruby" ?
<pagios> it is not going from javascript!
<sanguisdex> now I just have to solve the dependency issues, with gems that did ntoe exist on my local
<jhass> pagios: are you sure that your JS should already trigger one?
<ctrlrsf> sanguisdex: yes
<pagios> jhass: reading this.. http://faye.jcoglan.com/browser.html
rkalfane has joined #ruby
codecop has quit [Ping timeout: 272 seconds]
michaeldeol has joined #ruby
x1337807x has quit [Ping timeout: 272 seconds]
mikecmpbll has quit [Quit: i've nodded off.]
<jhass> pagios: I don't think that says creating a client object should make a request
<sanguisdex> ctrlrsf: I probably should have I am getting the same gem based errors with compile ruby that I was with the yum distributed ones
x1337807x has joined #ruby
wallerdev has quit [Quit: wallerdev]
x1337807x has quit [Max SendQ exceeded]
xcv has joined #ruby
Skyler has joined #ruby
<fennec> well this is fun... recruiter trying to pitch me an OCaml position.
Stalkr_ has joined #ruby
Stalkr_ has joined #ruby
bMalum_ has joined #ruby
<fun> :P
<fun> hehe
<fun> traders?
dumdedum has quit [Quit: foo]
<pagios> jhass: i receive now Rack::Lint::LintError: Status must be >=100 seen as integer
pandaant has joined #ruby
gerep__ has joined #ruby
alem0lars has joined #ruby
adac has quit [Ping timeout: 260 seconds]
lw has quit [Quit: s]
<fennec> fun - bunch of quants, but the position in question is sysadminnish
<fennec> devopsy
niklasb has joined #ruby
ptrrr has joined #ruby
<fennec> as opposed to being quant-y.
AlexRussia has joined #ruby
x1337807x has joined #ruby
Dr3amc0d3r|away has quit [Ping timeout: 272 seconds]
sepp2k has joined #ruby
c107 has joined #ruby
therue has quit []
lolmaus has quit [Quit: Konversation terminated!]
gerep_ has quit [Ping timeout: 258 seconds]
Advocation has quit [Quit: Advocation]
<jhass> pagios: not sure how you achieved that, the lib seems to correctly return only 404, 304 or 200 from a quick glance at the code
codecop has joined #ruby
Takle has quit [Remote host closed the connection]
Rollabunna has quit [Quit: Leaving...]
MrBoolean has joined #ruby
alem0lars has quit [Ping timeout: 260 seconds]
<fun> fennec: you could swap their hard drives
<fun> they be like wtf
<fun> :D
<fennec> ?
gerep_ has joined #ruby
Dr3amc0d3r|away has joined #ruby
Darryl has joined #ruby
lsmola has quit [Ping timeout: 260 seconds]
tyfighter has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
Advocation has joined #ruby
jottr has joined #ruby
MrBoolean has quit [Read error: Connection reset by peer]
postmodern has joined #ruby
MrBoolean has joined #ruby
claymore has joined #ruby
gerep__ has quit [Ping timeout: 244 seconds]
claymore has quit [Changing host]
claymore has joined #ruby
Hobogrammer has joined #ruby
MrBoolean has quit [Read error: Connection reset by peer]
MrBoolean has joined #ruby
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
cocotton has joined #ruby
emmesswhy has joined #ruby
jottr has quit [Ping timeout: 272 seconds]
reset has joined #ruby
SilkFox_ has joined #ruby
kobain has joined #ruby
yfeldblum has joined #ruby
tvw has joined #ruby
gerep__ has joined #ruby
cocotton has quit [Ping timeout: 240 seconds]
kireevco has quit [Quit: Leaving.]
stunder has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 272 seconds]
emmesswhy has quit [Quit: Leaving]
krisquigley has joined #ruby
gerep_ has quit [Ping timeout: 258 seconds]
ghr has joined #ruby
enali1 has quit [Ping timeout: 260 seconds]
qmfnp has quit [Quit: Textual IRC Client: www.textualapp.com]
gerep_ has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
SilkFox_ has quit [Ping timeout: 240 seconds]
lw has joined #ruby
djbkd has quit [Remote host closed the connection]
iliketurtles has joined #ruby
ghr has quit [Ping timeout: 260 seconds]
gerep__ has quit [Ping timeout: 240 seconds]
_joelsmith has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
mikeg has joined #ruby
Advocation has quit [Quit: Advocation]
gerep__ has joined #ruby
djbkd has joined #ruby
lampd1 has joined #ruby
codeFiend has quit [Quit: codeFiend]
yacks has quit [Quit: Leaving]
AlSquire has quit [Quit: This computer has gone to sleep]
gerep has joined #ruby
gerep_ has quit [Ping timeout: 260 seconds]
axl_ has quit [Ping timeout: 245 seconds]
wallerdev has joined #ruby
icarus has joined #ruby
crazydiamond has joined #ruby
iamjarvo has joined #ruby
gerep__ has quit [Ping timeout: 246 seconds]
kyb3r_ has joined #ruby
shosti has joined #ruby
speakingcode has quit [Ping timeout: 250 seconds]
Takle has joined #ruby
speakingcode has joined #ruby
yacks has joined #ruby
HelperW has joined #ruby
axl_ has joined #ruby
gerep_ has joined #ruby
<arup_r> How can I write a regex which will match exactly which are equal to suppose "string" not "my string" or "string bla bla" etc
<arup_r> only match is "string"
<arup_r> I am not well in regex
yetanotherdave has joined #ruby
ursooperduper has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
troyready has quit [Remote host closed the connection]
lw has quit [Quit: s]
<centrx> arup_r, Need more information on the format
<shosti> arup_r: are you matching against a string or a line?
<arup_r> array of string
cherwin has quit [Ping timeout: 246 seconds]
HelperW has quit [Ping timeout: 258 seconds]
<shosti> you should probably just do a string compare then
<apeiros> /\Astring\z/
<arup_r> but I want to get only strings that are "string" not any onther combinations
<arup_r> Why not \b ?
troyready has joined #ruby
<apeiros> arup_r: what does \b mean?
fgo has joined #ruby
AFKGeek has quit [Quit: Leaving]
<apeiros> arup_r: in your words
gerep has quit [Ping timeout: 246 seconds]
PragCypher has joined #ruby
agjacome has quit [Quit: leaving]
<apeiros> arup_r: or maybe tell me where in "string bla bla" a \b would match
lw has joined #ruby
fgo has quit [Read error: No route to host]
axl_ has quit [Ping timeout: 258 seconds]
<arup_r> No.. I am talking only to match which are "string"... not those strings where "string" is a substring..
paulfm has joined #ruby
fgo has joined #ruby
mastr_bennett[x] has joined #ruby
Tricon has quit [Quit: Leaving...]
<centrx> arup_r, /^string$/, but no need to use regex in that case
<apeiros> arup_r: yes, which is why \b will not work.
<apeiros> centrx: wrong anchors
<apeiros> arup_r: and you can figure out your question of "why not \b" by answering my question
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
chrishough has joined #ruby
<shosti> arup_r: you can just do something like my_array.grep('string') for literal string compare
djbkd has quit [Remote host closed the connection]
NivenHuH_ has joined #ruby
NivenHuH_ is now known as NivenHuH
spyderman4g63 has quit [Remote host closed the connection]
<apeiros> or array.include?('string') or array.count('string') (since I see little value in a result array consisting of the same string over and over :-) )
anaeem1_ has quit [Remote host closed the connection]
otherj has joined #ruby
spyderman4g63 has joined #ruby
fgo has quit [Ping timeout: 272 seconds]
<apeiros> arup_r: so are you still trying to answer or did I misinterpret and you don't intend to learn/understand regex?
benzrf|offline is now known as benzrf
djbkd has joined #ruby
tomgavin has quit [Quit: ircII EPIC5-1.1.2 -- Are we there yet?]
osse has left #ruby ["WeeChat 1.1-dev"]
cleopatra has joined #ruby
lw has quit [Read error: Connection reset by peer]
lw has joined #ruby
sinkensabe has joined #ruby
spyderman4g63 has quit [Ping timeout: 258 seconds]
luckyruby has quit [Quit: Leaving...]
spyderman4g63 has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
crazydiamond has quit [Read error: Connection reset by peer]
kaspergrubbe has quit [Remote host closed the connection]
tomgavin has joined #ruby
lw has quit [Client Quit]
Kricir has joined #ruby
b00stfr3ak has quit [Ping timeout: 272 seconds]
SilkFox_ has joined #ruby
mocfive has joined #ruby
rezzack has joined #ruby
anaeem1 has joined #ruby
axl_ has joined #ruby
* apeiros wants a bot which warns from time wasters
benzrf is now known as benzrf|offline
maniacal_ has joined #ruby
fabrice31 has joined #ruby
Tomme has quit [Ping timeout: 272 seconds]
kaspertidemann has joined #ruby
pfg has joined #ruby
Kricir has quit [Remote host closed the connection]
noop has quit [Ping timeout: 272 seconds]
Kricir has joined #ruby
omosoj has quit [Quit: leaving]
skolman has quit [Remote host closed the connection]
mikeg has quit [Ping timeout: 272 seconds]
noop has joined #ruby
skolman_ has joined #ruby
pushpak has joined #ruby
axl_ has quit [Ping timeout: 260 seconds]
skolman_ has quit [Remote host closed the connection]
zzz_Ridley is now known as Ridley5
skolman has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
cocotton has joined #ruby
fabrice31 has quit [Ping timeout: 246 seconds]
skolman has quit [Remote host closed the connection]
skolman_ has joined #ruby
Kricir has quit [Ping timeout: 244 seconds]
starless has quit [Ping timeout: 245 seconds]
ckrailo has joined #ruby
thumpba_ has quit [Remote host closed the connection]
endash has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
thumpba has joined #ruby
jelera has quit [Remote host closed the connection]
yfeldblum has joined #ruby
HelperW has joined #ruby
BadQuanta has quit [Ping timeout: 272 seconds]
cocotton has quit [Ping timeout: 245 seconds]
codeFiend has joined #ruby
codeurge has joined #ruby
maniacal_ has quit [Remote host closed the connection]
anaeem1 has quit [Remote host closed the connection]
AlexRussia has quit [Remote host closed the connection]
skolman_ has quit [Remote host closed the connection]
cndiv has joined #ruby
BadQuanta has joined #ruby
skolman_ has joined #ruby
robustus|Off has quit [Ping timeout: 250 seconds]
AlexRussia has joined #ruby
iliketurtles has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
SilkFox_ has quit [Ping timeout: 246 seconds]
thejamespinto has quit [Read error: Connection reset by peer]
nonmadden has quit [Remote host closed the connection]
danijoo has joined #ruby
yfeldblum has quit [Ping timeout: 258 seconds]
thejamespinto has joined #ruby
mastr_bennett[x] has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
gregf has quit [Quit: WeeChat 1.0]
rpag has quit [Ping timeout: 260 seconds]
pusewicz has joined #ruby
robustus has joined #ruby
RegulationD has joined #ruby
otherj has quit []
GriffinHeart has joined #ruby
anaeem1_ has joined #ruby
krisquigley has quit [Remote host closed the connection]
ursooperduper has joined #ruby
agjacome has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
treehug8_ has joined #ruby
kirun has joined #ruby
djbkd has quit [Remote host closed the connection]
benzrf|offline is now known as benzrf
GriffinHeart has joined #ruby
treehug88 has quit [Ping timeout: 258 seconds]
neoxquick has joined #ruby
dadadath has joined #ruby
`Dath has quit [Ping timeout: 258 seconds]
<PragCypher> has there been an integration with rake test and syntastic for vim?
ghr has joined #ruby
ursooperduper has quit [Quit: Textual IRC Client: www.textualapp.com]
armyriad has quit [Ping timeout: 258 seconds]
armyriad has joined #ruby
vinleod has quit [Quit: Computer has gone to sleep.]
alvaro_o has joined #ruby
mikeg has joined #ruby
havenwood has joined #ruby
djbkd has joined #ruby
fun has quit [Ping timeout: 246 seconds]
ghr has quit [Ping timeout: 272 seconds]
spicerack has joined #ruby
tomgavin has quit [Quit: ircII EPIC5-1.1.2 -- Are we there yet?]
kerin has joined #ruby
skammer3 has joined #ruby
alem0lars has joined #ruby
RegulationD has quit [Quit: RegulationD]
kaspergrubbe has joined #ruby
RegulationD has joined #ruby
gerep__ has joined #ruby
rpag has joined #ruby
benzrf is now known as benzrf|offline
<kerin> I'm trying to grok some contractor code we just got to review... this test appears very strange:
<kerin> return if some_var >2 && !has_planner || nil
<sanguisdex> how can I figure out what files are being refered to to when my gem path is built
<kerin> am i right that "|| nil" is completely irrelevant to the logic flow?
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
aspires has quit []
spider-mario has quit [Ping timeout: 246 seconds]
krisquigley has joined #ruby
cleopatra has quit [Ping timeout: 245 seconds]
gerep_ has quit [Ping timeout: 258 seconds]
<apeiros> kerin: I think you're correct. that ` || nil` seems superfluous
spider-mario has joined #ruby
<kerin> apeiros, thank you. it's wigging me out because they added it in a recent push and it's, uh
mikepack has quit [Remote host closed the connection]
<kerin> it makes me worry that they don't understand what they did either :p
gerep_ has joined #ruby
cleopatra has joined #ruby
<apeiros> IME with contractors - not out of question at all that they have no clue.
Hightower666 has quit [Ping timeout: 260 seconds]
Frogging101-chan has left #ruby ["I'm up, over, and gone."]
<kerin> yeah.
Hobogrammer has quit [Quit: WeeChat 0.4.3]
mikepack has joined #ruby
<apeiros> or "they" -> "one of their employees"
justinmburrous has joined #ruby
gerep__ has quit [Ping timeout: 245 seconds]
BadQuanta1 has joined #ruby
krisquig_ has joined #ruby
workmad3 has joined #ruby
<kerin> i'm not ultra impressed with these guys anyway. they bid on a project to add a related app for an existing schema and decided to do it in rails, which isn't real happy with schemas other than... rails.
IceDragon has quit [Ping timeout: 258 seconds]
BadQuanta has quit [Ping timeout: 260 seconds]
IceDragon has joined #ruby
Tomme has joined #ruby
sigurding has quit [Quit: sigurding]
<fennec> kerin - my condolences
Wolland_ has joined #ruby
<kerin> so random superstitious nonsense like "if foo || nil" is unfortunately not unexpected
<kerin> thanks fennec
mikeg has quit [Remote host closed the connection]
boombadaroomba has quit [Remote host closed the connection]
tesaf has joined #ruby
nfk has quit [Remote host closed the connection]
hiyosi has quit [Ping timeout: 272 seconds]
fgo has joined #ruby
wallerdev has quit [Quit: wallerdev]
justinmburrous has quit [Ping timeout: 246 seconds]
cleopatra has quit [Read error: Connection reset by peer]
bricker`work has quit [Ping timeout: 260 seconds]
nfk has joined #ruby
algoqaeda has joined #ruby
Wolland has quit [Ping timeout: 246 seconds]
<apeiros> kerin: AR with schemas outside its domain can be a bitch indeed. writable views can help a lot, though.
<apeiros> or even just views if you don't need write access.
<apeiros> (DB views, just to be clear)
bMalum__ has joined #ruby
<kerin> (got it)
<apeiros> s/can be a bitch/can be annoying/
<kerin> i think that's a little beyond these guys. pretty much an "if we can find a gem to do it, we can make your app do it!" shop
<apeiros> amazing how much sexist vocab sneaks in
<kerin> i've built some fun apps in ruby + sinatra but I'm not a specialist
<havenwood> kerin: Sequel gem for the win!
gerep__ has joined #ruby
<fennec> if you are going to do rails with an extant schema
<fennec> i've had some success with datamapper
<fennec> of course, this may not help you with your cheap contractors
tjbiddle has joined #ruby
<havenwood> fennec: I like the idea of ROM. I think I'd use it if it materializes. :)
bMalum_ has quit [Ping timeout: 260 seconds]
skift has joined #ruby
<fennec> ROM?
<fennec> oh they renamed it
<fennec> interesting
<rpag> the emergence of ROM kinda killed datamapper
djbkd has quit [Remote host closed the connection]
* fennec hasn't been following it in the past few weeks
aspires has joined #ruby
<skift> hello. i am trying to run the rhc command, and I got this error message. it was working before. but its been a few weeks to a month since i have used it. http://hastebin.com/efoquxamuy.bash im not totally familiar with ruby/rbenv. i have looked up some fixes, and one is to install openssl in brew, but i already do. then i cant get rbenv to install properly
<kerin> so when these guys, who supposedly ARE Ruby specialists, do stuff that looks irrational, i have to be really careful that I'm not in the wrong before bringing it up
<rpag> and ROM doesnt seem to be taking off
fgo has quit [Ping timeout: 272 seconds]
<skift> i was hoping someone could possibly point me in the right direction.
benzrf|offline is now known as benzrf
<skift> the rhc command is being used with openshift.
SilkFox_ has joined #ruby
boombadaroomba has joined #ruby
shosti has quit [Ping timeout: 272 seconds]
Hobogrammer has joined #ruby
adac has joined #ruby
gerep_ has quit [Ping timeout: 244 seconds]
stunder has joined #ruby
<fennec> skift - it sounds like your ruby version and your openssl version don't seem to be happy with each other, or with system libraries. you could try to understand and fix it, you could try to select (and optionally install) a new ruby version and/or gemset with your extant rvm / rbenv command.
shock_one has joined #ruby
algoqaeda has quit [Ping timeout: 245 seconds]
shock_one has quit [Client Quit]
chipotle has joined #ruby
tuelz has joined #ruby
shock_one has joined #ruby
<skift> ok. i dont think i need anything specific. so the latest stable is fine.
Jackneill_ has quit [Remote host closed the connection]
algoqaeda has joined #ruby
<skift> i am on a mac. so is installing it with homebrew recommended?
<fennec> it's possible you can fix that with a simple 'rvm use' of already-extant gemsets
buub has quit [Read error: Connection reset by peer]
<fennec> if you've already got rvm, that is
<fennec> as for the rest, I dunno, will let other guys opine instead
<skift> rvm command not found. so no
chipotle has quit [Read error: Connection reset by peer]
<rpag> i think if you go with ruby-install it will handle building against openssl for you, havenwood would know for certain
emmesswhy has joined #ruby
chipotle has joined #ruby
ciampix has joined #ruby
<tuelz> I'm trying to do some Net::SFTP stuff in a script and the script always stops after the connection closes. Shouldn't the script continue execution?
<skift> just 'ruby-install' ?
<tuelz> in that example I never see the puts
<skift> dont seem to have that command
<rpag> skift, you'd have to install it from https://github.com/postmodern/ruby-install
vinleod has joined #ruby
jackjackdrpr has joined #ruby
<fennec> tuelz- uhhhhh is it throwing exceptions? is the exit status nonzero?
<fennec> </generic debug principles only>
shock_one has quit [Ping timeout: 244 seconds]
<tuelz> fennec: the error just tells me it's disconnecting, I'll keep digging though maybe I overlooked something, been passing the error to dev/null a while
<skift> rpag: thanks a bunch. ill try that
<tuelz> probably missed something
nfk has quit [Ping timeout: 246 seconds]
<_lucid_>
Deejay_ has joined #ruby
<havenwood> skift: yeah, install brew :)
<havenwood> skift: then: brew install ruby-install
fennec has quit [Quit: This computer has gone to sleep]
<havenwood> or live on the edge: brew install ruby-install --HEAD
SilkFox_ has quit [Ping timeout: 260 seconds]
<havenwood> skift: ruby-install supports brew or macports, but brew is the most trod path
<skift> yea i have brew. ill try that.
jontmorehouse has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
endash has quit [Quit: endash]
ephemerian has joined #ruby
tvw has quit []
maestrojed has quit [Quit: Computer has gone to sleep.]
lampd1 has quit [Remote host closed the connection]
certainty has quit [Ping timeout: 258 seconds]
aspires has quit []
tectonic has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<arcsky> ruby = trouble
Killerkeksdose_ has quit [Ping timeout: 240 seconds]
daniel3 has quit [Remote host closed the connection]
Killerkeksdose has joined #ruby
<havenwood> arcsky: assignment?
<arcsky> im not a coder but when im installing differnt programs lately it always getting new troubles
certainty has joined #ruby
<havenwood> arcsky: if it is, only because you just defined it so :P
jheg has joined #ruby
aspires has joined #ruby
daniel3 has joined #ruby
reisl has joined #ruby
ghostmoth has quit [Quit: ghostmoth]
reisl is now known as Guest63540
spyderma_ has joined #ruby
Guest63540 has quit [Client Quit]
bMalum__ has quit [Quit: bMalum__]
spyderman4g63 has quit [Ping timeout: 245 seconds]
<havenwood> arcsky: a single `=` is assingment unless `==` twoquals or `===` threequals comparison
anaeem1_ has quit [Remote host closed the connection]
<havenwood> arcsky: ronin > metasploit
MaciejCzyzewski has joined #ruby
<havenwood> arcsky: looks like you're trying to run `msfconsole` in the context of your bundle, but it isn't in your bundle
larissa_ has joined #ruby
endash has joined #ruby
cocotton has joined #ruby
<havenwood> arcsky: since you're not prefixing the command with `bundle exec` it seems you may have `rubygems-bundler` or something else installed that is detecting the Gemfile and prefixing it for you?
<arcsky> what is bundle and gem
larissa_ is now known as larissa
krisquig_ has quit [Remote host closed the connection]
xylorast has quit [Quit: Lost terminal]
aspires has quit []
krisquig_ has joined #ruby
<havenwood> arcsky: RubyGems ships with Ruby and includes the `gem` binary. Gems are Ruby packages. They can be libraries with or without executables.
larissa has left #ruby [#ruby]
Sawbones has joined #ruby
<havenwood> arcsky: One such gem is called Bundler.
<arcsky> ok
<havenwood> arcsky: http://guides.rubygems.org/
<arcsky> and im missing bundler?
<havenwood> arcsky: http://bundler.io/
aspires has joined #ruby
bMalum_ has joined #ruby
larissa has joined #ruby
<havenwood> arcsky: Check if `rubygems-bundler` is installed?: gem list rubygems-bundler
larissa has quit [Client Quit]
cocotton has quit [Ping timeout: 258 seconds]
larissa has joined #ruby
endash has quit [Quit: endash]
<havenwood> arcsky: So the way the Bundler team would like you to use bundler is to only be in the context of the bundle when you manually prefix `bundle exec`. For various reasons, folk want automagical prefixing when a Gemfile is available, hence tools like rubygems-bundler.
<arcsky> *** LOCAL GEMS ***
<havenwood> arcsky: So you don't have it.
Avahey has quit [Quit: Connection closed for inactivity]
threesixes has quit [Quit: SATAN!!!!!!!!]
<havenwood> arcsky: Try the same command from a directory without a Gemfile.
<havenwood> arcsky: the original cmd, i mean, not gem list
<arcsky> what cmd?
<arcsky> k
krisquig_ has quit [Ping timeout: 244 seconds]
kristofferR has joined #ruby
bricker`work has joined #ruby
<arcsky> gem list?
<havenwood> your metasploit cmd
NivenHuH has quit [Quit: Textual IRC Client: www.textualapp.com]
alem0lars has quit [Quit: AFK..]
<havenwood> msfconsole
<arcsky> how can i run it without a gemfile?
failshell has joined #ruby
<havenwood> i can't remember, does metasploit do some janky stuff? looking...
jerius has joined #ruby
antlong has quit [Quit: Textual IRC Client: www.textualapp.com]
alem0lars has joined #ruby
<havenwood> okay, looks like i'm in opposite land
bMalum_ has quit [Ping timeout: 245 seconds]
<havenwood> arcsky: So nevermind me. Looks like metasploit instructions assume you're using RVM so you *do* have rubygems-bundler, hence them omitting the presumed automagical `bundle exec`.
hobodave has joined #ruby
ciampix has quit [Ping timeout: 246 seconds]
<havenwood> arcsky: bundle exec msfconsole
Wolland has joined #ruby
jerius has quit [Client Quit]
bMalum_ has joined #ruby
luckyruby has joined #ruby
Wolland__ has joined #ruby
spider-mario has quit [Remote host closed the connection]
russt has joined #ruby
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ghostmoth has joined #ruby
silkfox has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
Wolland_ has quit [Ping timeout: 240 seconds]
thejamespinto has quit [Read error: Connection reset by peer]
IcyDragon has joined #ruby
thejamespinto has joined #ruby
IceDragon has quit [Ping timeout: 272 seconds]
<havenwood> seems they haven't managed to cut their framework into a gem >.>
Wolland has quit [Ping timeout: 272 seconds]
<havenwood> a gemspec that doesn't build, great :P
<havenwood> fun times
silkfox has joined #ruby
MaciejCzyzewski has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ghr has quit [Ping timeout: 245 seconds]
<havenwood> arcsky: prefixing `bundle exec` work?
<arcsky> Could not find msgpack-0.5.8 in any of the sources
<arcsky> Run `bundle install` to install missing gems.
<havenwood> do that
<arcsky> k
larissa has quit [Ping timeout: 272 seconds]
<arcsky> did it many times :S
<havenwood> ah
<havenwood> msgpack, new error k
dawkirst has joined #ruby
* havenwood goes in search of sorely needed coffee
workmad3 has quit [Ping timeout: 260 seconds]
ghostmoth has quit [Quit: ghostmoth]
lampd1 has joined #ruby
wallerdev has joined #ruby
jbw has quit [Remote host closed the connection]
<MaciejCzyzewski> Hi folks. I have a question!
<MaciejCzyzewski> Someone want help?
<shevy> god
<shevy> ask
<shevy> don't ask to ask
shosti has joined #ruby
ghostmoth has joined #ruby
<shevy> if someone can help he can try
<shevy> if you don't ask they can't
krisquigley has quit [Remote host closed the connection]
<MaciejCzyzewski> Logic ^^
<arcsky> new erors every time
<arcsky> ruby..
workmad3 has joined #ruby
<MaciejCzyzewski> What is the best way is to write notification system in ruby...
<toretore> use xmpp
<MaciejCzyzewski> Are there any libraries?
lampd1 has quit [Remote host closed the connection]
<arcsky> havenwood: you are away for coffee?
<MaciejCzyzewski> Notification for the web. For example you have new text message, unreaded story itp
freezey has joined #ruby
decoponio has quit [Quit: Leaving...]
toretore has quit [Quit: This computer has gone to sleep]
michaeldeol has joined #ruby
awestroke has quit [Remote host closed the connection]
jcdesimp has joined #ruby
ciampix has joined #ruby
<gsd> is there a service that will me when a gem im watching updates?
emocakes has joined #ruby
emmesswhy has quit [Quit: Leaving]
klaut has joined #ruby
hobodave has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
tjbiddle has quit [Quit: tjbiddle]
ht__th has quit [Remote host closed the connection]
<havenwood> arcsky: you mean, "metasploit..."
<havenwood> arcsky: back
<arcsky> havenwood: wb
Wolland__ has quit [Ping timeout: 240 seconds]
jack_rabbit has joined #ruby
<arcsky> havenwood: i had issu with other stuff aswell
tessi_zz is now known as tessi
<arcsky> which running ruby
eat_multi has joined #ruby
kate_r has joined #ruby
<arcsky> Snorby / Banyard2
<havenwood> arcsky: RubyGems can't find metasploit-framework gem because they haven't published it to RubyGems. You can' install the local copy because the user you're running the command with doesn't have permissions to access the .gem file.
<havenwood> arcsky: metasploit-framework-4.10.1.pre.dev.gem
eat_multi has quit [Client Quit]
hiyosi has joined #ruby
<apeiros> somehow there seems to be a correlation between metasploit "users" and people having troubles with ruby.
justinmburrous has joined #ruby
<havenwood> apeiros: indeed!
Xeago has quit [Remote host closed the connection]
<apeiros> also seems common qr code readers can only deal with 8bit mode :(
AlexRussia has quit [Remote host closed the connection]
aspires has quit []
<arcsky> so i cant run it
<shevy> metasploit is like shit
<shevy> and shit attracts flies
<shevy> so flies consider shit popular
AlexRussia has joined #ruby
<shevy> why don't they publish their gems to rubygems though?
<arcsky> metasploit cant be shit since its a leading security tool
b00stfr3ak has joined #ruby
fgo has joined #ruby
flughafen_ has quit [Ping timeout: 272 seconds]
jottr has joined #ruby
<shevy> says who
artmann has quit [Remote host closed the connection]
yfeldblum has joined #ruby
<arcsky> google
<arcsky> irc
justinmburrous has quit [Ping timeout: 246 seconds]
artmann has joined #ruby
guanophobic has quit [Ping timeout: 260 seconds]
<shevy> I base my scientific datasets on irc usage
aspires has joined #ruby
hiyosi has quit [Ping timeout: 272 seconds]
<apeiros> Util::FitnessFunctions.irc
chrishough has quit [Ping timeout: 245 seconds]
guanophobic has joined #ruby
alem0lars has quit [Quit: alem0lars]
<havenwood> arcsky: irc says use ronin
hiall has joined #ruby
<arcsky> which channel?
hiall has quit [Client Quit]
<havenwood> this channel
GriffinHeart has quit [Remote host closed the connection]
Darryl has quit [Quit: Connection closed for inactivity]
<havenwood> use ronin.
<arcsky> havenwood: i will now follwing this tutorial: http://www.linuxx.eu/2014/01/install-metasploit-on-debian.html
fgo has quit [Ping timeout: 240 seconds]
<havenwood> i suspect you should spend your time figuring out unix file ownership and permissions so you can install your pen testing tool :P
arup_r has quit [Quit: Leaving.]
<havenwood> arcsky: if you're foiled by metasploit .gem file permissions, that's a good place to start
larissa has joined #ruby
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<havenwood> arcsky: what user are you? what user owns that file? what are its permissions? sudo?
larissa is now known as Guest98585
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kaspergrubbe has quit [Remote host closed the connection]
<arcsky> -rwxr-xr-x
<havenwood> what is your ip address, username and password?
<havenwood> j/k
<arcsky> hehe
shredding has joined #ruby
noop has quit [Ping timeout: 246 seconds]
<havenwood> arcsky: if you really want to pen test or craft exploit packages, first pick a lang and learn it well enough to complete at least a couple sets of matasano crypto challenges: http://cryptopals.com/
<apeiros> 127.0.0.1 / god / god
fabrice31 has joined #ruby
<apeiros> obv
kaspergrubbe has joined #ruby
<shevy> hey
<shevy> that username was already picked!
svoop has joined #ruby
hmsimha has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
rkalfane has joined #ruby
sinkensabe has quit [Remote host closed the connection]
<apeiros> havenwood: that link explains a couple of recent questions
<kerin> how does the ||= assignment operator work?
bthesorceror has quit [Quit: bthesorceror]
<havenwood> kerin: tl;dr: a || a = b
<kerin> havenwood, thanks :)
lmickh has quit [Remote host closed the connection]
<kerin> aha
<kerin> brill.
<kerin> thanks again
<havenwood> de nada
svoop has quit [Remote host closed the connection]
bthesorceror has joined #ruby
fabrice31 has quit [Ping timeout: 260 seconds]
bthesorceror has quit [Client Quit]
Stalkr_ has quit [Quit: Leaving...]
tskogberg has quit [Ping timeout: 240 seconds]
dawkirst has quit [Remote host closed the connection]
lmickh has joined #ruby
chrishough has joined #ruby
<shevy> I have this regex here:
<shevy> /(\d+\.?\d*)-(\d+\.?\d*)/
jaffachief has joined #ruby
fsapo has quit [Remote host closed the connection]
<shevy> this matches - or should match - two numbers
<shevy> like:
<shevy> 5.5-678.3
<shevy> but now I want to also capture this:
<shevy> 5.5 -678.3
sanguisdex has left #ruby [#ruby]
hiyosi has joined #ruby
<shevy> in other words, the ' '
<shevy> or rather, I want to ignore them yet still have a valid regex
<shevy> ohhhh I got it
<shevy> (\d+\.?\d*)\s?*-(\d+\.?\d*)
<shevy> \o/
<shevy> rubular is awesome
jcdesimp has quit [Remote host closed the connection]
jcdesimp has joined #ruby
jcdesimp has quit [Remote host closed the connection]
<shevy> I will marry rubular
tvw has joined #ruby
BadQuanta has joined #ruby
<epitron> havenwood: oh, btw, i got that SDBM-enhanced rubygems require working... cut the ruby startup time in half!
<apeiros> shevy: \s?* is equivalent to just \s*
<havenwood> epitron: ooh, neato!
Guest98585 has quit [Ping timeout: 244 seconds]
<epitron> it breaks with rails' autoloads though :\
sinkensabe has joined #ruby
<havenwood> mmm
<epitron> i need to dig into it with pry and figure out wtf is going on
HelperW has quit [Quit: Computer has gone to sleep.]
sepp2k has quit [Read error: Connection reset by peer]
AlexRussia has quit [Remote host closed the connection]
HelperW has joined #ruby
<epitron> the other extraneous-looking thing is loading lots of gemspecs
<epitron> you think i could just load them all once, then dump them to a big marshal blob? :)
hiyosi has quit [Ping timeout: 258 seconds]
AlexRussia has joined #ruby
bthesorceror has joined #ruby
<havenwood> :O
<shevy> apeiros hmm lemme test that
BadQuanta1 has quit [Ping timeout: 272 seconds]
chipotle has quit [Quit: cya]
banister has joined #ruby
<shevy> oh
PragCypher has quit [Quit: Leaving]
<shevy> I see, because the * means 0 or more times
maestrojed has joined #ruby
<shevy> you optimized away two characters apeiros \o/
<shevy> this code will now run 0.0000586869866% faster
bthesorceror has quit [Client Quit]
gerep_ has joined #ruby
claymore has quit [Quit: Leaving]
aspires has quit []
aspires has joined #ruby
HelperW has quit [Ping timeout: 240 seconds]
Aaaal has joined #ruby
<apeiros> shevy: increased readability and reduced "wtf?!?" count is more important ;-)
crazydiamond has joined #ruby
boombadaroomba has quit [Remote host closed the connection]
MaciejCzyzewski has joined #ruby
gerep__ has quit [Ping timeout: 272 seconds]
aclearman037 has quit []
codecop has quit [Remote host closed the connection]
jcdesimp has joined #ruby
chipotle has joined #ruby
gerep_ has quit [Quit: Leaving]
krisquigley has joined #ruby
adac has quit [Ping timeout: 272 seconds]
IcyDragon is now known as IceDragon
boombadaroomba has joined #ruby
b00stfr3ak has quit [Remote host closed the connection]
luckyruby has quit [Remote host closed the connection]
bmurt has quit []
b00stfr3ak has joined #ruby
tessi is now known as tessi_zz
HelperW has joined #ruby
Hobogrammer has quit [Quit: WeeChat 0.4.3]
bricker`1ork has joined #ruby
bthesorceror has joined #ruby
<epitron> hah, wow, marshal is a lot faster than SDBM
jeremy04 has quit [Remote host closed the connection]
klmlfl_ has joined #ruby
<epitron> wonder how big a memory footprint that is
guanophobic has quit [Ping timeout: 260 seconds]
paulfm has quit []
yfeldblum has quit [Ping timeout: 272 seconds]
mleone has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bricker`work has quit [Ping timeout: 272 seconds]
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
russt_ has joined #ruby
<shevy> marshal sounds so militaristic
yfeldblum has joined #ruby
krisquigley has quit [Ping timeout: 258 seconds]
russt has quit [Ping timeout: 258 seconds]
russt_ is now known as russt
manzo has joined #ruby
tectonic has joined #ruby
snzmn has joined #ruby
HelperW has quit [Ping timeout: 260 seconds]
klmlfl has quit [Ping timeout: 240 seconds]
JeffBonds has quit [Quit: JeffBonds]
tuelz has quit [Quit: WeeChat 1.0]
tesaf has quit [Quit: Lost terminal]
<epitron> marshal is just a hair faster than SDBM
klmlfl_ has quit [Ping timeout: 246 seconds]
shock_one has joined #ruby
<epitron> that probably gets exponentially worse as the number of gems increases
krisquigley has joined #ruby
bthesorceror has quit [Quit: bthesorceror]
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
mark_locklear has quit [Quit: Leaving]
chrishough has joined #ruby
bMalum_ has quit [Quit: bMalum_]
hiyosi has joined #ruby
ghr has joined #ruby
jehosogo has quit [Quit: Textual IRC Client: www.textualapp.com]
<epitron> cdb is the best, but i can't use it because people would have to install it as a gem
<epitron> ...and if it's a gem, i can't bypass rubygems :\
skift has quit [Remote host closed the connection]
HelperW has joined #ruby
HelperW has quit [Read error: Connection reset by peer]
HelperW has joined #ruby
wjimenez_ has joined #ruby
shock_one has quit [Ping timeout: 260 seconds]
krisquigley has quit [Ping timeout: 250 seconds]
<eam> I wrote a ruby binding for mdbm, I should publish it
klmlfl has joined #ruby
kaspergrubbe has joined #ruby
<eam> I suspect mdbm would beat out everything
ghr has quit [Ping timeout: 245 seconds]
Synthbread has quit [Quit: Leaving]
bthesorceror has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
<shevy> are you an avid gem publisher eam
lampd1 has joined #ruby
<eam> I have published a few, but not many
bMalum_ has joined #ruby
<shevy> as long as you have reached the break-even point
dawkirst has joined #ruby
wjimenez5271 has quit [Ping timeout: 258 seconds]
<shevy> and published more gems than perl cpan modules
<eam> I have, actually
<eam> most of the perl stuff I've done was never open sourced
lolmaus has joined #ruby
aspires has quit []
<eam> is there even a way to search rubygems.org by author?
<eam> oh there it is
oleo is now known as Guest54179
oleo__ has joined #ruby
SilkFox_ has joined #ruby
<epitron> eam: oo, mdbm looks handy
<epitron> is cdb memory mapped?
<eam> epitron: it is exceptionally well done and fast, I have used it extensively
shock_one has joined #ruby
<eam> the ruby binding I made was just a simple ffi hack though. It deserves something proper
<epitron> yeah, it sounds great
<epitron> ahh :)
jerius has joined #ruby
<epitron> FFI would be great if it came with ruby
mikecmpbll has quit [Quit: i've nodded off.]
<epitron> not sure why it's a standalone thing...
patrick99e99 has joined #ruby
<shevy> don't know either
Guest54179 has quit [Ping timeout: 245 seconds]
iliketurtles has joined #ruby
<eam> dl/import is in core, I think
aspires has joined #ruby
<epitron> that's not the same :(
ldnunes has quit [Quit: Leaving]
<eam> nope :(
dadadath has quit [Ping timeout: 272 seconds]
<shevy> it's the older one
<eam> guessing that's why, though
dawkirst has quit [Ping timeout: 260 seconds]
<shevy> well, if you clean up your house
<shevy> sometimes you don't get all the nasty ugly corners
<epitron> the ruby core guys are pretty slow to adopt some things
<eam> a strong ffi library really is a good thing to have in core
reisl has joined #ruby
<epitron> maybe they don't like redunancy
<epitron> :)
<shevy> optionparser and get_opt_long is in core
sinkensabe has quit [Remote host closed the connection]
<eam> even though dl/import is old it's still really great compared to alternatives in many other languages
<epitron> get_opt_long? o_O
<shevy> actually
<shevy> perhaps noone has suggested it for inclusion yet
reisl is now known as larissa
<shevy> you guys are so lazy
aspires has quit [Client Quit]
<shevy> especially epitron and eam
<epitron> :D
<shevy> come on guys, it is just one click away!
<epitron> i don't want to have to move my hand to the mouse
<shevy> I am running "updatedb" right now so I am slower than all of you :P
<epitron> i'll make you a deal.. i report the bug on irc and you paste it
<eam> wtf who uses updatedb
<shevy> I was considering that epitron hahaha
<shevy> I do!
<shevy> 3 of my images vanished
<epitron> ugh, i hate those *locate things
<shevy> since it took me about 3 minutes in total to steal these, I now run updatedb for 15 minutes to find them
<centrx> hi I am trying to build OS in Ruby
<epitron> i started to make one in ruby that uses inotify, but i gave up
<shevy> that is too much work centrx
<epitron> if someone wants to finish it: https://github.com/epitron/findo
<centrx> it is not much work because it is ruby fast
<eam> it's not really that hard
jerius has quit []
Mirubiri has joined #ruby
Mirubiri has quit [Max SendQ exceeded]
<epitron> eam: you think mdbm would be good for indexing files?
<epitron> i've never implemented substring search in a key-value store before
<shevy> even linus only managed to make a kernel (and git)
aspires has joined #ruby
ptrrr has quit [Quit: ptrrr]
<eam> epitron: probably not?
Mirubiri has joined #ruby
Mirubiri has quit [Max SendQ exceeded]
<epitron> needs more b-trees?
larissa has quit [Client Quit]
<epitron> elasticsearch is a big hog
aspires has quit [Client Quit]
<epitron> i tried using it, and i don't like it
aspires has joined #ruby
SilkFox_ has quit [Ping timeout: 260 seconds]
<eam> just use mysql
<epitron> i want it to be standalone
<epitron> just a little ruby script you run that keeps your indexes up to date
mattmcclure has joined #ruby
Mirubiri has joined #ruby
<epitron> ...or to search them
<centrx> Postgresql > MariaDB > MySQL
larissa has joined #ruby
<eam> centrx: nah (and you forgot percona)
<maestrojed> I know this channel is not #vagrant but vagrant is written in ruby and I hope you can help unstuck me. In my vagrantfile I have some variables I need to pass to my provisioning shell script. The vagrant command config.vm.provision has a parameter "args" just for this. However the variables won't pass through. It seems I can pass a string through but not a variable. Suggestions?
<centrx> Postgresql has even shown up the lousy NoSQL DBs
justinmburrous has joined #ruby
<centrx> s/lousy/silly
<eam> here's the thing, an rdbms in for-realsies production is a replicated datastore first and foremost and a fancy SQL query engine second
<eam> and until super recently the operational story for pg was absurd (even though for academic use it was vastly better)
<centrx> yeah I hear MySQL is better for replication
<centrx> but it is so buggy generally
<eam> no doubt, I hate it as a rdbms
<shevy> a mysql user!!!
<centrx> Add in some PHP and you'll be all set
dziga has joined #ruby
<eam> shevy: percona
<epitron> hate is a strong word
mikecmpbll has joined #ruby
<shevy> love is a better word
<eam> epitron: used in anger
<epitron> needs to be stronger
Timmee has joined #ruby
<epitron> lul jk
<shevy> I love php
Ankhers has quit [Ping timeout: 264 seconds]
<benzrf> one should never use php in anger
<shevy> true
<epitron> or in seriousnes
<epitron> or as a joke
kirun has quit [Quit: Client exiting]
<shevy> does this come down to "one should never use php"
<epitron> well, it's good for sabotaging a project
Advocation has joined #ruby
lampd1 has quit []
<centrx> You should use PHP if you travel back in time to before the year 2005
fgo has joined #ruby
fun has joined #ruby
<maestrojed> how would I return the value of a variable in ruby. Something like php's print_r($var,TRUE)
<fun> hey folks
<fun> can I develop and test on same box?
<epitron> maestrojed: p
<fun> is it adviceable?
<centrx> maestrojed, you mean print, p, or puts ?
<epitron> i prefer pp myself
<centrx> fun, yes you can
emocakes has quit []
<maestrojed> centrx well I don't want to echo or print out the value. i want to return it "inline" to use in my script. I am struggling for the correct terminology.
<fun> cool
<maestrojed> centrx I will look up those functions
TorpedoSkyline has joined #ruby
<centrx> fun, though eventually you would want to scale up to having a staging/testing machine depending on the project
<epitron> fun: you should test on as many boxes as possible tho :)
<epitron> mostly on the box it'll be running on
silkfox has quit [Ping timeout: 246 seconds]
<fun> :)
<fun> ty ty
justinmburrous has quit [Ping timeout: 240 seconds]
<fun> any cool book for ruby newbie on kindle?
<fun> :D
slyslick has joined #ruby
<fun> like ruby for humans :D
Hyknua has quit [Ping timeout: 272 seconds]
<miah> practical object oriented design in ruby
<miah> and the well grounded rubyist
<miah> are good
<epitron> FINDO
<epitron> sorry, miscopy
NightMonkey has quit [Quit: ZNC - http://znc.in]
Mia has quit [Read error: Connection reset by peer]
<epitron> --------------^ that's like a sane version of why's book
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Timmee has quit [Client Quit]
silkfox has joined #ruby
<epitron> it's old tho ;)
manzo has quit [Ping timeout: 245 seconds]
Advocation has quit [Ping timeout: 272 seconds]
livingstn has quit []
djbkd has joined #ruby
fgo has quit [Ping timeout: 260 seconds]
<daed> does ruby 2.0 and 2.1 still have a GIL?
<centrx> daed, yes
<centrx> in MRI
<daed> so jruby still preferred for threads eh
<centrx> daed, yes, for CPU-dependent threads
<centrx> daed, It's good to keep in mind that the GIL is only an issue when you're not dependent on I/O like network or disk
beef-wellington has joined #ruby
slyslick has quit [Ping timeout: 244 seconds]
<banister> hey epitron hey eppy
<centrx> daed, in those cases, it works the same as regular concurrency
<epitron> >> 10000.times { Thread.new { puts "hey banny" } }
<eval-in_> epitron => (https://eval.in/200450)
apeiros has quit []
<epitron> >> 10000.times { fork { puts "forkity fork" } }
<eval-in_> epitron => (https://eval.in/200451)
silkfox has quit [Ping timeout: 260 seconds]
Soda has quit [Remote host closed the connection]
skolman_ has quit [Remote host closed the connection]
aspires has quit []
benzrf is now known as benzrf|offline
tvw has quit [Ping timeout: 245 seconds]
skolman_ has joined #ruby
nhhagen has quit []
nhhagen has joined #ruby
spyderma_ has quit []
beef-wellington has quit [Ping timeout: 258 seconds]
silkfox has joined #ruby
patrick99e99 has quit [Quit: Lost terminal]
tvw has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
aspires has joined #ruby
ciampix has quit [Ping timeout: 240 seconds]
northfurr has joined #ruby
tvw has quit [Client Quit]
spicerack has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tvw has joined #ruby
iliketurtles has joined #ruby
skolman_ has quit [Ping timeout: 272 seconds]
MaciejCzyzewski has joined #ruby
nhhagen has quit [Client Quit]
patrick99e99 has joined #ruby
nhhagen has joined #ruby
jheg has quit [Quit: jheg]
silkfox has quit [Ping timeout: 260 seconds]
havenwood has quit [Remote host closed the connection]
davispuh has quit [Ping timeout: 245 seconds]
havenwood has joined #ruby
havenwood has quit [Remote host closed the connection]
Mirubiri has quit []
<Mia> ok, now I definitely need help
slyslick has joined #ruby
<Mia> I need some guidance on how to run multiple apps on a single vps
andrewlio1 has quit [Quit: Leaving.]
spyderman4g63 has joined #ruby
<Phrogz> apps == web apps?
* Phrogz is only just paying attention, and may have missed important back story.
<Mia> Phrogz, yes
<Mia> well I'm new to ruby, just testing stuff actually
<Mia> I'm asking to know the logic
shock_one has quit [Read error: No route to host]
aspires has quit []
<Phrogz> Mia: You need a web server like Apache or Nginx to run a "reverse proxy". This single web server takes requests for one pattern (e.g. a sub-domain) and maps them to a specific port.
shock_one has joined #ruby
tskogberg has joined #ruby
<Mia> Do I need to set it up manually
<Mia> or does digitalocean come wit a pre-set server
<Phrogz> For example, I have multiple Sinatra applications - with multiple instances each - all running on the same machine phrogz.net, with http://objjob.phrogz.net serving up from a different pool of apps than http://phrogz.net or http://someotherapp.phrogz.net
scripts has joined #ruby
agent_white has quit [Ping timeout: 260 seconds]
<Phrogz> Mia: I do not know digitalocean. Normally I'd say, "Yes, you have to do some work to make a custom setup work as you wish", but in these days of super meta magic servers it may be that they have a GUI that does it all for you.
aspires has joined #ruby
<Mia> Phrogz, I see
<Mia> right now this looks overcomplicated
<Phrogz> Mia: Do you have a domain name that's working right now? If so, we can see if it's running a web server, and probably which one it is.
<Mia> I have a domain that's hosted on hostgator
<Phrogz> Mia: It is complicated, though thankfully it's something that you mostly only need to get running once, and then copy the pattern when it's time for more apps.
<Mia> it's a wordpress so nothing new
BeryIdle has joined #ruby
<Mia> I will get a domain, too, for ruby experiments
<Phrogz> There's two guides from your host of choice.
kaspergrubbe has quit [Remote host closed the connection]
<Mia> well which one should I pick? is there a main difference
<BeryIdle> Does anyone happen to know what algorithm Devise/Warden use to digest the authentication_token & store it in redis? (Specifically on the gitlab project, but I'd imagine it's the same on most projects?)
<BeryIdle> it looks like bcrypt, but bcrypt says it's an invalid hash
<Phrogz> Mia: Google for Apache vs. Nginx, I'm sure there are a LOT of opinions. I happen to use Nginx. :)
workmad3 has quit [Ping timeout: 245 seconds]
<Phrogz> Mia: In case it helps you when you get there: http://phrogz.net/nginx-as-reverse-proxy-cache-for-thin
<Mia> thank you Phrogz , digging all this now
tyfighter has quit [Quit: <3]
zB0hs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kaspergrubbe has joined #ruby
cherwin has joined #ruby
scripts has quit [Quit: Page closed]
Kricir has joined #ruby
SilkFox_ has joined #ruby
chipotle has quit [Quit: cya]
cherwin has quit [Max SendQ exceeded]
bMalum_ has quit [Ping timeout: 272 seconds]
bMalum_ has joined #ruby
kristoff_ has joined #ruby
jottr has quit [Ping timeout: 246 seconds]
iceden has quit [Read error: Connection reset by peer]
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
lukevinc has joined #ruby
yetanotherdave has quit [Ping timeout: 245 seconds]
<miah> nginx blows if you do proxy and accept uploads
<miah> unless they have finally added streaming support
aspires has quit []
kristofferR has quit [Ping timeout: 260 seconds]
nonmadden has joined #ruby
lewix has quit [Remote host closed the connection]
tvw has quit []
mleone has joined #ruby
<miah> unless your nginx has a large disk cache; then again added disk io is rarely a good thing.
lewix has joined #ruby
aspires has joined #ruby
* miah goes back to being quiet
<Phrogz> miah: I'd not heard. I do no uploads. Got a page discussing the issue?
nhhagen has quit [Remote host closed the connection]
<miah> i dunno
govg has joined #ruby
jottr has joined #ruby
<miah> its hard to find good blogs talking about things that aren't just parroting other blogs when it comes to anything about nginx
Deejay_ has quit [Quit: Computer has gone to sleep.]
sailias has quit [Ping timeout: 272 seconds]
yetanotherdave has joined #ruby
jobewan has quit [Quit: Leaving]
spyderman4g63 has quit [Ping timeout: 260 seconds]
nhhagen has joined #ruby
<miah> i just use haproxy because i really dont need a web server doing something that isnt its main purpose
endash has joined #ruby
<miah> you can follow to the trac issue for nginx on that link
<miah> looks like they are going to fix it sometime in the future
nonmadden has quit [Ping timeout: 260 seconds]
wallerdev has quit [Quit: wallerdev]
mikepack has quit [Remote host closed the connection]
abdulsattar has quit [Remote host closed the connection]
lewix has quit [Ping timeout: 258 seconds]
aspires has quit [Client Quit]
cherwin has joined #ruby
bMalum_ has quit [Quit: bMalum_]
cherwin has quit [Max SendQ exceeded]
slester has quit [Quit: slester]
Kricir has quit [Remote host closed the connection]
wallerdev has joined #ruby
yetanotherdave has quit [Client Quit]
cherwin has joined #ruby
cherwin has quit [Max SendQ exceeded]
mikepack has joined #ruby
baweaver has joined #ruby
aspires has joined #ruby
ghr has joined #ruby
<baweaver> Elixir pipes in Ruby feature request: https://bugs.ruby-lang.org/issues/10308 - thoughts?
iamjarvo has quit [Quit: Textual IRC Client: www.textualapp.com]
nhhagen has quit [Ping timeout: 245 seconds]
govg has quit [Quit: leaving]
<Phrogz> baweaver: I think that it needs much, much more details and examples for the casual reader who doesn't know WTF those are, or how you envision them being used.
Aaaal has quit [Quit: Aaaal]
<baweaver> I question how many casual readers would be on the tracker.
<baweaver> but more detail is always a good thing on such requests.
aspires has quit [Client Quit]
entrenador has joined #ruby
* Phrogz goes to read the hacks
mikepack has quit [Ping timeout: 246 seconds]
entrenador has quit [Client Quit]
cherwin has joined #ruby
entrenador has joined #ruby
<Bish> hey guys.. i am having a problem with socksify, im using it to tunnel a connection through servers
cherwin has quit [Max SendQ exceeded]
shock_one has quit [Quit: Computer has gone to sleep.]
aspires has joined #ruby
ghr has quit [Ping timeout: 260 seconds]
cherwin has joined #ruby
<Bish> im only using the http capabilities of it, but it seems that it overwrites the TCPSocket class, which results in my database also connecting to the other servers database :D
<Bish> how i can prevent that?
cherwin has quit [Max SendQ exceeded]
mary5030_ has joined #ruby
mastr_bennett[x] has joined #ruby
benzrf|offline is now known as benzrf
cherwin has joined #ruby
cherwin has quit [Max SendQ exceeded]
jcdesimp has quit [Remote host closed the connection]
mary5030 has quit [Read error: Connection reset by peer]
Sawbones has quit []
<Phrogz> baweaver: So, foo | bar | jim instead of jim( bar( foo ) )?
iceden has joined #ruby
<baweaver> essentially
skammer4 has joined #ruby
larissa has quit [Ping timeout: 245 seconds]
kaspertidemann has quit []
lukevinc has quit [Quit: ChatZilla 0.9.90.1 [Firefox 24.8.0/20000101000000]]
<Phrogz> TIMTOWTDI, but I'm in favor.
narcan has joined #ruby
<baweaver> *googles*
shredding has quit [Quit: shredding]
<baweaver> Ah. Yeah, we're a bit more on Perl's side than Pythons
<baweaver> List comprehensions would be nice as well come to think of it.
skammer3 has quit [Ping timeout: 245 seconds]
<baweaver> one major thing at a time though I suppose. I know someone hacked it together once.
<epitron> >> def chained; "chained #{self}"; end; "omg".chained
<eval-in_> epitron => private method `chained' called for "omg":String (NoMethodError) ... (https://eval.in/200458)
<epitron> interesting
mary5030_ has quit [Remote host closed the connection]
<Phrogz> Sorry about the acronym; wasn't intending to ivnoke Perl directly, just the sometimes negative connotation that "when you have more than one way to accomplish the same goal, you add weight to the implementation of the runtime and the mental model for the scripter"
xcv has quit [Ping timeout: 260 seconds]
algoqaeda has quit [Ping timeout: 260 seconds]
<Phrogz> But, despite that, I do like to think functionally and bottom-up, which is what this lets you do nicely.
monsieurp has quit [Read error: Connection reset by peer]
monsieurp has joined #ruby
<baweaver> I have a google twitch anyways.
<benzrf> > public
monsieurp has quit [Changing host]
monsieurp has joined #ruby
<benzrf> >> public
<eval-in_> benzrf => Object (https://eval.in/200459)
<benzrf> >> public; def chained; "chained #{self}"; end; "omg".chained
<eval-in_> benzrf => "chained omg" (https://eval.in/200460)
msmith_ has quit [Remote host closed the connection]
narcan has quit [Ping timeout: 260 seconds]
cherwin has joined #ruby
coderdad has quit [Remote host closed the connection]
cherwin has quit [Max SendQ exceeded]
SilkFox_ has quit [Ping timeout: 272 seconds]
cherwin has joined #ruby
cherwin has quit [Max SendQ exceeded]
<Phrogz> (In case you didn't know how the method in main was ending up as a private method of String.)
<BeryIdle> So - anyone happen to know where I can find that one magical line of code that salts/hashes authentication tokens into redis? (gitlab->devise->warden)
BadQuanta has quit [Ping timeout: 272 seconds]
skolman_ has joined #ruby
<epitron> gem intsall salted_devious_warden
fabrice31 has joined #ruby
justinmburrous has joined #ruby
<epitron> acts_as_salty_devious_warden
<BeryIdle> it does seem devious
<BeryIdle> I've spent hours pouring over the code for those gems trying to find it. It feels like magic at this point. :(
freerobby1 has quit [Quit: Leaving.]
xcv has joined #ruby
fgo has joined #ruby
baweaver has quit [Remote host closed the connection]
<epitron> it's probably easier to write your own authentication token code
mocfive has quit [Remote host closed the connection]
jontmorehouse has quit [Ping timeout: 272 seconds]
ged__ is now known as ged
mocfive has joined #ruby
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
butblack has joined #ruby
justinmburrous has quit [Ping timeout: 245 seconds]
codeFiend has quit [Quit: codeFiend]
fabrice31 has quit [Ping timeout: 246 seconds]
larissa has joined #ruby
jimmyy has quit [Ping timeout: 246 seconds]
mocfive has quit [Read error: Connection reset by peer]
mocfive has joined #ruby
codeFiend has joined #ruby
JeffBonds has joined #ruby
MCDev has joined #ruby
fgo has quit [Ping timeout: 272 seconds]
<Bish> can someone tell me how to prevent socksify from redirecting ALL connections? i only want a http socks proxy :(
centrx has quit [Quit: The plan is programmed into every one of my one thousand robots]
<Bish> i only require socksify/http but that invokes require socksify, which overrides TCPSocket, which results in that behaviour
parduse has quit [Read error: Connection reset by peer]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ndrei has quit [Ping timeout: 244 seconds]
tjr9898 has quit [Remote host closed the connection]
parduse has joined #ruby
treehug8_ has quit []
mikepack has joined #ruby
mastr_bennett[x] has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
kate_r has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
Hobogrammer has joined #ruby
Avahey has joined #ruby
wald0 has joined #ruby
russt has quit [Quit: russt]
mikepack has quit [Ping timeout: 258 seconds]
nhhagen has joined #ruby
slyslick has quit [Ping timeout: 245 seconds]
willgo has joined #ruby
kristofferR has joined #ruby
icebourg has quit []
jontmorehouse has joined #ruby
jhass is now known as jhass|off
kristoff_ has quit [Ping timeout: 258 seconds]
weirdpercent has joined #ruby
weirdpercent has left #ruby [#ruby]
manzo has joined #ruby
nhhagen has quit [Ping timeout: 245 seconds]
duncannz has joined #ruby
<fun> hi folks I installed ruby
<fun> and it worked but now for some reason it wont respond to gem
<fun> or ruby -v
chipotle has joined #ruby
<fun> shell messed up?
krisquigley has joined #ruby
emmesswhy has joined #ruby
Inv1s1ble has joined #ruby
SilkFox_ has joined #ruby
shinobi_one has joined #ruby
<Inv1s1ble> so I'm having trouble with the following
<Inv1s1ble> on line 27 it says it can't find opts if I use ./script_name -h
Tomme has quit [Ping timeout: 240 seconds]
fijimunkii has quit [Quit: leaving]
benzrf is now known as benzrf|offline
silkfox has joined #ruby
<Inv1s1ble> It was working yesterday.
yetanotherdave has joined #ruby
freerobby has joined #ruby
gregf has joined #ruby
maletor has joined #ruby
SilkFox_ has quit [Ping timeout: 272 seconds]
yfeldblum has quit [Remote host closed the connection]
<maletor> What do I do about this? OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: (null)
freezey has quit []
<maletor> I'm trying to talk to clinicaltrials.gov? Should I write my senator?
jottr_ has joined #ruby
duncannz has quit [Read error: Connection reset by peer]
<Inv1s1ble> maletor, did you get that error on that website?
DrForr has quit [Ping timeout: 245 seconds]
<maletor> no. using HTTParty. which delegates to Net::HTTP, obviously.
<Inv1s1ble> and you sure you're hitting a HTTPS endpoint and not an HTTP endpoint?
Deele2 has joined #ruby
<maletor> try yourself: HTTParty.get("https://www.clinicaltrials.gov/search?term=asdf")
silkfox has quit [Ping timeout: 272 seconds]
Deele has quit [Ping timeout: 260 seconds]
jottr has quit [Ping timeout: 245 seconds]
Deele2 is now known as Deele
<maletor> h/o. it looks like from heroku's server it doesn't work
mikecmpbll has quit [Quit: i've nodded off.]
<maletor> but locally it does
dangerousdave has quit [Ping timeout: 244 seconds]
DrForr has joined #ruby
<maletor> it works on my production bare metal too
<Inv1s1ble> maletor, they might be running some kind of bot ban thingy and someone else might have made a lot of requests from the heroku subnet your app is in
<maletor> why would that yield an SSL error?
<maletor> isn't that a cipher error?
bthesorceror has quit [Quit: bthesorceror]
MCDev has quit [Ping timeout: 250 seconds]
russt has joined #ruby
ephemerian has quit [Quit: Leaving.]
benzrf|offline is now known as benzrf
<Inv1s1ble> maletor, if they have some load balancer blocking you, it might not even get to the SSL handshake; just closing the connection
jonmorehouse has joined #ruby
cherwin has joined #ruby
jcdesimp has joined #ruby
cherwin has quit [Max SendQ exceeded]
ghr has joined #ruby
jontmorehouse has quit [Ping timeout: 260 seconds]
cherwin has joined #ruby
cherwin has quit [Max SendQ exceeded]
BadQuanta has joined #ruby
russt has quit [Ping timeout: 245 seconds]
Kricir has joined #ruby
lmickh has quit [Remote host closed the connection]
Phrogz has quit [Quit: Goodnight]
shock_one has joined #ruby
rubyonrailed has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 272 seconds]
freerobby has quit [Quit: Leaving.]
cherwin has joined #ruby
preyalone has joined #ruby
ffranz has quit [Quit: Leaving]
shosti has quit [Ping timeout: 246 seconds]
endash has quit [Quit: endash]
<fun> fixed
fun has left #ruby [#ruby]
shock_one has quit [Ping timeout: 246 seconds]
moritzs has joined #ruby
sevvie has joined #ruby
rubyonrailed has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Wolland has joined #ruby
duncannz has joined #ruby
phutchins has quit [Ping timeout: 260 seconds]
mikepack has joined #ruby
fgo has joined #ruby
thejamespinto has quit [Read error: Connection reset by peer]
SDr has joined #ruby
thejamespinto has joined #ruby
klaut has quit [Remote host closed the connection]
jonmorehouse has quit [Ping timeout: 260 seconds]
RegulationD has quit [Quit: RegulationD]
<SDr> hi, I've accidentally installed gem without openssl; and now I'm getting http://pastebin.com/0w9u5Hpw
bthesorceror has joined #ruby
pushpak has quit [Ping timeout: 246 seconds]
<SDr> any ideas how I might restore openssl to this gem?
jonmorehouse has joined #ruby
thomasxie has joined #ruby
spicerack has joined #ruby
Mia has quit [Read error: Connection reset by peer]
fgo has quit [Read error: No route to host]
Mia has joined #ruby
sbar_ has joined #ruby
fgo has joined #ruby
xcyclist__ has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
xcyclist has joined #ruby
Kricir has quit [Remote host closed the connection]
gsd has joined #ruby
DrCode has quit [Ping timeout: 264 seconds]
Asher2 has joined #ruby
<xcyclist> I am in the jruby jail, and am having a hard time referencing a class in a tree branch 4 nodes away. Anyone have any starting suggestions?
marr has quit [Ping timeout: 246 seconds]
n_blownapart has joined #ruby
Asher has quit [Ping timeout: 245 seconds]
<xcyclist> My collaborator is not providing methods to break the project down, so I'm trying to put together something in minitest, and I cannot refer to the class name in question.
garbanotas has quit [Ping timeout: 244 seconds]
<xcyclist> NameError: uninitialized constant TopModule::NextModule::ClassName org/jruby/RubyModule.java:2723:in `const_missing' test_myclassfile.rb:33:in `test_stuff'
cherwin has quit [Ping timeout: 272 seconds]
DrCode has joined #ruby
yfeldblum has joined #ruby
snath has quit [Ping timeout: 260 seconds]
drPoggs has quit [Ping timeout: 260 seconds]
bahar has quit [Ping timeout: 245 seconds]
chipotle has quit [Quit: cya]
coderdad has joined #ruby
mikepack has quit [Remote host closed the connection]
cherwin has joined #ruby
drPoggs has joined #ruby
TorpedoSkyline has joined #ruby
klaut has joined #ruby
snath has joined #ruby
jontmorehouse has joined #ruby
stunder has quit [Quit: Screw you guys I'm going home]
TorpedoSkyline has quit [Client Quit]
Takle has quit [Remote host closed the connection]
magic has quit [Ping timeout: 260 seconds]
jonmorehouse has quit [Ping timeout: 260 seconds]
coderdad has quit [Remote host closed the connection]
klmlfl has quit [Remote host closed the connection]
xcyclist__ has quit [Quit: Page closed]
Ridley5 is now known as zzz_Ridley
magic_ has joined #ruby
spyderman4g63 has joined #ruby
vieq has quit [Ping timeout: 240 seconds]
Spami has quit [Quit: This computer has gone to sleep]
entrenador has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
icarus has quit [Remote host closed the connection]
boombadaroomba has quit [Remote host closed the connection]
coderdad has joined #ruby
rubyonrailed has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
skammer4 has quit [Ping timeout: 244 seconds]
shinobi_one has quit [Quit: shinobi_one]
rubyonrailed has joined #ruby
MCDev has joined #ruby
MCDev has quit [Changing host]
MCDev has joined #ruby
shinobi_one has joined #ruby
gccostabr has quit [Quit: ZZZzzz…]
mleone has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
crazydiamond has quit [Ping timeout: 258 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
larsam has left #ruby [#ruby]
vieq has joined #ruby
rubyonrailed has quit [Ping timeout: 250 seconds]
shinobi_one has quit [Ping timeout: 245 seconds]
GGMethos has quit [Ping timeout: 260 seconds]
CrazyM4n has joined #ruby
<Bish> why the f* does the mongodb driver always raise connectionfailure as soon i set a http error.. really odd bug
GGMethos has joined #ruby
lewix has joined #ruby
chipotle has joined #ruby
rubyonrailed has joined #ruby
ItSANgo has quit [Quit: Leaving...]