havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.2, 2.3.5 & 2.2.8: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby || Books: https://goo.gl/wpGhoQ
<bambanx> am sorry i accidentally closed my irc client baweaver
<RickHull> metaprogramming is often used with reflection, e.g.
<havenwood> Tiny lemurs inside the lemur's head.
<bambanx> but i am reading all
<bambanx> lol
<bambanx> hehe
<RickHull> >> Object.const_get("String").new('foo').send("reverse")
<ruby[bot]> RickHull: # => "oof" (https://eval.in/901917)
heftig has quit [Read error: Connection reset by peer]
<baweaver> There's some logs for you
<baweaver> well off I go for now, cheers
cschneid_ has quit [Remote host closed the connection]
<havenwood> o/
<bambanx> hi
cschneid_ has joined #ruby
<al2o3-cr> bambanx: here an example of meta
<bambanx> When u said above "the coder writes code that writes/manipulates the code that will get executed" it means the code modificate the code files too?
<al2o3-cr> the most simple yet to understand
hutch34 has joined #ruby
heftig has joined #ruby
<bambanx> al2o3-cr, i am not pro in ruby, for me looks like a class with a function
cagomez has quit [Remote host closed the connection]
<al2o3-cr> bambanx: all explained here; https://www.youtube.com/watch?v=io34q2G4eOU
<bambanx> object oriented is a type of meta programming?
<al2o3-cr> bambanx: watch and you'll soon learn :)
<bambanx> ok al2o3-cr thanks you
<scientes> how do i turn "Identifier: Contents-deb" into {"Identifier" => "Contents-deb"}
<al2o3-cr> scientes: split on : then to_h
cschneid_ has quit [Ping timeout: 240 seconds]
<al2o3-cr> hang on
<al2o3-cr> derp
hutch34 has quit [Ping timeout: 248 seconds]
<al2o3-cr> >> ["Identifier: Contents-deb".split(':')].to_h
<ruby[bot]> al2o3-cr: # => {"Identifier"=>" Contents-deb"} (https://eval.in/901919)
<scientes> MetaKey: contrib/Contents-arm64
<scientes> ShortDesc: Contents-arm64
<scientes> Description: http://ftp.us.debian.org/debian experimental/contrib arm64 Contents (deb)
<scientes> Filename: /var/lib/apt/lists/ftp.us.debian.org_debian_dists_experimental_contrib_Contents-arm64.lz4
<scientes> Optional: yes
<scientes> KeepCompressed: yes
<scientes> Codename: experimental
scientes has left #ruby ["Leaving"]
<al2o3-cr> >> ["Identifier: Contents-deb".split(': ')].to_h
<ruby[bot]> al2o3-cr: # => {"Identifier"=>"Contents-deb"} (https://eval.in/901920)
scientes has joined #ruby
<scientes> damn
<RickHull> use a paste site scientes
<scientes> sorry about that. here is the data: https://gist.github.com/shawnl/90dfefa06370c60430ae723be83867a2
<scientes> you need an auto-kick bot like #C has
<scientes> I just copy-and-pasted into the paste site
<scientes> so it was still in my buffer
aroaminggeek has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<RickHull> ha, no worries
sammi` has quit [Quit: Lost terminal]
<shazbotmcnasty> RickHull: thanks man, I got it working
<shazbotmcnasty> phew
<havenwood> scientes: You angered the bot but not enough for it to lash out.
alveric2 has joined #ruby
<havenwood> >> "Identifier: Contents-deb\nanother: yerp".lines(chomp: true).map { |line| line.split(/:\s+/) }.to_h
<ruby[bot]> havenwood: # => no implicit conversion of Hash into String (TypeError) ...check link for more (https://eval.in/901921)
<havenwood> #=> {"Identifier"=>"Contents-deb", "another"=>"yerp"}
<havenwood> (`chomp: true` needs Ruby 2.4)
<havenwood> >> "Identifier: Contents-deb\nanother: yerp".lines.map { |line| line.chomp.split(/:\s+/) }.to_h
<ruby[bot]> havenwood: # => {"Identifier"=>"Contents-deb", "another"=>"yerp"} (https://eval.in/901922)
Devalo has joined #ruby
<havenwood> scientes: ^
<scientes> thanks
alveric1 has quit [Ping timeout: 255 seconds]
conta2 has joined #ruby
Devalo has quit [Ping timeout: 240 seconds]
tacoboy has quit [Quit: Konversation terminated!]
imode has joined #ruby
conta2 has quit [Ping timeout: 255 seconds]
UserOO7 has joined #ruby
UserOO7 has quit [Client Quit]
elphe has quit [Ping timeout: 255 seconds]
tacoboy has joined #ruby
Asher has quit [Quit: Leaving.]
<shazbotmcnasty> ugh more dependancy issues
<ruby[bot]> shazbotmcnasty: as I told you already, please use https://gist.github.com
milardovich has joined #ruby
<RickHull> shazbotmcnasty: are you using ruby 2.4 now?
<shazbotmcnasty> yes
<shazbotmcnasty> 2.4.1
saslam has quit [Ping timeout: 258 seconds]
<RickHull> don't worry about the 2.4.0 part, that's the convention for library paths
<RickHull> dunno - /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `require': incompatible library version - /opt/zammad/vendor/bundle/ruby/2.4.0/gems/http_parser.rb-0.6.0/lib/ruby_http_parser.so (LoadError)
milardov_ has quit [Ping timeout: 248 seconds]
<shazbotmcnasty> yeah i saw it but i don't know where to start on fixing it
<RickHull> what happens with `ruby -rhttp_parser -e'exit'`
<RickHull> confirm `ruby --version`
<RickHull> easier: `ruby -r http_parser -e exit`
enterprisey has quit [Ping timeout: 248 seconds]
<shazbotmcnasty> >ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux]
nowhere_man has quit [Ping timeout: 255 seconds]
elphe has joined #ruby
<shazbotmcnasty> THERE ruby[bot] jeez
<RickHull> ?botsnack
<ruby[bot]> nomnomnomnom
tacoboy has quit [Remote host closed the connection]
selim has quit [Ping timeout: 260 seconds]
<RickHull> shazbotmcnasty: try `gem install http_parser`
<RickHull> and then again `ruby -r http_parser -e exit`
<RickHull> also, do you have a rails console?
<RickHull> it might not load properly yet due to this error, not sure
<RickHull> also, you can check with #rubyonrails
selim has joined #ruby
<shazbotmcnasty> yeah same error after install http_parser
<RickHull> so `gem install http_parser` fails?
<RickHull> or `ruby -r http_parser -e exit` fails?
<shazbotmcnasty> the second one
<shazbotmcnasty> gem install worked
allcentury has quit [Remote host closed the connection]
<RickHull> what do you get for `gem list http_parser`
allcentury has joined #ruby
<shazbotmcnasty> *** LOCAL GEMS ***
<shazbotmcnasty> that's it lol
<RickHull> ok -- then `gem install http_parser` must have failed. can you try again, and paste the output
John__ has quit [Read error: Connection reset by peer]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
allcentury has quit [Ping timeout: 268 seconds]
<al2o3-cr> shazbotmcnasty: dont use sudo
nowhere_man has joined #ruby
lupine has quit [Remote host closed the connection]
lupine has joined #ruby
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shazbotmcnasty> al2o3-cr: 'you don't have write permissions for the /usr/local/rvm/gems/ruby......'
<shazbotmcnasty> if i don't sudo
<RickHull> that can make sense, but generally it's better to run an rvm environment with user permissions
<RickHull> try `sudo ruby -r http_parser -e exit`
<RickHull> not sure if that will use the sudo'd gems
Azure has quit [Quit: Oops.]
duckpuppy has joined #ruby
<RickHull> does this setup use bundler? how did rails get installed?
eckhardt has joined #ruby
<al2o3-cr> shazbotmcnasty: for one you shouldn't be using sudo with rvm
<al2o3-cr> we'll have to creep back to the beginning
<shazbotmcnasty> yeah i feel like I'm going to have to set up ruby all over again - this feels like a mess
<al2o3-cr> shazbotmcnasty: what does `rvm list` show?
plexigras has quit [Ping timeout: 268 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shazbotmcnasty> just 2.4.1
<shazbotmcnasty> I have to go, i'll have to pick this back up tomorrow. I'm on overtime and they won't like that.
hutch34 has joined #ruby
kitsunenokenja has joined #ruby
milardovich has quit [Read error: Connection reset by peer]
milardovich has joined #ruby
troys is now known as troys_
mjolnird has quit [Quit: Leaving]
govg has quit [Ping timeout: 248 seconds]
charliesome has joined #ruby
duckpuppy has quit [Ping timeout: 240 seconds]
orbyt_ has joined #ruby
plexigras has joined #ruby
<bambanx> any nice scraper gem?
<SeepingN> oxymoron
shazbotmcnasty has quit [Ping timeout: 248 seconds]
jackjackdripper has quit [Quit: Leaving.]
mjolnird has joined #ruby
bambanx has quit [Quit: Leaving]
plexigras has quit [Ping timeout: 240 seconds]
elphe has quit [Ping timeout: 248 seconds]
ramfjord has quit [Ping timeout: 248 seconds]
AnoHito_ has joined #ruby
al2o3-cr has quit [Quit: WeeChat 1.9.1]
shazbotmcnasty has joined #ruby
AnoHito has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby
marr has quit [Ping timeout: 248 seconds]
milardovich has quit [Read error: Connection reset by peer]
shinnya has joined #ruby
milardovich has joined #ruby
guardianx has joined #ruby
shazbotmcnasty has quit [Ping timeout: 248 seconds]
workmad3 has quit [Ping timeout: 248 seconds]
orbyt_ has quit [Read error: Connection reset by peer]
guacamole has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
scientes has quit [Ping timeout: 268 seconds]
vee__ has quit [Ping timeout: 255 seconds]
konsolebox has quit [Ping timeout: 268 seconds]
konsolebox has joined #ruby
Azure has joined #ruby
scientes has joined #ruby
scientes has quit [Changing host]
scientes has joined #ruby
vee__ has joined #ruby
jameser has joined #ruby
hutch34 has quit [Ping timeout: 260 seconds]
GodFather has quit [Read error: No route to host]
GodFather has joined #ruby
drowze has joined #ruby
oetjenj has joined #ruby
GodFather has quit [Ping timeout: 240 seconds]
konsolebox has quit [Ping timeout: 248 seconds]
konsolebox has joined #ruby
nicesignal has quit [Remote host closed the connection]
nicesignal has joined #ruby
patrick99e99 has quit [Ping timeout: 260 seconds]
orbyt_ has joined #ruby
cagomez has joined #ruby
aroaminggeek has joined #ruby
mson has quit [Quit: Connection closed for inactivity]
aroaminggeek has quit [Remote host closed the connection]
cagomez has quit [Ping timeout: 240 seconds]
aroaminggeek has joined #ruby
scientes has quit [Ping timeout: 260 seconds]
podlech has joined #ruby
milardovich has quit [Read error: Connection reset by peer]
milardovich has joined #ruby
d10n-work has quit [Quit: Connection closed for inactivity]
konsolebox has quit [Ping timeout: 248 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg has quit [Remote host closed the connection]
konsolebox has joined #ruby
statelesscode has joined #ruby
scientes has joined #ruby
scientes has quit [Changing host]
scientes has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hutch34 has joined #ruby
statelesscode has quit [Client Quit]
d^sh has quit [Ping timeout: 255 seconds]
konsolebox has quit [Ping timeout: 260 seconds]
statelesscode has joined #ruby
d^sh has joined #ruby
kryptoz has joined #ruby
konsolebox has joined #ruby
guardianx has quit []
gizmore|2 has joined #ruby
gizmore has quit [Ping timeout: 240 seconds]
roshanavand has quit [Ping timeout: 240 seconds]
quobo has quit [Quit: Connection closed for inactivity]
cdg has joined #ruby
cagomez has joined #ruby
kryptoz has quit [Remote host closed the connection]
cagomez has quit [Ping timeout: 248 seconds]
konsolebox has quit [Ping timeout: 255 seconds]
cdg has quit [Ping timeout: 258 seconds]
konsolebox has joined #ruby
scientes has quit [Ping timeout: 248 seconds]
hutch34 has quit [Ping timeout: 240 seconds]
hutch34 has joined #ruby
roshanavand has joined #ruby
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
konsolebox has quit [Ping timeout: 240 seconds]
kanobt61 has quit [Remote host closed the connection]
sammi` has joined #ruby
uZiel has joined #ruby
konsolebox has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
AnoHito has joined #ruby
milardovich has quit [Read error: Connection reset by peer]
AnoHito_ has quit [Ping timeout: 248 seconds]
milardovich has joined #ruby
enterprisey has joined #ruby
duncan_bayne has joined #ruby
konsolebox has quit [Ping timeout: 240 seconds]
vee__ has quit [Ping timeout: 248 seconds]
<duncan_bayne> Hey :) We've just upgraded a Rails 4 project from MRI 2.2.2 -> 2.4.2, and we're seeing some odd behaviour in some of our specs. Specifically, assertions that kept failing until Timeout#timeout gave up no longer raise Timeout::Error, and thus no longer time out.
<duncan_bayne> Are there are any known issues w/ Timeout in 2.4.2? Did the usual Googling for issues, etc., but couldn't find anything.
guardianx has joined #ruby
<Radar> duncan_bayne: This sounds awfully familiar.
<Radar> as in: I just heard this exact story at lunch time.
<Radar> do you work with Milewski?
<duncan_bayne> Radar: LOL yes :)
<Radar> :D
<Radar> Did he tell you that I suggested that he should try the latest Ruby and see if that fixes the issue?
<Radar> Also: do you see the issue on 2.3.x?
konsolebox has joined #ruby
<Radar> And if ruby-head works then he owes me lunch. So I have a somewhat vested interest.
<duncan_bayne> We're busy bisecting Ruby versions in an attempt to narrow it down
mjolnird has quit [Quit: Leaving]
<duncan_bayne> Radar: all of us in the office are having a laugh at this :)
alan_w has joined #ruby
<Radar> :D :D
<Radar> Looks like very little has changed for timeout.rb between v2_2_2 and trunk.
drowze has quit [Ping timeout: 240 seconds]
<duncan_bayne> Also I still need to bring my rspec electrocution rig to Melbourne Ruby and hook you up to it :)
<Radar> Yeah you never did follow through with that particular thread.
<duncan_bayne> If you place the little patches right you can provoke involuntary muscle spasms when your tests fail
konsolebox has quit [Ping timeout: 268 seconds]
<Radar> threat*
<duncan_bayne> Ended up having a third child which took up a lot of capacity
<Radar> I've already got one of those spasms under my right eye and that's enough spasming tyvm
<Radar> duncan_bayne: Do you have an MCVE for this issue you're seeing? https://stackoverflow.com/help/mcve
konsolebox has joined #ruby
vee__ has joined #ruby
guardianx has quit []
<duncan_bayne> Not unless you count 'run a particular spec in our suite that does not seem to be different to any others' as M
<duncan_bayne> Seriously, it's _odd_
<duncan_bayne> Also, it doesn't always fail
<duncan_bayne> When it 'works', the debug trace shows a Timeout::Error being raised (eventually) after successive expectation failures
<duncan_bayne> When it doesn't, you see the expectation failure, but it just keeps trying forever (well, until CI or an operator kills it)
anisha has joined #ruby
<RickHull> wasn't a fatwa issued against Timeout.timeout (particularly with concurrency)?
konsolebox has quit [Ping timeout: 248 seconds]
<duncan_bayne> RickHull: yeah we don't use it directly, it's the https://github.com/laserlemon/rspec-wait gem
shinnya has quit [Ping timeout: 248 seconds]
<Radar> duncan_bayne: do you use it in a capybara spec?
konsolebox has joined #ruby
<Radar> Because Capybara has built-in waiting things like this.
<duncan_bayne> Radar: Pez isn't a fan of those; he wanted greater flexibility around matchers, IIRC.
<duncan_bayne> Hence rspec-wait ...
<Radar> 👌🏻
<Radar> Pez is probably right in that case. Well, if you do find whatever's causing it then please let me know :)
<Radar> the issue _definitely_ doesn't happen on 2.2.2 and sorta-kinda-always happens on 2.4.2?
<sneep> Do you two work at the same company?
<Radar> sneep: Same city, different companies.
kryptoz has joined #ruby
<duncan_bayne> sneep: Same company for the time being; Pez' outfit is a client of ours
<Radar> last time duncan_bayne and I spoke in person he threatened to electrocute me. And since then he's apparently been _allowed_ to have another kid. They'll let anyone do it these days.
<duncan_bayne> Best. Behaved. Kids. Ever.
<Radar> duncan_bayne: our answers are incongruent.
<sneep> lol
<Radar> duncan_bayne works at the same company as "Pez" (Perryn), I work at a different company.
<duncan_bayne> This is more confusing than the bloody Ruby bug ;)
<Radar> yup. As soon as people get involved with anything it leads to confusion.
scientes has joined #ruby
<duncan_bayne> So, yeah, _definitely_ not 2.2.2, and usefully reproducible in 2.4.2
cagomez has joined #ruby
<Radar> duncan_bayne: what about 2.3?
<Radar> Could help narrow things down.
<Radar> And ruby-head.
<duncan_bayne> Radar: trying that right now
pilne has quit [Quit: Quitting!]
dviola has quit [Ping timeout: 240 seconds]
kitsunenokenja has quit [Ping timeout: 255 seconds]
guacamole has quit [Quit: My face has gone to sleep. ZZZzzz…]
<RickHull> duncan_bayne: I'll have a patch up that may be worth trying :)
milardovich has quit [Read error: Connection reset by peer]
milardovich has joined #ruby
BTRE has quit [Quit: Leaving]
mjolnird has joined #ruby
mjolnird has quit [Max SendQ exceeded]
<duncan_bayne> RickHull: you mean a PR on MRI?
<RickHull> no, ripping Timeout from rspec-wait
ramfjord has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<duncan_bayne> RickHull: I like the way you roll
<RickHull> it's trickier than it looked at first glance but doesn't look too tough
<RickHull> good test suite, not passing it yet
diego2 has joined #ruby
diego2 has quit [Changing host]
diego2 has joined #ruby
diego2 is now known as dviola
ramfjord has quit [Ping timeout: 248 seconds]
<RickHull> ooh, I see -- I'm not timing out if the block itself stalls out
allcentury has joined #ruby
gix- has joined #ruby
gix has quit [Disconnected by services]
govg has joined #ruby
jeanlinux has joined #ruby
dviola has quit [Quit: WeeChat 1.9.1]
hutch34 has joined #ruby
aroaminggeek has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
BTRE has joined #ruby
sspreitz has quit [Ping timeout: 240 seconds]
podlech has quit [Quit: WeeChat 1.9.1]
uZiel has quit [Read error: Connection reset by peer]
_the_blackadder has joined #ruby
kryptoz has quit [Remote host closed the connection]
<duncan_bayne> RickHull: let me know how you go, would be interested to try your fork against our test suite
<duncan_bayne> Meanwhile, have persuaded rbenv to install HEAD, & retesting
<duncan_bayne> Happy Friday
* duncan_bayne eagerly anticipates PM beer
sspreitz has joined #ruby
hutch34 has quit [Ping timeout: 248 seconds]
uZiel has joined #ruby
ramfjord has joined #ruby
pars has joined #ruby
<pars> t
<pars> hello
<pars> dewow
konsolebox has quit [Ping timeout: 268 seconds]
<duncan_bayne> Radar: confirmed; 2.2.2 definitely works, 2.2.3 definitely doesn't
hutch34 has joined #ruby
<duncan_bayne> Still waiting on a result from HEAD
<Radar> duncan_bayne: There's a regression in 2.2.3?!
konsolebox has joined #ruby
<duncan_bayne> Radar: Looks that way
troys_ is now known as troys
<duncan_bayne> And it must be subtle, because it works in most cases
<duncan_bayne> "The compiler is broken"
ramfjord has quit [Ping timeout: 240 seconds]
<duncan_bayne> LOL
* duncan_bayne continues testing, skeptically
<RickHull> duncan_bayne: the main difference is that an rspec-wait TimeoutError is never raised -- since I can't interrupt the block; an ExpectationNotMet error fires when the block completes unmet
guardianx has joined #ruby
<RickHull> so if you have some long-running blocks that you want interrupted with a TimeoutError, that won't happen here. i think that could be fixed a couple ways
d^sh has quit [Ping timeout: 255 seconds]
<RickHull> also, I think there is an unnecessary loop in the handler, but I'm probably wrong on that
<RickHull> so maybe keeping timeout and fixing the loop helps
Technodrome has joined #ruby
d^sh has joined #ruby
<pars> what we doing?
cagomez has quit [Remote host closed the connection]
coolguy123123 has joined #ruby
<duncan_bayne> pars: Speaking for myself, trying to work out why Timeout#timeout ... isn't ... but only in one of our specs, and only since 2.2.2
<pars> duncan_bayne: i don't understand
hutch34 has quit [Ping timeout: 255 seconds]
rabajaj has joined #ruby
<RickHull> Radar: duncan_bayne: et al: notice the outer loop in the original -- I don't think it is necessary; never iterates more than once
vee__ has quit [Ping timeout: 248 seconds]
<RickHull> the retry for ExpectationNotMet is the only looping behavior needed, and it does that
MrBusiness has joined #ruby
<RickHull> my HAX line makes some tests pass that otherwise wouldn't
milardovich has quit [Read error: Connection reset by peer]
<RickHull> interrupting the block is the main reason to even consider Timeout.timeout here -- and I doubt it is problematic in the way mperham is concerned about: http://www.mikeperham.com/2015/05/08/timeout-rubys-most-dangerous-api/
milardovich has joined #ruby
<RickHull> it might be that the bug goes away with a tighter Timeout.timeout block
<RickHull> or you could use any other watchdog technique, like spinning up a thread
<duncan_bayne> RickHull: ta, I'll take a look
aroaminggeek has joined #ruby
<duncan_bayne> pars: neither do I, neither do I :-/
konsolebox has quit [Ping timeout: 268 seconds]
konsolebox has joined #ruby
allcentury has quit [Remote host closed the connection]
<RickHull> "like spinning up a thread" -- heh, this is pretty much what Timeout.timeout does
cagomez has joined #ruby
ur5us_ has quit [Ping timeout: 248 seconds]
statelesscode has quit [Ping timeout: 255 seconds]
<duncan_bayne> Thanks for the suggestions folks; I'm off home
<duncan_bayne> Will definitely let you know how we get on; milewski reports that the first test run on 2.4 HEAD didn't repro the problem. But it is intermittent ...
duncan_bayne has left #ruby ["beer time"]
cagomez has quit [Ping timeout: 248 seconds]
coolguy123123 has quit [Ping timeout: 248 seconds]
duncan_bayne has joined #ruby
<duncan_bayne> Well that was quick - failed the second time out
<duncan_bayne> Fails on 2.5 preview as well
konsolebox has quit [Ping timeout: 240 seconds]
<Radar> Boo, hiss, etc.
<Radar> I was looking forward to my free lunch.
<RickHull> duncan_bayne: i'm going to move this work to different branches, if you check it out later
<RickHull> my previous link may 404
<duncan_bayne> RickHull: ta
<duncan_bayne> Radar: Def. boo. Time for MCVE + bisect I think
konsolebox has joined #ruby
<duncan_bayne> Well, actually, time for beer, and MVCE + bisect on Monday
duncan_bayne has left #ruby [#ruby]
scientes has quit [Ping timeout: 260 seconds]
scientes has joined #ruby
vee__ has joined #ruby
<guardianx> sorry ignore that
<Radar> ignore what
<mozzarella> you're very good at it Radar
<Radar> was someone talking to me?
<mozzarella> are you still Australian?
<RickHull> must be selective interference
<RickHull> btw ripped the loop out of the wait_handler; tests pass \o/
<mozzarella> speaking of Australians
<mozzarella> what happened to sevenseacat
qqmash has joined #ruby
<mozzarella> is she no longer coming here
LBRapid has quit [Remote host closed the connection]
<mozzarella> she really tied the room together
konsolebox has quit [Ping timeout: 248 seconds]
jeanlinux has quit [Remote host closed the connection]
konsolebox has joined #ruby
guardianx has quit []
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iamarun has joined #ruby
mkroman has quit [Ping timeout: 268 seconds]
kies has quit [Ping timeout: 255 seconds]
hutch34 has joined #ruby
mkroman has joined #ruby
k3rn31_ has joined #ruby
<RickHull> Radar: this is for duncan to try -- doubtful it helps but it's something different: https://github.com/rickhull/rspec-wait/tree/tighter_timeout
scientes has quit [Ping timeout: 248 seconds]
<RickHull> https://jvns.ca/blog/2015/11/27/why-rubys-timeout-is-dangerous-and-thread-dot-raise-is-terrifying/ "The whole premise of a general timeout method that will interrupt an arbitrary block of code like this is flawed."
kryptoz has joined #ruby
milardovich has quit [Read error: Connection reset by peer]
milardovich has joined #ruby
<RickHull> here's the one that does not interrupt an arbitrary block of code: https://github.com/rickhull/rspec-wait/tree/rip_timeout
milardovich has quit [Client Quit]
konsolebox has quit [Ping timeout: 248 seconds]
<pars> heeelp
konsolebox has joined #ruby
<pars> i want to commit suicic
<pars> suicide*
<mozzarella> /join #python
hutch34 has quit [Ping timeout: 268 seconds]
<pars> all afk?
<apeiros> pars: if this is a joke, it's not funny. if it's not - please seek help. f.ex. call a suicide hotline. this channel is not the right place.
<pars> this not a joke
<pars> i want to die
<pars> really
<RickHull> pars: please join us in #ruby-offtopic :)
<pars> ok goodbye
scientes has joined #ruby
pars has quit [Quit: WeeChat 0.4.2]
Hexafox[I] has joined #ruby
workmad3 has joined #ruby
dionysus69 has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
oleo has quit [Quit: Leaving]
konsolebox has quit [Ping timeout: 260 seconds]
konsolebox has joined #ruby
dionysus69 has quit [Ping timeout: 255 seconds]
apeiros has quit [Remote host closed the connection]
scientes has quit [Ping timeout: 258 seconds]
apeiros has joined #ruby
konsolebox has quit [Ping timeout: 248 seconds]
konsolebox has joined #ruby
troys is now known as troys_
charliesome has joined #ruby
roshanavand has quit [Ping timeout: 248 seconds]
apeiros has quit [Ping timeout: 255 seconds]
Puffball has quit [Ping timeout: 260 seconds]
Puffball has joined #ruby
troys_ is now known as troys
ta__ has quit [Remote host closed the connection]
Devalo has joined #ruby
armyriad has joined #ruby
duncan_bayne has joined #ruby
qqmash has quit [Quit: Leaving.]
<duncan_bayne> RickHull: pez has asked me to let you know that he's commented on https://github.com/rickhull/rspec-wait/commit/985aa88dfe4ade70d290aa5c61e57d3872e6b7fc
* duncan_bayne enables SlackToIRCProxyMode
<duncan_bayne> I suggested that if he used Emacs he'd have a built in IRC client
scientes has joined #ruby
scientes has quit [Changing host]
scientes has joined #ruby
Devalo has quit [Ping timeout: 240 seconds]
<RickHull> oh cool, I just responded
jeanlinux has joined #ruby
konsolebox has quit [Ping timeout: 268 seconds]
<duncan_bayne> RickHull: Ta :)
konsolebox has joined #ruby
duncan_bayne has left #ruby ["ERC (IRC client for Emacs 25.3.1)"]
LocaMocha has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
kies has joined #ruby
jeanlinu_ has joined #ruby
jamesaxl has joined #ruby
jeanlinux has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
reber has joined #ruby
memo1 has joined #ruby
biberu has joined #ruby
konsolebox has quit [Ping timeout: 248 seconds]
konsolebox has joined #ruby
_the_blackadder has quit [Ping timeout: 258 seconds]
harfangk has joined #ruby
dionysus69 has joined #ruby
konsolebox has quit [Ping timeout: 248 seconds]
guacamole has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
konsolebox has joined #ruby
allcentury has joined #ruby
iamarun has quit [Ping timeout: 248 seconds]
rippa has joined #ruby
allcentury has quit [Ping timeout: 240 seconds]
konsolebox has quit [Ping timeout: 240 seconds]
apeiros has joined #ruby
iamarun has joined #ruby
konsolebox has joined #ruby
iamarun has quit [Remote host closed the connection]
hemangpatel has joined #ruby
aroaminggeek has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<hemangpatel> Hello, Anyone has experience in Openproject or know where can I get help ?
lacour has quit [Quit: Leaving]
mostlybadfly has quit [Quit: Connection closed for inactivity]
dinfuehr has quit [Ping timeout: 250 seconds]
konsolebox has quit [Ping timeout: 240 seconds]
dinfuehr has joined #ruby
konsolebox has joined #ruby
Dimik has quit [Ping timeout: 248 seconds]
konsolebox has quit [Ping timeout: 255 seconds]
m27frogy has quit [Ping timeout: 248 seconds]
troys has quit [Quit: Bye]
konsolebox has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
pars has joined #ruby
pars has quit [Client Quit]
mjolnird has joined #ruby
statelesscode has joined #ruby
m27frogy has joined #ruby
pars has joined #ruby
pars has quit [Client Quit]
aroaminggeek has joined #ruby
ddffg has joined #ruby
jenrzzz has quit [Read error: Connection timed out]
cdg has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eckhardt has joined #ruby
konsolebox has quit [Ping timeout: 250 seconds]
cdg has quit [Ping timeout: 246 seconds]
workmad3 has joined #ruby
konsolebox has joined #ruby
ta_ has joined #ruby
guardianx has joined #ruby
m27frogy has quit [Ping timeout: 248 seconds]
workmad3 has quit [Ping timeout: 268 seconds]
quobo has joined #ruby
raynold has quit [Quit: Connection closed for inactivity]
m27frogy has joined #ruby
konsolebox has quit [Ping timeout: 248 seconds]
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
konsolebox has joined #ruby
konsolebox has quit [Ping timeout: 240 seconds]
konsolebox has joined #ruby
guardianx has quit []
reber has quit [Ping timeout: 268 seconds]
Yzguy has joined #ruby
konsolebox has quit [Ping timeout: 255 seconds]
jeanlinux has joined #ruby
reber has joined #ruby
aroaminggeek has quit [Quit: Textual IRC Client: www.textualapp.com]
konsolebox has joined #ruby
jeanlinu_ has quit [Ping timeout: 248 seconds]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
scientes has quit [Ping timeout: 240 seconds]
pars has joined #ruby
<pars> hello
<apeiros> hi again, pars
TomyWork has joined #ruby
guille-moe has joined #ruby
guille-moe has quit [Ping timeout: 248 seconds]
aupadhye has joined #ruby
jeanlinux has quit [Remote host closed the connection]
jeanlinux has joined #ruby
tomphp has joined #ruby
conta has joined #ruby
ramfjord has quit [Ping timeout: 260 seconds]
Yzguy has quit [Quit: Zzz...]
AnoHito has quit [Quit: Leaving]
claudiuinberlin has joined #ruby
AnoHito has joined #ruby
marr has joined #ruby
chmuri has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
jenrzzz has joined #ruby
jeanlinux has quit [Remote host closed the connection]
guille-moe has joined #ruby
uZiel has joined #ruby
jeanlinux has joined #ruby
jeanlinux has quit [Remote host closed the connection]
chmurifree has joined #ruby
Burgestrand has joined #ruby
iamarun has joined #ruby
jeanlinux has joined #ruby
jeanlinux has quit [Remote host closed the connection]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jeanlinux has joined #ruby
jeanlinux has quit [Remote host closed the connection]
jottr has joined #ruby
jeanlinux has joined #ruby
lytol has joined #ruby
jeanlinux has quit [Remote host closed the connection]
admwrd_ is now known as admwrd
<pars> h
uZiel has quit [Remote host closed the connection]
pars has quit [Quit: WeeChat 0.4.2]
admwrd has left #ruby [#ruby]
uZiel has joined #ruby
pars has joined #ruby
admwrd has joined #ruby
<pars> l
<pars> who here?
admwrd has left #ruby [#ruby]
BTRE has quit [Read error: Connection reset by peer]
BTRE has joined #ruby
<pars> heelp i now die
jeanlinux has joined #ruby
pars has quit [Client Quit]
harfangk has quit [Ping timeout: 255 seconds]
jeanlinux has quit [Ping timeout: 240 seconds]
mim1k has joined #ruby
TheBrayn has quit [Quit: WeeChat 1.9]
jeanlinux has joined #ruby
jeanlinux has quit [Remote host closed the connection]
TheBrayn has joined #ruby
Serpent7776 has joined #ruby
DTZUZO has quit [Ping timeout: 260 seconds]
<Bish> mozzarella: oh jesus that was a good one
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Bish> whats wrong with people, i wish i had that much time?
<Bish> i want to die, whelp i die..
<Bish> he gotta make his mind up
<apeiros> Bish: it's no laughing matter.
<Bish> ofcourse it is not, but i doubt like very much that this was serious
Beams has joined #ruby
jeanlinux has joined #ruby
cagomez has joined #ruby
<apeiros> and you base that doubt on what knowledge? really, unless you're a psychiatrist, IMO you better don't judge the situation.
<apeiros> also -> #ruby-offtopic
workmad3 has joined #ruby
gigetoo has quit [Ping timeout: 260 seconds]
<Bish> banning him certainly helped :o
<apeiros> you should read the ban and understand it
<apeiros> I redirected them to #ruby-offtopic
gigetoo has joined #ruby
<Bish> uh you can do that?
<Bish> that's cool
<apeiros> yes I can do that
imode has quit [Ping timeout: 250 seconds]
<Bish> i mean didn't know irc offered that
<Bish> looks like a hack though, with the $?
jeanlinux has quit [Ping timeout: 248 seconds]
<apeiros> it may well be a freenode specific extension. and again -> #ruby-offtopic
cagomez has quit [Ping timeout: 252 seconds]
dcluna has quit [Ping timeout: 248 seconds]
jeanlinux has joined #ruby
jeanlinux has quit [Client Quit]
mim1k is now known as mim1k|work
dcluna has joined #ruby
workmad3 has quit [Ping timeout: 248 seconds]
jeanlinux has joined #ruby
konsolebox has quit [Ping timeout: 255 seconds]
hutch34 has joined #ruby
octomancer has joined #ruby
larcara has joined #ruby
guille-moe has quit [Ping timeout: 268 seconds]
konsolebox has joined #ruby
Rouge has joined #ruby
andikr has joined #ruby
guille-moe has joined #ruby
hutch34 has quit [Ping timeout: 268 seconds]
rgr has joined #ruby
snickers has joined #ruby
tvw has joined #ruby
BioSpider has joined #ruby
howdoi has joined #ruby
kryptoz has quit [Remote host closed the connection]
charliesome has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Burgestrand has quit [Quit: Closing time!]
ta_ has quit [Remote host closed the connection]
Burgestrand has joined #ruby
Burgestrand has quit [Client Quit]
larcara has quit [Remote host closed the connection]
gregf_ has joined #ruby
postmodern has quit [Quit: Leaving]
ledestin has joined #ruby
larcara has joined #ruby
Psybur has joined #ruby
ddffg has quit [Quit: Leaving]
ferr has joined #ruby
ferr has left #ruby [#ruby]
stoffus has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
scientes has joined #ruby
frerich has joined #ruby
<frerich> Hi all! Is this a good place to ask questions about the Ruby C API? I'm fighting a bit with the lifetime of Ruby 'VALUE' values - in particular, I have a function defined in terms of rb_enc_str_new() to which I would like to add some memoization such that instead of generating a new string every time, it tries to reuse previously generated string VALUEs.
<frerich> Alas, simply storing the generated VALUEs in some hash and then reusing them causes the interpreter to crash. I suppose this is because of ownership (i.e. my cached VALUE is destroyed behind my back). So I tried using rb_obj_clone() or rb_obj_dup() but to no avail.
<frerich> In other languages, I'd typically just increase a reference count, but I suppose in Ruby there is a different way?
<dminuoso> frerich: You must tag it with rb_global_variable if the VALUE persists outside the Ruby world.
<frerich> dminuoso: Ah, I see - that keeps it from getting GC'ed. That's all there is to it, i.e. no clone or dup is needed?
<dminuoso> frerich: Or you have to rb_gc_mark it, it kind of depends on what situation you are in.
<dminuoso> frerich: Yeah just rg_gc_mark those. rb_global_variable is for a different scenario.
hutch34 has joined #ruby
plexigras has joined #ruby
<frerich> dminuoso: rb_gc_mark seems to be just what I need, thanks a lot! :-)
jenrzzz has quit [Ping timeout: 248 seconds]
scientes has quit [Ping timeout: 255 seconds]
hutch34 has quit [Ping timeout: 240 seconds]
<frerich> dminuoso: Hm, I hoped I had fixed my issue by simply calling rb_gc_mark on the VALUE before I store it in my cache (my cache is really just a std::map<Foo, VALUE>) but now I see that it eventually causes 'Assertion failed: (OBJ_FROZEN(shared)), function str_replace, file string.c, line 1145.'. Hm!
ldnunes has joined #ruby
GodFather has joined #ruby
uZiel has joined #ruby
mostlybadfly has joined #ruby
memo1 has quit [Ping timeout: 248 seconds]
alan_w has quit [Quit: WeeChat 1.9.1]
Rouge has quit [Ping timeout: 255 seconds]
jeanlinu_ has joined #ruby
ta_ has joined #ruby
jeanlinux has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
quuxman has quit [Remote host closed the connection]
cdg has quit [Ping timeout: 240 seconds]
tcopeland has quit [Quit: tcopeland]
workmad3 has joined #ruby
quobo is now known as icytan46
icytan46 is now known as quobo
jameser has joined #ruby
roshanavand has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
iamarun has quit [Remote host closed the connection]
zanoni has joined #ruby
bkxd has joined #ruby
allcentury has joined #ruby
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
zzak has quit [Quit: Connection closed for inactivity]
bkxd_ has joined #ruby
bkxd has quit [Ping timeout: 258 seconds]
allcentury has quit [Ping timeout: 260 seconds]
cdg has joined #ruby
duckpuppy has joined #ruby
larcara has quit [Remote host closed the connection]
ta_ has quit [Remote host closed the connection]
cdg has quit [Ping timeout: 252 seconds]
cavallari37 has joined #ruby
konsolebox has quit [Ping timeout: 240 seconds]
p0s1x has joined #ruby
cavallari37 is now known as andrecavallari
konsolebox has joined #ruby
bkxd has joined #ruby
DTZUZO has joined #ruby
contradictioned has quit [Read error: Connection reset by peer]
contradictioned has joined #ruby
bkxd_ has quit [Ping timeout: 240 seconds]
tsglove has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
larcara has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
konsolebox has quit [Ping timeout: 255 seconds]
jeanlinu_ has quit []
banisterfiend has joined #ruby
jameser has joined #ruby
p0s1x has quit [Quit: Segmentation fault]
konsolebox has joined #ruby
bkxd has quit [Ping timeout: 248 seconds]
bkxd has joined #ruby
kryptoz has joined #ruby
rgr_ has joined #ruby
rabajaj has quit [Remote host closed the connection]
rgr has quit [Ping timeout: 246 seconds]
banisterfiend has quit [Changing host]
banisterfiend has joined #ruby
Rouge has joined #ruby
apeiros has quit [Ping timeout: 240 seconds]
bkxd has quit [Quit: leaving]
ldnunes has quit [Remote host closed the connection]
hemangpatel has quit [Ping timeout: 248 seconds]
ldnunes has joined #ruby
hemangpatel has joined #ruby
ta_ has joined #ruby
tcopeland has joined #ruby
gr33n7007h has joined #ruby
konsolebox has quit [Ping timeout: 248 seconds]
mim1k|work has quit [Ping timeout: 255 seconds]
gr33n7007h is now known as al2o3-cr
konsolebox has joined #ruby
synthroid has joined #ruby
roshanavand has quit [Ping timeout: 248 seconds]
Cool_Fire has joined #ruby
<Cool_Fire> Hello, I'm wondering if someone can tell me if this is a bug or intended behavior: https://pastebin.com/dFJcP1Fv
<ruby[bot]> Cool_Fire: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/5b4070fed6acf19cc367e356e1f0dc66
<ruby[bot]> Cool_Fire: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
ta_ has quit [Remote host closed the connection]
konsolebox has quit [Ping timeout: 255 seconds]
<Cool_Fire> It seems te assignment condition is dependant on the value (or existance of a declared) variable
<Cool_Fire> in one instance it functions as if it's : if false; 1; else; nil; end
konsolebox has joined #ruby
<Cool_Fire> in the other it's more like : if false; 1; else; break; end
<Cool_Fire> It just seems odd to me that the result of a conditional should depend on the variable it is being assigned to
<Cool_Fire> So in short; should I file a bugreport for this?
<al2o3-cr> Cool_Fire: no bug report needed :)
<Cool_Fire> ok.
<Cool_Fire> Would you care to elaborate on that? :P
guille-moe has quit [Ping timeout: 248 seconds]
banisterfiend has quit [Ping timeout: 248 seconds]
<al2o3-cr> the second foo and bar already hold truthy values
banisterfiend has joined #ruby
banisterfiend has quit [Changing host]
banisterfiend has joined #ruby
<al2o3-cr> thus foo = 2 if false is still 1
<Cool_Fire> Well, I'm not saying I don't understand the behavior in either case. But the two together seem inconsistent
<al2o3-cr> no they don't
konsolebox has quit [Ping timeout: 240 seconds]
apeiros has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
konsolebox has joined #ruby
bmurt has joined #ruby
<Cool_Fire> "1 if false" does actually return "nil" though? At least, irb seems to suggest this.
<Cool_Fire> or is this a case of a sort of "return value vs. exit code" deal?
<zautomata> whats the ruby sourcecode followed C style?
<Cool_Fire> and it doesn't actually return nil, but nil is still the result
<Bish> hm, in docker ruby things the terminal encoding is ASCII
<Bish> how can i change thath
<Bish> Cool_Fire: it does, because the actual "then" will never be executed
<Bish> it's not actually a "return value" it's rather a return value of the line, and if does not have one, except when the condition is true
<Bish> for things like
ta_ has joined #ruby
<Bish> >> a = if false;1;else; 2;end;
<ruby[bot]> Bish: # => 2 (https://eval.in/902323)
<Bish> >> a = if true;1;else; 2;end;
<ruby[bot]> Bish: # => 1 (https://eval.in/902324)
<Bish> if you have a long if elsif else block, u certainly want to know if there has been anything "hit"
<Bish> otherwise you would lose that information
<al2o3-cr> well explained Bish :)
<Cool_Fire> is "bar" being "nil" then just a `coincidence` of ruby creating the variable, regardless of if it will assign something to it?
<frerich> dminuoso: Thanks alot once more for your feedback, I think you're right on track with suspecting that the crashes are related to the GC but I just can't seem to beat it into submission. I now decided to ask about it on StackOverflow, at ps://stackoverflow.com/questions/47351589 -- maybe someone else has an idea.
banisterfiend has quit [Ping timeout: 248 seconds]
<Bish> if you assign to a variable in an if block
<Bish> ruby actually does an implicit bar = nil
<frerich> dminuoso: Alas, I failed to create a small, self-contained example which reproduces the issues - even after introducing some rb_gc_start() calls. I suspect I didn't really understand the problem yet. :-/
<Bish> at the begin of the block
<Cool_Fire> I see.
<Bish> otherwise you would get "blablabla is not defined" errors
<Bish> it's one of the few unexpected behaviours of ruby
<Bish> but useful ones
<Bish> beware of scopes though, if you do
<Bish> >> proc{if true;a=3;end;}.call();a;
<ruby[bot]> Bish: # => undefined local variable or method `a' for main:Object (NameError) ...check link for more (https://eval.in/902332)
<Bish> you still have that problem
<Cool_Fire> Well, realistically the actual code is probably something you shouldn't write like that to begin with
konsolebox has quit [Ping timeout: 240 seconds]
<Bish> yes, but you could fall into that trap easily
<Bish> if you rely on that implicit a = nil
<Cool_Fire> I imagine rubocop might hound me mercilessly if I did :P
<Cool_Fire> But thanks for clearing that up
konsolebox has joined #ruby
<Bish> ehhe, rubocop that's a nice name
<Bish> is it a code checker? i don't know it
banisterfiend has joined #ruby
<Cool_Fire> yes, it is. Does linting and checks if you're following the ruby style guide
<Bish> i am such a hater of code-style guides, might make me mad to look into that
kryptoz has quit [Remote host closed the connection]
jeanlinux has joined #ruby
banisterfiend has quit [Changing host]
banisterfiend has joined #ruby
<Cool_Fire> In the end my code usually looks better when I do follow it
<Cool_Fire> and it enforces a lot of best practice stuff
<Cool_Fire> like "dostuff() if someting()" vs if something(); dostuff(); end
zautomata has quit [Ping timeout: 240 seconds]
<Bish> the good old matz itself considering it a mistake
<Bish> including that style
zautomata has joined #ruby
Defenestrate has joined #ruby
Defenestrate has quit [Changing host]
Defenestrate has joined #ruby
<Cool_Fire> But yeah, code style guides are always a matter of debate
Siyfion has joined #ruby
<Bish> and i debate they all SUCK
<Bish> no, they don't but sometimes.
<Bish> there was this javascript styleguide
<Bish> said i had to write var vm = this; at the beginning of every function
<Bish> i ended up insulting people
uZiel has joined #ruby
<Cool_Fire> I think it usually depends on how neat and readable your code naturally is if it's helpful (really odd style guide advice like that not withstanding.)
<Bish> well they defended that one to the grave
oleo has joined #ruby
<Bish> i was lucky to found a better solution, which is standard now
<Cool_Fire> Nicely done tehn
<Cool_Fire> then*
<Bish> costed me 3 days, though
<Bish> (the reason i insulted people)
shinnya has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
aScottishBoat has joined #ruby
<Cool_Fire> mercifully rubocop comes with a built-in "I disagree" feature to make it shut up about specific violations or completely disregar some style rules :p
uneeb has joined #ruby
uneeb has quit [Remote host closed the connection]
John__ has joined #ruby
<Bish> oh that's nice
im0nde has joined #ruby
tcopeland has quit [Quit: tcopeland]
andrecavallari has quit [Remote host closed the connection]
cronolio has joined #ruby
cronolio has left #ruby [#ruby]
tcopeland has joined #ruby
<apeiros> I find having a style guide important. which style in particular doesn't matter IMO. it's just a matter of getting used to.
<apeiros> but it helps being able to get used to a style, hence having one is still important :)
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
stoffus has quit [Ping timeout: 260 seconds]
uZiel has joined #ruby
nofxx_ has joined #ruby
nofxx has quit [Read error: Connection reset by peer]
cdg has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
im0nde has quit [Ping timeout: 240 seconds]
kryptoz has joined #ruby
snickers has quit [Ping timeout: 248 seconds]
uZiel has quit [Ping timeout: 248 seconds]
cdg_ has joined #ruby
roshanavand has joined #ruby
al2o3-cr has quit [Ping timeout: 240 seconds]
cdg has quit [Ping timeout: 255 seconds]
al2o3-cr has joined #ruby
mniip has quit [Quit: This page is intentionally left blank.]
mniip has joined #ruby
mson has joined #ruby
gauravgoyal has joined #ruby
shinnya has quit [Ping timeout: 248 seconds]
Hexafox[I] has quit [Ping timeout: 250 seconds]
Defenestrate has quit [Quit: This computer has gone to sleep]
ta_ has quit [Remote host closed the connection]
DLSteve_ has joined #ruby
safetypin has joined #ruby
allcentury has joined #ruby
c0ncealed has quit [Remote host closed the connection]
c0ncealed has joined #ruby
ta_ has joined #ruby
TomyWork has quit [Remote host closed the connection]
morfin has joined #ruby
<morfin> hello
kryptoz has quit [Remote host closed the connection]
ta_ has quit [Remote host closed the connection]
allcentury has quit [Ping timeout: 255 seconds]
<morfin> how you'd implement specific API client?
ta_ has joined #ruby
<morfin> i use faraday + httpclient for HTTP, question is would you implement all API methods and then in your code wrap that class to get certain data/
kryptoz has joined #ruby
Rapture has joined #ruby
jottr has quit [Read error: Connection reset by peer]
jottr has joined #ruby
saslam has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
troys has joined #ruby
jameser has joined #ruby
dviola has joined #ruby
ahrs has quit [Remote host closed the connection]
ahrs has joined #ruby
hutch34 has joined #ruby
safetypin has quit [Quit: ZZZzzz…]
ta_ has quit [Remote host closed the connection]
minimalism has quit [Quit: minimalism]
gauravgoyal has quit [Ping timeout: 250 seconds]
yokel has quit [Remote host closed the connection]
hs366 has quit [Quit: Leaving]
yokel has joined #ruby
guille-moe has joined #ruby
kanobt61 has joined #ruby
wald0 has joined #ruby
larcara has quit [Remote host closed the connection]
larcara has joined #ruby
larcara has quit [Ping timeout: 248 seconds]
apeiros has quit []
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
safetypin has joined #ruby
hemangpatel has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby
tomphp has joined #ruby
sepp2k has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
Cool_Fire has left #ruby [#ruby]
tomphp has quit [Ping timeout: 240 seconds]
memo1 has joined #ruby
polishdub has joined #ruby
polishdub has left #ruby [#ruby]
wald0 has quit [Quit: Lost terminal]
gizmore|2 is now known as gizmore
allcentury has joined #ruby
duckpupp1 has joined #ruby
cdg_ has quit [Remote host closed the connection]
cdg has joined #ruby
duckpuppy has quit [Ping timeout: 268 seconds]
cdg_ has joined #ruby
cdg has quit [Ping timeout: 248 seconds]
cdg__ has joined #ruby
troys is now known as troys_
Technodrome has joined #ruby
cdg_ has quit [Ping timeout: 240 seconds]
drowze has joined #ruby
cschneid_ has joined #ruby
cschneid_ has quit [Remote host closed the connection]
cschneid_ has joined #ruby
synthroid has quit [Remote host closed the connection]
workmad3 has joined #ruby
vee__ has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
larcara has joined #ruby
apeiros_ has joined #ruby
workmad3 has quit [Ping timeout: 248 seconds]
cdg__ has quit [Ping timeout: 248 seconds]
cdg has joined #ruby
cschneid_ has quit [Read error: Connection reset by peer]
cschneid_ has joined #ruby
raynold has joined #ruby
troys_ is now known as troys
vee__ has joined #ruby
apparition has joined #ruby
guacamole has joined #ruby
banisterfiend has quit [Changing host]
banisterfiend has joined #ruby
mim1k has joined #ruby
huyderman has quit [Remote host closed the connection]
jeanlinux has quit [Ping timeout: 268 seconds]
techn1cs has joined #ruby
techn1cs has quit [Changing host]
techn1cs has joined #ruby
n13z has quit [Ping timeout: 260 seconds]
frerich has quit [Quit: frerich]
snickers has joined #ruby
John__ has left #ruby ["Систем политик аметзит, крэтин щй ваи д ел."]
urk187 has joined #ruby
John__ has joined #ruby
drowze has quit [Ping timeout: 240 seconds]
John__ has left #ruby [#ruby]
Itzbernoulli has joined #ruby
LBRapid has joined #ruby
ldnunes has quit [Ping timeout: 240 seconds]
synthroid has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nowhere_man has quit [Remote host closed the connection]
LBRapid has quit [Client Quit]
nowhere_man has joined #ruby
LBRapid has joined #ruby
LBRapid has quit [Client Quit]
Itzbernoulli has quit [Ping timeout: 260 seconds]
jackjackdripper has joined #ruby
LBRapid has joined #ruby
LBRapid has quit [Client Quit]
LBRapid has joined #ruby
LBRapid has quit [Client Quit]
thinkpad has quit [Ping timeout: 268 seconds]
LBRapid has joined #ruby
LBRapid has quit [Client Quit]
cagomez has joined #ruby
bmurt has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
ldnunes has joined #ruby
GodFather has quit [Ping timeout: 240 seconds]
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg has quit [Ping timeout: 248 seconds]
marxarelli is now known as marxarelli|afk
kapil___ has joined #ruby
cdg has joined #ruby
Siyfion has quit [Quit: Textual IRC Client: www.textualapp.com]
apparition has quit [Quit: Bye]
cdg_ has joined #ruby
LBRapid has joined #ruby
LBRapid has quit [Client Quit]
cdg has quit [Ping timeout: 255 seconds]
millerti has joined #ruby
snickers has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vee__ has quit [Ping timeout: 255 seconds]
enterprisey has quit [Ping timeout: 255 seconds]
kickr has quit [Read error: Connection reset by peer]
nchambers has joined #ruby
kryptoz has quit []
ramortegui has quit [Quit: This computer has gone to sleep]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
LBRapid has joined #ruby
mcr1 has joined #ruby
<mcr1> the C function, rb_define_class_under defines a class under some module (or class). Can this class be a subclass of another class?
arashb has joined #ruby
<apeiros_> mcr1: sure
apeiros_ is now known as apeiros
<mcr1> okay, so do I need to declare this in C somehow, or do I do that in ruby?
<apeiros> that's up to you
Asher has joined #ruby
<mcr1> oh, I see the third argument, "rb_cObject" is really the superclass.
hutch34 has quit [Ping timeout: 240 seconds]
<mcr1> what happens if there is disagreement between C and Ruby definitions? (I don't intend to do that, but I'm curious)
tomphp has joined #ruby
polishdub has joined #ruby
exhiled has joined #ruby
<apeiros> pretty sure the same thing as in ruby, you get an exception
Serpent7776 has quit [Quit: Leaving]
<apeiros> >> class X; end; class Y; end; class Y < X; end; class
<ruby[bot]> apeiros: # => /tmp/execpad-1394f33700ec/source-1394f33700ec:3: syntax error, unexpected modifier_rescue ...check link for more (https://eval.in/902429)
<apeiros> >> class X; end; class Y; end; class Y < X; end;
<ruby[bot]> apeiros: # => superclass mismatch for class Y (TypeError) ...check link for more (https://eval.in/902430)
vee__ has joined #ruby
mikecmpbll has quit [Ping timeout: 240 seconds]
polishdub has left #ruby [#ruby]
jamiejackson has joined #ruby
shazbotmcnasty has joined #ruby
Dimik has joined #ruby
<jamiejackson> where' s the documentation for ruby's yaml?
<apeiros> &ri YAML
<apeiros> ^ jamiejackson
<apeiros> also in your console, via the `ri` tool
<elomatreb> If you installed it, that is
dionysus69 has joined #ruby
<jamiejackson> apeiros, i don't see anything in that URL's body. where should i be looking on that page?
<havenwood> &ri Psych
troys is now known as troys_
<havenwood> jamiejackson: ^
<adaedra> Ah, I removed the YAML to Psych alias? My bad
ta_ has joined #ruby
<apeiros> oh, interesting
<jamiejackson> okay, do i require 'psych' or 'yaml'?
<adaedra> 'yaml'
<jamiejackson> thx
<adaedra> Yaml is actually just an alias for Psych; it's a trick to transparently replace the Yaml engine if needed without compatibility problems
<adaedra> But do use 'yaml' and YAML, don't reference Psych directly
ta_ has quit [Remote host closed the connection]
UserOO7 has joined #ruby
memo1 has quit [Ping timeout: 240 seconds]
larcara has quit [Remote host closed the connection]
larcara has joined #ruby
eckhardt has joined #ruby
arashb has quit [Read error: Connection reset by peer]
jeanlinux has joined #ruby
orbyt_ has joined #ruby
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
hutch34 has joined #ruby
Technodrome has joined #ruby
naprimer2 has quit [Quit: Leaving]
shazbotmcnasty has quit [Ping timeout: 260 seconds]
<bougyman> % perl -e 'print -1>>8;'
<bougyman> 72057594037927935%
rgr_ has quit [Quit: rgr_]
<bougyman> ruby -e 'puts -1>>8'
<bougyman> -1
<bougyman> why?
Beams has quit [Quit: .]
kies has quit [Ping timeout: 268 seconds]
Rouge has quit [Ping timeout: 240 seconds]
<apeiros> because -1 is 0b1111111…
hutch34 has quit [Ping timeout: 240 seconds]
<apeiros> iow, an infinite number of ones
cloaked1 has joined #ruby
urk187 has quit [Read error: Connection reset by peer]
Asher has quit [Quit: Leaving.]
<jamiejackson> what's the right way to use the squiggly HEREDOC? i've got it wrong: https://gist.github.com/jamiejackson/4a9e81b77d6f69e9da31de5e88040362
ta_ has joined #ruby
<RickHull> the closeing HEREDOC should be with no whitespace prepended
<RickHull> (in most cases, at least)
aupadhye has quit [Ping timeout: 248 seconds]
shazbotmcnasty has joined #ruby
<RickHull> maybe squiggly allows it?
<elomatreb> All types should allow it
<elomatreb> jamiejackson: What's the problem, specifically?
<RickHull> <<EOF does not allow prepended whitespace
<jamiejackson> elomatreb `ansible_vault_helper.rb:40: syntax error, unexpected keyword_end, expecting end-of-input`
<elomatreb> Does your ruby support the sqiggly heredocs? They were added after the other types in some semi-recent version
<jamiejackson> elomatreb. i think so. i'm using the latest Vagrant, and i think it uses 2.4
<jamiejackson> from what i can tell: /opt/vagrant/embedded/include/ruby-2.4.0/ruby
<RickHull> I do see that <<~EOF allows prepended whitespace to the closing tag
workmad3 has joined #ruby
ivanskie has joined #ruby
jottr has quit [Ping timeout: 248 seconds]
tacoboy has joined #ruby
<RickHull> jamiejackson: you can confirm with `ruby --version` FYI
larcara has quit [Remote host closed the connection]
<apeiros> bougyman: sorry, was interrupted. in other words, perl uses fixed 64 bits for the shift, while ruby uses "infinite" bits
<apeiros> if you want perls behavior, you have to limit the value to 64 bits
<apeiros> >> (-1 & ((1<<64)-1)) >> 8
<RickHull> jamiejackson: I can run a synthetic version of your `if not yml` with no issue on ruby 2.4
<ruby[bot]> apeiros: # => 72057594037927935 (https://eval.in/902526)
<apeiros> bougyman: hth
workmad3 has quit [Ping timeout: 248 seconds]
<jamiejackson> thanks RickHull. i'm trying to see if something else is going on in my file. brb
mim1k has quit [Ping timeout: 250 seconds]
ta_ has quit [Ping timeout: 240 seconds]
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 248 seconds]
br0d1n has joined #ruby
larcara has joined #ruby
bigkevmcd has quit [Quit: Outta here...]
hutch34 has joined #ruby
nofxx_ has quit [Remote host closed the connection]
nofxx_ has joined #ruby
larcara has quit [Remote host closed the connection]
the_f0ster has joined #ruby
<the_f0ster> does anyone know a way I can profile DB pooling usage / info to optimize it? with active record connection adapter
ta_ has joined #ruby
<apeiros> ?rails the_f0ster
<ruby[bot]> the_f0ster: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
Gabemo has quit [Read error: Connection reset by peer]
troys_ is now known as troys
br0d1n has quit [Quit: Leaving]
tacoboy has quit [Remote host closed the connection]
michael3 has joined #ruby
Gabemo has joined #ruby
andikr has quit [Read error: Connection reset by peer]
imode has joined #ruby
conta has quit [Remote host closed the connection]
<the_f0ster> apeiros: my apologies, I asked there as well. I just assume smarter people are in interested in ruby over just rails.. it seemed maybe not application specific
shazbotmcnasty has quit [Changing host]
shazbotmcnasty has joined #ruby
exhiled has joined #ruby
nowhere_man has quit [Ping timeout: 268 seconds]
guacamole has joined #ruby
ta_ has quit [Ping timeout: 268 seconds]
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
kies has joined #ruby
enterprisey has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cabotto has joined #ruby
chmurifree has quit [Ping timeout: 240 seconds]
cabotto has quit [Client Quit]
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
tcopeland has quit [Quit: tcopeland]
tcopeland has joined #ruby
chmurifree has joined #ruby
larcara has joined #ruby
UserOO7 has quit [Remote host closed the connection]
bvcosta has joined #ruby
cdg_ has quit [Remote host closed the connection]
_sfiguser has joined #ruby
_sfiguser has quit [Remote host closed the connection]
cagomez has quit [Remote host closed the connection]
ramfjord has joined #ruby
cdg has joined #ruby
ramortegui has joined #ruby
kickr has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
<shazbotmcnasty> alrighty - back to it. So, I think I broke ruby entirely by installing everything incorrectly - some with sudo, some without. I'm trying to run an admin console in rails but am currently unable. Here are the errors: https://gist.github.com/anonymous/7dc8f5c931a77cb217277a6a534ece4a - anyone up to the task of assisting me?
ramfjord has quit [Ping timeout: 255 seconds]
lunarkitty7 has joined #ruby
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
larcara has quit [Remote host closed the connection]
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ta_ has joined #ruby
claudiuinberlin has joined #ruby
naprimer has joined #ruby
conta1 has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tvw has quit [Ping timeout: 260 seconds]
guacamole has joined #ruby
tomphp has quit [Ping timeout: 260 seconds]
tomphp has joined #ruby
cagomez has joined #ruby
exhiled has joined #ruby
ta_ has quit [Ping timeout: 248 seconds]
Rouge has joined #ruby
guacamole has quit [Ping timeout: 258 seconds]
UserOO7 has joined #ruby
michael3 has quit [Ping timeout: 268 seconds]
Asher has joined #ruby
guacamole has joined #ruby
truenito has joined #ruby
jottr has joined #ruby
Asher has quit [Client Quit]
Rapture has quit [Ping timeout: 268 seconds]
sriehl has joined #ruby
guille-moe has quit [Quit: guille-moe]
guacamole has quit [Client Quit]
mikecmpbll has joined #ruby
Defenestrate has joined #ruby
jeanlinux has quit [Ping timeout: 240 seconds]
_sfiguser has joined #ruby
Defenestrate has quit [Remote host closed the connection]
Defenestrate has joined #ruby
Defenestrate has quit [Client Quit]
Defenestrate has joined #ruby
Defenestrate has quit [Changing host]
Defenestrate has joined #ruby
Defenestrate has quit [Client Quit]
Rapture has joined #ruby
enterprisey has quit [Remote host closed the connection]
danielpclark has quit [Ping timeout: 268 seconds]
UserOO7 has quit []
larcara has joined #ruby
shazbotmcnasty has quit [Read error: Connection reset by peer]
larcara has quit [Remote host closed the connection]
ivanskie_work has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
guacamole has joined #ruby
shazbotmcnasty has joined #ruby
ivanskie has quit [Ping timeout: 268 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zautomata1 has joined #ruby
zautomata has quit [Ping timeout: 248 seconds]
ivanskie has joined #ruby
bmurt has joined #ruby
guacamole has quit [Client Quit]
larcara has joined #ruby
ivanskie_work has quit [Ping timeout: 248 seconds]
danielpclark has joined #ruby
ta_ has joined #ruby
LocaMocha has quit [Ping timeout: 248 seconds]
snickers has joined #ruby
milardovich has joined #ruby
snickers has quit [Client Quit]
tsglove has quit [Quit: Leaving]
tomphp has joined #ruby
ta_ has quit [Ping timeout: 248 seconds]
nadir has joined #ruby
ramfjord has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
LBRapid has quit [Quit: ZNC 1.6.5+deb1 - http://znc.in]
Hexafox[I] has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
LBRapid has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #ruby
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jottr has quit [Ping timeout: 260 seconds]
<jamiejackson> RickHull, would you expect https://gist.github.com/rickhull/ae058cd98ede8c79aa4e4fe665540598 to preserve the newlines between chunks? it does for me, and i was hoping that wouldn't happen.
truenito has quit [Ping timeout: 248 seconds]
larcara has quit [Remote host closed the connection]
<RickHull> yes, that is an explicit goal of heredocs, to preserve the newlines
<RickHull> modulo some other variation that I'm not thinking of
larcara has joined #ruby
jottr has joined #ruby
ta_ has joined #ruby
<jamiejackson> ok
ShalokShalom has joined #ruby
^mtkd has quit [Read error: Connection reset by peer]
larcara has quit [Ping timeout: 240 seconds]
mtkd has joined #ruby
Bish has quit [Ping timeout: 248 seconds]
workmad3 has joined #ruby
Bish has joined #ruby
tsglove has joined #ruby
workmad3 has quit [Ping timeout: 248 seconds]
larcara has joined #ruby
jamiejackson has quit [Ping timeout: 268 seconds]
troys is now known as troys_
mtkd has quit [Read error: Connection reset by peer]
mtkd has joined #ruby
enterprisey has joined #ruby
jottr_ has joined #ruby
conta1 has quit [Ping timeout: 240 seconds]
troulouliou_dev has joined #ruby
Rouge has quit [Ping timeout: 258 seconds]
bvcosta has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 240 seconds]
millerti has quit [Quit: Textual IRC Client: www.textualapp.com]
zapata has quit [Quit: WeeChat 1.9.1]
char_var[buffer] has quit [Ping timeout: 255 seconds]
ldnunes has quit [Quit: Leaving]
milardovich has quit [Ping timeout: 260 seconds]
bmurt has joined #ruby
GodFather has joined #ruby
workmad3 has joined #ruby
larcara has quit [Remote host closed the connection]
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
postmodern has joined #ruby
SeepingN has joined #ruby
workmad3 has quit [Ping timeout: 248 seconds]
exhiled has joined #ruby
BioSpider_ has joined #ruby
BioSpider_ has quit [Excess Flood]
shazbotmcnasty has quit [Changing host]
shazbotmcnasty has joined #ruby
BioSpider_ has joined #ruby
BioSpider_ has quit [Excess Flood]
akryll has joined #ruby
BioSpider has quit [Ping timeout: 240 seconds]
troys_ is now known as troys
Macrobiotic has joined #ruby
ur5us has joined #ruby
aScottishBoat has quit [Ping timeout: 250 seconds]
cagomez has quit [Remote host closed the connection]
Puffball has quit [Remote host closed the connection]
zapata has joined #ruby
enterprisey has quit [Remote host closed the connection]
workmad3 has joined #ruby
Ouchy has joined #ruby
Ouchy has quit [Changing host]
Ouchy has joined #ruby
millerti has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
cdg_ has joined #ruby
scientes has joined #ruby
scientes has quit [Changing host]
scientes has joined #ruby
michael_mbp has quit [Ping timeout: 248 seconds]
cdg has quit [Ping timeout: 240 seconds]
cdg_ has quit [Ping timeout: 240 seconds]
Defenestrate has joined #ruby
scientes has quit [Ping timeout: 260 seconds]
Defenestrate has quit [Client Quit]
Defenestrate has joined #ruby
Defenestrate has quit [Client Quit]
Defenestrate has joined #ruby
Defenestrate has quit [Client Quit]
Defenestrate has joined #ruby
Defenestrate has quit [Client Quit]
Defenestrate has joined #ruby
Defenestrate has joined #ruby
Defenestrate has quit [Changing host]
Defenestrate has quit [Client Quit]
michael_mbp has joined #ruby
Defenestrate has joined #ruby
Defenestrate has quit [Client Quit]
griffindy has joined #ruby
jeanlinux has joined #ruby
mjolnird has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
hutch34 has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
jottr_ has quit [Ping timeout: 255 seconds]
akryll has left #ruby [#ruby]
MrBusiness has quit [Ping timeout: 250 seconds]
mson has quit [Quit: Connection closed for inactivity]
eckhardt has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomphp has quit [Ping timeout: 250 seconds]
troys is now known as troys_
tomphp has joined #ruby
tomphp has quit [Client Quit]
sepp2k1 has joined #ruby
bmurt has joined #ruby
sepp2k has quit [Ping timeout: 258 seconds]
MrBusiness has joined #ruby
larcara has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
ni291187 has joined #ruby
ni291187 has left #ruby [#ruby]
anisha has quit [Quit: This computer has gone to sleep]
al2o3-cr has quit [Ping timeout: 240 seconds]
nomenkun has joined #ruby
troys_ is now known as troys
larcara has quit [Ping timeout: 240 seconds]
cagomez has joined #ruby
jeanlinux has quit [Remote host closed the connection]
zapata has quit [Read error: Connection reset by peer]
zapata has joined #ruby
imode has quit [Ping timeout: 240 seconds]
jottr_ has joined #ruby
jeanlinux has joined #ruby
biberu has quit []
eputnam has left #ruby ["Leaving..."]
enterprisey has joined #ruby
jottr has quit [Ping timeout: 248 seconds]
reber has quit [Remote host closed the connection]
mson has joined #ruby
Nitrodist has joined #ruby
<Nitrodist> anyone have any experience with the pg gem and switching databases with a connection?
bmurt has quit [Remote host closed the connection]
<Nitrodist> eh, nm, I'm just going to re-create connections to each database.
bmurt has joined #ruby
kitsunenokenja has joined #ruby
br0d1n has joined #ruby
cloaked1 has quit [Remote host closed the connection]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
cloaked1 has joined #ruby
griffindy has quit [Quit: Textual IRC Client: www.textualapp.com]
apeiros has quit [Remote host closed the connection]
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banisterfiend has joined #ruby
synthroid has quit []
aroaminggeek has joined #ruby
al2o3-cr has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
nomenkun has quit [Quit: Leaving...]
jottr has joined #ruby
aScottishBoat has joined #ruby
lytol has quit [Remote host closed the connection]
jottr_ has quit [Ping timeout: 248 seconds]
br0d1n has quit [Ping timeout: 240 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bkxd has joined #ruby
banisterfiend has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
guacamole has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
bmurt has quit [Client Quit]
kitsunenokenja has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 268 seconds]
jamesaxl has quit [Quit: WeeChat 1.9.1]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
guacamole has quit [Max SendQ exceeded]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cognoscente has joined #ruby
pilne has joined #ruby
workmad3 has quit [Ping timeout: 248 seconds]
eckhardt_ has joined #ruby
weathermaker has joined #ruby
eckhardt_ has quit [Client Quit]
apeiros has joined #ruby
eckhardt has quit [Ping timeout: 260 seconds]
orbyt_ has joined #ruby
scientes has joined #ruby
GodFather has quit [Ping timeout: 240 seconds]
apeiros has quit [Ping timeout: 268 seconds]
ptx0 has quit [Remote host closed the connection]
GodFather has joined #ruby
tcopeland has quit [Quit: tcopeland]
pilne has quit [Quit: Quitting!]
ahtapot has joined #ruby
ptx0 has joined #ruby
cdg has joined #ruby
pilne has joined #ruby
cdg has quit [Ping timeout: 248 seconds]
banisterfiend has joined #ruby
rfoust has joined #ruby
morfin60 has joined #ruby
apeiros has joined #ruby
troys is now known as troys_
allcentury has quit [Remote host closed the connection]
morfin has quit [Ping timeout: 268 seconds]
allcentury has joined #ruby
cdg has joined #ruby
exhiled has joined #ruby
apeiros has quit [Ping timeout: 248 seconds]
ivanskie has quit [Quit: Leaving]
ptx0 has quit [Read error: Connection reset by peer]
ptx0_ has joined #ruby
ptx0_ is now known as ptx0
kitsunenokenja has joined #ruby
cdg has quit [Ping timeout: 248 seconds]
ShalokShalom has quit [Remote host closed the connection]
aScottishBoat has quit [Read error: Connection reset by peer]
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
selim has quit [Ping timeout: 240 seconds]
sepp2k1 has quit [Read error: Connection reset by peer]
apeiros has joined #ruby
char_var[buffer] has joined #ruby
selim has joined #ruby
Macrobiotic has quit [Quit: Connection closed for inactivity]
exhiled has joined #ruby
aScottishBoat has joined #ruby
eightlimbed has joined #ruby
apeiros has quit [Ping timeout: 268 seconds]
daed has quit [Remote host closed the connection]
morfin60 has quit []
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
safetypin has quit [Ping timeout: 250 seconds]
thinkpad has joined #ruby
hutch34 has joined #ruby
impermanence has joined #ruby
<impermanence> Does anyone have experience using elasticsearch-py?
scientes has quit [Ping timeout: 248 seconds]
enterprisey has quit [Remote host closed the connection]
<RickHull> after `gem install foo` -- is there a good way to execute foo's rake tasks?
<RickHull> one way is to look at `gem which foo` to find its Rakefile
lexruee has joined #ruby
k3rn31_ has quit [Ping timeout: 248 seconds]
dionysus69 has quit [Ping timeout: 248 seconds]
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
weathermaker has quit [Ping timeout: 268 seconds]
ahtapot has quit [Remote host closed the connection]
kitsunenokenja has quit [Ping timeout: 240 seconds]
minimalism has joined #ruby
exhiled has joined #ruby
exhiled has quit [Client Quit]
DLSteve_ has quit [Quit: All rise, the honorable DLSteve has left the channel.]
Iarfen has joined #ruby
<Iarfen> hi!
<Iarfen> what's the channel for ruby on rails?
<RickHull> ?rails
<ruby[bot]> Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
apeiros has joined #ruby
larcara has joined #ruby
hutch34 has quit [Ping timeout: 258 seconds]
apeiros has quit [Ping timeout: 260 seconds]
larcara has quit [Ping timeout: 255 seconds]
hutch34 has joined #ruby
tcopeland has joined #ruby
nowhere_man has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bkxd has joined #ruby
apeiros has joined #ruby
hutch34 has quit [Ping timeout: 250 seconds]
apeiros has quit [Ping timeout: 250 seconds]
hutch34 has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Technodrome has joined #ruby
hutch34 has joined #ruby
Puffball has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
hutch34 has quit [Ping timeout: 240 seconds]
hutch34 has joined #ruby