havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.3; 2.2.6; 2.1.10: https://www.ruby-lang.org || Paste >3 lines of text on https://gist.github.com || Rails questions? Ask on #RubyOnRails || logs @ https://irclog.whitequark.org/ruby/
jaguarmagenta has quit [Ping timeout: 258 seconds]
lel has joined #ruby
<frontrowalex> hey folks, quick question: is there a clear winner these days in the ruby environment manager space e.g. rvm vs rbenv vs chruby or are they pretty much a matter of taste at this stage?
<havenwood> frontrowalex: I hereby declare chruby the winner. It has been spoken.
<mustmodify> ditto
pragmaticus has quit [Ping timeout: 252 seconds]
karapetyan has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mustmodify> though I really enjoyed using rvm
<mustmodify> and does chruby have gemsets? I don't think so, I miss that feature.
cdg has quit [Remote host closed the connection]
potatoes_ has joined #ruby
<potatoes_> what cookbook you guys using for managing RVM in Chef out of curiosity?
tyang_ has quit [Read error: Connection reset by peer]
<havenwood> mustmodify: gem_home is one nice option: https://github.com/postmodern/gem_home#readme
<mustmodify> OK, I'll check it out. I am having an issue with chruby, though. I had to update ubuntu and now I can't install many version of rubinius.
<mustmodify> It has something to do with dependencies and what's compiled in the newest version of ubuntu... big mess.
<havenwood> mustmodify: llvm version maybe? mmm
<postmodern> mustmodify, dependency not being installed or compiling against the dependencies?
<mustmodify> maybe so. Let me find out... one minute.
<mustmodify> well this is what I'm getting right now. https://gist.github.com/mustmodify/fb5d9e72547fb99dc2d5809a42d63da3
<mustmodify> but LLVM sounds more familiar... maybe this is a new issue.
<mustmodify> so the ruby-1.9.1-dev package looks like just the header files
aegis3121 has joined #ruby
<mustmodify> weird because the native ruby on this machine is 2.3.1
ramfjord_ has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
SeepingN has quit [Read error: Connection reset by peer]
aufi has quit [Remote host closed the connection]
douglascorrea has joined #ruby
SeepingN has joined #ruby
Madplatypus has joined #ruby
Rodya_ has joined #ruby
svankmajer has quit [Ping timeout: 245 seconds]
nicokavts has quit [Ping timeout: 250 seconds]
karapetyan has quit [Remote host closed the connection]
ramfjord_ has quit [Ping timeout: 260 seconds]
unknowns2k2 has joined #ruby
unknowns2k2 has quit [Client Quit]
karapetyan has joined #ruby
rbr has quit [Read error: Connection reset by peer]
karapetyan has quit [Remote host closed the connection]
nicokavts has joined #ruby
dviola has quit [Quit: WeeChat 1.6]
svankmajer has joined #ruby
Rodya_ has quit [Ping timeout: 260 seconds]
rbr has joined #ruby
rfoust has joined #ruby
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
eljimmy has quit [Quit: This computer has gone to sleep]
rbr has quit [Ping timeout: 268 seconds]
jhack has quit [Quit: jhack]
careta has quit [Ping timeout: 246 seconds]
fullofca_ has joined #ruby
rbr has joined #ruby
Jardayn_two has joined #ruby
karapetyan has joined #ruby
potatoes__ has joined #ruby
Jardayn_two is now known as Jardaybn
Jardaybn is now known as Jardayn
d10n-work has quit [Quit: Connection closed for inactivity]
fullofcaffeine has quit [Ping timeout: 256 seconds]
hutch34 has joined #ruby
rcvalle has quit [Quit: rcvalle]
whathappens has quit [Quit: Leaving...]
potatoes_ has quit [Ping timeout: 258 seconds]
enterprisey has joined #ruby
jcao219 has quit [Ping timeout: 268 seconds]
c355e3b has joined #ruby
hutch34 has quit [Ping timeout: 260 seconds]
aupadhye has joined #ruby
karapetyan has quit [Remote host closed the connection]
ur5us_ has quit [Ping timeout: 246 seconds]
ur5us has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
potatoes___ has joined #ruby
Axy has quit [Ping timeout: 268 seconds]
ur5us has joined #ruby
Mia has joined #ruby
potatoes__ has quit [Ping timeout: 240 seconds]
babblebre has joined #ruby
johnny56 has quit [Ping timeout: 246 seconds]
tristanp has joined #ruby
johnny56 has joined #ruby
marxarelli is now known as marxarelli|afk
tristanp_ has quit [Ping timeout: 260 seconds]
hightower2 has joined #ruby
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SeepingN has quit [Ping timeout: 250 seconds]
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
woodruffw has joined #ruby
woodruffw has quit [Changing host]
woodruffw has joined #ruby
karapetyan has joined #ruby
r3vDev has joined #ruby
railssmith has joined #ruby
hightower2 has quit [Ping timeout: 250 seconds]
fmcgeough has quit [Quit: fmcgeough]
Snickers has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord has joined #ruby
hightower2 has joined #ruby
enterprisey has quit [Read error: Connection reset by peer]
tau has quit [Remote host closed the connection]
unknowns2k2 has joined #ruby
woodruffw has quit [Ping timeout: 260 seconds]
ur5us_ has joined #ruby
statelesscode has quit [Quit: statelesscode]
hutch34 has joined #ruby
ur5us has quit [Ping timeout: 250 seconds]
roflmyeggo has quit [Ping timeout: 260 seconds]
woodruffw has joined #ruby
jhooker has quit [Ping timeout: 246 seconds]
jhooker has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hutch34 has quit [Ping timeout: 245 seconds]
SteenJobs has quit [Quit: SteenJobs]
JoshS has joined #ruby
aegis3121 has quit [Ping timeout: 256 seconds]
ur5us has joined #ruby
statelesscode has joined #ruby
JeanCarloMachado has joined #ruby
statelesscode has quit [Client Quit]
JoshS has quit [Ping timeout: 260 seconds]
ur5us_ has quit [Ping timeout: 258 seconds]
Rodya_ has joined #ruby
rfoust has joined #ruby
JoshS has joined #ruby
eljimmy has joined #ruby
svankmajer has quit [Ping timeout: 256 seconds]
Rodya_ has quit [Ping timeout: 258 seconds]
JeanCarloMachado has quit [Ping timeout: 260 seconds]
JoshS has quit [Ping timeout: 250 seconds]
Jardayn_two has joined #ruby
gix has quit [Quit: Client exiting]
ryan_notabot has joined #ruby
gusrub has quit [Remote host closed the connection]
gusrub has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
JeanCarloMachado has joined #ruby
JoshS has joined #ruby
fullofcaffeine has joined #ruby
Jardayn has quit [Ping timeout: 260 seconds]
johnny56 has quit [Ping timeout: 246 seconds]
Jardayn_two is now known as Jardayn
chopin has quit [Remote host closed the connection]
chopin has joined #ruby
karapetyan has quit [Remote host closed the connection]
johnny56 has joined #ruby
gusrub has quit [Ping timeout: 250 seconds]
fullofca_ has quit [Ping timeout: 256 seconds]
jhooker has quit [Ping timeout: 250 seconds]
jhooker has joined #ruby
chopin has quit [Ping timeout: 260 seconds]
chrisja has quit [Quit: leaving]
giraffe has quit [Quit: ZNC - http://znc.in]
Channel6 has joined #ruby
hightower2 has quit [Ping timeout: 250 seconds]
hutch34 has joined #ruby
hightower2 has joined #ruby
Livecodingtv_Ale has quit [Quit: ChatZilla 0.9.93 [Firefox 51.0/20161115182233]]
giraffe has joined #ruby
JeanCarloMachado has quit [Ping timeout: 245 seconds]
tpendragon has joined #ruby
hutch34 has quit [Ping timeout: 260 seconds]
Azure|dc is now known as Azure
charliesome has joined #ruby
ryan_notabot has quit [Remote host closed the connection]
fullofcaffeine has quit [Ping timeout: 250 seconds]
dnicole has quit [Remote host closed the connection]
savage has joined #ruby
OnyxRaven has joined #ruby
statelesscode has joined #ruby
hightower2 has quit [Ping timeout: 256 seconds]
jaguarmagenta has joined #ruby
gix has joined #ruby
jphase has quit [Remote host closed the connection]
jphase has joined #ruby
bmurt has joined #ruby
hightower2 has joined #ruby
jaguarmagenta has quit [Ping timeout: 260 seconds]
tjbiddle has joined #ruby
potatoes___ has quit [Quit: This computer has gone to sleep]
ResidentBiscuit has joined #ruby
jphase has quit [Ping timeout: 260 seconds]
d^sh has quit [Ping timeout: 250 seconds]
Fridtjof has quit [Ping timeout: 250 seconds]
d^sh has joined #ruby
unknowns2k2 has quit [Quit: unknowns2k2]
unknowns2k2 has joined #ruby
unknowns2k2 has quit [Client Quit]
JoshS has quit [Quit: Leaving]
hutch34 has joined #ruby
tjbiddle has quit [Ping timeout: 240 seconds]
Rodya_ has joined #ruby
h42r62[m] has joined #ruby
fmcgeough has joined #ruby
tjbiddle has joined #ruby
Jardayn has quit [Read error: Connection reset by peer]
Dragonai has joined #ruby
arescorpio has joined #ruby
Rodya_ has quit [Ping timeout: 240 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
harai has quit [Ping timeout: 248 seconds]
hutch34 has quit [Ping timeout: 246 seconds]
tvw has quit [Ping timeout: 250 seconds]
bmurt has joined #ruby
jaguarmagenta has joined #ruby
Jayson_Virissimo has joined #ruby
skweek has joined #ruby
iamse7en has quit [Quit: I'm out like a black kid in a spelling bee.]
karapetyan has joined #ruby
<nchambers> if I have a string, "Hello", which is the name of a class, is there a way to turn that into an actual instance of the class? so that I can do something like Hello,new?
howdoi has joined #ruby
<c-c> yes there is
<Radar> nchambers: const_get
<al2o3-cr> Object.const_set foo.intern, Class.new
karapetyan has quit [Ping timeout: 260 seconds]
<al2o3-cr> depending where you are
<c-c> >> a_str = "Foobar"; nu_class = Class.new( a_str ); Object.const_set(a_str.to_sym, nu_class); nu_class.class_eval { define_method(:initialize) do; p "init new"; end; }
<ruby[bot]> c-c: # => superclass must be a Class (String given) (TypeError) ...check link for more (https://eval.in/683322)
<c-c> nchambers: well I am sure you can now take over from that and fix that and get rubybot to work it
gusrub has joined #ruby
<nchambers> thanks guys
<c-c> should have been:
<nchambers> I actually figured out an ugly solution as a work around
<al2o3-cr> i read that wrong Radar's solution is correct
<c-c> base_class = Class.new; ... Object.const_set(a_str, base_class)
solocshaw has joined #ruby
<c-c> you get the idea
<al2o3-cr> c-c: wut?
gusrub has quit [Ping timeout: 248 seconds]
<c-c> wut ever!
<al2o3-cr> you know that!
<al2o3-cr> :p
dar123 has joined #ruby
<nofxx> with rails/activesupport there's #classify too... or is it #constantize ...
<nofxx> or you need both... I never remember...
hightower3 has joined #ruby
cdg has joined #ruby
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hightower2 has quit [Ping timeout: 245 seconds]
kbdkode has joined #ruby
Jayson_Virissimo has quit []
fmcgeough has quit [Quit: fmcgeough]
<al2o3-cr> >> s = 'Hello'; Object.const_set s.intern, Module.new
<ruby[bot]> al2o3-cr: # => Hello (https://eval.in/683330)
<al2o3-cr> ruby is great
douglascorrea has quit [Remote host closed the connection]
potatoes___ has joined #ruby
<al2o3-cr> nchambers: what was your ugly solution?
<nchambers> al2o3-cr, I ended up eval()ing the class name
<al2o3-cr> nchambers: you kidding?
hutch34 has joined #ruby
<nchambers> no :/
<al2o3-cr> :(
<c-c> yeah, use what al2o3-cr wrote above, its rather elegant
<nchambers> I'll swap it out with a proper one later
<nchambers> c-c, ok, thanks
<al2o3-cr> credits go to Ox0dea
optiz0r has quit [Ping timeout: 256 seconds]
<adam12> where the heck is Ox0dea anyways.
hutch34 has quit [Ping timeout: 252 seconds]
A5101 has joined #ruby
Jayson_Virissimo has joined #ruby
<al2o3-cr> not seen him for an age
ResidentBiscuit has quit []
Jayson_Virissimo has quit [Client Quit]
Dragonai has quit [Quit: <3]
c355e3b has quit [Quit: Connection closed for inactivity]
<c-c> Can you critique my code?
<al2o3-cr> sure
<c-c> Am I trapping enough? Is this how you would start two processes? Style, etc https://gist.github.com/csmr/09277ac166859d8523de96c25339d1de
<c-c> al2o3-cr: kewl
griffindy has joined #ruby
* c-c goes to grab a tea, back in 4 mins
<al2o3-cr> c-c: fuck ya class vars
<adam12> c-c: Can you not use IO.pipe?
libastral has quit [Ping timeout: 265 seconds]
karapetyan has joined #ruby
<al2o3-cr> shelling out to make fifo
<al2o3-cr> bad
libastral has joined #ruby
<adam12> Yeah - I dont' care for the shell out to rm either :\
<adam12> Both avoided with IO.pipe I believe.. :)
bad_ip has quit [Ping timeout: 260 seconds]
SeepingN has joined #ruby
<al2o3-cr> c-c: it's 50/50 bad :P
<c-c> adam12: I had trouble passing the pipe ends to the forked processes
_sfiguser has quit [Ping timeout: 252 seconds]
<c-c> adam12: could only get named pipe to work
<adam12> c-c: You want to create the pipes and then fork.
<c-c> al2o3-cr: are those class vars if they are in module?
<c-c> adam12: yes, I did, but
<c-c> al2o3-cr: does it matter how you make a fifo? its just a file on the fs
<c-c> al2o3-cr: and, 2.1 doesn't have File.mkfifo
<al2o3-cr> c-c: why shell out then?
hightower2 has joined #ruby
rfoust has joined #ruby
railssmith has quit [Ping timeout: 256 seconds]
<al2o3-cr> c-c: ok
<c-c> al2o3-cr: why not shell out? its just one time thing before anything is running
<al2o3-cr> c-c: any reason you not using latest
<al2o3-cr> ?
<c-c> using stock debian stable for dev vm
<al2o3-cr> what is stock for that shit?
<c-c> may move on rvm or rubych if time left
hightower3 has quit [Ping timeout: 260 seconds]
<c-c> al2o3-cr: newest is 2.1.5p273
Rodya_ has joined #ruby
<c-c> and mind you, debian stable is the finest stable OS in the history of the World.
<al2o3-cr> damn
<al2o3-cr> c-c: phaha
<c-c> one thing I noticed is "Cleaning up!" is never printed ever
<al2o3-cr> look, debian is good
<c-c> maybe its because the trap INTs somehow finish and cause Process.waitall to finish before trap EXIT gets to call cleanup
<al2o3-cr> just ancient pkgs
<c-c> you mean, debian stable is good because they adhere to strict stability regiment for the packages?
quiller has quit [Ping timeout: 245 seconds]
<al2o3-cr> why don't you reverse them and find out?
mustmodify has left #ruby [#ruby]
<c-c> also, can use debian testing or just make/install soirces, but thats another story for another convo
<nchambers> al2o3-cr, I tried your method, but I get an error about undefined method new
marktwo has quit [Ping timeout: 260 seconds]
<nchambers> [2016/11/22 21:09:17.767] !! /Users/nchambers/.rvm/gems/ruby-2.2.4/gems/cinch-2.3.3/lib/cinch/plugin_list.rb:11:in `register_plugin': undefined method `new' for Ping:Module (NoMethodError)
<llua> regiment of pushing a package and seeing if someone reports a bug for a given period of time?
<al2o3-cr> nchambers: you making some kind of plugin for a bot?
<nofxx> c-c, I'm on the exact opposite: arch. bleeding edge fun... and it is really stable ;)
<nchambers> al2o3-cr, yeah
<al2o3-cr> +1 nofxx
barajasfab has joined #ruby
cdg_ has joined #ruby
unknowns2k2 has joined #ruby
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<c-c> llua: not quite but lets talk more on that in #debian if you like
<nchambers> if I do register_plugin(eval("#{plugin}")) it works, but I'd obviously rather not use that
<al2o3-cr> show code?
<al2o3-cr> ?gist nchambers
<ruby[bot]> nchambers: https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
chopin has joined #ruby
<nchambers> thats the main client
cdg has quit [Ping timeout: 260 seconds]
_sfiguser has joined #ruby
potatoes___ has quit [Quit: This computer has gone to sleep]
_sfiguser has quit [Max SendQ exceeded]
_sfiguser has joined #ruby
_sfiguser has quit [Max SendQ exceeded]
Felipe__ has joined #ruby
<c-c> Ok, kinda brainflap of me to use a module variable for instance cleanup flag...
<al2o3-cr> nchambers: why you eval'n plugins?
_sfiguser has joined #ruby
_sfiguser has quit [Max SendQ exceeded]
<nchambers> al2o3-cr, where?
_sfiguser has joined #ruby
_sfiguser has quit [Max SendQ exceeded]
<al2o3-cr> conf.plugins.plugins
quiller has joined #ruby
<nchambers> that doesn't actually eval them. it evals the classname
_sfiguser has joined #ruby
<nchambers> but that has the same problem
<al2o3-cr> nchambers: HAHA
<al2o3-cr> just use the classnames
<nchambers> how?
hightower3 has joined #ruby
<al2o3-cr> nchambers: what do you think config['plugins'] ==?
jgt has joined #ruby
<nchambers> its an array of strings
<al2o3-cr> right, ok
optiz0r has joined #ruby
<nchambers> and conf.plugins.plugins takes an array of class refs
hightower2 has quit [Ping timeout: 244 seconds]
<al2o3-cr> so why are you evaluating a string
<al2o3-cr> *s
<nchambers> to turn it into a class name
<nchambers> I have an array of strings, I need to to turn it into an array of Class Refs. eval does that, but if I don't have to do that I'd rather not
<al2o3-cr> nchambers: one sec, and read this carefully
<nchambers> ok
hutch34 has joined #ruby
marktwo has joined #ruby
Fridtjof has joined #ruby
Joufflu has quit [Ping timeout: 260 seconds]
<gener1c> well this sucks
hightower2 has joined #ruby
<gener1c> i dont get any credit for contributing to ruby core
<gener1c> not even my name in the commit
<domgetter> gener1c what did you contribute?
<gener1c> thing much
<gener1c> nothing*
<domgetter> can you link to the commit?
<gener1c> sure
<domgetter> which line(s) are attributable to you?
<gener1c> all but one are mine
rbr has quit [Read error: Connection reset by peer]
<gener1c> the one added is in the news section
<gener1c> so based on my patch is an understatment
svankmajer has joined #ruby
hightower3 has quit [Ping timeout: 260 seconds]
hutch34 has quit [Ping timeout: 252 seconds]
jgt has quit [Read error: Connection reset by peer]
hightower3 has joined #ruby
SteenJobs has joined #ruby
<gener1c> anyways i assume there is not much i can do about it
hightower2 has quit [Ping timeout: 240 seconds]
rbr has joined #ruby
<al2o3-cr> nchambers: why you slicing?
<nchambers> al2o3-cr, I need to capitalize just the first letter
palms has joined #ruby
<nchambers> also, I read the page, but I'm still confused on how that helps
<domgetter> "The following list might be incomplete. Feel free to add your name if your patch was accepted into Ruby."
hightower2 has joined #ruby
<al2o3-cr> nchambers: are you not requiring modules?
<gener1c> ok
<al2o3-cr> i'm confused
<nchambers> oh I see
blackbombay has quit [Ping timeout: 246 seconds]
<gener1c> domgetter: how do i edit that list
<domgetter> gener1c Not sure. There is a "register" link on the top right of the page though
solocshaw has quit [Ping timeout: 256 seconds]
<gener1c> im signed in
<al2o3-cr> nchambers: it should be conf.plugins.plugins = config["plugins"].collect { |p| p } that's it
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
hightower3 has quit [Ping timeout: 250 seconds]
rbr has quit [Ping timeout: 268 seconds]
<al2o3-cr> nchambers: give that `unless not` up
<nchambers> ok
<nchambers> I'll try that
<al2o3-cr> no badgering :P
karapetyan has quit [Remote host closed the connection]
<al2o3-cr> nchambers: unless is really if not
railssmith has joined #ruby
nicklink483 has joined #ruby
<c-c> Examples of non-blocking, non-waiting read from IO pipe?
nicklink483 has left #ruby [#ruby]
rbr has joined #ruby
<c-c> Is it like a begin; io_pipe.gets; rescue IOError; #what end ?
<al2o3-cr> nchambers: abort if ARGV.empty?
<nchambers> oh neat
<nchambers> thanks
govg has joined #ruby
<c-c> Basically I have a process that *sometimes* shouts messages at another process, neither of which are supposed to stop and wait.
<al2o3-cr> nchambers: because ARGV will never be nil
<c-c> I also have a solution that *sometimes* stops and sits waiting for the other process to send something into the pipe, which is confusing, as most of the time this doesn't happen
<nchambers> I'm not testing ARGV, I'm testing ARGV[0]
<nchambers> for nil
blackwind_123 has quit [Ping timeout: 250 seconds]
<al2o3-cr> nchambers: good eyes
<nchambers> so wait, am I still wrong to do that?
<al2o3-cr> no
<nchambers> oh ok
<al2o3-cr> just one liner for that abort foo if cond
<nchambers> right I'll still probably use it
<nchambers> or rather, will
<al2o3-cr> no problemo
dnicole has joined #ruby
<domgetter> gener1c keep in mind that your name is in the commit message
<al2o3-cr> nchambers: you got it working?
<nchambers> not yet. I keep getting distracted by the TV
tjbiddle has quit [Quit: tjbiddle]
<gener1c> based on a patch i made
<gener1c> thats a bit offbase
<al2o3-cr> >> [1 unless not true, 1 unless not false]
<ruby[bot]> al2o3-cr: # => /tmp/execpad-8cc162660547/source-8cc162660547:2: syntax error, unexpected modifier_unless, expecting ...check link for more (https://eval.in/683370)
<al2o3-cr> >> [(1 unless not true), (1 unless not false)]
<ruby[bot]> al2o3-cr: # => [1, nil] (https://eval.in/683371)
blackbombay has joined #ruby
<al2o3-cr> i hate that
<domgetter> al2o3-cr hate what?
<al2o3-cr> the document object model :p
dnicole has quit [Ping timeout: 260 seconds]
<domgetter> al2o3-cr my username's relation to the DOM is about the same as Javascript core's relation to it
<al2o3-cr> domgetter: i get ya
<al2o3-cr> ;)
<al2o3-cr> >> X = Class.new; X.class
<ruby[bot]> al2o3-cr: # => Class (https://eval.in/683372)
<al2o3-cr> >> X = Class.new; eval('X.class')
<ruby[bot]> al2o3-cr: # => Class (https://eval.in/683373)
ramfjord has quit [Ping timeout: 260 seconds]
<domgetter> gener1c also keep in mind that Ruby development happens on the svn repo, not on github. THey just mirror it on github, and for convenience, they pay some attention to the pull requests there
<domgetter> >> Class.is_a?(Module) && Module.is_a?(Class)
<ruby[bot]> domgetter: # => true (https://eval.in/683374)
<al2o3-cr> of course
GodFather has quit [Remote host closed the connection]
<gener1c> but i get what you are saying domgetter
<gener1c> well, he could have at least mentioned in the commit he is integrating my code, not integrating some of my code with his
<c-c> More forking questions. I have the one script started with ruby -command, that forks two processes with fork do end. But, I can see 6 processes running, 3 of which have 0 utilization. Any idea why?
<gener1c> ill use svn next time
<domgetter> gener1c and I totally understand your frustration with the wording of the commit message
karapetyan has joined #ruby
<al2o3-cr> >> Class === Module and Module === Class
<ruby[bot]> al2o3-cr: # => true (https://eval.in/683375)
alan_w has quit [Quit: WeeChat 1.4]
eljimmy has quit [Remote host closed the connection]
svankmajer has quit [Ping timeout: 250 seconds]
Firewheel has joined #ruby
<gener1c> domgetter: funny thing is, i was the guy that wrote the issue as well
<domgetter> >> everything = ObjectSpace; everything.is_a?(Object)
<ruby[bot]> domgetter: # => true (https://eval.in/683376)
<gener1c> awesome
<gener1c> what are we playing?
Firewheel has quit [Client Quit]
<gener1c> >> woot = Object.new
<ruby[bot]> gener1c: # => #<Object:0x41e29c94> (https://eval.in/683377)
<al2o3-cr> block_given? or iterator?
hutch34 has joined #ruby
<al2o3-cr> >> block_given? or iterator?
<ruby[bot]> al2o3-cr: # => false (https://eval.in/683378)
blackbombay has quit [Ping timeout: 250 seconds]
SteenJobs has quit [Quit: peaceee]
<gener1c> >> def Object.send(meth, *args) puts "lol" end
<ruby[bot]> gener1c: # => :send (https://eval.in/683379)
eljimmy has joined #ruby
fullofcaffeine has joined #ruby
jgt has joined #ruby
<domgetter> iterator? is on Kernel? That's weird
alan_w has joined #ruby
<al2o3-cr> domgetter: it's just block_given?
hanmac has quit [Ping timeout: 240 seconds]
svankmajer has joined #ruby
<al2o3-cr> back in the day :p
<gener1c> how do i override send?
<gener1c> this doesnt seem to work
savage has quit [Quit: Connection closed for inactivity]
matp has quit [Remote host closed the connection]
astrobunny has joined #ruby
<al2o3-cr> >> def x; if iterator? then yield 1; else 1 end; x
<ruby[bot]> al2o3-cr: # => /tmp/execpad-f7952808bfd8/source-f7952808bfd8:7: syntax error, unexpected end-of-input, expecting ke ...check link for more (https://eval.in/683380)
matp has joined #ruby
sneakerhax has joined #ruby
hutch34 has quit [Ping timeout: 260 seconds]
<al2o3-cr> >> def x; if iterator? then yield 1; else 1 end end; x
<ruby[bot]> al2o3-cr: # => 1 (https://eval.in/683381)
<gener1c> say waht are you guys going?
<al2o3-cr> >> def x; if iterator? then yield 1; else 2 end end; x {}
<gener1c> doing*
<ruby[bot]> al2o3-cr: # => nil (https://eval.in/683382)
fullofca_ has joined #ruby
<nchambers> al2o3-cr, so I got around to doing require_relative "plugins/#{plugin}.rb". if I do $load ping, it appears to load fine, but doing $ping doesn't do anything
<al2o3-cr> >> def x; if iterator? then yield 1; else 2 end end; x { |n| n }
<domgetter> gener1c method calls don't call send by default. You have to call send explicitly
<domgetter> also, we're just being silly
fullofcaffeine has quit [Ping timeout: 256 seconds]
<gener1c> reversing ruby?
<al2o3-cr> nchambers: why are you using globals, just nooooooooooo
<nchambers> what do you mean?
<gener1c> how do i play this game?
<nchambers> I'm not using globals
<domgetter> nchambers when you type $, are you talking about your terminal prompt?
<gener1c> >> def x; mouse = 3; end
<ruby[bot]> gener1c: # => :x (https://eval.in/683383)
<al2o3-cr> got ya nchambers
<nchambers> domgetter, its an IRC bot
<nchambers> al2o3-cr, sorry, $load is a directive from IRC, my bad
KnownSyntax has joined #ruby
<gener1c> i need to call send explicitly
_sfiguser has quit [Ping timeout: 260 seconds]
<gener1c> so what do i override to wrap all methods?
<gener1c> call?
<gener1c> __send__ ?
<al2o3-cr> nchambers: gist again please
jgt has quit [Ping timeout: 250 seconds]
astrobunny has quit [Remote host closed the connection]
<domgetter> gener1c I'm not sure lemme go think about it
astrobunny has joined #ruby
<domgetter> hehe " warning: redefining `__send__' may cause serious problems"
<gener1c> cinch i love cinch
<gener1c> yeah i know domgetter
NeverTired has quit [Quit: Connection closed for inactivity]
<al2o3-cr> nchambers: taking a look
<gener1c> so i was wondering if there was some other metaclass magic
<nchambers> thanks bud
<al2o3-cr> nchambers: it's the same?
<nchambers> what do you mean?
<nchambers> I'm referring to the $load section
<al2o3-cr> you don't require relative in your message callbask
r3vDev has quit [Ping timeout: 256 seconds]
<domgetter> gener1c that was the result of googling "ruby method call hook". The "hooks" in Ruby are something worth learning about
<al2o3-cr> *callback
astrobunny has quit [Ping timeout: 240 seconds]
<nchambers> I don't as in I shouldn't?
tmtwd has joined #ruby
<al2o3-cr> no you did and you shoudn't
blackbombay has joined #ruby
unknowns2k2 has quit [Quit: unknowns2k2]
<al2o3-cr> you make all your plugins in the config
hightower3 has joined #ruby
<al2o3-cr> available
<nchambers> I want to load them dynamically though
Xeago has quit [Ping timeout: 260 seconds]
gix has quit [Ping timeout: 260 seconds]
hanmac has joined #ruby
<al2o3-cr> nchambers: you say dynamically, how dynamic do you want it plugins.plugins is very dynamic
hightower2 has quit [Ping timeout: 256 seconds]
fullofca_ has quit [Remote host closed the connection]
Xeago has joined #ruby
<nchambers> al2o3-cr, I want to pass $load <plugin> to my bot, and have it load that plugin
fullofcaffeine has joined #ruby
<al2o3-cr> nchambers: yes, you pass it to the plugins.plugins array
hightower2 has joined #ruby
<al2o3-cr> you can give it a proc/lamda too
gix has joined #ruby
_sfiguser has joined #ruby
<nchambers> so something like on :message, /^\$load (\S*)/ do |msg, plugin| msg.bot.plugins.plugins.push plugin done
hightower3 has quit [Ping timeout: 245 seconds]
<al2o3-cr> nchambers: no, not really
<nchambers> ...
gnufied has quit [Quit: Leaving]
<nchambers> you just said to put in the array
blackbombay has quit [Ping timeout: 265 seconds]
fullofcaffeine has quit [Ping timeout: 244 seconds]
woodruffw has quit [Remote host closed the connection]
<al2o3-cr> now i see jeez
xall has joined #ruby
r3vDev has joined #ruby
<al2o3-cr> nchambers: this is tricky
xall has quit [Ping timeout: 268 seconds]
<al2o3-cr> i understand what you want now
<nchambers> yeah, I'm considering just falling back to eval, and only letting my account invoke $load
<al2o3-cr> nchambers: don't succumb to eval, there must be a better way. just i can't think at the mo
r3vDev has quit [Ping timeout: 248 seconds]
blackbombay has joined #ruby
<al2o3-cr> nchambers: i've no solution at the minute, but if you still have no solution by tomorrow i'll be on it
<nchambers> ok thanks man
<nchambers> in the meantime I'll use eval temporarily so I can focus on other parts
<al2o3-cr> brandy messes with your mind :p
<nchambers> i bet lol
jackjackdripper has joined #ruby
<al2o3-cr> oki doki
hutch34 has joined #ruby
* al2o3-cr come on thimk twat
* al2o3-cr put your thinking hat on
Rodya_ has quit [Remote host closed the connection]
arescorpio has quit [Quit: Leaving.]
<al2o3-cr> simple things, now (are like what the f***)
<c-c> so, can you describe the problem in simple terms+
<c-c> +?
igniting has quit [Ping timeout: 250 seconds]
Rodya_ has joined #ruby
<al2o3-cr> c-c: yeah, half is not captured
<c-c> thats not really a description, thats just vague
<al2o3-cr> c-c: i'm not deep
<c-c> just be concise
hutch34 has quit [Ping timeout: 268 seconds]
<al2o3-cr> i would but my fingers dont ley me
araujo has quit [Read error: Connection timed out]
araujo has joined #ruby
amclain has quit [Quit: Leaving]
<blackbombay> who would have thought that drunk people are as annoying on irc as they are in real life
balazs has quit [Ping timeout: 268 seconds]
<domgetter> at least you don't have to hear people chew on here
<al2o3-cr> blackbombay: be careful
karapetyan has quit [Remote host closed the connection]
<blackbombay> of?
<al2o3-cr> me
<blackbombay> what are you going to do
<al2o3-cr> :)
<blackbombay> you should /quit and restart when you aren't drunk.
<al2o3-cr> /quit
<al2o3-cr> /quit
<blackbombay> you're annoying, and also making some kinda threat. basically, you're everything that sucks about alcohol.
<al2o3-cr> very true, blackbombay
karapetyan has joined #ruby
Rodya_ has quit [Remote host closed the connection]
balazs has joined #ruby
<al2o3-cr> blackbombay: what threat did i make?
Rodya_ has joined #ruby
dunpeal has quit [Ping timeout: 250 seconds]
ur5us has quit [Ping timeout: 240 seconds]
ur5us_ has joined #ruby
<c-c> Ok guys, lets keep it fun and ruby
nicokavts has quit [Remote host closed the connection]
orangey has left #ruby ["Part"]
<c-c> Take your personal argument to #ruby-offtopic, or have fun instead
tmtwd has quit [Ping timeout: 248 seconds]
<c-c> Or show me the defacto way to establish a (possibly named) pipe between forked processes.
<al2o3-cr> c-c: aye, aye captain
<c-c> - Seems there are like 8 different ways to start/fork/run/open a process and then all the ways to connect IO between two processes
<blackbombay> you have to support windows too?
<c-c> I'd like to, if possible, it would be great if windows rubyists could use and participate this game thing
<blackbombay> there isn't a uniform API between *nix and windows for doing so, as far as i know.
<c-c> well named pipes are kind of available for both *nixes and windows
<blackbombay> yeah, but implemented differently.
<c-c> yes
balazs has quit [Ping timeout: 248 seconds]
barajasfab has quit [Quit: Ex-Chat]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jgt has joined #ruby
Felipe__ has quit [Quit: Leaving]
jgt has quit [Ping timeout: 260 seconds]
babblebre has quit [Quit: Connection closed for inactivity]
hutch34 has joined #ruby
balazs has joined #ruby
rsampaio_ has joined #ruby
douglascorrea has joined #ruby
hutch34 has quit [Ping timeout: 260 seconds]
charliesome has joined #ruby
astrobunny has joined #ruby
douglascorrea has quit [Ping timeout: 256 seconds]
blackwind_123 has joined #ruby
ur5us_ has quit [Remote host closed the connection]
ur5us has joined #ruby
brent__ has quit [Quit: Connection closed for inactivity]
bocaneri has joined #ruby
svankmajer has quit [Quit: leaving]
ur5us has quit [Ping timeout: 256 seconds]
balazs has quit [Ping timeout: 260 seconds]
r3vDev has joined #ruby
marktwo has quit [Quit: WeeChat 1.6]
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
XV8 has joined #ruby
Channel6 has quit [Quit: Leaving]
howdoi has quit [Quit: Connection closed for inactivity]
toretore has quit [Ping timeout: 265 seconds]
toretore has joined #ruby
balazs has joined #ruby
hutch34 has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
Macaveli has joined #ruby
igniting has joined #ruby
mvxlr has joined #ruby
tjbiddle has joined #ruby
r3vDev has quit [Ping timeout: 252 seconds]
tjbiddle has quit [Client Quit]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
eggshke has joined #ruby
dnicole has joined #ruby
sdothum has joined #ruby
lxsameer has joined #ruby
dionysus69 has joined #ruby
unknowns2k2 has joined #ruby
potatoes___ has joined #ruby
dnicole has quit [Ping timeout: 260 seconds]
Mike777 has joined #ruby
dogweather has joined #ruby
minimalism has quit [Quit: minimalism]
minimalism has joined #ruby
<dogweather> Anyone ever played with block.yield vs block.call when a block is passed into a method as (..., &block)?
Mike777 has quit [Remote host closed the connection]
josealobato has joined #ruby
hutch34 has joined #ruby
domgetter has quit [Ping timeout: 244 seconds]
<djellemah> c-c: drb or zeromq might be what you're looking for
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
codfection has joined #ruby
cdg_ has quit [Remote host closed the connection]
<c-c> djellemah: no, I'm not looking for http or sockets, or remote processing and didn't ask for such
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
* c-c may be looking for god, childprocess or ruby-fifo
blackwind_123 has quit [Ping timeout: 258 seconds]
Mike777 has joined #ruby
blackwind_123 has joined #ruby
hutch34 has quit [Ping timeout: 250 seconds]
<c-c> I have in place now simple process daemonizing and messaging named fifo pipe between two processes
<c-c> Linux only, though
<c-c> *nix, actually
kentnl has joined #ruby
minimalism has quit [Quit: minimalism]
Mike777 has quit [Remote host closed the connection]
minimalism has joined #ruby
Mike777 has joined #ruby
kent\n has quit [Ping timeout: 258 seconds]
xall has joined #ruby
Mike777 has quit [Remote host closed the connection]
eljimmy has quit [Quit: This computer has gone to sleep]
Mike777 has joined #ruby
Mike777 has quit [Remote host closed the connection]
howdoi has joined #ruby
Mike777 has joined #ruby
Mike777 has quit [Remote host closed the connection]
dnicole has joined #ruby
codfection has quit [Remote host closed the connection]
palms has quit [Ping timeout: 252 seconds]
<djellemah> c-c: neither drb nor zeromq have anything to do with http. Both can use sockets or fifos as a transport. Both do IPC.
ledestin has joined #ruby
kentnl is now known as kent\n
dunpeal has joined #ruby
Dimik has quit [Ping timeout: 246 seconds]
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jgt has joined #ruby
dunpeal has quit [Ping timeout: 260 seconds]
last_staff has joined #ruby
<c-c> djellemah: ok, you got point
jgt has quit [Ping timeout: 244 seconds]
muelleme has joined #ruby
<djellemah> ;-)
blackbom1 has joined #ruby
alexherbo2 has joined #ruby
<c-c> djellemah: so, where did you use zeromq?
qwertyco has joined #ruby
hutch34 has joined #ruby
blackbombay has quit [Ping timeout: 260 seconds]
dogweather has quit [Remote host closed the connection]
dogweather has joined #ruby
Guest2_ has joined #ruby
aufi has joined #ruby
terens has quit [Remote host closed the connection]
nowhere_man has quit [Remote host closed the connection]
hutch34 has quit [Ping timeout: 256 seconds]
nowhere_man has joined #ruby
dogweather has quit [Ping timeout: 268 seconds]
wugy has joined #ruby
dogweath_ has joined #ruby
dogweather has joined #ruby
dogweath_ has quit [Remote host closed the connection]
andikr has joined #ruby
mark_66 has joined #ruby
conta has joined #ruby
yeticry has quit [Quit: leaving]
Fichtenstein has joined #ruby
douglascorrea has joined #ruby
byte512 has quit [Quit: WeeChat 1.6]
byte512 has joined #ruby
moei has quit [Quit: Leaving...]
douglascorrea has quit [Ping timeout: 265 seconds]
firstdayonthejob has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
atmosx has quit [Quit: Textual IRC Client: www.textualapp.com]
A5101 has quit [Ping timeout: 248 seconds]
ur5us has joined #ruby
josealobato has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Immune has quit [Ping timeout: 260 seconds]
firstdayonthejob has quit [Ping timeout: 265 seconds]
potatoes___ has quit [Quit: This computer has gone to sleep]
josealobato has joined #ruby
aufi has quit [Remote host closed the connection]
vuoto has joined #ruby
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aganov has joined #ruby
r3vDev has joined #ruby
lxsameer has quit [Ping timeout: 246 seconds]
gizmore|2 has quit [Ping timeout: 244 seconds]
gingray has joined #ruby
gizmore|2 has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
dionysus69 has joined #ruby
SesMan has joined #ruby
serard has joined #ruby
Rodya_ has quit [Remote host closed the connection]
quazimodo has joined #ruby
dionysus70 has joined #ruby
muelleme has quit [Ping timeout: 240 seconds]
dionysus69 has quit [Ping timeout: 252 seconds]
dionysus70 is now known as dionysus69
hightower3 has joined #ruby
chihhsin has quit [Remote host closed the connection]
jaguarmagenta has quit [Remote host closed the connection]
hightower2 has quit [Ping timeout: 245 seconds]
symm- has quit [Ping timeout: 240 seconds]
terlar has joined #ruby
moei has joined #ruby
aufi has joined #ruby
<serard> Hello
SeepingN has quit [Ping timeout: 260 seconds]
jackjackdripper has quit [Quit: Leaving.]
codfection has joined #ruby
hightower2 has joined #ruby
<andrzejku> serard: hi
Guest2_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hightower3 has quit [Ping timeout: 246 seconds]
troulouliou_div2 has joined #ruby
<serard> Someone using anchors in yaml and loading them ? :)
hightower3 has joined #ruby
floyd20183 has joined #ruby
<serard> I get a "<<" key, it's nice because I get the referenced thing, but not the way I want it; I thought it would get merged
TomyWork has joined #ruby
dogweath_ has joined #ruby
<floyd20183> Is it possible to have a function which takes none or more params ? similar to def my_func (*args)
hightower2 has quit [Ping timeout: 256 seconds]
Azure has quit [Ping timeout: 250 seconds]
<serard> myargs.. ?
<c-c> floyd20183:
<c-c> >> def foo bar=1; puts bar; end; [foo, foo 99]
<ruby[bot]> c-c: # => /tmp/execpad-3100675b56e9/source-3100675b56e9:2: syntax error, unexpected tINTEGER, expecting keywor ...check link for more (https://eval.in/683546)
<c-c> >> def foo bar=1; p bar; end; foo 99
<ruby[bot]> c-c: # => 99 ...check link for more (https://eval.in/683549)
dogweather has quit [Ping timeout: 245 seconds]
Snickers has joined #ruby
Rodya_ has joined #ruby
dogweather has joined #ruby
Azure has joined #ruby
johnzorn has quit [Ping timeout: 250 seconds]
<c-c> serard: what is that?
<serard> oops, nothing :o
dogweath_ has quit [Ping timeout: 252 seconds]
claudiuinberlin has joined #ruby
floyd20183 has quit [Quit: Leaving]
xall has quit [Ping timeout: 265 seconds]
lxsameer has joined #ruby
<apeiros> serard: how does def foo(*args) not satisfy your needs? (it fits your description - it takes none or more params)
<apeiros> whoops
<apeiros> that was at floyd20183, but they're gone
<serard> :)
<apeiros> serard: re your yaml problem - can you gist an example yaml, and what kind of ruby datastructure you'd want back out of it?
byte512 has quit [Quit: WeeChat 1.6]
<serard> apeiros, I found a solution, it is to not use arrays, instead use hashes
SeepingN has joined #ruby
Immune has joined #ruby
r3vDev has quit [Read error: Connection reset by peer]
<apeiros> ah. yes, I think there's no way to concatenate arrays in yaml. and merging is for hashes only.
jaguarmagenta has joined #ruby
<andrzejku> hey guys
<andrzejku> what tool do you use to sketch design before coding?
nofxx has quit [Ping timeout: 268 seconds]
Fernando-Basso has joined #ruby
byte512 has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros> andrzejku: UI or API?
<djellemah> c-c: Personally, I've only used zeromq for hello-world level toys in various languages. On real projects, every time I see a problem it's a good fit for, I talk about it. It's rejected I guess mostly because there's no http/REST involved :-| I've read about it being used in some pretty heavyweight projects.
<c-c> ok
<c-c> I think its not really the thing to use for IPC
<c-c> on a local machine
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
blaxter has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
hightower3 has quit [Ping timeout: 240 seconds]
jaguarmagenta has joined #ruby
jgt has joined #ruby
pandaant has joined #ruby
Cohedrin has joined #ruby
jgt has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<andrzejku> apeiros: UI
gingray has quit [Ping timeout: 268 seconds]
<apeiros> andrzejku: paper & pencil. sometimes the paper having the current layout preprinted on it.
<djellemah> c-c: in your scenario (iiuc) I see two advantages: it handles cross-platform fifos; it does message framing.
<andrzejku> apeiros: oh really :D
<andrzejku> that was easy
<andrzejku> apeiros: what about colors?
<c-c> djellemah: ok well I think its bit like suggesting you install industrial 480V 3-phase electricity socket when someone ask to "get electricity in the house" :)
<apeiros> andrzejku: well, I'm not a UI designer. so what I have to transfer most is workflows and the basic idea. less is more there.
astrobunny has quit [Remote host closed the connection]
jaguarmagenta has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
<serard> There is no map_pair for Hash ?
<apeiros> serard: no. map{}.to_h
karapetyan has joined #ruby
<serard> I was using map! when having an array, now I have a hash that I want to map, to transform values and return them
Humdai has joined #ruby
<apeiros> hsh.replace(hsh.map{}.to_h)
<apeiros> that'd be how you can implement Hash#map!
charliesome has joined #ruby
<serard> I don't understand the .map{} thing
<serard> :(
<serard> map{ |x| x } ?
<apeiros> .map{} is where you do the mapping. e.g. map { |key, value| [key.upcase, value * 2] }
<serard> yes ok, thank you :)
<apeiros> >> hsh = {"foo" => 1, "bar" => 17}; hsh.replace(hsh.map { |key, value| [key.upcase, value * 2] }.to_h); hsh
<ruby[bot]> apeiros: # => {"FOO"=>2, "BAR"=>34} (https://eval.in/683611)
dunpeal has joined #ruby
<serard> :)
jgt has joined #ruby
dunpeal has quit [Ping timeout: 260 seconds]
Xeago has quit [Ping timeout: 244 seconds]
a3f has joined #ruby
codfection has quit [Ping timeout: 248 seconds]
codfection has joined #ruby
<apeiros> serard: I think so. I'd name it with a bang, though.
<apeiros> and if you just pass on the block, &block notation is faster.
<serard> What's the convention around bang naming ?
<apeiros> bang means "be careful" in general. it is often used when mutating/non-mutating methods come in pairs.
<apeiros> c.f. map/map!
<serard> ok
<serard> &block : I don't get it
<serard> &k ?
<serard> &v ?
<apeiros> re &block: def map_pairs(&block); … map(&block); …
<apeiros> instead of map { |k,v| yield(k,v) }
Silthias1 has joined #ruby
<serard> I'm sorry I still don't get it .... really newbe to ruby :(
<serard> You mean not touching Hash class, and making a def instead
BTRE has quit [Quit: Leaving]
Silthias has quit [Ping timeout: 252 seconds]
<apeiros> no. you already are making a def. I suggest a change in the code of your method definition.
<serard> yep
Burgestrand has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
<serard> can you gist it to me ? :o
Silthias1 has quit [Ping timeout: 248 seconds]
unknowns2k2 is now known as antoniobeyah
Snowy has joined #ruby
antoniobeyah has quit [Changing host]
antoniobeyah has joined #ruby
<c-c> I have a process that has a main loop (a while -loop). In that loop I do 'STDIN.read(1)' or 'STDIN.getc' (because $stdin.gets doesn't work, causes process IO to block). For some reason both read up to 3 characters at a time, mostly 2 or one.
<c-c> Any ideas why?
<tobiasvl> c-c: please gist code
ur5us has quit [Ping timeout: 265 seconds]
jaguarmagenta has joined #ruby
<apeiros> serard: class Hash; def map_pairs(&block); replace(map(&block).to_h); end; end
<apeiros> (the `self.` is superfluous too, so I took it out)
Snickers has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ishe_ua has joined #ruby
<adgtl> Do wer have something like zen of ruby
<adgtl> or some Ruby commandments?
JeanCarloMachado has joined #ruby
<adgtl> basically I am thinking of updating my Ruby gem named 'this' to show those commandments or rules
tomphp has joined #ruby
<tobiasvl> adgtl: what are you looking for exactly? the link in that repo's readme is broken (SO question is removed)
jaguarmagenta has quit [Ping timeout: 256 seconds]
<adgtl> try 'gem install this'
<adgtl> and require 'this'
<adgtl> in irb
<adgtl> then you can subsequently use 'this'
<adgtl> it's pretty basic
<oddmunds> adgtl:ruby does not have any commandments
bturker has joined #ruby
the_drow has joined #ruby
<oddmunds> ruby has a zenspider, though
<adgtl> oddmunds anything that we can put there .. if no commandments.. may be lessons learned
<tobiasvl> adgtl: OK, so just puts some "rules" of ruby
<adgtl> zenspider ;)
<c-c> tobiasvl: here is my "it-reads-multiple-characters-despite-effort"-class https://gist.github.com/csmr/c528116a585c4c1c68ee7b8e83d004fd
<adgtl> I am just cleaning up gem so that it be used for further years by noobs
jsrn_ has joined #ruby
<oddmunds> adgtl: is anyone using your gem?
<oddmunds> it doesn
<oddmunds> t seem all that useful
<adgtl> oddmunds 6,012 total downloads
<adgtl> so not much
<adgtl> oddmunds yeah, so basically want to keep some basic rules of ruby
<adgtl> on the manners of Zen of Python
<adgtl> I have other option to delete the gem from Rubygems
<adgtl> but don't want to do that
<tobiasvl> zen of python, aha
aryaching has quit [Quit: Bye]
<tobiasvl> googled it, now I understand what this is. PEP20, funny
quazimodo has quit [Ping timeout: 248 seconds]
obiwahn has joined #ruby
douglascorrea has joined #ruby
aupadhye has quit [Remote host closed the connection]
<adgtl> oddmunds thank you for quick response
<adgtl> I would put those zens
rsampaio_ has quit [Ping timeout: 245 seconds]
<adgtl> lol 'Namespaces are completely unnecessary -- let's make everything global!'
<oddmunds> mind that that was written to make fun of ruby
<adgtl> does that make sense today?
<adgtl> yeah.. seems like
<adgtl> lol 'When in doubt, monkeypatch'
<adgtl> i guess that's not legit
<oddmunds> maybe the zen of ruby is "Happiness is better than misery"
Bish has quit [Ping timeout: 258 seconds]
douglascorrea has quit [Ping timeout: 244 seconds]
Bish has joined #ruby
aryaching has joined #ruby
karapetyan has quit [Remote host closed the connection]
ircuser0815 is now known as janmh
ferr has joined #ruby
janmh has left #ruby [#ruby]
cibs has quit [Ping timeout: 268 seconds]
JeanCarloMachado has quit [Ping timeout: 260 seconds]
<c-c> tobiasvl: I think what happens is the process that spawns that ui process, or the terminal they run in, grabs half of the input. So when typing 'foobar', only o,b &r hit the STDIN and the reading function in the class I pasted in that gist.
cibs has joined #ruby
Silthias has joined #ruby
<c-c> I guess I could try to get this class to steal the stdin from the spawning term/process
<c-c> - I have no idea how, but pretty sure it is porrible
Beams has joined #ruby
nettoweb has joined #ruby
emilkarl has joined #ruby
blaxter has quit [Quit: foo]
gregf_ has joined #ruby
ARCADIVS has joined #ruby
Chair has joined #ruby
danst has quit [Ping timeout: 256 seconds]
BTRE has joined #ruby
psychicist__ has joined #ruby
Kero has quit [Ping timeout: 245 seconds]
alexherbo2 has quit [Quit: WeeChat 1.6]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Cohedrin has joined #ruby
Cohedrin has quit [Client Quit]
<c-c> *I know its pretty horrible!
<c-c> time to finish for the day
* c-c waves good luck!
ledestin has quit [Ping timeout: 252 seconds]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
Rodya_ has quit [Remote host closed the connection]
danst has joined #ruby
lxsameer has quit [Ping timeout: 252 seconds]
codfection has quit [Remote host closed the connection]
savage has joined #ruby
lxsameer has joined #ruby
ocbtec has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
karapetyan has joined #ruby
lenwood has joined #ruby
kbdkode has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby
govg has quit [Ping timeout: 245 seconds]
troulouliou_div2 has quit [Quit: Leaving]
manjaro-kde5_ has joined #ruby
josealobato has quit [Quit: Textual IRC Client: www.textualapp.com]
lxsameer has quit [Ping timeout: 250 seconds]
xall has joined #ruby
lenwood has quit [Ping timeout: 260 seconds]
Kero_ has joined #ruby
gingray has joined #ruby
lxsameer has joined #ruby
jgt has quit [Ping timeout: 250 seconds]
nowhereman has joined #ruby
nowhere_man has quit [Ping timeout: 260 seconds]
dviola has joined #ruby
troulouliou_div2 has joined #ruby
ldnunes has joined #ruby
johnmccabe has joined #ruby
gregf_ has quit [Ping timeout: 260 seconds]
doublemalt__ has quit [Ping timeout: 265 seconds]
xrlk has quit [Quit: Leaving]
xrlk has joined #ruby
skweek has quit [Ping timeout: 258 seconds]
a3f has quit [Quit: Zzzzz..]
a3f has joined #ruby
qwertyco has quit [Quit: Leaving]
Immune has quit [Read error: Connection reset by peer]
a3f has quit [Quit: Zzzzz..]
careta has joined #ruby
doublemalt__ has joined #ruby
quazimodo has joined #ruby
GodFather has joined #ruby
elementaru has quit [Ping timeout: 250 seconds]
bathtub_shark has quit [Ping timeout: 260 seconds]
r3vDev has joined #ruby
senayar has joined #ruby
senayar has quit [Changing host]
senayar has joined #ruby
pec has joined #ruby
aryaching has quit [Ping timeout: 246 seconds]
JoL1hAHN has quit [Ping timeout: 260 seconds]
vuoto_ has joined #ruby
vuoto has quit [Quit: Lost terminal]
Fichtenstein has quit [Ping timeout: 256 seconds]
vuoto has joined #ruby
vuoto_ has quit [Client Quit]
dunpeal has joined #ruby
vuoto_ has joined #ruby
vuoto has quit [Client Quit]
vuoto_ has quit [Client Quit]
vuoto has joined #ruby
danst has quit [Ping timeout: 265 seconds]
danst has joined #ruby
dunpeal has quit [Ping timeout: 256 seconds]
XV8 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JoL1hAHN has joined #ruby
serard has quit [Ping timeout: 268 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
adas has joined #ruby
JeanCarloMachado has joined #ruby
hightower2 has joined #ruby
syf-revk has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
jaguarmagenta has joined #ruby
vuoto has quit [Remote host closed the connection]
charliesome has joined #ruby
adas has quit [Quit: Page closed]
ledestin has joined #ruby
jaguarmagenta has quit [Ping timeout: 246 seconds]
tau has joined #ruby
doublemalt__ has quit [Ping timeout: 248 seconds]
douglascorrea has joined #ruby
douglascorrea has quit [Remote host closed the connection]
teclator has quit [Ping timeout: 250 seconds]
JeanCarloMachado has quit [Quit: Lost terminal]
Kero_ is now known as Kero
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sdelic has joined #ruby
teclator has joined #ruby
elastix has joined #ruby
pandaant has quit [Remote host closed the connection]
BackEndCoder has joined #ruby
Ishido has joined #ruby
manjaro-kde5_ has quit [Ping timeout: 250 seconds]
psychicist__ has quit [Ping timeout: 245 seconds]
jaruga___ has joined #ruby
karapetyan has quit [Remote host closed the connection]
doublemalt__ has joined #ruby
domgetter has joined #ruby
karapetyan has joined #ruby
douglascorrea has joined #ruby
yuki_is_bored has quit [Read error: Connection reset by peer]
psychicist__ has joined #ruby
Fichtenstein has joined #ruby
dogweather has quit [Remote host closed the connection]
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
muelleme has joined #ruby
karapetyan has quit [Ping timeout: 260 seconds]
sdelic has quit [Ping timeout: 258 seconds]
JesseH has quit [Ping timeout: 258 seconds]
karapetyan has joined #ruby
<TomyWork> Server: WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13) <--- this is what gems.hashicorp.com, the Vagrant plugin repository, sends as the server name. are they doing it wrong by using webrick or not necessarily?
Snickers has joined #ruby
c355e3b has joined #ruby
JaReAx has joined #ruby
karapetyan has quit [Ping timeout: 250 seconds]
shinnya has joined #ruby
yuki_is_bored has joined #ruby
bauruine_ has quit [Quit: ZNC - http://znc.in]
bturker has quit [Ping timeout: 256 seconds]
bauruine has joined #ruby
karapetyan has joined #ruby
<Bish> TomyWork: why should that be wrong?
dunpeal has joined #ruby
Definity has joined #ruby
<TomyWork> i heard webrick only for small installations
<TomyWork> +was
<c-c> yes
hahuang65 has quit [Read error: Connection reset by peer]
hahuang65 has joined #ruby
<TomyWork> and a gem repository for a popular software like vagrant doesnt seem like a small thing to me
cibs has quit [Ping timeout: 268 seconds]
<c-c> perhaps they spawn a new process with a webrick for every request
<dminuoso> TomyWork: Well webrick does not even support API hijacking, so yeah..
<dminuoso> TomyWork: It's probably a bad idea.
muelleme has quit [Ping timeout: 250 seconds]
sparch has joined #ruby
sparch has quit [Changing host]
sparch has joined #ruby
dunpeal has quit [Ping timeout: 265 seconds]
<dminuoso> TomyWork: Also the fact that they are running 2.2.2 is not amusing either. :p
<c-c> I guess that means Vagrant uses Heroku
<dminuoso> And the fact that their setup is configured to even tell this to the world.
cibs has joined #ruby
<c-c> dminuoso: in http headers?
Burgestrand has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dminuoso> c-c: Yeah
<c-c> its not uncommon
karapetyan has quit [Remote host closed the connection]
<c-c> then again, headers can be edited with any text-editor...
karapetyan has joined #ruby
<dminuoso> c-c: Perhaps, it's a bad habit. While you should not rely on int, leaking information makes it easier for targeted attacks.
<dminuoso> If someone knows you have a buggy ruby or webrick version they can exploit it directly.
<c-c> I think server fingerprinting is a more reliable and easy way to find out about pen target
<dminuoso> c-c: This is just a factor to make fingerprinting much harder.
<dminuoso> An attacker has no business gaining details about my system. If anything it just makes it easier to find attack vectors.
<c-c> gems.hashicorp.com http server is IIS
<c-c> his analysis was able to determine the target httpd service as Microsoft IIS 6.0 with 68 fingerprint hits in the database.
<c-c> 8)
karapetyan has quit [Remote host closed the connection]
vuoto has joined #ruby
_sfiguser has quit [Ping timeout: 248 seconds]
syf-revk has quit [Quit: Leaving]
terlar has quit [Ping timeout: 260 seconds]
Burgestrand has joined #ruby
johnmilton has joined #ruby
johnmilton has quit [Remote host closed the connection]
xall has quit [Ping timeout: 252 seconds]
aryaching has joined #ruby
vuoto has quit [Remote host closed the connection]
xall has joined #ruby
douglasc_ has joined #ruby
ropeney has joined #ruby
symm- has joined #ruby
douglascorrea has quit [Ping timeout: 256 seconds]
postmodern has quit [Quit: Leaving]
elastix has quit [Quit: Leaving]
r3vDev has quit [Ping timeout: 265 seconds]
bmurt has joined #ruby
lxsameer has quit [Quit: WeeChat 1.5]
<TomyWork> i'm willing to bet that's wrong
johnzorn has joined #ruby
<kke> it would be fun if [1,2,3].delete_if{|x| x.even?} would return [2] instead of [1,3] workarounds?
<TomyWork> kke i dont know but it can be shortened to [1,2,3].delete_if &:even?
<kke> yes yes. maybe removed = [1,2,3].reject(&:even?)
psychicist__ has quit [Ping timeout: 256 seconds]
byte512 has quit [Ping timeout: 260 seconds]
<tobiasvl> kke: what do you mean? you want to delete the odd numbers instead?
<TomyWork> tobiasvl i think he wants to return the deleted numbers
<kke> no, i wanted to do something like rejects = array.reject!{|a| a.xyz == :foo}
<toretore> kke: does it have to mutate the receiver?
<kke> which seems to be what i wanted so problem solved.
<kke> yes
bathtub_shark has joined #ruby
dogweather has joined #ruby
tjbiddle has joined #ruby
<apeiros> kke: class Array; def your_delete_if(&block); drop, keep = partition(&block); replace(keep); drop; end; end
<kke> what's drop?
<kke> anyways reject! did what i wanted.
<apeiros> a local variable
Xeago has joined #ruby
<kke> ah, correct
<apeiros> staple battery horse?
Elemenn has joined #ruby
<Ishido> [13:50:41] <apeiros> staple battery horse? <-- Which number was that one ?
<Ishido> :)
<apeiros> !xkcd 936
dogweather has quit [Ping timeout: 245 seconds]
psychicist__ has joined #ruby
Fichtenstein has quit [Read error: Connection reset by peer]
<Ishido> THX apeiros :]
gregf_ has joined #ruby
Elemenn has quit [Quit: EliteBNC free bnc service - http://elitebnc.org - be a part of the Elite!]
bturker has joined #ruby
bathtub_shark has quit [Ping timeout: 258 seconds]
bathtub_shark has joined #ruby
synthroid has joined #ruby
careta has quit [Ping timeout: 256 seconds]
symm- has quit [Ping timeout: 260 seconds]
bturker has quit [Ping timeout: 256 seconds]
handicraftsman has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
claudiuinberlin has joined #ruby
Illianthe has quit [Ping timeout: 258 seconds]
augcesar has joined #ruby
<kke> (reject! returns nil instead of [] when nothing was rejected)
sdothum has joined #ruby
Elemenn has joined #ruby
claudiuinberlin has quit [Ping timeout: 260 seconds]
dminuoso has quit [Ping timeout: 260 seconds]
codfection has joined #ruby
dminuoso has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ropeney has quit [Quit: Textual IRC Client: www.textualapp.com]
doublemalt__ has quit [Ping timeout: 252 seconds]
Elemenn has quit [Ping timeout: 250 seconds]
<toretore> and it returns self when changes were made, which is not what you said you wanted
binaryplease has joined #ruby
jaguarmagenta has joined #ruby
bmurt has joined #ruby
codfection has quit [Remote host closed the connection]
andikr has quit [Remote host closed the connection]
Madplatypus has quit [Quit: Connection closed for inactivity]
Elemenn has joined #ruby
sparch has quit [Ping timeout: 252 seconds]
bastilian has quit []
jaguarmagenta has quit [Ping timeout: 250 seconds]
<andrzejku> hey guys I am learning Ruby
doublemalt__ has joined #ruby
<andrzejku> and enjoy with however I got a dream to write something multiplatfrom within iOS and Android
hightower2 has quit [Ping timeout: 246 seconds]
<andrzejku> do you know if ruby-qml got such ability?
<andrzejku> I am not sure if ruby-qml can run on android and ios devices
<andrzejku> what single qml-javascript do
Burgestrand has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<domgetter> andrzejku it would depend on whether or not qt runs on android and ios
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<domgetter> but if you want multiplatform ruby, you can always check out rubymotion.
<andrzejku> domgetter: I want multiplatform and FREE :P
<andrzejku> domgetter: for open source
<andrzejku> project :)
<andrzejku> domgetter: and I already know qml so it will be more easy for me
<andrzejku> but if ruby will run on android
tyang has joined #ruby
<andrzejku> ?
Elemenn has quit [Quit: EliteBNC free bnc service - http://elitebnc.org - be a part of the Elite!]
<domgetter> multiplatform/mobile development will not be "easy"
<andrzejku> domgetter: i am not asking if it is easy rather is it possible to do that?
<andrzejku> domgetter: and if someone already did?
<domgetter> but like I said, if qt runs on android, then since ruby-qml is qt bindings, there should be some way for that to work
bathtub_shark has quit [Ping timeout: 256 seconds]
<andrzejku> domgetter: okay
<andrzejku> domgetter: i hope so
bastilian_ has joined #ruby
<andrzejku> domgetter: ruby run natively on android?
<domgetter> andrzejku no.
<domgetter> "natively" means something specific
gregf_ has quit [Quit: Page closed]
<domgetter> In this case, Java for android and Objective-C for iOS.
<andrzejku> so ruby is compiled to java to run on android
<andrzejku> ?
saneax-_-|AFK is now known as saneax
<dminuoso> andrzejku: There's JRuby. I'd be willing to bet that Ruboto uses that.
Burgestrand has joined #ruby
<domgetter> andrzejku sure, but "native" still means Java specifically (for android), not another language that compiles to it
Snowy has quit [Remote host closed the connection]
bathtub_shark has joined #ruby
<andrzejku> domgetter: okay
<andrzejku> domgetter: it should work anyway
Snowy has joined #ruby
johnmilton has joined #ruby
handicraftsman has quit [Quit: Leaving]
last_staff is now known as flast_staff
Snowy has quit [Ping timeout: 252 seconds]
flast_staff is now known as last_staff
pragmaticus has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hightower2 has joined #ruby
codfection has joined #ruby
fmcgeough has joined #ruby
Ishido has quit [Remote host closed the connection]
Elemenn has joined #ruby
serard has joined #ruby
rfoust has joined #ruby
Ishido has joined #ruby
mvxlr has quit [Ping timeout: 252 seconds]
Elemenn has quit [Read error: Connection reset by peer]
bathtub_shark has quit [Ping timeout: 245 seconds]
bmurt has joined #ruby
dogweather has joined #ruby
Elemenn has joined #ruby
Jardayn has joined #ruby
jaguarmagenta has joined #ruby
bathtub_shark has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
terlar has joined #ruby
xall has quit [Ping timeout: 268 seconds]
dogweather has quit [Ping timeout: 258 seconds]
hutch34 has joined #ruby
xall has joined #ruby
eggshke has quit []
last_staff has quit [Quit: last_staff]
gregf_ has joined #ruby
dionysus69 has quit [Ping timeout: 250 seconds]
serard has quit [Ping timeout: 268 seconds]
Elemenn has quit [Ping timeout: 250 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bathtub_shark has quit [Ping timeout: 246 seconds]
bmurt has joined #ruby
dunpeal has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
andrzejku has quit [Quit: WeeChat 1.5]
malconis has joined #ruby
sdothum has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
ramortegui has joined #ruby
etehtsea has joined #ruby
ponga has joined #ruby
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
claudiuinberlin has joined #ruby
bathtub_shark has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg has joined #ruby
bmurt has joined #ruby
syf-revk has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
ponga has quit []
Elemenn has joined #ruby
govg has joined #ruby
fullofcaffeine has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
reverberations has joined #ruby
fullofca_ has joined #ruby
binaryplease has quit [Ping timeout: 258 seconds]
alexherbo2 has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
Fernando-Basso has quit [Ping timeout: 256 seconds]
terlar has quit [Ping timeout: 260 seconds]
gnufied has joined #ruby
handicraftsman has joined #ruby
handicraftsman has quit [Changing host]
handicraftsman has joined #ruby
Elemenn has quit [Quit: EliteBNC free bnc service - http://elitebnc.org - be a part of the Elite!]
xall has quit [Ping timeout: 246 seconds]
jaguarmagenta has joined #ruby
skweek has joined #ruby
hutch34 has quit [Ping timeout: 256 seconds]
lenwood has joined #ruby
potatoes___ has joined #ruby
DLSteve has joined #ruby
Elemenn has joined #ruby
xall has joined #ruby
saslam has joined #ruby
jphase has joined #ruby
platzhirsch has joined #ruby
jhack has joined #ruby
Snowy has joined #ruby
xall has quit [Ping timeout: 250 seconds]
jhack has quit [Client Quit]
Snickers has quit [Ping timeout: 256 seconds]
antoniobeyah has quit [Quit: antoniobeyah]
jhack has joined #ruby
Fernando-Basso has joined #ruby
sogard has joined #ruby
Elemenn has quit [Ping timeout: 250 seconds]
<sogard> Hey there. Can someone take a look over the implementation of mrb_protect? I'm afraid that the state parameter is not doing what it should.
<sogard> Whether or not you have an exception, state appears to stay FALSE.
jaguarmagenta has quit [Remote host closed the connection]
r3vDev has joined #ruby
cdg_ has joined #ruby
saslam has quit [Ping timeout: 252 seconds]
hutch34 has joined #ruby
cdg has quit [Ping timeout: 260 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
Elemenn has joined #ruby
bturker has joined #ruby
platzhirsch has quit [Ping timeout: 246 seconds]
shinnya has quit [Ping timeout: 250 seconds]
blackbom1 has quit [Ping timeout: 258 seconds]
rippa has joined #ruby
Illianthe has joined #ruby
banisterfiend has joined #ruby
Burgestrand has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bturker has quit [Ping timeout: 256 seconds]
SteenJobs has joined #ruby
Elemenn has quit [Ping timeout: 250 seconds]
agit0 has joined #ruby
jhack has quit [Quit: jhack]
codfection has quit [Remote host closed the connection]
endbringer has joined #ruby
bathtub_shark has quit [Ping timeout: 260 seconds]
atmosx has joined #ruby
ferr has quit [Quit: WeeChat 1.5]
Snickers has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
atmosx has quit [Client Quit]
d0nn1e has quit [Ping timeout: 258 seconds]
Illianthe has quit [Ping timeout: 260 seconds]
ryan_notabot has joined #ruby
ARCADIVS has quit [Quit: ARCADIVS]
platzhirsch has joined #ruby
d0nn1e has joined #ruby
JesseH has joined #ruby
igniting has quit [Ping timeout: 245 seconds]
nettoweb has joined #ruby
chouhoulis has joined #ruby
rbr has quit []
bmurt has joined #ruby
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
svankmajer has joined #ruby
<svankmajer> Should I stick to simple stubbing/mocking for testing a yet-to-be-relased, unstable REST API? I was thinking of using a fake service, but I don't see much sense at this stage.
<svankmajer> Note: I don't have much experience testing APIs.
sepp2k has joined #ruby
<svankmajer> Oh, and, hello everyone. :-)
truenito has joined #ruby
rfoust has joined #ruby
Silthias1 has joined #ruby
sparch has joined #ruby
sparch has joined #ruby
sparch has quit [Changing host]
polysics has joined #ruby
dionysus69 has joined #ruby
<sogard> Anyone here who could offer a little help with mrb_protect?
psychicist__ has quit [Ping timeout: 260 seconds]
Silthias has quit [Ping timeout: 260 seconds]
dar123 has joined #ruby
whippythellama has joined #ruby
dunpeal has quit [Quit: leaving]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
platzhirsch has quit [Ping timeout: 256 seconds]
xall has joined #ruby
syf-revk has quit [Quit: Leaving]
buglessdr has joined #ruby
armando has quit [Ping timeout: 256 seconds]
bathtub_shark has joined #ruby
byte512 has joined #ruby
dar123 has quit [Ping timeout: 258 seconds]
aganov has quit [Remote host closed the connection]
gizmore|2 has quit [Ping timeout: 258 seconds]
gizmore|2 has joined #ruby
libastral has quit [Ping timeout: 246 seconds]
buglessdr has quit [Remote host closed the connection]
buglessdr has joined #ruby
nikivi has joined #ruby
karapetyan has joined #ruby
Snowy is now known as N0B0
Elemenn has joined #ruby
platzhirsch has joined #ruby
etehtsea has quit [Ping timeout: 250 seconds]
bayed has joined #ruby
wugy has quit []
synthroid has quit [Remote host closed the connection]
libastral has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
synthroid has joined #ruby
synthroid has quit [Read error: Connection reset by peer]
bmurt has joined #ruby
synthroid has joined #ruby
quazimodo has quit [Quit: leaving]
synthroid has quit [Read error: Connection reset by peer]
dogweather has joined #ruby
karapetyan has quit [Remote host closed the connection]
buglessdr has quit [Remote host closed the connection]
synthroid has joined #ruby
synthroid has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
buglessdr has joined #ruby
Elemenn has quit [Ping timeout: 250 seconds]
synthroid has joined #ruby
synthroid has quit [Read error: Connection reset by peer]
synthroid has joined #ruby
synthroid has quit [Read error: Connection reset by peer]
karapetyan has quit [Remote host closed the connection]
hutch34 has quit [Ping timeout: 252 seconds]
bathtub_shark has quit [Ping timeout: 260 seconds]
dogweather has quit [Ping timeout: 240 seconds]
karapetyan has joined #ruby
Beams has quit [Quit: .]
savage is now known as its_over_9000
douglasc_ has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
Definity has quit [Ping timeout: 250 seconds]
karapetyan has joined #ruby
buglessdr has quit [Remote host closed the connection]
Elemenn has joined #ruby
ryan_notabot has quit [Remote host closed the connection]
buglessdr has joined #ruby
careta has joined #ruby
karapetyan has quit [Remote host closed the connection]
bathtub_shark has joined #ruby
karapetyan has joined #ruby
hfp has quit [Ping timeout: 265 seconds]
nadir has joined #ruby
jgnagy has joined #ruby
hfp has joined #ruby
huddy has joined #ruby
douglascorrea has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
buglessdr has quit [Remote host closed the connection]
karapetyan has quit [Ping timeout: 260 seconds]
oncall-pokemon has joined #ruby
buglessdr has joined #ruby
karapetyan has joined #ruby
Elemenn has quit [Quit: EliteBNC free bnc service - http://elitebnc.org - be a part of the Elite!]
bmurt has joined #ruby
karapetyan has quit [Remote host closed the connection]
bathtub_shark has quit [Ping timeout: 260 seconds]
jackjackdripper has joined #ruby
Definity has joined #ruby
frozengeek____ has joined #ruby
nikivi has quit [Read error: Connection reset by peer]
marr has joined #ruby
emilkarl has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
agit0 has quit [Ping timeout: 250 seconds]
doublemalt__ has quit [Ping timeout: 260 seconds]
chouhoulis has quit [Remote host closed the connection]
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
douglascorrea has quit [Ping timeout: 265 seconds]
careta has quit [Ping timeout: 250 seconds]
<TomyWork> I'm having trouble with a slow proxy and an application that uses bundler to download its plugin gems. Is there an environment variable or something like that that I can use to increase the timeout from the default of 1 minute?
armando has joined #ruby
blackwind_123 has quit [Ping timeout: 244 seconds]
blackwind_123 has joined #ruby
karapetyan has joined #ruby
chouhoulis has joined #ruby
karapetyan has quit [Remote host closed the connection]
Salih has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
gizmore|2 has quit [Ping timeout: 250 seconds]
harai has joined #ruby
doublemalt__ has joined #ruby
gizmore|2 has joined #ruby
<svankmajer> TomyWork: you can set BUNDLE_TIMEOUT to whatever you want in your ~/.bundle/config
[Butch] has joined #ruby
nikivi has joined #ruby
<TomyWork> svankmajer can i also set that as an environment variable?
gregf_ has quit [Quit: Page closed]
unknowns2k2 has joined #ruby
<svankmajer> TomyWork: yes, of course
karapetyan has joined #ruby
<TomyWork> nice, because i dont think i can access that config that easily in this case
<svankmajer> you don't need to set it up twice, tho. use bundle config or env variables
aufi has quit [Quit: Leaving]
nofxx has joined #ruby
karapetyan has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
Snickers has quit [Quit: Textual IRC Client: www.textualapp.com]
bathtub_shark has joined #ruby
roychri has quit [Ping timeout: 258 seconds]
serard has joined #ruby
Elemenn has joined #ruby
Definity has quit [Ping timeout: 252 seconds]
blackbom1 has joined #ruby
Madplatypus has joined #ruby
conta has quit [Ping timeout: 250 seconds]
karapetyan has joined #ruby
ishe_ua has quit [Remote host closed the connection]
blackbom1 has quit [Ping timeout: 258 seconds]
codfection has joined #ruby
Elemenn has quit [Ping timeout: 250 seconds]
raul782 has joined #ruby
karapetyan has quit [Remote host closed the connection]
izaac has quit [Ping timeout: 260 seconds]
karapetyan has joined #ruby
toc has joined #ruby
mark_66 has quit [Remote host closed the connection]
OnyxRaven_ has joined #ruby
karapetyan has quit [Remote host closed the connection]
hfp has quit [Ping timeout: 260 seconds]
serard has quit [Ping timeout: 268 seconds]
OnyxRaven has quit [Ping timeout: 256 seconds]
OnyxRaven_ is now known as OnyxRaven
psychicist__ has joined #ruby
amclain has joined #ruby
Elemenn has joined #ruby
hfp has joined #ruby
aryaching has quit [Ping timeout: 248 seconds]
saslam has joined #ruby
SesMan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<TomyWork> svankmajer that may be what happens here... i set it to 3, which should be 3 seconds, right?
<TomyWork> anyway, it's not timing out despite taking almost a minute
Hyuk has joined #ruby
jsrn_ has quit [Quit: Leaving]
handicraftsman has left #ruby ["Leaving"]
blackmesa has joined #ruby
jaruga___ has quit [Quit: jaruga___]
f3ttX] has joined #ruby
theRoUS|afk is now known as theRoUS
raul782 has quit [Remote host closed the connection]
f3ttX] has left #ruby [#ruby]
frozengeek____ has quit [Quit: frozengeek____]
f3ttX] has joined #ruby
hutch34 has joined #ruby
Elemenn has quit [Ping timeout: 250 seconds]
raul782 has joined #ruby
raul782 has quit [Remote host closed the connection]
raul782 has joined #ruby
<TomyWork> svankmajer BUNCLE_CONFIG is set by the application to a temporary file location, so i cant get to that
bathtub_shark has quit [Ping timeout: 241 seconds]
<TomyWork> contains only BUNDLE_PATH: "C:/Users/myuser/.vagrant.d/gems"
cgfbee has quit [Excess Flood]
face has quit [Remote host closed the connection]
bturker has joined #ruby
Hobbyboy has quit [Excess Flood]
face has joined #ruby
Hobbyboy has joined #ruby
N0B0 has quit [Remote host closed the connection]
N0B0 has joined #ruby
hutch34 has quit [Ping timeout: 268 seconds]
N0B0 has quit [Remote host closed the connection]
N0B0 has joined #ruby
cgfbee has joined #ruby
N0B0 has quit [Remote host closed the connection]
N0B0 has joined #ruby
aryaching has joined #ruby
N0B0 has quit [Remote host closed the connection]
N0B0 has joined #ruby
f3ttX] has quit [Read error: Connection reset by peer]
N0B0 has quit [Remote host closed the connection]
f3ttX] has joined #ruby
N0B0 has joined #ruby
N0B0 has quit [Remote host closed the connection]
bturker has quit [Ping timeout: 256 seconds]
bathtub_shark has joined #ruby
hutch34 has joined #ruby
Beams has joined #ruby
Chair has quit [Ping timeout: 252 seconds]
Elemenn has joined #ruby
r3vDev has quit [Ping timeout: 256 seconds]
frozengeek____ has joined #ruby
Snickers has joined #ruby
Illianthe has joined #ruby
f3ttX] has quit [Ping timeout: 246 seconds]
f3ttX] has joined #ruby
blackmesa has quit [Ping timeout: 248 seconds]
eljimmy has joined #ruby
Elemenn has quit [Ping timeout: 250 seconds]
Beams has quit [Quit: .]
A124 has quit [Ping timeout: 250 seconds]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bathtub_shark has quit [Ping timeout: 246 seconds]
<TomyWork> well, i give up. i think that qualifies as having tried when i poke the admins about the proxy
gingray has quit [Ping timeout: 244 seconds]
f3ttX] has quit [Ping timeout: 252 seconds]
Pupeno has joined #ruby
SCHAAP137 has joined #ruby
A124 has joined #ruby
f3ttX] has joined #ruby
blackbom1 has joined #ruby
claudiuinberlin has quit []
conta has joined #ruby
fullofca_ has quit [Remote host closed the connection]
fullofcaffeine has joined #ruby
Elemenn has joined #ruby
ledestin has joined #ruby
f3ttX] has quit [Ping timeout: 260 seconds]
bathtub_shark has joined #ruby
l3th4l has joined #ruby
f3ttX] has joined #ruby
endbringer has quit [Quit: Leaving]
hfp has quit [Ping timeout: 265 seconds]
l3th4l has left #ruby [#ruby]
vuoto has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Hyuk has quit [Quit: Textual IRC Client: www.textualapp.com]
fullofcaffeine has quit [Ping timeout: 245 seconds]
hfp has joined #ruby
f3ttX] has quit [Ping timeout: 250 seconds]
raul782 has quit [Remote host closed the connection]
dogweather has joined #ruby
f3ttX] has joined #ruby
raul782 has joined #ruby
mtkd has quit [Ping timeout: 256 seconds]
troulouliou_div2 has quit [Quit: Leaving]
Xiti has quit [Quit: Xiti]
benlieb has joined #ruby
Xiti has joined #ruby
Rodya_ has joined #ruby
Elemenn has quit [Quit: EliteBNC free bnc service - http://elitebnc.org - be a part of the Elite!]
mtkd has joined #ruby
bathtub_shark has quit [Ping timeout: 246 seconds]
vuoto has quit [Remote host closed the connection]
platzhirsch has quit [Quit: WeeChat 1.4]
vuoto has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
f3ttX] has quit [Ping timeout: 250 seconds]
tomphp has quit [Ping timeout: 268 seconds]
f3ttX] has joined #ruby
bathtub_shark has joined #ruby
senayar has quit []
hfp_work has quit [Ping timeout: 252 seconds]
hfp has quit [Ping timeout: 256 seconds]
binaryplease has joined #ruby
igniting has joined #ruby
hfp has joined #ruby
f3ttX] has quit [Ping timeout: 256 seconds]
hfp_work has joined #ruby
f3ttX] has joined #ruby
Elemenn has joined #ruby
f3ttX] has quit [Remote host closed the connection]
dasher00 has joined #ruby
mati_urunda has joined #ruby
Pupeno has quit [Quit: Leaving...]
blackmesa has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
nikivi has quit [Read error: Connection reset by peer]
unknowns2k2 has quit [Quit: unknowns2k2]
Joufflu has joined #ruby
Elemenn has quit [Ping timeout: 250 seconds]
byte512 has quit [Ping timeout: 245 seconds]
OnyxRaven has quit [Ping timeout: 244 seconds]
Pupeno has joined #ruby
karapetyan has joined #ruby
hfp_work has quit [Ping timeout: 256 seconds]
hfp_work has joined #ruby
Elemenn has joined #ruby
Humdai has quit [Quit: Leaving]
OnyxRaven has joined #ruby
nikivi has joined #ruby
karapetyan has quit [Ping timeout: 248 seconds]
_sfiguser has joined #ruby
pec has quit [Remote host closed the connection]
unreal has quit [Ping timeout: 260 seconds]
tomphp has joined #ruby
raul782 has quit [Remote host closed the connection]
raul782 has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
Elemenn has quit [Ping timeout: 250 seconds]
raul782 has quit [Remote host closed the connection]
SteenJobs has quit [Quit: SteenJobs]
raul782 has joined #ruby
railssmith has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bathtub_shark has quit [Ping timeout: 256 seconds]
raul782 has quit [Remote host closed the connection]
raul782 has joined #ruby
TomyWork has quit [Ping timeout: 256 seconds]
[Butch]_ has joined #ruby
lenwood has quit [Ping timeout: 246 seconds]
tercenya has quit [Remote host closed the connection]
tercenya has joined #ruby
unreal has joined #ruby
claudiuinberlin has joined #ruby
bathtub_shark has joined #ruby
Nicmavr has joined #ruby
banisterfiend has joined #ruby
[Butch] has quit [Ping timeout: 258 seconds]
ycyclist has joined #ruby
<headius> dminuoso: Ruboto is indeed "just JRuby"
terlar has joined #ruby
[Butch]_ has quit [Ping timeout: 256 seconds]
muelleme has joined #ruby
<ycyclist> Say, I look at "ruby -e 'puts $:'' but I don't get the present directories I am consuming things with require. I am pulling in things that are in places like ../../../../a/b/c, where a is in $HOME. Can someone tell me where else to look for the require set?
Jardayn has quit [Read error: Connection reset by peer]
[Butch]_ has joined #ruby
nikivi has quit [Read error: Connection reset by peer]
fmcgeough has joined #ruby
Elemenn has joined #ruby
unknowns2k2 has joined #ruby
vuoto has quit [Remote host closed the connection]
<eam> ycyclist: I'm not quite sure what you're asking, could you rephrase?
unknowns2k2 has quit [Client Quit]
tvw has joined #ruby
<ycyclist> I have a thing a in $HOME/A. I am in $HOME/B. I cannot find out how a statement require 'a' is working finding a.
whippythellama has quit [Ping timeout: 245 seconds]
<eam> gotcha. AFAIK $: and the gem loading logic are the two things that drive require search paths
<ycyclist> I looked at $:. It does not have the answer.
<eam> how about stuff like GEM_HOME?
<ycyclist> it is not a gem.
<eam> could you share the code in question?
Elemenn has quit [Quit: EliteBNC free bnc service - http://elitebnc.org - be a part of the Elite!]
<ycyclist> No GEM_HOME nor LOAD* env variables are defined.
<ycyclist> Nope. Cannot.
<ycyclist> I am using cucumber. Could it be a configuration somewhere in cucumber that is special?
bathtub_shark has quit [Ping timeout: 260 seconds]
<eam> sure, modules or gems can modify these settings
<ycyclist> Ok. Well I appreciate your feedback. Thank you.
<eam> no prob
brianpWins has quit [Ping timeout: 260 seconds]
brianpWins has joined #ruby
Cohedrin has joined #ruby
nikivi has joined #ruby
nettoweb has joined #ruby
brianpWins has quit [Client Quit]
bmurt has joined #ruby
nikivi has quit [Read error: Connection reset by peer]
jcao219 has joined #ruby
nikivi has joined #ruby
conta has quit [Ping timeout: 256 seconds]
Definity has joined #ruby
Nicmavr has quit [Quit: Page closed]
johnmccabe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fullofcaffeine has joined #ruby
maokomioko has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
datanoise has joined #ruby
[Butch]_ has quit [Quit: I'm out . . .]
datanoise has quit [Client Quit]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
railssmith has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
ResidentBiscuit has joined #ruby
nikivi has quit [Quit: irc]
nikivi has joined #ruby
_2easy has joined #ruby
nelsonsar has joined #ruby
nelsonsar_ has joined #ruby
nelsonsar_ has quit [Client Quit]
hutch34 has quit [Ping timeout: 260 seconds]
N0B0 has joined #ruby
_2easy has quit [Client Quit]
_2easy has joined #ruby
unknowns2k2 has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
N0B0 has quit [Ping timeout: 244 seconds]
nofxx has quit [Remote host closed the connection]
nikivi has quit [Read error: Connection reset by peer]
benlieb has quit [Quit: benlieb]
elifoster has joined #ruby
bmurt has joined #ruby
maokomioko has quit [Quit: Textual IRC Client: www.textualapp.com]
maokomioko has joined #ruby
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackmesa has quit [Ping timeout: 256 seconds]
bturker has joined #ruby
kirun has joined #ruby
sogard has quit [Ping timeout: 260 seconds]
Fernando-Basso has quit [Quit: WeeChat 1.5]
kbdkode has joined #ruby
Fernando-Basso has joined #ruby
svankmajer has quit [Quit: leaving]
banisterfiend has quit [Ping timeout: 246 seconds]
domgetter has quit [Ping timeout: 250 seconds]
Tempesta has quit [Ping timeout: 260 seconds]
jordanm has joined #ruby
hutch34 has joined #ruby
nikivi has joined #ruby
bturker has quit [Ping timeout: 256 seconds]
nettoweb has joined #ruby
Tempesta has joined #ruby
Tempesta has joined #ruby
Tempesta has quit [Changing host]
_2easy has quit [Quit: leaving]
_2easy has joined #ruby
disconnekted has joined #ruby
Renich has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
hutch34 has quit [Ping timeout: 246 seconds]
claudiuinberlin has joined #ruby
johnny56 has quit [Ping timeout: 246 seconds]
jcao219 has quit [Ping timeout: 260 seconds]
claudiuinberlin has quit [Remote host closed the connection]
emilkarl has joined #ruby
nikivi has quit [Read error: Connection reset by peer]
claudiuinberlin has joined #ruby
maokomioko has quit [Quit: Textual IRC Client: www.textualapp.com]
hutch34 has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zeroDi has joined #ruby
ur5us has joined #ruby
serard has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
raul782 has quit [Remote host closed the connection]
jcao219 has joined #ruby
ramfjord has joined #ruby
naprimer_3 has joined #ruby
Mike777 has joined #ruby
bocaneri has quit [Read error: Connection reset by peer]
naprimer_2 has quit [Ping timeout: 246 seconds]
ledestin has quit [Ping timeout: 248 seconds]
fmcgeough has joined #ruby
Rutix`away is now known as Rutix
exadeci has quit []
ledestin has joined #ruby
unknowns2k2 has quit [Quit: unknowns2k2]
Rutix has quit [Read error: Connection reset by peer]
s1kx has joined #ruby
whippythellama has joined #ruby
binaryplease has quit [Quit: binaryplease]
bathtub_shark has joined #ruby
xall has quit [Ping timeout: 256 seconds]
libastral has quit [Quit: ZNC 1.6.3 - http://znc.in]
Elemenn has joined #ruby
emilkarl has quit [Quit: Textual IRC Client: www.textualapp.com]
chouhoulis has quit [Remote host closed the connection]
raul782 has joined #ruby
disconnekted has quit [Remote host closed the connection]
SteenJobs has joined #ruby
SCHAAP137 has quit [Quit: Leaving]
raul782 has quit [Remote host closed the connection]
Illianthe has quit [Ping timeout: 246 seconds]
johnny56 has joined #ruby
Definity2 has joined #ruby
Definity has quit [Ping timeout: 256 seconds]
kriskropd has quit [Quit: WeeChat 0.4.2]
Elemenn has quit [Ping timeout: 250 seconds]
kriskropd has joined #ruby
bathtub_shark has quit [Ping timeout: 256 seconds]
jphase_ has joined #ruby
lacour has joined #ruby
Rutix has joined #ruby
Rutix has joined #ruby
Rutix has quit [Changing host]
conta has joined #ruby
johnny56 has quit [Ping timeout: 246 seconds]
Ishido has quit [Read error: Connection reset by peer]
jphase has quit [Ping timeout: 240 seconds]
Snickers has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
N0B0 has joined #ruby
N0B0 has quit [Remote host closed the connection]
lacour has quit [Client Quit]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
N0B0 has joined #ruby
bathtub_shark has joined #ruby
gusrub has joined #ruby
conta has quit [Ping timeout: 256 seconds]
agit0 has joined #ruby
muelleme has quit [Ping timeout: 258 seconds]
dnicole has quit [Remote host closed the connection]
gusrub has quit [Client Quit]
Mike777 has quit [Remote host closed the connection]
johnmilton has quit [Remote host closed the connection]
hutch34 has quit [Ping timeout: 256 seconds]
xall has joined #ruby
N0B0 has quit [Quit: ragequit]
dogweather has quit [Remote host closed the connection]
johnny56 has joined #ruby
nettoweb has quit [Ping timeout: 250 seconds]
vuoto has joined #ruby
Ishido has joined #ruby
alan_w has quit [Quit: WeeChat 1.4]
nettoweb has joined #ruby
griffindy has joined #ruby
unknowns2k2 has joined #ruby
ledestin has quit [Quit: Textual IRC Client: www.textualapp.com]
truenito has quit [Ping timeout: 265 seconds]
Mike777 has joined #ruby
Rutix has quit []
SteenJobs has quit [Quit: SteenJobs]
Mike777 has quit [Remote host closed the connection]
ryanlong has joined #ruby
ryanlong has left #ruby [#ruby]
johnny56_ has joined #ruby
Elemenn has joined #ruby
johnny56 has quit [Ping timeout: 246 seconds]
sami has quit [Ping timeout: 246 seconds]
hutch34 has joined #ruby
cajone has left #ruby [#ruby]
Pumukel has joined #ruby
sami has joined #ruby
ResidentBiscuit has quit [Read error: Connection reset by peer]
its_over_9000 has quit [Quit: Connection closed for inactivity]
ramfjord has quit [Quit: leaving]
Elemenn has quit [Ping timeout: 250 seconds]
jcao219 has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
bathtub_shark has quit [Ping timeout: 240 seconds]
sparch has quit [Quit: bejomimliga]
hutch34 has quit [Ping timeout: 250 seconds]
Pupeno has quit [Remote host closed the connection]
agit0 has quit [Quit: zzzZZZ….]
ldnunes has quit [Quit: Leaving]
_2easy has quit [Ping timeout: 260 seconds]
fullofcaffeine has quit [Remote host closed the connection]
vuoto has quit [Remote host closed the connection]
buglessdr has quit [Remote host closed the connection]
buglessdr has joined #ruby
saslam has quit [Ping timeout: 248 seconds]
rfoust has joined #ruby
cajone has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
bathtub_shark has joined #ruby
_2easy has joined #ruby
jcao219 has joined #ruby
Elemenn has joined #ruby
f3ttX] has joined #ruby
saslam has joined #ruby
kriskropd has quit [Quit: WeeChat 0.4.2]
_sfiguser has quit [Ping timeout: 256 seconds]
ereslibre has joined #ruby
kriskropd has joined #ruby
ereslibre has quit [Client Quit]
_2easy has quit [Ping timeout: 250 seconds]
pskosinski has joined #ruby
gingray has joined #ruby
jphase_ is now known as jphase
rfoust has quit [Ping timeout: 258 seconds]
elifoster has quit [Quit: out]
unknowns2k2 has quit [Quit: unknowns2k2]
<pskosinski> Hey ho. Was there a big change in Ruby GUI toolkits in last half year? Is there anything worth trying?
fullofcaffeine has joined #ruby
johnny56_ has quit [Quit: WeeChat 1.4-dev]
* pskosinski sees that shoes 4 development halted :(
johnny56 has joined #ruby
<adam12> :|
unknowns2k2 has joined #ruby
huddy has quit [Quit: Connection closed for inactivity]
_2easy has joined #ruby
_2easy has joined #ruby
_2easy has quit [Changing host]
benlieb has joined #ruby
<pskosinski> Or not. There's activity in Github repo, I looked only on blog before.
saslam has quit [Ping timeout: 256 seconds]
Elemenn has quit [Ping timeout: 250 seconds]
darrin_s has joined #ruby
f3ttX] has quit [Remote host closed the connection]
hutch34 has joined #ruby
f3ttX] has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
nelsonsar has quit [Remote host closed the connection]
fullofcaffeine has joined #ruby
nelsonsar has joined #ruby
bathtub_shark has quit [Ping timeout: 260 seconds]
serard has quit [Ping timeout: 268 seconds]
libastral has joined #ruby
_sfiguser has joined #ruby
hutch34 has quit [Ping timeout: 260 seconds]
f3ttX] has quit [Ping timeout: 250 seconds]
synthroid has joined #ruby
fullofcaffeine has quit [Ping timeout: 258 seconds]
f3ttX] has joined #ruby
tpendragon has quit [Ping timeout: 256 seconds]
nelsonsar has quit [Ping timeout: 244 seconds]
Dragonai has joined #ruby
f3ttX] has quit [Ping timeout: 258 seconds]
f3ttX] has joined #ruby
gizmore|2 is now known as gizmore
muelleme has joined #ruby
<chrisseaton> pskosinski: JRuby with JFX looks good
<chrisseaton> There was a talk mentioning it at RubyConf - video on YouTube
AnoHito has quit [Ping timeout: 245 seconds]
<pskosinski> chrisseaton: Thanks! :) Eh, I so hate Java and try to avoid it but I see that really many interesting apps are being developed in Java, so I guess I have to surrender finally
claudiuinberlin has joined #ruby
dogweather has joined #ruby
nelsonsar has joined #ruby
<chrisseaton> pskosinski: as you say, it's the only thing going for Ruby GUIs
unknowns2k2 has quit [Quit: unknowns2k2]
f3ttX] has quit [Ping timeout: 265 seconds]
f3ttX] has joined #ruby
marr has quit [Ping timeout: 245 seconds]
Jackneill_ has joined #ruby
hutch34 has joined #ruby
f3ttX] has quit [Ping timeout: 245 seconds]
SteenJobs has joined #ruby
f3ttX] has joined #ruby
AnoHito has joined #ruby
marxarelli|afk is now known as marxarelli
jschoolcraft has quit [Quit: peace]
jschoolcraft has joined #ruby
hutch34 has quit [Ping timeout: 245 seconds]
f3ttX] has quit [Ping timeout: 240 seconds]
f3ttX] has joined #ruby
ycyclist has quit [Ping timeout: 260 seconds]
tyang has quit [Quit: Leaving]
Pumukel has quit [Quit: ChatZilla 0.9.93 [Firefox 50.0/20161104212021]]
jschoolcraft has quit [Client Quit]
nikivi has joined #ruby
jschoolcraft has joined #ruby
f3ttX] has quit [Ping timeout: 246 seconds]
f3ttX] has joined #ruby
Dragonai has quit [Quit: zzz]
bathtub_shark has joined #ruby
bturker has joined #ruby
synthroid has quit []
Guest2 has joined #ruby
agit0 has joined #ruby
codfection has quit [Remote host closed the connection]
Salih has quit [Quit: Leaving]
f3ttX] has quit [Ping timeout: 250 seconds]
f3ttX] has joined #ruby
firstdayonthejob has joined #ruby
bturker has quit [Ping timeout: 256 seconds]
biberu has quit [Read error: Connection reset by peer]
Elemenn has joined #ruby
hutch34 has joined #ruby
f3ttX] has quit [Ping timeout: 245 seconds]
f3ttX] has joined #ruby
<bougyman> hrm.
dionysus69 has quit [Ping timeout: 260 seconds]
<bougyman> there's a way to have an instance do something when ruby exits, right?
ramfjord has quit [Ping timeout: 265 seconds]
last_staff has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
nikivi has quit [Read error: Connection reset by peer]
<bougyman> I mean, I know Kernel.at_exit, but don't know exactly where to put it, I guess.
workmad3 has quit [Ping timeout: 256 seconds]
claudiuinberlin has quit [Remote host closed the connection]
Elemenn has quit [Ping timeout: 250 seconds]
f3ttX] has quit [Ping timeout: 260 seconds]
f3ttX] has joined #ruby
fullofcaffeine has joined #ruby
claudiuinberlin has joined #ruby
nikivi has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
Elemenn has joined #ruby
muelleme has quit [Ping timeout: 258 seconds]
SteenJobs has joined #ruby
binaryplease has joined #ruby
bmurt has joined #ruby
f3ttX] has quit [Ping timeout: 250 seconds]
AnoHito has quit [Read error: Connection reset by peer]
f3ttX] has joined #ruby
Nicmavr has joined #ruby
ace05 has quit [Remote host closed the connection]
frozengeek____ has quit [Remote host closed the connection]
Pupeno has joined #ruby
Pupeno has joined #ruby
Pupeno has quit [Changing host]
AnoHito has joined #ruby
zeroDi has quit [Quit: WeeChat 1.6]
SteenJobs has quit [Client Quit]
f3ttX] has quit [Ping timeout: 256 seconds]
Rutix has joined #ruby
Rutix has joined #ruby
Rutix has quit [Changing host]
marxarelli is now known as marxarelli|afk
f3ttX] has joined #ruby
s1kx has quit [Quit: bai]
raul782 has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
symm- has joined #ruby
hutch34 has joined #ruby
jcao219 has quit [Ping timeout: 250 seconds]
f3ttX] has quit [Ping timeout: 246 seconds]
fullofca_ has joined #ruby
Elemenn has quit [Quit: EliteBNC free bnc service - http://elitebnc.org - be a part of the Elite!]
f3ttX] has joined #ruby
shinnya has joined #ruby
Dragonai has joined #ruby
doublemalt_ has joined #ruby
yuki_is_bored has quit [Ping timeout: 268 seconds]
Illianthe has joined #ruby
Pupeno has quit [Remote host closed the connection]
Pupeno has joined #ruby
hutch34 has quit [Ping timeout: 245 seconds]
nikivi has quit [Read error: Connection reset by peer]
_2easy has quit [Ping timeout: 245 seconds]
yuki_is_bored has joined #ruby
f3ttX] has quit [Ping timeout: 260 seconds]
doublemalt__ has quit [Ping timeout: 244 seconds]
f3ttX] has joined #ruby
pawnbox has quit [Remote host closed the connection]
leitz has joined #ruby
atmosx has joined #ruby
pawnbox has joined #ruby
lenwood has joined #ruby
Pupeno has quit [Ping timeout: 250 seconds]
pawnbox has quit [Remote host closed the connection]
Elemenn has joined #ruby
tomphp has joined #ruby
railswebdev has joined #ruby
maloik has quit [Remote host closed the connection]
_2easy has joined #ruby
raul782 has quit [Remote host closed the connection]
maloik has joined #ruby
blackmesa has joined #ruby
f3ttX] has quit [Ping timeout: 244 seconds]
doublemalt_ has quit [Ping timeout: 260 seconds]
f3ttX] has joined #ruby
Azure has quit [Ping timeout: 260 seconds]
f3ttX] has quit [Remote host closed the connection]
lenwood has quit [Ping timeout: 246 seconds]
_2easy has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
toc has quit [Ping timeout: 244 seconds]
_2easy has joined #ruby
last_staff has quit [Quit: last_staff]
Elemenn has quit [Ping timeout: 250 seconds]
nikivi has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dogweather has quit [Remote host closed the connection]
dnicole has joined #ruby
ramfjord has quit [Ping timeout: 245 seconds]
hutch34 has joined #ruby
bathtub_shark has quit [Ping timeout: 260 seconds]
platzhirsch has joined #ruby
saslam has joined #ruby
saslam has quit [Client Quit]
saslam has joined #ruby
dnicole has quit [Ping timeout: 260 seconds]
ramfjord has joined #ruby
doublemalt_ has joined #ruby
rwb has quit [Ping timeout: 246 seconds]
nikivi has quit [Read error: Connection reset by peer]
chrisja has joined #ruby
toc has joined #ruby
Guest2 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nikivi has joined #ruby
claudiuinberlin has quit []
saslam has quit [Ping timeout: 248 seconds]
Elemenn has joined #ruby
serard has joined #ruby
augcesar has quit [Quit: Connection closed for inactivity]
nikivi has quit [Read error: Connection reset by peer]
cibs has quit [Ping timeout: 268 seconds]
Pupeno has joined #ruby
GodFather has quit [Ping timeout: 250 seconds]
cibs has joined #ruby
ICantCook has joined #ruby
SteenJobs has joined #ruby
bathtub_shark has joined #ruby
benlieb has quit [Quit: benlieb]
miqlas-H has joined #ruby
dionysus69 has joined #ruby
nelsonsar has quit [Remote host closed the connection]
psychicist__ has quit [Ping timeout: 258 seconds]
nikivi has joined #ruby
nelsonsar has joined #ruby
jcao219 has joined #ruby
terlar has quit [Ping timeout: 260 seconds]
Elemenn has quit [Ping timeout: 250 seconds]
leitz has quit [Quit: Nappy time]
nelsonsar has quit [Ping timeout: 241 seconds]
bathtub_shark has quit [Ping timeout: 260 seconds]
nikivi has quit [Read error: Connection reset by peer]
nettoweb1 has joined #ruby
nettoweb has quit [Ping timeout: 250 seconds]
d5sx43 has joined #ruby
workmad3 has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
_2easy has quit [Ping timeout: 250 seconds]
fullofca_ has quit [Read error: Connection reset by peer]
fullofcaffeine has joined #ruby
raul782 has joined #ruby
d5sx43 has quit [Quit: Leaving...]
gingray has quit [Ping timeout: 246 seconds]
ramortegui has quit [Quit: Ex-Chat]
raul782 has quit [Remote host closed the connection]
toc has quit [Quit: Leaving]
kirun has quit [Quit: Konversation terminated!]
rwb has joined #ruby
l33n has joined #ruby
scripore has joined #ruby
Definity2 has quit [Ping timeout: 256 seconds]
scripore has quit [Client Quit]
nelsonsar has joined #ruby
binaryplease has quit [Ping timeout: 245 seconds]
CasaBlanco has joined #ruby
<CasaBlanco> anyone here can you plz help me with my assembly mips hw?
<l33n> i have a ruby server running on port 2000 on a virtual machine, with a bridged connectino to the host computer, however, I am unable to connect to the server: when i type in the web address of the server and the port "192.168.69.21:2000" it says i am unable to connect to the server, any thoughts?
<eam> l33n: you'll want to get the specific connection error. Is it refused? Is it a timeout? These distinctions matter
darrin_s has quit [Remote host closed the connection]
<eam> CasaBlanco: is it assembly for a ruby virtual machine?
tpendragon has joined #ruby
<CasaBlanco> uh yea
<CasaBlanco> Write a program to calculate the rent of a user defined space and dimensions. The total rent should allow the calculation of three primary shapes(squares, rectangles, & circles). First the shape must be defined, then the dimensions will be entered and then the rent is based on the area times the cost per square foot(20 dollars per square foot). Use labels & prompts.
mati_urunda has quit [Ping timeout: 260 seconds]
<eam> CasaBlanco: what are your thoughts on how to approach that problem?
Illianthe has quit [Ping timeout: 246 seconds]
<l33n> eam, its "This site cant be reached"
<CasaBlanco> tbh I have no idea
<l33n> "ERR_CONNECTION_RESET"
<eam> connection reset means the TCP connection was established, but then terminated
<eam> you should check the server logs to see why
<eam> that specific error rules out a whole class of problems around having no connection at all
A124 has quit [Remote host closed the connection]
art-solopov has joined #ruby
<eam> CasaBlanco: can you break the problem into smaller pieces which you do know how to solve?
<CasaBlanco> yes
cdg_ has quit [Remote host closed the connection]
<eam> a good approach would be to break each program component into bits which you solve, then sketch out how they can be fit back together
Rodya_ has quit [Remote host closed the connection]
<l33n> eam, im pretty new, how to access the server log
<eam> it doesn't look like you have made one
mtkd has quit [Ping timeout: 268 seconds]
<l33n> ok
<eam> you're pointing a browser at this?
<l33n> yeah, i can access it through localhost:2000
<eam> TCPServer isn't an HTTP server, it's a plain old TCP socket server
<l33n> ah ok
<eam> your problem is probably that it's not speaking the HTTP protocol
<l33n> i see
<eam> there are other gems for a http server, though I'm not sure which I'd recommend (others here might have opinions)
<elomatreb> eam: "HyperTextT Transfer Protocol Protocol"?
<elomatreb> :P
workmad3 has quit [Ping timeout: 256 seconds]
A124 has joined #ruby
<eam> elomatreb: it's a good thing an acronym's role in grammar isn't to be literally expanded ;)
mtkd has joined #ruby
GodFather has joined #ruby
malconis has quit [Read error: Connection reset by peer]
<l33n> can i access the tcp server though a web address, do browsers use other protocols aside from html
<l33n> er
<l33n> http
<l33n> and https
hutch34 has quit [Ping timeout: 252 seconds]
<elomatreb> Browsers speak multiple protocols, HTTP, Websockets, sometimes FTP, etc
<l33n> can i accesss a tcp server through a web address
<elomatreb> TLS is a bit of a special case because it's just a encrypted layer, over which you can speak almost anything
Rodya_ has joined #ruby
<elomatreb> l33n: Probably not with a browser, no. Maybe try telnet?
<eam> it really depends on the browser
<l33n> ok
<eam> some talk telnet, gopher, websockets, etc
<l33n> im just trying to figure out how to write an ajax function with this tcp server
<elomatreb> netcat can be useful for some simple things too
bairyn is now known as bairyn_
bairyn_ has quit []
<eam> I have a ruby question: What's your one-liner to generate a random MAC address?
dogweather has joined #ruby
<elomatreb> l33n: Ajax is just HTTP, you should probably use an actual HTTP server instead of building one yourself
ByronJoh1son has joined #ruby
ByronJoh1son is now known as bairyn
bairyn is now known as Guest91701
CasaBlanco has quit [Ping timeout: 260 seconds]
Guest91701 has quit [Changing host]
Guest91701 has joined #ruby
<eam> here's what I came up with: Array.new(6) {[*"a".."f",*"0".."9"].sample(2).join}.join ":"
Pupeno has quit [Remote host closed the connection]
siaw23 has joined #ruby
ropeney has joined #ruby
Guest91701 has quit [Client Quit]
Fernando-Basso has quit [Quit: WeeChat 1.6]
<l33n> elomatreb, i have another server i made through a rails project, it listens on port 3000, i can connect to it through localhost:3000 on the virtual machine, but when i try to access it on the host, i get 192.168.69.21 refused to connect.
<l33n> the rails one is http i believe
<toretore> that's a network configuration issue
<toretore> (most likely)
dogweather has quit [Ping timeout: 240 seconds]
nikivi has joined #ruby
art-solopov has quit [Quit: Konversation terminated!]
bairyn_ has joined #ruby
<siaw23> hi, i’m using “require_relative '../lib/ruby-go’” but i get the error “uninitialized constant Game (NameError)” and this is how my file hierachy looks like. can’t figure out why. i’m running the file in bin/ruby-go.rb https://gyazo.com/43ed0da83777e5473cebc8e7693c63b9 and this is the content: https://gist.github.com/siaw23/ce1cf952948a51173ceaec3380a6a884
<siaw23> what could i be doing wrongly?
<havenwood> eam: how about?: require 'securerandom'; SecureRandom.hex(6).scan(/../).join ':'
<eam> ooh I like that one
CasaBlanco has joined #ruby
bturker has joined #ruby
nelsonsar has quit [Remote host closed the connection]
bairyn_ has quit [Client Quit]
<l33n> toretore, how to find out?
nelsonsar has joined #ruby
cloaked1 has quit [Ping timeout: 260 seconds]
<toretore> l33n: the docs for the vm type you're using should tell you how to expose a port
bairyn has joined #ruby
nelsonsar has quit [Remote host closed the connection]
<l33n> ok ty
nelsonsar has joined #ruby
doublemalt_ has quit [Ping timeout: 260 seconds]
nikivi has quit [Read error: Connection reset by peer]
bathtub_shark has joined #ruby
CloCkWeRX has joined #ruby
Elemenn has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
hutch34 has joined #ruby
nelsonsar has quit [Ping timeout: 245 seconds]
nettoweb1 has quit [Ping timeout: 256 seconds]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
pragmaticus has quit [Ping timeout: 260 seconds]
nettoweb has joined #ruby
nettoweb has quit [Client Quit]
<siaw23> hi, i’m using “require_relative '../lib/ruby-go’” but i get the error “uninitialized constant Game (NameError)” and this is how my file hierachy looks like. can’t figure out why. i’m running the file in bin/ruby-go.rb https://gyazo.com/43ed0da83777e5473cebc8e7693c63b9 and this is the content: https://gist.github.com/siaw23/ce1cf952948a51173ceaec3380a6a884
Dragonai has quit [Quit: zzz]
<siaw23> any help?
<havenwood> eam: or i guess it's a bit nicer to: Array.new(6) { SecureRandom.hex 1 }.join ':'
<l33n> got it to work by "rails s -b 0.0.0.0"
Dragonai has joined #ruby
hutch34 has quit [Ping timeout: 268 seconds]
<eam> havenwood: that's way nicer
<eam> here's something uglier: SecureRandom.hex(6).gsub /(..)(?=.)/, '\1:'
<havenwood> hah, yeah i was thinking gsub too
<eam> using a zero-width expression is a sure sign you shouldn't be doing whatever it is you're doing
Elemenn has quit [Ping timeout: 250 seconds]
ur5us has quit [Ping timeout: 246 seconds]
nikivi has joined #ruby
l33n has quit [Quit: Leaving]
<havenwood> siaw23: It's good practice to use #require_paths= in your gemspec so your $LOAD_PATH includes the lib directory ("lib" is the default value). Then you can just: require 'ruby-go'
<havenwood> siaw23: usually you omit the .rb extension from your executable, so bin/ruby-go instead of bin/ruby-go.rb
<havenwood> siaw23: The naming convention is to use underscores for something like RubyGo, see: http://guides.rubygems.org/name-your-gem/
Elemenn has joined #ruby
<havenwood> siaw23: Do you mean RubyGo::Game (or whatever ruby-go is in your case) when you say Game?
dionysus69 has quit [Ping timeout: 241 seconds]
d5sx43 has joined #ruby
Pupeno has joined #ruby
Alina-malina has quit [Ping timeout: 246 seconds]
<siaw23> havenwood: yes
charliesome has joined #ruby
Nicmavr has quit [Quit: Page closed]
<havenwood> siaw23: You just need to use the namespaced RubyGo::Game instead of Game.
<siaw23> havenwood: right. working now. thank you :)
<havenwood> siaw23: you're welcome, happy hacking!
banisterfiend has joined #ruby
hutch34 has joined #ruby
Elemenn has quit [Ping timeout: 250 seconds]
griffindy has quit [Ping timeout: 244 seconds]
JoshS has joined #ruby
bathtub_shark has quit [Ping timeout: 246 seconds]
Pupeno has quit [Remote host closed the connection]
banisterfiend has quit [Ping timeout: 248 seconds]
hutch34 has quit [Ping timeout: 250 seconds]
skweek has quit [Ping timeout: 245 seconds]
d5sx43 has quit [Remote host closed the connection]
tylermcginnis has joined #ruby
tylermcginnis has left #ruby [#ruby]
jackjackdripper has joined #ruby
Pupeno has joined #ruby
tylermcginnis has joined #ruby
tylermcginnis has left #ruby [#ruby]
Azure has joined #ruby
Snickers has joined #ruby
sagax has quit [Read error: Connection reset by peer]
jackjackdripper has quit [Quit: Leaving.]
peyton has joined #ruby
sinktyler has joined #ruby
sinktyler has quit [Client Quit]
smlocal has joined #ruby
<peyton> I'm a little confused about the use of the modulus operator. So if I was to have a variable set to 23 % 2 the variable would 5?
<peyton> *would be equal to
<matthewd> peyton: How'd you come to 5?
<Joufflu> output would be 1
alan_w has joined #ruby
polysics has quit [Remote host closed the connection]
<peyton> Because 23/2 is 11.5 so I figured it would be the the number after the decimal
DLSteve has joined #ruby
<matthewd> 23/2 is 11 (integer division); 2*11=22; 23-22 = 1
<Joufflu> peyton: its basically the remainder like we did back when would do division
whippythellama has quit [Quit: WeeChat 1.4]
<Joufflu> 23/2 is 11 with a remainder of 1
<peyton> Ohhhhh
<peyton> I had thought that the remainder would be the decimal value.
<peyton> Alright, thank.s
<Joufflu> no decimals
<Joufflu> integars (whole numbers)
jackjackdripper has joined #ruby
Nicmavr has joined #ruby
<Joufflu> peyton: np
Nicmavr is now known as Guest63196
<peyton> Alright, excellent thank you. I was horribly confused. I'm really new to programming.
d5sx43 has joined #ruby
Dobler has joined #ruby
<havenwood> peyton: In irb or pry try `23 / 2`, `23 % 2` and `23.divmod 2`
<Joufflu> peyton: ah ok. yeah just remember that everything you're learning will sometimes make you think harder than you should, always take a step back and just be like "man I might be over thinking this"
<havenwood> >> [23.div(2), 23.modulo(2)] == 23.divmod(2)
<ruby[bot]> havenwood: # => true (https://eval.in/684331)
<Joufflu> best of luck
bathtub_shark has joined #ruby
<peyton> joufflu: thanks. I'll try and not overcomplicate stuff. So far I'm enjoying quite a bit.
<peyton> Thanks for the help!
peyton has quit [Quit: Lost terminal]
Pupeno has quit [Remote host closed the connection]
<Joufflu> nice
<havenwood> peyton: Compare `23.div(2)` or its shorthand `23 / 2` with `23.fdiv(2)`
<havenwood> I'm too slow.
firstdayonthejob has quit [Ping timeout: 246 seconds]
Pupeno has joined #ruby
<havenwood> 23/2r \o/
Elemenn has joined #ruby
JoshS has quit [Read error: Connection reset by peer]
Guest63196 has quit [Read error: Connection reset by peer]
echosystm has joined #ruby
<echosystm> is a single puma process typically enough to max out a server?
xall has quit [Ping timeout: 252 seconds]
bayed has quit [Quit: Connection closed for inactivity]
d5sx43 has quit [Remote host closed the connection]
koooge has joined #ruby
Olipro has quit [Ping timeout: 260 seconds]
Pupeno has quit [Ping timeout: 256 seconds]
<havenwood> echosystm: It entirely depends. Try it!
nitrix has quit [Read error: Connection reset by peer]
Elemenn has quit [Ping timeout: 250 seconds]
rrichardsr3 has quit [Quit: Connection closed for inactivity]
<echosystm> no YOU try it :D
<echosystm> and then let me know :D
<echosystm> jk lel
<echosystm> alright well. given GIL, i'm just going to assume i need 1 proc per core.
<echosystm> and not bother testing it.
bathtub_shark has quit [Ping timeout: 240 seconds]
<echosystm> however, my app needs to run background jobs at a certain time in various timezones (eg. midnight every tuesday in London, NY, etc)