apeiros_ changed the topic of #ruby to: Ruby 2.2.1; 2.1.5; 2.0.0-p643: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org, other public logging is prohibited
jusmyth has joined #ruby
<godd2> jhass I think you missed a few: http://ruby-doc.org/docs/keywords/1.9/
graydot has joined #ruby
Channel6 has quit [Quit: Leaving]
<livinded> after I intiantiate a new ContentMonitor the loop in the proc passed to super executes once but it never loops again
<jhass> godd2: not that it changed much, but whynot recent docs
delianides has joined #ruby
graydot has quit [Client Quit]
<godd2> jhass I just grabbed the first googling :P
<jhass> ah yes, case/when, and/or
martinbmadsen has joined #ruby
x1337807x has joined #ruby
<jhass> __FILE__ is debatable
juanpaucar has joined #ruby
<godd2> livinded I don't know of any examples, but perhaps you could try composition instead of inheritance?
milesmatthias has joined #ruby
x1337807x has quit [Client Quit]
<godd2> livinded that is, have your ContentManager class use a Thread as one of its instance variables and do operations on *that*
baweaver has joined #ruby
milesmatthias has quit [Remote host closed the connection]
<livinded> godd2: as in using include in the ContentMonitor instead of inheriting?
<jhass> ^ I usually compose my threads too
<jhass> no, include is another form of inheritance
<jhass> @thread = Thread.new { code }
<godd2> livinded not include, just set an instance variable inside the class as a new Thread
<livinded> ah
davlaw__ has quit [Ping timeout: 246 seconds]
<livinded> but I wont be able to bind the current scope to it, will I?
dc has quit [Remote host closed the connection]
dc has joined #ruby
sngeth has joined #ruby
<godd2> livinded I'm not sure what you mean. A Thread takes the local scope of where it was defined, if I'm not mistaken
<jhass> that has nothing to do with the thread
<jhass> the block you pass it to closures your self
<livinded> ok
<jhass> Thread dos not instance_eval it or anything
<jhass> so the self is your class, instance vars go to your class and so on
mengu has joined #ruby
wallerdev has quit [Quit: wallerdev]
senayar has quit []
juanpaucar has quit [Ping timeout: 264 seconds]
edwardly has quit [Quit: ??????????]
oetjenj has joined #ruby
pico-pete has quit [Ping timeout: 272 seconds]
wallerdev has joined #ruby
<alphaatom> so, can if be used like unless, for example: print "stuff" if true
pico-pete has joined #ruby
<centrx> yes
<alphaatom> cool
<centrx> inline/postfix conditional
pietr0 has quit [Ping timeout: 246 seconds]
jhebden has joined #ruby
<jhass> AlphaAtom: while and until too
<jhass> (and rescue, but don't do that)
dc has quit [Ping timeout: 264 seconds]
sngeth has quit [Ping timeout: 265 seconds]
<centrx> AlphaAtom, language features like unless can make the code easier to read and understand, reducing cognitive load
<godd2> keyword "can"
juanpablo_ has quit [Quit: (null)]
<godd2> just don't use an 'unless' with an 'else'
mengu has quit [Ping timeout: 246 seconds]
djbkd has quit [Quit: My people need me...]
<jhass> what? your brain does not work _exactly_ like mine?
juanpablo_ has joined #ruby
<livinded> jhass godd2 I was just being dumb. I was doing @queue > 10 rather than @queue.count > 10 and the thread was just silently dying
<jhass> livinded: cool, now use .size instead of .count
<jhass> .count optimizes by calling .size, but it has another intention
dc has joined #ruby
centrx has quit [Remote host closed the connection]
jusmyth has quit [Quit: Leaving.]
<livinded> ah
Lewix has joined #ruby
centrx has joined #ruby
<godd2> >> [
<eval-in_> godd2 => /tmp/execpad-fade22b22727/source-fade22b22727:3: syntax error, unexpected keyword_rescue, expecting ']' ... (https://eval.in/302228)
<godd2> fat fingers...
<godd2> >> ["a", "a", "b", "a"].count("a")
<eval-in_> godd2 => 3 (https://eval.in/302230)
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
ych4k3r has joined #ruby
juanpablo_ has quit [Ping timeout: 272 seconds]
jgrevich has joined #ruby
sevvie has quit [Ping timeout: 272 seconds]
OrbitalKitten has joined #ruby
edwardly has joined #ruby
edwardly has joined #ruby
sivsushruth has quit [Read error: Connection reset by peer]
x1337807x has joined #ruby
lkba_ has joined #ruby
lkba has quit [Read error: Connection reset by peer]
sivsushruth has joined #ruby
iMe has quit [Ping timeout: 244 seconds]
CatMartyn has joined #ruby
jespada has quit [Quit: WeeChat 1.1.1]
patrick99e99 has quit [Ping timeout: 256 seconds]
davedev24_ has joined #ruby
davedev2_ has quit [Ping timeout: 255 seconds]
patrick99e99 has joined #ruby
baweaver has quit [Remote host closed the connection]
noname001 has joined #ruby
jonr22 has joined #ruby
morenoh149 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
benlieb has quit [Ping timeout: 264 seconds]
noname001 has quit [Quit: leaving]
iMe has joined #ruby
Hobogrammer has joined #ruby
aef has quit [Remote host closed the connection]
baroquebobcat has quit [Quit: baroquebobcat]
aef has joined #ruby
RegulationD has quit [Remote host closed the connection]
brocktimus has quit [Quit: Leaving]
ramfjord has quit [Ping timeout: 246 seconds]
godd2 has quit [Ping timeout: 252 seconds]
davedev2_ has joined #ruby
Musashi007 has quit [Quit: Musashi007]
elfuego has quit [Quit: elfuego]
jonr22 has quit [Ping timeout: 252 seconds]
AnxiousGarlic has joined #ruby
davedev24_ has quit [Ping timeout: 252 seconds]
braincrash has quit [Ping timeout: 255 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
beef-wellington has quit [Ping timeout: 256 seconds]
B1n4r10 has quit [Quit: Textual IRC Client: www.textualapp.com]
ajsdklfjalksdf has joined #ruby
noname001 has joined #ruby
neanderslob has joined #ruby
oo_ has joined #ruby
sevvie has joined #ruby
icebourg has joined #ruby
bayed has quit [Quit: Connection closed for inactivity]
bricker has quit [Ping timeout: 255 seconds]
mjuszczak has quit []
x77686d has quit [Ping timeout: 244 seconds]
sankaber has joined #ruby
willharrison has joined #ruby
oo_ has quit [Remote host closed the connection]
davedev2_ has quit [Read error: Connection reset by peer]
<akurilin> what's everybody's favorite file watcher in ruby? I've used watchr before, seems ok
braincrash has joined #ruby
ajsdklfjalksdf has quit [Ping timeout: 264 seconds]
<akurilin> can't quite figure out what it thinks sometimes though :(
davedev24_ has joined #ruby
baweaver has joined #ruby
<jhass> never tried anything else than guard
milesmatthias has joined #ruby
josephleon has quit [Quit: Leaving...]
ajsdklfjalksdf has joined #ruby
milesmatthias has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
charliesome has joined #ruby
michael_mbp has quit [Excess Flood]
Sawbones has joined #ruby
oo_ has joined #ruby
<akurilin> jhass: is the idea that I could put system commands inside of the watch blocks to execute whatever I want when a change is detected?
<jhass> uh, no I don't think so
michael_mbp has joined #ruby
<jhass> you have to write plugins I think
<jhass> maybe there's one that let's you run arbitrary stuff though
<akurilin> yeah seems a bit overkill for what I'm doing
davedev24_ has quit [Ping timeout: 272 seconds]
martinbmadsen has quit [Ping timeout: 256 seconds]
wallerdev has quit [Quit: wallerdev]
einarj has quit [Remote host closed the connection]
pandaant has joined #ruby
mjuszczak has joined #ruby
centrx has quit [Remote host closed the connection]
MyMind has quit [Ping timeout: 252 seconds]
delianides has quit [Remote host closed the connection]
Dreamer3 has quit [Quit: Computer has gone to sleep.]
Cache_Money has joined #ruby
Soda has joined #ruby
Cache_Money has quit [Client Quit]
brandly has joined #ruby
arescorpio has joined #ruby
Dreamer3 has joined #ruby
PhaseCode has quit [Read error: Connection reset by peer]
PhaseCode has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nii236 has joined #ruby
marr has quit [Ping timeout: 265 seconds]
Musashi007 has joined #ruby
mjuszczak has quit [Remote host closed the connection]
davedev24_ has joined #ruby
waroperator has joined #ruby
karmatr0n has quit [Ping timeout: 255 seconds]
krisquigley has joined #ruby
x1337807x has joined #ruby
davidhq has joined #ruby
josephleon has joined #ruby
MyMind has joined #ruby
davidhq has quit [Client Quit]
ramfjord has joined #ruby
martinbmadsen has joined #ruby
Zai00 has joined #ruby
oo_ has quit [Remote host closed the connection]
krisquigley has quit [Ping timeout: 244 seconds]
sevenseacat has joined #ruby
icebourg has quit []
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
oo_ has joined #ruby
paraxor has joined #ruby
Azure has quit [Quit: Blue Sky Fish]
Rephiax has quit [Read error: Connection reset by peer]
eric_lagergren has quit [Quit: Leaving]
oo_ has quit [Remote host closed the connection]
mikecmpbll has quit [Read error: Connection reset by peer]
iteratorP has joined #ruby
maletor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has quit [Ping timeout: 246 seconds]
slackbotgz has quit [Remote host closed the connection]
slackbotgz has joined #ruby
jenrzzz has joined #ruby
sngeth has joined #ruby
oo_ has joined #ruby
baweaver has quit [Remote host closed the connection]
MyMind has quit [Ping timeout: 246 seconds]
paradoja has quit [Remote host closed the connection]
Sawbones has quit []
alphaatom has quit [Ping timeout: 264 seconds]
x1337807x has joined #ruby
jenrzzz_ has quit [Ping timeout: 256 seconds]
x1337807x has quit [Client Quit]
sngeth has quit [Ping timeout: 245 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
checkit has quit [Ping timeout: 252 seconds]
ghostpl_ has joined #ruby
juanpablo_ has joined #ruby
x1337807x has joined #ruby
sivsushruth has quit [Read error: Connection reset by peer]
charliesome has quit [Ping timeout: 256 seconds]
jlast has joined #ruby
karmatr0n has joined #ruby
sivsushruth has joined #ruby
juanpablo_ has quit [Ping timeout: 264 seconds]
ghostpl_ has quit [Ping timeout: 272 seconds]
Azure has joined #ruby
sivsushruth has quit [Read error: Connection reset by peer]
Spami has quit [Quit: This computer has gone to sleep]
Lewix has quit [Remote host closed the connection]
jkroon has joined #ruby
cazrin has joined #ruby
<jkroon> /usr/lib/ruby/1.9.1/syck.rb:82:in `<module:Syck>': uninitialized constant Syck::DefaultResolver (NameError)
<jkroon> suggestions?
pengin has quit [Remote host closed the connection]
sivsushruth has joined #ruby
kblake has quit [Remote host closed the connection]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackmes1 has quit [Ping timeout: 264 seconds]
jerematic has joined #ruby
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
justin_pdx has quit [Quit: justin_pdx]
iamjarvo has joined #ruby
<kaleido> sacrifice a lamb :(
<kaleido> :D
baweaver has joined #ruby
<jkroon> ... or a cow, neither of which really helps.
Rahul_Roy_ has quit [Quit: Connection closed for inactivity]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Vile` has quit [Read error: Connection reset by peer]
pengin has joined #ruby
hfp_ has joined #ruby
hfp_work has quit [Ping timeout: 255 seconds]
RegulationD has joined #ruby
hfp has quit [Ping timeout: 264 seconds]
hfp_ is now known as hfp
dfinninger has joined #ruby
Vile` has joined #ruby
amclain has joined #ruby
hfp_work has joined #ruby
sivsushruth has quit [Read error: Connection reset by peer]
RegulationD has quit [Ping timeout: 246 seconds]
<a5i> anyone here experienced with Thin ?
sivsushruth has joined #ruby
thinkswan has joined #ruby
Wolland has quit []
baweaver has quit [Remote host closed the connection]
<jhass> jkroon: use Psych
<jhass> Syck is actually dropped from all supported Ruby versions
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jkroon> jhass, this is on an ubuntu box, so how?
pengin has quit [Remote host closed the connection]
<jkroon> used to work fine, apt-get update/upgrade ... and *boom*, everything ruby related is ... well, broken.
<sevenseacat> this happens when you use system rubies.
<jkroon> jhass, please keep in mind that I'm not a ruby user normally. what I know of ruby is next to nothing.
towski_ has quit [Remote host closed the connection]
<jhass> jkroon: so what are you actually doing?
<jkroon> and the various bits and pieces of information I can find is not particularly helpful. probably because I have no idea what to google for.
<jkroon> jhass, just updated a large number of machines, system updates (sys admin), and this one box is now giving problems.
<jhass> sigh
<jkroon> that sounds ominous
<jhass> can't help you with that kind of question really
<jhass> I suppose you tacked the error message into google
<jkroon> jip
<jhass> and that turned up nothing
<jkroon> or close to ...
<jkroon> and the two or three hits was basically like "oh just run gem --update system", but that doesn't work either.
<jhass> so, the ruby ecosystem has several tens of thousands of libraries
<jhass> and as much code that's not FOSS
nahtnam has joined #ruby
<jhass> and about 20 _popular_ way of general setups
<jhass> with tons of specifics
<jhass> so throwing some random error message into our face won't get you help
riotjones has joined #ruby
<jkroon> ok, so what do i need to provide that will enable someone to assist?
<jhass> full error message, and what you're actually doing
wldcordeiro has quit [Ping timeout: 255 seconds]
adriancb has joined #ruby
daveomcd has joined #ruby
<daveomcd> how can i locate a file by filename when I don't know what the extension will be?
<jhass> daveomcd: find
<jhass> or Dir.glob/Dir[] in ruby
patrick99e99 has quit [Ping timeout: 252 seconds]
Soda has quit [Remote host closed the connection]
martinbmadsen has quit [Ping timeout: 255 seconds]
<daveomcd> jhass: hmm ok i'll look those up thanks
mistermocha has joined #ruby
<jhass> daveomcd: with find I meant hte CLI tool ;)
<jkroon> jhass, probably very incomplete, but lets start with http://pastebin.com/c4fjw9f4
frem has quit [Quit: Connection closed for inactivity]
<helpa> Hi jkroon. We in #ruby would really appreciate it if you did not use pastebin during your time with us.
<helpa> Pastebin is not good because it loads slowly for most, has ads which are distracting and has terrible formatting. Please use Gist (http://gist.github.com) or Pastie (http://pastie.org) instead. Thanks!
hobodave has joined #ruby
riotjones has quit [Ping timeout: 265 seconds]
TechTonics has joined #ruby
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Lucky__ has joined #ruby
<jhass> jkroon: passenger 3.0.9 is more than two and a half years old, they released about 100 versions (no kidding) and are at 5.0.4
<jhass> fair possibility it's just plain incompatible with the ruby your upgraded too
<jhass> *to
slackbotgz has quit [Remote host closed the connection]
Musashi007 has quit [Quit: Musashi007]
adriancb has quit [Ping timeout: 252 seconds]
<jkroon> ok, so how do I update passenger?
slackbotgz has joined #ruby
<nahtnam> Hey! I keep reading that ruby is inefficient. Is that true? Why?!?!
<jhass> the same way you installed it
waroperator has quit [Remote host closed the connection]
<jhass> nahtnam: it's efficient on programmer time, which is the most important part anyway, and very much efficient enough for > 90% of your problems
<jkroon> jhass, it's not passenger (which btw, this is an inherited system)
<jkroon> shows "gem" doing the exact same thing.
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jkroon> or at least, it's not isolated to passenger.
<jhass> cool, just keep in mind running EOL'd stuff doesn't give you the best support
<jkroon> trust me, if I had a choice ...
OrbitalKitten has joined #ruby
<sevenseacat> eol stuff :(
Sirupsen has joined #ruby
sngeth has joined #ruby
juanpaucar has joined #ruby
<TechTonics> does anyone have any experience working with ods spreadsheets in ruby?
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
delianides has joined #ruby
Affix has joined #ruby
patrick99e99 has joined #ruby
<jhass> TechTonics: Please do not crosspost without at least telling so. Experience shows that people don't bother to inform the other channels of provided solutions, therefore it is considered rude.
sngeth has quit [Ping timeout: 265 seconds]
juanpaucar has quit [Ping timeout: 264 seconds]
<jkroon> jhass, ok, so it seems a bunch of manual stuff was dropped into the various ruby/version/gems folders ...
mistermocha has quit [Remote host closed the connection]
<TechTonics> ok thanks jhass, any ideas?
<jhass> jkroon: so what's this? debian?
<jkroon> is /usr/lib/ruby/${version}/ the only place I need to be concerned about. ubuntu.
<jkroon> so close enough to debian...
<jhass> TechTonics: no, zero experience there
<jhass> stick around for at least an hour or two
robustus has quit [Ping timeout: 264 seconds]
<jhass> search for ods on rubygems.org
justin_pdx has joined #ruby
fryguy9 has joined #ruby
<jhass> jkroon: so there are some excellent recent ruby packages for ubuntu by brightbox
<jhass> disregarding reality, the sane solution would be to ask your devs to port their stuff to a supported Ruby version
<jhass> (2.0 is supported till late Februrary 2016)
<jkroon> jhass, nuked (moved) the old stuff.
<jkroon> jhass, will definitely do that.
ajsdklfjalksdf has quit [Quit: ajsdklfjalksdf]
<jhass> so best get them to port to 2.2
robustus has joined #ruby
<jkroon> at least i can run "gem" again without it bombing out.
iteratorP has quit [Read error: Connection reset by peer]
<jhass> okay, cool
cazrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
iteratorP has joined #ruby
amystephen has quit [Quit: amystephen]
sankaber has joined #ruby
cazrin has joined #ruby
<jkroon> /usr/lib/ruby/1.9.1/rubygems/remote_fetcher.rb:241:in `require': no such file to load -- net/https (LoadError)
<jkroon> ok, so somehow I need to get that ... but gem requires it
<jhass> do you know from what to what you upgraded?
it0a has joined #ruby
brandly has quit [Ping timeout: 255 seconds]
DavidDudson has joined #ruby
oetjenj has quit [Read error: Connection reset by peer]
nucular11 has quit [Quit: Textual IRC Client: www.textualapp.com]
oetjenj has joined #ruby
<jkroon> jhass, apparently from 1.9.1 to some other ubuntu specific patch version of 1.9.1 ...
<jhass> eh, well, the 1.9.1 is just the ABI version
<jhass> !abi
<helpa> Each Ruby release has actually two versions, the interpreter version and the ABI version. The interpreter version is what commonly is referred to, for example 2.1.5. The ABI version is for the binary interface used by compiled extensions and it is what you see in your paths. It's usually shared among one release series, for example for the Ruby versions 2.1.0 to 2.1.5 the ABI version is 2.1.0.
<jkroon> ok, in that case, no, I have no clue.
<jhass> so that might as well be 1.9.1 -> 1.9.3
<jhass> which back in the days were actually quite heavy changes
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cazrin has quit [Ping timeout: 256 seconds]
<jhass> I can't even find out when net/https was in the standad library...
<jhass> 18>> require 'net/https'
<eval-in_> jhass => true (https://eval.in/302293)
<jhass> 19>> require 'net/https'
<eval-in_> jhass => true (https://eval.in/302294)
<jhass> eh
<jhass> 20>> require 'net/https'
<eval-in_> jhass => true (https://eval.in/302295)
<jhass> oO
<jhass> docs don't list it
DavidDudson has quit [Ping timeout: 250 seconds]
it0a has quit [Ping timeout: 252 seconds]
<mozzarella> 30>> 'wut'
<jhass> maybe you nuked a bit too much stuff?
<mozzarella> 20>> 'wut'
<eval-in_> mozzarella => "wut" (https://eval.in/302296)
yakko has joined #ruby
<comma8> How can I create an "independant" process? So far everything I have tried, the new process or thread gets killed when the ruby script is killed.
yakko is now known as thejamespinto
<mozzarella> why do you want to do that?
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
markholmes has joined #ruby
ghostmoth has quit [Quit: ghostmoth]
<jhass> comma8: Process.daemon basically, but yeah don't, use a proper supervisor
triangles2 has joined #ruby
<jhass> jkroon: maybe you deleted too much stuff? try reinstalling the package
deric_skibotn has quit [Ping timeout: 252 seconds]
<jhass> now that I found the file I can tell it's in stdlib still and since ever
OrbitalKitten has quit [Quit: Textual IRC Client: www.textualapp.com]
_2_sexy has joined #ruby
<thejamespinto> hey guys, I'm trying to read the metadata inside an #it but I can't, it seems to be only accessible if you get the lambda argument it("works") { |ex| } Is there a way around this?
<jkroon> jhass, i probably did, re-install rake using apt-get and now gem works ...
jerematic has quit [Remote host closed the connection]
<jkroon> now to figure it out bit by bit
jonr22 has joined #ruby
claptor has joined #ruby
<jhass> thejamespinto: Please do not crosspost without at least telling so. Experience shows that people don't bother to inform the other channels of provided solutions, therefore it is considered rude.
Cat_1 has quit []
triangles has quit [Ping timeout: 272 seconds]
<_2_sexy> ok hi I'm Whitney I'm not use to any of the
<banister> jhass sleep
<thejamespinto> jhass: I'm sorry
<_2_sexy> who is this
<jhass> don't be sorry, just tell next time
* sevenseacat steals that tip for helpa
<_2_sexy> what are u talking about
<jhass> _2_sexy: ruby
<thejamespinto> _2_sexy: and how rude I am
sngeth has joined #ruby
Cust0sL1men has joined #ruby
<_2_sexy> I'm Whitney nice ti meet u
<thejamespinto> jhass: isn't she a nice bot? :)
jerematic has joined #ruby
<jhass> dunno, seems not to be very interactive
<thejamespinto> _2_sexy: can I see you naked?
<jkroon> ok, i think i know what went wrong.
claptor has quit [Read error: Connection reset by peer]
<jkroon> nginx was first installed using the package manager, and then clobbered using some passenger-install-nginx-module ... and then the system update updated nginx.
jonr22 has quit [Ping timeout: 265 seconds]
_2_sexy has quit [Read error: No route to host]
<jhass> jkroon: well, that should at most have stopped nginx from starting or recognizing the ruby app
<jhass> not crashed rubygems
<jhass> I'm not saying it was a good idea
nateberkopec has quit [Quit: Leaving...]
claptor has joined #ruby
livingstn has joined #ruby
<thejamespinto> hey guys, I'm trying to read the metadata inside an #it but I can't, it seems to be only accessible if you get the lambda argument it("works") { |ex| } Is there a way around this?
claptor has quit [Read error: Connection reset by peer]
claptor has joined #ruby
bruno- has quit [Ping timeout: 265 seconds]
morenoh149 has joined #ruby
<sevenseacat> thejamespinto: what were you just told
iMe has quit [Ping timeout: 252 seconds]
<thejamespinto> sevenseacat: you're harassing me
<sevenseacat> i am?
diegoviola has joined #ruby
juanpablo_ has joined #ruby
<thejamespinto> sevenseacat: Rebecca, how long do I have to wait to repost a question? Also, this is my second post, I'm not posting any longer if I don't get a response
hobodave has quit [Quit: Computer has gone to sleep.]
sngeth has quit [Ping timeout: 250 seconds]
<thejamespinto> sevenseacat: you could be nice and try to help me instead
iMe has joined #ruby
triangles3 has joined #ruby
sivsushruth has quit [Read error: Connection reset by peer]
juanpablo_ has quit [Ping timeout: 272 seconds]
triangles2 has quit [Ping timeout: 272 seconds]
ismaelga has quit [Remote host closed the connection]
jerematic has quit [Remote host closed the connection]
sngeth has joined #ruby
sivsushruth has joined #ruby
<jhass> thejamespinto: https://github.com/rspec/rspec-core/blob/master/lib/rspec/core/example_group.rb#L156 there's your entry point, have fun tracing
Joufflu has joined #ruby
<thejamespinto> jhass: I would never come here if I hadn't already flipped the sources upside down
<jhass> you didn't say so in your question
rgb-one has joined #ruby
<jhass> so I can't assume that
<jkroon> jhass, thanks.
<thejamespinto> jhass: it appears to be a change in RSpec 3, it used to be possible to access the example from within an #it, there is even a clear example on Chelimsky's book
<jhass> jkroon: not sure how much I actually helped, but you're welcome
<jkroon> it's back up and running, whether it actually works is a different question, but the apps home page comes up thanks.
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
<jkroon> jhass, you helped. trust me.
jgt1 has quit [Ping timeout: 246 seconds]
TechTonics has quit [Quit: Leaving]
<thejamespinto> jhass: thanks anyways, you had no way to know
<jkroon> jhass, one thing you might be able to help with, unknown directive "passenger_set_cgi_param" in .. and yes, it's directly in a server {} block as per https://meta.discourse.org/t/twitter-login-with-passenger-varnish-quick-lessons-learned/7582/3
Sawbones has joined #ruby
milesmatthias has joined #ruby
JDiPierro has joined #ruby
JDiPierro has quit [Remote host closed the connection]
delianides has quit [Remote host closed the connection]
<jhass> jkroon: still on passenger 3.0.9?
<jkroon> 5.0.4 if i'm not mistaken.
<jhass> cool
<jkroon> how can i confirm?
<jhass> 5.0.4 docs don't know it
<jhass> so it's probably just gone
iwaffles has quit [Quit: iwaffles]
<jhass> uh, I don't know, I don't use passenger
<jhass> last time I just saw it in the backtrace
sngeth has quit [Ping timeout: 252 seconds]
thejamespinto has quit [Read error: Connection reset by peer]
<jkroon> jhass, grr, the app force installs 3.0.9 :(
slackbotgz1 has joined #ruby
sngeth has joined #ruby
thejamespinto has joined #ruby
<jkroon> so the app presumably uses 3.0.9 and nginx 5.0.4 ... if that's even possible.
thahive has quit [Ping timeout: 265 seconds]
iterator_ has joined #ruby
Sawbones has quit [Remote host closed the connection]
Sirupsen has quit [Quit: Textual IRC Client: www.textualapp.com]
livingstn has quit [Ping timeout: 264 seconds]
iwaffles has joined #ruby
Sawbones has joined #ruby
<jkroon> jhass, another mechanism to set things like passenger_set_cgi_param HTTP_X_FORWARDED_FOR $proxy_add_x_forwarded_for; ??
<jhass> jkroon: if the app just installs the gem, it's irrelevant
iwaffles has quit [Client Quit]
<jhass> what your nginx runs on counts
<jkroon> jhass, once more i'm indebted to you. thanks for the information.
<jhass> (at least I'd expect that)
<jhass> that's the most recent docs
<jhass> let's see if we can find a new setting
hobodave has joined #ruby
hobodave has quit [Client Quit]
<jkroon> i'm guessing passenger_set_header ...
krz has joined #ruby
slackbotgz has quit [Read error: Connection reset by peer]
iteratorP has quit [Ping timeout: 255 seconds]
<jhass> mmh, no
<jhass> but that's only set on app boot
<jhass> for a rack app the header should be fine indeed
<jkroon> difference between environment variable and request header.
<jhass> I guess they actually dropped cgi support
starless has joined #ruby
<jhass> old docs for set_cgi_param: "Allows one to define additional CGI environment variables to pass to the backend application. This is equivalent to ngx_http_fastcgi_module’s fastcgi_param directive, and is comparable to ngx_http_proxy_module’s proxy_set_header option. Nginx variables in the value are interpolated."
patrick99e99 has quit [Ping timeout: 256 seconds]
<jhass> so yeah, try set_header actually
patrick99e99 has joined #ruby
krisquigley has joined #ruby
sngeth has quit [Ping timeout: 264 seconds]
oo_ has quit [Remote host closed the connection]
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jkroon> obviously using X-Forwarded-For instead of HTTP_X_FORWARDED_FOR style :)
<thejamespinto> jhass, sevenseacat: found my answer, it was moved to a more contextual place since Chelimsky's commit #666 to RSpec.current_example.metadata
<jkroon> jhass, thanks a LOT!
<sevenseacat> good stuff.
<jkroon> i think that should cover it.
iterator_ has quit [Remote host closed the connection]
iteratorP has joined #ruby
krisquigley has quit [Ping timeout: 250 seconds]
martinbmadsen has joined #ruby
morenoh150 has joined #ruby
chridal has joined #ruby
patrick99e99 has quit [Ping timeout: 256 seconds]
pontiki has joined #ruby
d10n-work has quit [Quit: Connection closed for inactivity]
triangles2 has joined #ruby
jkroon has quit [Remote host closed the connection]
oo_ has joined #ruby
morenoh149 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
MyMind has joined #ruby
morenoh149 has joined #ruby
oo_ has quit [Remote host closed the connection]
morenoh151 has joined #ruby
triangles3 has quit [Ping timeout: 252 seconds]
chridal has quit [Ping timeout: 250 seconds]
morenoh150 has quit [Ping timeout: 264 seconds]
delianides has joined #ruby
patrick99e99 has joined #ruby
davedev2_ has joined #ruby
oo_ has joined #ruby
davedev24_ has quit [Ping timeout: 264 seconds]
Vile` has quit [Remote host closed the connection]
fryguy9 has quit [Quit: Leaving.]
fryguy9 has joined #ruby
sngeth has joined #ruby
fuzzyhorns2 has quit [Ping timeout: 252 seconds]
<jhass> DeBot: !hangman ruby
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
<jhass> uh, long one
<jhass> DeBot: :#
<DeBot> ␣␣␣␣␣␣␣::␣␣␣␣::␣␣␣␣␣␣␣␣␣␣␣#␣␣␣␣␣␣ [] 0/12
Vile` has joined #ruby
ghostpl_ has joined #ruby
<jhass> DeBot: _
<DeBot> ␣␣␣␣␣␣␣::␣␣␣␣::␣␣␣␣␣␣␣␣␣␣␣#␣␣_␣␣␣ [] 0/12
havenwood has joined #ruby
<sevenseacat> heh
patrick99e99 has quit [Ping timeout: 245 seconds]
<jhass> DeBot: os
<DeBot> O␣␣␣SS␣::␣␣␣␣::␣␣␣␣␣␣␣␣␣␣␣#␣o_␣␣␣ [] 0/12
<jhass> DeBot: penx509
<DeBot> OpenSS␣::X509::␣e␣␣␣␣␣␣␣␣e#␣o_pe␣ [] 0/12
<sevenseacat> well it starts with openssl
<jhass> you can guess too!
<sevenseacat> DeBot: l
<DeBot> OpenSSL::X509::␣e␣␣␣␣␣␣␣␣e#␣o_pe␣ [] 0/12
patrick99e99 has joined #ruby
<sevenseacat> DeBot: n
<DeBot> OpenSSL::X509::␣e␣␣␣␣␣␣␣␣e#␣o_pe␣ [] 0/12
<sevenseacat> oh that was already guessed
delianides has quit [Remote host closed the connection]
<sevenseacat> duh
<jhass> DeBot: aiu
<DeBot> OpenSSL::X509::␣e␣␣i␣i␣a␣e#␣o_pe␣ [u] 1/12
<sevenseacat> DeBot: t
<DeBot> OpenSSL::X509::␣e␣ti␣i␣ate#to_pe␣ [u] 1/12
<jhass> DeBot: r
<DeBot> OpenSSL::X509::␣erti␣i␣ate#to_pe␣ [u] 1/12
<sevenseacat> DeBot: m
<DeBot> OpenSSL::X509::␣erti␣i␣ate#to_pem [u] 1/12
<jhass> DeBot: cf
<DeBot> OpenSSL::X509::Certificate#to_pem [u] 1/12 You won!
<sevenseacat> \o/
astrobunny has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
havenn has quit [Ping timeout: 244 seconds]
astrobunny has joined #ruby
<nahtnam> DeBot: hi?
<nahtnam> DeBot: r
<nahtnam> DeBot: aiu
<nahtnam> I wanna play!
<jhass> well, read the backlog
<nahtnam> DeBot: !hangman ruby
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
<nahtnam> DeBot: :
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣ [:] 1/12
<nahtnam> DeBot: aiu
<DeBot> I␣␣␣␣␣␣␣i␣␣ [:au] 3/12
<nahtnam> DeBot: e
<DeBot> I␣␣␣␣␣␣␣i␣e [:au] 3/12
<nahtnam> DeBot: f
<DeBot> I␣␣␣␣␣␣␣i␣e [:auf] 4/12
<nahtnam> DeBot: g
<DeBot> I␣␣␣␣␣␣␣i␣e [:aufg] 5/12
<sevenseacat> you're not very good at this
edwardly has quit [Quit: ??????????]
<nahtnam> sevenseacat: You are right
ramfjord has quit [Ping timeout: 272 seconds]
<nahtnam> Ill just stop...
sevvie has quit [Ping timeout: 264 seconds]
sankaber has joined #ruby
<jhass> nah, it's fine if there's nothing else going on ;)
<sevenseacat> start with the most common letters in english
<jhass> like ü
<jhass> the bot actually ignores that one
<sevenseacat> DeBot: st
<DeBot> I␣␣s␣s␣␣ite [:aufg] 5/12
<nahtnam> I did
sevvie has joined #ruby
it0a has joined #ruby
<nahtnam> aeiou
<sevenseacat> no
astrobunny has quit [Ping timeout: 264 seconds]
<sevenseacat> DeBot: rn
<DeBot> I␣␣s␣s␣rite [:aufgn] 6/12
Sawbones has quit [Remote host closed the connection]
ghostpl_ has quit [Ping timeout: 246 seconds]
<jhass> DeBot: o
<DeBot> IO␣s␣s␣rite [:aufgn] 6/12
<jokester> common letters like etaoinshrdl
<sevenseacat> DeBot: #
<DeBot> IO#s␣s␣rite [:aufgn] 6/12
<gr33n7007h> DeBot: y
<DeBot> IO#sys␣rite [:aufgn] 6/12
<vifino> DeBot: w
<DeBot> IO#syswrite [:aufgn] 6/12 You won!
<jhass> nahtnam: go!
<sevenseacat> \o/
<jhass> too slow
kblake has joined #ruby
sngeth has quit [Ping timeout: 252 seconds]
lemur has joined #ruby
Sawbones has joined #ruby
patrick99e99 has quit [Ping timeout: 250 seconds]
sngeth has joined #ruby
edwardly has joined #ruby
thejamespinto has quit [Read error: Connection reset by peer]
Hirzu has joined #ruby
milesmatthias has quit [Remote host closed the connection]
patrick99e99 has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
thejamespinto has joined #ruby
edwardly has quit [Max SendQ exceeded]
kblake has quit [Ping timeout: 245 seconds]
ajsdklfjalksdf has joined #ruby
bruno- has joined #ruby
milesmatthias has joined #ruby
Hirzu has quit [Ping timeout: 264 seconds]
iteratorP has quit [Remote host closed the connection]
AlexRussia has quit [Ping timeout: 272 seconds]
iamninja has quit [Read error: Connection reset by peer]
Zai00 has quit [Quit: Zai00]
iamninja has joined #ruby
thejamespinto has quit [Read error: Connection reset by peer]
patrick99e99 has quit [Ping timeout: 256 seconds]
ztomz has quit [Quit: Connection closed for inactivity]
thejamespinto has joined #ruby
patrick99e99 has joined #ruby
HOrangeJewce has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
juanpablo_ has joined #ruby
triangles3 has joined #ruby
d10n-work has joined #ruby
triangles2 has quit [Ping timeout: 244 seconds]
<nahtnam> jhass: Lol, sorry. Went out for a run. I have to write an essay now so I cant really play. :P Thanks for introducing me to the game tho. :P
sivsushruth has quit [Read error: Connection reset by peer]
agrinb has quit [Remote host closed the connection]
juanpablo_ has quit [Ping timeout: 252 seconds]
sivsushruth has joined #ruby
thejamespinto has quit [Read error: Connection reset by peer]
rgb-one has left #ruby [#ruby]
thejamespinto has joined #ruby
duncannz has joined #ruby
Wolland has joined #ruby
phutchins has quit [Ping timeout: 244 seconds]
morenoh149 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jlast has quit [Remote host closed the connection]
Rayford has joined #ruby
Rayford has quit [Client Quit]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
riotjones has joined #ruby
<sevenseacat> DeBot: !hangman ruby
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
triangles has joined #ruby
<sevenseacat> DeBot: est
<DeBot> ␣␣␣e␣t␣␣s␣␣␣␣ [] 0/12
<sevenseacat> DeBot: rno
<DeBot> ␣␣␣e␣t␣␣s␣␣␣␣ [rno] 3/12
<sevenseacat> wat
<sevenseacat> a
<sevenseacat> DeBot: a
<DeBot> ␣␣␣e␣t␣␣s␣␣␣␣ [rnoa] 4/12
bricker has joined #ruby
<sevenseacat> DeBot: #:
<DeBot> ␣␣␣e␣t␣␣s::␣␣ [rnoa#] 5/12
adriancb has joined #ruby
cpt_yossarian has left #ruby [#ruby]
cpt_yossarian has joined #ruby
<sevenseacat> DeBot: i
<DeBot> ␣i␣e␣ti␣s::␣␣ [rnoa#] 5/12
x1337807x has joined #ruby
<sevenseacat> DeBot: p
<DeBot> ␣i␣e␣ti␣s::␣p [rnoa#] 5/12
AlexRussia has joined #ruby
x1337807x has quit [Max SendQ exceeded]
<sevenseacat> DeBot: u
<DeBot> ␣i␣eUti␣s::␣p [rnoa#] 5/12
<jhass> DeBot: Fl
<DeBot> FileUtils::␣p [rnoa#] 5/12
<sevenseacat> DeBot: flc
<DeBot> FileUtils::cp [rnoa#] 5/12 You won!
<sevenseacat> yay!
x1337807x has joined #ruby
triangles3 has quit [Ping timeout: 272 seconds]
<jhass> DeBot: !hangman gems
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
<sevenseacat> ooooh
<nahtnam> Ohhh
<nahtnam> this is easier
<nahtnam> lol
<nahtnam> 1 second too late
<sevenseacat> DeBot: e
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣ [e] 1/12
<sevenseacat> o.O
morenoh151 has quit [Ping timeout: 264 seconds]
<jhass> DeBot: st
<DeBot> ␣s␣␣␣␣␣␣␣␣␣s [et] 2/12
<jhass> DeBot: _
<DeBot> ␣s␣␣␣␣␣␣␣␣␣s [et_] 3/12
<jhass> DeBot: -
<DeBot> ␣s␣␣␣␣-␣␣␣␣s [et_] 3/12
<sevenseacat> DeBot: ra
<DeBot> ␣s␣a␣␣-ra␣␣s [et_] 3/12
<sevenseacat> DeBot: il
<DeBot> ␣s␣al␣-rails [et_] 3/12
<sevenseacat> DeBot: o
<DeBot> ␣s␣al␣-rails [et_o] 4/12
<sevenseacat> DeBot: u
<DeBot> ␣s␣al␣-rails [et_ou] 5/12
<jhass> DeBot: p
<DeBot> ␣s␣al␣-rails [et_oup] 6/12
<jhass> uh..
<nahtnam> Does this just take any random gem
<nahtnam> or the most popular ones?
<jhass> yes
<jhass> no
<sevenseacat> DeBot: n
<DeBot> ␣s␣al␣-rails [et_oupn] 7/12
<sevvie> DeBot: i
<DeBot> ␣s␣al␣-rails [et_oupn] 7/12
<nahtnam> K
<jhass> :D
<jhass> yeah, let's try k
Rayford has joined #ruby
<jhass> DeBot: k
<DeBot> ␣s␣al␣-rails [et_oupnk] 8/12
<jhass> nope
<sevenseacat> DeBot: g
<DeBot> ␣s␣al␣-rails [et_oupnkg] 9/12
<sevenseacat> dafuq
<nahtnam> DeBot: r
<DeBot> ␣s␣al␣-rails [et_oupnkg] 9/12
<Rayford> anyone know how to change the endpoint of a OmniAuth strategy after a app have been initialized?
riotjones has quit [Ping timeout: 250 seconds]
<nahtnam> DeBot: p
<DeBot> ␣s␣al␣-rails [et_oupnkg] 9/12
bricker has quit [Ping timeout: 252 seconds]
flip_digits has quit [Quit: Lost terminal]
<sevvie> DeBot: y
<DeBot> ␣s␣al␣-rails [et_oupnkgy] 10/12
<nahtnam> DeBot: e
<DeBot> ␣s␣al␣-rails [et_oupnkgy] 10/12
<nahtnam> What is this?!?!?!
<sevenseacat> DeBot: j
<DeBot> js␣al␣-rails [et_oupnkgy] 10/12
<jhass> nahtnam: the brackets show the already tried chars
adriancb has quit [Ping timeout: 264 seconds]
<sevenseacat> ah hah
<nahtnam> jhass: They are all that have failed
<jhass> yes
<nahtnam> "r" isnt included
<jhass> yes
<sevenseacat> r is in the answer already
<jhass> e is
<jhass> p is
<nahtnam> Ik.
<nahtnam> My bad
<sevenseacat> DeBot: m
<DeBot> js␣al␣-rails [et_oupnkgym] 11/12
<jhass> Rayford: I think Omniauth is more common in rails app, you might have better luck in #RubyOnRails
<sevenseacat> well crap.
<jhass> DeBot: v
<DeBot> jscal2-rails [et_oupnkgymv] 12/12 You lost!
<jhass> lol
<sevenseacat> lame
<nahtnam> Never heard of that
<sevenseacat> :D
<jhass> "This is a popup or flat DHTML calendar suitable for selecting date/time."
<jhass> DHTML
<jhass> when did you last hear DHTML
<sevenseacat> 1998
<sevenseacat> !hangman gems
juanpaucar has joined #ruby
<sevenseacat> DeBot: !hangman gems
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
ych4k3r has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<sevvie> DeBot: r
<DeBot> ␣␣␣␣␣␣r␣␣␣␣␣ [] 0/12
<sevenseacat> DeBot: m
<DeBot> ␣␣␣␣␣␣r␣␣␣␣␣ [m] 1/12
<sevvie> debot: l
<sevenseacat> DeBot: st
<DeBot> ␣␣␣␣␣␣r␣␣␣␣s [mt] 2/12
<nahtnam> DeBot: e
<DeBot> ␣␣␣␣e␣r␣␣␣␣s [mt] 2/12
<sevenseacat> DeBot: a
<DeBot> a␣␣␣ear␣␣␣␣s [mt] 2/12
<sevenseacat> DeBot: l
<DeBot> a␣␣␣ear␣␣␣␣s [mtl] 3/12
swgillespie has joined #ruby
<sevvie> DeBot: u
<DeBot> a␣␣␣ear␣␣␣␣s [mtlu] 4/12
DerisiveLogic has quit [Remote host closed the connection]
<nahtnam> - or ?
<sevenseacat> DeBot: n
<DeBot> a␣␣␣earn␣n␣s [mtlu] 4/12
<Radar> DeBot: i
<DeBot> a␣␣␣earnin␣s [mtlu] 4/12
<Radar> DeBot: g
<DeBot> a␣␣␣earnings [mtlu] 4/12
<Radar> DeBot: l
<DeBot> a␣␣␣earnings [mtlu] 4/12
<nahtnam> Nice
<Radar> DeBot: v
<DeBot> a␣␣␣earnings [mtluv] 5/12
<sevenseacat> DeBot: c
<DeBot> a␣␣␣earnings [mtluvc] 6/12
pengin has joined #ruby
<sevvie> DeBot: p
<DeBot> app␣earnings [mtluvc] 6/12
<Radar> DeBot: _
<DeBot> app_earnings [mtluvc] 6/12 You won!
<sevvie> DeBot: _
<nahtnam> DeBot: s
<sevenseacat> :D
<Radar> Well this is fun.
<nahtnam> Oh lol
<nahtnam> Yeah it is
Rayford has quit [Quit: Rayford]
justin_pdx has quit [Quit: justin_pdx]
<jhass> I think we scared away Rayford though :D
<nahtnam> :P
<nahtnam> Who create DeBot?
<nahtnam> *created
<jhass> I fear you need to blame me
* sevenseacat blames jhass.
<sevvie> !hangman gems
<sevvie> :(
<jhass> sevvie: address the bot
Joufflu has quit [Read error: Connection reset by peer]
<nahtnam> Clue DeBot
<sevvie> DeBot: !hangman gems
<DeBot> ␣␣␣␣␣␣␣␣␣ [] 0/12
<sevvie> DeBot: r
<DeBot> ␣␣␣␣␣␣␣␣␣ [r] 1/12
<nahtnam> DeBot: a
<DeBot> ␣␣␣a␣␣␣␣a [r] 1/12
<sevenseacat> DeBot: e
<DeBot> ␣␣␣a␣␣␣␣a [re] 2/12
<sevvie> DeBot: l
<DeBot> ␣␣␣a␣␣␣␣a [rel] 3/12
juanpaucar has quit [Ping timeout: 272 seconds]
fryguy9 has quit [Quit: Leaving.]
<nahtnam> DeBot: p
<DeBot> ␣␣␣ap␣␣␣a [rel] 3/12
<sevenseacat> DeBot: st
<DeBot> ␣␣␣apt␣␣a [rels] 4/12
<nahtnam> 2 for 2
<sevenseacat> DeBot: c
<DeBot> ␣␣captc␣a [rels] 4/12
<jhass> DeBot: h
<DeBot> ␣␣captcha [rels] 4/12
<sevenseacat> DeBot: reh
<DeBot> ␣␣captcha [rels] 4/12
<nahtnam> DeBot: Re
<DeBot> ␣␣captcha [rels] 4/12
<nahtnam> DeBot: un
<DeBot> ␣␣captcha [relsun] 6/12
<sevvie> DeBot: o
<DeBot> ␣␣captcha [relsuno] 7/12
<sevenseacat> DeBot: j
<DeBot> ␣␣captcha [relsunoj] 8/12
<sevvie> DeBot: i
<DeBot> i␣captcha [relsunoj] 8/12
<jhass> DeBot: _
<DeBot> i␣captcha [relsunoj_] 9/12
patrick99e99 has quit [Ping timeout: 246 seconds]
<nahtnam> DeBot: m
<DeBot> i␣captcha [relsunoj_m] 10/12
<nahtnam> Ohhh
<nahtnam> getting close
<nahtnam> 2 tries left
iMe has quit [Ping timeout: 245 seconds]
sngeth has quit [Ping timeout: 252 seconds]
<sevenseacat> DeBot: d
<DeBot> i␣captcha [relsunoj_md] 11/12
willharrison has joined #ruby
<sevenseacat> oh sod off
<sevvie> Hrm.
dseitz has joined #ruby
<nahtnam> DeBot: q
<DeBot> iqcaptcha [relsunoj_md] 11/12 You won!
<nahtnam> LOL
<nahtnam> I went through every letter on rubygems
<sevenseacat> :D
<nahtnam> GG
doritostains has quit [Ping timeout: 252 seconds]
Hijiri has quit [Ping timeout: 272 seconds]
<sevvie> A math captcha from 2012.
iMe has joined #ruby
mistermocha has joined #ruby
Cache_Money has joined #ruby
<nahtnam> DeBot: Help
<nahtnam> I wanna know who created this! ;(
Renich has quit [Quit: leaving]
<sevvie> Aww. Can't play hangman in a query window.
pengin has quit [Remote host closed the connection]
Renich has joined #ruby
patrick99e99 has joined #ruby
<jhass> that's all there is in it
<nahtnam> I would have played all day
morenoh149 has joined #ruby
Sawbones has quit [Remote host closed the connection]
morenoh151 has joined #ruby
sivsushruth has quit [Ping timeout: 252 seconds]
sivsushruth has joined #ruby
justin_pdx has joined #ruby
karmatr0n has quit [Remote host closed the connection]
<nahtnam> Ohh you created this
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
iteratorP has joined #ruby
dseitz has joined #ruby
<jhass> nahtnam: thanks
<nahtnam> Np
<nahtnam> Ill keep sending more. Eventually...
Joufflu has joined #ruby
<nahtnam> As i get more and more addicted to the game
caveat- has quit [Ping timeout: 245 seconds]
iteratorP has quit [Remote host closed the connection]
<sevvie> DeBot: !hangman gems
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
<sevvie> DeBot: r
<DeBot> ␣␣␣␣␣␣r␣␣␣␣␣␣␣␣␣r [] 0/12
<sevvie> DeBot: e
<DeBot> ␣␣␣␣␣␣r␣␣␣␣␣␣␣␣er [] 0/12
<sevvie> DeBot: n
<DeBot> ␣␣␣␣␣␣r␣␣␣␣␣␣␣␣er [n] 1/12
<nahtnam> Quick question: Whats the site where it gives you a problem that you have to solve every day?
<nahtnam> I forgot what it was called
justin_pdx has quit [Quit: justin_pdx]
doritostains has joined #ruby
Hijiri has joined #ruby
jonr22 has joined #ruby
<jhass> no idea, codewars.com and exercise.io have lots of problems to solve for you though
<sevvie> DeBot: s
<DeBot> ␣␣␣␣␣␣r␣␣␣␣␣␣␣␣er [ns] 2/12
<nahtnam> jhass: I was looking for http://projecteuler.net/
<nahtnam> I need to include it my essay as an example
godd2 has joined #ruby
<jhass> ah right, I don't enjoy the mathy stuff too much
<sevvie> DeBot: t
<DeBot> ␣␣t␣␣␣r␣␣␣␣␣␣␣␣er [ns] 2/12
<jokester> I would say project euler is more about math, and not programming
<jokester> and it's not updated every day
<nahtnam> jhass: Me neither. Its a pretty bs essay so I dont really care
<sevvie> DeBot: i
<DeBot> ␣␣t␣␣␣r␣␣␣␣␣␣i␣er [ns] 2/12
<sevvie> DeBot: u
<DeBot> ␣␣t␣␣␣r␣␣␣␣␣␣i␣er [nsu] 3/12
<jhass> DeBot: ast
<DeBot> ␣␣t␣␣␣r␣␣␣␣␣␣i␣er [nsua] 4/12
<sevvie> DeBot: -_
<DeBot> ␣␣t-␣␣r␣␣␣␣␣␣i␣er [nsua_] 5/12
nii236 has quit [Ping timeout: 245 seconds]
<jhass> DeBot: o
<DeBot> ␣␣t-␣or␣␣o␣o␣i␣er [nsua_] 5/12
<nahtnam> Oh wow
<Radar> DeBot: f
<DeBot> ␣␣t-␣or␣␣o␣o␣i␣er [nsua_f] 6/12
<godd2> DeBot: h
<DeBot> ␣␣t-␣or␣ho␣o␣i␣er [nsua_f] 6/12
<nahtnam> DeBot: b
<DeBot> ␣␣t-␣or␣ho␣o␣i␣er [nsua_fb] 7/12
<godd2> DeBot: y
<DeBot> ␣␣t-␣or␣ho␣o␣i␣er [nsua_fby] 8/12
<Radar> Probably should move the bot into a different channel like #ruby-trivia before the ops get angy
<godd2> wth has three consonants and then a -
<sevvie> DeBot: b
<DeBot> ␣␣t-␣or␣ho␣o␣i␣er [nsua_fby] 8/12
<sevvie> erp. I meant d.
astrobunny has joined #ruby
<jhass> Radar: I'll turn it off the moment people interrupt regular channel traffic with it
<sevvie> DeBot: d
<DeBot> ␣␣t-␣or␣ho␣o␣i␣er [nsua_fbyd] 9/12
<Radar> jhass: I am not worried about it :) #ruby is quiet this time of day
<sevvie> Well. Neyermind.
jonr22 has quit [Ping timeout: 252 seconds]
braincrash has quit [Quit: bye bye]
<godd2> DeBot: l
<DeBot> llt-␣or␣holo␣i␣er [nsua_fbyd] 9/12
<nahtnam> DeBot: c
<DeBot> llt-␣or␣holo␣i␣er [nsua_fbydc] 10/12
<godd2> what is this, Welsh?
HOrangeJewce has quit [Quit: Leaving.]
slasla has joined #ruby
<jhass> DeBot: m
<DeBot> llt-mor␣holo␣i␣er [nsua_fbydc] 10/12
<sevvie> DeBot: p
<DeBot> llt-morpholo␣i␣er [nsua_fbydc] 10/12
<Radar> DeBot: g
<DeBot> llt-morphologi␣er [nsua_fbydc] 10/12
<godd2> DeBot: z
<DeBot> llt-morphologizer [nsua_fbydc] 10/12 You won!
perrier has quit [Remote host closed the connection]
ramfjord has joined #ruby
godd2 has quit [Remote host closed the connection]
<jhass> "Morphological parsing of Latin forms"
perrier has joined #ruby
<jhass> I don't think that's a word
<nahtnam> :P
iteratorP has joined #ruby
godd2 has joined #ruby
Sawbones has joined #ruby
duncannz has quit [Quit: Leaving]
iamninja has quit [Read error: Connection reset by peer]
ChoiKyuSang has quit [Quit: AdiIRC is updating to v1.9.6 Beta Build (2015/03/19-2) 32 Bit]
iamninja has joined #ruby
<godd2> DeBot !hangman gems
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
yfeldblum has joined #ruby
<sevvie> DeBot: e
<DeBot> ␣e␣␣␣␣e␣␣␣␣␣␣␣e␣ [] 0/12
<sevvie> DeBot: er
<DeBot> ␣er␣␣␣e␣␣␣r␣␣␣er [] 0/12
<godd2> DeBot s
<DeBot> ␣er␣␣␣es␣␣r␣␣␣er [] 0/12
<sevvie> Thank you, statistically-common letters.
<slasla> hi
<jhass> hi
<sevvie> salutations!
<godd2> DeBot t
<DeBot> ␣er␣␣␣es␣␣r␣␣␣er [t] 1/12
<nahtnam> jhass++
<godd2> aww
Hirzu has joined #ruby
braincras has joined #ruby
<nahtnam> ???
<slasla> should i always use begin, rescue, end when using File.read ?
<nahtnam> Ohh its not on #ruby
triangles2 has joined #ruby
oo_ has quit [Remote host closed the connection]
<godd2> DeBot l
<DeBot> ␣er␣␣les␣␣r␣␣␣er [t] 1/12
<jhass> slasla: no, only if you need to handle its errors gracefully
oo_ has joined #ruby
<jhass> if you want your app to fail on them, just let it fail with the exception it raises
jshultz has quit [Quit: Connection closed for inactivity]
anaeem1 has joined #ruby
Hirzu has quit [Ping timeout: 255 seconds]
triangles has quit [Ping timeout: 272 seconds]
michael_mbp has quit [Excess Flood]
ChoiKyuSang has joined #ruby
<slasla> jhass: i see, thanks
<slasla> it outputs something like " undefined method `join' for #<String:0x007f7fcbb2d908> " when it fails
<slasla> but i would rather see Errno::ENOENT - No such file or directory @ rb_sysopen
anaeem1 has quit [Remote host closed the connection]
<slasla> how would i do that?
<jhass> slasla: that sounds like your code is not quite right
<slasla> what do you mean?
<jhass> well you call join on a string
anaeem1 has joined #ruby
Xoro__ has quit [Read error: No route to host]
<jhass> join is an array/enumerable method
michael_mbp has joined #ruby
<slasla> jhass: i have no idea. I'm using sinatra and the only line in the code is File.read('snippets/my_file.txt')
<slasla> I didn't call .join anywhere
mikepack_ has quit [Remote host closed the connection]
<slasla> might be something from sinatra, but it's not in my app code
<jhass> mmh
<jhass> got the full trace in a gist?
<jhass> might be interesting to dig into
Synthbread has joined #ruby
<slasla> sure, I can make one
<sevvie> DeBot, m
<DeBot> ␣er␣␣les␣␣r␣␣␣er [tm] 2/12
<godd2> DeBot n
<DeBot> ␣er␣␣les␣␣r␣␣␣er [tmn] 3/12
<godd2> DeBot i
<DeBot> ␣er␣␣les␣␣r␣␣␣er [tmni] 4/12
larsam has joined #ruby
Alex-_ has quit [Quit: Alex-_]
oo_ has quit [Remote host closed the connection]
<slasla> jhass: this error looks like mine basically https://github.com/sinatra/sinatra/issues/951
oo_ has joined #ruby
<jhass> slasla: well, what you pasted is the expected Errno::ENOENT, the issue you linked seems to explain it
delianides has joined #ruby
<jhass> gotta wait for the next sinatra release ;)
<godd2> just do class String; def join; end; end in your code somewhere (jk please dont do this)
<godd2> jhass if you scroll down, you can see the no method error
<jhass> ah, oh
<jhass> lol
<slasla> jhass: you are right. but the sinatra app page just shows undefined method `join' for #<String:0x007f7fcbb2d908> on error
triangles3 has joined #ruby
<slasla> so i would prefer to see at least no such file or so as error message
<godd2> slasla may I private message you?
<slasla> godd2: sure
<jhass> well, that's the "handling gracefully" variant
mistermo_ has joined #ruby
<jhass> in which case you should indeed rescue it and respond (or redirect to) with a nice error message
oo_ has quit [Remote host closed the connection]
<jhass> if sinatra gets fixed it'll display the actual exception
<jhass> the bug is in displaying that error page, it got incompatible with the latest rack gem
triangles2 has quit [Ping timeout: 252 seconds]
mistermo_ has quit [Remote host closed the connection]
astrobunny has quit [Remote host closed the connection]
oo_ has joined #ruby
delianides has quit [Ping timeout: 255 seconds]
fryguy9 has joined #ruby
krisquigley has joined #ruby
mistermocha has quit [Ping timeout: 264 seconds]
n008f4g_ has quit [Ping timeout: 264 seconds]
icebourg has joined #ruby
<sevvie> DeBot; o
<sevvie> DeBot: o
<DeBot> ␣er␣␣les␣␣r␣␣␣er [tmnio] 5/12
<sevvie> DeBot: a
<DeBot> ␣era␣les␣␣ra␣␣er [tmnio] 5/12
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
<sevvie> DeBot: d
<DeBot> ␣era␣les␣␣ra␣␣er [tmniod] 6/12
<godd2> DeBot p
<DeBot> ␣era␣les␣␣rapper [tmniod] 6/12
duncannz has joined #ruby
<godd2> DeBot w
<DeBot> ␣era␣les␣wrapper [tmniod] 6/12
duncannz has quit [Max SendQ exceeded]
<sevvie> DeBot: -_
<DeBot> ␣era␣les-wrapper [tmniod_] 7/12
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
<godd2> DeBot b
<DeBot> ␣era␣les-wrapper [tmniod_b] 8/12
duncannz has joined #ruby
hakunin has quit [Remote host closed the connection]
milesmatthias has quit [Remote host closed the connection]
jenrzzz has joined #ruby
flip_digits has joined #ruby
krisquigley has quit [Ping timeout: 264 seconds]
sivsushruth has quit [Read error: Connection reset by peer]
triangles3 has quit [Ping timeout: 272 seconds]
oo_ has quit [Remote host closed the connection]
<jhass> DeBot: hc
<DeBot> heracles-wrapper [tmniod_b] 8/12 You won!
fryguy9 has quit [Quit: Leaving.]
<sevvie> gems hangman, or how to search for gems. ^~
<jhass> DeBot: !hangman ruby
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
sivsushruth has joined #ruby
<jhass> DeBot: #:
<DeBot> ␣␣␣::␣␣␣␣#␣␣␣␣␣␣␣ [] 0/12
Renich has quit [Quit: leaving]
<jhass> DeBot: nethp
<DeBot> ␣␣␣::␣␣␣P#␣␣␣te␣␣ [nh] 2/12
<nahtnam> URI?
<nahtnam> IDK
jhebden has quit [Ping timeout: 265 seconds]
<sevvie> DeBot: uri
<DeBot> URI::␣␣␣P#␣i␣ter␣ [nh] 2/12
<jhass> uh, didn't know it had nested classes
<sevvie> DeBot: lda
<DeBot> URI::LDAP#␣ilter␣ [nh] 2/12
<sevvie> DeBot: fs
<DeBot> URI::LDAP#filter␣ [nhs] 3/12
<jhass> DeBot: !
<DeBot> URI::LDAP#filter␣ [nhs!] 4/12
<jhass> DeBot: ?
<DeBot> URI::LDAP#filter␣ [nhs!?] 5/12
jack_rabbit has joined #ruby
<sevvie> DeBot: =
<DeBot> URI::LDAP#filter= [nhs!?] 5/12 You won!
<godd2> oooohhhh they're gem names
<godd2> I'm an idiot
<jhass> you typed the "gem" yourself to start a game :D
<godd2> yea I was just copying someone else haha
jhebden has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
Xoro has joined #ruby
cyberbob has joined #ruby
Xoro has quit [Max SendQ exceeded]
<gr33n7007h> !gem nokogiri
<cyberbob> name: nokogiri
<cyberbob> info: Nokogiri (鋸) is an HTML, XML, SAX, and Reader parser
<cyberbob> version 1.6.6.2
<cyberbob> authors: Aaron Patterson, Mike Dalessio, Yoko Harada, Tim Elliott, Akinori MUSHA
<cyberbob> downloads 36138128
karmatr0n has joined #ruby
<jhass> mmh, a bit verbose maybe
Xoro has joined #ruby
<jhass> could easily compact that into a single line
<godd2> Nokogiri: Aaron Patterson
<godd2> that's all you need to know
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jman has joined #ruby
<jhass> <name>(<version>) - <description> - by <authors - downloads: <downloads>
Xoro has quit [Client Quit]
<gr33n7007h> lemme fix it :)
jman has left #ruby [#ruby]
cyberbob has quit [Remote host closed the connection]
Xoro has joined #ruby
<jhass> gr33n7007h: - http://rubydoc.info/gems/<gemname>
krz has quit [Ping timeout: 255 seconds]
Rephiax has joined #ruby
<godd2> maybe for authors, if there's one author, just list them, but if more than one, list the first followed by et al.
ghostpl_ has joined #ruby
<godd2> and then for description, limit to 30 characters and then append "..."
dfinninger has quit [Remote host closed the connection]
<gr33n7007h> godd2: yep will shortening desc
<godd2> Nokogiri(1.6.6.2) - Nokogiri (鋸) is an HTML, XML, ... - by Arraon Patterson, et al. - downloads: 36138128
DEA7TH has quit [Ping timeout: 244 seconds]
<godd2> or something like that
sivsushruth has quit [Read error: Connection reset by peer]
cyberbob has joined #ruby
<gr33n7007h> !gem sinatra
<cyberbob> sinatra(1.4.5) - Sinatra is a DSL for quickly cr... by Blake Mizerany - downloads (20131148)
<gr33n7007h> ah, thats better
<jhass> - http://rubydoc.info/gems/<name> :P
<jhass> would make it actually useful^^
sivsushruth has joined #ruby
Crazy_Atheist has quit [Ping timeout: 256 seconds]
<gr33n7007h> jhass: doing that part now :)
iMe has quit [Ping timeout: 265 seconds]
nux443 has joined #ruby
<godd2> plus, list the facebook likes a gem has, and how many times its been mentioned in a tweet
<jhass> and actually why not english, <count> downloads
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ghostpl_ has quit [Ping timeout: 256 seconds]
<jhass> oh, yeah, and a github search for Gemfile's listing it
<nahtnam> Good night! :)
<godd2> then offer a genetic hueristic calculation predicting the gem's likelihood to be popular 5 years from now
<gr33n7007h> godd2: lol :p
thejamespinto has quit []
<jhass> !gem genetic-heuristics
<cyberbob> error: no gem available
ElderFain has left #ruby ["Textual IRC Client: www.textualapp.com"]
<godd2> either that, or commas in the downloads count. Im cool with either
<jhass> oh, we got a conflict there
iMe has joined #ruby
cyberbob has quit [Remote host closed the connection]
<gr33n7007h> !gem sinatra
<jhass> helpa runs on people whitelist
<godd2> !gem dare
<godd2> guess I'm not in the club
Deele has joined #ruby
astrobunny has joined #ruby
Crazy_Atheist has joined #ruby
sivsushruth has quit [Ping timeout: 245 seconds]
neanderslob has quit [Ping timeout: 256 seconds]
sivsushruth has joined #ruby
thahive has joined #ruby
nii236 has joined #ruby
milesmatthias has joined #ruby
juanpablo_ has joined #ruby
AlexRussia has quit [Ping timeout: 246 seconds]
brandly has joined #ruby
jgrevich has quit [Ping timeout: 244 seconds]
iteratorP has quit [Remote host closed the connection]
milesmatthias has quit [Ping timeout: 256 seconds]
iteratorP has joined #ruby
duncannz has quit [Quit: Leaving]
juanpablo_ has quit [Ping timeout: 256 seconds]
reinaldob has joined #ruby
duncannz has joined #ruby
psyprus_ has joined #ruby
psyprus has quit [Read error: Connection reset by peer]
casadei has quit [Remote host closed the connection]
krz has joined #ruby
amclain has quit [Ping timeout: 245 seconds]
adriancb has joined #ruby
reinaldob has quit [Ping timeout: 255 seconds]
riotjones has joined #ruby
davedev2_ has quit [Ping timeout: 246 seconds]
davedev24_ has joined #ruby
kblake has joined #ruby
cybergem has joined #ruby
adriancb has quit [Ping timeout: 272 seconds]
hgl has quit [Read error: Connection reset by peer]
amclain has joined #ruby
riotjones has quit [Ping timeout: 256 seconds]
<gr33n7007h> !gem maze
<cybergem> maze(1.0.0) - A library for generating ma... by Sherin C - downloads (1211) - http://www.rubydoc.info/gems/maze
hvxgr has quit [Ping timeout: 264 seconds]
<gr33n7007h> !gem dare
<cybergem> dare(0.2.0) - Ruby 2D Game library on top of ... by Dominic Muller - downloads (1912) - http://www.rubydoc.info/gems/dare
bousquet has joined #ruby
<gr33n7007h> !gem helloworld
<cybergem> helloworld(0.0.1) - A gem that illustrates how to b... by Russ Jones - downloads (2001) - http://www.rubydoc.info/gems/helloworld
sivsushruth has quit [Read error: Connection reset by peer]
juanpaucar has joined #ruby
<gr33n7007h> can someone just pm quick see if notifications are working :)
enterprisedc has quit [Quit: enterprisedc]
oo_ has joined #ruby
sivsushruth has joined #ruby
hgl has joined #ruby
Rephiax has quit [Ping timeout: 256 seconds]
<gr33n7007h> thanks bousquet :)
<bousquet> np
godd2 has quit [Remote host closed the connection]
arescorpio has quit [Excess Flood]
juanpaucar has quit [Ping timeout: 265 seconds]
sivsushruth has quit [Read error: Connection reset by peer]
kblake has quit [Ping timeout: 264 seconds]
bousquet has quit []
sivsushruth has joined #ruby
Megtastique has quit []
sivsushruth has quit [Read error: Connection reset by peer]
AlexRussia has joined #ruby
icebourg has quit []
crdpink2 has joined #ruby
Sawbones has quit [Remote host closed the connection]
sivsushruth has joined #ruby
commmmodo has joined #ruby
crdpink has quit [Ping timeout: 265 seconds]
sivsushruth has quit [Read error: Connection reset by peer]
crdpink2 has quit [Client Quit]
crdpink has joined #ruby
sivsushruth has joined #ruby
swgillespie has joined #ruby
enterprisedc has joined #ruby
it0a has quit [Ping timeout: 256 seconds]
commmmodo has quit [Quit: commmmodo]
AnxiousGarlic has quit [Read error: Connection reset by peer]
arup_r has joined #ruby
jonr22 has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
dc has quit [Remote host closed the connection]
dc has joined #ruby
<Nilium> Pathologically bad regexps are kind of funny.
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jonr22 has quit [Ping timeout: 256 seconds]
iMe has quit [Ping timeout: 245 seconds]
fryguy9 has joined #ruby
hvxgr has joined #ruby
dc has quit [Ping timeout: 252 seconds]
iMe has joined #ruby
echevemaster has joined #ruby
echevemaster has joined #ruby
fryguy9 has quit [Client Quit]
thiesen_ has joined #ruby
iteratorP has quit [Remote host closed the connection]
RegulationD has joined #ruby
iteratorP has joined #ruby
iteratorP has quit [Remote host closed the connection]
thiesen has quit [Ping timeout: 252 seconds]
josephleon has quit [Quit: Leaving...]
iteratorP has joined #ruby
iteratorP has quit [Remote host closed the connection]
icebourg has joined #ruby
pontiki has quit [Ping timeout: 252 seconds]
RegulationD has quit [Ping timeout: 256 seconds]
anarang has joined #ruby
blueOxigen has joined #ruby
bluOxigen has quit [Ping timeout: 252 seconds]
Cache_Money has joined #ruby
arrubin has quit []
sivsushruth has quit [Read error: Connection reset by peer]
amclain has quit [Quit: Leaving]
Cache_Money has quit [Quit: Cache_Money]
sivsushruth has joined #ruby
Joufflu has quit [Read error: Connection reset by peer]
pengin has joined #ruby
SouL_ has joined #ruby
krisquigley has joined #ruby
riotjones has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
elaptics is now known as elaptics_away
sivsushruth has quit [Read error: Connection reset by peer]
SouL_ has quit [Ping timeout: 264 seconds]
krisquigley has quit [Ping timeout: 256 seconds]
aganov has joined #ruby
riotjones has quit [Ping timeout: 246 seconds]
sivsushruth has joined #ruby
tvw has joined #ruby
diegoviola has quit [Quit: later]
iMe has quit [Ping timeout: 246 seconds]
pengin has quit [Remote host closed the connection]
zacts has joined #ruby
slap_stick has joined #ruby
<gr33n7007h> DeBot: !hangman ruby
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
<gr33n7007h> aeiou
icebourg has quit []
<gr33n7007h> DeBot: aeiou
<DeBot> ␣e␣␣␣␣␣␣␣␣␣e␣ [aiou] 4/12
<gr33n7007h> DeBot: :
<DeBot> ␣e␣::␣␣␣␣␣␣e␣ [aiou] 4/12
<gr33n7007h> DeBot: s
<DeBot> ␣e␣::␣␣␣␣␣␣e␣ [aious] 5/12
<gr33n7007h> DeBot: r
<DeBot> ␣e␣::␣␣␣␣␣␣e␣ [aiousr] 6/12
<gr33n7007h> DeBot: t
<DeBot> ␣et::␣TT␣␣␣et [aiousr] 6/12
<gr33n7007h> h
<gr33n7007h> DeBot: h
<DeBot> ␣et::HTT␣␣␣et [aiousr] 6/12
<sevenseacat> ooh
<gr33n7007h> g
<gr33n7007h> DeBot: g
<DeBot> ␣et::HTT␣␣get [aiousr] 6/12
<gr33n7007h> DeBot: p
<DeBot> ␣et::HTTP␣get [aiousr] 6/12
<sevenseacat> DeBot: n
<DeBot> Net::HTTP␣get [aiousr] 6/12
<sevenseacat> DeBot: #
<DeBot> Net::HTTP#get [aiousr] 6/12 You won!
iMe has joined #ruby
<sevenseacat> \o/
<gr33n7007h> DeBot: .
<gr33n7007h> damn :)
* sevenseacat thiefs the win
<gr33n7007h> DeBot: !hangman ruby
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
<gr33n7007h> DeBot: aeiou
<DeBot> O␣e␣U␣I␣␣␣␣␣␣␣e␣i␣e␣␣␣␣␣e␣ [a] 1/12
<gr33n7007h> DeBot: #
<DeBot> O␣e␣U␣I␣␣␣␣␣␣␣e␣i␣e␣␣␣␣␣e␣ [a#] 2/12
<gr33n7007h> DeBot: p
<DeBot> Ope␣U␣I␣␣␣␣␣P␣e␣i␣e␣␣␣␣␣e␣ [a#] 2/12
<sevenseacat> DeBot: ::
<DeBot> Ope␣U␣I::␣␣␣P␣e␣i␣e␣␣::␣e␣ [a#] 2/12
<gr33n7007h> DeBot: n
<DeBot> OpenU␣I::␣␣␣P␣e␣i␣e␣␣::ne␣ [a#] 2/12
<gr33n7007h> DeBot: r
<DeBot> OpenURI::␣␣␣PRe␣ire␣␣::ne␣ [a#] 2/12
astrobunny has quit [Remote host closed the connection]
<gr33n7007h> DeBot: t
<DeBot> OpenURI::␣TTPRe␣ire␣t::ne␣ [a#] 2/12
<sevenseacat> DeBot: w
<DeBot> OpenURI::␣TTPRe␣ire␣t::new [a#] 2/12
thahive has quit [Quit: Leaving]
slap_stick has quit [Client Quit]
<sevenseacat> DeBot: h
<DeBot> OpenURI::HTTPRe␣ire␣t::new [a#] 2/12
<gr33n7007h> DeBot: q
<DeBot> OpenURI::HTTPRe␣ire␣t::new [a#q] 3/12
<gr33n7007h> DeBot: d
<DeBot> OpenURI::HTTPRedire␣t::new [a#q] 3/12
<gr33n7007h> DeBot: c
<DeBot> OpenURI::HTTPRedirect::new [a#q] 3/12 You won!
<sevenseacat> yay
<gr33n7007h> woo hoo!
davedev24_ has quit [Ping timeout: 244 seconds]
sivsushruth has quit [Read error: Connection reset by peer]
sivsushruth has joined #ruby
sevvie has quit [Ping timeout: 264 seconds]
<zacts> ?
astrobunny has joined #ruby
Musashi007 has joined #ruby
<Musashi007> evening gents
lessless has joined #ruby
SOLDIERz has joined #ruby
michael_mbp has quit [Excess Flood]
<certainty> moin
<certainty> ah ruby hang man time
chridal has joined #ruby
ghostpl_ has joined #ruby
sevvie has joined #ruby
ajsdklfjalksdf has quit [Quit: ajsdklfjalksdf]
michael_mbp has joined #ruby
tagrudev has joined #ruby
hanmac1 has joined #ruby
sivsushruth has quit [Read error: Connection reset by peer]
iamninja has quit [Read error: Connection reset by peer]
chinmay_dd has joined #ruby
sandelius has joined #ruby
iamninja has joined #ruby
Hirzu has joined #ruby
tobago has joined #ruby
brandly has quit [Ping timeout: 244 seconds]
sivsushruth has joined #ruby
andikr has joined #ruby
wottam has joined #ruby
alec-c4 has joined #ruby
sivsushruth has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 264 seconds]
JohnBat26 has joined #ruby
pwnz0r has joined #ruby
sivsushruth has joined #ruby
karmatr0n has quit [Remote host closed the connection]
bigmac_ has quit [Ping timeout: 245 seconds]
last_staff has joined #ruby
ghostpl_ has quit [Ping timeout: 264 seconds]
<Musashi007> wat is this ruby hang man
hakunin has joined #ruby
jhebden has quit [Ping timeout: 265 seconds]
<certainty> DeBot: !hangman ruby
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
milesmatthias has joined #ruby
<certainty> DeBot: aeiuo
<DeBot> O␣e␣␣␣␣␣␣␣␣␣␣␣␣␣e␣ue␣␣␣␣o␣␣e␣ [ai] 2/12
riotjones has joined #ruby
<Musashi007> I have a puma.rb file that i’m working with that I got from a rails app but I’m working with sinatra and i’m trying to figure out how to make sure it’s updated for sinatra.. does anyone have any suggestions as to where I might go to learn more about this? I’ve been searching for_ever_ and am having a hell of a time finding information or a sample puma.rb file for a sinatra application
wallerdev has joined #ruby
<certainty> DeBot: s_
<DeBot> O␣e␣SS␣␣␣␣␣␣␣␣␣␣e␣ues␣␣␣o_␣e␣ [ai] 2/12
<Musashi007> b_
<certainty> DeBot: OpenSSL
<DeBot> OpenSSL␣␣␣␣␣␣␣␣␣e␣ues␣␣␣o_␣e␣ [ai] 2/12
<certainty> doesn't it show :: anymore?
<certainty> DeBot: ::
<DeBot> OpenSSL::␣␣␣␣::␣e␣ues␣␣␣o_␣e␣ [ai] 2/12
juanpablo_ has joined #ruby
<certainty> DeBot: y
<DeBot> OpenSSL::␣␣␣␣::␣e␣ues␣␣␣o_␣e␣ [aiy] 3/12
<certainty> damn
ajsdklfjalksdf has joined #ruby
<certainty> DeBot: pk
<DeBot> OpenSSL::␣␣␣␣::␣e␣ues␣␣␣o_␣e␣ [aiyk] 4/12
<certainty> DeBot: hm
<DeBot> OpenSSL::␣␣␣␣::␣e␣ues␣␣␣o_␣e␣ [aiykhm] 6/12
djellemah_ has joined #ruby
<certainty> come on guys, help out
<sevenseacat> DeBot: nr
<DeBot> OpenSSL::␣␣␣␣::Re␣ues␣␣␣o_␣er [aiykhm] 6/12
<sevenseacat> DeBot: qt
<DeBot> OpenSSL::␣␣␣␣::Request␣to_␣er [aiykhm] 6/12
<certainty> DeBot: d
<DeBot> OpenSSL::␣␣␣␣::Request␣to_der [aiykhm] 6/12
<certainty> DeBot: #
<DeBot> OpenSSL::␣␣␣␣::Request#to_der [aiykhm] 6/12
bigmac has joined #ruby
<tagrudev> DeBot: @
<DeBot> OpenSSL::␣␣␣␣::Request#to_der [aiykhm@] 7/12
<tagrudev> DeBot, '
<DeBot> OpenSSL::␣␣␣␣::Request#to_der [aiykhm@'] 8/12
milesmatthias has quit [Ping timeout: 250 seconds]
<certainty> DeBot: x509
<DeBot> OpenSSL::X509::Request#to_der [aiykhm@'] 8/12 You won!
<sevenseacat> :D
<certainty> hah
djellemah__ has joined #ruby
<certainty> thanks sevenseacat, tagrudev
echevemaster has quit [Ping timeout: 256 seconds]
juanpablo_ has quit [Ping timeout: 265 seconds]
zenspider has quit [Ping timeout: 245 seconds]
djellemah has quit [Ping timeout: 256 seconds]
Spami has joined #ruby
fandi has joined #ruby
User458764 has joined #ruby
zenspider has joined #ruby
codecop has joined #ruby
<certainty> ok one more round before work
djellemah_ has quit [Ping timeout: 264 seconds]
fandi has quit [Max SendQ exceeded]
<certainty> DeBot: !hangman ruby
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
<certainty> DeBot: #_::
<DeBot> ␣␣␣␣␣␣#␣␣␣␣␣␣␣␣␣ [_:] 2/12
<certainty> DeBot: Aeuo
<DeBot> ␣␣␣␣u␣#␣a␣␣␣␣u␣e [_:o] 3/12
<sevenseacat> DeBot: irst
<DeBot> ␣i␣␣u␣#␣a␣␣itu␣e [_:ors] 5/12
fandi has joined #ruby
<gr33n7007h> DeBot: t
<DeBot> ␣i␣␣u␣#␣a␣␣itu␣e [_:ors] 5/12
<sevenseacat> DeBot: n
<DeBot> ␣i␣nu␣#␣a␣nitu␣e [_:ors] 5/12
<certainty> DeBot: ml
<DeBot> ␣i␣num#ma␣nitu␣e [_:orsl] 6/12
<sevenseacat> DeBot: gd
<DeBot> ␣i␣num#magnitude [_:orsl] 6/12
<gr33n7007h> DeBot: f
<DeBot> Fi␣num#magnitude [_:orsl] 6/12
<certainty> DeBot: Fx
<DeBot> Fixnum#magnitude [_:orsl] 6/12 You won!
<sevenseacat> :)
<certainty> :)
<sevenseacat> was either fixnum or bignum lol
<sevenseacat> oh wait, not bignum
<certainty> nope
adriancb has joined #ruby
pwnz0r has quit [Remote host closed the connection]
<sevenseacat> DeBot: !hangman gems
<DeBot> ␣␣␣␣␣␣␣␣ [] 0/12
<sevenseacat> DeBot: e
<DeBot> ␣␣␣␣␣␣␣␣ [e] 1/12
<sevenseacat> DeBot: a
<DeBot> ␣␣␣␣␣a␣␣ [e] 1/12
<sevenseacat> DeBot: t
<DeBot> ␣␣␣␣␣a␣t [e] 1/12
<sevenseacat> DeBot: s
<DeBot> ␣␣␣␣␣a␣t [es] 2/12
<sevenseacat> DeBot: b
<DeBot> ␣␣␣␣␣a␣t [esb] 3/12
<sevenseacat> DeBot: n
<DeBot> ␣␣␣␣␣ant [esb] 3/12
<sevenseacat> DeBot: n
<DeBot> ␣␣␣␣␣ant [esb] 3/12
<sevenseacat> DeBot: m
<DeBot> ␣␣␣␣␣ant [esbm] 4/12
fandi has quit [Max SendQ exceeded]
<sevenseacat> DeBot: r
<DeBot> ␣␣␣␣␣ant [esbmr] 5/12
<sevenseacat> DeBot: b
<DeBot> ␣␣␣␣␣ant [esbmr] 5/12
<sevenseacat> DeBot: l
<DeBot> ␣␣␣␣lant [esbmr] 5/12
wottam has quit [Quit: Textual IRC Client: www.textualapp.com]
<sevenseacat> DeBot: d
<DeBot> ␣␣␣␣lant [esbmrd] 6/12
fandi has joined #ruby
<sevenseacat> DeBot: i
<DeBot> ␣i␣ilant [esbmrd] 6/12
<tagrudev> 1
porfa has joined #ruby
<sevenseacat> DeBot: g
<DeBot> ␣igilant [esbmrd] 6/12
<sevenseacat> DeBot: v
<DeBot> vigilant [esbmrd] 6/12 You won!
<sevenseacat> \o/
<porfa> hello!
chinmay_dd_ has joined #ruby
mengu has joined #ruby
G has quit [Remote host closed the connection]
chinmay_dd has quit [Read error: Connection reset by peer]
nahtnam has quit [Quit: Connection closed for inactivity]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<sevenseacat> DeBot: !hangman ruby
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
<sevenseacat> cripes
<porfa> how can i get only the results of the second time my loop runs?
<sevenseacat> DeBot: #_:
<DeBot> ␣␣␣␣␣␣␣::␣␣␣␣::␣␣::␣␣␣␣␣#␣␣␣␣␣_␣␣␣␣ [] 0/12
purezen has joined #ruby
<certainty> DeBot: aeiouxmn
<DeBot> O␣en␣␣␣::␣␣e␣::E␣::␣␣ou␣#␣u␣␣e_name [ix] 2/12
<sevenseacat> DeBot: est
<DeBot> O␣enSS␣::␣␣e␣::E␣::␣␣ou␣#␣u␣␣e_name [ixt] 3/12
jgt1 has joined #ruby
<sevenseacat> DeBot: pl
<DeBot> OpenSSL::P␣e␣::E␣::␣␣oup#␣u␣␣e_name [ixt] 3/12
<certainty> DeBot: kc
<DeBot> OpenSSL::PKe␣::EC::␣␣oup#cu␣␣e_name [ixt] 3/12
adriancb has quit [Ping timeout: 256 seconds]
<sevenseacat> DeBot: gr
<DeBot> OpenSSL::PKe␣::EC::Group#cur␣e_name [ixt] 3/12
<certainty> DeBot: gr
<DeBot> OpenSSL::PKe␣::EC::Group#cur␣e_name [ixt] 3/12
<certainty> hah
<certainty> DeBot: t
<DeBot> OpenSSL::PKe␣::EC::Group#cur␣e_name [ixt] 3/12
fandi has quit [Max SendQ exceeded]
purezen has left #ruby [#ruby]
<sevenseacat> DeBot: y
<DeBot> OpenSSL::PKey::EC::Group#cur␣e_name [ixt] 3/12
<certainty> DeBot: v
<DeBot> OpenSSL::PKey::EC::Group#curve_name [ixt] 3/12 You won!
<sevenseacat> yay
<porfa> haha
<sevenseacat> this bot loves openssl methods
<certainty> indeed
fandi has joined #ruby
chinmay_dd_ has quit [Client Quit]
apeiros_ has joined #ruby
<certainty> ok ok a last round
<certainty> DeBot: !hangman python
<certainty> just kidding
<sevenseacat> wah
<certainty> DeBot: !hangman ruby
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
<tagrudev> DeBot, a
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣a␣␣␣␣␣␣ [] 0/12
<certainty> DeBot: ::_#
<DeBot> ␣␣␣␣␣␣␣::␣␣a␣␣␣#␣␣ [_] 1/12
<sevenseacat> DeBot: est
<DeBot> ␣␣␣␣ess::Stat␣s#␣␣ [_] 1/12
<sevenseacat> DeBot: u
<DeBot> ␣␣␣␣ess::Status#␣␣ [_] 1/12
<certainty> DeBot: u
<DeBot> ␣␣␣␣ess::Status#␣␣ [_] 1/12
<tagrudev> DeBot, Suc
<DeBot> ␣␣␣cess::Status#␣␣ [_] 1/12
<sevenseacat> DeBot: io
<DeBot> ␣␣ocess::Status#␣␣ [_i] 2/12
<sevenseacat> DeBot: pr
<DeBot> Process::Status#␣␣ [_i] 2/12
<certainty> DeBot: Pr
<DeBot> Process::Status#␣␣ [_i] 2/12
<certainty> erm
<certainty> DeBot: ><
<DeBot> Process::Status#>> [_i<] 3/12 You won!
<sevenseacat> ummmm
<sevenseacat> :D
<certainty> xD
<tagrudev> :D
<sevenseacat> nice
bal has joined #ruby
juanpaucar has joined #ruby
fandi has quit [Max SendQ exceeded]
fandi has joined #ruby
<Musashi007> damn taht hangman is teh spammy
<sevenseacat> fun though
<tagrudev> yeah I like it too
charliesome has joined #ruby
<certainty> let the spam wave continue
SouL_ has joined #ruby
<certainty> my bet is the next hangman is about openssl
<sevenseacat> bring it
<certainty> DeBot: !hangman ruby
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
<sevenseacat> DeBot: erst
<DeBot> ER␣␣␣␣t␣␣␣␣␣r␣␣e␣␣␣␣e [s] 1/12
<certainty> maybe not
<certainty> DeBot: b
<DeBot> ERB␣␣␣t␣␣␣␣␣r␣␣e␣␣␣␣e [s] 1/12
<sevenseacat> DeBot: :_
<DeBot> ERB::␣t␣␣::␣r␣_e␣␣␣␣e [s] 1/12
<certainty> sevenseacat: ou
<certainty> erm
<certainty> DeBot: ou
<DeBot> ERB::Ut␣␣::ur␣_e␣␣o␣e [s] 1/12
<sevenseacat> lol
<certainty> hehe
<sevenseacat> DeBot: il
<DeBot> ERB::Util::url_e␣␣o␣e [s] 1/12
<sevenseacat> DeBot: ncode
<DeBot> ERB::Util::url_encode [s] 1/12 You won!
<certainty> damn
<certainty> nicely done
* certainty shakes hand
fandi has quit [Max SendQ exceeded]
wottam has joined #ruby
fandi has joined #ruby
juanpaucar has quit [Ping timeout: 245 seconds]
<porfa> foo.drop(1).each do | foo | removes the first element yeah?
<certainty> porfa: it runs through every element except the first, yeah
fandi has quit [Max SendQ exceeded]
<certainty> >> [1,2,3].drop(1)
<eval-in_> certainty => [2, 3] (https://eval.in/302378)
<porfa> ok, how can i make it run only on the first element?
<certainty> porfa: foo.first
<porfa> that’s what im not being able to do
<tagrudev> [0]
fandi has joined #ruby
<certainty> or maybe i don't get what you mean
<porfa> ok
<certainty> porfa: there is also #take, which is the #drop counterpart if you need to take more than one element from the beginning
oo_ has quit [Remote host closed the connection]
apeiros_ has quit [Remote host closed the connection]
<porfa> #take that’s what i was looking for :) thank you
apeiros_ has joined #ruby
<gr33n7007h> >> [1,2,3,4,5,6,7,8,9].first(3)
<eval-in_> gr33n7007h => [1, 2, 3] (https://eval.in/302385)
<certainty> ah nice, didn't know that
<certainty> a bit counter-intuitive though?
<certainty> maybe not
fandi has quit [Max SendQ exceeded]
<certainty> << Mr. undecided
<gr33n7007h> lol
fandi has joined #ruby
mistermocha has joined #ruby
alec-c4 has quit []
Wolland_ has joined #ruby
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
* certainty is addicted
<certainty> DeBot: !hangman ruby
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
<sevenseacat> DeBot: est
<DeBot> Se␣␣␣e␣␣␣␣␣␣␣␣␣e␣ [t] 1/12
<certainty> DeBot: ::#_
<DeBot> Se␣␣␣e␣␣␣␣␣␣::␣e␣ [t#_] 3/12
echevemaster has joined #ruby
<sevenseacat> DeBot: nm
<DeBot> Se␣␣␣e␣␣n␣␣m::␣e␣ [t#_] 3/12
<certainty> DeBot: lrk
<DeBot> Se␣␣reR␣n␣␣m::␣e␣ [t#_lk] 5/12
<sevenseacat> ahh
<certainty> DeBot: and
<DeBot> Se␣␣reRand␣m::␣e␣ [t#_lk] 5/12
<certainty> DeBot: omc
<DeBot> Sec␣reRandom::␣e␣ [t#_lk] 5/12
<sevenseacat> DeBot: cuo
<DeBot> SecureRandom::␣e␣ [t#_lk] 5/12
<certainty> DeBot: hx
<DeBot> SecureRandom::hex [t#_lk] 5/12 You won!
Wolland has quit [Ping timeout: 256 seconds]
apeiros_ has quit [Ping timeout: 244 seconds]
<wasamasa> are there other things to guess than ruby methods?
oetjenj has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<certainty> wasamasa: i think not
fandi has quit [Max SendQ exceeded]
<wasamasa> DeBot: hangman
<wasamasa> DeBot: hangman english
<certainty> DeBot: !hangman help
<wasamasa> .-.
<certainty> worth a shot
fandi has joined #ruby
<wasamasa> DeBot: hangman ruby
sivsushruth has quit [Ping timeout: 264 seconds]
<certainty> DeBot: !hangman scheme
alec-c4 has joined #ruby
<wasamasa> oh damnit
<wasamasa> DeBot: !hangman
<DeBot> ␣␣␣␣␣␣ [] 0/12
<shevy> lol
<certainty> erm
<sevenseacat> DeBot: e
<DeBot> ␣␣␣␣␣e [] 0/12
<certainty> DeBot: umn
<DeBot> ␣␣␣␣␣e [umn] 3/12
<wasamasa> DeBot: s
<DeBot> ␣␣␣␣␣e [umns] 4/12
<sevenseacat> no idea what this is going to me
<sevenseacat> be
<sevenseacat> DeBot: r
<DeBot> ␣␣␣␣␣e [umnsr] 5/12
<wasamasa> DeBot: t
<DeBot> ␣␣␣␣␣e [umnsrt] 6/12
<sevenseacat> DeBot: d
<DeBot> d␣␣␣de [umnsrt] 6/12
<wasamasa> DeBot: u
<DeBot> d␣␣␣de [umnsrt] 6/12
mistermocha has quit [Ping timeout: 244 seconds]
craigp has joined #ruby
<sevenseacat> DeBot: a
<DeBot> d␣␣␣de [umnsrta] 7/12
<sevenseacat> DeBot: i
<DeBot> di␣ide [umnsrta] 7/12
<wasamasa> DeBot: v
<DeBot> divide [umnsrta] 7/12 You won!
<sevenseacat> DeBot: v
<wasamasa> hah, I was faster
<certainty> erm
<sevenseacat> guess just dictionary words lol
<wasamasa> yes
<certainty> ah
<wasamasa> either plain english or ruby
<certainty> i was thinking about ruby
<wasamasa> lol
starless has quit [Quit: Leaving]
<wasamasa> you and your fascination with languages that are not scheme!
<certainty> hehe
<certainty> DeBot: !hangman german
flip_digits has quit [Ping timeout: 250 seconds]
<certainty> DeBot: !hangman de
<Musashi007> I’m trying to update a puma.rb file which was taken from a rails app to be more configured to sinatra.. does anyone have a suggestion as to where i might be able to go to get an example or read more? It’s really ahrd to find this by searching le goog
alec-c4 has quit [Remote host closed the connection]
<certainty> Musashi007: https://gist.github.com/enizhibitsky/3378758 too minimal?
fandi has quit [Max SendQ exceeded]
jenrzzz has joined #ruby
fandi has joined #ruby
oo_ has joined #ruby
<Musashi007> @certainty so different from what i ahve i don’t know how to blend them
lxsameer has joined #ruby
Nuck has joined #ruby
<Musashi007> As to the second one, i’m not seeing the puma.rb file
jonr22 has joined #ruby
<certainty> me neither :D
fandi has quit [Read error: Connection reset by peer]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby
<certainty> why not build it from scratch. Do you need everything in the config tailored for rails?
havenwood has quit [Remote host closed the connection]
PhaseCode has quit []
wallerdev has quit [Quit: wallerdev]
Rarikon has joined #ruby
<certainty> DeBot: !hangman brainfuck
<Musashi007> haha.. I had found those two
<certainty> i'd totally always win that
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<Musashi007> I’m a little intimadated by doing it, to be honest
<sevenseacat> isnt that like always >#+
lessless has quit [Ping timeout: 245 seconds]
jonr22 has quit [Ping timeout: 265 seconds]
<certainty> sevenseacat: hehe basically yes. ><+.
<certainty> []
<certainty> also
<sevenseacat> insta-win
<sevenseacat> DeBot: !hangman whitespace
<sevenseacat> <_<
<certainty> haha
jimms has joined #ruby
<certainty> DeBot: !hangman ruby
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
<certainty> i know you want it
<certainty> DeBot: OpenSSL
<DeBot> OpenSSL␣␣␣␣␣␣␣␣S␣o␣e␣p␣␣pose␣ [] 0/12
<wasamasa> lolwat
<certainty> DeBot: #
<DeBot> OpenSSL␣␣␣␣␣␣␣␣S␣o␣e#p␣␣pose␣ [] 0/12
<sevenseacat> XD
<wasamasa> DeBot: :
<DeBot> OpenSSL::␣␣␣␣::S␣o␣e#p␣␣pose␣ [] 0/12
<certainty> DeBot: ru
<DeBot> OpenSSL::␣␣␣␣::S␣ore#purpose␣ [] 0/12
yfeldblum has quit [Ping timeout: 265 seconds]
<certainty> DeBot: c
<DeBot> OpenSSL::␣␣␣␣::S␣ore#purpose␣ [c] 1/12
<wasamasa> DeBot: t
<DeBot> OpenSSL::␣␣␣␣::Store#purpose␣ [c] 1/12
<sevenseacat> DeBot: x509
<DeBot> OpenSSL::X509::Store#purpose␣ [c] 1/12
<wasamasa> DeBot: d
<DeBot> OpenSSL::X509::Store#purpose␣ [cd] 2/12
<certainty> yay
<astrobunny> DeBot: 100
<DeBot> OpenSSL::X509::Store#purpose␣ [cd1] 3/12
<certainty> DeBot: !
<DeBot> OpenSSL::X509::Store#purpose␣ [cd1!] 4/12
<certainty> DeBot: s
<DeBot> OpenSSL::X509::Store#purpose␣ [cd1!] 4/12
<wasamasa> I'm stumped
<sevenseacat> DeBot: =
<DeBot> OpenSSL::X509::Store#purpose= [cd1!] 4/12 You won!
<certainty> erm, wait that makes no sense :)
<sevenseacat> ;)
<gr33n7007h> DeBot: ?
<certainty> well done
<astrobunny> DeBot: 3
<wasamasa> certainty: how did you know it's going to be openssl?
Xoro has quit [Ping timeout: 256 seconds]
<certainty> wasamasa: it loves openssl
<sevenseacat> it seems to have a lot of openssl in it
<wasamasa> certainty: I'm not sure what to make of that
lemur has quit [Remote host closed the connection]
<certainty> every longish name has a good chance to be openssl
<sevenseacat> DeBot: !hangman ruby
<DeBot> ␣␣ [] 0/12
<sevenseacat> wat
<wasamasa> DeBot: in
<DeBot> ␣␣ [in] 2/12
<astrobunny> Debot: e
<certainty> DeBot: ==
<DeBot> ␣␣ [in=] 3/12
<sevenseacat> DeBot: o
<DeBot> ␣␣ [in=o] 4/12
<certainty> DeBot: <<
<DeBot> ␣␣ [in=o<] 5/12
<wasamasa> DeBot: >>
<DeBot> ␣␣ [in=o<>] 6/12
<astrobunny> DeBot: e
<DeBot> ␣␣ [in=o<>e] 7/12
<certainty> is that toplevel? I mean why no scope
<certainty> DeBot: @
<DeBot> ␣␣ [in=o<>e@] 8/12
<astrobunny> DeBot: =
<DeBot> ␣␣ [in=o<>e@] 8/12
<sevenseacat> DeBot: u
<DeBot> ␣␣ [in=o<>e@u] 9/12
<certainty> DeBot: ++
<DeBot> ␣␣ [in=o<>e@u+] 10/12
nii236 has quit [Ping timeout: 256 seconds]
<wasamasa> DeBot: --
<DeBot> ␣␣ [in=o<>e@u+-] 11/12
<astrobunny> DeBot: if
<DeBot> $* [in=o<>e@u+-f] 12/12 You lost!
<sevenseacat> we fail
<certainty> that doesn't even exist. silly me
<astrobunny> LOL
<wasamasa> holy shit
<sevenseacat> XD
<certainty> lol
<wasamasa> who would have guessed that
<sevenseacat> awesome
<certainty> so it's not only methods
<astrobunny> mmm
<wasamasa> I didn't have that much fun in #ruby ever
dEPy has joined #ruby
<astrobunny> DeBot: !hangman ruby
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
<certainty> DeBot: #::
<DeBot> ␣␣␣␣␣::␣␣␣␣ [#] 1/12
<sevenseacat> DeBot: est
<DeBot> ␣␣␣t␣::t␣␣␣ [#es] 3/12
<astrobunny> DeBot: o
<DeBot> ␣␣␣t␣::t␣␣␣ [#eso] 4/12
<certainty> DeBot: o
<DeBot> ␣␣␣t␣::t␣␣␣ [#eso] 4/12
<sevenseacat> DeBot: mn
<DeBot> ␣M␣t␣::t␣n␣ [#eso] 4/12
<astrobunny> DeBot: rim
<DeBot> ␣M␣t␣::t␣n␣ [#esori] 6/12
<wasamasa> DeBot: u
<DeBot> ␣M␣t␣::t␣n␣ [#esoriu] 7/12
<certainty> hmm
<certainty> DeBot: _
<DeBot> ␣M␣t␣::t␣n␣ [#esoriu_] 8/12
pontiki has joined #ruby
<wasamasa> DeBot: a
<DeBot> ␣Mat␣::tan␣ [#esoriu_] 8/12
<certainty> DeBot: h
<DeBot> ␣Math::tanh [#esoriu_] 8/12
<astrobunny> DeBot: C
<DeBot> CMath::tanh [#esoriu_] 8/12 You won!
<sevenseacat> i was wondering about the M
<certainty> :)
<astrobunny> lolol
<certainty> me too
<certainty> ok quick round
<certainty> DeBot: !hangman ruby
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
<certainty> DeBot: Openssl
<DeBot> ␣␣␣␣le␣␣␣␣n␣␣␣on␣␣o␣␣ [ps] 2/12
<certainty> worth a shot
<astrobunny> DeBot: ::
<DeBot> ␣␣␣␣le::␣␣n␣␣␣on␣␣o␣␣ [ps] 2/12
<astrobunny> DeBot: fi
<DeBot> Fi␣␣le::F␣n␣␣ion␣␣o␣i [ps] 2/12
<sevenseacat> DeBot: m
<DeBot> Fi␣␣le::F␣n␣␣ion␣␣o␣i [psm] 3/12
dc has joined #ruby
<wasamasa> DeBot: DeBot
<DeBot> Fiddle::F␣n␣tion␣to␣i [psmb] 4/12
<astrobunny> DeBot: u
<DeBot> Fiddle::Fun␣tion␣to␣i [psmb] 4/12
RegulationD has joined #ruby
<astrobunny> DeBot: c
<DeBot> Fiddle::Function␣to␣i [psmb] 4/12
<sevenseacat> DeBot: _
<DeBot> Fiddle::Function␣to_i [psmb] 4/12
<wasamasa> DeBot: _
<DeBot> Fiddle::Function␣to_i [psmb] 4/12
<astrobunny> DeBot: a
<DeBot> Fiddle::Function␣to_i [psmba] 5/12
<sevenseacat> #
allenn has joined #ruby
<astrobunny> DeBot: s
<DeBot> Fiddle::Function␣to_i [psmba] 5/12
<sevenseacat> DeBot: #
<DeBot> Fiddle::Function#to_i [psmba] 5/12 You won!
<astrobunny> lol nice
<astrobunny> Fi..le confused me
wottam has joined #ruby
bal has quit [Quit: bal]
bal has joined #ruby
HoloIRCUser3 has joined #ruby
pontiki has quit [Ping timeout: 265 seconds]
pico-pete has quit []
RegulationD has quit [Ping timeout: 245 seconds]
jimms has quit [Remote host closed the connection]
relix has joined #ruby
riceandbeans has joined #ruby
<shevy> Function?
<shevy> Fiddle has a module named Function?
dc has quit [Remote host closed the connection]
jimms has joined #ruby
Nuck has quit [Read error: Connection reset by peer]
G has joined #ruby
dc has joined #ruby
AnxiousGarlic has joined #ruby
lolmaus has quit [Quit: Konversation terminated!]
Nuck has joined #ruby
spyderman4g63 has quit [Ping timeout: 272 seconds]
<hanmac1> shevy in java it might have been named FunctionFactory or something like that ,P
<jokester> AbstractFunctionFactoryProxy
chridal has quit [Ping timeout: 252 seconds]
xcesariox has joined #ruby
kith has quit [Quit: kith]
Synthbread has quit [Ping timeout: 252 seconds]
krisquigley has joined #ruby
ghostpl_ has joined #ruby
jimms has quit [Remote host closed the connection]
kith has joined #ruby
jolg42 has joined #ruby
wookiehangover has quit [Ping timeout: 265 seconds]
krisquigley has quit [Ping timeout: 246 seconds]
HoloIRCUser3 has quit [Ping timeout: 264 seconds]
Wolland_ has quit []
bluOxigen has joined #ruby
User458764 has joined #ruby
HoloIRCUser3 has joined #ruby
Koshian has quit [Quit: Tiarra 0.1+svn-39209: SIGTERM received; exit]
Koshian has joined #ruby
blueOxigen has quit [Ping timeout: 264 seconds]
dc has quit [Remote host closed the connection]
anarang has quit [Ping timeout: 246 seconds]
ghostpl_ has quit [Ping timeout: 255 seconds]
dc has joined #ruby
Koshian is now known as Koshian
martinbmadsen has quit [Ping timeout: 255 seconds]
<jokke> hi
<jokke> i'm still stuck at my problem from yesterday regarding load path
anarang has joined #ruby
<jokke> to summarize: i have an unpublished gem in a local directory that i need in another gem. I added the gem name into the gemspec and in the Gemfile i added it with path: '../mygem'
terlar has joined #ruby
<jokke> i get load errors for any files i want to include from the gem
<jokke> this is what the lib of the gem looks like:
mikepack has joined #ruby
<jokke> the gem is called bsh-persistence
<sandelius> Anyone have any thoughts on MongoDB 3 ?
oo_ has quit [Remote host closed the connection]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
oo_ has joined #ruby
dc has quit [Ping timeout: 264 seconds]
einarj has joined #ruby
ramfjord has quit [Ping timeout: 252 seconds]
<chovy> how do i call a method in my module from within my module?
mikepack has quit [Ping timeout: 246 seconds]
<shevy> chovy "extend self" should be the shortest way
<j416> not extend self :/
<j416> class << self; end
<j416> use it
<chovy> if item = self.find_item(/vision\-media\.ca/, query)
<chovy> is that right?
anarang has quit [Quit: Leaving]
<j416> should not need self.
<jokke> shevy: what about module_function?
<shevy> jokke I think there is some subtle difference between extend self and module_function
<jokke> yeah as always :D
<j416> s/subtle/big/
<jokke> ok
apeiros_ has joined #ruby
<shevy> module_function makes the method private
bim has joined #ruby
<j416> a module is commonly used for two things: 1) use as mixin, 2) use as namespace
<shevy> you can use a class as a namespace too though
<j416> the only good thing with 'extend self' is that it is short
lsmola has quit [Ping timeout: 246 seconds]
<j416> the problem with it is that if the module is meant as a namespace, then there is nothing preventing it from being mixed in
<j416> i.e. you'll get all those methods when mixing in, not that you would mix it in, but it's stupid to use something that exposes the methods when mixed in
<j416> class << self; def mymethod foo ... ; end
pengin has joined #ruby
<jokke> any help with my load path problem? :/
<j416> this does not expose mymethod to the class this module may be mixed into
krz has quit [Ping timeout: 252 seconds]
<j416> module_function suffers the same problem iirc.
<j416> shevy: module is better for namespacing because it cannot be instantiated
msgodf has joined #ruby
User458764 has joined #ruby
<shevy> funny that you say that - when I once asked apeiros why he used a class as a namespace, he said precisely because he could instantiate it
<shevy> jokke can't you install your gem like all the other gems?
<shevy> then you can do: require 'name_of_gem_here'
<jokke> shevy: doesn't bundler install it?
<shevy> dunno
<shevy> bundler keeps things somewhere else too doesn't it?
flip_digits has joined #ruby
wookiehangover has joined #ruby
Hirzu_ has joined #ruby
danjordan has joined #ruby
<jokke> maybe it has something to do with the fact that the name has a dash in it?
<jokke> because it's part of a project bsh
<jokke> so its bsh-persistance
<shevy> nah
<shevy> require does not mind
<jokke> so i should require 'bsh-persistance'?
Synthbread has joined #ruby
<jokke> not 'bsh/persistance'?
<shevy> if you do: require 'bsh-persistance', it will first look at a file called 'bsh-persistance.rb'
markholmes has quit [Quit: So it goes.]
<j416> shevy: might have been a different use case then
<shevy> require 'bsh/persistance' translates to 'bsh/persistance.rb'
<jokke> that would be correct
<j416> shevy: class methods on classes can be nice if they are strongly related to the class
<j416> shevy: when implementing the active record pattern for example
Nuck has quit [Quit: Nuck Off]
Hirzu has quit [Ping timeout: 265 seconds]
bim has quit [Remote host closed the connection]
SouL_ has quit [Ping timeout: 256 seconds]
jimms has joined #ruby
pengin has quit [Remote host closed the connection]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
alexherbo2 has quit [Quit: WeeChat 1.1.1]
alexherbo2 has joined #ruby
<apeiros_> hurray, I set my ZNC up to listen to a port which isn't open on company network >:-(
alexherbo2 has quit [Client Quit]
alexherbo2 has joined #ruby
codecop has quit [Remote host closed the connection]
alexherbo2 has quit [Client Quit]
alexherbo2 has joined #ruby
<certainty> << "1".succ
selu has joined #ruby
<certainty> damn bot
<certainty> >> "1".succ
<eval-in_> certainty => "2" (https://eval.in/302424)
<certainty> damn me
<certainty> wtf?
<certainty> are we in php
<certainty> ?
anarang has joined #ruby
<certainty> oh no silly me
<certainty> phew, i was afraid for a moment
lsmola has joined #ruby
<apeiros_> yeah. silly you. String#succ is still weird, tho
<apeiros_> >> "9".succ
<eval-in_> apeiros_ => "10" (https://eval.in/302427)
<apeiros_> >> "z".succ
<eval-in_> apeiros_ => "aa" (https://eval.in/302428)
flip_digits has quit [Ping timeout: 255 seconds]
<certainty> wait
arup_r has quit [Remote host closed the connection]
gfawcettpq1 has quit [Ping timeout: 246 seconds]
* apeiros_ waits, not knowing what for…
<certainty> :)
<certainty> me neither
<certainty> >> "99".succ
<eval-in_> certainty => "100" (https://eval.in/302430)
* apeiros_ waits for godot then
milesmatthias has joined #ruby
<certainty> unexpected again
<apeiros_> hm, godot… go dot… go .
<certainty> so it's like i though first
<certainty> thought, even
Nuck has joined #ruby
juanpablo_ has joined #ruby
<certainty> so it really interprets the contents of the string and tries to be smart when it looks like a number?
<apeiros_> afaik, String#succ has 4 sequences it wraps around (0-9, A-Z and a-z and 0x00-0xff)
blueOxigen has joined #ruby
<certainty> or charsets and stuff
<certainty> but that's ok since charsets are related to strings
<sevenseacat> clever little shit
<apeiros_> charsets: afaik ascii only
<apeiros_> >> "0xff".succ
<eval-in_> apeiros_ => "0xfg" (https://eval.in/302431)
<sevenseacat> fail
<apeiros_> hm… *that* is unexpected
<apeiros_> ah, lol
<apeiros_> >> "\xff".succ
<eval-in_> apeiros_ => "\u0001\xFF" (https://eval.in/302433)
brandly has joined #ruby
<apeiros_> >> "\xff".b.succ
<eval-in_> apeiros_ => "\x01\x00" (https://eval.in/302436)
<apeiros_> aha
<apeiros_> makes sense
<apeiros_> \xff is not valid unicode
<sevenseacat> ah hah
<certainty> "9".succ could be ":"
<certainty> that i would understand
bim has joined #ruby
bluOxigen has quit [Ping timeout: 255 seconds]
<apeiros_> unicode it's:
<apeiros_> >> "\x7f".succ
<sevenseacat> i wouldnt
<eval-in_> apeiros_ => "\u0001\u0000" (https://eval.in/302437)
<apeiros_> well, "9".succ => ":" is ("9".ord+1).chr
<apeiros_> @ sevenseacat ^
<certainty> i'm ignoring what happened the last 5 minute and live on as if ruby didn't try to be so smart
echevemaster has quit [Quit: WeeChat 1.1.1]
<sevenseacat> ah hah
jenrzzz has quit [Ping timeout: 256 seconds]
<apeiros_> I tend not to use String#succ as I don't want to learn all special cases
<certainty> smart move
<sevenseacat> cheers for the explanation
milesmatthias has quit [Ping timeout: 256 seconds]
dtjrkm has joined #ruby
<sevenseacat> dont think ive used succ, ever
<apeiros_> it's nice to create excel-esque csv headers :D
juanpablo_ has quit [Ping timeout: 252 seconds]
<certainty> i use it often actually on numbers for example
<certainty> i like it better than num + 1
Pupeno has quit [Quit: Leaving...]
<gr33n7007h> >> "***".succ
<eval-in_> gr33n7007h => "**+" (https://eval.in/302444)
sinkensabe has joined #ruby
<gr33n7007h> ah, I see
<apeiros_> ("A".."ZZZZ").first(columns.size)
abrausch has joined #ruby
Takle has joined #ruby
bim has quit [Remote host closed the connection]
Cust0sL1men has quit [Ping timeout: 252 seconds]
reinaldob has joined #ruby
brandly has quit [Remote host closed the connection]
bim has joined #ruby
avril14th has quit [Remote host closed the connection]
krz has joined #ruby
muzik has joined #ruby
bim has quit [Remote host closed the connection]
reinaldob has quit [Ping timeout: 246 seconds]
arup_r has joined #ruby
joonty has joined #ruby
apeiros_ has quit [Ping timeout: 250 seconds]
apeiros_ has joined #ruby
agrinb has joined #ruby
ajsdklfjalksdf has quit [Quit: ajsdklfjalksdf]
sevenseacat has quit [Remote host closed the connection]
juanpaucar has joined #ruby
spider-mario has quit [Remote host closed the connection]
_64k has joined #ruby
ghr has joined #ruby
<certainty> DeBot: !hangman ruby
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
<certainty> DeBot: OpenSSL
<DeBot> E␣␣␣␣␣e␣␣e␣␣o␣␣␣␣e␣␣e␣␣␣␣e␣␣o␣ [pnsl] 4/12
juanpaucar has quit [Ping timeout: 252 seconds]
dawkirst has joined #ruby
<certainty> DeBot: numrabl
<DeBot> ERB␣␣␣e␣Me␣␣o␣␣␣␣e␣␣erb␣me␣␣o␣ [pnslua] 6/12
<tobiasvl> what the
<certainty> DeBot: ::#
<DeBot> ERB::␣e␣Me␣␣o␣::␣e␣␣erb␣me␣␣o␣ [pnslua#] 7/12
<undeadaedra> does it counts the tries as he fills it, or does it counts after ?
<certainty> i don't know the erb api well
<undeadaedra> DeBot: abcdefghijklmnopqrstuvwxyz
<DeBot> ERB::DefMethod::def_erb_method [pnslua#cgijkqvwxyz] 18/12 You lost!
<certainty> too many tries :(
<undeadaedra> apparently it counts step by step
<undeadaedra> good
andikr has quit [Remote host closed the connection]
Aswebb_ has joined #ruby
<undeadaedra> also, good thinking about the ␣ characters
<undeadaedra> 18/12 would play it
ghostpl_ has joined #ruby
<apeiros_> DeBot: !hangman ruby
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
<apeiros_> DeBot: ens
<DeBot> Ne␣␣␣␣␣␣␣␣e␣␣␣␣n␣␣␣ [s] 1/12
<certainty> DeBot: #::
<DeBot> Ne␣::␣␣␣#␣e␣␣␣␣n␣␣␣ [s] 1/12
<undeadaedra> DeBot: w
<DeBot> Ne␣::␣␣␣#␣e␣␣␣␣n␣␣␣ [sw] 2/12
yeticry has quit [Ping timeout: 245 seconds]
<certainty> DeBot: t
<DeBot> Net::␣T␣#␣et␣␣␣n␣␣␣ [sw] 2/12
<apeiros_> DeBot: t
<DeBot> Net::␣T␣#␣et␣␣␣n␣␣␣ [sw] 2/12
<DefV> DeBot: w
<DeBot> Net::␣T␣#␣et␣␣␣n␣␣␣ [sw] 2/12
<certainty> DeBot: fp
<DeBot> Net::FTP#␣et␣␣␣n␣␣␣ [sw] 2/12
<apeiros_> DeBot: f
<DeBot> Net::FTP#␣et␣␣␣n␣␣␣ [sw] 2/12
<canton7> is this what we do when we're bored, now?
<DefV> DeBot: g
<DeBot> Net::FTP#␣et␣␣␣n␣␣␣ [swg] 3/12
<apeiros_> canton7: totally
<DefV> DeBot: n
<DeBot> Net::FTP#␣et␣␣␣n␣␣␣ [swg] 3/12
<certainty> DeBot: ru
<DeBot> Net::FTP#retr␣␣n␣r␣ [swgu] 4/12
<R1ck> DeBot: ie
<DeBot> Net::FTP#retr␣in␣r␣ [swgu] 4/12
<apeiros_> until I get annoyed and kickban all. at least I'll be happy then :-D
<undeadaedra> aw, the troll’s gone :(
<certainty> DeBot: ve
<DeBot> Net::FTP#retr␣in␣r␣ [swguv] 5/12
mengu has quit [Remote host closed the connection]
<apeiros_> DeBot: y
<DeBot> Net::FTP#retr␣in␣ry [swguv] 5/12
<DefV> DeBot: a
<DeBot> Net::FTP#retr␣inary [swguv] 5/12
<DefV> DeBot: b
<DeBot> Net::FTP#retrbinary [swguv] 5/12 You won!
<certainty> apeiros_: haha
jack_rabbit has quit [Ping timeout: 252 seconds]
<undeadaedra> You should have a limit on the number of plays to not flood it
<certainty> :(
<apeiros_> but to be clear, hangman is a nogo when a discussion is ongoing
elaptics_away is now known as elaptics
<canton7> the bot should enforce that :P
<apeiros_> canton7: PR
<apeiros_> jhass: do you accept PRs on DeBot? :D
yeticry has joined #ruby
<apeiros_> damn, the autogenerated 12 char pw on my new box was so good, remembered it at first try :D
<apeiros_> <3
<undeadaedra> congrats
<undeadaedra> After six months, I finally learned my phone number
<apeiros_> I wonder whether when I'm 90 and have dementia, I'll randomly remember passwords from this age…
<certainty> apeiros_: 123456789abc?
dawkirst has quit [Ping timeout: 252 seconds]
<undeadaedra> hunter2 ?
<apeiros_> certainty: higher entropy
<apeiros_> `grep -n -v -E '^#|^ *$' CONFIG` makes config files so much more readable…
<certainty> >> "123456789abc".chars.shuffle.join
<eval-in_> certainty => "ab89c1654372" (https://eval.in/302461)
<certainty> ?
Cust0sL1men has joined #ruby
<apeiros_> certainty: damn you! how?!?
dawkirst has joined #ruby
tlarevo has joined #ruby
<certainty> xD
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
<jokke> umm...,
<jokke> undefined method `expect' for #<RSpec::ExampleGroups::BSHImporter:0x007fd79afb58f0>
<jokke> dafuq?
<certainty> jokke: put it inside an it block
<certainty> you need to be inside of an example
Pupeno has joined #ruby
aswen has joined #ruby
slap_stick has joined #ruby
<certainty> oh
<undeadaedra> SSL Error
<certainty> nvm then
Hawkeye has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 246 seconds]
ghostpl_ has quit [Ping timeout: 250 seconds]
<catsoup> can anyone else see the solar eclipse?
<jokke> yeah
<catsoup> i'm in the uk, you?
<jokke> germany
<catsoup> apols for being off topic but you know, solar eclipse
steve-la_ has joined #ruby
<jokke> but it's just startung
<undeadaedra> it’s too cloudy here :(
<catsoup> v cloudy in glorious yorkshire
lxsameer has joined #ruby
<jokke> clear sky here :)
steve-la_ has quit [Remote host closed the connection]
steve-la_ has joined #ruby
steve-la_ has quit [Remote host closed the connection]
Soda has joined #ruby
steve-la_ has joined #ruby
<jokke> and i burned a candle under some glass
<jokke> to be able to look into it
<jokke> old scool!
<jokke> *school
<catsoup> to make a bit of smoked glass?
hgl has quit [Ping timeout: 265 seconds]
<jokke> catsoup: dunno if you call it tah
<jokke> *that
<undeadaedra> I look it on a livestream :|
<jokke> undeadaedra: that sucks
<undeadaedra> completly
<catsoup> i just looked at it dead on, i'm hardcore (also unwise)
jimms has quit [Remote host closed the connection]
<jokke> catsoup: -.-
<jokke> :D
<catsoup> would have been sensible!
jimms has joined #ruby
jonr22 has joined #ruby
<undeadaedra> between the pollution and the clouds, we have no luck :(
Nuck has quit [Quit: Nuck Off]
hgl has joined #ruby
krisquigley has joined #ruby
<certainty> too cloudy here in hamburg too
vtunka has joined #ruby
jimms has quit [Ping timeout: 256 seconds]
lkba_ has quit [Ping timeout: 246 seconds]
marr has joined #ruby
purple1 has joined #ruby
jonr22 has quit [Ping timeout: 265 seconds]
<undeadaedra> that’s sad
lolmaus has joined #ruby
msgodf has quit [Ping timeout: 252 seconds]
The_Phoenix has joined #ruby
<catsoup> everyone in my office has stopped working and crowded into the appropriate corner
arup_r has quit [Ping timeout: 244 seconds]
<jsrn> We all went outside
<jsrn> Should have brought my sunglasses, but I completely forgot
<jsrn> Everyone raving about it for the last few days and I'm just like "Come on guys, it's not that good an editor"
dumdedum has joined #ruby
Takle has quit [Remote host closed the connection]
<wasamasa> eclipse?
ponga has quit [Remote host closed the connection]
workmad3 has joined #ruby
pontiki has joined #ruby
<undeadaedra> yes, eclipse
Takle has joined #ruby
tvw has quit [Ping timeout: 250 seconds]
<gregf_> yeah, the clouds have ruined it
<undeadaedra> bad clouds
<undeadaedra> now I have to look a damn stream of it
RegulationD has joined #ruby
Kabal619 has quit [Remote host closed the connection]
oo__ has joined #ruby
The_Phoenix has quit [Read error: Connection reset by peer]
Synthbread has quit [Ping timeout: 252 seconds]
oo_ has quit [Ping timeout: 246 seconds]
<workmad3> undeadaedra: eclipse? you mean the great sky dragon eating the sun, right?
Macaveli has joined #ruby
pontiki has quit [Ping timeout: 272 seconds]
ponga has joined #ruby
<undeadaedra> workmad3: no, I mean https://youtu.be/IlHRSpFGtQk
<hanmac1> i was outside to look at it, we have clear sky but it was to cold outside
riotjone_ has joined #ruby
RegulationD has quit [Ping timeout: 246 seconds]
<workmad3> undeadaedra: yeah... great sky dragon that tries to eat the sun... you need to scare it away by standing outside and pointing pinhole cameras at it
<workmad3> undeadaedra: it'll vomit up what it's eaten if you scare it away successfully
<undeadaedra> I see
tlarevo has quit [Remote host closed the connection]
* workmad3 doubts that this is the craziest idea ever about eclipses
Takle has quit [Remote host closed the connection]
dawkirst has quit [Quit: Leaving...]
tlarevo has joined #ruby
mikecmpbll has joined #ruby
riotjones has quit [Ping timeout: 264 seconds]
<workmad3> undeadaedra: next, I'll start commenting about the great sky dragon on facebook posts saying how the eclipse is 'auspicious' and other astrology BS :) see if I can get them to call me crazy
c0m0 has joined #ruby
<hanmac1> hm maybe the dragon does like hot food? ;P
<undeadaedra> I want a dragon
livingstn has joined #ruby
<workmad3> undeadaedra: you can keep those ones in vivariums
<undeadaedra> no, I want a big one :<
<hanmac1> undeadaedra: hm a dragon that does eat a sun ... might be material for a DoctorWho episode ? xD
<workmad3> undeadaedra: http://biologypop.com/wp-content/uploads/2014/04/komodo-dragon-wallpapers-11.jpg but I wouldn't suggest keeping one as a pet
jbw has quit [Remote host closed the connection]
<undeadaedra> :<
yfeldblum has joined #ruby
<workmad3> hanmac1: well, they did an episode where the moon was a giant dragon egg (essentially), and the moon 'eats' the sun during an eclipse... so by extension, they've already done that episode ;)
<workmad3> hanmac1: but yeah... a mythological, fire-breathing dragon... how does it get the fire inside it? It eats suns to keep its internal fusion reactor going!!!
tlarevo has quit [Ping timeout: 256 seconds]
gfawcettpq has joined #ruby
* hanmac1 makes a "oO" face ... that totally makes sense!! xD
<workmad3> hanmac1: yeah... totally makes sense while being completely crazy and insane ;)
<workmad3> perfect dr who :)
<undeadaedra> workmad3: you don’t wonder how the dragon can throw fire. YOU RUN.
xploshioon has joined #ruby
<workmad3> undeadaedra: and remember... you don't need to run faster than the dragon... you just need to run faster than the halfling
<hanmac1> workmad3: reminds me of maps from the Discworld with notes like "* there might be dragons" ;P
astrobunny has quit [Remote host closed the connection]
<workmad3> hanmac1: of course, the peril with doing that with a discworld map is that, by putting 'here be dragons' on it, you could in fact cause dragons to suddenly exist there!
yfeldblum has quit [Ping timeout: 246 seconds]
astrobunny has joined #ruby
chridal has joined #ruby
hectortrope has joined #ruby
<hectortrope> Hi rubyists
slap_stick has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arup_r has joined #ruby
hsps__ has joined #ruby
rorra has quit [Ping timeout: 244 seconds]
steve-la_ has quit [Quit: Be back later ...]
slap_stick has joined #ruby
rorra has joined #ruby
astrobunny has quit [Ping timeout: 264 seconds]
chridal has quit [Ping timeout: 252 seconds]
leafybasil has quit [Remote host closed the connection]
yfeldblum has joined #ruby
hsps_ has quit [Ping timeout: 252 seconds]
Cust0sL1men has quit [Ping timeout: 250 seconds]
Hirzu_ has quit [Ping timeout: 252 seconds]
Soda has quit [Remote host closed the connection]
<jokke> anyone here who can help me with my rspec issue?
<jokke> undefined method `expect' for #<RSpec::ExampleGroups::BSHImporter:0x007f5dbac52398
<hanmac1> workmad3: thats what i thought about the newest MAGIC card set ;P
purple1 has left #ruby [#ruby]
hsps__ has quit [Quit: Leaving]
timonv has joined #ruby
<workmad3> hanmac1: haven't played MtG for years
ismaelga has joined #ruby
<workmad3> jokke: what version of rspec do you have there?
<jokke> 3.2.2
<jokke> ooh
<jokke> bundle exec
<workmad3> jokke: figured it out? :)
<jokke> i think
<jokke> let's see
patteh has quit [Quit: leaving]
patteh has joined #ruby
<jokke> it was missing from the gemspec m(
oo_ has joined #ruby
oo__ has quit [Ping timeout: 250 seconds]
oo__ has joined #ruby
martinbmadsen has joined #ruby
oo_ has quit [Ping timeout: 264 seconds]
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
oo__ has quit [Remote host closed the connection]
_64k has quit [Quit: leaving]
ndrei has quit [Ping timeout: 252 seconds]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
arup_r_ has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
d10n-work has quit [Quit: Connection closed for inactivity]
_64k has joined #ruby
martinbmadsen has quit [Ping timeout: 252 seconds]
ndrei has joined #ruby
Cust0sL1men has joined #ruby
mengu has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
leafybasil has joined #ruby
Hirzu has joined #ruby
arup_r_ has quit [Remote host closed the connection]
oo_ has joined #ruby
bruno- has quit [Ping timeout: 265 seconds]
flip_digits has joined #ruby
Rephiax has joined #ruby
bruno- has joined #ruby
ndrei has quit [Ping timeout: 245 seconds]
mathie has quit [Quit: Quitting...]
mathie has joined #ruby
blackmes1 has joined #ruby
sdothum has joined #ruby
doodlehaus has joined #ruby
flip_digits has quit [Ping timeout: 264 seconds]
chridal has joined #ruby
milesmatthias has joined #ruby
bluOxigen has joined #ruby
msgodf has joined #ruby
juanpablo_ has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
HoloIRCUser3 has quit [Ping timeout: 252 seconds]
vroomanj has joined #ruby
astrobunny has joined #ruby
ndrei has joined #ruby
kobain has quit [Ping timeout: 264 seconds]
blueOxigen has quit [Ping timeout: 246 seconds]
krz has quit [Quit: WeeChat 1.0.1]
milesmatthias has quit [Ping timeout: 246 seconds]
slasla has quit [Quit: leaving]
Takle has joined #ruby
bluOxigen has quit [Ping timeout: 264 seconds]
juanpablo_ has quit [Ping timeout: 272 seconds]
HoloIRCUser3 has joined #ruby
livathinos has joined #ruby
adriancb has joined #ruby
sprihodko has joined #ruby
lxsameer has quit [Quit: Leaving]
<sprihodko> Hi! What is the most 'ruby way' to sort this array of hashes http://pastie.org/10041575 so it will show only one inclusion of user to group?
adriancb has quit [Ping timeout: 246 seconds]
<undeadaedra> can you display an exemple of the expected outcome ?
<undeadaedra> oh wait, misread -_-
<certainty> i think he did
<certainty> but i still don't know what exactly he wants
<undeadaedra> I see it
<canton7> de-dup, I think?
<canton7> so, not sorting at all
<undeadaedra> he just want a value to appear once, so if it appears in next hashes, it want it gone
<canton7> alos [user1: Nick, user2: Jack] is not ruby :P
<canton7> *also
<sprihodko> its just an example)
<undeadaedra> a table to save already seen names, and filter to collect and delete
Juanchito has joined #ruby
<canton7> it helps if the examples are actually representative of what you want
<undeadaedra> s/table/array/
<canton7> otherwise there's a surprising amount of scope for misinterpretation
<certainty> undeadaedra: you're some kind of mind-reader :)
<canton7> ... I don't know whether you want an array or a hash there
<undeadaedra> certainty: :)
<sprihodko> array of hashes
<undeadaedra> there are just delete operations here, no real transformation
<canton7> what is users? an array or a hash?
<gregf_> sprihodko: well its ain't sorting exactly. dedupe?
<canton7> it also means I need to message your input before testing a solution
<certainty> hmmm i could use a massage
<undeadaedra> sprihodko: can you fix your example so it’s valid ruby representation ?
<sprihodko> usernames is just a strings. Sorry for bad example
<gregf_> yeah, and [user1: Alex, user2: Nick ] needs to be {user1: Alex, user2: Nick}
juanpaucar has joined #ruby
<canton7> or is it ['Alex', 'Nick']?
<canton7> ^ that would make the most sense
<undeadaedra> %w[Alex Nick]
<undeadaedra> :p
<gregf_> canton7: exactly
max96at|off is now known as max96at
reinaldob has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
<sprihodko> canton7: yes, you are right
pengin has joined #ruby
davidhq has joined #ruby
<gregf_> sprihodko: you could just have something like: Main: [ 'Alex', 'Nick' ]
<canton7> my attempt: http://pastie.org/10041603
juanpaucar has quit [Ping timeout: 256 seconds]
reinaldob has quit [Ping timeout: 246 seconds]
lanemeyer has quit [Ping timeout: 264 seconds]
claptor has quit [Quit: this channel is bakas]
<undeadaedra> looks like it
ndrei has quit [Ping timeout: 245 seconds]
<canton7> don't know if there's a smarter Set operation which can improve line 8
<hanmac1> canton7: why using reject!{ |x| users.include?(x) } ?
<canton7> is there a better way of doing that?
<sprihodko> canton7: Yes, it's working! Thanks a lot
alec-c4 has joined #ruby
mengu has quit [Ping timeout: 244 seconds]
<canton7> sprihodko, make sure you understand how that works
ponga has quit [Remote host closed the connection]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pengin has quit [Remote host closed the connection]
ghostpl_ has joined #ruby
Spami_ has joined #ruby
Mia has quit [Read error: Connection reset by peer]
astrobunny has quit [Remote host closed the connection]
Spami has quit [Ping timeout: 256 seconds]
xploshioon has quit [Quit: Leaving]
<hanmac1> canton7: why not just without reject like collection.each_with_object(Set.new) { |group, users| users.merge(group[:users]) } ?
<canton7> hanmac1, because that doesn't something different?
<canton7> the point of the Set is to filter the users present in each group
<canton7> *because that does something different
clarkk has joined #ruby
<hanmac1> canton7: yours and mine does both return: #<Set: {"Alex", "Nick", "Rob", "Jack", "Homer"}>
xploshioon has joined #ruby
<canton7> hanmac1, but mine modifies 'collection'
<canton7> which is the point of the operation
<sprihodko> canton7: Oh, sorry. It is not as expected. I want not just Set of users, but leave an array of hashes
<canton7> sprihodko, look at 'collection' after the operation
<canton7> sprihodko, https://eval.in/302480
<clarkk> rvm keeps complaining that my path is not set up correctly, but the path it states is the one at the start of my path when I run echo $PATH (on linux). Does anyone know how to fix this please?
sleeper has joined #ruby
<sprihodko> canton7: I see. Thanks!
Aswebb_ has joined #ruby
<sleeper> Are there any methods for extending and including a module or would I be better off using them in succession?
davedev24_ has joined #ruby
<gregf_> sprihodko: you can also use set operations with inject. but yeah, canton7's solution would look more elegant
jonr22 has joined #ruby
<gregf_> >>[{ group: 'Main', users: [ 'Alex', 'Nick' ] }, { group: 'Secondary', users: [ 'Rob', 'Jack', 'Alex' ] },].inject([]){ |users, dat| dat[:users] -= users; users |= dat[:users]; users}; data
<eval-in_> gregf_ => undefined local variable or method `data' for main:Object (NameError) ... (https://eval.in/302485)
<gregf_> >> data = [{ group: 'Main', users: [ 'Alex', 'Nick' ] }, { group: 'Secondary', users: [ 'Rob', 'Jack', 'Alex' ] },]; data.inject([]){ |users, dat| dat[:users] -= users; users |= dat[:users]; users}; data
<eval-in_> gregf_ => [{:group=>"Main", :users=>["Alex", "Nick"]}, {:group=>"Secondary", :users=>["Rob", "Jack"]}] (https://eval.in/302487)
<canton7> -=! that's better
zz_Outlastsheep is now known as Outlastsheep
<canton7> knew there was a way of improving that
<canton7> although #merge is going to be cheaper than -=, since -= creates a new Set object each time
<hanmac1> my version: collection.each_with_object([]) { |group, users| group[:users] -= users; users.push(*group[:users]) }
<gregf_> yeah, sets are better
<gregf_> er, i mean merge
Lewix has joined #ruby
jonr22 has quit [Ping timeout: 256 seconds]
Aswebb_ has quit [Remote host closed the connection]
SebastianThorn has quit [Quit: leaving]
Aswebb_ has joined #ruby
pontiki has joined #ruby
rdark has quit [Quit: leaving]
mengu has joined #ruby
SebastianThorn has joined #ruby
rdark has joined #ruby
vroomanj has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
User458764 has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
RegulationD has joined #ruby
n008f4g_ has joined #ruby
HoloIRCUser3 has quit [Ping timeout: 272 seconds]
HoloIRCUser1 has joined #ruby
<gregf_> sleeper: module Foo; def bar; puts "Bar!";end;end;Class.new.extend(Foo).bar() <-- was this what you mean?
<gregf_> s/mean/meant/
hectortrope has quit [Ping timeout: 246 seconds]
Pupeno has quit [Quit: Leaving...]
sandelius has joined #ruby
thiesen_ has quit [Quit: Leaving]
sandelius has quit [Read error: Connection reset by peer]
ldnunes has joined #ruby
<sleeper> I'm wondering if there's an obscure (or obvious) method I can use to replace that double call in Complement.
pontiki has quit [Ping timeout: 256 seconds]
RegulationD has quit [Ping timeout: 256 seconds]
arup_r has joined #ruby
Takle has quit [Remote host closed the connection]
<gregf_> sleeper: i just tried this: module Foo; module_function; def bar; puts "Bar!";end;end;module Bar; include Foo; def baz; puts "Baz!";end;end;%w{bar baz}.each{ |meth| Class.new.extend(Bar).send(meth.to_sym) }
<gregf_> i thought extend is used with a class at runtime whereas include was at compile time(switch compile/run accordingly) :
failshell has joined #ruby
<sleeper> gregf_: that's one way of looking at it. In this case I'm using one to apply class methods and the other to apply instance methods.
<workmad3> gregf_: there isn't a 'compile time' or 'run time' difference in ruby
failshell has quit [Client Quit]
<gregf_> workmad3: oh - i see
<workmad3> gregf_: include adds a module's instance methods to instances of a class, extend adds a module's instance methods to the singleton class of whatever you called 'extend' on
HoloIRCUser1 has quit [Ping timeout: 255 seconds]
<sleeper> that's right
<workmad3> gregf_: most commonly, if you call 'extend' on a class, you pull in the module's methods as class methods
<workmad3> gregf_: and if you call 'extend self' in a module, you make all the module's instance methods available as module methods
<sleeper> I'm using them both in tandem to apply the methods to the module and class instances of any class it's mixed into
<workmad3> sleeper: that doesn't work thoguh
<workmad3> *though
<sleeper> workmad3: try it. Works fine for me.
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<workmad3> sleeper: unless you mean you always do 'include Foo; extend Foo' in the module/class you pull it into
doodlehaus has quit [Remote host closed the connection]
<workmad3> sleeper: rather than you do that and then only do 'include Foo' in another module/class
<gregf_> workmad3: cool, thanks!
<sleeper> workmad3: which is what I'm checking up on.
jolg42 has quit [Quit: [->EXIT]]
<sleeper> Is there a single call I can make to use it this way in modules?
<sleeper> include is fine for classes, but for of_dna and of_rna to work on the module they need a module binding of their dependencies.
izzol has joined #ruby
<izzol> hello
<workmad3> sleeper: you can override 'self.included' to perform extend when the module is included... but that's not recommended in the majority of cases... it's better to just have people pull the module in with either extend or include as they desire
<sleeper> workmad3: that's fair. I'll stick with using the two.
<sleeper> Thanks for the perspective.
sevenseacat has joined #ruby
MasterPiece has joined #ruby
<workmad3> sleeper: actually, of_dna and of_rna should work fine if you just have 'include NucleicAcids' if you only intend to make them available as mixin methods
<sleeper> workmad3: I was hoping they could be used as module methods, too, hence the extend.
<workmad3> sleeper: the extend is needed to make them usable in the form NucleicAcids.of_dna(sequence) (so callable directly on NucleicAcids)
MasterPiece has quit [Remote host closed the connection]
<sleeper> workmad3: in standalone methods, for instance.
<sleeper> def foo(bar); Complement.of_rna bar; end; for instance
Pupeno has joined #ruby
Pupeno has joined #ruby
reinaldob has joined #ruby
SOLDIERz has quit [Quit: Be back later ...]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
SOLDIERz has joined #ruby
Takle has joined #ruby
<workmad3> sleeper: or you could remove the requirement for include or extend, and redo it as https://gist.github.com/workmad3/3e70f2bfa952821f1a83
MasterPiece has joined #ruby
<sleeper> workmad3: I like it! Very clean.
<sleeper> That settles that, thanks!
<workmad3> sleeper: I tend to prefer explicit references in modules over setting up dependency chains of include/extend inside modules :)
<sleeper> workmad3: you're right, I'm not sure why I was doing that. Habit, probably. :)
<workmad3> habit, fixing on the thought "this needs NucleicAcids to work, so I should include it", not having been burned by a large module dependency structure crumbling around you? :)
bim has joined #ruby
sprihodko has quit [Quit: (null)]
<sleeper> workmad3: you've made your point. ;)
<workmad3> sleeper: I was more explaining why I have that preference than making a point
<sleeper> workmad3: I know. They're good reasons, thanks again for the advice.
Aswebb_ has joined #ruby
withnale_ has joined #ruby
jgt1 has quit [Ping timeout: 252 seconds]
meschi has joined #ruby
rodfersou has joined #ruby
bim has quit [Remote host closed the connection]
rsavage has joined #ruby
<jhass> apeiros_: sure, PRs always welcome
<withnale_> Is it possible to use Enumerable when your class is effectively wrapping a hash? How would you define each in that case?
rkgudboy has joined #ruby
slap_stick has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
WillAmes has quit [Remote host closed the connection]
WillAmes has joined #ruby
fgo has joined #ruby
<certainty> withnale_: you could delegate for example
oo_ has quit [Remote host closed the connection]
slap_stick has joined #ruby
oo_ has joined #ruby
lanemeyer has joined #ruby
muzik has quit [Quit: Textual IRC Client: www.textualapp.com]
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
chridal has quit [Ping timeout: 265 seconds]
ghostpl_ has quit [Remote host closed the connection]
lolmaus has quit [Ping timeout: 246 seconds]
aclearman037 has joined #ruby
relix has joined #ruby
Musashi007 has quit [Quit: Musashi007]
dEPy has quit [Ping timeout: 265 seconds]
_64k has quit [Ping timeout: 246 seconds]
ponga has joined #ruby
lolmaus has joined #ruby
rkgudboy has quit [Ping timeout: 245 seconds]
<izzol> I have a strange problem with yaml module.
<izzol> It's generating data to the yaml format but after upgrade it's doing this wrong :(
<undeadaedra> There are no problems, only solutions.
<izzol> Now it's doing it in one like.
yfeldblum has quit [Ping timeout: 265 seconds]
<undeadaedra> Samples, izzol ?
<izzol> one line*
Zai00 has joined #ruby
<ddv> not every problem requires a solution
danjordan has left #ruby [#ruby]
<izzol> this is how my yaml file looks like: {"bb1.test.de"=>{"time"=>1426852742, "last_time"=>"2015-03-20T11:59:02+00:00", "status"=>:CRITICAL}}
<izzol> everything is in one line
DerisiveLogic has joined #ruby
<workmad3> izzol: err... that isn't yaml
freezey has joined #ruby
<wasamasa> looks like a nested ruby hash?
<workmad3> or JSON
<izzol> hmm
<workmad3> except for :CRITICAL
<wasamasa> workmad3: json has arrows?
<undeadaedra> workmad3: not JSON
<workmad3> wasamasa: oh, good point
<workmad3> it's friday :P
paraxor has left #ruby [#ruby]
<undeadaedra> It looks like #inspect
shevy has quit [Ping timeout: 246 seconds]
* wasamasa takes out his rocket launcher
<workmad3> yeah, inspect of a nested hash
abrausch has left #ruby [#ruby]
<Mon_Ouie> Also I thought YAML was a superset of JSON
<undeadaedra> non
sigurding has joined #ruby
ponga has quit [Ping timeout: 252 seconds]
dtjrkm has quit [Ping timeout: 250 seconds]
<izzol> hmm, right it shouls start from ---
<undeadaedra> YAML and JSON are completely different
<izzol> so something is not working with .to_yaml
* certainty ponders the superset thing
<workmad3> undeadaedra: hmm... actually, I think Mon_Ouie has a point...
<apeiros_> 13:08 izzol: this is how my yaml file looks like: {"bb1.test.de"=>{"time"=>1426852742, "last_time"=>"2015-03-20T11:59:02+00:00", "status"=>:CRITICAL}}
<apeiros_> look like #to_s instead of #to_yaml
<Mon_Ouie> (Wasn't the case in YAML 1.1 apparently)
<workmad3> undeadaedra: simply because yaml allows '"foo": "bar"', '"foo": ["one", "two"]' and '{"foo": "bar"}' (i.e. it allows the enclosing {} for hashes and [] for arrays, and you can optionally quote both the key and the value)
nfk has joined #ruby
ipmgjt has joined #ruby
shevy has joined #ruby
mengu has quit [Remote host closed the connection]
<undeadaedra> Wouldn’t saying that YAML ⊃ JSON implies that every JSON document is valid YAML?
<apeiros_> undeadaedra: yes
<Mon_Ouie> "every JSON file is a valid YAML file" is written verbatim in the spec
<workmad3> hehe
<undeadaedra> ah yes
<undeadaedra> didn’t know that, actually
nfk has quit [Remote host closed the connection]
ValicekB has quit [Ping timeout: 264 seconds]
<workmad3> undeadaedra: same... I knew that [] was allowed for arrays, but didn't know {} were also allowed or that "foo": "bar" was allowed
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ismaelga has quit [Remote host closed the connection]
nfk has joined #ruby
ndrei has joined #ruby
ghostpl_ has joined #ruby
ismaelga has joined #ruby
oo_ has quit [Remote host closed the connection]
<undeadaedra> I’m sceptic about mixing YAML and JSON constructs, but well
<undeadaedra> anyway
<izzol> ok it works now :)
<undeadaedra> congrats
<izzol> Anyway I'm not sure why.
oo_ has joined #ruby
<workmad3> undeadaedra: same... but it's kinda nice that you could, in the extreme, use your compliant 1.2 yaml parser as a json parser
<undeadaedra> D:
<c-c> zomg
<workmad3> undeadaedra: similarly, I quite like that ruby 2.2 allows {"foo": "bar"} for hash syntax, so I can copy-paste JSON responses directly into ruby now if I so desire :)
User458764 has joined #ruby
<izzol> Can someone explain me this? http://pastebin.com/ghyktbxh
<helpa> Hi izzol. We in #ruby would really appreciate it if you did not use pastebin during your time with us.
<helpa> Pastebin is not good because it loads slowly for most, has ads which are distracting and has terrible formatting. Please use Gist (http://gist.github.com) or Pastie (http://pastie.org) instead. Thanks!
<undeadaedra> workmad3: doesn’t this syntax creates hash keys as symbols?
<izzol> hmm :)
<workmad3> izzol: 'f.write(verify.to_yaml)'
<workmad3> izzol: you're trying to call .to_yaml on the result of the write, not on the thing you're writing
<workmad3> undeadaedra: it does indeed
rsavage is now known as R3Dk1nG
ismaelga has quit [Ping timeout: 255 seconds]
oo_ has quit [Remote host closed the connection]
<izzol> workmad3: yes, that works too
<workmad3> undeadaedra: that doesn't really matter though... what's important, to me, is the convenience of being able to copy-paste json into IRB to examine the results easily, not that string/symbol access differences
<izzol> workmad3: you right
<apeiros_> and write calls to_s, which would be why it looks like what I said
huddy has joined #ruby
<izzol> I didn't thing about it in that way
n80 has joined #ruby
<izzol> think*
<undeadaedra> workmad3: yes, but you still have to be careful, as the result is not exactly the same, and can lead to errors
milesmatthias has joined #ruby
<workmad3> undeadaedra: well, unless what you're going to do is write 'eval(open("http://foobar.com/some.json").read' then it's not something I'm going to be doing in production code
haxrbyte has quit [Ping timeout: 244 seconds]
<workmad3> (there should be another closing ) there... ah well)
msgodf has quit [Ping timeout: 246 seconds]
<undeadaedra> no, but what could go wrong is if you use it to test code in IRB, and then switch to using JSON.parse
DaniG2k has joined #ruby
juanpablo_ has joined #ruby
<workmad3> undeadaedra: sure... if you don't look at the output from both, you could make that mistake
<jhass> programmer could make a mistake :o This is unacceptable!
<workmad3> jhass: if that's unacceptable, use java ;)
jimms has joined #ruby
<jhass> yes yes, I'll make a new AbstractSingletonProxyFactoryBean right away!
lele is now known as Guest24
<workmad3> jhass: no... you get oracle to write it for you (because they can't possibly make a mistake) and then just use it in your spring XML config file
milesmatthias has quit [Ping timeout: 252 seconds]
Musashi007 has joined #ruby
<undeadaedra> so we’re bashing java now?
<workmad3> jhass: and XML is just text, so can't possibly contain errors, meaning anyone can write it and be an uber-coder!
kyrylo has joined #ruby
<workmad3> undeadaedra: I think we're just bashing common perceptions of J2EE development ;)
<undeadaedra> ok
<kyrylo> workmad3, wow, it's you
<workmad3> kyrylo: yeah, I'm everywhere :P
jimms has quit [Remote host closed the connection]
juanpablo_ has quit [Ping timeout: 246 seconds]
rkgudboy has joined #ruby
Musashi007 has quit [Client Quit]
andikr has joined #ruby
<workmad3> kyrylo: apart from when I run away to eat lunch (like now) :)
<kyrylo> workmad3, bon appetite
commmmodo has joined #ruby
<workmad3> cheers :)
workmad3 is now known as wm3|away
adriancb has joined #ruby
xploshioon has quit [Ping timeout: 246 seconds]
jgt1 has joined #ruby
davispuh has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
mengu has joined #ruby
mengu has joined #ruby
xenokiller has quit [Ping timeout: 264 seconds]
Takle has quit [Remote host closed the connection]
Takle has joined #ruby
Rollabunna has joined #ruby
alphaatom has joined #ruby
adriancb has quit [Ping timeout: 246 seconds]
commmmodo has quit [Ping timeout: 272 seconds]
pengin has joined #ruby
Pupeno has quit [Quit: Leaving...]
vtunka has quit [Quit: Leaving]
jimms has joined #ruby
Musashi007 has joined #ruby
dumdedum has quit [Quit: foo]
Takle has quit [Ping timeout: 246 seconds]
jimms has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
jerematic has joined #ruby
avril14th has joined #ruby
brb3 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
Outlastsheep is now known as zz_Outlastsheep
spyderman4g63 has joined #ruby
delianides has joined #ruby
DerisiveLogic has quit [Ping timeout: 255 seconds]
mostlybadfly has joined #ruby
haxrbyte has joined #ruby
nateberkopec has joined #ruby
hiyosi has joined #ruby
juanpaucar has joined #ruby
beef-wellington has joined #ruby
ajsdklfjalksdf has joined #ruby
pengin has quit [Remote host closed the connection]
spyderman4g63 has quit [Ping timeout: 255 seconds]
iMe has quit [Ping timeout: 256 seconds]
dtordable has joined #ruby
<avril14th> hi
6A4ABV6T3 has joined #ruby
<c-c> hi
anaeem1 has quit [Remote host closed the connection]
delianides has quit [Ping timeout: 265 seconds]
jimms has joined #ruby
anaeem1 has joined #ruby
iMe has joined #ruby
juanpaucar has quit [Ping timeout: 252 seconds]
spyderman4g63 has joined #ruby
enebo has joined #ruby
DerisiveLogic has joined #ruby
slap_stick has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
spyderma_ has joined #ruby
banister has joined #ruby
anaeem1 has quit [Ping timeout: 264 seconds]
blackmes1 has quit [Ping timeout: 256 seconds]
spyderman4g63 has quit [Ping timeout: 265 seconds]
willharrison has joined #ruby
haxrbyte has quit [Read error: Connection reset by peer]
<shevy> ih
d10n-work has joined #ruby
willharrison has quit [Client Quit]
haxrbyte has joined #ruby
chridal has joined #ruby
RegulationD has joined #ruby
sonOfRa has quit [Quit: Bye!]
sonOfRa has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
DerisiveLogic has quit [Ping timeout: 252 seconds]
blackmes1 has joined #ruby
jonr22 has joined #ruby
livathin_ has joined #ruby
sankaber has joined #ruby
DaniG2k has quit [Quit: leaving]
sgambino has joined #ruby
commmmodo has joined #ruby
dblessing has joined #ruby
JDiPierro has joined #ruby
martinbmadsen has joined #ruby
sigurding has quit [Quit: sigurding]
razieliyo has joined #ruby
razieliyo has joined #ruby
tier has joined #ruby
livathinos has quit [Ping timeout: 252 seconds]
jimms has quit [Remote host closed the connection]
jonr22 has quit [Ping timeout: 246 seconds]
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chridal has quit [Quit: WeeChat 1.0.1]
revoohc has joined #ruby
ta has quit [Quit: Leaving...]
martinbmadsen has quit [Ping timeout: 255 seconds]
<shevy> "Most of the days however, I tear my hair when fixing bugs, or I try to rephrase my emails to no sound old and bitter"
<shevy> hahaha :D
<shevy> not sound old and bitter
<shevy> that's the nature of life!
<shevy> you start up with a happy smile
<shevy> then things suck more and more as the years pass by
sigurding has joined #ruby
doodlehaus has joined #ruby
kotk has joined #ruby
varunwachaspati has joined #ruby
Mon_Ouie has quit [Ping timeout: 252 seconds]
joonty has quit [Quit: joonty]
allenn has quit [Remote host closed the connection]
livathin_ has quit []
ajsdklfjalksdf has quit [Quit: ajsdklfjalksdf]
_64k has joined #ruby
Aswebb_ has quit []
_64k has quit [Client Quit]
cassianoleal has joined #ruby
davidhq has quit [Quit: Textual IRC Client: www.textualapp.com]
Hirzu has quit [Ping timeout: 256 seconds]
davidhq has joined #ruby
commmmodo has quit [Quit: commmmodo]
michael_mbp has quit [Excess Flood]
sigurding has quit [Quit: sigurding]
michael_mbp has joined #ruby
ajsdklfjalksdf has joined #ruby
Takle has joined #ruby
alec-c4 has quit [Remote host closed the connection]
alec-c4 has joined #ruby
flip_digits has joined #ruby
ajsdklfjalksdf has quit [Ping timeout: 246 seconds]
commmmodo has joined #ruby
lessless has joined #ruby
anaeem1 has joined #ruby
msgodf has joined #ruby
it0a has joined #ruby
alec-c4 has quit [Ping timeout: 264 seconds]
sigurding has joined #ruby
flip_digits has quit [Ping timeout: 272 seconds]
a1fa has joined #ruby
rkgudboy has quit [Ping timeout: 244 seconds]
<a1fa> while looping through a csv, is it cool to write such expressions
haxrbyte has quit [Remote host closed the connection]
<a1fa> row["whatever"] ? whatever = row["whatever"]
ipmgjt has quit [Remote host closed the connection]
<a1fa> well technically: row["whatever"] ? whatever = URI(row["whatever"])
Hirzu has joined #ruby
<tobiasvl> no, you need the third parameter there
<tobiasvl> it's a ternary operator
_maes_ has joined #ruby
freezey has quit [Remote host closed the connection]
<a1fa> :
<tobiasvl> yes
<tobiasvl> but if you don't want an else clause you can write
<a1fa> doh, i guess i should default it to nil
hdrv has quit [Ping timeout: 252 seconds]
hydrozen has joined #ruby
<tobiasvl> whatever = row["whatever"] if URI(row["whatever"]
<tobiasvl> or something
<a1fa> that defaults to nil
<a1fa> so that would probably work better
<a1fa> unless i need else
<a1fa> cool, thanks tobiasvl
<jhass> a1fa: to answer the actual question: no, ternary for control flow is not cool
hyperdrive has joined #ruby
werelivinginthef has joined #ruby
a346 has joined #ruby
<a1fa> jhass: thanks
DerisiveLogic has joined #ruby
joonty has joined #ruby
mengu has quit [Remote host closed the connection]
ta has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
razieliyo has quit [Quit: Saliendo]
kedare has quit [Quit: WeeChat 1.0.1]
alexherbo2 has quit [Quit: WeeChat 1.1.1]
alexherbo2 has joined #ruby
hcnewsom has joined #ruby
alec-c4 has joined #ruby
livathinos has joined #ruby
fmcgeough has joined #ruby
commmmodo has quit [Quit: commmmodo]
arup_r has quit []
ych4k3r has joined #ruby
ojacobson_ has joined #ruby
wm3|away is now known as workmad3
livingstn has quit [Ping timeout: 256 seconds]
RegulationD has joined #ruby
varunwachaspati has quit [Quit: Leaving]
fgo has quit [Quit: WeeChat 1.1.1]
palms has joined #ruby
juanpablo_ has joined #ruby
alec-c4 has quit [Remote host closed the connection]
ernetas has joined #ruby
<ernetas> Hey guys.
<ernetas> Is there a way to disable git in bundler?
<ernetas> I don't want bundle install to do anything with git, but it does, even if the gems in gemfile are specificed in specific group, which is excluded with running bundle install --without=development...
alec-c4 has joined #ruby
codecop has joined #ruby
duggiefresh has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jhass> mhh, that would sound like a bug
<jhass> are they maybe still to be installed through dependencies outside of that group?
hesam has joined #ruby
ta has quit [Remote host closed the connection]
<hesam> hi, I have installed Ruby and Rail and I am beginner in them, how can I test that i installed rail correctly? I used "rail -v" to see the version but i see "Usage: rail new <project_name>"
kedare has joined #ruby
<mikecmpbll> there's more than one rail
<jhass> hesam: the name is rails, rails -h
<ernetas> jhass: neup, no deps.
<nickjj> does anyone know offhand of a great image face detection gem? something to create thumbs of faces from a larger source image
<ddv> I have this weird problem where I receive UDP packets in my Ruby program but then it stops receiving....
ta has joined #ruby
<jhass> ernetas: are you sure? can you gist your Gemfile and .lock?
imanzarrabian has joined #ruby
<hesam> Thanks
<jhass> ddv: I think it's called "UDP"
Takle has quit [Remote host closed the connection]
<jhass> your problem
<ddv> jhass: What?
juanpablo_ has quit [Ping timeout: 264 seconds]
<mikecmpbll> lol
User458764 has joined #ruby
pengin has joined #ruby
<jhass> maybe the packets just don't come through anymore? you have no way to tell with udp
<ddv> jhass: I'm checking with wireshark
alec-c4 has quit [Ping timeout: 256 seconds]
freezey has joined #ruby
ninedragon has joined #ruby
juanpaucar has joined #ruby
ta has quit [Remote host closed the connection]
livathinos has quit [Remote host closed the connection]
livathinos has joined #ruby
<ernetas> jhass: https://gist.github.com/ernetas/adfed9f283944e19cc94 and https://gist.github.com/ernetas/4de9396ac1e4ce4fb6e9, if removing ~/.bundler, it does Fetching instead of Updating, which I still don't want.
c0m0 has quit [Ping timeout: 265 seconds]
Beoran has quit [Ping timeout: 272 seconds]
elfuego has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
thumpba has joined #ruby
alex88 has joined #ruby
<ernetas> ddv: how is this Ruby's problem then, if your machine doesn't receive those UDP packets?
<jhass> ernetas: a gist can have multiple files ;)
banister has joined #ruby
<ddv> ernetas: I didn't say it was rubys problem
thumpba_ has joined #ruby
<jhass> ernetas: could you please edit the first gist to add your .lock?
<ernetas> ddv: sorry, I assumed so because of the channel :) .
flip_digits has joined #ruby
<ernetas> jhass: I removed while testing my .lock file, does that impact anything?
<hesam> I have another question in installing rails. I installed ruby (2.2.0), but I can't install RAILS. here is terminal errors. http://codepad.org/Wr7YHMwU
livathinos has quit [Ping timeout: 246 seconds]
pengin has quit [Remote host closed the connection]
<jhass> ernetas: that's probably why it runs git then
Rollabunna has quit [Remote host closed the connection]
<jhass> ernetas: removing the lock is making bundler's main job impossible btw
thumpba has quit [Ping timeout: 256 seconds]
allcentury has joined #ruby
<mikecmpbll> hesam: looks like you don't have some system dependency. libxml2 by the looks of it.
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
milesmatthias has joined #ruby
Takle has joined #ruby
<hesam> <mikecmpbll> how can I fix it?
livathinos has joined #ruby
<mikecmpbll> hesam: by installing libxml2 :p what OS you on?
<hesam> mikecmpbll : Ubuntu
chinmay_dd has joined #ruby
<mikecmpbll> hesam: then try sudo apt-get install libxslt-dev libxml2-dev
iamjarvo has joined #ruby
Musashi007 has quit [Quit: Musashi007]
mitchellhenke has joined #ruby
iMe has quit [Ping timeout: 264 seconds]
hydrozen has quit [Quit: Textual IRC Client: www.textualapp.com]
delianides has joined #ruby
ndrei has quit [Ping timeout: 246 seconds]
milesmatthias has quit [Ping timeout: 264 seconds]
a346 has quit [Quit: a346]
<jhass> ernetas: wait, did you crosspost has bugo to #bundler?
<jhass> *as
iMe has joined #ruby
Beoran has joined #ruby
<jhass> and #RubyOnRails?
freezey has quit [Remote host closed the connection]
<undeadaedra> and #CrosspostIsBadMkey ?
anarang has quit [Quit: Leaving]
<hesam> mikecmpbll :I install that and try to install rails again but I get that's error exactly.
<a1fa> question on uri module.. if i am pulling url from csv, should i convert it to string prior to passing it to url.host?
yalue has joined #ruby
bruno- has quit [Quit: Lost terminal]
<a1fa> uri = URI(row["from-csv"]) ; hostname = uri.host
<a1fa> i am getting nil on the hostname
<a1fa> i checked "from-csv" and it is returning http://www.google.com/?wdw
<undeadaedra> a1fa: complete code for testing?
<mikecmpbll> hesam: balls. i'm all out of ideas
rbennacer has joined #ruby
<mikecmpbll> check the mkmf.log file that it says in the error :)
<a1fa> undeadaedra: copy & paste not working.. rdp into a dev box
<jhass> >> require "uri"; URI("http://www.google.com/?wdw").host
<jhass> a1fa: ^ your assumption is wrong
<jhass> that URL parses as you expect
<undeadaedra> a1fa: nice.
<a1fa> jhass: not sure why its messing me up - i will double check again
<hesam> I have another question in installing rails. I installed ruby (2.2.0), but I can't install RAILS. here is terminal errors. http://codepad.org/Wr7YHMwU
<a1fa> maybe URI.parse?
<jhass> the host part is optional though, so verify what kind of URLs you parse
<jhass> a1fa: it's the same
juanpablo_ has joined #ruby
<undeadaedra> hesam: install -dev version of libxml2 package
<mikecmpbll> undeadaedra: he said he did already
<a1fa> jhass: "it worked" with parse... more debugging required.. maybe i did something else.. brb going to check
<undeadaedra> oh
<hesam> undeadaedra : I have installed that but error does not changed!
n80 has quit [Quit: n80]
<jhass> hasB4K: undeadaedra mikecmpbll checking for main() in -llzma... no
BuGo has joined #ruby
<jhass> er hesam, sorry hasB4K
ndrei has joined #ruby
<undeadaedra> that’s strange tho, it builds libxml2 itself and don’t find it
<jhass> hesam: I always forget the package for that, I think it's zlib-dev
<mikecmpbll> path issues?
hrs has joined #ruby
wottam has joined #ruby
<undeadaedra> hesam: build tools are installed, too?
fryguy9 has joined #ruby
<jhass> fine, ignore me
<a1fa> url = uri.to_s if uri
<a1fa> i got a syntax error in this
<hesam> undeadaedra : what the hell is build tool? I don'r here it
<a1fa> it worked prior to .parse
<hanmac1> hesam from line 110 - 113 it does look as if something is funky ... hm try to install nokogiri without bundler and look what does happen
<undeadaedra> jhass: seen it, nothing wrong in asking multiple questions to test multiple possibilities
davidhq has quit [Quit: Textual IRC Client: www.textualapp.com]
<hesam> jhass : it is not
<jhass> hesam: well, search for lzma stuff then
casadei has joined #ruby
<jhass> which package provides liblzma.so and its headers
<jhass> or maybe the error changed and you didn't notice
anaeem1 has quit [Remote host closed the connection]
rajeshchawla has joined #ruby
dawkirst has joined #ruby
rippa has joined #ruby
<undeadaedra> hesam: gcc
anaeem1_ has joined #ruby
<jhass> the ubuntu package for the build tools is build-essential
hcnewsom has quit [Quit: hcnewsom]
bruno- has joined #ruby
<jhass> a1fa: no error, no help ;)
davidhq has joined #ruby
snath has quit [Ping timeout: 256 seconds]
deuterium has joined #ruby
hcnewsom has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
joonty has quit [Quit: joonty]
anaeem1_ has quit [Read error: Connection reset by peer]
anaeem1 has joined #ruby
<a1fa> jhass: i had URI("#{row['url']})
hmsimha has quit [Ping timeout: 252 seconds]
<a1fa> then i removed " " and forgot to strip #{
vtunka has joined #ruby
<mikecmpbll> :/
joonty has joined #ruby
hpoydar has joined #ruby
<a1fa> jhass: should i URI("#{row['url]}") or it does not make a difference to URI(row['url'])
anaeem1 has quit [Remote host closed the connection]
<jhass> "#{a}" is equivalent to a.to_s, since CSV only yields you strings already ...
bruno- has quit [Ping timeout: 244 seconds]
anaeem1 has joined #ruby
kblake has joined #ruby
ojacobson_ has quit [Quit: Linkinus - http://linkinus.com]
<jhass> a1fa: make sure to use p(row['url']) as a debugging statement, not print or puts
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
<a1fa> ok
Rephiax__ has joined #ruby
Rephiax__ has quit [Client Quit]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ChoiKyuSang has quit [Quit: Going offline, see ya! (( www.adiirc.com )]
<a1fa> jhass: ok, found the problem
<a1fa> jhass: fqdn, hostname = uri.host if uri
<jhass> huh?
livathinos has quit [Remote host closed the connection]
Rephiax has quit [Ping timeout: 246 seconds]
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<a1fa> i removed fqdn, and it worked
<jhass> well, sure
<undeadaedra> -_-
ChoiKyuSang has joined #ruby
<jhass> why would you think it would return an array of two times the same thing?
ojacobson_ has joined #ruby
anaeem1 has quit [Ping timeout: 252 seconds]
<a1fa> i just assumed since you could a,b,c = nil
<a1fa> wrong again?
<apeiros_> kinda
<ddv> jhass: so the packets are coming in, and my udpclient is listening on the correct ip/port, but I also saw some other device that sends my udp packets but to a broadcast address
<apeiros_> >> a,b,c = 1; b
<eval-in_> apeiros_ => nil (https://eval.in/302587)
<apeiros_> a1fa: ^
last_staff has quit [Quit: last_staff]
<ddv> -my
<apeiros_> = nil works there because those without value will end up with nil too
<apeiros_> i.e. you actually only explicitly assign nil to a
<a1fa> ok so a,b,c, = d,e,f ?
hanmac1 has quit [Quit: Leaving.]
<apeiros_> yes. and any missing on the right side becomes nil
<undeadaedra> >> a, b, c = [ 1, 2, 3 ]; [ a, b, c ]
<eval-in_> undeadaedra => [1, 2, 3] (https://eval.in/302588)
<a1fa> doh
<undeadaedra> >> a, b, c = [ 1, 2 ]; [ a, b, c ]
<eval-in_> undeadaedra => [1, 2, nil] (https://eval.in/302589)
<a1fa> back to the ruby variables manual
blackmes1 has quit [Quit: WeeChat 1.1.1]
<jhass> ddv: my network foo is only "my guesses are quite good when I'm looking at it and I know what to google"-kind of stuff, so would need hands on
<ddv> jhass: yeah ok
<a1fa> so if you need to nil bunch of variables, is it ok to a,b,c = nil?
User458764 has joined #ruby
commmmodo has joined #ruby
crueber has joined #ruby
karmatr0n has joined #ruby
<undeadaedra> It works
<jhass> a1fa: if you need a bunch of nil variables, something is usually unidiomatic in your code
<jhass> you should strive to not need them
<a1fa> jhass: i think the only reason i would need them is because i am checking if row["url"] is present
xymbol has joined #ruby
<jhass> >> a = 1 if false; a
<eval-in_> jhass => nil (https://eval.in/302590)
<a1fa> i should probably not care, and pass nil to URI, and that would take of everything else
<jhass> ^ as you can see it doesn't matter whether the assignment is run
chinmay_dd_ has joined #ruby
bigmac has quit [Ping timeout: 252 seconds]
<jhass> they're created as the parser encounters them
<undeadaedra> er, even with -w ?
<jhass> pretty sure
rajeshchawla has quit []
<a1fa> but what if they exist jhass ? it's a loop through csv records
<jhass> I'm not following
<jhass> >> a = 1 if a; a
<eval-in_> jhass => nil (https://eval.in/302592)
<undeadaedra> jhass: it’s assigned to nil by your statement, according to my irb
<undeadaedra> >> a
<eval-in_> undeadaedra => undefined local variable or method `a' for main:Object (NameError) ... (https://eval.in/302593)
<a1fa> so lets say you are looping through csv,
rajeshchawla has joined #ruby
<jhass> undeadaedra: yes, that's my point?
<a1fa> uri = URI(row["url"]); ip = uri.host ...
Takle has quit [Remote host closed the connection]
<undeadaedra> ah, I thought you said the variable was created when they are encoutred, so even in reading
<a1fa> but if i have
<a1fa> uri = URI(row["url"]) if row["url"];
<a1fa> wouldnt "uri" remain whatever it previously was if url was nil?
<jhass> undeadaedra: oh, yes, I should've been clearer, "as the parser encounters an assignment"
Stalkr_ has joined #ruby
<mikecmpbll> a1fa: yes.
<a1fa> so i should just remove my if statements
<undeadaedra> a1fa: what do you need, just the name component?
<a1fa> and everything would be ok
hesam has quit [Ping timeout: 265 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<a1fa> and not care if CSV returns nil, because it will nil down the line
rajeshchawla has quit [Client Quit]
<jhass> well, maybe you need to reset them to a default on each iteration, it's hard to know since you show so little
krisquigley has quit [Read error: Connection reset by peer]
The_Phoenix has joined #ruby
krisquigley has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
MasterPiece has quit [Read error: Connection reset by peer]
sevenseacat has quit [Remote host closed the connection]
<a1fa> jhass: i whish i could copy and paste
<a1fa> Remmina's clipboard handler is broken in Unityu
<a1fa> Unity*
<certainty> ~ nil down and clear the stone of leaves ~
<certainty> slip knot likes ruby. that's the evidence
Takle has joined #ruby
<jhass> a1fa: ssh is great, curl is too
ponga has joined #ruby
rajeshchawla has joined #ruby
apeiros_ has quit []
The_Phoenix has joined #ruby
livathinos has joined #ruby
tobago has quit [Remote host closed the connection]
bim has joined #ruby
livathinos has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
a346 has joined #ruby
jonr22 has joined #ruby
delianides has quit [Remote host closed the connection]
<certainty> oh nice, for some reason Rstudio thinks it is my default browser
BigRonnieRon has joined #ruby
ponga has quit [Ping timeout: 244 seconds]
towski_ has joined #ruby
<jhass> better than anjuta thinking it's my file manager
<certainty> xD
<undeadaedra> better than wine’s internet explorer thinking it’s my png viewer
<undeadaedra> (true story)
<certainty> lol
Cache_Money has joined #ruby
<workmad3> undeadaedra: at least you have a png viewer... my aunt's computer decided it didn't have one
bim has quit [Ping timeout: 264 seconds]
dblessing has joined #ruby
mistermocha has joined #ruby
MasterPiece has joined #ruby
jonr22 has quit [Ping timeout: 256 seconds]
riotjone_ has quit [Remote host closed the connection]
commmmodo has quit [Quit: commmmodo]
<nickjj> short of monkey patching this gem, is there any way to gain access to each "user" from outside the context of this method? https://github.com/sferik/twitter/blob/master/lib/twitter/rest/friends_and_followers.rb#L131
<elfuego> is there a way to change log level at runtime using the built in Logger?
<nickjj> i tried using tap, but it doesn't output anything
mostlybadfly has quit [Quit: Connection closed for inactivity]
milesmatthias has joined #ruby
tkuchiki has quit [Ping timeout: 255 seconds]
HOrangeJewce has joined #ruby
<nickjj> jhass, the issue i have is when i use the #follow method, i can't iterate over it with .each
<jhass> well, yes
<nickjj> the best i can do is output a billion users once it's completely finished
<jhass> the method is for following a user
<jhass> not iterating over a list of users
<nickjj> what i'd like to do is puts each user as they get followed
<jhass> print the input?
<nickjj> the input?
Cust0sL1men has quit [Ping timeout: 264 seconds]
<jhass> that you pass to the method
Lewix has quit [Remote host closed the connection]
ismaelga has joined #ruby
chinmay_dd_ has quit [Quit: Leaving]
<nickjj> it's an array consisting of 1200 twitter ids
crdpink2 has joined #ruby
havenwood has joined #ruby
<nickjj> client.follow(that_1200_array).each { |user| puts user } , this produces no output
crdpink has quit [Ping timeout: 256 seconds]
Rephiax has joined #ruby
decoponio has joined #ruby
<jhass> well, the method is simply not designed for what you want then
AnxiousGarlic has quit [Read error: Connection reset by peer]
<nickjj> right
<jhass> you got to reimplement it
<jhass> that doesn't mean you need to monkeypatch the gem
<nickjj> i thought maybe i could do some type of crazy hack to tap into the array as it was getting filled
flip_digits has quit [Quit: Lost terminal]
dfinninger has joined #ruby
phutchins has joined #ruby
<jhass> you can't say "replace this line of code in this file by this line"
josephleon has joined #ruby
<nickjj> i would just need to redefine his method
<jhass> you can only say "here's a new method for that name, I don't care that you defined it already"
dorei has joined #ruby
<jhass> which you can do perfectly fine externally
<jhass> and write tests and such
St1gma has joined #ruby
werelivinginthef has quit [Remote host closed the connection]
<nickjj> i think the issue is this end point happens to use a POST
<nickjj> he allows you to .each over a lot of other methods that make a GET request
<jhass> no, that's unrelated
<nickjj> maybe under the hood he's just batch posting a bunch of stuff under the hood?
<jhass> did you even look at what pmap does?
<nickjj> (why did i write under the hood twice)
<nickjj> no not yet
<jhass> then it's time
<certainty> pmap isn't that clojure
bentanweihao has joined #ruby
agarie has joined #ruby
<nickjj> hmm i see no hits for the ruby docs on pmap, only gems
<nickjj> but he doesn't have the pmap gem as a dep of his lib
werelivinginthef has joined #ruby
<havenwood> ahh, they totally missed an opportunity to enumerable.one? :P
rhllor has joined #ruby
<nickjj> ah, i thought it was short for doing a map in parallel
mengu has quit [Remote host closed the connection]
dstarh has joined #ruby
Stalkr_ has quit [Changing host]
Stalkr_ has joined #ruby
livathinos has joined #ruby
craigp has quit [Ping timeout: 256 seconds]
<nickjj> in #follow! he's using it
spyderma_ has quit [Ping timeout: 246 seconds]
sepp2k has joined #ruby
aganov has quit [Remote host closed the connection]
chinmay_dd_ has joined #ruby
xymbol has quit [Quit: Be back later ...]
marr has quit [Ping timeout: 245 seconds]
phutchins has quit [Quit: Lost terminal]
dawkirst has quit [Quit: Leaving...]
freezey has joined #ruby
icebourg has joined #ruby
bluOxigen has joined #ruby
C1ph3r has joined #ruby
zorak8 has joined #ruby
bruno- has joined #ruby
mitywf has joined #ruby
<izzol> hmm, how to check if my hash is empty?
<izzol> ahh there is .empty?
<havenwood> izzol: Ask it if it's #empty?
hrs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> izzol: Pry is really handy for taking a peek at what methods are available, if you aren't already using it.
<havenwood> izzol: You can just `pry` instead of `irb` after a: gem install pry pry-doc
<havenwood> izzol: Then say: ls {}
<havenwood> >> {}.public_methods(false).grep /empty/
<eval-in_> havenwood => [:empty?] (https://eval.in/302601)
HOrangeJewce has quit [Quit: Leaving.]
<izzol> havenwood: just started :)
<IceDragon> >> {}.respond_to? :empty?
<eval-in_> IceDragon => true (https://eval.in/302603)
<izzol> much more useful that irb.
n008f4g_ has quit [Ping timeout: 244 seconds]
<havenwood> Made it to Friday! Whew...
<undeadaedra> Congrats
* IceDragon throws work at havenwood
tagrudev has quit [Remote host closed the connection]
<IceDragon> 3: time to mess up someone's friday
decoponio has quit [Quit: Leaving...]
<havenwood> Oh, the humanity.
chrishough has joined #ruby
<IceDragon> Muhahahahaha
mistermocha has quit [Ping timeout: 272 seconds]
<undeadaedra> I still have 2:15 of Friday to work.
chrishough has quit [Remote host closed the connection]
iMe has quit [Ping timeout: 252 seconds]
chrishough has joined #ruby
<IceDragon> How do you guys normally document your C apis for ruby? (in my case I'm using mruby but still)
kblake has quit [Ping timeout: 246 seconds]
SOLDIERz has quit [Quit: Be back later ...]
C1ph3r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 36.0.1/20150305021524]]
C1ph3r__ has joined #ruby
kblake has joined #ruby
crazydiamond has quit [Ping timeout: 244 seconds]
virtualbsd has joined #ruby
centrx has joined #ruby
<gregf_> well, i thought a = {};print a ? "not empty" : "empty" <== would print empty
<gregf_> >> a = {};print a ? "not empty" : "empty"
<eval-in_> gregf_ => not emptynil (https://eval.in/302615)
<centrx> >> !!{}
<eval-in_> centrx => true (https://eval.in/302616)
uri_ has joined #ruby
iMe has joined #ruby
<gregf_> a = {};print "empty" if not a else "notempty" <-- in python does :/
<centrx> In ruby, every object is truthy except false and nil
<centrx> >> {}.empty?
<eval-in_> centrx => true (https://eval.in/302617)
<havenwood> gregf_: look at what #print returns
<havenwood> >> !!print
<eval-in_> havenwood => false (https://eval.in/302619)
<havenwood> print
<havenwood> >> print
<eval-in_> havenwood => nil (https://eval.in/302620)
chinmay_dd_ has quit [Quit: Leaving]
<havenwood> gregf_: You're checking the truthiness of `nil`, no matter what you print.
<havenwood> gregf_: Since #print returns `nil`.
freezey has quit []
<havenwood> gregf_: Check the truthiness of the Object, not of the `nil` returned after printing the Object.
mengu has joined #ruby
mengu has joined #ruby
<gregf_> havenwood: so, something related to preceedence?
<havenwood> gregf_: nope
Hirzu has quit [Ping timeout: 255 seconds]
C1ph3r__ is now known as C1ph3r
<gregf_> ah - ok
lsmola has quit [Ping timeout: 255 seconds]
snath has joined #ruby
<havenwood> gregf_: try: a ? "not empty" : "empty"
<IceDragon> >> nil.presence
<eval-in_> IceDragon => undefined method `presence' for nil:NilClass (NoMethodError) ... (https://eval.in/302621)
<jhass> fail
<IceDragon> right, need active_support for that
<IceDragon> -,-
<gregf_> >> a={}; a ? "not empty" : "empty"
<eval-in_> gregf_ => "not empty" (https://eval.in/302622)
rodfersou has quit [Remote host closed the connection]
rodfersou has joined #ruby
<jhass> yes, we're not php
<jhass> nil and false are falsey, everything else is truthy
<jhass> all there is to it
decoponio has joined #ruby
Takle has quit [Remote host closed the connection]
paradoja has joined #ruby
ta has joined #ruby
mg^ has joined #ruby
msgodf has quit [Ping timeout: 255 seconds]
<IceDragon> >> is_blank = lambda { |a| a.respond_to?(:empty?) ? a.empty? : !a }; presence = lambda { |a| is_blank.call(a) ? nil : a }; [presence.call(""), presence.call([]), presence.call({}), presence.call("hi"), presence.call([1, 2, 3]), presence.call({a: 2})]
<eval-in_> IceDragon => [nil, nil, nil, "hi", [1, 2, 3], {:a=>2}] (https://eval.in/302625)
* IceDragon wins
alphaatom has quit [Ping timeout: 255 seconds]
ta has quit [Remote host closed the connection]
<IceDragon> I'm gonna start using a functional language, cause functional >->
kobain has joined #ruby
momomomomo has joined #ruby
vtunka has quit [Quit: Leaving]
ramfjord has joined #ruby
diegoviola has joined #ruby
dc has joined #ruby
ixti has joined #ruby
User458764 has joined #ruby
agarie has quit [Remote host closed the connection]
diegoviola has quit [Changing host]
diegoviola has joined #ruby
jgt1 has quit [Ping timeout: 244 seconds]
sinkensabe has quit [Remote host closed the connection]
zenith_ has joined #ruby
lsmola has joined #ruby
_ixti_ has quit [Ping timeout: 256 seconds]
Takle has joined #ruby
DEA7TH has joined #ruby
revoohc has quit [Quit: revoohc]
<izzol> ehh I'm trying to fix something at my code but so far I have no idea how. Can someone have a time to look at it ?
<jhass> izzol: don't ask to ask, just ask
chinmay_dd has quit [Quit: Leaving]
<jhass> don't ask for a person that you hope has the solution, ask the channel for the solution
davidhq has joined #ruby
<izzol> jhass: ok
mostlybadfly has joined #ruby
ghostmoth has joined #ruby
kobain has quit [Max SendQ exceeded]
kobain has joined #ruby
bentanweihao has quit []
revoohc has joined #ruby
kubunto has joined #ruby
cpruitt has joined #ruby
GaryOak_ has joined #ruby
Soda has joined #ruby
jgt1 has joined #ruby
<kubunto> how can i define methods with arguments in external files?
bal has quit [Quit: bal]
<IceDragon> kubunto: you mean like python modules, go imports or something of that nature?
<jhass> kubunto: it should just work, can you show your code that's not working?
hcnewsom has quit [Quit: hcnewsom]
mistermocha has joined #ruby
keen______ has joined #ruby
hcnewsom has joined #ruby
zenith_ has quit [Remote host closed the connection]
<izzol> The code is here: https://gist.github.com/wolfedale/0ceced74b78f245b5d6e and the problem that I have is I want to put everything which is at the @hash (line 127) to the status.yaml file. But so far I'm getting the list but I can save only the last host/node. So I'm missing something somewhere.
<helpa> Hi kubunto. We in #ruby would really appreciate it if you did not use pastebin during your time with us.
<helpa> Pastebin is not good because it loads slowly for most, has ads which are distracting and has terrible formatting. Please use Gist (http://gist.github.com) or Pastie (http://pastie.org) instead. Thanks!
IrishGringo has joined #ruby
bluOxigen has quit [Ping timeout: 256 seconds]
<jhass> kubunto: little tip: a gist can have multiple files and syntax highlighting if you name your files something.rb
keen_____ has quit [Ping timeout: 245 seconds]
<kubunto> ok
<kubunto> ill do that in the future
<jhass> kubunto: defining a method with an argument looks like def parse(line), not def parse(:line)
<kubunto> got the same error that way
livathin_ has joined #ruby
livathinos has quit [Read error: Connection reset by peer]
<kubunto> what does the -w mean?
veduardo_ has joined #ruby
kyrylo has quit [Remote host closed the connection]
<jhass> izzol: well, you create a new Control for each entry, so a new hash too, no?
<jhass> kubunto: it turns on warnings
veduardo_ has quit [Client Quit]
kyrylo has joined #ruby
riotjones has joined #ruby
<jhass> kubunto: can you copy paste full first line of the error?
mengu has quit [Remote host closed the connection]
banister has joined #ruby
<izzol> jhass: you right, but I'm not sure how I should do this in different way :( Put all nodes to some kind of array before I will call Control ?
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kubunto> jhass: file.rb:4:in `require_relative': /home/sam/Programming/LogReader ruby/irssiparse.rb:6: unterminated regexp meets end of file (SyntaxError)
<jhass> kubunto: what's irssiparse?
<kubunto> the external code
<jhass> and 'hello world' ?
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
Lewix has joined #ruby
Lewix has joined #ruby
Lewix has quit [Changing host]
commmmodo has joined #ruby
davedev2_ has joined #ruby
ismaelga has quit [Ping timeout: 264 seconds]
<jhass> izzol: Check is nice to represent a single check, but since you need want to write multiple checks to a single file, doing the writing to the file in something that represents a single check is your design issue
jamgood96 has joined #ruby
<jhass> izzol: you need something that represents a collection of checks and let that do the writing
davedev24_ has quit [Ping timeout: 272 seconds]
lsmola has quit [Quit: Leaving]
riotjones has quit [Ping timeout: 264 seconds]
<jhass> kubunto: are you sure that are the actual files, everything saved and in the right location? no different version opened in your editor or anything?
<kubunto> jhass: i am
<kubunto> it is seeing a phantom of the past isnt it?
anaeem1_ has joined #ruby
ismaelga has joined #ruby
alex88 has quit []
<centrx> Learn from the past or it will haunt you secretly
<jhass> kubunto: because when I clone the gist and run file, the requires work fine and parse, it throws a runtime error because I don't have the file, as expected
silkfox has joined #ruby
Synthbread has joined #ruby
<kubunto> jhass: i had a regex in there before but the error would never clear
<jhass> the error sounds like you missed the trailing / for /hello/
ValicekB has joined #ruby
chrishough has joined #ruby
aclearman037 has quit [Quit: I'm out!]
JDiPierro has quit [Remote host closed the connection]
<IceDragon> kubunto: what version ruby are you running?
IrishGringo has quit [Ping timeout: 256 seconds]
<kubunto> ,--8<-
Zai00 has quit [Remote host closed the connection]
<kubunto> |ruby --version
<kubunto> |ruby 2.1.2p95 (2014-05-08) [x86_64-linux-gnu]
<kubunto> `-->8-
<jhass> kubunto: oh and an aside for the gist tips: you can edit them too ;)
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
<jhass> same for 2.1 here
allcentury has quit [Ping timeout: 264 seconds]
<kubunto> rebooting
<jhass> I mean that I can't repro
<jhass> wat
kubunto has quit [Quit: Lost terminal]
werelivinginthef has quit [Remote host closed the connection]
imanzarrabian has quit [Ping timeout: 256 seconds]
<IceDragon> 2.2.1p85 here
Megtastique has joined #ruby
<jhass> windows users... you can't get it out of them
Megtastique has quit [Max SendQ exceeded]
delianides has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<jhass> I wish they would finally just drop that silly pnnn from the version
IrishGringo has joined #ruby
beef-wellington has quit [Ping timeout: 256 seconds]
commmmodo has quit [Quit: commmmodo]
Megtastique has joined #ruby
<centrx> I thought they did, what is this about 2.2.1p85
Megtastique has quit [Max SendQ exceeded]
kubunto has joined #ruby
<kubunto> i thought that maybe rebooting my machine would make it work
<IceDragon> jhass: if anything I'd prefer they just tack it on the end like: 2.2.1.85
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
dorei has quit []
rbennacer has quit [Remote host closed the connection]
<kubunto> ok i am an idiot
Megtastique has joined #ruby
ismael_ has joined #ruby
<kubunto> they were not in the same directory
<jhass> ;)
Synthbread has quit [Ping timeout: 252 seconds]
<jhass> another aside: ewww, spaces in filenames
<IceDragon> jhass: File.read("So what if I used spaces in my filename.rb") # okay, I agree that is ewww
psyprus_ has quit [Quit: leaving]
DerisiveLogic has quit [Remote host closed the connection]
<kubunto> jhass: ill fix that when i finish my exploration
towski_ has quit [Remote host closed the connection]
<jhass> IceDragon: you break 40% of all shell scripts in existence :P
* IceDragon is now king of breakage!
DerisiveLogic has joined #ruby
JDiPierro has joined #ruby
mistermocha has quit [Remote host closed the connection]
ismaelga has quit [Ping timeout: 255 seconds]
karmatr0n has quit [Remote host closed the connection]
cjim has joined #ruby
rbennacer has joined #ruby
opes has joined #ruby
<kubunto> jhass: tyvm for the help
xymbol has joined #ruby
hcnewsom has quit [Quit: hcnewsom]
mistermocha has joined #ruby
wallerdev has joined #ruby
Zai00 has joined #ruby
kubunto has quit [Quit: I have no special talent I am only passionately curious]
BigRonnieRon has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
werelivinginthef has joined #ruby
IrishGringo has quit [Remote host closed the connection]
haxrbyte has joined #ruby
xymbol has quit [Ping timeout: 250 seconds]
x1337807x has joined #ruby
Takle has quit [Remote host closed the connection]
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sevvie has quit [Ping timeout: 250 seconds]
GnuYawk has joined #ruby
haxrbyte_ has joined #ruby
<izzol> jhass: I'm trying but no clue how to do this :( Do you have any idea what will help?
speakingcode has joined #ruby
sevvie has joined #ruby
shazaum has joined #ruby
BigRonnieRon has joined #ruby
BigRonnieRon has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
davedev2_ has quit [Ping timeout: 255 seconds]
momomomomo has quit [Quit: momomomomo]
porfa has quit [Quit: porfa]
rbennacer has quit [Ping timeout: 252 seconds]
<Senjai> Good morning #ruby
_maes_ has joined #ruby
porfa has joined #ruby
haxrbyte has quit [Ping timeout: 245 seconds]
<Senjai> IceDragon: I think you meant StringIO there xD
x1337807x has quit [Ping timeout: 246 seconds]
hpoydar has quit [Remote host closed the connection]
lordkryss has quit [Quit: Connection closed for inactivity]
davedev24_ has joined #ruby
<IceDragon> orly x3
maletor has joined #ruby
agarie has joined #ruby
haxrbyte_ has quit [Read error: Connection reset by peer]
deric_skibotn has joined #ruby
<jhass> izzol: there's not much more I can say, you need to collect the data you want to write somewhere and write that collection instead of writing single data points
x1337807x has joined #ruby
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
iwaffles has joined #ruby
eighthbit has joined #ruby
Takle has joined #ruby
renanoronfle has joined #ruby
bentanweihao has joined #ruby
lnr has quit [Ping timeout: 245 seconds]
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
delianides has quit [Remote host closed the connection]
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
abyss has quit [Ping timeout: 252 seconds]
beef-wellington has joined #ruby
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
mloveless has joined #ruby
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
lnr has joined #ruby
agarie has quit [Remote host closed the connection]
lnr has quit [Max SendQ exceeded]
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
silkfox has quit [Ping timeout: 252 seconds]
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
a346 has quit [Quit: a346]
karmatr0n has joined #ruby
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
toothe has joined #ruby
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
<toothe> what does the @ symbol mean?
<toothe> so, a variable is @state.
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
<gregf_> toothe: @state is an instance level variable
lnr has joined #ruby
<toothe> ie, global variable?
lnr has quit [Max SendQ exceeded]
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
<eam> toothe: it's a variable scoped to the current object
PCAzad has joined #ruby
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
virtualbsd has quit [Ping timeout: 246 seconds]
<apeiros> toothe: global variables are prefixed with $, e.g. $global
<eam> and @@ is scoped to the class
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
<gregf_> >> class Foo; def initialize; @state = "foo";end;end; Foo.new.instance_variables
<eval-in_> gregf_ => [:@state] (https://eval.in/302631)
<apeiros> @@class_var scoping is actually relatively complex
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
sevvie has quit [Ping timeout: 252 seconds]
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
<IceDragon> apeiros: class variables are just available across the class, and its children and its instances... (not that complex to me, unless I'm missing something here)
xymbol has joined #ruby
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
<apeiros> IceDragon: now tell me how it works when modules come into play
lnr has joined #ruby
<IceDragon> its available across every class/module that includes the module?
<IceDragon> *sweating*
<apeiros> IceDragon: what if a class and a module define the same @@var?
<IceDragon> Only the heavens know what will happen!
<eam> shadowing gets complicated, but it's pretty easy to just recognize that class variables are global
<apeiros> tbh: I'm not sure. I avoid @@cvars because IME most rubyists don't know the full behavior.
<gregf_> toothe: no, globals and classlevel and static variable are synonymous
withnale_ has quit [Ping timeout: 264 seconds]
<gregf_> s/variable/variables/
* apeiros included
<apeiros> I think it's high time I actually went ahead and properly figured how all those things work.
GnuYawk has quit [Ping timeout: 252 seconds]
wallerdev has quit [Quit: wallerdev]
sevvie has joined #ruby
<IceDragon> apeiros: its about the same problem with including the same constants from a module which defines the same constants in question
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> and now we have those funny added things called refinements, which might also have differences in how it works…
<IceDragon> dafuq did I just write
<IceDragon> has anyone used refinements yet?
<apeiros> I do
<IceDragon> I haven't tried em yet :(
<apeiros> they are way less useful than I expected them to be
Pupeno has joined #ruby
Pupeno has joined #ruby
<apeiros> you can't compose refinements
jonr22 has joined #ruby
<apeiros> that's IMO the main drawback
<IceDragon> bleh
<eam> then of course there's the other set of globals no one talks about -- the kind that start with a capital letter
<apeiros> the other main drawback is that you can't request refinements via method
<apeiros> you must write `using <module>`
kirun has joined #ruby
<eam> some people call them constants, but they're not
<IceDragon> eam: $DERP
<apeiros> though, that's a two sided sword. it also cuts back unexpected behavior changes.
martinbmadsen has joined #ruby
lemur has joined #ruby
bentanweihao has quit [Remote host closed the connection]
discr33t has joined #ruby
<eam> >> def foo; a = 1; end; a rescue "a is not defined"
<eval-in_> eam => "a is not defined" (https://eval.in/302634)
<eam> >> def foo; eval "A = 1"; end; A rescue "A is not defined"
<eval-in_> eam => "A is not defined" (https://eval.in/302636)
<eam> >> def foo; eval "A = 1"; end; foo(); A rescue "A is not defined"
<eval-in_> eam => 1 (https://eval.in/302637)
Sirupsen has joined #ruby
<IceDragon> >> @@Derp = 1; @Derp = 2; $Derp = 3; [@@Derp, @Derp, $Derp]
<eval-in_> IceDragon => /tmp/execpad-6523ea524623/source-6523ea524623:2: warning: class variable access from toplevel ... (https://eval.in/302640)
<discr33t> i just installed ruby 2.1.5 using rvm on a centos 6 box that has ruby 1.8.7 by default. how can i use ruby 2.1.5 when writing my .rb files?
jusmyth has joined #ruby
* IceDragon throws a rock at the problem and goes back to coding
iamjarvo has joined #ruby
Eiam has left #ruby ["╯°□°)╯︵ǝpouǝǝɹɟ"]
_hollywood has joined #ruby
jonr22 has quit [Ping timeout: 256 seconds]
<kyrylo> discr33t, see https://rvm.io/rubies/default
martinbmadsen has quit [Ping timeout: 252 seconds]
<discr33t> kyrylo: when i try and run the rvm use command i get this error: RVM is not a function, selecting rubies with 'rvm use ...' will not work.
<discr33t> i am in /usr/local/rvm/bin running ./rvm use 2.1.5
ponga has joined #ruby
JDiPierro has quit [Remote host closed the connection]
abyss has joined #ruby
livathin_ has quit [Remote host closed the connection]
lemur has quit [Remote host closed the connection]
pengin has joined #ruby
discr33t has quit [Quit: Page closed]
PCAzad has quit [Quit: Leaving]
rbennacer has joined #ruby
jimms has joined #ruby
a346 has joined #ruby
agarie has joined #ruby
chinmay_dd has joined #ruby
ponga has quit [Ping timeout: 265 seconds]
opes_ has joined #ruby
aiguu has joined #ruby
<aiguu> yarr made my first gem https://rubygems.org/gems/bft
hcnewsom has joined #ruby
<aiguu> I think I made the world a better place
opes has quit [Ping timeout: 256 seconds]
marr has joined #ruby
<aiguu> disrupting brainfuck
silkfox has joined #ruby
aclearman037 has joined #ruby
<aiguu> any code/comments are welcome, looking for ways to improve the ruby/gem in general
a346 has quit [Quit: a346]
beef-wellington has quit [Ping timeout: 272 seconds]
<workmad3> aiguu: is it reversible? :)
<gr33n7007h> !gem bft
pandaant has quit [Remote host closed the connection]
<cybergem> bft(1.0.1) - A source to source compiler. Co... by Corey Prophitt - downloads (59) - http://www.rubydoc.info/gems/bft
shadoi1 has joined #ruby
martinbmadsen has joined #ruby
<aiguu> go from XYZ to brainfuck? Not yet, that sounds like a lot of work :p
<aiguu> this was a 4 hour toy project
mikecmpbll has quit [Ping timeout: 245 seconds]
<aiguu> but it will translate a lot of non-trivial programs, I tested with a pretty wide range
<workmad3> aiguu: you could start by just being able to reverse your own output back into bf ;)
<aiguu> I was thinking of that, like a feedback loop to check the output haha
pengin has quit [Remote host closed the connection]
<aiguu> bf -> c -> bf == original?
<havenwood> >> bitblt
<eval-in_> havenwood => undefined local variable or method `bitblt' for main:Object (NameError) ... (https://eval.in/302642)
<workmad3> aiguu: which would also give you a limited language -> language translator... you could translate some C programs into BF and then into java or ruby... thereby having a limited C -> ruby transformer ;)
<havenwood> ahh, no SUPPORT_JOKE enabled..
allcentury has joined #ruby
wallerdev has joined #ruby
<aiguu> that would be cool :p
<aiguu> does anyone know a paste tool that can use pipes/stdin?
allenn has joined #ruby
<aiguu> I would like to do soomething like gcc foobar | paste | pbcopy
joonty has quit [Quit: joonty]
ndrei has quit [Ping timeout: 244 seconds]
Jesterman81 has joined #ruby
<jhass> aiguu: just search one with a API and curl it
Jesterman81 has left #ruby [#ruby]
krisquigley has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 252 seconds]
allcentury has quit [Ping timeout: 265 seconds]
krisquigley has joined #ruby
<jhass> aiguu: https://gist.github.com/jhass/3893849 I use for mine
martinbmadsen has quit [Ping timeout: 256 seconds]
flughafen_ has joined #ruby
<aiguu> thanks :D
pengin has joined #ruby
jespada has joined #ruby
wald0 has joined #ruby
digityuo has joined #ruby
clarkk has left #ruby ["PART #rvm :JOIN #css"]
thiagovsk has joined #ruby
justin_pdx has joined #ruby
sigurding has quit [Quit: sigurding]
yakko has joined #ruby
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
joonty has joined #ruby
<jhass> digityuo: how's your ruby?
opes_ has quit [Ping timeout: 245 seconds]
kyrylo has quit [Quit: Konversation terminated!]
krisquigley has quit [Ping timeout: 244 seconds]
jimms has quit [Remote host closed the connection]
uri_ has quit [Ping timeout: 246 seconds]
ndrei has joined #ruby
kyrylo has joined #ruby
<flughafen_> hey certainty
Juanchito has quit [Quit: Connection closed for inactivity]
ych4k3r has quit [Ping timeout: 255 seconds]
zorak8 has quit [Ping timeout: 264 seconds]
<digityuo> jhass: :|
sinkensabe has joined #ruby
joonty has quit [Client Quit]
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
digityuo has quit [Quit: Page closed]
ych4k3r has joined #ruby
opes has joined #ruby
HOrangeJewce has joined #ruby
HOrangeJewce has quit [Client Quit]
steeze has joined #ruby
x1337807x has joined #ruby
<steeze> so after a gem install, i'm trying to use bourbon but it tells me the command is not found. is this a path issue?
<jhass> steeze: maybe, did gem install mention anything about it?
<havenwood> steeze: It sounds like it. How'd you install Ruby?
<steeze> im on arch, through pacman
<steeze> gem install didn't mention anything
justin_pdx has quit [Quit: justin_pdx]
<steeze> gem list shows the package
<jhass> mmh, it should
<jhass> what's your?: echo $PATH
SegFaultAX has quit [Excess Flood]
User458764 has joined #ruby
SegFaultAX has joined #ruby
<steeze> ah it wont let me paste it
x1337807x has quit [Client Quit]
justin_pdx has joined #ruby
<steeze> no mention of ruby though, all perl stuff
einarj has quit [Remote host closed the connection]
<steeze> sbin:bin
<jhass> well, normally it would inform you that the directory it installs binaries to isn't in the path if it isn't
Musashi007 has joined #ruby
<steeze> ruby which returns an error
<jhass> huh?
GnuYawk has joined #ruby
Skelz0r has quit [Ping timeout: 250 seconds]
<jhass> oh, it's gem which
timonv has quit [Ping timeout: 256 seconds]
<steeze> which is a linux command to show full paths of comands
sinkensabe has quit [Ping timeout: 244 seconds]
dc has quit [Remote host closed the connection]
<jhass> yeah but ruby which isn't
<jhass> which ruby would
Channel6 has joined #ruby
DerisiveLogic has quit [Ping timeout: 244 seconds]
<jhass> and gem which bourbon would also report something (not related to the executable)
<steeze> $shell_command which returns the full path of $shell_command
<steeze> right sorry i had it backwards
Advocation has joined #ruby
x1337807x has joined #ruby
red_horned_rihno has joined #ruby
red_horned_rihno has quit [Max SendQ exceeded]
joonty has joined #ruby
<jhass> anyway, add $HOME/.gem/ruby/2.2.0/bin to your path
agrinb has quit [Remote host closed the connection]
allcentury has joined #ruby
agrinb has joined #ruby
jimms has joined #ruby
juanpaucar has quit [Remote host closed the connection]
Advocation has quit [Client Quit]
pengin has quit [Remote host closed the connection]
jcromartie has joined #ruby
jenrzzz has joined #ruby
Advocation has joined #ruby
<aiguu> Is it best practice to include all requires in a gem's lib/name and not in lib/name/xyz whenever they are needed instead of all up front?
<aiguu> I only include the require needed for the exposed API
<jhass> aiguu: I see both equally often
<jhass> pick what you like
josephleo has joined #ruby
<jhass> or think makes more sense for the particular gem
<aiguu> I just think it's weird to require all up front because it kind of hides that detail from the lib code itself and you use things assuming they are required
<aiguu> coming from a C world it makes me a bit nuts
<jhass> then don't do it ;)
<aiguu> as long as it's not considered weird :p
pengin has joined #ruby
<steeze> jhass, thanks that worked
<aiguu> thanks :D
x1337807x has quit [Client Quit]
<jhass> steeze: note you will need to update that with the Ruby 2.3 release (most likely), but I think we still have some time till that
agrinb has quit [Ping timeout: 256 seconds]
<jhass> you will not need to update it for Ruby 2.2.2, 2.2.3 etc.
<steeze> jhass, word thanks for the heads up
eighthbit has quit [Ping timeout: 256 seconds]
<jhass> or maybe I can get anatolik to ship a /etc/profile.d/ that sets it, mmh
x1337807x has joined #ruby
josephleon has quit [Ping timeout: 256 seconds]
starless has joined #ruby
tvon has joined #ruby
<jhass> wish he would be regularly on IRC :/
towski_ has joined #ruby
joonty has quit [Quit: joonty]
hyperdrive has quit [Changing host]
hyperdrive has joined #ruby
hyperdrive is now known as hdrv
towski_ has quit [Remote host closed the connection]
oetjenj has joined #ruby
blackmesa has joined #ruby
aswen has quit [Ping timeout: 245 seconds]
Takle has quit [Remote host closed the connection]
<steeze> jhass, i found this bad boy "export PATH="$(ruby -e 'print Gem.user_dir')/bin:$PATH""
werelivinginthef has quit [Remote host closed the connection]
josephleon has joined #ruby
<steeze> jhass, that way i wont have to manually edit it on updates
<steeze> you also forgot the :$PATH so i messed up all my sbin bin etc paths lol
rkgudboy has joined #ruby
abyss has quit [Ping timeout: 250 seconds]
<jhass> ah well, yes
sigurding has joined #ruby
<jhass> it's too slow for me personally :P
<jhass> I think there's Gem.bin_dir directly though
<steeze> what's too slow?
abyss has joined #ruby
yakko has quit [Read error: Connection reset by peer]
<jhass> running ruby in my shell startup
<jhass> >> Gem.bindir
<eval-in_> jhass => "/execpad/interpreters/ruby-2.2.0/bin" (https://eval.in/302652)
mikecmpbll has joined #ruby
hpoydar has joined #ruby
yakko has joined #ruby
<steeze> im literally just using it for bourbon
<steeze> im on node
josephleo has quit [Ping timeout: 264 seconds]
ghostpl_ has quit [Remote host closed the connection]
<steeze> finally got everything in good working order though. thanks for the help
yakko has quit [Client Quit]
delianides has joined #ruby
fandi has joined #ruby
fandi has quit [Max SendQ exceeded]
rkgudboy has quit [Ping timeout: 246 seconds]
JDiPierro has joined #ruby
mloveless has quit []
riotjones has joined #ruby
ghostpl_ has joined #ruby
jgabrielygalan has joined #ruby
ramfjord has joined #ruby
rajeshchawla has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chipotle_ has quit [Remote host closed the connection]
DerisiveLogic has joined #ruby
apxm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
riotjones has quit [Ping timeout: 264 seconds]
Rephiax__ has joined #ruby
dc has joined #ruby
wallerdev has joined #ruby
chrishou_ has joined #ruby
opes has quit [Quit: Textual IRC Client: www.textualapp.com]
jusmyth has quit [Ping timeout: 265 seconds]
C1ph3r has quit [Ping timeout: 246 seconds]
Rephiax has quit [Ping timeout: 265 seconds]
shadoi1 has quit [Quit: Leaving.]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
allenn has quit [Remote host closed the connection]
deuterium has quit [Quit: zzZZZzzz..]
DerisiveLogic has quit [Ping timeout: 244 seconds]
silkfox has quit [Ping timeout: 264 seconds]
Mia has joined #ruby
Mia has joined #ruby
Affix has quit [Max SendQ exceeded]
dseitz has joined #ruby
ghr has quit [Read error: No route to host]
rbennacer has quit [Remote host closed the connection]
silkfox has joined #ruby
kaspergrubbe has quit [Ping timeout: 245 seconds]
Sirupsen has quit [Quit: Textual IRC Client: www.textualapp.com]
Rephiax__ has quit []
Guest20405 has joined #ruby
kaspergrubbe has joined #ruby
craigp has joined #ruby
dc has quit [Read error: Connection reset by peer]
josephleon has quit [Ping timeout: 264 seconds]
craigp has quit [Client Quit]
shadoi1 has joined #ruby
mgorbach has quit [Quit: ZNC - http://znc.in]
jgabrielygalan has quit [Ping timeout: 244 seconds]
Musashi007 has quit [Quit: Musashi007]
dc has joined #ruby
mgorbach has joined #ruby
dc has quit [Remote host closed the connection]
C1ph3r_ has joined #ruby
craigp has joined #ruby
craigp has quit [Remote host closed the connection]
<aiguu> @jhass, do you mind if I wrapped/used your paste service?
Rephiax has joined #ruby
User458764 has joined #ruby
werelivinginthef has joined #ruby
<jhass> as long as you don't spread and don't expect it to not be suddenly gone, sure, go ahead ;)
<aiguu> thanks :)
<jhass> note it's just a sticky notes install
rorra has quit [Quit: rorra]
last_staff has joined #ruby
sevvie has quit [Ping timeout: 264 seconds]
jimms has quit [Ping timeout: 252 seconds]
izzol has quit [Ping timeout: 256 seconds]
MasterPiece has quit [Remote host closed the connection]
jimms has joined #ruby
sevvie has joined #ruby
epistrephein has joined #ruby
C1ph3r_ has left #ruby [#ruby]
apxm has joined #ruby
epistrephein has quit [Max SendQ exceeded]
Obfuscate has quit [Ping timeout: 256 seconds]
baweaver has joined #ruby
epistrephein has joined #ruby
huddy has quit [Quit: Connection closed for inactivity]
shadoi1 has quit [Quit: Leaving.]
ta has joined #ruby
<claw> can anybody please explain what stringio does ?
Obfuscate has joined #ruby
ndrei has quit [Ping timeout: 246 seconds]
<claw> 3~
<claw> .
claw has left #ruby [#ruby]
<centrx> claw, Treats a string as an IO stream
claw has joined #ruby
<claw> .
<jhass> claw: ?
<claw> can anybody please explain what stringio does ?
<jhass> it came through the first time
<wallerdev> lol
<claw> irssi was stuck sorry
rorra has joined #ruby
<jhass> you quit in the moment centrx answered
<claw> centrx: again plz
<wallerdev> its useful for methods that require a stream like object
<centrx> * claw (~claw@95.89.74.84) has left #ruby
<centrx> <centrx> claw, Treats a string as an IO stream
<centrx> * claw (~claw@95.89.74.84) has joined #ruby
<jhass> anyway, it provides an IO like interface backed by a String
<wallerdev> like a file handle
<wallerdev> but all you have is a string
<claw> okay i found out that it prevents zlib from raising Zlib::BufError
Guest20405 has quit [Ping timeout: 246 seconds]
jimms has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 250 seconds]
ta has quit [Remote host closed the connection]
doodlehaus has quit [Ping timeout: 244 seconds]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
epistrephein has quit []
krisquigley has joined #ruby
n008f4g_ has joined #ruby
Affix_ has joined #ruby
revoohc has quit [Quit: revoohc]
_hollywood has quit [Ping timeout: 244 seconds]
leafybasil has quit [Remote host closed the connection]
ghostpl_ has quit [Remote host closed the connection]
<deric_skibotn> I'm debugging someone else's dsl - is there a way I can do something like method(:super).source_location on a call to 'super' to find out what it's executing?
justin_pdx has quit [Ping timeout: 272 seconds]
krisquigley has quit [Ping timeout: 252 seconds]
<deric_skibotn> 'method(:super)' does not work - no surprise, as it's a keyword
rbennacer has joined #ruby
jespada has quit [Quit: WeeChat 1.1.1]
ghostpl_ has joined #ruby
mikepack has joined #ruby
rbennacer has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
revoohc has joined #ruby
thinkswan has quit [Remote host closed the connection]
JohnBat26 has quit [Ping timeout: 246 seconds]
rbennacer has joined #ruby
havenwood has quit []
shortdudey123 has quit [Max SendQ exceeded]
baweaver has quit [Remote host closed the connection]
shortdudey123 has joined #ruby
towski_ has joined #ruby
baweaver has joined #ruby
djbkd has quit [Remote host closed the connection]
havenwood has joined #ruby
speakingcode has quit [Ping timeout: 256 seconds]
jonr22 has joined #ruby
ndrei has joined #ruby
ghr has joined #ruby
jamgood96 has quit [Remote host closed the connection]
baweaver has quit [Ping timeout: 265 seconds]
x1337807x has quit [Ping timeout: 244 seconds]
_hollywood has joined #ruby
claw has quit [Ping timeout: 245 seconds]
jonr22 has quit [Ping timeout: 256 seconds]
softinio has quit [Ping timeout: 252 seconds]
streaxy has quit [Ping timeout: 252 seconds]
ghr has quit [Ping timeout: 246 seconds]
d10n-work has quit [Ping timeout: 256 seconds]
neersighted has quit [Ping timeout: 250 seconds]
andrewstewart has quit [Ping timeout: 250 seconds]
preyalone has quit [Ping timeout: 250 seconds]
yo61 has quit [Ping timeout: 250 seconds]
im0b has quit [Ping timeout: 252 seconds]
rippa has quit [Ping timeout: 256 seconds]
Guest85414______ has quit [Ping timeout: 256 seconds]
mitchellhenke has joined #ruby
zero7 has quit [Ping timeout: 252 seconds]
Heero has quit [Ping timeout: 250 seconds]
akitada has quit [Ping timeout: 250 seconds]
kapowaz has quit [Ping timeout: 250 seconds]
pmarreck has quit [Ping timeout: 250 seconds]
jmhmccr has quit [Ping timeout: 256 seconds]
bove has quit [Ping timeout: 250 seconds]
rippa has joined #ruby
machty has quit [Ping timeout: 256 seconds]
claw has joined #ruby
benlakey has quit [Ping timeout: 250 seconds]
shelling__ has quit [Ping timeout: 250 seconds]
a5i has quit [Read error: Connection reset by peer]
exadeci has quit [Ping timeout: 272 seconds]
ELLIOTTCABLE has quit [Ping timeout: 272 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
iMe has quit [Quit: Bye Bye]
zorak8 has joined #ruby
hpoydar has quit [Remote host closed the connection]
sigurding has quit [Quit: sigurding]
x1337807x has joined #ruby
m8 has joined #ruby
<kyrylo> deric_skibotn, you can use pry
jgt1 has quit [Ping timeout: 250 seconds]
anaeem1_ has quit [Read error: Connection reset by peer]
<deric_skibotn> I figured it out: get the class, get the superclass, and then do superclass.method(method_name)
delianides has quit [Read error: Connection reset by peer]
anaeem1 has joined #ruby
delianides has joined #ruby
delianides has quit [Remote host closed the connection]
selu has quit [Quit: Textual IRC Client: www.textualapp.com]
n1lo has joined #ruby
banister has joined #ruby
AlexRussia has quit [Ping timeout: 272 seconds]
<banister> deric_skibotn you have to do complicated stuff to get that
<banister> deric_skibotn look into Module#ancestors
<deric_skibotn> well, I found what I needed, but thx guys
terlar has quit [Ping timeout: 252 seconds]
relix has joined #ruby
anaeem1 has quit [Ping timeout: 256 seconds]
AlexRussia has joined #ruby
<jhass> deric_skibotn: 2.2 added super_method
rajeshchawla has joined #ruby
<deric_skibotn> jhass: thx, still on 1.9.3 here (plans to move to 2.1.0 soon)
justin_pdx has joined #ruby
rhllor is now known as rhlloriscool
spider-mario has joined #ruby
frem has joined #ruby
jenrzzz has joined #ruby
lxsameer has joined #ruby
centrx has quit [Remote host closed the connection]
yekta has joined #ruby
centrx has joined #ruby
doodlehaus has joined #ruby
thiesen has joined #ruby
dtordable has quit [Quit: • IRcap • 8.72 •]
rajeshchawla has quit [Ping timeout: 245 seconds]
milesmatthias has quit [Remote host closed the connection]
werelivinginthef has quit [Remote host closed the connection]
thiesen has quit [Client Quit]
6A4ABV6T3 is now known as xenokiller
aclearma_ has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
Affix_ is now known as Affix
chinmay_dd has quit [Read error: Connection reset by peer]
waxjar has quit [Ping timeout: 265 seconds]
EllisTAA has joined #ruby
<EllisTAA> i’m working with the command line and the concept of builtin came up, can anyone explain to me what that means? i can’t understand the explanations i’ve found online
aclearman037 has quit [Ping timeout: 272 seconds]
zorak8 has quit [Ping timeout: 246 seconds]
centrx has quit [Quit: Shutting down, Please wait...]
zorak8 has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ramfjord has quit [Ping timeout: 255 seconds]
mitywf has quit [Remote host closed the connection]
ismael_ has quit [Remote host closed the connection]
rajeshchawla has joined #ruby
ismaelga has joined #ruby
ismaelga has quit [Remote host closed the connection]
<Mon_Ouie> Not really related to Ruby though. Your shell (e.g. bash) can be used to run programs using a syntax like 'program_name arguments', but it sometimes uses the same syntax for things that aren't actual programs, but are hard-coded into the shell (e.g. source is a built-in)
leafybasil has joined #ruby
thiesen has joined #ruby
Musashi007 has joined #ruby
Zai00 has quit [Ping timeout: 256 seconds]
<EllisTAA> mon_ouie: so it sounds like a built in is just a shell command
Pupeno has quit [Read error: Connection reset by peer]
kadoppe has quit [Ping timeout: 272 seconds]
<Mon_Ouie> Well, what do you mean by shell command?
Pupeno has joined #ruby
<EllisTAA> like cd or pwd or cat
kadoppe has joined #ruby
ramfjord has joined #ruby
<Mon_Ouie> pwd and cat are not builtins. You can find files, they're just regular programs that you can find in /usr/bin/pwd and /usr/bin/cat.
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Mon_Ouie> You could very easily write them in Ruby if you wanted to and replace them
<EllisTAA> so a program is different from a built in. ok now i’m back to not knowing what a built in is lol
<Mon_Ouie> cd, on the other hand, can't (as easily) be implemented like that because it needs to change the state of the shell itself
<Mon_Ouie> Basically when you run 'cd foo' the shell detects that you're trying to use a built-in and changes the current directory
<Mon_Ouie> As opposed to trying to find a file called cd in your $PATH and executing it in a sub-process, which is what it would normally do
<EllisTAA> looks like i might have to go back and get a clear idea of what a shell is. a shell is a program that lets you interact with the os right?
ghostpl_ has quit [Remote host closed the connection]
juanpaucar has joined #ruby
AlexRussia has quit [Ping timeout: 252 seconds]
<Mon_Ouie> Sort of. It lets you run other programs, combining them in various ways
apxm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Zai00 has joined #ruby
wallerdev has quit [Quit: wallerdev]
<havenwood> EllisTAA: For some reading on the subject take a look at: man sh
<EllisTAA> so a shell is a program that runs other programs, and commands are names of programs?
<shevy> Mon_Ouie, you are back! meet undeadaedra, he is also from france
<EllisTAA> havenwood: thanks
ghostpl_ has joined #ruby
<Mon_Ouie> shevy: I'm not from France. I briefly spoke to him earlier by the way :p
<shevy> ohhh ok
R3Dk1nG has quit [Remote host closed the connection]
KnownSyntax has quit [Quit: Connection closed for inactivity]
<kyrylo> shevy, why have you left #pry? :(
<Mon_Ouie> EllisTAA: 'commands' are all the things executed by the shell. Some of them are to run a program with certain arguments, but they don't have to be.
hpoydar has joined #ruby
Affix has quit [Quit: Affix - http://affix.me]
Megtastique has quit []
<Mon_Ouie> kyrylo: I've just been less active on IRC/github in general
<EllisTAA> mon_ouie: how can i tell which one is a program and which ones aren’t? like cd doesn’t seem like a program but didn’t u say it is
rdark has quit [Quit: leaving]
<shevy> kyrylo hey I am only on 5 channels left - #ruby #emn #gamebox #bioinformatics and #gobolinux
<GaryOak_> everything is a program
Musashi007 has quit [Quit: Musashi007]
<shevy> #gamebox I may cut eventually, I don't think I'll do a game. #gobolinux are still some cool old folks... #bioinformatics is semi-useless
<shevy> then I'll have only 3 channels left
<shevy> \o/
_blizzy_ has quit [Ping timeout: 255 seconds]
GnuYawk has quit [Ping timeout: 264 seconds]
<havenwood> EllisTAA: Are you using bash?
<EllisTAA> havenwood: yes
<GaryOak_> shevy: everyone is moving to slack
<Mon_Ouie> EllisTAA: built-in look identical from external programs, you just have to know that some commands are actually built-ins
<havenwood> EllisTAA: Try: info bash
<havenwood> EllisTAA: And: help
<EllisTAA> havenwood: ok
<shevy> well #ruby is the channel I am most active still
<havenwood> EllisTAA: Also: help help
andikr has quit [Remote host closed the connection]
Affix has joined #ruby
<EllisTAA> havenwood: ty
Musashi007 has joined #ruby
sinkensabe has joined #ruby
Affix is now known as Guest30692
blackmesa has quit [Ping timeout: 245 seconds]
josephleon has joined #ruby
<havenwood> EllisTAA: The folk in #bash know their stuff too if you run into any issues.
<EllisTAA> havenwood: ty i’ll check them out
Pupeno_ has joined #ruby
agarie has quit [Remote host closed the connection]
Pupeno has quit [Ping timeout: 256 seconds]
DerisiveLogic has joined #ruby
Guest30692 has quit [Client Quit]
<shevy> I always ask zsh questions on #bash
AlexRussia has joined #ruby
aswen has joined #ruby
acl777 has joined #ruby
<havenwood> shevy: I ask zsh questions in #zsh, you rogue!
<shevy> but it's actually true, there are some really clever people in #bash
<GaryOak_> lol
maletor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
tubuliferous has joined #ruby
martinbmadsen has joined #ruby
sinkensabe has quit [Ping timeout: 255 seconds]
<GaryOak_> databases are the worst
thinkswan has joined #ruby
wald0 has quit [Quit: Lost terminal]
thiesen has quit [Quit: Leaving]
chrishou_ has quit [Quit: Textual IRC Client: www.textualapp.com]
iwaffles has quit [Quit: iwaffles]
starless has quit [Quit: Leaving]
superspring has quit [Ping timeout: 252 seconds]
<shevy> hmm
ghr has joined #ruby
<shevy> postgresql is ok
<shevy> I hate to set it up but once it is running, it's ok
<GaryOak_> yeah, I just don't like the tooling to manage them
<GaryOak_> or export or import them
maletor has joined #ruby
djbkd has joined #ruby
thinkswan has quit [Ping timeout: 246 seconds]
<GaryOak_> postgresql is pretty nice, those sweet json operators
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
jgt1 has joined #ruby
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
freerobby has joined #ruby
Megtastique has joined #ruby
lxsameer has quit [Ping timeout: 252 seconds]
MasterPiece has joined #ruby
DerisiveLogic has quit [Remote host closed the connection]
oetjenj has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
agarie has joined #ruby
superspring has joined #ruby
ghr has quit [Ping timeout: 264 seconds]
yekta has quit [Read error: Connection reset by peer]
djbkd has quit [Ping timeout: 250 seconds]
shadoi1 has joined #ruby
ndrei has quit [Ping timeout: 264 seconds]
shazaum has quit [Quit: Leaving]
ndrei has joined #ruby
rubytor has joined #ruby
yekta has joined #ruby
DerisiveLogic has joined #ruby
gfawcettpq has quit [Ping timeout: 256 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
josephleon has quit [Quit: Leaving...]
milesmatthias has joined #ruby
baweaver has quit [Remote host closed the connection]
baweaver has joined #ruby
jcromartie has joined #ruby
apxm has joined #ruby
izzol has joined #ruby
bluOxigen has joined #ruby
Guest85414______ has joined #ruby
kapowaz has joined #ruby
Soda has quit [Remote host closed the connection]
<shevy> yeah, raw SQL is weird
baweaver has quit [Ping timeout: 250 seconds]
lolmaus has quit [Ping timeout: 252 seconds]
banister has joined #ruby
<shevy> I had to build some interface to the NCBI taxonomy database that maps ids to organisms; lateron I found out that you can query to the database, then use some more complicated SQL statement, to get all the information as one just as if you were asking programmatically
Guest94221 has joined #ruby
apxm has quit [Client Quit]
Pupeno has joined #ruby
<shevy> my initial solution just used ruby to query stuff, and let ruby assemble the dataset, which was slower since I had to do different requests (I had to map towards the parent id of any random id number, which had like 10 nodes or so from a dataset of... I dunno... 500.000 ids?)
KnownSyntax has joined #ruby
jmhmccr has joined #ruby
diosmiux has joined #ruby
baweaver has joined #ruby
Lewix has quit [Remote host closed the connection]
Dolphi has joined #ruby
Pupeno__ has joined #ruby
pmarreck has joined #ruby
Pupeno_ has quit [Ping timeout: 272 seconds]
thiesen has joined #ruby
n1lo has quit [Remote host closed the connection]
Pupeno__ is now known as Pupeno_
freerobby has quit [Quit: Leaving.]
havenwood has quit [Remote host closed the connection]
Pupeno has quit [Disconnected by services]
Pupeno_ is now known as Pupeno
Pupeno has quit [Changing host]
Pupeno has joined #ruby
im0b has joined #ruby
JohnBat26 has joined #ruby
freerobby has joined #ruby
thiesen has quit [Quit: leaving]
neersighted has joined #ruby
freerobby has quit [Client Quit]
reinaldob has quit [Remote host closed the connection]
MrRobinhood5 has joined #ruby
yqt has joined #ruby
naftilos76 has joined #ruby
reinaldob has joined #ruby
Megtastique has quit []
MasterPiece has quit [Remote host closed the connection]
zero7 has joined #ruby
ta has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
diegoviola has quit [Quit: WeeChat 1.1.1]
<GaryOak_> shevy: the thing with SQL is that you can always throw more code at it and make your client code less and less
<GaryOak_> although the SQL code ends up being an awful mess
ghostpl_ has quit [Remote host closed the connection]
crueber has quit [Quit: Leaving.]
Affix_ has joined #ruby
yfeldblum has joined #ruby
pengin has quit [Remote host closed the connection]
toothe has left #ruby [#ruby]
Affix_ is now known as Guest31258
reinaldob has quit [Ping timeout: 256 seconds]
Guest31258 is now known as Affix
Affix has quit [Changing host]
Affix has joined #ruby
<shevy> yeah
shelling__ has joined #ruby
<shevy> I am no SQL guru though
wallerdev has joined #ruby
karl___ has joined #ruby
akitada has joined #ruby
pengin has joined #ruby
yekta has quit [Quit: yekta]
<karl___> I have a hash ("ParentHash") with some settings in in it that is returned from a function. I'm defining a second hash ("ChildHash"), and I would like to essentially add all of the key/value pairs in ParentHash to ChildHash. What is the best way to do this?
Pupeno_ has joined #ruby
Megtastique has joined #ruby
andrewstewart has joined #ruby
wottam has joined #ruby
Megtastique has quit [Client Quit]
<jhass> karl___: essentially?
digitalextremist has quit [Quit: Leaving]
MasterPiece has joined #ruby
<karl___> I guess essentially is the wrong word - exactly what I want to do
<karl___> and I appear to have found that .merge is the way to do it
justin_pdx has quit [Quit: justin_pdx]
Pupeno has quit [Ping timeout: 272 seconds]
machty has joined #ruby
<karl___> another instance of prematurely consulting irc
<jhass> ;)
yo61 has joined #ruby
<jhass> happy rubber ducking
zorak8 has quit [Ping timeout: 256 seconds]
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
preyalone has joined #ruby
ndrei has quit [Ping timeout: 244 seconds]
bove has joined #ruby
zorak8 has joined #ruby
lordkryss has joined #ruby
benlakey has joined #ruby
maletor has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> php got a new release out http://us3.php.net/distributions/php-5.6.7.tar.xz
krisquigley has joined #ruby
momomomomo has joined #ruby
<eam> my favorite php function is create_function()
<eam> which returns a string
Musashi007 has quit [Quit: Musashi007]
<jhass> that you then eval?
<eam> jhass: nope, it'd be like lambda returning a symbol
<eam> it's the name of your new "anonymous" function
maletor has joined #ruby
Lewix has joined #ruby
<jhass> "Creates an anonymous function from the parameters passed, and returns a unique name for it"
<jhass> yeah
rhlloriscool has quit [Quit: rhlloriscool]
<jhass> how is a function anonymous if it has a name?
elben has joined #ruby
<jhass> and how do you call it?
<GaryOak_> hahaha
<eam> $ php -r 'echo create_function("", "");' # prints "lambda_1"
<eam> jhass: indeed, that's why it's so amusing to me
<elben> I’m looking for a function `bar` that does: 10.bar { |n| n + 1 } => 11. Anyone know of any?
<eam> to be fair, any anonymous function has a name of some sort, even if it's only an integer memory address
<jhass> ah you can call a function with $foo = "bar"; and then $foo()
<jhass> obviously
<eam> yeah
The_Phoenix has quit [Read error: Connection reset by peer]
kyrylo_ has joined #ruby
duncannz has quit [Ping timeout: 246 seconds]
<jhass> elben: 10+1
exadeci has joined #ruby
krisquigley has quit [Ping timeout: 246 seconds]
fmcgeough has quit [Remote host closed the connection]
kyrylo has quit [Ping timeout: 250 seconds]
rbennacer has quit [Remote host closed the connection]
<jhass> elben: https://bugs.ruby-lang.org/issues/10883 people struggle to come up with a usecase for it, so if you have anything compelling...
d10n-work has joined #ruby
digitalextremist has joined #ruby
<GaryOak_> write functional php code next time you use it
axl_ has joined #ruby
<elben> so the horrific hack i’m trying to do is that Rails’ tempalte renderer (e.g. ActionView::Templates::Renderer::ERB#call) returns a String that is a ruby program that will be eval-ed by Erubis. But I need to modify the returned value of this String-ly program. Imagine the program is: “10”. Well, I need to +1: “10”.with_self { |n| n += “+1” }
<jhass> elben: .tap {|code| code << "+1" }
<elben> ah yes.. i forgot strings are mutable
dfinninger has quit [Remote host closed the connection]
<elben> langugage context switch. thanks!
starless has joined #ruby
<eam> the best part is it stomps on any user defined functions named "lambda_\d+"
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
enterprisedc has quit [Ping timeout: 245 seconds]
djbkd has joined #ruby
DerisiveLogic has quit [Ping timeout: 244 seconds]
Kruppe has quit [Quit: ZNC - http://znc.in]
allcentury has quit [Ping timeout: 256 seconds]
<elben> jhass: ah nvm that wouldn’t work in this case. The starting code looks like this: code = “@x.to_s”. But I need: “foo(@x.to_s)”. So something like: “@x.to_s” + “with_self { |x| foo(x) }”
Kruppe has joined #ruby
blackmesa has joined #ruby
<shevy> <jhass> how is a function anonymous if it has a name?
<jhass> elben: I have a hunch that you describe the solution you imagine
<shevy> THIS IS SPARTA
<shevy> THIS IS PHP!!!
baweaver has quit [Remote host closed the connection]
<jhass> try to describe your problem
<jhass> ideally without abstracting it into the general
baweaver has joined #ruby
milesmatthias has left #ruby [#ruby]
<shevy> haha
<shevy> jhass is confused
lolmaus has joined #ruby
jonr22 has joined #ruby
<shevy> you've never seen .with_self before haven't you
ismaelga has joined #ruby
<jhass> no I just have the feeling they want to eval and hide it by using ERB
revoohc has quit [Quit: revoohc]
flughafe1 has joined #ruby
Heero has joined #ruby
paradoja has quit [Ping timeout: 250 seconds]
Musashi007 has joined #ruby
rbennacer has joined #ruby
Nuck has joined #ruby
agarie has quit []
ismaelga has quit [Remote host closed the connection]
baweaver has quit [Ping timeout: 256 seconds]
mikepack has quit [Remote host closed the connection]
flughafen_ has quit [Ping timeout: 264 seconds]
jonr22 has quit [Ping timeout: 265 seconds]
<elben> `erb_program` is the program returned by Rail’s ERB renderer
fedoratiptip has joined #ruby
<fedoratiptip> Does anyone know a code for the completes knight tour on a chess board? i.e a knight arriving at all squares once starting and ending at its initial square
a5i has joined #ruby
Nuck has quit [Ping timeout: 252 seconds]
<jhass> elben: so you want to use redcarpet as a templating engine?
<jhass> in rails?
diosmiux has quit []
baweaver has joined #ruby
<elben> i want to render ERB then Markdown
<jhass> elben: why?
<elben> e.g. index.markdown.erb
ojacobson_ has quit [Quit: Leaving...]
DerisiveLogic has joined #ruby
softinio has joined #ruby
<jhass> while it's intended for mails, it's worth a shot to see if it renders regular views too
<jhass> at least you have an example on how to properly implement it
x1337807x has joined #ruby
Lewix has quit [Remote host closed the connection]
ghr has joined #ruby
<elben> ah
Lewix has joined #ruby
<elben> that’s a great alternative, wrap it in another program.
Nuck has joined #ruby
<jhass> I'd try to use the gem really
bricker has joined #ruby
streaxy has joined #ruby
ghr has quit [Ping timeout: 250 seconds]
Zai00 has quit [Ping timeout: 250 seconds]
Musashi007 has quit [Quit: Musashi007]
jlast has joined #ruby
agrinb has joined #ruby
Nuck has quit [Quit: Nuck Off]
hpoydar has quit [Remote host closed the connection]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ponga has joined #ruby
banister has joined #ruby
lolmaus has quit [Quit: Konversation terminated!]
karl___ has quit [Quit: Page closed]
Zai00 has joined #ruby
banister has quit [Client Quit]
<claw> lol
Nuck has joined #ruby
Lewix has quit [Remote host closed the connection]
plashchynski has joined #ruby
<a5i> this makes totally no SENSE
mengu has joined #ruby
mengu has joined #ruby
dstarh has joined #ruby
djbkd has quit [Remote host closed the connection]
doodlehaus has quit []
ponga has quit [Ping timeout: 245 seconds]
Musashi007 has joined #ruby
deol has joined #ruby
djbkd has joined #ruby
<shevy> wat
banister has joined #ruby
foureight84 has joined #ruby
palms has quit [Quit: Lost terminal]
<shevy> when crystal has better documentation than ruby
<shevy> this will be a day of sadness
<atmosx> hello
martinbmadsen has quit [Ping timeout: 255 seconds]
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
palms has joined #ruby
<ericwood> hi
ndrei has joined #ruby
JDiPierro has quit [Remote host closed the connection]
root has joined #ruby
<a5i> sighh
root is now known as Guest48824
JDiPierro has joined #ruby
flughafe1 has quit [Ping timeout: 256 seconds]
rorra has quit [Quit: rorra]
cybergem has quit [Ping timeout: 264 seconds]
<shevy> PHP 5.6.7 (cli) (built: Mar 20 2015 21:40:58)
gr33n7007h has quit [Ping timeout: 244 seconds]
<aiguu> any way to set the entire post form data? equiv. of curl -X POST foobar.com -d "all my post data"
<shevy> I feel so powerful now
<aiguu> I want to use the standard library
jimms has joined #ruby
<aiguu> post_form(uri, {}) # <-- doesn't seem to allow this
Majost1 has joined #ruby
<Majost1> Is there a trick to being able to use special characters with URI.password to set a password value?
duggiefresh has quit []
Musashi007 has quit [Ping timeout: 265 seconds]
Pupeno_ has quit [Read error: Connection reset by peer]
shadoi1 has quit [Quit: Leaving.]
Pupeno has joined #ruby
plashchynski has quit [Quit: plashchynski]
SOLDIERz has joined #ruby
JDiPierro has quit [Ping timeout: 250 seconds]
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
ixti has quit [Read error: Connection reset by peer]
<helpa> Hi Majost1. We in #ruby would really appreciate it if you did not use pastebin during your time with us.
<helpa> Pastebin is not good because it loads slowly for most, has ads which are distracting and has terrible formatting. Please use Gist (http://gist.github.com) or Pastie (http://pastie.org) instead. Thanks!
rbennacer has quit [Remote host closed the connection]
relix has joined #ruby
ixti has joined #ruby
ponga has joined #ruby
sevvie has quit [Ping timeout: 244 seconds]
lanemeyer has quit [Ping timeout: 264 seconds]
axl__ has joined #ruby
cjim has quit [Quit: (null)]
CatMartyn has quit [Quit: Textual IRC Client: www.textualapp.com]
<weaksauce> any good pointers on dealing with hex strings in ruby?
axl_ has quit [Ping timeout: 246 seconds]
axl__ is now known as axl_
elaptics is now known as elaptics_away
karmatr0n has quit [Ping timeout: 244 seconds]
<ericwood> weaksauce: yeah but they all got dereferenced
<weaksauce> ha
<weaksauce> good show
pietr0 has joined #ruby
<ericwood> but in all seriousness, gonna need more info than that
aclearma_ has quit [Quit: I'm out!]
brb3 has quit [Quit: <.<]
djbkd has quit [Remote host closed the connection]
<weaksauce> actually maybe the msgpack gem would have something I could drop into my project
<weaksauce> I can't use normal gems because I am using rubymotion
plashchynski has joined #ruby
<weaksauce> basically I want to parse a stream of msgpack requests ericwood
<weaksauce> the existing one for obj-c doesn't work very well
<weaksauce> so I was going to write one but the hex and bit handling doesn't seem all that great
baweaver has quit [Remote host closed the connection]
rorra has joined #ruby
baweaver has joined #ruby
rorra has quit [Client Quit]
rodfersou has quit [Quit: leaving]
lolmaus has joined #ruby
djbkd has joined #ruby
<ericwood> Array#pack and unpack are your friends here
<ericwood> you can do bit handling very effectively in Ruby!
mostlybadfly has quit [Quit: Connection closed for inactivity]
<weaksauce> ah nice
<ericwood> (I've done a good amount of this for talking to Roombas)
<shevy> listen to ericwood he wrote a ruby synthesizer library
<weaksauce> it would seem that the ruby msgpack lib is written in c
<ericwood> shevy: I didn't, I just piggybacked off an existing MIDI library
<ericwood> but the roomba thing I actually wrote
<weaksauce> any opensource stuff that I can look at ericwood
<ericwood> weaksauce: I haven't done any msgpack stuff, googling is your best bet
anaeem1 has joined #ruby
<weaksauce> oh I meant the bit twiddling stuff
harukomoto has joined #ruby
jamgood96 has joined #ruby
harukomoto has left #ruby [#ruby]
flughafe1 has joined #ruby
<ericwood> weaksauce: look at the Array#pack
pengin has quit [Remote host closed the connection]
centrx has joined #ruby
milesmatthias has joined #ruby
<ericwood> unpack works the same way
<ericwood> you can build up a big template string and boom parse everything in one pass
<weaksauce> interesting
<weaksauce> thanks for the tip
<ericwood> and bitwise operators work just like they would in any other language
baweaver has quit [Ping timeout: 246 seconds]
<ericwood> keep in mind you can express things in hex and binary easily
<ericwood> >> 0b101
<eval-in_> ericwood => 5 (https://eval.in/302702)
ndrei has quit [Ping timeout: 256 seconds]
<ericwood> >> 0x05
<eval-in_> ericwood => 5 (https://eval.in/302703)
<weaksauce> ah nice. yeah working with the data should be ok then
<ericwood> yeah ruby is surprisingly capable with this stuff
spiderbyte has quit [Ping timeout: 244 seconds]
sevvie has joined #ruby
ndrei has joined #ruby
<weaksauce> I'm a little worried that it won't be fast but eh. the nagging premature optimizer is striking again. I have to remind myself to first make it work, then make it fast
<weaksauce> whenever I start to think such thoughts
fedoratiptip has quit [Ping timeout: 246 seconds]
djbkd has quit [Remote host closed the connection]
<ericwood> not sure about the speed, but it really depends on the implementation
<ericwood> I'm under the impression that some of these operations are speedy as they're just delegated to some vanilla C code
<ericwood> at least in MRI
<weaksauce> yeah this is rubymotion which is compiled down to actual code
<weaksauce> so it's probably fine
yekta has joined #ruby
<ericwood> ah yeah just looked into it, pack and unpack are just C code, which will just be inlined most likely (ObjC is a superset of C!)
colorados has joined #ruby
Zai00 has quit [Ping timeout: 246 seconds]
<weaksauce> not a very big superset either
<ericwood> nope
Zai00 has joined #ruby
crueber has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
freerobby has joined #ruby
<shevy> guys
it0a has quit [Ping timeout: 252 seconds]
<shevy> have you ever heard of a funnier phrase than that:
<shevy> "There are now about 30 spider goats at a university-run farm."
tier has quit [Remote host closed the connection]
lkba has joined #ruby
ldnunes has quit [Quit: Leaving]
<shevy> just like the spider pig in the simpsons movie http://goo.gl/YVHzSz
jimms has quit [Remote host closed the connection]
mostlybadfly has joined #ruby
ghostmoth has quit [Quit: ghostmoth]
deol has quit [Quit: Textual IRC Client: www.textualapp.com]
JDiPierro has joined #ruby
coderkevin_ has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jonr22 has joined #ruby
<Senjai> hahaha
EllisTAA has quit [Quit: EllisTAA]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
[diecast] has joined #ruby
Rephiax__ has joined #ruby
sinkensabe has joined #ruby
Dolphi has quit [Quit: Leaving]
Rephiax has quit [Ping timeout: 264 seconds]
JDiPierro has quit [Ping timeout: 256 seconds]
jamgood96 has quit [Remote host closed the connection]
rajeshchawla has quit []
hpoydar has joined #ruby
juanpaucar is now known as juan_carlos_
<GaryOak_> shevy: the fuck are spider goats?
davidhq has joined #ruby
elaptics_away is now known as elaptics
riotjones has joined #ruby
sinkensabe has quit [Ping timeout: 246 seconds]
rajeshchawla has joined #ruby
max96at is now known as max96at|off
hardliner_ has joined #ruby
<hardliner_> hi guys
<hardliner_> where is ruby on rails channel?
<palms> #rubyonrails ?
<palms> maybe just #rails
ghr has joined #ruby
pietr0 has quit [Quit: pietr0]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elben has quit [Ping timeout: 255 seconds]
riotjones has quit [Ping timeout: 246 seconds]
A205B064 has joined #ruby
<centrx> #rails is a redirect to #rubyonrails
izzol has quit [Ping timeout: 252 seconds]
<colorados> whi is main developer of rails?
jlast has quit [Remote host closed the connection]
<shevy> GaryOak_ well it's kind of a misnomer really. those goats just also yield spider-proteins in their milk when they lactate
<colorados> Daniel kehoe?
<shevy> so mostly they are just goats with one more gene
<GaryOak_> haha yeah I read that on the wiki
<GaryOak_> like the fish that glow
<shevy> colorados http://rubyonrails.org/
<shevy> yeah GaryOak_
<shevy> colorados there even is a link "Rails was created in 2003 by David Heinemeier Hansson" to DHH
iamjarvo has joined #ruby
<shevy> 12 years
<shevy> man
<shevy> rails is OLD
<centrx> yeah Rails was created in 1995 by Yukihiro Matsumoto
ghr has quit [Ping timeout: 250 seconds]
<GaryOak_> haha
<shevy> lol
<hardliner_> Yeeeah guys, i'm learning Rails right now
<shevy> matz created all things
fenzil has joined #ruby
<GaryOak_> fat controllers, thin models, that's all you need to remember
MasterPiece has quit [Remote host closed the connection]
<centrx> fat air traffic controllers?
<GaryOak_> centrx: no that's in the VVVMVMCMV
<GaryOak_> the view view view model view model controller model view pattern
<centrx> hardliner_, Rails is great. Good luck!
hardliner_ is now known as hardlin3r
xymbol has quit [Quit: Lingo: www.lingoirc.com]
<hardlin3r> centrx, thanx)
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bruno- has quit [Ping timeout: 252 seconds]
<shevy> GaryOak_ why are the controllers fat?
<GaryOak_> they ate too much
<GaryOak_> and they didn't exercise
<hardlin3r> GaryOak_, lol
<centrx> too much REST
<GaryOak_> hehe
<GaryOak_> Not enough SOAP
elfuego has quit [Quit: elfuego]
neanderslob has joined #ruby
<shevy> haha nice one centrx
centrx has quit [Remote host closed the connection]
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dh64 has quit [Quit: Konversation terminated!]
swgillespie has joined #ruby
nisstyre is now known as ihateoctal
JohnBat26 has quit [Ping timeout: 256 seconds]
martinbmadsen has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
dfinninger has joined #ruby
Musashi007 has joined #ruby
_hollywood has quit [Quit: Leaving]
RandyT has quit [Quit: ZNC - http://znc.in]
m8 has quit [Quit: Sto andando via]
baweaver has joined #ruby
RandyT has joined #ruby
renanoronfle has quit [Remote host closed the connection]
jimms has joined #ruby
snath has quit [Ping timeout: 246 seconds]
lxsameer has joined #ruby
ihateoctal is now known as nisstyre
havenwood has joined #ruby
Jiyuhen has joined #ruby
djbkd has joined #ruby
snath has joined #ruby
vroomanj has joined #ruby
sevvie has quit [Ping timeout: 272 seconds]
axl_ has quit [Quit: axl_]
agrinb has quit [Read error: Connection reset by peer]
agrinb has joined #ruby
sevvie has joined #ruby
kyrylo_ is now known as kyrylo
thumpba_ has quit [Ping timeout: 256 seconds]
agrinb has quit [Read error: Connection reset by peer]
krisquigley has joined #ruby
agrinb has joined #ruby
starless has quit [Remote host closed the connection]
ych4k3r has quit [Quit: Textual IRC Client: www.textualapp.com]
zorak8 has quit [Read error: Connection reset by peer]
decoponio has quit [Read error: Connection reset by peer]
decoponio has joined #ruby
zorak8 has joined #ruby
pengin has joined #ruby
krisquigley has quit [Ping timeout: 264 seconds]
vroomanj has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Wolland has joined #ruby
kotk has quit [Quit: Leaving...]
plashchynski has quit [Quit: plashchynski]
karmatr0n has joined #ruby
elben has joined #ruby
elben has quit [Client Quit]
maximski has joined #ruby
steeze has quit [Ping timeout: 256 seconds]
last_staff has quit [Quit: last_staff]
<jhass> DeBot: !hangman ruby
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
<jhass> DeBot: :#s
<DeBot> ␣␣␣␣::␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣ [#s] 2/12
yekta has quit [Quit: yekta]
<jhass> DeBot: eir
<DeBot> ␣␣␣e::␣␣␣i␣␣␣␣␣␣er␣i␣␣␣ [#s] 2/12
<jhass> DeBot: _
<DeBot> ␣␣␣e::␣␣␣i␣_␣␣␣␣er␣i␣␣␣ [#s] 2/12
naftilos76 has quit [Remote host closed the connection]
<jhass> DeBot: n
<DeBot> ␣␣␣e::␣␣␣i␣_␣␣␣␣er␣i␣␣␣ [#sn] 3/12
parduse has quit []
<jhass> DeBot: hoa
<DeBot> ␣a␣e::␣a␣i␣_␣o␣␣er␣ia␣␣ [#snh] 4/12
juan_carlos_ has quit []
sevvie has quit [Ping timeout: 264 seconds]
<jhass> DeBot: tg
<DeBot> ␣ate::␣a␣i␣_␣o␣␣er␣ia␣␣ [#snhg] 5/12
RegulationD has quit [Remote host closed the connection]
Lewix has joined #ruby
beneggett has joined #ruby
Bokeh_ has joined #ruby
<havenwood> Debot: ?
<jhass> DeBot: ?
<DeBot> ␣ate::␣a␣i␣_␣o␣␣er␣ia␣? [#snhg] 5/12
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood> s/b/B
<jhass> exactly
Bokeh_ has quit [Client Quit]
<undeadaedra> DeBot: D
<DeBot> Date::␣a␣id_␣o␣␣er␣ia␣? [#snhg] 5/12
<undeadaedra> <jhass> DeBot: tg
lxsameer has quit [Ping timeout: 250 seconds]
<Guest48824> DeBot: vl
<DeBot> Date::valid_␣o␣␣er␣ial? [#snhg] 5/12
<undeadaedra> it’s funny, because ”tg” is short for ”shut up”, in french
<jhass> heh
<undeadaedra> like if you were arguing with your bot
parduse has joined #ruby
<undeadaedra> (don’t try it in random french channels, though.)
cpruitt has quit [Quit: cpruitt]
superspring has quit [Ping timeout: 250 seconds]
<undeadaedra> DeBot: p
<DeBot> Date::valid_␣o␣␣er␣ial? [#snhgp] 6/12
<jhass> the bot is in a french channel, I could let it drop it there randomly, mmh
JDiPierro has joined #ruby
<jhass> DeBot: m
<DeBot> Date::valid_␣ommer␣ial? [#snhgp] 6/12
Zai00 has quit [Ping timeout: 252 seconds]
bruno- has joined #ruby
<Guest48824> DeBot: c
<DeBot> Date::valid_commercial? [#snhgp] 6/12 You won!
<jhass> uh, wat?
martinbmadsen has quit [Ping timeout: 252 seconds]
<undeadaedra> Congrats, anon
Zai00 has joined #ruby
<jhass> "Returns true if the given week date is valid, and false if not."
<jhass> wat?
<undeadaedra> jhass: when doing with api, it should throw the link to the doc.
JDiPierro has quit [Remote host closed the connection]
<kyrylo> DeBot: !hangman ruby
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
<kyrylo> That's cool
<jhass> undeadaedra: nah, I'd need to special case that
<jhass> too lazy
<kyrylo> DeBot: a
<DeBot> ␣a␣␣␣␣a␣␣␣␣␣␣ [] 0/12
<undeadaedra> :)
<kyrylo> DeBot: b
<DeBot> ␣a␣␣␣␣a␣␣␣␣␣␣ [b] 1/12
<kyrylo> DeBot: d
<DeBot> ␣a␣␣␣␣a␣␣␣␣␣d [b] 1/12
Guest48824 has quit [Quit: WeeChat 1.1.1]
kohvihoor has quit [Read error: Connection reset by peer]
<undeadaedra> DeBot: e
<DeBot> ␣a␣␣␣␣a␣␣␣␣␣d [be] 2/12
<kyrylo> DeBot: e
<DeBot> ␣a␣␣␣␣a␣␣␣␣␣d [be] 2/12
<jhass> kyrylo: $
superspring has joined #ruby
<jhass> er
<jhass> DeBot: $
<DeBot> ␣a␣␣␣␣a␣␣␣␣␣d [be$] 3/12
martinbmadsen has joined #ruby
kohvihoor has joined #ruby
<jhass> worth a shot
<havenwood> ["CARTILAGINOID", "KATHOPANISHAD", "NAPHTHALENOID", "PAUCIRADIATED"]
<undeadaedra> DeBot: #
<DeBot> ␣a␣␣␣␣a␣#␣␣␣d [be$] 3/12
Musashi007 has quit [Quit: Musashi007]
<havenwood> By guesses were all viable, until that pesky #.
<undeadaedra> :D
<kyrylo> DeBot: l
<DeBot> ␣a␣␣␣␣al#␣␣␣d [be$] 3/12
gr33n7007h has joined #ruby
<undeadaedra> DeBot: u
<DeBot> ␣a␣␣␣␣al#␣␣␣d [be$u] 4/12
<undeadaedra> :(
<kyrylo> DeBot: Marshal#load
<DeBot> Ra␣␣o␣al#␣o␣d [be$umsh] 7/12
<jhass> ooh
<jhass> DeBot: ti
<DeBot> Ratio␣al#to␣d [be$umsh] 7/12
<undeadaedra> DeBot: n_
<DeBot> Rational#to_d [be$umsh] 7/12 You won!
Jiyuhen has quit [Read error: Connection reset by peer]
<kyrylo> :S
<kyrylo> That's seriously cool
<jhass> to_d is to bigdecimal
Azure has quit [Quit: Blue Sky Fish]
<kyrylo> Who's the author?
<jhass> din't know :/
<havenwood> kyrylo: jhass
<jhass> DeBot: !hangman gems
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
<kyrylo> jhass, man, you're genius
<kyrylo> jhass, is it open source?
Azure has joined #ruby
<jhass> kyrylo: sure
<jhass> on my GH
<jhass> DeBot: enstl
<DeBot> ␣␣n␣␣␣t␣␣s␣␣␣le␣ [] 0/12
<kyrylo> Have you written it as an excercise to learn Crystal?
<undeadaedra> DeBot: :#
<DeBot> ␣␣n␣␣␣t␣␣s␣␣␣le␣ [:#] 2/12
exadeci has quit [Quit: Connection closed for inactivity]
<undeadaedra> OH
<undeadaedra> Ah shit, gems
<jhass> :P
<havenwood> jhass: ah, didn't know you were the one who wrote that. i liked that sample!
<undeadaedra> Sorry, it’s 23:30
<kyrylo> DeBot, a
<DeBot> ␣␣n␣a␣t␣␣s␣a␣le␣ [:#] 2/12
<kyrylo> DeBot, o
<DeBot> o␣n␣a␣t␣␣s␣a␣le␣ [:#] 2/12
<undeadaedra> DeBot: u
<DeBot> o␣n␣aut␣␣s␣a␣le␣ [:#] 2/12
hiyosi has joined #ruby
<kyrylo> DeBot, d
<DeBot> o␣n␣aut␣␣s␣a␣le␣ [:#d] 3/12
<undeadaedra> DeBot: r
<DeBot> o␣n␣aut␣␣s␣a␣le␣ [:#dr] 4/12
<kyrylo> DeBot, m
<DeBot> omn␣aut␣␣sma␣le␣ [:#dr] 4/12
<undeadaedra> DeBot: ih
<DeBot> omniauth␣smaile␣ [:#dr] 4/12
<jhass> DeBot: _
<DeBot> omniauth␣smaile␣ [:#dr_] 5/12
<jhass> DeBot: -
<DeBot> omniauth-smaile␣ [:#dr_] 5/12
<kyrylo> DeBot, omniauth-smailer
<DeBot> omniauth-smaile␣ [:#dr_] 5/12
<kyrylo> lol
<undeadaedra> lol
<undeadaedra> DeBot: lol
<DeBot> omniauth-smaile␣ [:#dr_] 5/12
<undeadaedra> :p
<kyrylo> DeBot, omniauth-smaileя
<kyrylo> :P
Wolland has quit [Quit: Leaving]
<jhass> DeBot: x
<DeBot> omniauth-smailex [:#dr_] 5/12 You won!
<undeadaedra> jhass: you should put in on ##hangman
<jhass> can't harm I guess
djbkd has quit [Remote host closed the connection]
<jhass> !join ##hangman
jonr22 has quit [Remote host closed the connection]
<jayne> is debot a new thing, and it is going to be a normal resident here?
<kyrylo> jayne, it's going to be everywhere
<kyrylo> jayne, all over freenode
baweaver has quit [Remote host closed the connection]
<kyrylo> Dominating channels
<undeadaedra> DeBot is your new god
sepp2k has quit [Quit: Konversation terminated!]
jonr22 has joined #ruby
<shevy> lol
enebo has quit [Quit: enebo]
<jhass> we'll see if the noise won't be too much
Deele has quit [Ping timeout: 256 seconds]
<shevy> is the bot written in ruby?
<jayne> kyrylo: it's a serious question, because with patterns like that, it's going to be nowhere on freenode if we don't do something to exempt it
jcromartie has joined #ruby
<jayne> jhass: how would you feel about giving it a cloak?
lanemeyer has joined #ruby
jcromartie has quit [Client Quit]
<havenwood> and a dagger?
jwinder has joined #ruby
<jayne> dagger optional ;-)
<jhass> jayne: I don't follow?
<jhass> why would it need cloak?
YogeeBear has joined #ruby
anaeem1 has quit [Remote host closed the connection]
<jayne> jhass: a cloak would make it more identifiable to us, so we can exempt it from things that would otherwise think it's spamming crap.
<kyrylo> I know how to solve your problem, guys. Play a game of hangman 1v1
anaeem1_ has joined #ruby
<jhass> jayne: it's a fixed IP
<jhass> and the user and nick won't change
YogeeBear has left #ruby [#ruby]
<jayne> okay. that probably works okay then too.
baweaver has joined #ruby
<jayne> thanks.
sgambino has quit [Remote host closed the connection]
jonr22 has quit [Ping timeout: 255 seconds]
karmatr0n has quit [Remote host closed the connection]
hcnewsom has quit [Quit: hcnewsom]
karmatr0n has joined #ruby
ghr has joined #ruby
<aiguu> @jhass, couldn't help myself https://rubygems.org/gems/pasteit
Lewix has quit [Remote host closed the connection]
<aiguu> I didn't use your service, swapped it out for hastebin
<aiguu> since I made it public I removed yours
anaeem1_ has quit [Ping timeout: 256 seconds]
beneggett has quit [Quit: Textual IRC Client: www.textualapp.com]
cybergem has joined #ruby
<aiguu> hastebin is also nice because it can detect the language pretty well
<aiguu> cat foobar.rb | pasteit
<aiguu> no need to worry about language type etc
icebourg_ has joined #ruby
<jhass> cool!
<aiguu> or pasteit -s foobar.rb
jwinder has quit [Remote host closed the connection]
karmatr0_ has joined #ruby
<aiguu> next stop vim plugin :p
<undeadaedra> you mean
<jhass> also saw http://termbin.com/ recently
Jiyuhen has joined #ruby
<jhass> which only needs netcat
<undeadaedra> gVGG:!pasteit
<undeadaedra> or something like that
<aiguu> that's pretty neat too
<undeadaedra> mmmh
<aiguu> that would be nice, but I would like to automatically copy URL to system clipboard
karmatr0n has quit [Remote host closed the connection]
jwinder has joined #ruby
<aiguu> like visual select + auto copy
<aiguu> or entire file
icebourg has quit [Ping timeout: 255 seconds]
<aiguu> easy to do for linux and osx (xclip or pbcopy)
jwinder has quit [Remote host closed the connection]
Jiyuhen has quit [Remote host closed the connection]
matled has quit [Remote host closed the connection]
matled has joined #ruby
momomomomo has quit [Quit: momomomomo]
ghr has quit [Ping timeout: 256 seconds]
lxsameer has joined #ruby
lxsameer has joined #ruby
Azure has quit [Quit: My MBP went to sleep.]
noname001 has quit [Ping timeout: 256 seconds]
silkfox has quit [Ping timeout: 245 seconds]
davidhq has joined #ruby
Azure has joined #ruby
jwinder has joined #ruby
crueber has quit [Quit: Leaving.]
Jiyuhen has joined #ruby
Jiyuhen has quit [Remote host closed the connection]
elfuego has joined #ruby
djbkd has joined #ruby
uptownhr has joined #ruby
hpoydar has quit [Remote host closed the connection]
Wolland has joined #ruby
lys has joined #ruby
Jiyuhen has joined #ruby
wallerdev has quit [Quit: wallerdev]
sinkensabe has joined #ruby
<shevy> long live linux
jmcc has joined #ruby
dh64 has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
noname001 has joined #ruby
davidhq has joined #ruby
<jmcc> I'm trying to give a user provided string '1,3,5' to array.values_at(var) and I can't seem to figure out how convert the string into a list of comma separated integers
sevvie has joined #ruby
<undeadaedra> what do you mean
<undeadaedra> you have ’1,3,5’ and want to call array.values_at(1, 3, 5) ?
hcnewsom has joined #ruby
crdpink has joined #ruby
<jmcc> correct
crdpink has quit [Client Quit]
<undeadaedra> use * operator: array.values_at(*var)
<undeadaedra> var being your integer array
crdpink has joined #ruby
crdpink2 has quit [Ping timeout: 265 seconds]
Jiyuhen has quit [Read error: Connection reset by peer]
hcnewsom has quit [Client Quit]
arescorpio has joined #ruby
keen_______ has joined #ruby
martinbmadsen has quit [Ping timeout: 256 seconds]
Wolland has quit []
Jiyuhen has joined #ruby
<jhass> jmcc: String#split and splat as undeadaedra said
<undeadaedra> >> ’1,3,5’.split(’,’).map(&:to_i)
Wolland has joined #ruby
Wolland has quit [Client Quit]
<undeadaedra> grrr
keen______ has quit [Ping timeout: 250 seconds]
<undeadaedra> >> %(1,3,5).split(%(,)).map(&:to_i)
<eval-in_> undeadaedra => [1, 3, 5] (https://eval.in/302733)
fryguy9 has quit [Quit: Leaving.]
<jmcc> ah, perfect. thank you both
palms has quit [Ping timeout: 264 seconds]
dfinninger has quit [Remote host closed the connection]
jottr has joined #ruby
Jiyuhen has quit [Remote host closed the connection]
Sirupsen has joined #ruby
badhatter has quit [Read error: Connection reset by peer]
Sgeo has quit [Read error: Connection reset by peer]
Sgeo has joined #ruby
sinkensabe has quit [Remote host closed the connection]
badhatter has joined #ruby
ghostpl_ has joined #ruby
crdpink2 has joined #ruby
crdpink has quit [Ping timeout: 256 seconds]
casadei has quit [Remote host closed the connection]
jwinder has quit [Ping timeout: 252 seconds]
Musashi007 has joined #ruby
Jiyuhen has joined #ruby
lxsameer has quit [Quit: Leaving]
ARiKA has joined #ruby
djbkd has quit [Remote host closed the connection]
ghostpl_ has quit [Ping timeout: 256 seconds]
ARiKA is now known as dtordable
dtordable has quit [Changing host]
dtordable has joined #ruby
icebourg_ has quit [Ping timeout: 252 seconds]
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JDiPierro has joined #ruby
cjim has joined #ruby
ghostpl_ has joined #ruby
juanpablo_ has quit [Quit: (null)]
juanpablo_ has joined #ruby
icebourg has joined #ruby
morenoh149 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
martinbmadsen has joined #ruby
karmatr0_ has quit [Remote host closed the connection]
JDiPierro has quit [Ping timeout: 255 seconds]
RegulationD has joined #ruby
morenoh151 has quit [Ping timeout: 256 seconds]
juanpablo_ has quit [Ping timeout: 252 seconds]
karmatr0n has joined #ruby
zzing has joined #ruby
martinbmadsen has quit [Ping timeout: 245 seconds]
martinbmadsen has joined #ruby
RegulationD has quit [Ping timeout: 246 seconds]
freerobby has quit [Read error: Connection reset by peer]
baweaver has quit [Remote host closed the connection]
freerobby has joined #ruby
j75 has joined #ruby
codecop has quit [Remote host closed the connection]
lnr has quit [Ping timeout: 265 seconds]
dfinninger has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
davidhq has joined #ruby
apeiros_ has joined #ruby
Hawkeye_ has joined #ruby
danielpclark has joined #ruby
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby
jimms has quit [Remote host closed the connection]
jimms has joined #ruby
jamgood96 has joined #ruby
danielpclark has quit [Client Quit]
martinbmadsen has quit [Ping timeout: 252 seconds]
spider-mario has quit [Read error: Connection reset by peer]
apeiros_ has quit [Client Quit]
Rarikon has quit [Ping timeout: 244 seconds]
avril14th has quit [Ping timeout: 246 seconds]
danielpclark has joined #ruby
karmatr0n has quit [Remote host closed the connection]
kirun has quit [Quit: Client exiting]
jimms has quit [Ping timeout: 264 seconds]
thiagovsk has quit [Quit: Connection closed for inactivity]
ninedragon has quit [Quit: Quit, BBL :D]
icebourg has quit []
GaryOak_ has quit [Remote host closed the connection]
ajsdklfjalksdf has joined #ruby
Musashi007 has quit [Quit: Musashi007]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ghr has joined #ruby
Musashi007 has joined #ruby
AnxiousGarlic has joined #ruby
flip_digits has joined #ruby
jamgood96 has quit [Remote host closed the connection]
dfinninger has quit [Remote host closed the connection]
deric_skibotn has quit [Ping timeout: 256 seconds]
ramfjord has quit [Ping timeout: 252 seconds]
djbkd has joined #ruby
ghr has quit [Ping timeout: 252 seconds]
ramfjord has joined #ruby
wallerdev has joined #ruby
Rephiax__ has quit []
baweaver has joined #ruby
flip_digits has quit [Quit: leaving]
mengu has quit [Remote host closed the connection]
Joufflu has joined #ruby
lys has quit [Ping timeout: 264 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djbkd has quit [Ping timeout: 246 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
martinbmadsen has joined #ruby
x1337807x has joined #ruby
purple1 has joined #ruby
blizzy has joined #ruby
freerobby has quit [Quit: Leaving.]
hpoydar has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
lordkryss has quit [Quit: Connection closed for inactivity]
hpoydar has quit [Remote host closed the connection]
Hawkeye_ has quit [Read error: Connection reset by peer]
Sirupsen has quit [Quit: Textual IRC Client: www.textualapp.com]
uptownhr has quit [Quit: uptownhr]
krisquigley has joined #ruby
martinbmadsen has quit [Ping timeout: 250 seconds]
morenoh149 has joined #ruby
blizzy is now known as _blizzy_
Zai00 has quit [Ping timeout: 246 seconds]
morenoh151 has joined #ruby
mistermocha has quit [Ping timeout: 272 seconds]
foureight84 has quit [Ping timeout: 252 seconds]
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aiguu has quit [Ping timeout: 252 seconds]
krisquigley has quit [Ping timeout: 264 seconds]
Zai00 has joined #ruby
kblake has quit [Remote host closed the connection]
pandaant has joined #ruby
pengin has quit [Remote host closed the connection]
freerobby has joined #ruby
ramfjord has quit [Ping timeout: 252 seconds]
pengin has joined #ruby
felixjet has quit [Read error: Connection reset by peer]
rbennacer has joined #ruby