havenwood changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.2.3; 2.1.7; 2.0.0-p647: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
<pragmatism_> Any idea? I'm banging my head against a well here
<drbrain> pragmatism_: it seems the issue is with the configure script
juddey has quit [Ping timeout: 245 seconds]
<pragmatism_> I'm using latest rbenv and ruby-builder
<drbrain> … or maybe missing/explicit_bzero.c is broken
<pragmatism_> other devs haven't had an issue
<drbrain> it's probably a ruby issue, not a rbenv/ruby-builder issue
<pragmatism_> >.<
threh has quit [Remote host closed the connection]
<drbrain> ruby 2.3 isn't released yet, so that could be why
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Ruby_Rocks_007 has left #ruby [#ruby]
bubbys has quit [Ping timeout: 260 seconds]
maloik has quit [Ping timeout: 245 seconds]
<drbrain> ↑ makes me think configure script is wrong
pragmatism_ has quit [Quit: Connection.close!]
millerti has joined #ruby
bubbys has joined #ruby
<drbrain> Try pulling 8ea55641830d29d6e1f54803406a5a111c12770b, or drop back to a release version of ruby
spider-mario has quit [Ping timeout: 250 seconds]
pragmatism has joined #ruby
threh has joined #ruby
soulisson has joined #ruby
an0ma1y has quit [Ping timeout: 260 seconds]
s00pcan has quit [Ping timeout: 260 seconds]
devbug has quit [Read error: Connection reset by peer]
lemur has joined #ruby
sondr3 has joined #ruby
jhn has quit [Quit: Textual IRC Client: www.textualapp.com]
<soulisson> Hi, I'm new to ruby, I would like to know how a block is implicitly passed to a method? Is a reference to the block implicitly passed to the method when the method is called?
weemsledeux has joined #ruby
RainBowww has joined #ruby
<RainBowww> how to learn ruby
howdoicomputer has joined #ruby
devbug has joined #ruby
akem has quit [Read error: Connection timed out]
s00pcan has joined #ruby
akem has joined #ruby
<baweaver> RainBowww: what have you tried?
<baweaver> including typing that into a search engine
skweek has joined #ruby
<drbrain> soulisson: what do you mean by "implicitly"?
<RainBowww> haha
<RainBowww> i think what i need is how to program in object oriented way
<RainBowww> i dont understand it
<drbrain> soulisson: when a block is passed to a method, a reference to it is included as one of the parameters
edwinvdgraaf has quit [Remote host closed the connection]
<soulisson> drbrain, when there is only yield in the method and no &block in the method declaration
_stu_ has quit [Quit: _stu_]
<RainBowww> i know basics but how to use it
<baweaver> Practical Object Oriented Design in Ruby - Sandi Metz
<RainBowww> baweaver ok
<RainBowww> :P
<soulisson> drbrain, that's what I thought
<baweaver> the more you give us to work with in a question, the better the answer.
<drbrain> soulisson: so for the implicit one where the method yields, there's a hidden block that is forwarded along
yoongkang has joined #ruby
<drbrain> soulisson: you can use block_given? to detect if one is there
lemur has quit [Ping timeout: 260 seconds]
RainBowww has left #ruby [#ruby]
peterhil_ has joined #ruby
<soulisson> drbrain, ok, but when the method is called, a reference to the block is passed to the method, right?
<drbrain> yes
n_blownapart has joined #ruby
<soulisson> drbrain, thanks
<drbrain> you can send blocks to methods that don't yield or have &block in the parameters too
akem has quit [Client Quit]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Ox0dea has quit [Ping timeout: 260 seconds]
<soulisson> drbrain, thanks, I just wanted to know the black magic behind the yield statement :)
blackmesa has joined #ruby
an0ma1y has joined #ruby
yoongkang has quit [Ping timeout: 260 seconds]
symm- has joined #ruby
krobzaur has quit [Ping timeout: 250 seconds]
skweek has quit [Ping timeout: 250 seconds]
jmsoper has joined #ruby
michaeldeol has joined #ruby
michaeldeol has quit [Client Quit]
an0ma1y has quit [Ping timeout: 250 seconds]
hahuang65 has joined #ruby
michaeldeol has joined #ruby
shadoi has joined #ruby
jdawgaz has joined #ruby
deol has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nyminal has joined #ruby
soulisson has quit [Ping timeout: 260 seconds]
RegulationD has joined #ruby
<drbrain> pragmatism: try trunk now, the latest commit should have the fix
mjuszczak has quit []
michaeldeol has quit [Client Quit]
nyminal has left #ruby [#ruby]
graydot_ has joined #ruby
graydot_ has quit [Client Quit]
deol has quit [Client Quit]
weemsledeux has joined #ruby
skweek has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RegulationD has quit [Ping timeout: 250 seconds]
Synthead has quit [Read error: Connection reset by peer]
thispixel has joined #ruby
graydot has quit [Ping timeout: 260 seconds]
thispixel has left #ruby [#ruby]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mjuszczak has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
dlitvak has joined #ruby
Synthead has joined #ruby
Coldblackice has joined #ruby
Coldblackice has quit [Read error: Connection reset by peer]
dlitvak_ has quit [Ping timeout: 260 seconds]
demonlove has joined #ruby
Gnut has quit [Ping timeout: 245 seconds]
shadoi has quit [Quit: Leaving.]
moeabdol has quit [Quit: WeeChat 1.3]
an0ma1y has joined #ruby
sperant has joined #ruby
diegoaguilar has quit [Remote host closed the connection]
Coldblackice has joined #ruby
myztic has joined #ruby
griffindy has joined #ruby
maloik has joined #ruby
simplyianm has quit [Remote host closed the connection]
BBird has quit [Quit: Leaving]
Kero has quit [Ping timeout: 244 seconds]
millerti has joined #ruby
senayar_ has quit [Remote host closed the connection]
n_blownapart has quit []
maloik has quit [Ping timeout: 245 seconds]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
peterhil_ has quit [Ping timeout: 260 seconds]
paradisaeidae has joined #ruby
jdawgaz has joined #ruby
casadei has joined #ruby
NeverTired has quit [Quit: Connection closed for inactivity]
juddey has joined #ruby
jdawgaz has quit [Client Quit]
desmondhume has joined #ruby
casadei has quit [Ping timeout: 245 seconds]
mjuszczak has quit []
skweek has quit [Ping timeout: 250 seconds]
maloik has joined #ruby
desmondhume has quit [Ping timeout: 260 seconds]
blackmesa has quit [Quit: WeeChat 1.3]
uri has joined #ruby
uri has quit [Client Quit]
_stu_ has joined #ruby
moeabdol has joined #ruby
maloik has quit [Ping timeout: 260 seconds]
<nkwsy__14> thank you jhass, i switched to chruby and I like it a lot.
<jhass> great, yw
TheBloke- has joined #ruby
n_blownapart has joined #ruby
<Radar> EvilDMP: Jpwe
<Radar> Whoops.
<Radar> How did it go*
shadoi has joined #ruby
uri has joined #ruby
TheBloke has quit [Ping timeout: 260 seconds]
RickHull has joined #ruby
n_blownapart has quit [Client Quit]
babblebre has quit [Quit: Connection closed for inactivity]
ta_ has joined #ruby
Trynemjoel has quit [Ping timeout: 264 seconds]
diegoviola has quit [Quit: WeeChat 1.3]
cwong_on_irc has quit [Quit: Leaving.]
rubie has quit [Remote host closed the connection]
Rickmasta has joined #ruby
diegoviola has joined #ruby
vdamewood has quit [Ping timeout: 250 seconds]
Kero has joined #ruby
Trynemjoel has joined #ruby
Ropeney has joined #ruby
baweaver has quit [Remote host closed the connection]
peterhil_ has joined #ruby
hahuang61 has joined #ruby
vdamewood has joined #ruby
yoongkang has joined #ruby
asteros has quit [Quit: asteros]
Encapsulation has quit [Ping timeout: 260 seconds]
hahuang65 has quit [Ping timeout: 250 seconds]
dravine has quit [Quit: dravine]
baweaver has joined #ruby
Bellthoven has joined #ruby
hahuang65 has joined #ruby
shazaum_ has joined #ruby
yoongkang has quit [Ping timeout: 260 seconds]
hahuang61 has quit [Ping timeout: 250 seconds]
benlieb has quit [Quit: benlieb]
nettoweb has joined #ruby
blubjr has quit [Remote host closed the connection]
hahuang65 has quit [Ping timeout: 260 seconds]
Encapsulation has joined #ruby
solocshaw has joined #ruby
astrobun_ has quit [Ping timeout: 260 seconds]
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
devbug has quit [Read error: Connection reset by peer]
nettoweb has quit [Client Quit]
BTRE has quit [Quit: Leaving]
astrobunny has joined #ruby
hahuang65 has joined #ruby
devbug has joined #ruby
mjuszczak has joined #ruby
BTRE has joined #ruby
blub has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jscheel has quit [Quit: jscheel]
demonlove has quit [Quit: Leaving]
asteros has joined #ruby
Azure has quit [Ping timeout: 250 seconds]
marr has quit [Ping timeout: 250 seconds]
B1n4r10 has quit [Ping timeout: 260 seconds]
phantom has joined #ruby
rubie has joined #ruby
Tempesta has quit [Quit: AdiIRC is updating to v2.2 Beta Build (2015/11/28-1) 32 Bit]
Tempesta has joined #ruby
weemsledeux has joined #ruby
s00pcan has quit [Ping timeout: 245 seconds]
tvon has quit [Quit: leaving]
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
s00pcan has joined #ruby
platzhirsch has left #ruby [#ruby]
maloik has joined #ruby
dlitvak has quit [Ping timeout: 250 seconds]
dlitvak has joined #ruby
hxegon has quit [Ping timeout: 260 seconds]
maloik has quit [Ping timeout: 250 seconds]
sperant has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
B1n4r10 has joined #ruby
hahuang65 has quit [Ping timeout: 264 seconds]
dlitvak has quit [Ping timeout: 250 seconds]
toretore has quit [Ping timeout: 260 seconds]
millerti has quit [Read error: Connection reset by peer]
InvGhosttt has joined #ruby
InvGhosttt has quit [Read error: Connection reset by peer]
shadoi has quit [Quit: Leaving.]
asteros has quit [Quit: asteros]
waka has joined #ruby
waka has quit [Changing host]
waka has joined #ruby
azgil has quit [Ping timeout: 245 seconds]
an0ma1y has quit [Ping timeout: 260 seconds]
rubie has quit [Remote host closed the connection]
dravine has joined #ruby
rubie has joined #ruby
Averna has joined #ruby
hxegon has joined #ruby
devbug has quit [Ping timeout: 250 seconds]
rubie has quit [Ping timeout: 265 seconds]
phantom has quit [Quit: Leaving]
TheBloke- has quit [Quit: Textual IRC Client: www.textualapp.com]
jakemask has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Wsewolod has joined #ruby
<jakemask> anyone know the logic behind `STDOUT.write(x.blue) while (x = STDIN.readline) != ''` not working even though the multi-line version works?
uri has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jdawgaz has joined #ruby
<mozzarella> x being undefined?
baweaver has quit [Ping timeout: 260 seconds]
<jakemask> right, but if you do a multi-line while it works fine
<jakemask> the execution order is the same, but the variable scope is different?
<eam> what's a multi-line while?
<jakemask> as in while blah; dostuff; end
minimalism has joined #ruby
<eam> add x = nil on the line above
RobertBirnie has joined #ruby
rubyc0da has joined #ruby
<jakemask> yeah, i guess. Seems weird that they're not equivalent
<eam> ruby's scoping is odd
<rubyc0da> yo everybody
howdoicomputer has quit [Ping timeout: 245 seconds]
<rubyc0da> i got a coding challenge for yall
<rubyc0da> first one to submit a github link wins
Azure has joined #ruby
agent_white has joined #ruby
<jakemask> github.com
<jakemask> do i win?
dlitvak has joined #ruby
<rubyc0da> lel
<rubyc0da> you solve this shit
<rubyc0da> then you win
ESpiney has joined #ruby
ESpiney has quit [Max SendQ exceeded]
ESpiney has joined #ruby
haraoka has joined #ruby
RobertBirnie has quit [Ping timeout: 245 seconds]
jetpackjoe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
TheBloke has joined #ruby
rubyc0da has quit [Ping timeout: 252 seconds]
maloik has joined #ruby
Encapsulation has quit [Quit: Leaving]
baweaver has quit [Ping timeout: 260 seconds]
weemsledeux has joined #ruby
yoongkang has joined #ruby
leat has quit [Ping timeout: 260 seconds]
<zenspider> do your own homework
maloik has quit [Ping timeout: 260 seconds]
sondr3 has quit [Quit: Sleep]
yoongkang has quit [Ping timeout: 245 seconds]
mjuszczak has quit []
Averna has quit [Quit: Ex-Chat]
chouhoulis has joined #ruby
Giordano has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<agent_white> Evenin' folks
sondr3 has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
<blub> hi agent white
shanemcd has joined #ruby
chouhoulis has quit [Remote host closed the connection]
ExterminatesweJ has joined #ruby
chouhoulis has joined #ruby
PlasmaStar has quit [Remote host closed the connection]
Bellthoven has quit []
Bellthoven has joined #ruby
leat has joined #ruby
_stu_ has quit [Quit: _stu_]
user1138 has quit [Remote host closed the connection]
user1138 has joined #ruby
user1138 has quit [Remote host closed the connection]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hectortrope has joined #ruby
shanemcd has quit [Ping timeout: 260 seconds]
TheBloke has quit [Quit: Textual IRC Client: www.textualapp.com]
maloik has joined #ruby
Bellthoven has quit [Client Quit]
<agent_white> \o
<ExterminatesweJ> agent_white: 0/ 88 brother!
tomchapin has joined #ruby
centrx has quit [Quit: If you meet the Buddha on the road, kill him.]
hxegon has quit [Quit: leaving]
shazaum_ has quit [Quit: This computer has gone to sleep]
maloik has quit [Ping timeout: 260 seconds]
Ruby_Rocks_007 has joined #ruby
tomchapin has quit [Ping timeout: 245 seconds]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
leat has quit [Ping timeout: 250 seconds]
<Radar> !ban ExterminatesweJ !T 1d
ExterminatesweJ was kicked from #ruby by ChanServ [User is banned from this channel]
gusTester has joined #ruby
towski_ has quit [Remote host closed the connection]
<eam> welp
radgeRayden has joined #ruby
<eam> how are everyone's rubies this evening
asteros has joined #ruby
hahuang65 has joined #ruby
leat has joined #ruby
TheHodge has quit [Quit: Connection closed for inactivity]
sondr3 has quit [Quit: Sleep]
<jbrhbr> good!
mary5030 has joined #ruby
hahuang65 has quit [Ping timeout: 250 seconds]
asteros has quit [Ping timeout: 260 seconds]
leat has quit [Remote host closed the connection]
leat has joined #ruby
<RickHull> anyone playing with immutable strings?
TheBloke has joined #ruby
asteros has joined #ruby
Anderson69s has joined #ruby
<RickHull> qq: I saw some example code that does e.g. loop(3) { puts 'hi' }
<RickHull> but loop in 2.3.x doesn't take a parameter
uri has joined #ruby
<RickHull> er, 2.2.3
<RickHull> is this in 2.3?
jscheel has joined #ruby
<RickHull> of course, there is always e.g. 3.times { ... }
<jbrhbr> will strings by immutable by default in 2.3+?
casadei has joined #ruby
<RickHull> no -- there will be a pragma available
<jbrhbr> i see
<RickHull> it will be a very slow rollout. i think targeted for default in 3.0
<jbrhbr> cool, thanks
<jbrhbr> do you think string immutability will pave the way for more interchangeability of strings and symbols?
<jbrhbr> i'm new to ruby and surprised that there isn't more interchangeability, and the main reason i could think that they wouldn't be is string mutability
<RickHull> i'm not sure about the future, but I've been using ruby for about 10 years
desmondhume has joined #ruby
<jbrhbr> that's approximately 9.99 years more than me
<RickHull> and here is my take on symbols vs strings -- they have useful distinctions
ESpiney has quit [Read error: Connection reset by peer]
<RickHull> symbols are useful for identifiers -- a chunk of data that will never be "operated" upon. we don't need to e.g. #reverse them, or append to them
<RickHull> where you might define a tuple or indexed array, where the index is meaningful -- for example the standard graphite metric format
<RickHull> (metric_name, metric_value, timestamp)
<RickHull> you could use an array and just know that index 0 is always the metric_name
<RickHull> or you could use a hash, e.g. { metric_name: foo, metric_value: 100, timestamp: now }
<jbrhbr> i don't see how these are points for strings vs symbols though
<jbrhbr> either would work
<RickHull> symbols are less flexible than strings
<RickHull> you'd rather use symbols here -- it indicates that we aren't going to operate upon the keys directly
<jbrhbr> my issue is that some hash-like structures use symbols and others like strings
casadei has quit [Ping timeout: 245 seconds]
justinweiss__ is now known as justinweiss
<RickHull> it's just a handy identifier that is better than e.g. graphite[0]
<RickHull> i'd rather use graphite[:metric_name]
<jbrhbr> and since they're not interchangeable, you have to know which to use, or .to_s or .to_sym :/
<RickHull> jbrhbr: true, but you should always "know"
<RickHull> and if you don't, that's a code smell that should be chased down
<RickHull> there are some libraries and and 3rd party code that make this tough
asteros has quit [Quit: asteros]
<RickHull> and i tend to avoid those
desmondhume has quit [Ping timeout: 250 seconds]
<jbrhbr> do you think that kind of knowing should be consistent across all gems or would you consider it fair game if it's consistent only within each gem?
<RickHull> it would be nice if everyone thought and wrote code the same way i do ;)
<jbrhbr> ;)
<RickHull> but I'll have to settle for consistency within gems
<jbrhbr> which manifests as inconsistency in the way your code has to talk to them :/
<jbrhbr> i don't know
<RickHull> yeah, there will always be gems that go against your grain
<RickHull> try to avoid them
<RickHull> or wrap them / modify them to make them behave
<jbrhbr> mongoid lets me do result.field, result[:field] and result['field']
<RickHull> yeah, reminds me of Hashie::Mash
<RickHull> which is an antipattern imho
<jbrhbr> it seems like people *want* interchangeability in these kinds of cases so they kind of fake it
lacuna has quit [Remote host closed the connection]
<jbrhbr> i see
<RickHull> for example, I'd like to do Hash#delete, but that means i can't use 'delete' or :delete as a key
sperant has joined #ruby
colleenmcguckin has quit [Remote host closed the connection]
<RickHull> major orthogonality violation
<jbrhbr> i don't follow that one
<RickHull> things which are orthogonal don't affect each other
<jbrhbr> you mean the attribute access style?
<RickHull> yes
<RickHull> methods are methods, hash keys are hash keys
<blub> do people normally pronounce the # in method names
<jbrhbr> heh i got the orthogonality part
<RickHull> hashes have methods like delete
<jbrhbr> i think foo.x is the oddball
<RickHull> so if you want to have a pseudo-method for hash key access, you are forbidden from ever using 'delete' or :delete as a key
<jbrhbr> easily assailed, but supporting both foo[:x] and foo['x'] seems intuitive to me as a ruby noob
<RickHull> that is more palatable
<RickHull> because it's a code smell to mix symbol and string keys
Anderson69s has quit [Quit: Time to EAT, SLEEP OR WHATEVER BYE!!!!!]
<RickHull> but even so, that makes the runtime do a lot of extra work
<RickHull> and i'd rather just be consistent. hashes can take any serializable object as a key
<jbrhbr> i think that's solvable
<jbrhbr> but not when you have mutable keys :)
<RickHull> that means symbols and strings are distince
<RickHull> distinct
psy has joined #ruby
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister has joined #ruby
bronson has quit [Remote host closed the connection]
<jbrhbr> yeah
<jbrhbr> thanks for the discussion though
Pisuke has joined #ruby
MyMind has quit [Ping timeout: 260 seconds]
<jbrhbr> i think my other reasoning is something like this: aside from the nice concise looking code, isn't the main justification of symbols one of performance? ie, you only have to allocate them once and there are probably some checks that can be avoided etc
<RickHull> basically, if you need to identify an internal component, i'd use a symbol. if you're taking outside input, then use a string. e.g. person[:arm] versus tags['some_user_input']
<jbrhbr> and then if that's correct, it once again points at mutability vs immutability. ie immutable strings have many of the same benefits as symbols, thereby weakening the case to have symbols at all
<RickHull> yes, since they are much more limited, they have better performance
<RickHull> in the world of mutable strings, at least, when someone chooses to use a string, I'm assuming they intend to do string operations on it
<RickHull> if someone uses a symbol instead, that communicates to me, as a reader, that this is a permanent sort of identifier
<jbrhbr> and… you feel like that communication is useful? :)
<RickHull> they're not going to e.g. reverse or append to it. match it against a regex, etc
<RickHull> 100%
<RickHull> the person writing the code should be communicating primarily to the reader (not the computer)
sperant has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jbrhbr> being used to immutable strings, fiddling with them in weird ways seems like a smell to me
<RickHull> i look at code as recipes of a sort, codifying human knowledge of methodologies
<RickHull> jbrhbr: you're probably on the right track then. try using ruby 2.3 with the immutable pragma
<RickHull> it will be painful when using 3rd party libs and gems that aren't compliant though
<jbrhbr> like if i saw `d = {'foo' => 3}`, i would *extremely* surprised if someone decided to modify that key
<jbrhbr> [sometime later]
<jbrhbr> cool
<jbrhbr> i gotta get ready to head out
<jbrhbr> i appreciate these kinds of chats. hopefully we can ramble together again sometime! :D
griffindy has quit [Read error: Connection reset by peer]
dlitvak has quit [Remote host closed the connection]
I has joined #ruby
jbrhbr has quit [Quit: Leaving.]
I is now known as Guest90348
colegatron has quit [Ping timeout: 260 seconds]
sperant has joined #ruby
yoongkang has joined #ruby
sperant has quit [Client Quit]
DurstBurger has joined #ruby
yoongkang has quit [Ping timeout: 260 seconds]
jetpackjoe has joined #ruby
Unicorn| has joined #ruby
maloik has joined #ruby
frem has quit [Quit: Connection closed for inactivity]
vdamewood has quit [Ping timeout: 245 seconds]
railswebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
favadi has joined #ruby
brainslug has joined #ruby
lacuna has joined #ruby
lacuna has joined #ruby
colegatron has joined #ruby
calderonroberto has quit [Ping timeout: 250 seconds]
maloik has quit [Ping timeout: 260 seconds]
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vdamewood has joined #ruby
rubie has joined #ruby
Ruby_Rocks_007 has quit [Quit: Ruby_Rocks_007]
krobzaur has joined #ruby
h99h9h88 has joined #ruby
PlasmaStar has joined #ruby
railswebdev has joined #ruby
maloik has joined #ruby
<diegoviola> when doing something like
grotewold has joined #ruby
<diegoviola> if average(:time).round(2) >= 0
<diegoviola> is there a way to just get the value from that line and add it to a string?
<diegoviola> without having to say:
<diegoviola> "#{average(:time).round(2)}s"
<diegoviola> all over again
ur5us_ has quit [Remote host closed the connection]
<diegoviola> in the if block I mean
DayFox has joined #ruby
rubie has quit [Remote host closed the connection]
jetpackjoe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
baweaver has joined #ruby
LBRapid has quit [Ping timeout: 264 seconds]
<blub> bind it ?
sdothum has joined #ruby
maloik has quit [Ping timeout: 260 seconds]
shanemcd has joined #ruby
dmcp has quit [Quit: Disconnecting...]
<diegoviola> blub: to a variable you mean?
<blub> ya
LBRapid has joined #ruby
timothio has joined #ruby
_djbkd has quit [Remote host closed the connection]
<timothio> hello all
jessemcgilallen has joined #ruby
<diegoviola> good idea
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
TheBloke has quit [Read error: Connection reset by peer]
mary5030 has quit [Remote host closed the connection]
Robert__ has joined #ruby
TheBloke has joined #ruby
mary5030 has joined #ruby
<blub> diegoviola: there isnt really any way around it there because the part you care about is only part of the expression you're testing. if you were saying 'if expr.that.might.return.a.truthy.object' and then operating on that object, there are shortcuts
jdawgaz has joined #ruby
jetpackjoe has joined #ruby
<diegoviola> dealing with time in coding can be confusing
<diegoviola> time alone already confuses me
<blub> time existing makes for a lot of ugly code
Rodya_ has joined #ruby
amclain has quit [Quit: Leaving]
goodcodeguy has joined #ruby
Anderson69s has joined #ruby
shanemcd has quit [Ping timeout: 260 seconds]
<diegoviola> does that makes sense?
<diegoviola> just trying to get the average seconds
kies has joined #ruby
<diegoviola> and display it as 0.2s or similar
h99h9h88 has quit [Remote host closed the connection]
<blub> unless its negative, in which case you want to just round it and return the number ?
saneax is now known as saneax_AFK
<diegoviola> blub: it won't be negative
<diegoviola> but yes
<blub> then why are you testing that it isn't
jmsoper has quit [Ping timeout: 260 seconds]
moeabdol has quit [Read error: Connection reset by peer]
<blub> the else part should just throw an error if anything, or just leave out the if and have the method just be "#{sum(:time).round}s" if you're sure
<diegoviola> sum would actually sum all the numbers in that field
rubie has joined #ruby
<diegoviola> I need average
mary5030 has quit [Remote host closed the connection]
TheBloke- has joined #ruby
TheBloke has quit [Read error: Connection reset by peer]
<diegoviola> blub: I actually added the if check because .round results in error when average(:time) returns nil
krobzaur has quit [Ping timeout: 245 seconds]
Eiam_ has joined #ruby
xxneolithicxx has quit [Remote host closed the connection]
jetpackjoe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
moeabdol has joined #ruby
casadei has joined #ruby
Mon_Ouie has quit [Ping timeout: 245 seconds]
<blub> what..
<diegoviola> blub: the unless I mean
Eiam_ has quit [Client Quit]
jetpackjoe has joined #ruby
colleenmcguckin has joined #ruby
vdamewood has quit [Quit: Life beckons.]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xxneolithicxx has joined #ruby
xxneolithicxx has quit [Max SendQ exceeded]
<blub> but the if doesn't guard against that
danielpclark has joined #ruby
xxneolithicxx has joined #ruby
<diegoviola> I know, I meant the unless line
<diegoviola> sorry
<diegoviola> average(:time) ? "#{average(:time).round(2)}s" : average(:time)
<diegoviola> this also works for me
<diegoviola> it gets around the nil issue
<diegoviola> but I'm not sure about this
Eiam_ has joined #ruby
bronson has joined #ruby
SecretAgent is now known as jhill
<danielpclark> Hey all! I'm trying to get a padded Array of bytes for int16 but it's not padding. [-32222].pack("v").bytes #=> [34, 130] .... I need to to be [34, 130, 0]
casadei has quit [Ping timeout: 245 seconds]
braincrash has quit [Quit: bye bye]
<diegoviola> blub: does that looks fine to you?
<blub> diegoviola: avg = average(:time); "#{avg.round(2)}s" if avg
<blub> use variables so you don't recompute things for no reason
NET||abuse has quit [Ping timeout: 250 seconds]
hahuang65 has joined #ruby
<blub> if you don't write an else and the condition is false, the whole if evaluates to nil anyway
threh_ has joined #ruby
threh_ has quit [Client Quit]
NET||abuse has joined #ruby
rubie has quit [Remote host closed the connection]
rashub has joined #ruby
bronson has quit [Ping timeout: 260 seconds]
<diegoviola> thanks
threh has quit [Ping timeout: 250 seconds]
jetpackjoe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
simplyianm has joined #ruby
threh has joined #ruby
nkwsy__14 has quit [Quit: Lost terminal]
Dood____ has quit [Quit: Lost terminal]
hahuang65 has quit [Ping timeout: 264 seconds]
braincrash has joined #ruby
<bougyman> my mom just got a message on her mac: "Warning: OS CRASH REPORT - Due to a third-party application your computer has crashed, please call <18665377060> for an immediate fix"
<bougyman> valid or bunk?
jetpackjoe has joined #ruby
rubie has joined #ruby
<bougyman> it's a modal in the middle of her screen.
<Radar> lol
jakemask has left #ruby [#ruby]
<diegoviola> that's scary
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Radar> Probably bunk.
<Radar> Srsly, just google it
<Radar> bougyman: ^
rashub has quit [Quit: Leaving]
<bougyman> I told her to take it to the apple store.
<al2o3-cr> danielpclark: [-32222].pack('sx').bytes
<bougyman> I don't do apple support.
yqt has quit [Ping timeout: 250 seconds]
rashub has joined #ruby
mallu has joined #ruby
zast has joined #ruby
bigmac has joined #ruby
jessemcgilallen has quit [Ping timeout: 245 seconds]
<danielpclark> @al2o3-cr: Thanks!
<mallu> Can you please tell me how I can get this value? https://gist.github.com/anonymous/1b3f7cebbd6a84f1b2ef
<al2o3-cr> danielpclark: np
<Radar> mallu: What have you tried?
<Radar> mallu: response.methods.sort - Object.methods might give some clues.
diegoviola has quit [Quit: WeeChat 1.3]
<mallu> Radar: response.each_varbind do |vb|; vb.value; end
<mallu> I was hoping not to use each_varbind
<Radar> why not
Xeago has joined #ruby
<mallu> Radar: I have to get value for multiple OIDs and hoping there is an easier way
juddey has quit [Ping timeout: 250 seconds]
B1n4r10 has quit [Ping timeout: 260 seconds]
timothio has quit [Ping timeout: 260 seconds]
bigmac has quit [Ping timeout: 245 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
moeabdol has quit [Read error: Connection reset by peer]
jadergabriel has joined #ruby
cycorld has quit [Ping timeout: 260 seconds]
cycorld has joined #ruby
cwheeler has joined #ruby
saneax_AFK is now known as saneax
mallu has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
timothio has joined #ruby
moeabdol has joined #ruby
yfeldblu_ has joined #ruby
cosmicfires has quit [Ping timeout: 245 seconds]
rubie has quit [Remote host closed the connection]
mallu has joined #ruby
bigmac has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
<bigmac> Thread.start{while true; puts s.recv(500); end }
<bigmac> s.puts("hi server")
<bigmac> i would expect the thread to print to screen?
skweek has joined #ruby
<baweaver> what's s?
<bigmac> a socket
<baweaver> put the rest of the code into a gist
<baweaver> not enough context
<baweaver> which socket, what library, what's the rest of the code, etc etc
gix has quit [Ping timeout: 260 seconds]
colleenmcguckin has quit [Remote host closed the connection]
<bigmac> i know there is already gems doing, what im working on... but its only a example... this thing has puzzled me for a long time, how to read and write to a socket simultaneously.
<bigmac> ill post a server and a client example
rubie has joined #ruby
gix has joined #ruby
ICantCook has quit [Quit: bye]
colleenmcguckin has joined #ruby
kies has quit [Ping timeout: 260 seconds]
colleenmcguckin has quit [Remote host closed the connection]
colleenmcguckin has joined #ruby
<bigmac> i dont see the option for sytax highlights
Wsewolod has quit [Ping timeout: 260 seconds]
<bigmac> what im looking to do is run this example server on multiple ports...
malconis has joined #ruby
<bigmac> multiple machines... (i know this already exist)
rashub has quit [Quit: Leaving]
<bigmac> the client can ask the server to do 3 things... build a hash, retrieve a key or retrieve a value from the hash table
desmondhume has joined #ruby
timothio has quit [Remote host closed the connection]
timothio has joined #ruby
djbkd has joined #ruby
desmondhume has quit [Ping timeout: 260 seconds]
justinweiss has quit [Quit: Connection closed for inactivity]
edj has joined #ruby
bigmac has quit [Ping timeout: 245 seconds]
<edj> what languages do i need to know to make an app with ruby motion?
davedev2_ has quit []
<havenwood> edj: Ruby
<edj> does anyone know ruby motion or where i can talk to someone who does?
<edj> the irc is empty
<edj> dont i need html and css and javascript ?
<edj> and a javascript framework?
<edj> i want to be full stack
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jscheel has quit [Quit: jscheel]
<edj> I'm sort of lost
bigmac has joined #ruby
sdothum has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
sdothum has quit [Client Quit]
<havenwood> edj: "You will need to learn how to interpret Apple's and Google's interfaces and how to call them from Ruby."
<mallu> can someone please tell me why I am getting "CheckSNMP WARNING: Check did not exit! You should call an exit code method" https://gist.github.com/anonymous/7358f7b4476ca8b971bb
jetpackjoe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<edj> so i dont need html/css or javascript?
<havenwood> edj: No HTML, CSS or JavaScript.
<baweaver> it would be to your benefit to do more legwork
kies has joined #ruby
grotewold has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<baweaver> read up on that tutorial
sdothum has joined #ruby
lacuna has quit [Remote host closed the connection]
bigmac has quit [Ping timeout: 250 seconds]
hahuang65 has joined #ruby
<mallu> anyone?
howdoi has joined #ruby
<mallu> "CheckSNMP WARNING: Check did not exit! You should call an exit code method" https://gist.github.com/anonymous/7358f7b4476ca8b971bb
devbug has joined #ruby
<edj> do you know where i can find a rubymotion irc thats active?
<baweaver> your ruby code is pretty garbled
<baweaver> why are you defining methods inside a method?
<baweaver> Really there are several issues just in the base code, disregarding the SNMP
wprice has quit [Quit: wprice]
<baweaver> >> [1,2,3].each { |v| a = v + a }; a
<ruboto> baweaver # => nil can't be coerced into Fixnum (TypeError) ...check link for more (https://eval.in/478710)
<mallu> baweaver: I had it def used_memory outside def run but was getting same error
<baweaver> blocks have their own context
<baweaver> first step is fixing your code.
hahuang65 has quit [Ping timeout: 250 seconds]
qiukun has joined #ruby
<baweaver> more than likely you're calling something that doesn't exist
<baweaver> make sure those nodes are actually correct
<mallu> baweaver: This is how I had it https://gist.github.com/anonymous/1ec2236e79c074fd64f3
lacuna has joined #ruby
tomchapin has joined #ruby
uri has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
railswebdev has quit [Quit: Textual IRC Client: www.textualapp.com]
waynerade has joined #ruby
<mallu> baweaver: do you see anything that is obvious causing this error?
<baweaver> patience is a virtue
timothio_ has joined #ruby
<baweaver> see the comment
<baweaver> first issue is that that value won't get out of the block
<baweaver> second is that you're using integers when dividing, that truncates
<baweaver> >> 1/2
<ruboto> baweaver # => 0 (https://eval.in/478714)
<baweaver> >> 1/2.0
<ruboto> baweaver # => 0.5 (https://eval.in/478715)
timothio has quit [Ping timeout: 260 seconds]
timothio_ is now known as timothio
wprice has joined #ruby
<baweaver> At least the Debian SNMP OIDs appear correct
<mallu> baweaver: I can use return in used_memory to get the value out correct?
jscheel has joined #ruby
<baweaver> how much ruby do you know?
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
<mallu> baweaver: not a lot :(
<baweaver> as an aside, you want to use snake case
tomchapin has quit [Ping timeout: 260 seconds]
<baweaver> like_this instead of likeThis
<mallu> baweaver: ok
moeabdol has quit [Ping timeout: 245 seconds]
<baweaver> more consistent with any library you might use.
<baweaver> in ruby, the last statement in a method is returned
<baweaver> >> def foo; 1 end; foo
<ruboto> baweaver # => 1 (https://eval.in/478716)
<baweaver> >> def foo; 1; 2 end; foo
<ruboto> baweaver # => 2 (https://eval.in/478717)
<baweaver> in this case, those warnings are going to obscure your data
<baweaver> so you'd want to put memUsedPercentage at the end of used_memory
<mallu> baweaver: I only need the warnings to return from the method. I am not looking for the value
ecksit has joined #ruby
<baweaver> then calling it used_memory is not a good name
<baweaver> be intention revealing in how you name things
<mallu> baweaver: Ok.. I will call it me_warning
<mallu> mem_warning
<mallu> or mem_alert
<baweaver> What I would do instead
<baweaver> leave used_memory as is, have it return a value
<baweaver> you might want it later for something
<baweaver> BUT take the warnings out of there
<baweaver> put it elsewhere.
sdothum has joined #ruby
<baweaver> like in run
<mallu> ok
darkf has joined #ruby
grotewold has joined #ruby
<baweaver> you could probably cheat the varbind a bit by using: each_varbind.map(&:value)
<baweaver> which would get a list of the values, assuming they haven't done something silly in the source like pass the block instead of yielding
araujo has quit [Ping timeout: 250 seconds]
<baweaver> are you using ruby-snmp or net-snmp?
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
maloik has joined #ruby
araujo has joined #ruby
<mallu> baweaver: I'm using ruby snap.. here is the whole script https://gist.github.com/anonymous/009aae8bf7452e6e6c43
gusTester has quit [Quit: Leaving.]
<baweaver> you do realize that in run all of your code is in a rescue block right?
<baweaver> you want it above that first rescue
<baweaver> indentation won't affect it at all
cwong_on_irc has joined #ruby
<mallu> I'm going to comment out rescue and see if it works
<baweaver> just move that logic above it
<baweaver> no need for that
maloik has quit [Ping timeout: 245 seconds]
krz has joined #ruby
qiukun has quit [Quit: qiukun]
<baweaver> lines 52 and 56 in that gist are still broken
<mallu> getting some error .. which is much better.. "Check failed to run: undefined local variable or method `totalMemory' for #<CheckSNMP:0x0000000282b408>, ["./check-snmp-mem.rb:58:in `used_memory'", "./check-snmp-mem.rb:76:in `run'"
<baweaver> blocks have a scope
<baweaver> they don't like sharing
<baweaver> [1].each do |v| a = v end
<baweaver> what's a?
<baweaver> guess what value it'll have if I ran that
<mallu> 1?
<baweaver> nope
<baweaver> >> [1].each do |v| a = v end; a
<ruboto> baweaver # => undefined local variable or method `a' for main:Object (NameError) ...check link for more (https://eval.in/478721)
<baweaver> inside that block, things are trapped. They don't get out
edj has quit [Quit: Page closed]
<baweaver> Now if you did something like this though:
<baweaver> >> a = 0; [1].each do |v| a = v end; a
<ruboto> baweaver # => 1 (https://eval.in/478722)
<baweaver> a is now something from an outer scope instead of something only defined inside that block
<mallu> ok
<baweaver> now what you want to do is actually this: manager.get(OID).each_varbind.first.value
<baweaver> well....
<baweaver> value = manager.get(OID).each_varbind.first.value
<baweaver> each_varbind is a method that passes its block to an each
Miron has quit [Ping timeout: 250 seconds]
<baweaver> something like: def each_varbind(&block) @varbind_list.each(&block) end
<baweaver> what happens when you pass no block to each?
<baweaver> >> [1,2,3].each
<ruboto> baweaver # => #<Enumerator: [1, 2, 3]:each> (https://eval.in/478723)
mary5030 has joined #ruby
<baweaver> it returns an enumerator that you can do something like call first on
<baweaver> >> [1,2,3].each.first
<ruboto> baweaver # => 1 (https://eval.in/478724)
<baweaver> of course that's a silly thing to do in the case of a standard each, you'd just do: [1,2,3].first
ss_much has joined #ruby
<baweaver> but in that case where it's throwing things to another list you want to get at, it's valid.
Rickmasta has joined #ruby
krz has quit [Ping timeout: 250 seconds]
kobain has quit [Ping timeout: 240 seconds]
kp666 has joined #ruby
maloik has joined #ruby
<mallu> baweaver: ok..
<baweaver> Anyways, blocks are anonymous functions much like Javascript. They have scope
lacuna has quit [Remote host closed the connection]
<baweaver> They can see outside, but they don't talk outside unless they have something to bind to
<baweaver> seeing outside is called a closure, which is a good bit of fun
mary5030 has quit [Ping timeout: 250 seconds]
<baweaver> >> def adder(x) -> y { x + y } end; add_5 = adder(5); (1..5).map(&add_5)
<ruboto> baweaver # => [6, 7, 8, 9, 10] (https://eval.in/478725)
<mallu> baweaver: so this is what I have so far... https://gist.github.com/anonymous/05b9399ae761bf51b330
jetpackjoe has joined #ruby
<baweaver> mallu: http://collabedit.com/rrkfy - let's work through this some
yardenbar has quit [Ping timeout: 260 seconds]
maloik has quit [Ping timeout: 250 seconds]
tjbiddle has joined #ruby
rubie has quit [Remote host closed the connection]
tref has joined #ruby
Emerald-- has joined #ruby
krz has joined #ruby
Emerald-- has quit [Client Quit]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
timothio_ has joined #ruby
jetpackjoe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Xeago has quit [Remote host closed the connection]
timothio has quit [Ping timeout: 260 seconds]
timothio_ is now known as timothio
MasterNayru has quit [Quit: No Ping reply in 180 seconds.]
casadei has joined #ruby
dionysus69 has joined #ruby
MasterNayru has joined #ruby
Robert__ has quit [Ping timeout: 250 seconds]
bronson has joined #ruby
Rodya_ has quit [Remote host closed the connection]
yfeldblum has joined #ruby
strehi has joined #ruby
<strehi> hi guys.. I've got ruby source from my team mate
<strehi> With bundle install i got required packets
casadei has quit [Ping timeout: 245 seconds]
<baweaver> gems
<strehi> now i got an error undefined method `[]' for nil:NilClass
<strehi> what could cause the problem? :(
<baweaver> >> nil[]
<ruboto> baweaver # => undefined method `[]' for nil:NilClass (NoMethodError) ...check link for more (https://eval.in/478749)
<baweaver> that
<baweaver> though if you want a better answer we need more context to work with, such as the code that's giving you the error and the stack trace that results
<baweaver> strehi: ?gist
* baweaver sighs
<baweaver> every time
bronson has quit [Ping timeout: 250 seconds]
B1n4r10 has joined #ruby
<ruboto> strehi, we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/0bfbaf86a9480d8b3102
<ruboto> pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
<strehi> that's log
sigurding has joined #ruby
<baweaver> and the error?
<strehi> undefined method `[]' for nil:NilClass
<baweaver> I know this
<RickHull> lol
<baweaver> the stack trace, the full error
<strehi> Completed 500 Internal Server Error in 615ms (ActiveRecord: 405.3ms)
<baweaver> in a gist
<baweaver> all of that error
<baweaver> _all_ of it
jetpackjoe has joined #ruby
<RickHull> relevance is that quintessential property of information that is nearly impossible to communicate
B1n4r10 has quit [Ping timeout: 260 seconds]
<RickHull> to those lacking context
<RickHull> good paste ^
timothio has quit [Ping timeout: 250 seconds]
<RickHull> now, what is L14 rtm_year_plan.rb
gaussblurinc1 has joined #ruby
<RickHull> oh, is the problem `month.to_i` ?
<RickHull> you could add guard clauses like `raise "no year" unless year` and likewise for month
tref has quit [Quit: tref]
<RickHull> er, hm, no, i'm barking up the wrong tree
timothio has joined #ruby
<RickHull> heading home, later yalls
ur5us has joined #ruby
RickHull has left #ruby [#ruby]
<strehi> baweaver: Are you still here?
solocshaw has quit [Ping timeout: 260 seconds]
Anderson69s has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
favadi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> I am wondering how much material one should add to any given gem of larger size
maloik has joined #ruby
<shevy> right now I am playing around with one large gem, and I have a way to autogenerate a .pdf from a local .cgi (via wkhtmltopdf)
<shevy> that .pdf then has about 25 pages or so... now I wonder if that is not too much info
jackcom has joined #ruby
jackcom has left #ruby [#ruby]
rghose has joined #ruby
qiukun has joined #ruby
qiukun has quit [Remote host closed the connection]
maloik has quit [Ping timeout: 260 seconds]
aganov has joined #ruby
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
qiukun has joined #ruby
simplyianm has quit [Remote host closed the connection]
haxrbyte has joined #ruby
simplyianm has joined #ruby
<strehi> anyone?
favadi has joined #ruby
haxrbyte has quit [Client Quit]
<blub> whats your question
agit0 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
haxrbyte has joined #ruby
haxrbyte has quit [Remote host closed the connection]
haxrbyte has joined #ruby
tagrudev has joined #ruby
<strehi> hi guys.. I've got ruby source from my team mate
<strehi> <strehi> With bundle install i got required packets
<strehi> now i got an error undefined method `[]' for nil:NilClass
Yzguy has joined #ruby
<strehi> what could cause the problem? :(
haxrbyte has quit [Client Quit]
<strehi> I am working like 30 hours on this and can't find a solution
DurstBurger has quit [Ping timeout: 245 seconds]
<strehi> I am starting to give up
Sam0163141155 has joined #ruby
waynerade has quit [Remote host closed the connection]
waynerade has joined #ruby
qiukun has quit [Ping timeout: 260 seconds]
Macaveli has joined #ruby
trautwein has joined #ruby
<Sam0163141155> In some screencasts and examples in books, it's common to find places where the author uses "# =>" notation to insert return values into the code as a comment. Are there text editor tools to do this automatically? If so anyone know what the tools or the general name for this process is?
karapetyan has joined #ruby
johnlinvc has joined #ruby
karapetyan has quit [Remote host closed the connection]
edj has joined #ruby
<edj> ja: you there?
<mozzarella> Sam0163141155: I think emacs org mode can do that
karapetyan has joined #ruby
<Sam0163141155> mozzarella: thanks, I'll google that
DoubleMalt has joined #ruby
psy has quit [Remote host closed the connection]
<blub> is there a concise way to match 'ab', 'ba', 'a', 'b', or '' with a regex
<blub> but not 'aa' or 'bb'
paradisaeidae has quit [Remote host closed the connection]
desmondhume has joined #ruby
rubie has joined #ruby
arup_r has joined #ruby
setient has quit [Ping timeout: 240 seconds]
desmondhume has quit [Ping timeout: 250 seconds]
timonv has joined #ruby
radgeRayden has quit [Ping timeout: 250 seconds]
SOLDIERz has joined #ruby
setient has joined #ruby
Akagi201 has joined #ruby
rubie has quit [Ping timeout: 265 seconds]
krz has quit [Quit: WeeChat 1.2]
grotewold has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<arup_r> When you will create a google account but don't upload image, google will set a default avatar for you. I will pull google user information from their API, and I would like to check if the image url I fetched is the default one that set by the google or not. I thought of to use checksum of the default photo. So everytime, I will pull data from google, before saving the image I will compare the checksum of the default one and newly fetched one, i
<arup_r> f it doesn't match I will save the new one or skip it. Is my approach to this problem correct ?
codecop has joined #ruby
karapetyan has quit [Remote host closed the connection]
lacuna has joined #ruby
lacuna has quit [Read error: Connection reset by peer]
lacuna has joined #ruby
bronson has joined #ruby
Rodya_ has joined #ruby
Anderson69s has joined #ruby
karapetyan has joined #ruby
tvw has joined #ruby
iateadonut has quit [Ping timeout: 260 seconds]
kerunaru has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
solars has joined #ruby
yardenbar has joined #ruby
lxsameer has joined #ruby
bronson has quit [Ping timeout: 245 seconds]
Rodya_ has quit [Ping timeout: 250 seconds]
ur5us has quit [Remote host closed the connection]
Pupp3tm4st3r has joined #ruby
kerunaru has quit [Read error: Connection reset by peer]
waynerade has quit [Remote host closed the connection]
arup_r has quit [Remote host closed the connection]
sperant has joined #ruby
kerunaru has joined #ruby
kerunaru has quit [Read error: Connection reset by peer]
dimik has joined #ruby
waynerade has joined #ruby
waynerade has quit [Remote host closed the connection]
Anderson_ has joined #ruby
Anderson69s has quit [Ping timeout: 245 seconds]
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
arup_r has joined #ruby
gsingh93 has quit [Quit: ZNC - http://znc.in]
kerunaru has joined #ruby
arup_r has quit [Remote host closed the connection]
sperant has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gsingh93 has joined #ruby
kerunaru has quit [Read error: Connection reset by peer]
karapetyan has quit [Remote host closed the connection]
andikr has joined #ruby
devbug has quit [Ping timeout: 250 seconds]
kerunaru has joined #ruby
arup_r has joined #ruby
solocshaw has joined #ruby
agit0 has joined #ruby
last_staff has joined #ruby
tjbiddle has quit [Read error: Connection reset by peer]
kerunaru has quit [Read error: Connection reset by peer]
Yzguy has quit [Quit: Zzz...]
<shevy> Sam0163141155 I usually just copy/paste it manually myself :)))
dionysus69 has quit [Ping timeout: 245 seconds]
juddey has joined #ruby
bluOxigen has quit [Ping timeout: 250 seconds]
bluOxigen has joined #ruby
kerunaru has joined #ruby
baweaver has quit [Remote host closed the connection]
kerunaru has quit [Read error: Connection reset by peer]
sperant has joined #ruby
tjbiddle has joined #ruby
ohaibbq has joined #ruby
Sam0163141155 has quit [Ping timeout: 245 seconds]
jetpackjoe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<yardenbar> Hi all, I'm trying to install ruby2.2.3 on scientific linux 6.1, getting "./tool/rbinstall.rb:728:in `chmod': Operation not permitted @ chmod_internal - /usr/local/rvm/gems/ruby-2.2.1/ (Errno::EPERM)
<yardenbar> "
Miron has joined #ruby
Ruby_Rocks_007 has joined #ruby
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nbdy has joined #ruby
slawrence00 has joined #ruby
slawrence00 has quit [Client Quit]
kerunaru has joined #ruby
<shevy> weird path
<shevy> does rvm not install into home dir by default?
howdoicomputer has joined #ruby
<yardenbar> Seems not, on my other server, where 2.2.3 was install successfully, its the same path but for 2.2.3
anisha has joined #ruby
lacuna has quit [Remote host closed the connection]
lubekpl has joined #ruby
nbdy has quit [Quit: Textual IRC Client: www.textualapp.com]
nbdy has joined #ruby
colleenmcguckin has quit [Remote host closed the connection]
sandstrom has joined #ruby
timonv has quit [Ping timeout: 250 seconds]
Miron has quit [Ping timeout: 250 seconds]
Pumukel has joined #ruby
elton has joined #ruby
<shevy> OpenURI.open # NoMethodError: private method `open' called for OpenURI:Module
<shevy> hmm is there another way to call it without .send, in the event that you already have a topnamespace method called open() defined that does something else?
<shevy> ok found another one ... to call .open() on the object itself uri = URI.parse("http://www.ruby-lang.org/en/"); uri.open
Anderson69s_Deb has joined #ruby
al2o3-cr has quit [Read error: Connection reset by peer]
DayFox has quit []
yfeldblum has quit [Ping timeout: 260 seconds]
B1n4r10 has joined #ruby
<strehi> hi guys
<strehi> I've migrated ruby app on new server
BSaboia has joined #ruby
sperant has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
al2o3-cr has joined #ruby
<strehi> Now I get an error (see link) ... ANYONE?
threh has quit [Ping timeout: 250 seconds]
djbkd has quit [Quit: My people need me...]
B1n4r10 has quit [Ping timeout: 245 seconds]
maloik has joined #ruby
casadei has joined #ruby
Anderson_ has quit [Quit: Time to EAT, SLEEP OR WHATEVER BYE!!!!!]
Unicorn| has quit [Quit: Connection closed for inactivity]
juddey has quit [Ping timeout: 260 seconds]
Anderson69s_Deb has quit [Quit: Quitte]
Anderson69s_Deb has joined #ruby
aspiers has joined #ruby
Anderson69s_Deb has quit [Read error: Connection reset by peer]
Anderson69s_Deb has joined #ruby
djbkd has joined #ruby
arup_r has quit []
Rodya_ has joined #ruby
User458764 has joined #ruby
casadei has quit [Ping timeout: 245 seconds]
Anderson69s_Deb has quit [Read error: Connection reset by peer]
cinik has quit [Read error: Connection reset by peer]
elaptics is now known as elaptics`away
maloik has quit [Ping timeout: 250 seconds]
tjbiddle has quit [Ping timeout: 260 seconds]
Anderson69s has joined #ruby
cinik has joined #ruby
howdoicomputer has quit [Ping timeout: 245 seconds]
TomyWork has joined #ruby
zeroDivisible has quit [Quit: WeeChat 1.3]
Rodya_ has quit [Ping timeout: 260 seconds]
Anderson69s has quit [Client Quit]
desmondhume has joined #ruby
Anderson69s_Deb has joined #ruby
maloik has joined #ruby
radgeRayden has joined #ruby
desmondhume has quit [Remote host closed the connection]
Anderson69s has joined #ruby
desmondhume has joined #ruby
tjbiddle has joined #ruby
edwinvdgraaf has joined #ruby
krz has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
troys has joined #ruby
Anderson69s has quit [Quit: Time to EAT, SLEEP OR WHATEVER BYE!!!!!]
jas02 has joined #ruby
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
troys is now known as troys_
zast has quit [Remote host closed the connection]
kimegede has joined #ruby
baweaver has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
c0m0 has joined #ruby
djbkd has quit []
kam270 has joined #ruby
baweaver has quit [Ping timeout: 260 seconds]
yfeldblum has joined #ruby
nettoweb has joined #ruby
brunto has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
kimegede has quit [Quit: Linkinus - http://linkinus.com]
agent_white has quit [Read error: Connection reset by peer]
SCHAAP137 has joined #ruby
aufi has joined #ruby
Couch has joined #ruby
agent_white has joined #ruby
ghormoon has joined #ruby
iateadonut has joined #ruby
<shevy> how is anyone supposed to know what is going on strehi
<shevy> only error that is easily visible is: NoMethodError (undefined method `[]' for nil:NilClass):
<shevy> so you got a nil there
<shevy> try to find out why you got a nil
<strehi> shevy: the problem is that it worked before
<strehi> now I use the same version of gem ruby and rails
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
<strehi> dependent packages are all the same
<strehi> what else can have affect on it
<shevy> I doubt it ever worked
<strehi> shevy: Your calling me lier now lol... I have an application on the production server
<strehi> I am just migrating it
brunto has quit [Ping timeout: 245 seconds]
<strehi> shevy: Why you doubt it?
<shevy> don't put words that were not used into the mouth of others
<strehi> shevy: I gave a fact... You doubted into the fact...
<strehi> Can you tell me what's the reason for your doubt?
<shevy> strehi that is what you claim it *would* be, a fact
TheBloke- has quit [Read error: Connection reset by peer]
TheBloke has joined #ruby
<shevy> >> nil[]
<ruboto> shevy # => undefined method `[]' for nil:NilClass (NoMethodError) ...check link for more (https://eval.in/478828)
yoongkang has joined #ruby
iateadonut has quit [Read error: Connection reset by peer]
sandstrom has joined #ruby
tomchapin has joined #ruby
ekem is now known as dreamer3
dreamer3 is now known as ekem
elton has quit [Remote host closed the connection]
<strehi> shevy: When I excecute SQL directly on the database I get the value
tagrudev has quit [Remote host closed the connection]
brunto has joined #ruby
<shevy> so change the code to handle nils; and find out why the layer you use there does not work properly. besides, if it works directly anyway, you could even hack-fix it with that nil check, that's like ... 3 lines of more code
tomchapin has quit [Ping timeout: 250 seconds]
<strehi> shevy: the problem is that I have like 1000 of MSQL selects hehe
al2o3-cr has quit [Ping timeout: 260 seconds]
<strehi> I will have to correct each if I don't find the reason
troys_ is now known as troys
tagrudev has joined #ruby
edwinvdgraaf has joined #ruby
troys has quit [Quit: Bye]
saneax is now known as saneax_AFK
skade has joined #ruby
dimik has quit [Ping timeout: 260 seconds]
elaptics`away is now known as elaptics
skade has quit [Quit: Computer has gone to sleep.]
Hounddog has joined #ruby
Luna_Moonfang has quit [Quit: WeeChat 1.3]
ohaibbq has quit [Quit: Leaving...]
Luna_Moonfang has joined #ruby
LiquidInsect has quit [Ping timeout: 260 seconds]
howdoicomputer has joined #ruby
LiquidInsect has joined #ruby
BSaboia has quit [Ping timeout: 245 seconds]
bronson has joined #ruby
jetpackjoe has joined #ruby
Hounddog has quit [Ping timeout: 260 seconds]
Rodya_ has joined #ruby
skade has joined #ruby
Hounddog has joined #ruby
kies has quit [Ping timeout: 245 seconds]
krz has quit [Read error: Connection reset by peer]
c0m0 has quit [Ping timeout: 245 seconds]
howdoicomputer has quit [Ping timeout: 250 seconds]
sperant has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
Hounddog has quit [Excess Flood]
ricer2 has quit [Ping timeout: 260 seconds]
joonty has joined #ruby
edwinvdgraaf has quit [Read error: Connection reset by peer]
Hounddog has joined #ruby
blaxter has joined #ruby
bronson has quit [Ping timeout: 260 seconds]
edwinvdgraaf has joined #ruby
User458764 has joined #ruby
colegatron has quit [Ping timeout: 245 seconds]
Rodya_ has quit [Ping timeout: 260 seconds]
CloCkWeRX has quit [Ping timeout: 260 seconds]
edwinvdgraaf has quit [Read error: Connection reset by peer]
edwinvdgraaf has joined #ruby
boxofrox has quit [Ping timeout: 276 seconds]
c0m0 has joined #ruby
waynerade has joined #ruby
postmodern has quit [Quit: Leaving]
tjbiddle has quit [Quit: tjbiddle]
edwinvdgraaf has quit [Client Quit]
Ruby_Rocks_007 has quit [Quit: Ruby_Rocks_007]
timonv has joined #ruby
Pupp3tm4st3r has quit [Read error: Connection reset by peer]
sperant has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jetpackjoe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pupp3tm4st3r has joined #ruby
edwinvdgraaf has joined #ruby
edj has quit [Ping timeout: 252 seconds]
irk has joined #ruby
waynerade has quit [Ping timeout: 245 seconds]
Macaveli has joined #ruby
krz has joined #ruby
krz has quit [Read error: Connection reset by peer]
Ruby_Rocks_007 has joined #ruby
jadergabriel has quit [Quit: Konversation terminated!]
sandstrom has joined #ruby
CloCkWeRX has joined #ruby
Hounddog has quit [Ping timeout: 260 seconds]
Kruppe has joined #ruby
csmb has joined #ruby
w5isp has joined #ruby
cwong_on_irc has quit [Quit: Leaving.]
colegatron has joined #ruby
marr has joined #ruby
Hounddog has joined #ruby
Peg-leg has joined #ruby
Ilyes512 has joined #ruby
norc has joined #ruby
Hounddog has quit [Excess Flood]
toretore has joined #ruby
<norc> Okay.. this is getting interesting.
<norc> >> RubyVM::InstructionSequence.compile("puts(&lambda{})").disasm
<ruboto> norc # => "== disasm: <RubyVM::InstructionSequence:<compiled>@<compiled>>==========\n== catch table\n| catch t ...check link for more (https://eval.in/478849)
johnlinvc has quit [Quit: johnlinvc]
<norc> Apparently there is not so much of a difference between proc/lambda and blocks after all.
<norc> Or no... I think I have to look into how method calls are implemented.
c0m0 has quit [Ping timeout: 250 seconds]
LiquidInsect has quit [Ping timeout: 245 seconds]
Eiam has quit [Ping timeout: 245 seconds]
<xybre> norc: arity checks
mrgrieves has joined #ruby
LiquidInsect has joined #ruby
<norc> xybre: Im actually looking deeper. Blocks are about the only thing in Ruby that are not first objects. They are rather species when it comes to how methods are implemented in Ruby
Hounddog has joined #ruby
<norc> *special
<norc> Interestingly until the VM it accepts procs/lambdas as blocks though.
<norc> (Without calling some method to convert it into a block explicitely)
<norc> Well okay, methods are not first class objects either.
Hounddog has quit [Excess Flood]
Hounddog has joined #ruby
Ilyes512 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ddv> blocks are just closures, nothing special about them
BSaboia has joined #ruby
bakedb has joined #ruby
<xybre> norc: a lot of things aren't objects on the VM level, the OO happens at the compiler level.
<norc> ddv: Blocks set up catch points for break, redo, next. They are special when it comes to how they are passed to functions.
<ddv> norc: do you have a specific question?
<norc> xybre: Difference is that methods and blocks are directly exposed to you. :)
<norc> ddv: Nah.
<apeiros> norc's business card: explorer of ruby internals ;-)
<norc> :)
<apeiros> I wish I had the time for such stuff :(
B1n4r10 has joined #ruby
huyderman has joined #ruby
TheBloke has quit [Read error: Connection reset by peer]
<xybre> norc: so are numbers, which are not objects in the VM
Ruby_Rocks_007 has quit [Quit: Ruby_Rocks_007]
<norc> xybre: Sure they are.
Hounddog has quit [Read error: Connection reset by peer]
<xybre> Addition and basic math isn't.
<norc> xybre: for the fixnum 1 the INS putobject_OP_INT2FIX_O_1_C_ is used to push it onto the stack
<norc> xybre: Addition is too.
TheBloke has joined #ruby
<norc> >> puts RubyVM::InstructionSequence.compile("1 + 2").disasm
<ruboto> norc # => == disasm: <RubyVM::InstructionSequence:<compiled>@<compiled>>========== ...check link for more (https://eval.in/478850)
Hounddog has joined #ruby
zenguy_pc has quit [Ping timeout: 246 seconds]
<xybre> Interesting, that's not the same VM code I was looking at a couple of days ago.
<norc> The only thing in Ruby that is not an object is blocks.
pangareh has quit [Remote host closed the connection]
arup_r has joined #ruby
B1n4r10 has quit [Ping timeout: 260 seconds]
Hounddog has quit [Excess Flood]
rodfersou has joined #ruby
Hounddog has joined #ruby
Ilyes512 has joined #ruby
<xybre> The stuff I was looking at was from pre-2.x I think though. I'll post it if I find it again, the interpretation of the bytecodes might just have been misleading.
elton has joined #ruby
<xybre> Yeah almost everything I said above is wrong, my memory sucks. :D
Ruby_Rocks_007 has joined #ruby
<xybre> Also the blog post lies about the opcodes and I took them at their word.
zenguy_pc has joined #ruby
duncannz has quit [Ping timeout: 260 seconds]
Hounddog has quit [Excess Flood]
xfbs has joined #ruby
Hounddog has joined #ruby
aspiers has quit [Ping timeout: 260 seconds]
b4rb0s4_ has joined #ruby
<norc> This is no longer possible since 2.0 though. ;-)
elton has quit [Ping timeout: 260 seconds]
<norc> xybre: And no it does not lie about the opcodes
<norc> The putobject_OP_INT2FIX_O_1_C_ instruction is just an optimized form
platzhirsch has joined #ruby
<norc> For all intents and purposes its equivalent to putobject 1
Snowy has joined #ruby
<norc> And considering how Ruby has even syntax changes across minor versions, you get different bytecode output depending on your version.
Hounddog has quit [Ping timeout: 260 seconds]
ibouvousaime has joined #ruby
Hounddog has joined #ruby
Rickmasta has quit [Ping timeout: 250 seconds]
dionysus69 has joined #ruby
Azulinho has quit [Ping timeout: 260 seconds]
casadei has joined #ruby
Rickmasta has joined #ruby
rodfersou has quit [Quit: leaving]
howdoicomputer has joined #ruby
rodfersou has joined #ruby
casadei has quit [Ping timeout: 245 seconds]
Rodya_ has joined #ruby
Gnut has joined #ruby
aspiers has joined #ruby
howdoicomputer has quit [Ping timeout: 260 seconds]
KnownSyntax has quit [Ping timeout: 260 seconds]
Ilyes512 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xfbs has quit []
Rodya_ has quit [Ping timeout: 260 seconds]
Ruby_Rocks_007 has quit [Quit: Ruby_Rocks_007]
aspiers has quit [Ping timeout: 245 seconds]
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #ruby
skade has quit [Client Quit]
glenny has joined #ruby
dlitvak has joined #ruby
roshanavand has joined #ruby
Kartikay has joined #ruby
jscheel has quit [Quit: jscheel]
Gnut has quit [Ping timeout: 260 seconds]
marr has quit [Ping timeout: 260 seconds]
tulak has joined #ruby
roshanavand has quit [Ping timeout: 250 seconds]
roxtrongo has quit [Remote host closed the connection]
blackms has joined #ruby
chouhoulis has quit [Remote host closed the connection]
aspiers has joined #ruby
Ilyes512 has joined #ruby
nfk|laptop has joined #ruby
KKR007 has joined #ruby
nbdy has quit [Ping timeout: 260 seconds]
weihan has joined #ruby
Kartikay has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
al2o3-cr has joined #ruby
KKR007 has quit [Client Quit]
tagrudev has quit [Ping timeout: 260 seconds]
haraoka has quit [Ping timeout: 250 seconds]
aganov has quit [Ping timeout: 260 seconds]
Ilyes512 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
krz has joined #ruby
bradc has joined #ruby
Ishido has joined #ruby
nbdy has joined #ruby
monthy has joined #ruby
nbdy has quit [Client Quit]
Mekkis has quit [Ping timeout: 246 seconds]
Mekkis has joined #ruby
ldnunes has joined #ruby
Azulinho has joined #ruby
aganov has joined #ruby
tagrudev has joined #ruby
elton has joined #ruby
<xybre> I haven't slept really in like 36 hours, I should really look into this again after I've slept >.<
azgil has joined #ruby
<ddv> sleep is for pussies
<xybre> I've been worse things
rubie has joined #ruby
aganov has quit [Ping timeout: 260 seconds]
tagrudev has quit [Ping timeout: 250 seconds]
elton has quit [Ping timeout: 250 seconds]
<adaedra> Hello
<adaedra> apeiros: let me look at that, it's not the same code as before running
tagrudev has joined #ruby
aganov has joined #ruby
<adaedra> apeiros: nope, that was never implemented.
rubie has quit [Ping timeout: 265 seconds]
c0m0 has joined #ruby
purplexed- has quit [Ping timeout: 246 seconds]
maloik has quit [Ping timeout: 250 seconds]
zotherstupidguy has joined #ruby
maloik has joined #ruby
howdoicomputer has joined #ruby
bronson has joined #ruby
marr has joined #ruby
al2o3-cr has quit [Ping timeout: 260 seconds]
Rodya_ has joined #ruby
danielpclark has quit [Ping timeout: 245 seconds]
wprice has quit [Quit: wprice]
nfk|laptop has quit [Remote host closed the connection]
<strehi> why I don't get result from mssql database?
nfk|laptop has joined #ruby
<strehi> Connection was established OK
howdoicomputer has quit [Ping timeout: 245 seconds]
<strehi> When I print select result I get nil warning :/
<strehi> any idea?
bronson has quit [Ping timeout: 260 seconds]
<jhass> use postgresql? :P
<jhass> ?code
<ruboto> We can't help you without your code, please post it to https://gist.github.com
<strehi> I also hate Microsoft hehe.... But cooperation sticks to it :P
Rodya_ has quit [Ping timeout: 260 seconds]
monthy has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<jhass> ?rails
<ruboto> Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
sigurding has quit [Quit: sigurding]
desmondhume has quit [Remote host closed the connection]
<jhass> and show the error message as well as the code causing the error message there too
desmondhume has joined #ruby
bradc has quit [Remote host closed the connection]
skade has joined #ruby
InvGhost has joined #ruby
Osw has joined #ruby
Osw has quit [Client Quit]
brunto has quit [Ping timeout: 250 seconds]
desmondhume has quit [Ping timeout: 250 seconds]
andykingking has joined #ruby
al2o3-cr has joined #ruby
Osw has joined #ruby
Xeago has joined #ruby
Osw has quit [Client Quit]
BSaboia has quit [Ping timeout: 260 seconds]
Snowy has quit [Read error: Connection reset by peer]
danielpclark has joined #ruby
Snowy has joined #ruby
roshanavand has joined #ruby
roxtrongo has joined #ruby
chouhoulis has joined #ruby
waynerade has joined #ruby
zotherstupidguy has quit [Quit: WeeChat 1.3]
B1n4r10 has joined #ruby
favadi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
roxtrongo has quit [Ping timeout: 260 seconds]
chouhoulis has quit [Ping timeout: 250 seconds]
kerunaru has quit [Ping timeout: 260 seconds]
B1n4r10 has quit [Ping timeout: 245 seconds]
kerunaru has joined #ruby
tvw has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Ping timeout: 250 seconds]
xfbs has joined #ruby
prestorium has joined #ruby
al2o3-cr has quit [Ping timeout: 250 seconds]
nixmaniack has joined #ruby
User458764 has joined #ruby
al2o3-cr has joined #ruby
Azulinho has quit [Remote host closed the connection]
voodo has joined #ruby
Azulinho has joined #ruby
sigurding has joined #ruby
roshanavand has quit [Remote host closed the connection]
roshanavand has joined #ruby
kerunaru has quit [Ping timeout: 250 seconds]
elton has joined #ruby
yoongkang has quit [Remote host closed the connection]
al2o3-cr has quit [Ping timeout: 260 seconds]
ss_much has quit [Quit: Connection closed for inactivity]
avril14th has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
Pupp3tm4_ has joined #ruby
kerunaru has joined #ruby
yoongkang has joined #ruby
brunto has joined #ruby
sepp2k has joined #ruby
skade has joined #ruby
Pupp3tm4st3r has quit [Ping timeout: 260 seconds]
roxtrongo has joined #ruby
yfeldblum has joined #ruby
skade has quit [Client Quit]
Ilyes512 has joined #ruby
d0lph1n98 has joined #ruby
TheBloke has quit [Read error: Connection reset by peer]
TheBloke has joined #ruby
joonty has quit [Quit: joonty]
kerunaru has quit [Ping timeout: 260 seconds]
howdoicomputer has joined #ruby
bronson has joined #ruby
d0lph1n98 has quit [Quit: leaving]
Robert__ has joined #ruby
Rodya_ has joined #ruby
sepp2k has quit [Ping timeout: 245 seconds]
sepp2k has joined #ruby
brotspinne has joined #ruby
timothio has quit [Quit: timothio]
howdoicomputer has quit [Ping timeout: 250 seconds]
bronson has quit [Ping timeout: 260 seconds]
sondr3 has joined #ruby
CloCkWeRX has quit [Ping timeout: 260 seconds]
Rodya_ has quit [Ping timeout: 260 seconds]
last_staff has quit [Ping timeout: 250 seconds]
kobain has joined #ruby
bradc has joined #ruby
skade has joined #ruby
kerunaru has joined #ruby
Jackneill has joined #ruby
bradc has quit [Ping timeout: 250 seconds]
tomchapin has joined #ruby
Mia has joined #ruby
tulak has quit [Ping timeout: 250 seconds]
RegulationD has joined #ruby
brotspinne has left #ruby ["Textual IRC Client: www.textualapp.com"]
elton has quit [Ping timeout: 250 seconds]
glenny has quit [Quit: Konversation terminated!]
JammyHammy has joined #ruby
arup_r has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 250 seconds]
tomchapin has quit [Ping timeout: 260 seconds]
chouhoulis has joined #ruby
Puffball has quit [Remote host closed the connection]
sandstrom has quit [Quit: My computer has gone to sleep.]
Puffball has joined #ruby
CloCkWeRX has joined #ruby
chouhoulis has quit [Ping timeout: 260 seconds]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
saneax_AFK is now known as saneax
Ilyes512 has quit [Quit: Textual IRC Client: www.textualapp.com]
arup_r has joined #ruby
waynerade has quit [Remote host closed the connection]
waynerade has joined #ruby
fideliom has joined #ruby
fideliom has left #ruby [#ruby]
Ox0dea has joined #ruby
<Ox0dea> acdefghijklmopqrstuvwxyz
roxtrongo has quit [Remote host closed the connection]
tulak has joined #ruby
arup_r has quit [Ping timeout: 260 seconds]
<Ox0dea> I took all the way to tryig to mout a live system to realize that I could't log i ecause my ad keys died.
<Ox0dea> *It
<Ox0dea> est morig ever?
timonv has quit [Ping timeout: 260 seconds]
peterhil_ has quit [Ping timeout: 260 seconds]
evil_shibe has joined #ruby
<pontiki> something stuck between them?
<Ox0dea> ope. :(
<apeiros> lol
<Ox0dea> I checked, of course. Clea as a whistle. :<
<apeiros> get an external keyboard
roxtrongo has joined #ruby
<Ox0dea> Myeah.
<Ox0dea> Seems it's aout that time.
bkxd has quit [Ping timeout: 260 seconds]
InvGhost has quit [Ping timeout: 264 seconds]
<Ox0dea> I've ever ee so thakful for ta completio.
roshanavand has quit [Remote host closed the connection]
roshanavand has joined #ruby
roshanav_ has joined #ruby
arup_r has joined #ruby
<shevy> control your cat Ox0dea
tulak has quit [Remote host closed the connection]
<Ox0dea> :'(
sandstrom has joined #ruby
roshanavand has quit [Ping timeout: 250 seconds]
krz has quit [Ping timeout: 260 seconds]
sgambino has joined #ruby
davedev24 has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
Anderson69s has joined #ruby
Coldblackice has quit [Ping timeout: 245 seconds]
Akagi201 has quit [Remote host closed the connection]
roshanav_ has quit [Remote host closed the connection]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
roshanavand has joined #ruby
Meow-J has quit [Quit: Connection closed for inactivity]
decoponio has joined #ruby
Robert__ has quit [Ping timeout: 250 seconds]
senayar has joined #ruby
sondr3 has quit [Quit: Sleep]
Azure|dc has joined #ruby
sankaber has joined #ruby
Azure has quit [Ping timeout: 245 seconds]
b4rb0s4_ has quit [Remote host closed the connection]
batu has joined #ruby
sdothum has joined #ruby
<batu> Hello, can someone tell me where I can paste my ruby code for sharing with this channel ?
<Ox0dea> ?gist
<ruboto> https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
User458764 has joined #ruby
DurstBurger has joined #ruby
howdoicomputer has joined #ruby
jackcom has joined #ruby
purplexed- has joined #ruby
purplexed- has joined #ruby
jackcom has left #ruby [#ruby]
JammyHammy has quit [Read error: Connection reset by peer]
<batu> can someone help me with this simple problem please? https://gist.github.com/thebatu/60c58662890a95f17d8f
Rodya_ has joined #ruby
Azulinho has quit [Ping timeout: 245 seconds]
howdoicomputer has quit [Ping timeout: 260 seconds]
<eam> batu: gsub(a, b) vs gsub(a b) ?
minimalism has quit [Quit: leaving]
minimalism has joined #ruby
<Ox0dea> Is comma the ew semicolo?
desmondhume has joined #ruby
<eam> everyone loves the colon, hates the semicolon
<Ox0dea> "Don't use semi-colons! They are transvestite hermaphrodites, representing exactly nothing."
<batu> shit
<batu> I totaly missed that
<batu> thanks guys
Rodya_ has quit [Ping timeout: 260 seconds]
<eam> batu: when it says "undefined method 'term'" probably look for each instance you use 'term' :)
andykingking has quit [Ping timeout: 250 seconds]
<Ox0dea> Lie umers are also quite helpful.
voodo is now known as voodo|away
Azulinho has joined #ruby
yoongkang has quit [Remote host closed the connection]
wprice has joined #ruby
bradc has joined #ruby
gusTester has joined #ruby
B1n4r10 has joined #ruby
peterhil_ has joined #ruby
<Ox0dea> I've also lost the use of my right Alt key; how could this day get worse?
nbdy has joined #ruby
<batu> I am trying to make a script that will parser several JS files, and it will substitute certain words (Lexicon). the script should take as an argument file name to be modified and outout the result on a file called filename+Modified
yfeldblum has quit [Ping timeout: 250 seconds]
bradc has quit [Ping timeout: 260 seconds]
Anderson69s has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
elton has joined #ruby
<batu> any advices on what method to use for IO in rub? line reading from a file ?
timonv has joined #ruby
akem has joined #ruby
B1n4r10 has quit [Ping timeout: 250 seconds]
d0nn1e has quit [Ping timeout: 250 seconds]
<Ox0dea> batu: File.read('foo').gsub Regexp.union(LEXICON.keys), LEXICON
<Ox0dea> No particularly good reason to do it a line at a time.
elton has quit [Ping timeout: 250 seconds]
d0nn1e has joined #ruby
solocshaw has quit [Ping timeout: 250 seconds]
<Ox0dea> Line breaks are liable to cause some trouble, but maybe you don't have any between the multi-word terms?
Xeago has quit [Remote host closed the connection]
chouhoulis has joined #ruby
Xeago has joined #ruby
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
<batu> the input file will look like jQuery code. and I need to replace some deprecated method names with others. In order to speed up a conversion process from AS3 to HTML5 and createJS
chouhoulis has quit [Ping timeout: 260 seconds]
grill has joined #ruby
Xeago has quit [Remote host closed the connection]
Bellthoven has joined #ruby
roxtrong_ has joined #ruby
roxtrong_ has quit [Remote host closed the connection]
Xeago has joined #ruby
sepp2k has quit [Ping timeout: 250 seconds]
karapetyan has joined #ruby
roxtrongo has quit [Ping timeout: 260 seconds]
sankaber has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
<mrgrieves> any suggestions on vim plugins to look at to help with writing in ruby? I know google can help me with that but wanted to hear first hand from ruby savvi people that are also vim users
<Ox0dea> batu: https://eval.in/479113
big|bad|wolf has joined #ruby
b4rb0s4_ has joined #ruby
<Ox0dea> mrgrieves: Have you come to Vim from an IDE?
freerobby has joined #ruby
boxofrox has joined #ruby
rikkipitt has joined #ruby
cwong_on_irc has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
<rethi> mrgrieves: I just use a syntax highlighter and vim-ruby
<rethi> I have heard good things about the vim-rails plugin. but I don't do much rails dev at all so never needed it
<mrgrieves> yes, I've been looking at what vim-ruby gives me but it's very limited ... on mac for example if look for string methods I couldn't find an easy way to jump the long list of methos faster
wprice has quit [Quit: wprice]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<mrgrieves> it would be nice to paginate the list
krz has joined #ruby
cwong_on_irc has quit [Ping timeout: 250 seconds]
TomPeed has joined #ruby
casadei has joined #ruby
<mrgrieves> vim-ruby-doc seems useful as well ...
Akagi201 has joined #ruby
symbol has joined #ruby
desmondhume has quit [Remote host closed the connection]
<mrgrieves> but it doesn't seem to be maintained
<rethi> yeah would be nice to have the docs to hand in vim. I should adopt that into my workflow!
sankaber has joined #ruby
skade has joined #ruby
<rethi> hmm no open issues, last commit 3 yrs ago. seems pretty dead
desmondhume has joined #ruby
<adaedra> Under OS X you can look for the Dash app – not only Ruby-related, but it's a nice thing to have
<rethi> Yeah Was just about to suggest that adaedra:
kp666 has quit [Remote host closed the connection]
TheHodge has joined #ruby
<mrgrieves> Thanks!
Yzguy has joined #ruby
chouhoulis has joined #ruby
goodcodeguy has joined #ruby
Akagi201 has quit [Remote host closed the connection]
Akagi201 has joined #ruby
timonv has quit [Ping timeout: 250 seconds]
Akagi201 has quit [Remote host closed the connection]
CloCkWeRX has quit [Ping timeout: 260 seconds]
Snowy has quit [Remote host closed the connection]
waynerade has quit [Remote host closed the connection]
allyjweir has joined #ruby
voodo|away is now known as voodo
akem has quit [Ping timeout: 250 seconds]
last_staff has joined #ruby
waynerade has joined #ruby
cdg has joined #ruby
rikkipitt has quit [Remote host closed the connection]
moeabdol has joined #ruby
malconis has joined #ruby
User458764 has joined #ruby
User458764 has quit [Max SendQ exceeded]
shanemcd has joined #ruby
User458764 has joined #ruby
jds has quit [Quit: Connection closed for inactivity]
sandstrom has joined #ruby
nbdy has quit [Ping timeout: 250 seconds]
batu has quit [Ping timeout: 250 seconds]
Bellthoven has quit []
waynerade has quit [Remote host closed the connection]
pandaant has joined #ruby
wprice has joined #ruby
Rodya_ has joined #ruby
Jardayn has joined #ruby
Rodya_ has quit [Read error: Connection reset by peer]
Rodya_ has joined #ruby
kobain has quit [Ping timeout: 240 seconds]
doublemalt_ has joined #ruby
nbdy has joined #ruby
peterhil_ has quit [Read error: Connection reset by peer]
peterhil_ has joined #ruby
timonv has joined #ruby
DoubleMalt has quit [Ping timeout: 260 seconds]
andikr has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
TheBloke has quit [Quit: Textual IRC Client: www.textualapp.com]
cmoneylulz has joined #ruby
skade has joined #ruby
bradc has joined #ruby
yoongkang has joined #ruby
peterhil_ has quit [Ping timeout: 245 seconds]
Wsewolod has joined #ruby
cmoneylulz has quit [Remote host closed the connection]
mostlybadfly has joined #ruby
<arup_r> Can you guys give me some hints on this https://gist.github.com/aruprakshit/8c133c78912166ff4a19 ? I want to calculate the checksum using MiniMagick .. but not getting any reference ..
johnlinvc has joined #ruby
DexterLB has quit [Ping timeout: 260 seconds]
DexterLB has joined #ruby
kam270 has quit [Ping timeout: 250 seconds]
Snowy has joined #ruby
uri has joined #ruby
freerobby has quit [Quit: Leaving.]
batu has joined #ruby
bradc has quit [Ping timeout: 245 seconds]
elton has joined #ruby
symbol has quit [Quit: WeeChat 1.1]
uri has quit [Client Quit]
strehi has quit [Remote host closed the connection]
daveshah has joined #ruby
yoongkang has quit [Ping timeout: 245 seconds]
Snowy has quit [Ping timeout: 260 seconds]
<argoneus> could someone walk me through some code if it's not too much trouble?
<argoneus> it's fairly basic >_>
whippythellama has joined #ruby
Snowy has joined #ruby
timonv has quit [Quit: WeeChat 1.3]
elton has quit [Ping timeout: 260 seconds]
last_staff has quit [Quit: last_staff]
aganov has quit [Remote host closed the connection]
<Ox0dea> argoneus: How much code?
<argoneus> about 5 lines
<argoneus> it's a block, essentially
<argoneus> I thought I already understood how blocks worked, but I have no idea how this works
timonv has joined #ruby
<Ox0dea> Shoot.
<argoneus> I don't even understand how come this can be used as a block
<argoneus> info doesn't yield anything
krobzaur has joined #ruby
<Ox0dea> argoneus: Every method receives an implicit block.
nixmaniack has quit [Remote host closed the connection]
Yzguy has quit [Quit: Zzz...]
dhollinger has joined #ruby
<argoneus> I just don't even understand what "info" even is, if it's an object or what
<Ox0dea> It's a method.
<argoneus> and why you have to put values in it so awkwardly
chouhoulis has quit [Remote host closed the connection]
<Ox0dea> Unless there's some magic hidden elsewhere (not particularly unlikely), that `info do` is superfluous.
chouhoulis has joined #ruby
<argoneus> superfluous?
<Ox0dea> Unnecessary.
<argoneus> so the method "info" returns -some object-, and then I call that weird inject on it?
<Ox0dea> No.
<ddv> anyone know how I can generate a date range, reject some days for example sundays and extend the range with a next available day? Obviously I can do something like (Date.today..Date.today+5.days).reject{|day| day.sunday?} but this would remove sunday and make the range smaller
Yzguy has joined #ruby
<Ox0dea> argoneus: Given the two snippets to which you've linked, that block doesn't even get executed.
xfbs has quit []
<arup_r> Is my question so hard.. ? :)
<argoneus> are you sure?
<Ox0dea> `info` does receive it, but it's not invoking it, thus my suspicion that there must be some spooky action at a distance going on.
<argoneus> and I had no idea what it was trying to tell me, so I went snooping in the code instead
norc has quit [Quit: Page closed]
<argoneus> I couldn't even find on google what a DSL method is
<Ox0dea> >> def foo; end; foo { this is not going to be executed so we can say whatever } # argoneus
<ruboto> Ox0dea # => /tmp/execpad-7ebf5c323d8d/source-7ebf5c323d8d:2: syntax error, unexpected tIDENTIFIER, expecting '(' ...check link for more (https://eval.in/479177)
<Ox0dea> Dammit.
<Ox0dea> >> def foo; end; foo { smaller test case } # argoneus
<argoneus> yeah it just seems to be a random block in a class
<ruboto> Ox0dea # => /tmp/execpad-62994ee608dd/source-62994ee608dd:2: syntax error, unexpected '}', expecting keyword_whe ...check link for more (https://eval.in/479178)
<Ox0dea> Omigod.
<argoneus> but according to the tutorial it should work
<argoneus> this is 2blackbox4me
<Ox0dea> argoneus: I kept accidentally using keywords, but maybe you still caught the gist?
kobain has joined #ruby
<Ox0dea> It is just a random block in a method call.
saneax is now known as saneax_AFK
<Ox0dea> Blocks can *only* occur as the last argument of a method call.
<argoneus> I still have no idea how this works
skade has quit [Quit: Computer has gone to sleep.]
<argoneus> like options.fields.inject({}), is this a property of an object returned by info?
<argoneus> options.fields that is
<Ox0dea> It's not the return value of `info` which is receiving the block; it's the call to `info` itself.
xfbs has joined #ruby
mallu has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<Ox0dea> I wonder if it might be the case that you've unearthed the wrong `info` method.
<argoneus> so the argument to "info" is a block?
<Ox0dea> Yes.
<Ox0dea> Blocks are arguments.
<argoneus> ehhh
karapetyan has quit [Remote host closed the connection]
<argoneus> any idea how you'd figure out how to put something in 'extra' or 'credentials'?
<argoneus> there doesn't seem to be a pattern
<Ox0dea> Aha!
<Ox0dea> As usual, metaprogramming is to blame for the confusion.
<argoneus> oh yeah
<argoneus> I saw this piece of code and just noped out
<Ox0dea> Heh.
<Ox0dea> That's the "real" definition of `info`.
uri has joined #ruby
<Ox0dea> The one that
<Ox0dea> is being invoked with that block, at any rate.
rodfersou is now known as rodfersou|lunch
babblebre has joined #ruby
<Ox0dea> (I'm having to use Numpad 1 and 2 for B and N. It's the worst thing ever.)
<argoneus> is the first line, %w etc
tagrudev has quit [Remote host closed the connection]
c355E3B has joined #ruby
<Ox0dea> >> %w[foo bar baz]
<argoneus> does that basically say "for each item in this array do"
<argoneus> ?
<ruboto> Ox0dea # => ["foo", "bar", "baz"] (https://eval.in/479181)
<Ox0dea> Yeah.
voodo has quit [Quit: Leaving...]
atomical has joined #ruby
<Ox0dea> It's just convenient shorthand for an Array of
<Ox0dea> "words".
karapetyan has joined #ruby
<argoneus> yeah I have no idea how this works
<argoneus> the block's inside that is
<Ox0dea> Hm?
<argoneus> l97 and 98 are lost on me
<argoneus> does that translate to like uid_stack(context)?
<Ox0dea> Yep.
<argoneus> etc
<argoneus> this is a lot of reflection
<Ox0dea> It's the #compile_stack method that should be giving you pause.
<Ox0dea> Yes, it is.
<Ox0dea> Hardly the worst it can get, though.
dmonster has joined #ruby
<argoneus> I don't even know where the compile_stack and merge_stack etc come from
skade has joined #ruby
<argoneus> I tried googling but didn't fin anything
<argoneus> find*
waynerade has joined #ruby
waynerade has quit [Remote host closed the connection]
<ddubs> compile_stack is defined on 103
<Ox0dea> The #compile_stack method is just a regular method defined right there underneath the part I highlighted...
<argoneus> oh
waynerade has joined #ruby
<Ox0dea> It's a little gnarly.
<argoneus> hm, but in that case
<argoneus> info do options.fields.inject({})...
<argoneus> where does the options.fields thing come from?
<Ox0dea> Elsewhere. :P
<argoneus> ...
<argoneus> uid just uses request.params
rikkipitt has joined #ruby
<argoneus> but info suddenly uses options.fields
norc has joined #ruby
<Ox0dea> argoneus: `options` is an attribute defined right there underneath #compile_stack...
<argoneus> how am I supposed to know what to use for credentials/extra, etc.?
<Ox0dea> How indeed?
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<norc> Hi folks.
Neon has joined #ruby
<apeiros> moin norc
<norc> Ox0dea: So I successfully used your Object#thaw today for the first time by the way, seg faulting Ruby over and over again. Fun stuff
<norc> apeiros: Hey. :)
Guest90348 has quit [Ping timeout: 245 seconds]
kerunaru has quit [Quit: leaving]
<norc> Turns out you really cannot have instance variables on Fixnums anymore. :(
<argoneus> Ox0dea: is that a rhetorical question? or is it really a mystery
<Ox0dea> argoneus: You seem plenty literate.
twilling has joined #ruby
<Neon> Hello, I have a problem installing the wdm gem on Windows 7 64 Bit using Ruby 2.2.0. I'd be very thankful for any help. See the mkmf.log and the console output on https://gist.github.com/Neosublimation/d39d9267bc563460b550 .
<Ox0dea> norc: Noice!
waynerade has quit [Ping timeout: 245 seconds]
<Ox0dea> norc: Are segfaults bad for the computer in any way?
<argoneus> Ox0dea: not sure what you mean by that :<
<norc> Ox0dea: Not since the invention of memory protection. :-)
<Ox0dea> norc: Wait, you thawed a Fixnum?!
<norc> Sure.
<Ox0dea> >> 42.frozen?
<ruboto> Ox0dea # => true (https://eval.in/479184)
<norc> Frozen since 2.0
<norc> Before you could add instance variables and everything.
<norc> 19 >> 42.frozen?
<norc> 19>> 42.frozen?
<ruboto> norc # => false (https://eval.in/479185)
maddmaxx has joined #ruby
rubie has joined #ruby
GarethAdams has quit [Ping timeout: 264 seconds]
lkba has joined #ruby
krz has quit [Ping timeout: 260 seconds]
<argoneus> oh, I figured it out
<argoneus> the tutorial uses fancy writing for simple things
uri has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
havenwood has quit [Ping timeout: 245 seconds]
<Ox0dea> Might be of some interest.
havenwood has joined #ruby
havenwood has joined #ruby
<Ox0dea> Nobu borked it at some point. :<
yardenbar has quit [Ping timeout: 245 seconds]
<norc> He's such a kill joy that way.
<Ox0dea> Ja.
xfbs has quit []
<Ox0dea> I suspect you're plenty aware of the fact that objects are carrying around all sorts of hidden state in
<Ox0dea> "inaccessible" ivars?
codecop has quit [Remote host closed the connection]
Azulinho has quit [Ping timeout: 260 seconds]
<norc> Oh yeah. :-)
<batu> :Ox0dea ty
<norc> Ox0dea: I was quite amused when I figured out that the only way that they are hidden is that they don't have a leading @ in their name.
<apeiros> norc: iirc in older rubies you could set those yourself from ruby using ivar_set/_get
<norc> From the looks you just provided an interface for them.
<norc> apeiros: Interesting.
<apeiros> nowadays ruby insists they must be "proper" ivars :D
<apeiros> but from C (iirc) you still can
socialjackie has joined #ruby
yardenbar has joined #ruby
anisha has quit [Quit: Leaving]
<Ox0dea> Just so.
frem has joined #ruby
<Ox0dea> I still don't really get it.
mjuszczak has joined #ruby
<argoneus> thanks Ox0dea it werks now :D
<apeiros> the idea behind it?
maddmaxx has quit [Remote host closed the connection]
<Ox0dea> No, why nobu goes out of his way to make it hard/impossible to have our fun in this area.
<apeiros> what did he make hard?
<Ox0dea> FrozenCore, for starters.
<apeiros> (missed that obv)
<apeiros> ah
lubekpl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros> yeah, frozencore confused me a bit. it goes against rubys earlier stance to not handhold devs.
<Ox0dea> That it does. :<
<apeiros> "if you want to shoot your foot - here, take this rocket launcher. but know that I warned you."
grotewold has joined #ruby
<Ox0dea> "Ruby: it gives you footnukes."
<apeiros> that sounds like a terrible kind of infection
The_Phoenix has joined #ruby
bronson has joined #ruby
colegatron has quit [Ping timeout: 260 seconds]
pragmatism has quit [Ping timeout: 260 seconds]
pragmatism has joined #ruby
_stu_ has joined #ruby
YP-QMUL-W has joined #ruby
iateadonut has joined #ruby
big|bad|wolf has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Ruby_Rocks_007 has joined #ruby
bronson has quit [Ping timeout: 260 seconds]
axl_ has joined #ruby
diegoviola has joined #ruby
diegoviola has quit [Changing host]
diegoviola has joined #ruby
big|bad|wolf has joined #ruby
tulak has joined #ruby
Ruby_Rocks_007 has quit [Client Quit]
`based_pdev` has joined #ruby
The_Phoenix has quit [Ping timeout: 260 seconds]
solars has quit [Ping timeout: 260 seconds]
ascarter has joined #ruby
Neon has quit [Quit: Leaving]
Ruby_Rocks_007 has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
ascarter has quit [Client Quit]
TheBloke has joined #ruby
krz has joined #ruby
PaulCape_ has quit [Quit: .]
isjaylee has joined #ruby
elton has joined #ruby
PaulCapestany has joined #ruby
weihan has quit [Ping timeout: 250 seconds]
norc has quit [Ping timeout: 252 seconds]
karapetyan has quit [Remote host closed the connection]
<isjaylee> i'm using nethttp to connect to a self signed cert server. how do i open up the connection to get the public ca before making my request?
colegatron has joined #ruby
bradc has joined #ruby
B1n4r10 has joined #ruby
mallu has joined #ruby
Pathfinder has joined #ruby
User458764 has joined #ruby
devbug has joined #ruby
<ddubs> why not just add a verify_ssl = false style flag?
The_Phoenix has joined #ruby
<isjaylee> ddubs: well, that defeats the purpose of ssl
<ddubs> so does trusting the cert chain from the server you are connecting too
csmb has quit [*.net *.split]
Kruppe has quit [*.net *.split]
w5isp has quit [*.net *.split]
e7d has quit [*.net *.split]
adaedra has quit [*.net *.split]
DarthGandalf has quit [*.net *.split]
tsunamie has quit [*.net *.split]
Coraline has quit [*.net *.split]
Cork has quit [*.net *.split]
ytti has quit [*.net *.split]
Brando753 has quit [*.net *.split]
ElderFain has quit [*.net *.split]
rubie has quit [*.net *.split]
irk has quit [*.net *.split]
brainslug has quit [*.net *.split]
Synthead has quit [*.net *.split]
Authenticator has quit [*.net *.split]
amoeba` has quit [*.net *.split]
Meliodas has quit [*.net *.split]
scottstamp has quit [*.net *.split]
goodcodeguy has quit [*.net *.split]
b4rb0s4_ has quit [*.net *.split]
grill has quit [*.net *.split]
d0nn1e has quit [*.net *.split]
DurstBurger has quit [*.net *.split]
sdothum has quit [*.net *.split]
arup_r has quit [*.net *.split]
roshanavand has quit [*.net *.split]
Mia has quit [*.net *.split]
Jackneill has quit [*.net *.split]
nfk|laptop has quit [*.net *.split]
marr has quit [*.net *.split]
maloik has quit [*.net *.split]
c0m0 has quit [*.net *.split]
dlitvak has quit [*.net *.split]
zenguy_pc has quit [*.net *.split]
bakedb has quit [*.net *.split]
LiquidInsect has quit [*.net *.split]
mrgrieves has quit [*.net *.split]
blackms has quit [*.net *.split]
agent_white has quit [*.net *.split]
aufi has quit [*.net *.split]
bluOxigen has quit [*.net *.split]
setient has quit [*.net *.split]
MasterNayru has quit [*.net *.split]
araujo has quit [*.net *.split]
NET||abuse has quit [*.net *.split]
Pisuke has quit [*.net *.split]
banister has quit [*.net *.split]
leat has quit [*.net *.split]
dravine has quit [*.net *.split]
s00pcan has quit [*.net *.split]
Tempesta has quit [*.net *.split]
Kero has quit [*.net *.split]
yeticry has quit [*.net *.split]
CustosLimen has quit [*.net *.split]
NightMonkey has quit [*.net *.split]
Ebok has quit [*.net *.split]
NeverDie has quit [*.net *.split]
Meeh has quit [*.net *.split]
kadoppe has quit [*.net *.split]
ixti has quit [*.net *.split]
freedrull has quit [*.net *.split]
adamholt has quit [*.net *.split]
ddubs has quit [*.net *.split]
shinenelson has quit [*.net *.split]
cornerman has quit [*.net *.split]
jud has quit [*.net *.split]
TheBrayn has quit [*.net *.split]
mclee has quit [*.net *.split]
robbyoconnor has quit [*.net *.split]
Xiti has quit [*.net *.split]
AlexRussia has quit [*.net *.split]
pwnd_nsfw has quit [*.net *.split]
pestle has quit [*.net *.split]
nateberkopec has quit [*.net *.split]
jord has quit [*.net *.split]
th0m__ has quit [*.net *.split]
jsaak has quit [*.net *.split]
sapslaj has quit [*.net *.split]
claw has quit [*.net *.split]
peteyg has quit [*.net *.split]
Klumben has quit [*.net *.split]
crdpink2 has quit [*.net *.split]
whiteline has quit [*.net *.split]
arthurnn has quit [*.net *.split]
iamvery has quit [*.net *.split]
shtirlic has quit [*.net *.split]
alexherbo2 has quit [*.net *.split]
adeponte has quit [*.net *.split]
Lildirt has quit [*.net *.split]
weaksauce has quit [*.net *.split]
dling has quit [*.net *.split]
tpendragon has quit [*.net *.split]
bahar has quit [*.net *.split]
code_ has quit [*.net *.split]
Uptime has quit [*.net *.split]
BackEndCoder has quit [*.net *.split]
Sthebig has quit [*.net *.split]
gbailey has quit [*.net *.split]
zenspider has quit [*.net *.split]
apeiros has quit [*.net *.split]
Paradox has quit [*.net *.split]
okdas has quit [*.net *.split]
eggoez has quit [*.net *.split]
duoi has quit [*.net *.split]
perry has quit [*.net *.split]
aep has quit [*.net *.split]
Scient has quit [*.net *.split]
brixen has quit [*.net *.split]
Sou|cutter has quit [*.net *.split]
eam has quit [*.net *.split]
deg has quit [*.net *.split]
akkad has quit [*.net *.split]
mblagden has quit [*.net *.split]
SenpaiSilver has quit [*.net *.split]
jtdowney has quit [*.net *.split]
drbrain has quit [*.net *.split]
absolutejam has quit [*.net *.split]
gregf_ has quit [*.net *.split]
matp has quit [*.net *.split]
sindork has quit [*.net *.split]
SirFunk has quit [*.net *.split]
scottymeuk has quit [*.net *.split]
darix has quit [*.net *.split]
devbug has quit [*.net *.split]
bradc has quit [*.net *.split]
isjaylee has quit [*.net *.split]
_stu_ has quit [*.net *.split]
pragmatism has quit [*.net *.split]
grotewold has quit [*.net *.split]
lkba has quit [*.net *.split]
skade has quit [*.net *.split]
casadei has quit [*.net *.split]
allyjweir has quit [*.net *.split]
purplexed- has quit [*.net *.split]
sgambino has quit [*.net *.split]
Ox0dea has quit [*.net *.split]
Puffball has quit [*.net *.split]
Ishido has quit [*.net *.split]
platzhirsch has quit [*.net *.split]
Luna_Moonfang has quit [*.net *.split]
Couch has quit [*.net *.split]
SCHAAP137 has quit [*.net *.split]
cinik has quit [*.net *.split]
lxsameer has quit [*.net *.split]
SOLDIERz has quit [*.net *.split]
trautwein has quit [*.net *.split]
rghose has quit [*.net *.split]
gaussblurinc1 has quit [*.net *.split]
cycorld has quit [*.net *.split]
BTRE has quit [*.net *.split]
astrobunny has quit [*.net *.split]
symm- has quit [*.net *.split]
workmad3 has quit [*.net *.split]
hackeron has quit [*.net *.split]
unsymbol has quit [*.net *.split]
pdoherty has quit [*.net *.split]
alakra has quit [*.net *.split]
infernix has quit [*.net *.split]
connor_goodwolf has quit [*.net *.split]
rclements has quit [*.net *.split]
vondruch has quit [*.net *.split]
mloy has quit [*.net *.split]
reaVer has quit [*.net *.split]
ElSif has quit [*.net *.split]
solenoids has quit [*.net *.split]
Asher has quit [*.net *.split]
cgfbee has quit [*.net *.split]
sarlalian has quit [*.net *.split]
chridal has quit [*.net *.split]
jokester has quit [*.net *.split]
null3 has quit [*.net *.split]
moei has quit [*.net *.split]
yxhuvud has quit [*.net *.split]
Biohazard has quit [*.net *.split]
hinbody has quit [*.net *.split]
jzigmund has quit [*.net *.split]
tenderlove has quit [*.net *.split]
Papierkorb has quit [*.net *.split]
shaman42 has quit [*.net *.split]
shortdudey123 has quit [*.net *.split]
scroff has quit [*.net *.split]
uber has quit [*.net *.split]
theRoUS has quit [*.net *.split]
BraddPitt has quit [*.net *.split]
existensil has quit [*.net *.split]
moss has quit [*.net *.split]
oddalot has quit [*.net *.split]
dfoolz has quit [*.net *.split]
unreal has quit [*.net *.split]
danoo_ has quit [*.net *.split]
majjoha_ has quit [*.net *.split]
Freeaqingme has quit [*.net *.split]
Lilian has quit [*.net *.split]
kramsee has quit [*.net *.split]
xnr has quit [*.net *.split]
PaulePanter has quit [*.net *.split]
Muz has quit [*.net *.split]
yorickpeterse has quit [*.net *.split]
Shapeshifter has quit [*.net *.split]
nisstyre has quit [*.net *.split]
bytecrawler has quit [*.net *.split]
kalleth has quit [*.net *.split]
gilesww has quit [*.net *.split]
bascht has quit [*.net *.split]
kent\n has quit [*.net *.split]
musicmatze has quit [*.net *.split]
alol has quit [*.net *.split]
ajaiswal has quit [*.net *.split]
linduxed has quit [*.net *.split]
passcod has quit [*.net *.split]
sysanthrope has quit [*.net *.split]
yeltzooo has quit [*.net *.split]
xsdg has quit [*.net *.split]
badeball has quit [*.net *.split]
bewie has quit [*.net *.split]
mosez has quit [*.net *.split]
gamache has quit [*.net *.split]
thang has quit [*.net *.split]
axisys has quit [*.net *.split]
ljarvis has quit [*.net *.split]
jericon has quit [*.net *.split]
bnagy has quit [*.net *.split]
pl1ght has quit [*.net *.split]
certainty has quit [*.net *.split]
conrfrmn has quit [*.net *.split]
suffice has quit [*.net *.split]
james1 has quit [*.net *.split]
rmrrn has quit [*.net *.split]
programmerq has quit [*.net *.split]
sugardrunk has quit [*.net *.split]
[dmp] has quit [*.net *.split]
Silex has quit [*.net *.split]
async_prince has quit [*.net *.split]
TTilus has quit [*.net *.split]
coffeejunk has quit [*.net *.split]
Guest50975 has quit [*.net *.split]
argoneus has quit [*.net *.split]
ZYPP has quit [*.net *.split]
stephenh has quit [*.net *.split]
Guest726 has quit [*.net *.split]
ironcamel has quit [*.net *.split]
rethi has quit [*.net *.split]
DEac- has quit [*.net *.split]
freeze has quit [*.net *.split]
woodruffw has quit [*.net *.split]
Vile` has quit [*.net *.split]
Kuukunen has quit [*.net *.split]
crowell has quit [*.net *.split]
flori has quit [*.net *.split]
VladGh has quit [*.net *.split]
Ray` has quit [*.net *.split]
ruboto has quit [*.net *.split]
Drakevr has quit [*.net *.split]
hplar has quit [*.net *.split]
DrShoggoth has quit [*.net *.split]
ozzloy has quit [*.net *.split]
euoia has quit [*.net *.split]
cfloare has quit [*.net *.split]
joneshf-laptop has quit [*.net *.split]
boshhead has quit [*.net *.split]
marahin has quit [*.net *.split]
hightower4 has quit [*.net *.split]
Bish has quit [*.net *.split]
[ace] has quit [*.net *.split]
Skelz0r has quit [*.net *.split]
kallisti5 has quit [*.net *.split]
Koshian has quit [*.net *.split]
fluchtreflex has quit [*.net *.split]
The_Phoenix has quit [*.net *.split]
Pathfinder has quit [*.net *.split]
mallu has quit [*.net *.split]
B1n4r10 has quit [*.net *.split]
colegatron has quit [*.net *.split]
elton has quit [*.net *.split]
PaulCapestany has quit [*.net *.split]
krz has quit [*.net *.split]
TheBloke has quit [*.net *.split]
Ruby_Rocks_007 has quit [*.net *.split]
`based_pdev` has quit [*.net *.split]
tulak has quit [*.net *.split]
axl_ has quit [*.net *.split]
iateadonut has quit [*.net *.split]
YP-QMUL-W has quit [*.net *.split]
mjuszczak has quit [*.net *.split]
frem has quit [*.net *.split]
yardenbar has quit [*.net *.split]
socialjackie has quit [*.net *.split]
havenwood has quit [*.net *.split]
twilling has quit [*.net *.split]
atomical has quit [*.net *.split]
babblebre has quit [*.net *.split]
dmonster has quit [*.net *.split]
chouhoulis has quit [*.net *.split]
dhollinger has quit [*.net *.split]
krobzaur has quit [*.net *.split]
timonv has quit [*.net *.split]
Snowy has quit [*.net *.split]
batu has quit [*.net *.split]
mostlybadfly has quit [*.net *.split]
Wsewolod has quit [*.net *.split]
nbdy has quit [*.net *.split]
doublemalt_ has quit [*.net *.split]
wprice has quit [*.net *.split]
pandaant has quit [*.net *.split]
shanemcd has quit [*.net *.split]
cdg has quit [*.net *.split]
daveshah has quit [*.net *.split]
desmondhume has quit [*.net *.split]
TomPeed has quit [*.net *.split]
boxofrox has quit [*.net *.split]
senayar has quit [*.net *.split]
davedev24 has quit [*.net *.split]
decoponio has quit [*.net *.split]
minimalism has quit [*.net *.split]
brunto has quit [*.net *.split]
Pupp3tm4_ has quit [*.net *.split]
avril14th has quit [*.net *.split]
sigurding has quit [*.net *.split]
ldnunes has quit [*.net *.split]
Rickmasta has quit [*.net *.split]
Hounddog has quit [*.net *.split]
huyderman has quit [*.net *.split]
toretore has quit [*.net *.split]
radgeRayden has quit [*.net *.split]
Anderson69s_Deb has quit [*.net *.split]
Pumukel has quit [*.net *.split]
gsingh93 has quit [*.net *.split]
simplyianm has quit [*.net *.split]
howdoi has quit [*.net *.split]
gix has quit [*.net *.split]
LBRapid has quit [*.net *.split]
PlasmaStar has quit [*.net *.split]
hectortrope has quit [*.net *.split]
blub has quit [*.net *.split]
ta_ has quit [*.net *.split]
myztic has quit [*.net *.split]
bubbys has quit [*.net *.split]
user083 has quit [*.net *.split]
Nilium has quit [*.net *.split]
linc01n has quit [*.net *.split]
Vitor has quit [*.net *.split]
pleiosaur has quit [*.net *.split]
gigetoo has quit [*.net *.split]
nwhirschfeld has quit [*.net *.split]
jhill has quit [*.net *.split]
bb010g has quit [*.net *.split]
s1kx has quit [*.net *.split]
gregf has quit [*.net *.split]
cpup has quit [*.net *.split]
Karunamon has quit [*.net *.split]
ebertx has quit [*.net *.split]
Luming has quit [*.net *.split]
humd1ng3r has quit [*.net *.split]
renderfu_ has quit [*.net *.split]
gizmore has quit [*.net *.split]
techietrash has quit [*.net *.split]
Log1x has quit [*.net *.split]
stannard has quit [*.net *.split]
jschmid has quit [*.net *.split]
hanmac has quit [*.net *.split]
nertzy has quit [*.net *.split]
xaotuk has quit [*.net *.split]
kedare has quit [*.net *.split]
spt0 has quit [*.net *.split]
stan has quit [*.net *.split]
bweston92 has quit [*.net *.split]
Emmanuel_Chanel has quit [*.net *.split]
rdark has quit [*.net *.split]
gambl0re has quit [*.net *.split]
pontiki has quit [*.net *.split]
rikai has quit [*.net *.split]
alem0lars has quit [*.net *.split]
johnhamelink has quit [*.net *.split]
znz_jp has quit [*.net *.split]
_5moufl has quit [*.net *.split]
cajone has quit [*.net *.split]
Kabaka has quit [*.net *.split]
secret has quit [*.net *.split]
tuor has quit [*.net *.split]
joeyjones has quit [*.net *.split]
sonne has quit [*.net *.split]
Lorn has quit [*.net *.split]
x0f has quit [*.net *.split]
twistedpixels has quit [*.net *.split]
valeri_ufo has quit [*.net *.split]
baroquebobcat has quit [*.net *.split]
lokulin has quit [*.net *.split]
rvchangue has quit [*.net *.split]
skarn has quit [*.net *.split]
blackjid has quit [*.net *.split]
aps has quit [*.net *.split]
twe4ked has quit [*.net *.split]
mmasaki has quit [*.net *.split]
duracrisis has quit [*.net *.split]
hohenfall has quit [*.net *.split]
DanKnox[away] has quit [*.net *.split]
ryotarai has quit [*.net *.split]
KervyN has quit [*.net *.split]
ajb has quit [*.net *.split]
sparr has quit [*.net *.split]
sorah has quit [*.net *.split]
blowmage has quit [*.net *.split]
mahlon has quit [*.net *.split]
SegFaultAX has quit [*.net *.split]
Liothen has quit [*.net *.split]
greedo has quit [*.net *.split]
TDJACR has quit [*.net *.split]
tris has quit [*.net *.split]
Gadgetoid has quit [*.net *.split]
pipework has quit [*.net *.split]
Guest43890 has quit [*.net *.split]
G has quit [*.net *.split]
Takumo has quit [*.net *.split]
ceej has quit [*.net *.split]
speakingcode has quit [*.net *.split]
Fridtjof has quit [*.net *.split]
lady3bean has quit [*.net *.split]
gnarf has quit [*.net *.split]
wldcordeiro has quit [*.net *.split]
michael_mbp has quit [*.net *.split]
oddmunds has quit [*.net *.split]
davidcelis has quit [*.net *.split]
kaspergrubbe has quit [*.net *.split]
dannluciano has quit [*.net *.split]
nlsun has quit [*.net *.split]
redlegion has quit [*.net *.split]
Derailed has quit [*.net *.split]
alexblom has quit [*.net *.split]
j0bk has quit [*.net *.split]
pjaspers has quit [*.net *.split]
clamstar has quit [*.net *.split]
russt has quit [*.net *.split]
varesa has quit [*.net *.split]
df has quit [*.net *.split]
svkurowski has quit [*.net *.split]
kitallis has quit [*.net *.split]
Morrolan has quit [*.net *.split]
tomdp has quit [*.net *.split]
SirCmpwn has quit [*.net *.split]
z3uS has quit [*.net *.split]
sirecote has quit [*.net *.split]
Guest79752 has quit [*.net *.split]
ujjain has quit [*.net *.split]
shadeslayer has quit [*.net *.split]
inukshuk has quit [*.net *.split]
djcp has quit [*.net *.split]
plonk has quit [*.net *.split]
jaxxstorm has quit [*.net *.split]
epochwolf has quit [*.net *.split]
akitada has quit [*.net *.split]
YaknotiS has quit [*.net *.split]
chihhsin has quit [*.net *.split]
zrl has quit [*.net *.split]
pizzaops has quit [*.net *.split]
jimeh has quit [*.net *.split]
sluukkonen has quit [*.net *.split]
levifig has quit [*.net *.split]
cats has quit [*.net *.split]
avelldiroll has quit [*.net *.split]
TheMoonMaster has quit [*.net *.split]
mozzarella has quit [*.net *.split]
kellabyte has quit [*.net *.split]
alxndr has quit [*.net *.split]
EvilJStoker has quit [*.net *.split]
tekacs has quit [*.net *.split]
darkf has quit [*.net *.split]
aredridel has quit [*.net *.split]
fulgore_ has quit [*.net *.split]
voxxit has quit [*.net *.split]
nfsnobody has quit [*.net *.split]
cibs has quit [*.net *.split]
ltd has quit [*.net *.split]
Zackio has quit [*.net *.split]
marcoecc has quit [*.net *.split]
trampi has quit [*.net *.split]
moty66 has quit [*.net *.split]
shevy has quit [*.net *.split]
kfpratt has quit [*.net *.split]
peitera has quit [*.net *.split]
thejoecarroll has quit [*.net *.split]
redondos has quit [*.net *.split]
constantinexvi has quit [*.net *.split]
xMopxShell has quit [*.net *.split]
bihi has quit [*.net *.split]
callumacrae has quit [*.net *.split]
imajes has quit [*.net *.split]
rideh has quit [*.net *.split]
GGMethos has quit [*.net *.split]
Steve_Jobs has quit [*.net *.split]
bradland has quit [*.net *.split]
sivoais has quit [*.net *.split]
joevandyk has quit [*.net *.split]
tommylommykins has quit [*.net *.split]
AustinMatherne has quit [*.net *.split]
digneety has quit [*.net *.split]
kenichi has quit [*.net *.split]
rtl has quit [*.net *.split]
pocketprotector has quit [*.net *.split]
anekos has quit [*.net *.split]
papercode has quit [*.net *.split]
mist has quit [*.net *.split]
duper has quit [*.net *.split]
demophoon has quit [*.net *.split]
headius has quit [*.net *.split]
phreakocious has quit [*.net *.split]
mburns has quit [*.net *.split]
Fire-Dragon-DoL has quit [*.net *.split]
hyperdri- has quit [*.net *.split]
Apocalypse has quit [*.net *.split]
tabakhase has quit [*.net *.split]
elaptics has quit [*.net *.split]
devyn has quit [*.net *.split]
diego_k has quit [*.net *.split]
eregon_ has quit [*.net *.split]
Mr_Pancake has quit [*.net *.split]
TomyWork has quit [*.net *.split]
`derpy has quit [*.net *.split]
iamayam has quit [*.net *.split]
Junaos has quit [*.net *.split]
FastJack has quit [*.net *.split]
abra0 has quit [*.net *.split]
timmow_ has quit [*.net *.split]
csaunders has quit [*.net *.split]
Keltia has quit [*.net *.split]
mg^ has quit [*.net *.split]
skakri has quit [*.net *.split]
CrazyEddy has quit [*.net *.split]
kriskropd has quit [*.net *.split]
edwardly has quit [*.net *.split]
julieeharshaw has quit [*.net *.split]
c0ncealed has quit [*.net *.split]
M-Kodo has quit [*.net *.split]
M-mistake has quit [*.net *.split]
ghoti has quit [*.net *.split]
JStoker has quit [*.net *.split]
kies^ has quit [*.net *.split]
pabs has quit [*.net *.split]
boxrick1 has quit [*.net *.split]
meatchicken has quit [*.net *.split]
Helheim has quit [*.net *.split]
nirix has quit [*.net *.split]
ItSANgo has quit [*.net *.split]
joast has quit [*.net *.split]
forgot has quit [*.net *.split]
hypnosb has quit [*.net *.split]
mrtomme has quit [*.net *.split]
fumk has quit [*.net *.split]
_mh_ has quit [*.net *.split]
mame2 has quit [*.net *.split]
KillerFox has quit [*.net *.split]
kobain has quit [*.net *.split]
zapata has quit [*.net *.split]
sonOfRa has quit [*.net *.split]
mfqr has quit [*.net *.split]
tekk has quit [*.net *.split]
epitron has quit [*.net *.split]
thomasfedb has quit [*.net *.split]
spectra has quit [*.net *.split]
tomaw has quit [*.net *.split]
funnel has quit [*.net *.split]
Guest27898 has quit [*.net *.split]
tethra has quit [*.net *.split]
wnd has quit [*.net *.split]
TheSpect1e has quit [*.net *.split]
sumark_ has quit [*.net *.split]
Qantourisc has quit [*.net *.split]
eboaz_ has quit [*.net *.split]
nkts has quit [*.net *.split]
knight_ has quit [*.net *.split]
tw1sted has quit [*.net *.split]
perrier__ has quit [*.net *.split]
RTG` has quit [*.net *.split]
justinmcp has quit [*.net *.split]
Killerkeksdose has quit [*.net *.split]
nemesit|znc has quit [*.net *.split]
RazorX has quit [*.net *.split]
vcoinminer_ has quit [*.net *.split]
frode15243 has quit [*.net *.split]
err_ok has quit [*.net *.split]
Nahra`` has quit [*.net *.split]
Shidash has quit [*.net *.split]
SilentEcho has quit [*.net *.split]
cstrahan has quit [*.net *.split]
n1ftyn8_ has quit [*.net *.split]
skmp has quit [*.net *.split]
bjmllr has quit [*.net *.split]
nullwarp has quit [*.net *.split]
tonini has quit [*.net *.split]
benlakey has quit [*.net *.split]
HashNuke has quit [*.net *.split]
Affix has quit [*.net *.split]
patronus has quit [*.net *.split]
belak has quit [*.net *.split]
greister has quit [*.net *.split]
xmad has quit [*.net *.split]
thesheff17 has quit [*.net *.split]
cyberfawkes has quit [*.net *.split]
Bugboy1028 has quit [*.net *.split]
Symbiosisz has quit [*.net *.split]
heinrich5991 has quit [*.net *.split]
wjimenez5271 has quit [*.net *.split]
Sp4rKy has quit [*.net *.split]
chris2 has quit [*.net *.split]
mgorbach has quit [*.net *.split]
martinbjeldbak has quit [*.net *.split]
p8952 has quit [*.net *.split]
maxmanders has quit [*.net *.split]
rcs has quit [*.net *.split]
mhenrixon has quit [*.net *.split]
Amnez777 has quit [*.net *.split]
bier_ has quit [*.net *.split]
Platini has quit [*.net *.split]
mistym has quit [*.net *.split]
samuelkadolph has quit [*.net *.split]
haasn has quit [*.net *.split]
stuartb_ has quit [*.net *.split]
Pro|_ has quit [*.net *.split]
jevs has quit [*.net *.split]
bestie has quit [*.net *.split]
dukedave has quit [*.net *.split]
zeljkof has quit [*.net *.split]
troter______ has quit [*.net *.split]
cardoni has quit [*.net *.split]
manveru has quit [*.net *.split]
rfv has quit [*.net *.split]
artmann_ has quit [*.net *.split]
charles81 has quit [*.net *.split]
djbender has quit [*.net *.split]
pmarreck has quit [*.net *.split]
bakingbread has quit [*.net *.split]
marsjaninzmarsa has quit [*.net *.split]
jmhmccr has quit [*.net *.split]
loincloth has quit [*.net *.split]
Davey has quit [*.net *.split]
Guest96625 has quit [*.net *.split]
go|dfish has quit [*.net *.split]
EvilDMP has quit [*.net *.split]
twodayslate has quit [*.net *.split]
danzilio has quit [*.net *.split]
bcavileer_ has quit [*.net *.split]
iamdevnul has quit [*.net *.split]
Heero has quit [*.net *.split]
countryHick has quit [*.net *.split]
bove has quit [*.net *.split]
shelling__ has quit [*.net *.split]
nomadicoder has quit [*.net *.split]
DenSchub has quit [*.net *.split]
Bilge has quit [*.net *.split]
tylersmith has quit [*.net *.split]
crayfishx has quit [*.net *.split]
bodgix has quit [*.net *.split]
teotwaki has quit [*.net *.split]
angiebadillo has quit [*.net *.split]
krasnus has quit [*.net *.split]
heyimwill has quit [*.net *.split]
Phage has quit [*.net *.split]
marienz has quit [*.net *.split]
klingeldraht has quit [*.net *.split]
Diabolik has quit [*.net *.split]
Marc- has quit [*.net *.split]
duckson- has quit [*.net *.split]
joaomdmoura_ has quit [*.net *.split]
sideshowcoder has quit [*.net *.split]
lancetw has quit [*.net *.split]
jxf has quit [*.net *.split]
cbetta has quit [*.net *.split]
ddv has quit [*.net *.split]
chrisseaton has quit [*.net *.split]
Eleeleth has quit [*.net *.split]
halfdan has quit [*.net *.split]
atmosx has quit [*.net *.split]
mroth has quit [*.net *.split]
mikolalysenko has quit [*.net *.split]
bjeanes has quit [*.net *.split]
mjc_ has quit [*.net *.split]
knowtheory has quit [*.net *.split]
ckrailo has quit [*.net *.split]
glowcoil has quit [*.net *.split]
zemmihates has quit [*.net *.split]
jeregrine has quit [*.net *.split]
adambeynon has quit [*.net *.split]
ndrst has quit [*.net *.split]
bryancp has quit [*.net *.split]
schaary has quit [*.net *.split]
akahn has quit [*.net *.split]
ramblinpeck has quit [*.net *.split]
dmoe has quit [*.net *.split]
zipkid has quit [*.net *.split]
jpinnix______ has quit [*.net *.split]
ddfreyne_ has quit [*.net *.split]
User458764 has quit [*.net *.split]
big|bad|wolf has quit [*.net *.split]
rikkipitt has quit [*.net *.split]
Yzguy has quit [*.net *.split]
DexterLB has quit [*.net *.split]
johnlinvc has quit [*.net *.split]
Rodya_ has quit [*.net *.split]
Jardayn has quit [*.net *.split]
sandstrom has quit [*.net *.split]
malconis has quit [*.net *.split]
moeabdol has quit [*.net *.split]
sankaber has quit [*.net *.split]
gusTester has quit [*.net *.split]
Azure|dc has quit [*.net *.split]
prestorium has quit [*.net *.split]
danielpclark has quit [*.net *.split]
azgil has quit [*.net *.split]
aspiers has quit [*.net *.split]
rodfersou|lunch has quit [*.net *.split]
ibouvousaime has quit [*.net *.split]
Peg-leg has quit [*.net *.split]
edwinvdgraaf has quit [*.net *.split]
blaxter has quit [*.net *.split]
nettoweb has quit [*.net *.split]
jas02 has quit [*.net *.split]
agit0 has quit [*.net *.split]
skweek has quit [*.net *.split]
cwheeler has quit [*.net *.split]
braincrash has quit [*.net *.split]
xxneolithicxx has quit [*.net *.split]
waka has quit [*.net *.split]
queequeg1 has quit [*.net *.split]
hakunin has quit [*.net *.split]
chinmay_dd has quit [*.net *.split]
Spleeze has quit [*.net *.split]
pietr0 has quit [*.net *.split]
sphex has quit [*.net *.split]
jgorak has quit [*.net *.split]
M-prosodyContext has quit [*.net *.split]
spacemud has quit [*.net *.split]
tsou has quit [*.net *.split]
Rutix has quit [*.net *.split]
shawnacscott has quit [*.net *.split]
rdema has quit [*.net *.split]
xet7 has quit [*.net *.split]
saltsa has quit [*.net *.split]
lianj has quit [*.net *.split]
djanatyn has quit [*.net *.split]
quarcu has quit [*.net *.split]
braidn has quit [*.net *.split]
j2k has quit [*.net *.split]
contradictioned has quit [*.net *.split]
JoL1hAHN has quit [*.net *.split]
Guest85414______ has quit [*.net *.split]
noodle has quit [*.net *.split]
aibot has quit [*.net *.split]
MissionCritical has quit [*.net *.split]
hagabaka has quit [*.net *.split]
IceDragon has quit [*.net *.split]
konopka has quit [*.net *.split]
Esya has quit [*.net *.split]
snapcase has quit [*.net *.split]
Voker57 has quit [*.net *.split]
hollywood has quit [*.net *.split]
lnx has quit [*.net *.split]
douglass_ has quit [*.net *.split]
ruisantos has quit [*.net *.split]
ja has quit [*.net *.split]
groundnuty has quit [*.net *.split]
Veejay has quit [*.net *.split]
genpaku has quit [*.net *.split]
helpa has quit [*.net *.split]
kith has quit [*.net *.split]
xybre has quit [*.net *.split]
KramerC has quit [*.net *.split]
beagles has quit [*.net *.split]
segy has quit [*.net *.split]
__main__ has quit [*.net *.split]
nizmow- has quit [*.net *.split]
ekleog has quit [*.net *.split]
sts__ has quit [*.net *.split]
matti has quit [*.net *.split]
ir2ivps3__ has quit [*.net *.split]
klaas has quit [*.net *.split]
matled has quit [*.net *.split]
bhaak has quit [*.net *.split]
utkarsh_ has quit [*.net *.split]
yasu___ has quit [*.net *.split]
Radar has quit [*.net *.split]
ekem has quit [*.net *.split]
djellemah has quit [*.net *.split]
dualbus has quit [*.net *.split]
sunya7a has quit [*.net *.split]
veloutin has quit [*.net *.split]
ec\_ has quit [*.net *.split]
\13k_ has quit [*.net *.split]
uxp has quit [*.net *.split]
DefV_ has quit [*.net *.split]
janelleb has quit [*.net *.split]
monoprotic has quit [*.net *.split]
Eising has quit [*.net *.split]
tokik has quit [*.net *.split]
gf3 has quit [*.net *.split]
rfi_ has quit [*.net *.split]
torpig has quit [*.net *.split]
ss_ss_ has quit [*.net *.split]
wlanboy_ has quit [*.net *.split]
Antiarc_ has quit [*.net *.split]
patteh has quit [*.net *.split]
ericwood_ has quit [*.net *.split]
sulky has quit [*.net *.split]
musl has quit [*.net *.split]
fold3 has quit [*.net *.split]
izzol has quit [*.net *.split]
Gnubie_ has quit [*.net *.split]
sunya7a_ has quit [*.net *.split]
adam_ has quit [*.net *.split]
Freijo has quit [*.net *.split]
Jamo_ has quit [*.net *.split]
fumduq- has quit [*.net *.split]
Guest28511 has quit [*.net *.split]
mduca_ has quit [*.net *.split]
alvaro_o has quit [*.net *.split]
tercenya has quit [*.net *.split]
madhatter has quit [*.net *.split]
M-Technic has quit [*.net *.split]
kiki_lamb has quit [*.net *.split]
bubuntu_ has quit [*.net *.split]
OmegaA_ has quit [*.net *.split]
ccooke has quit [*.net *.split]
evil_shibe has quit [*.net *.split]
droptone has quit [*.net *.split]
jidar has quit [*.net *.split]
low-profile has quit [*.net *.split]
exceion_ has quit [*.net *.split]
sjohnsen has quit [*.net *.split]
iDavid has quit [*.net *.split]
peterhu has quit [*.net *.split]
sung has quit [*.net *.split]
slash_nick has quit [*.net *.split]
qpls_ has quit [*.net *.split]
DylanJ has quit [*.net *.split]
z4ph0d has quit [*.net *.split]
ex0ns has quit [*.net *.split]
sami has quit [*.net *.split]
nitrix has quit [*.net *.split]
moredhel has quit [*.net *.split]
lucas has quit [*.net *.split]
KrzaQ has quit [*.net *.split]
BaNzounet has quit [*.net *.split]
iszak has quit [*.net *.split]
sethetter has quit [*.net *.split]
thomas has quit [*.net *.split]
AnoHito has quit [*.net *.split]
oz has quit [*.net *.split]
segmond has quit [*.net *.split]
yokel has quit [*.net *.split]
yonatankoren has quit [*.net *.split]
hostess has quit [*.net *.split]
roger_rabbit has quit [*.net *.split]
frog0909 has quit [*.net *.split]
FifthWall has quit [*.net *.split]
canton7 has quit [*.net *.split]
wedgwood has quit [*.net *.split]
guardian has quit [*.net *.split]
jcp has quit [*.net *.split]
ereslibre_laptop has quit [*.net *.split]
ghr has quit [*.net *.split]
lguardiola has quit [*.net *.split]
Evan_ has quit [*.net *.split]
j416 has quit [*.net *.split]
sekrit has quit [*.net *.split]
JoshL has quit [*.net *.split]
Jello_Raptor has quit [*.net *.split]
rejerson69_ has quit [*.net *.split]
bigkevmcd has quit [*.net *.split]
isene has quit [*.net *.split]
JiYu has quit [*.net *.split]
inoperable has quit [*.net *.split]
bmn_ has quit [*.net *.split]
retornam has quit [*.net *.split]
bafbomb_ has quit [*.net *.split]
nomadic_ has quit [*.net *.split]
pwned has quit [*.net *.split]
raenk has quit [*.net *.split]
Sebastia1Thorn has quit [*.net *.split]
deavidsedice has quit [*.net *.split]
Sigma00 has quit [*.net *.split]
sjums has quit [*.net *.split]
gypsydave5 has quit [*.net *.split]
varesa_ has quit [*.net *.split]
v0n has quit [*.net *.split]
TheRealPygo has quit [*.net *.split]
olblak has quit [*.net *.split]
Ankhers has quit [*.net *.split]
ByronJohnson has quit [*.net *.split]
Zarthus has quit [*.net *.split]
Prira has quit [*.net *.split]
tubbo has quit [*.net *.split]
miah has quit [*.net *.split]
hfp_work has quit [*.net *.split]
monsieurp has quit [*.net *.split]
arcanez has quit [*.net *.split]
cout has quit [*.net *.split]
crankharder has quit [*.net *.split]
niko has quit [*.net *.split]
nug has quit [*.net *.split]
scpike_ has quit [*.net *.split]
ahuman has quit [*.net *.split]
nickjj has quit [*.net *.split]
bluntman has quit [*.net *.split]
Raboo has quit [*.net *.split]
parus has quit [*.net *.split]
nibbo has quit [*.net *.split]
Guest34193 has quit [*.net *.split]
sevin has quit [*.net *.split]
jayne has quit [*.net *.split]
machty has quit [Max SendQ exceeded]
ggherdov has quit [Max SendQ exceeded]
frankS2 has quit [Max SendQ exceeded]
GGMethos has joined #ruby
frankS2 has joined #ruby
kobain has joined #ruby
inoperable has joined #ruby
pizzaops has joined #ruby
rvchangue has joined #ruby
tulak has joined #ruby
eregon_ has joined #ruby
ggherdov has joined #ruby
ghormoon has quit [Max SendQ exceeded]
ELCALOR has quit [Max SendQ exceeded]
frankS2 has quit [Max SendQ exceeded]
tejasmanohar has quit [Max SendQ exceeded]
ghormoon_ has joined #ruby
vbatts|work has joined #ruby
vbatts|work has left #ruby [#ruby]
<socialjackie> Net::HTTP.start("yoursite", use_ssl: true, cert_file: "yoursite.pem")
InvGhost has joined #ruby
tejasmanohar has joined #ruby
ELCALOR has joined #ruby
<ddubs> the question was worded as if he wanted to read the cert from the connection and then *trust* from there
frankS2 has joined #ruby
<apeiros> that would make little sense then, though. essentially the same as verify=none
<ddubs> yea
mighty_gorilla has joined #ruby
InvGhost has quit [Ping timeout: 264 seconds]
ghormoon_ has quit [Remote host closed the connection]
ghormoon has joined #ruby
vifino has joined #ruby
IceDragon has joined #ruby
Guest85414______ has joined #ruby
big|bad|wolf has joined #ruby
rubie has joined #ruby
vondruch has joined #ruby
s2013 has joined #ruby
allyjweir has joined #ruby
ElSif has joined #ruby
null3 has joined #ruby
hackeron has joined #ruby
yxhuvud has joined #ruby
alakra has joined #ruby
purplexed- has joined #ruby
cycorld has joined #ruby
astrobunny has joined #ruby
moss has joined #ruby
infernix has joined #ruby
Spleeze has joined #ruby
bytecrawler has joined #ruby
symm- has joined #ruby
solenoids has joined #ruby
Lilian has joined #ruby
Luna_Moonfang has joined #ruby
unsymbol has joined #ruby
Papierkorb has joined #ruby
rghose has joined #ruby
uber has joined #ruby
Helheim has joined #ruby
existensil has joined #ruby
kalleth has joined #ruby
Couch has joined #ruby
majjoha_ has joined #ruby
gilesww has joined #ruby
xnr has joined #ruby
g3funk has joined #ruby
lxsameer has joined #ruby
lkba has joined #ruby
SCHAAP137 has joined #ruby
jokester has joined #ruby
pdoherty has joined #ruby
platzhirsch has joined #ruby
tenderlove has joined #ruby
kxc0re has joined #ruby
Biohazard has joined #ruby
gaussblurinc1 has joined #ruby
kramsee has joined #ruby
dfoolz has joined #ruby
Freeaqingme has joined #ruby
Shapeshifter has joined #ruby
yasu___ has joined #ruby
danoo_ has joined #ruby
Asher has joined #ruby
scroff has joined #ruby
BTRE has joined #ruby
argoneus has joined #ruby
sarlalian has joined #ruby
BraddPitt has joined #ruby
chridal has joined #ruby
rclements has joined #ruby
Ishido has joined #ruby
casadei has joined #ruby
bradc has joined #ruby
hinbody has joined #ruby
PaulePanter has joined #ruby
unreal has joined #ruby
_stu_ has joined #ruby
bascht has joined #ruby
grotewold has joined #ruby
trautwein has joined #ruby
nisstyre has joined #ruby
reaVer has joined #ruby
yorickpeterse has joined #ruby
Puffball has joined #ruby
cinik has joined #ruby
pragmatism has joined #ruby
moei has joined #ruby
Guest90348 has joined #ruby
oddalot has joined #ruby
connor_goodwolf has joined #ruby
workmad3 has joined #ruby
mosez has joined #ruby
Kuukunen has joined #ruby
bnagy has joined #ruby
linduxed has joined #ruby
fluchtreflex has joined #ruby
Ray` has joined #ruby
Vile` has joined #ruby
freeze has joined #ruby
kallisti5 has joined #ruby
alol has joined #ruby
[ace] has joined #ruby
badeball has joined #ruby
sysanthrope has joined #ruby
cfloare has joined #ruby
xsdg has joined #ruby
passcod has joined #ruby
programmerq has joined #ruby
ozzloy has joined #ruby
Guest726 has joined #ruby
euoia has joined #ruby
TTilus has joined #ruby
DEac- has joined #ruby
DrShoggoth has joined #ruby
yeltzooo has joined #ruby
james1 has joined #ruby
Bish has joined #ruby
suffice has joined #ruby
coffeejunk has joined #ruby
rethi has joined #ruby
ironcamel has joined #ruby
axisys has joined #ruby
Koshian has joined #ruby
stephenh has joined #ruby
[dmp] has joined #ruby
kent\n has joined #ruby
Skelz0r has joined #ruby
rmrrn has joined #ruby
Drakevr has joined #ruby
crowell has joined #ruby
ljarvis has joined #ruby
bewie has joined #ruby
ajaiswal has joined #ruby
conrfrmn has joined #ruby
musicmatze has joined #ruby
sugardrunk has joined #ruby
Guest50975 has joined #ruby
async_prince has joined #ruby
ZYPP has joined #ruby
Silex has joined #ruby
pl1ght has joined #ruby
hplar has joined #ruby
gamache has joined #ruby
thang has joined #ruby
boshhead has joined #ruby
flori has joined #ruby
hightower4 has joined #ruby
marahin has joined #ruby
joneshf-laptop has joined #ruby
certainty has joined #ruby
VladGh has joined #ruby
woodruffw has joined #ruby
jericon has joined #ruby
mercerist has joined #ruby
pyoor has joined #ruby
<pyoor> hi all. Is there a recommended gem for monitoring a process's cpu usage on windows?
sjohnsen has joined #ruby
davedev2_ has joined #ruby
quarcu has joined #ruby
Amnez777 has joined #ruby
bradc has quit [*.net *.split]
s2013 has quit [*.net *.split]
Spleeze has quit [*.net *.split]
Guest90348 has quit [*.net *.split]
symm- has quit [*.net *.split]
Luna_Moonfang has quit [*.net *.split]
Helheim has quit [*.net *.split]
kxc0re has quit [*.net *.split]
uber has quit [*.net *.split]
yasu___ has quit [*.net *.split]
g3funk has quit [*.net *.split]
_stu_ has quit [*.net *.split]
pragmatism has quit [*.net *.split]
grotewold has quit [*.net *.split]
lkba has quit [*.net *.split]
casadei has quit [*.net *.split]
allyjweir has quit [*.net *.split]
purplexed- has quit [*.net *.split]
Puffball has quit [*.net *.split]
Ishido has quit [*.net *.split]
platzhirsch has quit [*.net *.split]
Couch has quit [*.net *.split]
SCHAAP137 has quit [*.net *.split]
cinik has quit [*.net *.split]
lxsameer has quit [*.net *.split]
trautwein has quit [*.net *.split]
rghose has quit [*.net *.split]
gaussblurinc1 has quit [*.net *.split]
cycorld has quit [*.net *.split]
BTRE has quit [*.net *.split]
astrobunny has quit [*.net *.split]
workmad3 has quit [*.net *.split]
hackeron has quit [*.net *.split]
unsymbol has quit [*.net *.split]
pdoherty has quit [*.net *.split]
alakra has quit [*.net *.split]
infernix has quit [*.net *.split]
connor_goodwolf has quit [*.net *.split]
rclements has quit [*.net *.split]
reaVer has quit [*.net *.split]
ElSif has quit [*.net *.split]
solenoids has quit [*.net *.split]
Asher has quit [*.net *.split]
sarlalian has quit [*.net *.split]
chridal has quit [*.net *.split]
jokester has quit [*.net *.split]
null3 has quit [*.net *.split]
moei has quit [*.net *.split]
yxhuvud has quit [*.net *.split]
Biohazard has quit [*.net *.split]
hinbody has quit [*.net *.split]
tenderlove has quit [*.net *.split]
Papierkorb has quit [*.net *.split]
scroff has quit [*.net *.split]
BraddPitt has quit [*.net *.split]
existensil has quit [*.net *.split]
moss has quit [*.net *.split]
oddalot has quit [*.net *.split]
dfoolz has quit [*.net *.split]
unreal has quit [*.net *.split]
danoo_ has quit [*.net *.split]
majjoha_ has quit [*.net *.split]
Freeaqingme has quit [*.net *.split]
Lilian has quit [*.net *.split]
kramsee has quit [*.net *.split]
xnr has quit [*.net *.split]
PaulePanter has quit [*.net *.split]
yorickpeterse has quit [*.net *.split]
Shapeshifter has quit [*.net *.split]
nisstyre has quit [*.net *.split]
bytecrawler has quit [*.net *.split]
kalleth has quit [*.net *.split]
gilesww has quit [*.net *.split]
bascht has quit [*.net *.split]
kent\n has quit [*.net *.split]
musicmatze has quit [*.net *.split]
alol has quit [*.net *.split]
ajaiswal has quit [*.net *.split]
linduxed has quit [*.net *.split]
passcod has quit [*.net *.split]
sysanthrope has quit [*.net *.split]
yeltzooo has quit [*.net *.split]
badeball has quit [*.net *.split]
xsdg has quit [*.net *.split]
bewie has quit [*.net *.split]
mosez has quit [*.net *.split]
gamache has quit [*.net *.split]
thang has quit [*.net *.split]
axisys has quit [*.net *.split]
ljarvis has quit [*.net *.split]
jericon has quit [*.net *.split]
bnagy has quit [*.net *.split]
pl1ght has quit [*.net *.split]
certainty has quit [*.net *.split]
conrfrmn has quit [*.net *.split]
suffice has quit [*.net *.split]
james1 has quit [*.net *.split]
rmrrn has quit [*.net *.split]
programmerq has quit [*.net *.split]
sugardrunk has quit [*.net *.split]
[dmp] has quit [*.net *.split]
Silex has quit [*.net *.split]
async_prince has quit [*.net *.split]
TTilus has quit [*.net *.split]
coffeejunk has quit [*.net *.split]
Guest50975 has quit [*.net *.split]
argoneus has quit [*.net *.split]
ZYPP has quit [*.net *.split]
stephenh has quit [*.net *.split]
Guest726 has quit [*.net *.split]
ironcamel has quit [*.net *.split]
rethi has quit [*.net *.split]
DEac- has quit [*.net *.split]
freeze has quit [*.net *.split]
woodruffw has quit [*.net *.split]
Vile` has quit [*.net *.split]
Kuukunen has quit [*.net *.split]
crowell has quit [*.net *.split]
flori has quit [*.net *.split]
VladGh has quit [*.net *.split]
Ray` has quit [*.net *.split]
Drakevr has quit [*.net *.split]
hplar has quit [*.net *.split]
DrShoggoth has quit [*.net *.split]
ozzloy has quit [*.net *.split]
euoia has quit [*.net *.split]
cfloare has quit [*.net *.split]
joneshf-laptop has quit [*.net *.split]
boshhead has quit [*.net *.split]
marahin has quit [*.net *.split]
hightower4 has quit [*.net *.split]
Bish has quit [*.net *.split]
[ace] has quit [*.net *.split]
Skelz0r has quit [*.net *.split]
kallisti5 has quit [*.net *.split]
Koshian has quit [*.net *.split]
fluchtreflex has quit [*.net *.split]
Amnez777 has quit [Remote host closed the connection]
<adaedra> I thought freenode got better
bradc has joined #ruby
moeabdol has joined #ruby
howdoicomputer has joined #ruby
sivoais has joined #ruby
howdoicomputer has quit [Ping timeout: 260 seconds]
Gnut has joined #ruby
jefus has joined #ruby
User458764 has joined #ruby
podman has joined #ruby
bradc has quit [Ping timeout: 260 seconds]
snockerton has joined #ruby
snockerton has quit [Client Quit]
podman has quit [Client Quit]
snockerton has joined #ruby
podman has joined #ruby
rodfersou has joined #ruby
rodfersou has quit [Client Quit]
tildes has joined #ruby
pandaant has joined #ruby
Outlastsheep has joined #ruby
lucas has joined #ruby
thomas has joined #ruby
sepp2k has joined #ruby
karapetyan has joined #ruby
sung has joined #ruby
rodfersou has joined #ruby
iDavid has joined #ruby
exceion_ has joined #ruby
low-profile has joined #ruby
sami has joined #ruby
sethetter has joined #ruby
nitrix has joined #ruby
KrzaQ has joined #ruby
qpls_ has joined #ruby
droptone has joined #ruby
bubuntu_ has joined #ruby
DylanJ has joined #ruby
moredhel has joined #ruby
slash_nick has joined #ruby
ex0ns has joined #ruby
jidar has joined #ruby
kiki_lamb has joined #ruby
patteh has joined #ruby
sulky has joined #ruby
alvaro_o has joined #ruby
madhatter has joined #ruby
musl has joined #ruby
sunya7a_ has joined #ruby
Eising has joined #ruby
Radar has joined #ruby
uxp has joined #ruby
janelleb has joined #ruby
torpig has joined #ruby
\13k_ has joined #ruby
Voker57 has joined #ruby
ekem has joined #ruby
monoprotic has joined #ruby
helpa has joined #ruby
lianj has joined #ruby
konopka has joined #ruby
aibot has joined #ruby
ekleog has joined #ruby
beagles has joined #ruby
Esya has joined #ruby
shawnacscott has joined #ruby
djellemah has joined #ruby
genpaku has joined #ruby
tokik has joined #ruby
JoL1hAHN has joined #ruby
saltsa has joined #ruby
tercenya has joined #ruby
DefV_ has joined #ruby
sunya7a has joined #ruby
xet7 has joined #ruby
snapcase has joined #ruby
jgorak has joined #ruby
aspiers has joined #ruby
jericon has joined #ruby
pl1ght has joined #ruby
Asher has joined #ruby
queequeg1 has joined #ruby
hightower4 has joined #ruby
s2013 has joined #ruby
lxsameer has joined #ruby
workmad3 has joined #ruby
crowell has joined #ruby
skweek has joined #ruby
unsymbol has joined #ruby
rclements has joined #ruby
Lilian has joined #ruby
braincrash has joined #ruby
ozzloy has joined #ruby
boshhead has joined #ruby
linduxed has joined #ruby
purplexed- has joined #ruby
waka has joined #ruby
gf3 has joined #ruby
ibouvousaime has joined #ruby
badeball has joined #ruby
sugardrunk has joined #ruby
Puffball has joined #ruby
18VAADQYW has joined #ruby
infernix has joined #ruby
ljarvis has joined #ruby
prestorium has joined #ruby
connor_goodwolf has joined #ruby
yorickpeterse has joined #ruby
pragmatism has joined #ruby
PaulePanter has joined #ruby
bewie has joined #ruby
existensil has joined #ruby
pietr0 has joined #ruby
mary5030 has joined #ruby
j2k has joined #ruby
VladGh has joined #ruby
TTilus has joined #ruby
kent\n has joined #ruby
symm- has joined #ruby
[dmp] has joined #ruby
azgil has joined #ruby
xsdg has joined #ruby
gaussblurinc1 has joined #ruby
hakunin has joined #ruby
axisys has joined #ruby
yeltzooo has joined #ruby
Guest726 has joined #ruby
suffice has joined #ruby
DrShoggoth has joined #ruby
Skelz0r has joined #ruby
MissionCritical has joined #ruby
Kuukunen has joined #ruby
bascht has joined #ruby
Ray` has joined #ruby
cwheeler has joined #ruby
rethi has joined #ruby
kramsee has joined #ruby
ZYPP has joined #ruby
flori has joined #ruby
edwinvdgraaf has joined #ruby
alol has joined #ruby
Guest90348 has joined #ruby
blaxter has joined #ruby
BTRE has joined #ruby
hackeron has joined #ruby
uri has joined #ruby
moss has joined #ruby
woodruffw has joined #ruby
cwong_on_irc has joined #ruby
evil_shibe has joined #ruby
sphex has joined #ruby
marahin has joined #ruby
Papierkorb has joined #ruby
ElSif has joined #ruby
majjoha_ has joined #ruby
reaVer has joined #ruby
[ace] has joined #ruby
rmrrn has joined #ruby
hinbody has joined #ruby
Jardayn has joined #ruby
yasu___ has joined #ruby
moei has joined #ruby
malconis has joined #ruby
joneshf-laptop has joined #ruby
DEac- has joined #ruby
Helheim has joined #ruby
Biohazard has joined #ruby
thang has joined #ruby
cycorld has joined #ruby
ironcamel has joined #ruby
dfoolz has joined #ruby
musicmatze has joined #ruby
euoia has joined #ruby
Koshian has joined #ruby
james1 has joined #ruby
Bish has joined #ruby
hplar has joined #ruby
stephenh has joined #ruby
sysanthrope has joined #ruby
moeabdol has quit [Quit: WeeChat 1.3]
jefus has left #ruby ["Leaving"]
moeabdol has joined #ruby
snockerton1 has joined #ruby
sivoais has quit [Ping timeout: 260 seconds]
snockerton has quit [Ping timeout: 265 seconds]
podman has quit []
ponzi has joined #ruby
dfoolz_ has joined #ruby
big|bad|wolf has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tildes has quit [*.net *.split]
karapetyan has quit [*.net *.split]
pandaant has quit [*.net *.split]
mary5030 has quit [*.net *.split]
18VAADQYW has quit [*.net *.split]
s2013 has quit [*.net *.split]
MissionCritical has quit [*.net *.split]
Guest90348 has quit [*.net *.split]
symm- has quit [*.net *.split]
Helheim has quit [*.net *.split]
pragmatism has quit [*.net *.split]
purplexed- has quit [*.net *.split]
Puffball has quit [*.net *.split]
lxsameer has quit [*.net *.split]
gaussblurinc1 has quit [*.net *.split]
cycorld has quit [*.net *.split]
BTRE has quit [*.net *.split]
workmad3 has quit [*.net *.split]
hackeron has quit [*.net *.split]
unsymbol has quit [*.net *.split]
infernix has quit [*.net *.split]
connor_goodwolf has quit [*.net *.split]
rclements has quit [*.net *.split]
reaVer has quit [*.net *.split]
ElSif has quit [*.net *.split]
Asher has quit [*.net *.split]
moei has quit [*.net *.split]
Biohazard has quit [*.net *.split]
hinbody has quit [*.net *.split]
Papierkorb has quit [*.net *.split]
existensil has quit [*.net *.split]
moss has quit [*.net *.split]
dfoolz has quit [*.net *.split]
majjoha_ has quit [*.net *.split]
Lilian has quit [*.net *.split]
kramsee has quit [*.net *.split]
PaulePanter has quit [*.net *.split]
yorickpeterse has quit [*.net *.split]
bascht has quit [*.net *.split]
kent\n has quit [*.net *.split]
musicmatze has quit [*.net *.split]
alol has quit [*.net *.split]
linduxed has quit [*.net *.split]
yeltzooo has quit [*.net *.split]
xsdg has quit [*.net *.split]
badeball has quit [*.net *.split]
bewie has quit [*.net *.split]
thang has quit [*.net *.split]
axisys has quit [*.net *.split]
ljarvis has quit [*.net *.split]
jericon has quit [*.net *.split]
pl1ght has quit [*.net *.split]
suffice has quit [*.net *.split]
james1 has quit [*.net *.split]
rmrrn has quit [*.net *.split]
sugardrunk has quit [*.net *.split]
[dmp] has quit [*.net *.split]
TTilus has quit [*.net *.split]
ZYPP has quit [*.net *.split]
stephenh has quit [*.net *.split]
Guest726 has quit [*.net *.split]
ironcamel has quit [*.net *.split]
rethi has quit [*.net *.split]
DEac- has quit [*.net *.split]
woodruffw has quit [*.net *.split]
Kuukunen has quit [*.net *.split]
crowell has quit [*.net *.split]
flori has quit [*.net *.split]
VladGh has quit [*.net *.split]
Ray` has quit [*.net *.split]
hplar has quit [*.net *.split]
DrShoggoth has quit [*.net *.split]
ozzloy has quit [*.net *.split]
euoia has quit [*.net *.split]
joneshf-laptop has quit [*.net *.split]
boshhead has quit [*.net *.split]
marahin has quit [*.net *.split]
hightower4 has quit [*.net *.split]
Bish has quit [*.net *.split]
[ace] has quit [*.net *.split]
Skelz0r has quit [*.net *.split]
Koshian has quit [*.net *.split]
rodfersou has quit [*.net *.split]
Outlastsheep has quit [*.net *.split]
sepp2k has quit [*.net *.split]
yasu___ has quit [*.net *.split]
cwong_on_irc has quit [*.net *.split]
uri has quit [*.net *.split]
prestorium has quit [*.net *.split]
j2k has quit [*.net *.split]
Jardayn has quit [*.net *.split]
malconis has quit [*.net *.split]
azgil has quit [*.net *.split]
aspiers has quit [*.net *.split]
ibouvousaime has quit [*.net *.split]
edwinvdgraaf has quit [*.net *.split]
blaxter has quit [*.net *.split]
skweek has quit [*.net *.split]
cwheeler has quit [*.net *.split]
braincrash has quit [*.net *.split]
waka has quit [*.net *.split]
queequeg1 has quit [*.net *.split]
hakunin has quit [*.net *.split]
pietr0 has quit [*.net *.split]
sphex has quit [*.net *.split]
jgorak has quit [*.net *.split]
shawnacscott has quit [*.net *.split]
xet7 has quit [*.net *.split]
saltsa has quit [*.net *.split]
lianj has quit [*.net *.split]
JoL1hAHN has quit [*.net *.split]
aibot has quit [*.net *.split]
konopka has quit [*.net *.split]
Esya has quit [*.net *.split]
snapcase has quit [*.net *.split]
Voker57 has quit [*.net *.split]
genpaku has quit [*.net *.split]
helpa has quit [*.net *.split]
beagles has quit [*.net *.split]
ekleog has quit [*.net *.split]
Radar has quit [*.net *.split]
ekem has quit [*.net *.split]
djellemah has quit [*.net *.split]
sunya7a has quit [*.net *.split]
\13k_ has quit [*.net *.split]
uxp has quit [*.net *.split]
DefV_ has quit [*.net *.split]
janelleb has quit [*.net *.split]
monoprotic has quit [*.net *.split]
Eising has quit [*.net *.split]
tokik has quit [*.net *.split]
gf3 has quit [*.net *.split]
torpig has quit [*.net *.split]
patteh has quit [*.net *.split]
sulky has quit [*.net *.split]
musl has quit [*.net *.split]
sunya7a_ has quit [*.net *.split]
alvaro_o has quit [*.net *.split]
tercenya has quit [*.net *.split]
madhatter has quit [*.net *.split]
kiki_lamb has quit [*.net *.split]
bubuntu_ has quit [*.net *.split]
evil_shibe has quit [*.net *.split]
droptone has quit [*.net *.split]
jidar has quit [*.net *.split]
low-profile has quit [*.net *.split]
exceion_ has quit [*.net *.split]
iDavid has quit [*.net *.split]
sung has quit [*.net *.split]
slash_nick has quit [*.net *.split]
qpls_ has quit [*.net *.split]
DylanJ has quit [*.net *.split]
ex0ns has quit [*.net *.split]
sami has quit [*.net *.split]
nitrix has quit [*.net *.split]
moredhel has quit [*.net *.split]
lucas has quit [*.net *.split]
KrzaQ has quit [*.net *.split]
sethetter has quit [*.net *.split]
thomas has quit [*.net *.split]
Silex has joined #ruby
moeabdol has quit [Quit: WeeChat 1.3]
b4rb0s4_ has joined #ruby
mary5030_ has joined #ruby
M-prosodyContext has joined #ruby
maddmaxx has joined #ruby
shaman42 has joined #ruby
DEac- has joined #ruby
Guest726 has joined #ruby
dorei has joined #ruby
ljarvis has joined #ruby
flori has joined #ruby
[ace] has joined #ruby
TTilus has joined #ruby
suffice has joined #ruby
Ray` has joined #ruby
thang has joined #ruby
certainty has joined #ruby
james1 has joined #ruby
Vile` has joined #ruby
bnagy has joined #ruby
Koshian has joined #ruby
Kuukunen has joined #ruby
programmerq has joined #ruby
Guest50975 has joined #ruby
woodruffw has joined #ruby
ZYPP has joined #ruby
axisys has joined #ruby
fluchtreflex has joined #ruby
mosez has joined #ruby
gilesww has joined #ruby
stephenh has joined #ruby
Drakevr has joined #ruby
gamache has joined #ruby
[dmp] has joined #ruby
ironcamel has joined #ruby
bewie has joined #ruby
hplar has joined #ruby
coffeejunk has joined #ruby
async_prince has joined #ruby
musicmatze has joined #ruby
bytecrawler has joined #ruby
bascht has joined #ruby
nisstyre has joined #ruby
linduxed has joined #ruby
kent\n has joined #ruby
boshhead has joined #ruby
pandaant has joined #ruby
passcod has joined #ruby
VladGh has joined #ruby
DrShoggoth has joined #ruby
ozzloy has joined #ruby
kramsee has joined #ruby
rmrrn has joined #ruby
sepp2k has joined #ruby
PaulePanter has joined #ruby
joneshf-laptop has joined #ruby
Bish has joined #ruby
pl1ght has joined #ruby
yeltzooo has joined #ruby
ajaiswal has joined #ruby
marahin has joined #ruby
freeze has joined #ruby
kallisti5 has joined #ruby
hightower4 has joined #ruby
rodfersou has joined #ruby
Freeaqingme has joined #ruby
majjoha_ has joined #ruby
BraddPitt has joined #ruby
Lilian has joined #ruby
Biohazard has joined #ruby
null3 has joined #ruby
unreal has joined #ruby
oddalot has joined #ruby
rclements has joined #ruby
Shapeshifter has joined #ruby
existensil has joined #ruby
solenoids has joined #ruby
moss has joined #ruby
alakra has joined #ruby
unsymbol has joined #ruby
Puffball has joined #ruby
hinbody has joined #ruby
yxhuvud has joined #ruby
infernix has joined #ruby
BTRE has joined #ruby
Luna_Moonfang has joined #ruby
scroff has joined #ruby
reaVer has joined #ruby
purplexed- has joined #ruby
Asher has joined #ruby
Muz has joined #ruby
Papierkorb has joined #ruby
gf3 has joined #ruby
j2k has joined #ruby
Peg-leg has joined #ruby
grotewold has joined #ruby
djanatyn has joined #ruby
shawnacscott has joined #ruby
aibot has joined #ruby
chinmay_dd has joined #ruby
ibouvousaime has joined #ruby
astrobunny has joined #ruby
snapcase has joined #ruby
casadei has joined #ruby
edwinvdgraaf has joined #ruby
Guest90348 has joined #ruby
ja has joined #ruby
ruisantos has joined #ruby
Ishido has joined #ruby
danoo_ has joined #ruby
g3funk has joined #ruby
hackeron has joined #ruby
lnx has joined #ruby
beagles has joined #ruby
tenderlove has joined #ruby
uri has joined #ruby
symm- has joined #ruby
uber has joined #ruby
ghoti has joined #ruby
tsou has joined #ruby
Rodya_ has joined #ruby
workmad3 has joined #ruby
Spleeze has joined #ruby
konopka has joined #ruby
evil_shibe has joined #ruby
sarlalian has joined #ruby
connor_goodwolf has joined #ruby
blaxter has joined #ruby
allyjweir has joined #ruby
Couch has joined #ruby
noodle has joined #ruby
cinik has joined #ruby
xet7 has joined #ruby
saltsa has joined #ruby
ElSif has joined #ruby
braincrash has joined #ruby
contradictioned has joined #ruby
lianj has joined #ruby
ec\_ has joined #ruby
matti has joined #ruby
rfi_ has joined #ruby
z4ph0d has joined #ruby
ir2ivps3__ has joined #ruby
musl has joined #ruby
Jamo_ has joined #ruby
tokik has joined #ruby
exceion_ has joined #ruby
Eising has joined #ruby
adam_ has joined #ruby
janelleb has joined #ruby
ss_ss_ has joined #ruby
bhaak has joined #ruby
droptone has joined #ruby
uxp has joined #ruby
sulky has joined #ruby
Guest28511 has joined #ruby
utkarsh_ has joined #ruby
BaNzounet has joined #ruby
torpig has joined #ruby
qpls_ has joined #ruby
fumduq- has joined #ruby
sung has joined #ruby
ericwood_ has joined #ruby
mduca_ has joined #ruby
Antiarc_ has joined #ruby
alvaro_o has joined #ruby
sami has joined #ruby
moredhel has joined #ruby
madhatter has joined #ruby
klaas has joined #ruby
ex0ns has joined #ruby
nizmow- has joined #ruby
patteh has joined #ruby
wlanboy_ has joined #ruby
dualbus has joined #ruby
djellemah has joined #ruby
DylanJ has joined #ruby
moeabdol has joined #ruby
mary5030_ has quit [Remote host closed the connection]
b4rb0s4_ has quit [Max SendQ exceeded]
machty has joined #ruby
ggherdov has quit [Changing host]
ggherdov has joined #ruby
<ponzi> In IRB Array#take gives me all methods for Array and also renders Ctrl+D, Ctrl+C pretty useless. What am I doing wrong (OS X 10.9/rbenv/ruby 2.2.3)?
<ponzi> Sorry that should have been: help Array#take
<jhass> press q
<ponzi> jhass: How do I get the help for just the one method?
<jhass> use pry
<jhass> ?pry
<jhass> ah, bot is on the other side of the netsplit
grill has joined #ruby
jzigmund has joined #ruby
theRoUS has joined #ruby
frankS2 has quit [Changing host]
frankS2 has joined #ruby
ELCALOR has joined #ruby
tejasmanohar has joined #ruby
Guest85414______ has joined #ruby
tejasmanohar has quit [Changing host]
ELCALOR has quit [Changing host]
Guest85414______ has quit [Changing host]
vondruch has joined #ruby
vondruch has quit [Changing host]
matled- has joined #ruby
<havenwood> ponzi: If you'd like to disable paging (where long results stop at the first page) in Pry add this to your .pryrc: Pry.pager = false
matled- has quit [Write error: Broken pipe]
nisstyre has quit [Max SendQ exceeded]
<ponzi> jhass: PRY gives me: Error: No help found for 'Array#take'
grotewold has quit [Quit: Textual IRC Client: www.textualapp.com]
<jhass> ponzi: install pry-doc
aibot has quit [Ping timeout: 262 seconds]
<havenwood> ponzi: From inside Pry that'd be: gem-install pry-doc
argoneus has joined #ruby
moeabdol has quit [Quit: WeeChat 1.3]
aibot has joined #ruby
<havenwood> ponzi: Then: show-doc Array#take
DurstBurger has joined #ruby
<havenwood> ponzi: Or: show-source Array#take
moeabdol has joined #ruby
<dorei> $ and ? are shortcuts for show-doc and show-source
ljarvis has quit [Ping timeout: 245 seconds]
nisstyre has joined #ruby
snapcase has quit [Ping timeout: 260 seconds]
ruisantos has quit [Ping timeout: 260 seconds]
patteh has quit [Ping timeout: 260 seconds]
droptone has quit [Ping timeout: 260 seconds]
matled has joined #ruby
mary5030 has joined #ruby
Wsewolod has joined #ruby
allyjweir has quit [Ping timeout: 245 seconds]
Freeaqingme has quit [Ping timeout: 245 seconds]
marahin has quit [Ping timeout: 245 seconds]
tulak has quit [Remote host closed the connection]
cwong_on_irc has joined #ruby
sivoais has joined #ruby
bluOxigen has joined #ruby
ruisantos has joined #ruby
patteh has joined #ruby
MissionCritical has joined #ruby
KrzaQ has joined #ruby
marahin has joined #ruby
badeball has joined #ruby
IceDragon has quit [Quit: ZNC - http://znc.in]
moeabdol has quit [Quit: WeeChat 1.3]
IceDragon has joined #ruby
maloik has joined #ruby
sivoais has quit [Ping timeout: 260 seconds]
amclain has joined #ruby
uber has quit [Changing host]
uber has joined #ruby
desmondh_ has joined #ruby
moeabdol has joined #ruby
droptone has joined #ruby
devbug has joined #ruby
skade has joined #ruby
SCHAAP137 has joined #ruby
maddmaxx has quit [Remote host closed the connection]
rikkipitt has joined #ruby
brendan- has joined #ruby
weemsledeux has joined #ruby
ddv has joined #ruby
kies has joined #ruby
moeabdol has quit [Client Quit]
Luna_Moonfang has quit [Changing host]
Luna_Moonfang has joined #ruby
marahin is now known as Guest81294
IceDragon is now known as Guest12244
hobodave has joined #ruby
moeabdol has joined #ruby
Cork has joined #ruby
blaxter has quit [Quit: foo]
Brando753 has joined #ruby
Jardayn has joined #ruby
nettoweb has joined #ruby
othll0 has joined #ruby
Rodya_ has quit [Quit: Leaving...]
c355E3B has quit [Quit: Connection closed for inactivity]
segy has joined #ruby
hagabaka has joined #ruby
Anderson69s has joined #ruby
RegulationD has joined #ruby
sandstrom has joined #ruby
ruboto has joined #ruby
Azulinho has joined #ruby
lacuna has joined #ruby
lacuna has quit [Changing host]
lacuna has joined #ruby
snockerton1 has quit [Read error: Connection reset by peer]
snockerton has joined #ruby
yokel has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
argoneus has quit [Changing host]
argoneus has joined #ruby
PlasmaStar has joined #ruby
mary5030 has quit [Read error: Connection reset by peer]
ljarvis has joined #ruby
mary5030 has joined #ruby
Balzrael has joined #ruby
bronson has joined #ruby
<Balzrael> hello everyone
aadam21 has joined #ruby
towski_ has joined #ruby
yardenbar has joined #ruby
RobertBirnie has joined #ruby
<gregf_> hey Balzrael. hows it going?
bronson has quit [Ping timeout: 245 seconds]
Amnez777 has joined #ruby
Amnez777 has quit [Max SendQ exceeded]
Amnez777 has joined #ruby
Amnez777 has quit [Changing host]
Amnez777 has joined #ruby
edwinvdgraaf has quit [Ping timeout: 260 seconds]
Guest12244 is now known as IceDragon
h99h9h88 has joined #ruby
Xeago has joined #ruby
threh has joined #ruby
<jhass> ugh, when gets pry finally ported to slop 4 -.-
solars has joined #ruby
saddad has joined #ruby
Anderson69s has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sarkis has joined #ruby
<sarkis> whats the best way to set a hash[:key] if it doesn't exist ?
threh has quit [Remote host closed the connection]
<sarkis> good place to use ||=?
Xeago has quit [Remote host closed the connection]
symbol has joined #ruby
yoongkang has joined #ruby
<sarkis> seems to work - answered my own question lol
<gregf_> >> a = {};a[:foo] ||= 1; a
<ruboto> gregf_ # => {:foo=>1} (https://eval.in/479335)
h99h9h88 has quit [Remote host closed the connection]
Anderson69s has joined #ruby
wldcordeiro has joined #ruby
symbol has quit [Client Quit]
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
finisherr has joined #ruby
al2o3-cr has joined #ruby
al2o3-cr has quit [Client Quit]
symbol has joined #ruby
al2o3-cr has joined #ruby
zast has joined #ruby
<jhass> sarkis: depends on your definition of "not existing". hash[:foo] ||= bar will overwrite an existing key that's set to nil or false
<finisherr> For some reason the getaddrinfo method is missing from my Socket class
<finisherr> but I see it right here in the docs
<jhass> ?code
<ruboto> We can't help you without your code, please post it to https://gist.github.com
<jhass> also ruby -v?
karapetyan has joined #ruby
yoongkang has quit [Ping timeout: 260 seconds]
<finisherr> ruby 2.0.0p643 (2015-02-25 revision 49749) [x86_64-linux]
threh has joined #ruby
bradc has joined #ruby
InvGhost has joined #ruby
<al2o3-cr> finisherr: Socket.singleton_methods.include? :getaddrinfo :)
<al2o3-cr> or just .methods
symbol has quit [Ping timeout: 260 seconds]
benlieb has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
symbol has joined #ruby
<finisherr> Oh weird, it's got to be a symbol
<finisherr> Ok
<al2o3-cr> yep, cos that is what Socket.methods returns
<jhass> finisherr: respond_to? actually takes both, a symbol and a string
<jhass> don't do .methods.include?
bradc has quit [Ping timeout: 245 seconds]
<finisherr> Ok cool
twilling has joined #ruby
djstorm has joined #ruby
Snowy has joined #ruby
justinweiss has joined #ruby
simplyianm has joined #ruby
simplyianm has quit [Remote host closed the connection]
simplyianm has joined #ruby
pdoherty has joined #ruby
dotix has joined #ruby
dotix has quit [Changing host]
dotix has joined #ruby
bradc has joined #ruby
sleeparrow has joined #ruby
arup_r has joined #ruby
h99h9h88 has joined #ruby
Eiam has joined #ruby
Luming has joined #ruby
devbug has quit [Ping timeout: 260 seconds]
snapcase has joined #ruby
ponzi has quit [Quit: [BX] I'm off like a prom dress...]
big|bad|wolf has joined #ruby
mercerist has quit [Remote host closed the connection]
h99h9h88 has quit [Ping timeout: 260 seconds]
Guest81294 is now known as marahin
marahin has quit [Changing host]
marahin has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mrtomme has joined #ruby
Biohazard has quit [Ping timeout: 245 seconds]
User458764 has joined #ruby
Biohazard has joined #ruby
finisherr has quit [Quit: finisherr]
sigurding has joined #ruby
Freeaqingme has joined #ruby
<Synthead> I see a lot of gems with an x.y.z version. Is there a particular reason why they generally follow this pattern?
Guest90348 has quit [Quit: Leaving]
finisherr has joined #ruby
dopie has joined #ruby
<Synthead> Also, I'm developing a gem. Should I be concerned about following this?
<jhass> Synthead: semver.org
Snowy has quit [Remote host closed the connection]
colleenmcguckin has joined #ruby
pdoherty has quit [Ping timeout: 260 seconds]
colleenmcguckin has quit [Remote host closed the connection]
InvGhost has quit [Ping timeout: 264 seconds]
colleenmcguckin has joined #ruby
hxegon has joined #ruby
InvGhost has joined #ruby
rakm has joined #ruby
symbol has quit [Quit: WeeChat 1.1]
tildes has joined #ruby
platzhirsch has left #ruby [#ruby]
TomPeed has joined #ruby
Ruby_Rocks_007 has joined #ruby
rikkipitt has quit [Remote host closed the connection]
lkba has joined #ruby
banister has joined #ruby
mjuszczak has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
mjuszczak has joined #ruby
Ruby_Rocks_007 has quit [Client Quit]
[Butch] has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Eiam_ has joined #ruby
TheBloke- has joined #ruby
<shevy> like the linux kernel!
evidex has joined #ruby
s2013 has joined #ruby
Xeago has joined #ruby
pdoherty has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
gusTester has joined #ruby
evidex has quit [Remote host closed the connection]
sigurding has quit [Quit: sigurding]
mjuszczak has quit []
mary5030 has quit [Read error: Connection reset by peer]
jpfuentes2 has joined #ruby
Xeago has quit [Ping timeout: 260 seconds]
mary5030 has joined #ruby
codecop has joined #ruby
devbug has joined #ruby
jmonreal has joined #ruby
djbkd has joined #ruby
<hxegon> hey all
Hounddog has joined #ruby
<jmonreal> Why could I be getting undefined method `new' for Limits:Module (NoMethodError) when the method name developed is initialize
<jmonreal> shouldn't new call that method?
bronson has joined #ruby
<eam> jmonreal: did you type it with a single colon, just like that?
lacuna has quit [Read error: Connection reset by peer]
<eam> >> Foo:Bar.new
<ruboto> eam # => undefined method `new' for :Bar:Symbol (NoMethodError) ...check link for more (https://eval.in/479337)
lacuna has joined #ruby
lacuna has quit [Changing host]
lacuna has joined #ruby
<pontiki> jmonreal: .new applies to Class, not Module, i think
jobewan has joined #ruby
<pontiki> >> module X; end; X.new
<ruboto> pontiki # => undefined method `new' for X:Module (NoMethodError) ...check link for more (https://eval.in/479338)
<jmonreal> eam pontiki like this: https://bpaste.net/show/17e64ce1d263
pragmatism has joined #ruby
uber is now known as rubberduck93
<eam> jmonreal: gist code where you call new
<pontiki> that doesn't create a .new method on the module
bronson has quit [Ping timeout: 260 seconds]
<jmonreal> mmm and what does?
<pontiki> the .new method is def'd in Class
<jmonreal> because I've watching examples and they do have inside a class an initialize method
<jmonreal> which is called when called with new
<jhass> jmonreal: inside a class is the key here
<apeiros> eam: the message is inspect:class
<apeiros> so Limits is the value inspect returned
<apeiros> i.e. they called it on the Limits module
<jmonreal> jhass: so inside the class if I call a className.new that would work?
last_staff has joined #ruby
<eam> apeiros: ah
<apeiros> (and then we'd be at pontiki's answer)
<jmonreal> eam: I call new from outside
<jhass> jmonreal: let's try something different: Please try to answer the question, don't just say "i don't know": What is the difference between "class" and "module"?
<pontiki> class << self turns Limits into a singleton; you can only have *one* instance of a singleton, thus you can't create new instances of it
freerobby has joined #ruby
Peg-leg has quit [Quit: Leaving.]
spider-mario has joined #ruby
<pontiki> tho my understanding of that is shakey. these other folks can tell more about it
<jmonreal> jhass: modules provide methods that can be shared or used across multiple classes
<hxegon> pontiki: not exactly, but as I understand it ruby has trouble with implementing an actual singleton cleanly
<apeiros> pontiki: class << self doesn't turn it into a singleton
<jmonreal> a library
<pontiki> see?
devbug has quit [Remote host closed the connection]
<apeiros> it opens the singleton class of `self` (could put another object there too)
mclee has joined #ruby
<jmonreal> and classes are objects
<jhass> jmonreal: okay, so that's what modules can do what classes cannot. Why would we use classes? What can they do what modules cannot?
<jmonreal> an object is an instance of a class
<apeiros> and (almost) every object has a singleton_class, and that singleton_class belongs precisely only to that object
babblebre has joined #ruby
yardenbar has quit [Ping timeout: 245 seconds]
<apeiros> and it's the place where methods which are only for that object are stored. like "class" methods.
<apeiros> hope that explanation was helpful :)
* apeiros gotta run for the train now…
devbug has joined #ruby
<jmonreal> jhass: Classes to encapsulate certain behaviours of our object.
<jmonreal> Modules can not be instanciated? only classes can create objects?
<hxegon> Kind of a long shot, but does anyone have experience with :force_quotes option in CSV
<jmonreal> jhass: so what I would need here is a Class instead of a Module
<jmonreal> right?
yoongkang has joined #ruby
<hxegon> jmonreal: AFAIK, no.
<jmonreal> kinda lost here
<jhass> jmonreal: you would need a class
<jhass> jmonreal: and drop the class << self stuff
<jhass> jmonreal: now scroll up, you were told that like four or five times by now
idjet has joined #ruby
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
<jhass> ?anyone hxegon
<ruboto> hxegon, Just ask your question, if anyone has or can, they will respond.
<idjet> how come you have to wear a seatbelt in a car but not in a motorcycle? motorcycles are more dangerous then car
`based_pdev` has joined #ruby
<hxegon> idjet: because you don't want to be attached to a motorcycle when it crashes
<jhass> ?offtopic idjet
<ruboto> idjet, this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related problems. Thanks!
baweaver has joined #ruby
<jmonreal> jhass: thanks, and is it possible to require 'ClassName' ?
skade has quit [Quit: Computer has gone to sleep.]
akem has joined #ruby
<jhass> jmonreal: require loads files
<idjet> hexagon you don't want to be attached to a car either with that logic
<jhass> jmonreal: you give it filenames
<jmonreal> ok, thanks
<jhass> that files may or may not happen to define a class, module or whatever
<hxegon> idjet: no, a car is all around you, while you are very exposed during a crash on a motorcycle, but I'm moving this to offtopic
arup_r has quit []
Hounddog has quit [Ping timeout: 260 seconds]
jondot has joined #ruby
<argoneus> tbh if you crash a bike at high speed you are probably dead anyway
<hxegon> argoneus: very true.
mjuszczak has joined #ruby
<argoneus> and if you aren't dead you will wish you were
yoongkang has quit [Ping timeout: 260 seconds]
Ruby_Rocks_007 has joined #ruby
<hxegon> Does anyone have enough experience with the :force_quotes option in CSV to show me a working example of it?
<hxegon> jhass: that better? :)
<jhass> hxegon: a little bit. Even better would be to show what you tried and what your issue with your attempt is
bubbys has joined #ruby
<jhass> argoneus: #ruby-offtopic, for you too ;)
tomchapin has joined #ruby
asteros has joined #ruby
aphprentice has joined #ruby
User458764 has joined #ruby
devbug has quit [Read error: Connection reset by peer]
Snowy has joined #ruby
Ruby_Rocks_007 has quit [Client Quit]
bronson has joined #ruby
im0b has quit [Remote host closed the connection]
DoYouKnow has quit [Remote host closed the connection]
jabreity__ has quit [Remote host closed the connection]
Lloyd has quit [Remote host closed the connection]
yo61 has quit [Remote host closed the connection]
lacrosse has quit [Remote host closed the connection]
prosody has quit [Remote host closed the connection]
mrsolo has quit [Remote host closed the connection]
machty has quit [Remote host closed the connection]
Snowy has quit [Client Quit]
<argoneus> what the fuck
Jardayn_two has joined #ruby
<argoneus> is freenode being ddos'd again?
simplyianm has quit [Remote host closed the connection]
simplyianm has joined #ruby
devbug has joined #ruby
ht__ has joined #ruby
yardenbar has joined #ruby
simplyianm has quit [Remote host closed the connection]
simplyianm has joined #ruby
sivoais has joined #ruby
<shevy> LET'S COUNTERBOMB
BlackCoyote has joined #ruby
<blub> hi shevy
TheBloke- is now known as TheBloke
Jardayn_two has quit [Client Quit]
<idjet> is terrorism allowed in this chat room?
Jardayn_two has joined #ruby
Jardayn has quit [Ping timeout: 260 seconds]
shaman42 has quit [Ping timeout: 260 seconds]
ht__ has quit [Client Quit]
Jardayn_two has quit [Read error: Connection reset by peer]
stannard_ has joined #ruby
<sjums> how do I get the sum of an array of ints?
Xeago has joined #ruby
<adaedra> &ri Array#inject
<`derpy> method `Enumerable#inject`: Combines all elements of enum by applying a binary operation, specified by a blo… • http://rubydoc.info/stdlib/core/Enumerable#inject-instance_method
h99h9h88 has joined #ruby
<adaedra> Use this with Integer#+
<adaedra> Ah, the sample already shows it
mrsolo has joined #ruby
* sjums bows to adaedra
<sjums> thanks :)
ht__ has joined #ruby
<sjums> comes from C#, where there would be a .Sum() method :P
howdoi has joined #ruby
hahuang65 has joined #ruby
desmondh_ has quit [Remote host closed the connection]
<adaedra> Ruby does a lot of things with blocs/procs, like this
ht__ has quit [Client Quit]
s2013 has quit [Read error: Connection reset by peer]
ht__ has joined #ruby
<baweaver> >> (1..10).reduce(:+, 0)
<ruboto> baweaver # => 0 is not a symbol nor a string (TypeError) ...check link for more (https://eval.in/479341)
<baweaver> >> (1..10).reduce(0, :+)
<ruboto> baweaver # => 55 (https://eval.in/479342)
<baweaver> every time
<baweaver> anyways, longhand of that is:
desmondhume has joined #ruby
<baweaver> >> (1..10).reduce(0) { |accumulator, i| accumulator + i }
<ruboto> baweaver # => 55 (https://eval.in/479343)
myztic has joined #ruby
h99h9h88 has quit [Ping timeout: 245 seconds]
sivoais has quit [Ping timeout: 260 seconds]
<baweaver> where 0 is the initial value of accumulator (otherwise it's the first value of the collection) and each return of the block is the next accumulator
h99h9h88 has joined #ruby
pmarreck has joined #ruby
s2013 has joined #ruby
<baweaver> so the first run it'd be acc = 0, i = 1, new_acc = 1
<adaedra> You don't need the 0 in this case, as `+ 0` is never modifying the result.
cornerma1 has joined #ruby
dotix has quit [Ping timeout: 260 seconds]
ht__ has quit [Client Quit]
<baweaver> what if it's empty?
howdoicomputer has joined #ruby
<baweaver> more of a safety thing
<adaedra> Ah, yes.
Xeago has quit [Remote host closed the connection]
zeroDivisible has joined #ruby
<baweaver> it costs 3 characters so I just do it regardless as I don't trust users / code very much.
im0b has joined #ruby
Yzguy has joined #ruby
<sjums> ah, probably best practice ;)
<sjums> but for now I know my source :P
s2013 has quit [Read error: Connection reset by peer]
ht__ has joined #ruby
s2013 has joined #ruby
chridal has joined #ruby
myztic_ has joined #ruby
cornerma1 is now known as cornerman
Jardayn has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
shelling__ has joined #ruby
rubie has quit [Remote host closed the connection]
akitada has joined #ruby
twodayslate has joined #ruby
<JoshL> Does ruby core have a site somewhere to see the pass/fail status of tests and/or nightly compiles? Like a Jenkins setup or something?
s2013 has quit [Read error: Connection reset by peer]
Spleeze has quit [Ping timeout: 245 seconds]
<JoshL> Nevermind it was right in front of my face and I'm stupid. http://rubyci.org/, for the curious
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
spt0 has joined #ruby
spt0 has quit [Max SendQ exceeded]
baweaver has quit [Remote host closed the connection]
spt0 has joined #ruby
lacrosse has joined #ruby
gguggi has joined #ruby
s2013 has joined #ruby
baweaver has joined #ruby
yo61 has joined #ruby
RegulationD has quit [Remote host closed the connection]
Spleeze has joined #ruby
machty has joined #ruby
bove has joined #ruby
bubbys has quit [Ping timeout: 245 seconds]
benlakey has joined #ruby
zarubin has joined #ruby
lancetw has joined #ruby
mrsolo_ has joined #ruby
weemsledeux has joined #ruby
last_staff has quit [Remote host closed the connection]
mrsolo has quit [Quit: Leaving]
mrsolo_ is now known as mrsolo
s2013 has quit [Read error: Connection reset by peer]
last_staff has joined #ruby
treehug88 has joined #ruby
xet7 has quit [Quit: Leaving]
hahuang61 has joined #ruby
eyes_not has joined #ruby
blackmesa has joined #ruby
banister has quit [Ping timeout: 260 seconds]
revengeofbigd has joined #ruby
akem has quit [Remote host closed the connection]
dotix has joined #ruby
hahuang65 has quit [Ping timeout: 264 seconds]
HashNuke has joined #ruby
momomomomo has joined #ruby
baweaver has quit [Ping timeout: 260 seconds]
prosody has joined #ruby
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Snowy has joined #ruby
<hxegon> Really can't find out why this doesn't work https://eval.in/479350
<adaedra> Define "doesn't work"
jetpackjoe has joined #ruby
Ruby_Rocks_007 has joined #ruby
akem has joined #ruby
<hxegon> output should be quoted, as is noted in the example, but it isn't. quoted as in:
<hxegon> >> %("quoted")
<ruboto> hxegon # => "\"quoted\"" (https://eval.in/479351)
shadoi has joined #ruby
<hxegon> or rather, individual fields should all be quoted
h99h9h88 has quit [Remote host closed the connection]
<adaedra> ah
countryHick has joined #ruby
machinewar has joined #ruby
Ruby_Rocks_007 has quit [Client Quit]
<machinewar> anyone have experience sending file in a post request, need to post a PDF, but not sure how to serialize it
<adaedra> machinewar: depends on your HTTP library.
<machinewar> could I just open the file then send that object as request body?
mloy has joined #ruby
<machinewar> adaedra: was thinking net/http
<adaedra> depends on the service you're sending to, but usually files are sent throught multipart.
<adaedra> through*
shinenelson has joined #ruby
Heero has joined #ruby
baweaver has joined #ruby
<machinewar> that's what i was thinking, but not sure if its as easy as setting content-type to 'multipart/form-data' and giving path to file
juddey has joined #ruby
based_pdev_ has joined #ruby
rubie has joined #ruby
mjuszczak has quit []
`based_pdev` has quit [Ping timeout: 260 seconds]
<machinewar> from docs "At this time Net::HTTP does not support multipart/form-data. To send multipart/form-data use Net::HTTPGenericRequest#body= and Net::HTTPHeader#content_type=:" *damn* lol
jbrhbr has joined #ruby
zast has quit [Remote host closed the connection]
<jhass> hxegon: https://eval.in/479359
momomomomo has quit [Quit: momomomomo]
xfbs has joined #ruby
momomomomo has joined #ruby
<hxegon> jhass: thanks so much. been banging my head against it for a while
akem has quit [Remote host closed the connection]
<revengeofbigd> whois revengeofbigd & whois alexblom
sivoais has joined #ruby
jackjackdripper has joined #ruby
baweaver has quit [Remote host closed the connection]
momomomomo has quit [Client Quit]
<adaedra> ?
<revengeofbigd> sry, forgot /
NeverDie has joined #ruby
rubie has quit []
Xeago has joined #ruby
beneggett has joined #ruby
Ruby_Rocks_007 has joined #ruby
<blub> ruby rocks 007
<shevy> whois revengeofbigd/ & whois alexblom/
rikkipitt has joined #ruby
<shevy> blub are you blubjr
<blub> yes..
<blub> im a big girl now
chris2 has joined #ruby
devbug has quit [Read error: Connection reset by peer]
casadei has quit [Remote host closed the connection]
idjet has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
big|bad|wolf has quit [Ping timeout: 260 seconds]
zarubin has quit []
casadei has joined #ruby
devbug has joined #ruby
Xeago has quit [Remote host closed the connection]
B1n4r10 has joined #ruby
Coldblackice has joined #ruby
<Sou|cutter> is there a way to travel up the namespace hierarchy? e.g. Object.const_get("Foo::..::Bar") # => ::Bar
<Sou|cutter> random, I know
<Sou|cutter> I suspect not
iamdevnul has joined #ruby
<apeiros> Sou|cutter: I don't get what you want
bluOxigen has quit [Ping timeout: 260 seconds]
senayar has joined #ruby
senayar has quit [Changing host]
senayar has joined #ruby
roxtrongo has joined #ruby
Jardayn has quit [Read error: Connection reset by peer]
<revengeofbigd> how about `foo.split(::).last`
yoongkang has joined #ruby
<revengeofbigd> err `foo.split('::').last`
<Sou|cutter> I know a library loads constants within a given namespace, e.g. const_get("Foo::#{arg}") and I was wondering if I could escape "Foo"
nisstyre has quit [Ping timeout: 260 seconds]
opencard has joined #ruby
<Sou|cutter> by escape, I mean load something outside of Foo
bluOxigen has joined #ruby
bluOxigen has quit [Changing host]
bluOxigen has joined #ruby
opencard has quit [Read error: Connection reset by peer]
Ruby_Rocks_007 has quit [Quit: Ruby_Rocks_007]
Lloyd has joined #ruby
unsymbol has quit [Ping timeout: 245 seconds]
<Sou|cutter> in the same was you can move up a directory in a path with .. -- foo/bar/../baz == foo/baz
<apeiros> >> module Bar; def self.x(v); const_get("Bar::#{v}"); end; Bar.x("Object::Array")
<ruboto> apeiros # => /tmp/execpad-dbe854ff7bf2/source-dbe854ff7bf2:7: syntax error, unexpected end-of-input, expecting ke ...check link for more (https://eval.in/479361)
myztic has quit [Ping timeout: 260 seconds]
howdoicomputer has quit [Ping timeout: 260 seconds]
<apeiros> >> module Bar; def self.x(v); const_get("Bar::#{v}"); end; end; Bar.x("Object::Array")
<ruboto> apeiros # => Array (https://eval.in/479362)
<apeiros> Sou|cutter: ^
h99h9h88 has joined #ruby
myztic_ has quit [Ping timeout: 260 seconds]
unsymbol has joined #ruby
deimos has quit [Remote host closed the connection]
zzak_ has quit [Remote host closed the connection]
ELCALOR has quit [Write error: Broken pipe]
<apeiros> with warnings on, I think this generates a warning.
pfg has quit [Remote host closed the connection]
hellschreiber_ has quit [Remote host closed the connection]
MiracleBlue_ has quit [Remote host closed the connection]
justinweiss has quit [Remote host closed the connection]
avdi_ has quit [Write error: Connection reset by peer]
nyandoge has quit [Remote host closed the connection]
tejasmanohar has quit [Remote host closed the connection]
pizzaops has quit [Remote host closed the connection]
<bougyman> oh wild
lokulin has joined #ruby
<bougyman> big split
opencard has joined #ruby
<Sou|cutter> ahh - that does work, doesn't it
h99h9h88 has quit [Remote host closed the connection]
<apeiros> bougyman: and there I thought you meant my mad skills
h99h9h88 has joined #ruby
<Sou|cutter> I feel like that shouldn't generate a warning because const_get has a second arg to force inherited-only
nisstyre has joined #ruby
<apeiros> you misunderstand that arg ;-)
<Sou|cutter> do I?
<apeiros> yes. that one's just to disable "deep" const get
<Sou|cutter> well I said it the opposite way right?
<apeiros> and what I do is unrelated to that.
yoongkang has quit [Ping timeout: 260 seconds]
Ruby_Rocks_007 has joined #ruby
<apeiros> or maybe I misunderstand it :D
<apeiros> lets see
<Sou|cutter> >> module Bar; def self.x(v); const_get("Bar::#{v}", false); end; end; Bar.x("Object::Array")
<ruboto> Sou|cutter # => uninitialized constant Bar::Bar (NameError) ...check link for more (https://eval.in/479363)
bluOxigen has quit [Ping timeout: 260 seconds]
<Sou|cutter> woops
bluOxigen has joined #ruby
<Sou|cutter> >> module Bar; def self.x(v); const_get(v, false); end; end; Bar.x("Object::Array")
<ruboto> Sou|cutter # => uninitialized constant Bar::Object (NameError) ...check link for more (https://eval.in/479364)
<apeiros> Sou|cutter: ok, you understood it correctly.
ggherdov has quit [Ping timeout: 260 seconds]
<apeiros> Sou|cutter: and in that case, I think I agree with you on "should not generate a warning"
MTeck has joined #ruby
<Sou|cutter> cool, thanks for the idea
DoYouKnow has joined #ruby
<apeiros> with ", false", you'd have to do const_get("::Bar::#{v}")
h99h9h88 has quit [Ping timeout: 260 seconds]
<MTeck> I'm sure this is simple, but I'm a ruby novice. How can I do a check like this? if somestring.include? "cde" or "abc" or "xyz" do ... end
Xeago has joined #ruby
joaomdmoura_ has joined #ruby
momomomomo has joined #ruby
B1n4r10 has quit [Quit: leaving]
akem has joined #ruby
Contigi has joined #ruby
<adaedra> if %w[cde abc xyz].any? { |e| somestring.include? e }
<adaedra> MTeck: ^
solars has quit [Ping timeout: 260 seconds]
<MTeck> heh...
<MTeck> I could copy/paste... I'm trying to comprehend what's actually going on there...
<apeiros> MTeck: somestring.include?(a) || somestring.include?(b) || …
<Sou|cutter> Regexp.union(%w(cde abc xyz)).match somestring
<apeiros> that's the straight translation of yours to correct ruby
<adaedra> MTeck: then go on, split the expression, and ask about parts you don't understand
machinewar has quit [Ping timeout: 260 seconds]
jackjackdripper has quit [Quit: Leaving.]
Xeago has quit [Remote host closed the connection]
jabreity__ has joined #ruby
shaman42 has joined #ruby
<MTeck> adaedra: Sorry, I didn't mean to imply that I didn't think it was right. I 100% believe what you wrote is exactly what I need. I just prefer wrapping my head fully around anything I use just for the sake of learning.
Mon_Ouie has joined #ruby
Xeago has joined #ruby
bahar has joined #ruby
jackjackdripper has joined #ruby
<Sou|cutter> that's a good attitude to have!
<adaedra> MTeck: you didn't get me. I was telling you to tell me/us what you don't understand in the expression, so I/we can explain it.
<MTeck> ah :)
nettoweb has joined #ruby
Xeago has quit [Remote host closed the connection]
MasterNayru has joined #ruby
<adaedra> Unfortunately, it's time for me to get away from the keyboard, but other people here will surely be happy to explain you what's happening above if you ask about it.
<MTeck> To be honest, I don't know what %w is, or how the whole thing expands in ruby logic. I think I just need to read and look at it for a while. I'll ask questions after that. I want to understand the regex one too.
mordocai has joined #ruby
B1n4r10 has joined #ruby
<adaedra> >> %w[array of strings]
<ruboto> adaedra # => ["array", "of", "strings"] (https://eval.in/479365)
<mordocai> Hey, i'm getting this when installing ruby 2.2.2/2.2.3 with ruby-build on debian testing. Is this a library version issue? Anyone know? Worked fine a few months ago http://paste.lisp.org/display/163730.
NeverDie has quit [Quit: http://radiux.io/]
lv_ has joined #ruby
<mordocai> Debian testing is also using gcc 5 which could cause issues I imagine. Trying to narrow down the issue.
pandaant has quit [Remote host closed the connection]
bradc has quit []
yqt has joined #ruby
edwinvdgraaf has joined #ruby
blackmesa has quit [Ping timeout: 245 seconds]
Mon_Ouie has quit [Ping timeout: 260 seconds]
s2013 has joined #ruby
ht__ has quit [Quit: Konversation terminated!]
unreal_ has joined #ruby
ht__ has joined #ruby
<socialjackie> What's your `dpkg -s openssl`?
unreal has quit [Ping timeout: 245 seconds]
Xeago has joined #ruby
apipkin has quit [Write error: Connection reset by peer]
golgaroth has quit [Write error: Connection reset by peer]
jlyndon has quit [Write error: Connection reset by peer]
jmcc____ has quit [Read error: Connection reset by peer]
daxroc has quit [Write error: Connection reset by peer]
frankS2 has quit [Write error: Connection reset by peer]
bttf has quit [Write error: Connection reset by peer]
cbednarski has quit [Write error: Connection reset by peer]
HashNuke has quit [Remote host closed the connection]
<mordocai> Found answer to my problem here if anyone else runs into it https://github.com/rbenv/ruby-build/wiki#openssl-sslv3_method-undeclared-error
howdoicomputer has joined #ruby
<socialjackie> Ah cool
cjbottaro has joined #ruby
RegulationD has joined #ruby
thang has quit [Ping timeout: 245 seconds]
Xeago has quit [Remote host closed the connection]
kirun has joined #ruby
Ruby_Rocks_007 has quit [Quit: Ruby_Rocks_007]
devbug has quit [Read error: Connection reset by peer]
momomomomo has quit [Quit: momomomomo]
diego1 has joined #ruby
diego1 has quit [Changing host]
diego1 has joined #ruby
Anderson69s has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
diegoviola has quit [Ping timeout: 264 seconds]
diego1 is now known as diegoviola
ur5us has joined #ruby
brunto has joined #ruby
roxtrongo has quit [Remote host closed the connection]
TheHodge has quit [Remote host closed the connection]
rflot has quit [Write error: Connection reset by peer]
babblebre has quit [Remote host closed the connection]
spastorino has quit [Remote host closed the connection]
acadavid has quit [Remote host closed the connection]
amitchellbullard has quit [Write error: Connection reset by peer]
AdamMeghji has quit [Remote host closed the connection]
PhilK has quit [Read error: Connection reset by peer]
vayan has quit [Write error: Connection reset by peer]
colstrom has quit [Read error: Connection reset by peer]
Guest4184__ has quit [Remote host closed the connection]
vcoinminer_ has joined #ruby
devbug has joined #ruby
rikkipitt has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
Xeago has joined #ruby
justinweiss has joined #ruby
avdi_ has joined #ruby
Mon_Ouie has joined #ruby
jeregrine has joined #ruby
opencard has quit [Quit: Ping timeout: 260 seconds]
jpinnix______ has joined #ruby
gizmore has joined #ruby
bjeanes has joined #ruby
frem has joined #ruby
freerobby has joined #ruby
shaman42 has quit [Ping timeout: 245 seconds]
alxndr has joined #ruby
glowcoil has joined #ruby
jhill has joined #ruby
knowtheory has joined #ruby
dukedave has joined #ruby
mroth has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
schaary has joined #ruby
acadavid has joined #ruby
adambeynon has joined #ruby
ckrailo has joined #ruby
cbetta has joined #ruby
akahn has joined #ruby
hellschreiber_ has joined #ruby
howdoicomputer has quit [Ping timeout: 260 seconds]
podman has joined #ruby
rodfersou has quit [Quit: leaving]
twilling has quit [Quit: twilling]
sankaber has joined #ruby
TheHodge has joined #ruby
ht__ has quit [Quit: Konversation terminated!]
pizzaops has joined #ruby
twilling has joined #ruby
eyes_not has quit [Remote host closed the connection]
Ruby_Rocks_007 has joined #ruby
n1ftyn8_ has joined #ruby
dimik has joined #ruby
mostlybadfly has joined #ruby
howdoicomputer has joined #ruby
othll0 has quit [Ping timeout: 245 seconds]
ht__ has joined #ruby
PhilK has joined #ruby
ELCALOR has joined #ruby
jlyndon has joined #ruby
sleeparrow has quit [Quit: sleeparrow]
otherj has joined #ruby
bryancp has joined #ruby
deimos has joined #ruby
colstrom has joined #ruby
Guest4184__ has joined #ruby
tulak has joined #ruby
charles81 has joined #ruby
halfdan has joined #ruby
bcavileer_ has joined #ruby
HashNuke has joined #ruby
manveru has joined #ruby
vayan has joined #ruby
kellabyte has joined #ruby
shanemcd has joined #ruby
ht__ has quit [Quit: Konversation terminated!]
djbender has joined #ruby
rfv has joined #ruby
amitchellbullard has joined #ruby
ht__ has joined #ruby
diegoaguilar has joined #ruby
skmp has joined #ruby
diegoaguilar has quit [Remote host closed the connection]
asteros has quit [Quit: asteros]
ht__ has quit [Client Quit]
nomadicoder has joined #ruby
ht__ has joined #ruby
opencard has joined #ruby
maddmaxx has joined #ruby
diegoaguilar has joined #ruby
cstrahan has joined #ruby
ggherdov has joined #ruby
zrl has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
sigurding has joined #ruby
twilling has quit [Quit: twilling]
Xeago has quit [Remote host closed the connection]
spastorino has joined #ruby
tildes has quit [Ping timeout: 260 seconds]
MiracleBlue_ has joined #ruby
sandstrom has joined #ruby
chrisseaton has joined #ruby
shanemcd has quit [Remote host closed the connection]
diegoaguilar has quit [Remote host closed the connection]
yoongkang has joined #ruby
speakingcode has joined #ruby
s2013 has quit [Read error: Connection reset by peer]
<grill> yo. why would popen3 + rsync hang forever? if i'm trying to capture and print all lines from stdopen?
myztic has joined #ruby
frode15243 has joined #ruby
thang has joined #ruby
nyandoge has joined #ruby
golgaroth has joined #ruby
diegoaguilar has joined #ruby
baweaver has joined #ruby
<grill> err stdout
jord has joined #ruby
Xeago has joined #ruby
dmoe has joined #ruby
Xeago has quit [Remote host closed the connection]
senayar has quit [Remote host closed the connection]
mikolalysenko has joined #ruby
apipkin has joined #ruby
ramblinpeck has joined #ruby
troter______ has joined #ruby
pfg has joined #ruby
Xeago has joined #ruby
mordocai has left #ruby ["ERC (IRC client for Emacs 24.5.1)"]
waynerade has joined #ruby
tonini has joined #ruby
AdamMeghji has joined #ruby
djbkd has quit [Remote host closed the connection]
<grill> ok. lets try something different. how would i count the number of lines coming out of stdout and then if it's more than 3, return true, else return false?
baweaver has quit [Ping timeout: 245 seconds]
otherj has quit [Quit: .]
AndyBotwin has joined #ruby
AndyBotwin has quit [Changing host]
AndyBotwin has joined #ruby
ht__ has quit [Quit: Konversation terminated!]
shanemcd has joined #ruby
sarkis has quit [Ping timeout: 250 seconds]
desmondhume has quit [Remote host closed the connection]
baweaver has joined #ruby
mjc_ has joined #ruby
beneggett has quit [Quit: ...zzz ¯\_(ツ)_/¯ zzz...]
desmondhume has joined #ruby
jevs has joined #ruby
shanemcd has quit [Remote host closed the connection]
ht__ has joined #ruby
weaksauce has joined #ruby
Anderson69s has joined #ruby
opencard has quit [Read error: Connection reset by peer]
waynerade has quit [Ping timeout: 260 seconds]
frankS2 has joined #ruby
sankaber has quit [Remote host closed the connection]
chamby has joined #ruby
diegoaguilar has quit [Remote host closed the connection]
cardoni has joined #ruby
zzak_ has joined #ruby
diegoaguilar has joined #ruby
desmondhume has quit [Ping timeout: 245 seconds]
prestorium_ has joined #ruby
frem has quit []
sarkis has joined #ruby
opencard has joined #ruby
frem has joined #ruby
B1n4r10 has quit [Ping timeout: 260 seconds]
thesheff17 has joined #ruby
InvGhostt has joined #ruby
<grill> lets try something different: why is python better than ruby
beneggett has joined #ruby
h99h9h88 has joined #ruby
lemur has joined #ruby
Yzguy has quit [Quit: Zzz...]
babblebre has joined #ruby
shanemcd has joined #ruby
<apeiros> grill: trolling is not welcome on this channel.
chamby has quit [Quit: leaving]
<grill> :)
sigurding has quit [Ping timeout: 245 seconds]
jmcc____ has joined #ruby
InvGhosttt has joined #ruby
diegoaguilar has quit [Remote host closed the connection]
shazaum_ has joined #ruby
diegoaguilar has joined #ruby
rflot has joined #ruby
sarkis has quit [Ping timeout: 260 seconds]
InvGhost has quit [Ping timeout: 264 seconds]
B1n4r10 has joined #ruby
kadoppe has joined #ruby
prestorium_ has quit [Quit: Leaving]
Oog has joined #ruby
shazaum_ has quit [Client Quit]
h99h9h88 has quit [Ping timeout: 246 seconds]
opencard has quit [Read error: Connection reset by peer]
lemur has quit [Ping timeout: 250 seconds]
shazaum_ has joined #ruby
shazaum_ has quit [Client Quit]
InvGhostt has quit [Ping timeout: 264 seconds]
sarkis has joined #ruby
shanemcd has quit [Remote host closed the connection]
B1n4r10 has quit [Client Quit]
daxroc has joined #ruby
B1n4r10 has joined #ruby
shanemcd has joined #ruby
ht__ has quit [Quit: Konversation terminated!]
ht__ has joined #ruby
Vivekananda has joined #ruby
djbkd has joined #ruby
sankaber has joined #ruby
zeljkof has joined #ruby
zipkid has joined #ruby
sigurding has joined #ruby
Eleeleth has joined #ruby
roxtrongo has joined #ruby
shanemcd has quit [Remote host closed the connection]
K1MOS has joined #ruby
tejasmanohar has joined #ruby
Xeago has quit [Remote host closed the connection]
K1MOS is now known as moos3
B1n4r10 has quit [Quit: leaving]
norc has joined #ruby
moeabdol has quit [Quit: WeeChat 1.3]
B1n4r10 has joined #ruby
TheCompWiz has joined #ruby
Xeago has joined #ruby
<TheCompWiz> is anyone here good at battling Process + IO issues?
<jhass> ?anyone
<ruboto> Just ask your question, if anyone has or can, they will respond.
deg has left #ruby [#ruby]
shaman42 has joined #ruby
zemmihates has joined #ruby
jxf has joined #ruby
Oog has quit []
<apeiros> TheCompWiz: I heard anyone is quite bad at programming and thus left for masonry work
yoongkang has quit []
<TheCompWiz> I've got a fun project that spawns tons of threads... using "Process.spawn" ... that I need to gather the output from... and if the output is too big... the process never completes. I suspect there is some sort of buffering issues using the IO.pipe... and am hoping someone can shed some light on the subject
<apeiros> TheCompWiz: Process.spawn does not create threads, it creates processes.
howdoi has quit [Quit: Connection closed for inactivity]
<TheCompWiz> technically since the pgid is still the main ruby thread... it is a thread. it isn't detached.
freerobby has quit [Quit: Leaving.]
baweaver has quit [Remote host closed the connection]
asteros has joined #ruby
asteros has quit [Client Quit]
<eam> TheCompWiz: no, spawn will create a separate process
symm- has quit [Ping timeout: 245 seconds]
Biohazard has quit [Ping timeout: 260 seconds]
akem has quit [Remote host closed the connection]
shanemcd has joined #ruby
<eam> TheCompWiz: there's buffering in a pipe pair but that is likely not your issue
<eam> can you show code?
_djbkd has joined #ruby
<apeiros> TheCompWiz: threads and processes ain't the same. and if you mean OS level thread, you should be clear about that (but even then you'd be wrong)
Biohazard has joined #ruby
Xeago has quit [Remote host closed the connection]
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
symm- has joined #ruby
shanemcd has quit [Remote host closed the connection]
Yzguy has joined #ruby
opencard has joined #ruby
baweaver has joined #ruby
freerobby has joined #ruby
djbkd has quit [Ping timeout: 245 seconds]
dotix has quit [Ping timeout: 245 seconds]
cjbottaro has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Snowy has quit []
hahuang61 has quit [Ping timeout: 260 seconds]
kies has quit [Ping timeout: 260 seconds]
opencard has quit [Remote host closed the connection]
dopie has quit [Quit: This computer has gone to sleep]
<Synthead> is there a variable type that'll allow me to set something like a.b.c = "5" and retrieve it via a.b.c?
bestie has joined #ruby
<Synthead> like a hash, just using accessors instead of ["x"]
diegoviola has quit [Ping timeout: 260 seconds]
diego1 has joined #ruby
ht__ has quit [Quit: Konversation terminated!]
diego1 has quit [Changing host]
diego1 has joined #ruby
ht__ has joined #ruby
<norc> Synthead: Sure. It is called a class.
jbrhbr has quit [Quit: Leaving.]
<norc> Or more generally an object.
diego1 is now known as diegoviola
<apeiros> Synthead: a.b would have to return an object which responds to c
blackmesa has joined #ruby
<apeiros> or rather, to c= and c
<apeiros> Synthead: also variables don't have a type (ruby is dynamically typed)
<Synthead> oh sure, I was thinking a kind of class I could create a variable from
<apeiros> that's neither what's happening :)
<Synthead> Hash.new?
<apeiros> does not "create a variable"
<Synthead> a = Hash.new
<apeiros> it creates an object. and you assign that object to a variable
<Synthead> declares a, right?
devbug has quit [Read error: Connection reset by peer]
NeverDie_ has joined #ruby
<Synthead> ah, ok
<jhass> Synthead: google for "recursive openstruct" and then learn why you don't want it
<norc> Synthead: It creates an instance variable called "a" and assigns the object to it.
<apeiros> there isn't really declaration in ruby either. you could consider the first assignment a declaration. but IMO that's incorrect.
<norc> jhass: But I started using openstructs all over my place. They are beautiful. :)
bttf has joined #ruby
<jhass> and slow
aadam21_ has joined #ruby
<norc> Bah, we live in the time of gigahertz.
<apeiros> hm, maybe a more correct case of declaration: when defining a method or block
moos3 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hahuang61 has joined #ruby
K1MOS has joined #ruby
<norc> apeiros: Actually I think in this context "declaration" makes sense with methods and variables.
ninegrid has joined #ruby
devbug has joined #ruby
<apeiros> norc: ^
K1MOS has quit [Client Quit]
<norc> by stating "a = 1" you are not only creating an instance variable, but you make it known to the parser that "a" is now a variable and not a method.
<ruboto> TheCompWiz, we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/8a51721667d4b5a4cfae
<ruboto> pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
<Synthead> jhass: this looks exactly like what I'm looking for. why don't I want it?
<apeiros> norc: s/instance//
<apeiros> or s/instance/local/
<norc> Sorry indeed.
aadam21 has quit [Ping timeout: 260 seconds]
<jhass> Synthead: read on, you should find an explanation sooner or later
<apeiros> and the variable doesn't necessarily created *there*
<Synthead> jhass: that's not very helpful :p
<norc> apeiros: The relevant bit was about the parser cache though.
<apeiros> anyway, not interested in arguing semantics. I rather just declare my point. :)
<norc> Absolutely. :)
<TheCompWiz> for what its worth... there's the gist. ... if the process output is 60k ... works fine. if the process output is 3m... the process never terminates.
<TheCompWiz> or rather... it is killed.
<TheCompWiz> (as per design)
<TheCompWiz> and yes... I apollogize for everything being named "fork"... just treat "fork" as the PID of the sub-process.
roxtrongo has quit [Remote host closed the connection]
tvon has joined #ruby
cdg has joined #ruby
ht__ has quit [Quit: Konversation terminated!]
jpfuentes2 has quit [Ping timeout: 245 seconds]
moeabdol has joined #ruby
ht__ has joined #ruby
michaeldeol has joined #ruby
konopka has quit [Ping timeout: 260 seconds]
micmagis has joined #ruby
momomomomo has joined #ruby
konopka has joined #ruby
jpfuentes2 has joined #ruby
cbednarski has joined #ruby
weemsledeux has quit [Read error: Connection reset by peer]
<adaedra> > spoon = fork(); // Real code I've written once.
<TheCompWiz> lol
waynerade has joined #ruby
<norc> TheCompWiz: Without seeing the full code it is hard to judge. You could do some kind of profiling to get an idea what might be slowing things down. Or use gdb/strace to figure out where it is supposedly stuck.
rakm has joined #ruby
<diegoviola> adaedra: there is no spoon
<TheCompWiz> norc: that is enough of the full code to be fully functional. the command is a basic linux program that you definately won't have on your computer. You can use your imagination... and write a bash script to output the numbers from 1 to 3 million.
<adaedra> > test.c:2:3: error: use of undeclared identifier 'spoon'
<adaedra> You're right, diegoviola. `int spoon = fork();` should be better.
<adaedra> now, for something completely different.
<norc> TheCompWiz: Yeah, personally I would just attach gdb first thing.
aadam21_ has quit [Remote host closed the connection]
towski_ has quit [Remote host closed the connection]
<norc> Or strace.
aadam21 has joined #ruby
akem has joined #ruby
_djbkd has quit [Remote host closed the connection]
colegatron has joined #ruby
ht__ has quit [Quit: Konversation terminated!]
pragmatism has quit [Ping timeout: 260 seconds]
ht__ has joined #ruby
<norc> TheCompWiz: 3m lines you say, avg length?
Xeago has joined #ruby
djbkd has joined #ruby
pragmatism has joined #ruby
<TheCompWiz> could be anywhere from 10k characters to 3m or more.
marr has joined #ruby
asteros has joined #ruby
moei has joined #ruby
moei has joined #ruby
beneggett has quit [Quit: (╯°□°)╯︵ ┻━┻) - keep on keeping on]
I has joined #ruby
symbol has joined #ruby
I is now known as Guest79754
<symbol> Are priate class methods generally a bad idea? It seems like I need to jump through hoops to get them to work.
<symbol> Really not a fan of using class << self. It tends to confuse people.
edwinvdgraaf has joined #ruby
ht__ has quit [Quit: Konversation terminated!]
ht__ has joined #ruby
yfeldblum has joined #ruby
<TheCompWiz> norc I've tried putting a preemptive period read in there hoping to empty the buffer and allow the process to continue... but that did absolutely nothing.
Yzguy has quit [Quit: Zzz...]
heftig has quit [Remote host closed the connection]
B1n4r10 has quit [Ping timeout: 260 seconds]
<norc> symbol: Nope. They are a good thing.
heftig has joined #ruby
lv_ has quit [Ping timeout: 245 seconds]
<symbol> extend self?
<apeiros> extend self is an anti-pattern IMO
gguggi has quit [Ping timeout: 260 seconds]
<apeiros> use module_function instead
<apeiros> cf. Kernel, Math
bubbys has joined #ruby
Someone_Else has joined #ruby
lv_ has joined #ruby
lacuna has quit [Read error: Network is unreachable]
freerobby has quit [Quit: Leaving.]
<Someone_Else> I'm trying to implement an old patch in Ruby 2.0.0
lv_ has quit [Client Quit]
lacuna has joined #ruby
lacuna has quit [Changing host]
lacuna has joined #ruby
<apeiros> private class methods are fine. see Module#private_class_method
<symbol> I'm working on a facade type pattern around an external API. It's not really a class but a module is weird.
<norc> symbol: What I mean is actually using visibility is a good thing.
<Someone_Else> What is the current equivalent of ruby_eval_tree
<symbol> Not sure I follow norc
<norc> Someone_Else: are you looking for Ripper?
sigurding has quit [Quit: sigurding]
TomPeed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skade has joined #ruby
<Someone_Else> norc: No, I don't even have CD's around here
<norc> symbol: Like apeiros said, you can define private class method like he described. Restricting visibility to only expose interface methods is a sound thing.
<apeiros> symbol: "visibility" is the umbrella term for public, protected, private
<symbol> Good to know - I felt like I was doing something dirty.
<Someone_Else> norc: Ah, no
<Someone_Else> ruby_eval_tree is in the source code of Ruby itself
fibbel has joined #ruby
fibbel has quit [Client Quit]
<Someone_Else> norc: Back in the 1.8.X series, it existed in eval.c in the main source tree
fibbel has joined #ruby
<norc> Someone_Else: Yeah I'm aware. Looking at the parser at the moment to figure out what it is.
<norc> Which is not too hard, considering how well documented it is..
howdoicomputer has quit [Ping timeout: 260 seconds]
edwinvdgraaf has quit [Remote host closed the connection]
lukeasrodgers has joined #ruby
diegoaguilar has quit [Remote host closed the connection]
lacuna has quit [Read error: Connection reset by peer]
lacuna has joined #ruby
lacuna has quit [Changing host]
lacuna has joined #ruby
ht__ has quit [Quit: Konversation terminated!]
isjaylee has joined #ruby
akem has quit [Remote host closed the connection]
shanemcd has joined #ruby
treehug88 has quit [Quit: Textual IRC Client: www.textualapp.com]
spacemud has joined #ruby
grill has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mary5030 has quit [Remote host closed the connection]
<TheCompWiz> so... I guess everyone has given up on my buffering issue. /sigh
devbug has quit [Ping timeout: 260 seconds]
shanemcd has quit [Ping timeout: 250 seconds]
<Someone_Else> norc: It seems the whole eval thing in 2.0.0 is simply not there
<norc> Someone_Else: What did that global variable point to?
<norc> Some kind of reference to the current AST?
finisherr has quit [Ping timeout: 260 seconds]
isjaylee has quit [Quit: Leaving.]
akem has joined #ruby
<Someone_Else> norc: Yes
<Someone_Else> norc: Actually, it saved the whole AST
allcentury has joined #ruby
devbug has joined #ruby
finisherr has joined #ruby
<norc> Someone_Else: Yeah afaik Ripper is your only bet at the moment.
maddmaxx has quit [Read error: Connection reset by peer]
sperant has joined #ruby
<norc> Someone_Else: Im guessing the reason is the introduction of the VM, which makes the AST relatively useless at runtime
sperant has quit [Client Quit]
Spleeze has quit [Ping timeout: 245 seconds]
akem has quit [Remote host closed the connection]
<Someone_Else> norc: Do you have any ideas how I could use Ripper in such a way?
<norc> Someone_Else: I don't know what you are trying to do
[Butch] has quit [Quit: I'm out . . .]
<Someone_Else> tmp_keep_ast = ruby_eval_tree;
Spleeze has joined #ruby
<Someone_Else> Thas *was* the code that worked for the 1.8.X series
<norc> Someone_Else: Again. Why are you doing that?
<norc> Ruby no longer walks the AST.
allcentury has quit [Client Quit]
<norc> The AST is compiled into bytecode, doing some optimizations - and then it gets executed.
rikkipitt has joined #ruby
devbug has quit [Remote host closed the connection]
Yzguy has joined #ruby
axl_ has joined #ruby
s2013 has joined #ruby
devbug has joined #ruby
justinweiss has quit [Quit: Connection closed for inactivity]
danzilio has joined #ruby
jetpackjoe has quit [Quit: Textual IRC Client: www.textualapp.com]
<norc> Someone_Else: If for any reason you are interested in the AST a piece of code generates, you can do that with Ripper.sexp or Ripper.sexp_raw. But as I said, since we have a VM a reference to the current AST is meaningless, since that is not what Ruby works on anymore.
jbrhbr has joined #ruby
kriskropd has joined #ruby
al2o3-cr has quit [Ping timeout: 264 seconds]
jondot has quit [Ping timeout: 260 seconds]
baweaver has quit [Remote host closed the connection]
shanemcd has joined #ruby
symm-_ has joined #ruby
symm- has quit [Ping timeout: 250 seconds]
lacuna has quit [Read error: Connection reset by peer]
lacuna has joined #ruby
lacuna has quit [Changing host]
lacuna has joined #ruby
<Someone_Else> norc: I have an issue building 1.8.1: compiling pty, no targets, error, stop
Azure has joined #ruby
<TheCompWiz> Is there anyone in here who knows something more than a cursory knowledge of the IO class and its relations to the buffer limits?
Yzguy has quit [Quit: Zzz...]
diego1 has joined #ruby
diego1 has quit [Changing host]
diego1 has joined #ruby
s2013 has quit [Read error: Connection reset by peer]
K1MOS has joined #ruby
diegoviola has quit [Ping timeout: 264 seconds]
howdoicomputer has joined #ruby
diego1 is now known as diegoviola
al2o3-cr has joined #ruby
<norc> Someone_Else: Why are you trying so hard to get that code up and running? What is your goal?
<TheCompWiz> my goal is to spawn a bunch of processes and capture the output...
<norc> (Before we talk about getting a 6 year old Ruby version running that is already end of life, using features that are long deprecated)
<TheCompWiz> it's not rocket-science...
<Someone_Else> TheCompWiz: exactly
<norc> TheCompWiz: buffer size is probably 64kb
<apeiros> Someone_Else: no need for sass.
<TheCompWiz> norc: ok... any suggestions on how to flush the buffer and get the process to resume?
Xeago has quit [Remote host closed the connection]
freerobby has joined #ruby
<TheCompWiz> I've tried setting up an interrupt every second, and forcing a read on the buffer... but that didn't do anything useful. If there was something to read... it would read the data on the 1st call... but all subsequent reads would return nothing (and also block execution)
<norc> TheCompWiz: First I would strace properly into the application to verify this.
yqt has quit [Ping timeout: 260 seconds]
<norc> Which really is what I told you an hour ago. ;-)
aspiers has joined #ruby
toretore has joined #ruby
<TheCompWiz> which is what I did... and it told me nothing new. execution stops on each process when the buffer gets full, and the code execution sits at the "wait" until the Timeout fires & kills the threads.
<norc> TheCompWiz: So you verified that this is the case?
<TheCompWiz> correct.
ta has joined #ruby
<apeiros> TheCompWiz: you only read after all spoons have finished?
<apeiros> I think you should set up a Kernel.select loop which continuously reads ready pipes
symbol has quit [Ping timeout: 246 seconds]
<norc> TheCompWiz: You can use Open3.popen3 probably
<TheCompWiz> apeiros: all documentation I've read says that the read should only be done after the process has terminated.
<apeiros> TheCompWiz: documentation of what? pipe?
InvGhosttt has quit [Ping timeout: 250 seconds]
saddad has quit [Ping timeout: 245 seconds]
<apeiros> also link?
<TheCompWiz> Process.spawn
<apeiros> "read after process has terminated" sounds quite wrong. did you see that in ri Process.spawn?
Xeago has joined #ruby
yeticry has joined #ruby
saddad has joined #ruby
saddad has quit [Client Quit]
saddad has joined #ruby
<TheCompWiz> apeiros: ... honestly... as long as I've been banging my head on this... I honestly don't remember where I read about the "read after termination". ... but it is also in the examples.
<apeiros> TheCompWiz: I don't see it. and as said, it sounds totally wrong. I seriously doubt that's in there.
<apeiros> it directly contradicts common philosophy on IPC
baweaver has joined #ruby
<apeiros> so I'll just reiterate my advice: read ready pipes, using Kernel#select and read_nonblock
<apeiros> or just read(CHUNK)
<apeiros> probably actually rather the latter.
<TheCompWiz> sadly... read_nonblock does block... and/or raises errors. which is funny.
<apeiros> it raises errors when there's nothing to read - and under conditions where read would also raise
<apeiros> and "does block"? how do you figure?
yqt has joined #ruby
<apeiros> (but as said, I'd actually use read(CHUNK), it's quite probably faster, and through select you know there is data to read)
<norc> apeiros has a good point though. the whole point of pipes is that you can have two concurrent processes using it for communication, which is what you are avoiding by not reading until the processes have terminated.
<TheCompWiz> apeiros: reading now.
Xeago has quit [Remote host closed the connection]
paradisaeidae has joined #ruby
<apeiros> norc: not reading the pipes means it just fills the buffers, and usually buffers aren't meant to be *filled*. they should be ephemeral and emptied quickly.
opencard has joined #ruby
devbug has quit [Ping timeout: 246 seconds]
baweaver has quit [Ping timeout: 260 seconds]
<apeiros> also for readability sake I'd probably use Spoon = Struct.new(:read, :write, :pid); spoon = Spoon.new(*IO.pipe); spoon.pid = spawn(…); …
akem has joined #ruby
nofxx has joined #ruby
nofxx has quit [Changing host]
nofxx has joined #ruby
<apeiros> (spoon.pid, spoon.read etc. just reads so much nicer - additionally it's quite a bit faster)
matti has quit [Quit: Reconnecting]
matti has joined #ruby
matti has quit [Changing host]
matti has joined #ruby
newdan has joined #ruby
<nofxx> Thinking a clever way to random colors.... RGB hex in the case. rand(0xFFFFFF).to_s(16).rjust(6, '0')
<adaedra> looks ok.
<nofxx> better ideas?
<apeiros> norc: that'll never generate 0xffffff, though
<jhass> there are some blogposts with algorithms for generating a "good looking" set of colors, if you care I'd suggest to google for such
<apeiros> you want rand(0x1000000)
<adaedra> "%06x" % rand(0x1000000)
IrishGringo has joined #ruby
<adaedra> mh.
<apeiros> and for the rest - what adaedra said :D
<norc> or for readability rand(0xFFFFFF + 1)
<norc> :-)
<adaedra> >> "%06x" % rand(0x1000000)
<ruboto> adaedra # => "03be00" (https://eval.in/479456)
<apeiros> norc: blergh.
<norc> Heh!
toretore has quit [Ping timeout: 250 seconds]
<newdan> If I'm in a method and I have an object and I keep calling a method on it like `my_fun_file.my_fancy_write "Hello"`, but I get tired of all that typing, is there a way to alias that to something shorter, in the scope of one method body? And preferably avoiding the `method_obj.('Hello')` syntax?
<adaedra> why not 1 << 6, when you're at it, norc
<norc> 1 << 24 you mean
<norc> but yeah
<adaedra> Derp.
<apeiros> newdan: get a decent editor.
<apeiros> seriously, "it's too much to type" is a f'ing stupid reason for this kind of indirection.
<norc> newdan: Learn to type faster.
<newdan> apeiros: Don't even start, I'm using spacemacs
<mfqr> Spacemacs?
<newdan> Emacs distribution with vim keybindings and, I dunno, in space I guess
s2013 has joined #ruby
<norc> newdan: Doesn't it have some kind of magical autocomplete thing?
* mfqr goes back to his show.
<norc> auto-completion or something?
<newdan> norc: It does. I can make it appear without typing but it still feels verbose
saddad has quit [Ping timeout: 260 seconds]
<norc> newdan: You should feel lucky you are not doing corporate Java development.
<nofxx> great thank you guys, adaedra , apeiros
<newdan> I should've suspected an IRC room would tell me to learn how to type or get a new editor rather than actually answer my question in any way
<newdan> Thanks all
<apeiros> nofxx: oh, lol, I thought norc had asked
<apeiros> ?guys nofxx <- though, this ;-)
<ruboto> nofxx, Though inclusion was probably intended, not everyone relates to being "one of the guys". Maybe consider using "folks", "all", "y'all", or "everyone" instead?
<nofxx> Cool... also, cops suggest #format over #%
blarghlarghl has joined #ruby
<apeiros> that's one thing I beat out of cops
gusTester has quit [Quit: Leaving.]
<norc> Here goes the cops hunting again.
s2013 has quit [Read error: Connection reset by peer]
<apeiros> not hunting. beating. it's useful once it has sane config ;-p
<Someone_Else> norc: Managed to compile 1.8.1 w/ the given patch
<norc> cops is sweet for refactoring these " into ' - but thats about it. :D
<nofxx> apeiros, guess because its a from C thing
<apeiros> though I'd still love a whitelist functionality, like "yes, line 1241 is over 100 chars, but it's fine, don't tell me again"
<blarghlarghl> Hi. Is there a way to capture rspec output from a rake task when invoking the task via Rake::Task[task].invoke ? I'd like to capture the documentation output to a variable and print it all at the end in one go, rather than have it "build up" as it does. I tried redirecting $stdout, but no luck.
<apeiros> nofxx: that'd be sprintf
<norc> apeiros: I recommend upgrading your 19 inch screen if you adhere to 80 lines consistently.
<ninegrid> I dunno, I'm kind of offended by being called folksy, and 'all' is too inclusive and doesn't acknowledge my individuality
<apeiros> nofxx: which is actually what I prefer :D
sepp2k has quit [Quit: Leaving.]
<nofxx> apeiros, yup... in other words: foreign for the non C programmer
<zenspider> blarghlarghl: "no luck" is not descriptive
<apeiros> norc: 80 *lines*? you sure have short classes, sir (or mam);-p
InvGhost has joined #ruby
<apeiros> nofxx: format is just as foreign
<norc> Oh well.
<blarghlarghl> zenspider: "no luck" as in, it completely ignores the fact that I am redirecting $stdout and keeps on doing what it normally does.
h99h9h88 has joined #ruby
<zenspider> blarghlarghl: have you tried standard error?
<apeiros> !kick ninegrid we're not interested. if you want to be inconsiderate, be that somewhere else.
ninegrid was kicked from #ruby by ruboto [we're not interested. if you want to be inconsiderate, be that somewhere else.]
<norc> apeiros: Wasn't so hard. s/\n/;/ sorts all your rubocop warnings about long methods.
<blarghlarghl> zenspider: This time round, no, but I did last time. (This is an old problem I'm coming back to.) Let me confirm that it doesn't work and get back to you in 2 minutes.
<zenspider> blarghlarghl: are you redirecting at the shell level, or trying to do it w/in ruby?
stannard_ has quit [Remote host closed the connection]
ninegrid has joined #ruby
<norc> apeiros: It gives you this warm feeling of happiness when you know you improved your code quite a bit, now that rubocop is no longer complaining about THAT.
stannard has joined #ruby
<blarghlarghl> zenspider: within ruby, as in redirecting $stdout = StringIO.new, run the block, then $stdout = STDOUT to restore things to sanity.
<blarghlarghl> zenspider: (that is, all of that with relevant local variables to be able to assign/reassign and print later, but this is the general method I'm using.)
yfeldblum has quit [Remote host closed the connection]
<nofxx> apeiros, ops... agreed. I tought it was String#format, it's ... main#format .... core? kernel?
yfeldblum has joined #ruby
<apeiros> nofxx: Kernel
<apeiros> nofxx: all pseudo-functions are in Kernel
<zenspider> blarghlarghl: you shouldn't assume that rspec (or minitest) uses $stdout to output
Anderson69s has quit [Quit: Time to EAT, SLEEP OR WHATEVER BYE!!!!!]
<Papierkorb> zenspider: may not be ideal for you, but you can also run the specs in their own process and then not fiddle with $stderr and friends
<blarghlarghl> zenspider stderr also no luck.
<jbrhbr> how come there is no .to_bool?
<zenspider> blarghlarghl: `rake &> output.txt` is a much cleaner way
<blarghlarghl> zenspider: Yeah. That's kinda why I'm here :)
<nofxx> apeiros, thanks.... very functional for... ruby heheh
<zenspider> jbrhbr: why should there be? everything is truthy or falsey
<blarghlarghl> zenspider, Ah, no, that's not an option for us - can't really shell out.
<Papierkorb> jbrhbr: ruby doesn't have a Boolean class.
h99h9h88 has quit [Ping timeout: 260 seconds]
gf3 has quit [Ping timeout: 260 seconds]
<jbrhbr> there's TrueClass and FalseClass. i'm surprised they don't inherit from BooleanClass
<zenspider> blarghlarghl: how do you write a test that verifies its output if rspec actively uses $stdout to print its output at the same time?
skade has quit [Read error: Connection reset by peer]
ninegrid has left #ruby [#ruby]
<nofxx> jbrhbr, yeah... what confuses a lil is that ODM/ORM create the Boolean. AR or mongoid for instance
<Papierkorb> jbrhbr: what is .to_bool supposed to do, and on which class?
<blarghlarghl> Papierkorb: I'm the one with the issue - saw your message. I am running them in my own process - everything inside a fork. But not its own process the way you mean probably.
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<blarghlarghl> zenspider: Right. That makes sense - I see why rspec is doing things that way.
<zenspider> blarghlarghl: "can't shell out"? you run your tests. there's probably a shell SOMEHERE
skade has joined #ruby
<jbrhbr> Papierkorb: logic consistent with the application of ruby's truthiness, so !!v basically
<Papierkorb> blarghlarghl: yeah I'd do `bundle exec rspec` or something
devbug has joined #ruby
<jbrhbr> zenspider: it's a fair question i suppose and i don't have a good answer
Lions has joined #ruby
<jbrhbr> 'data clealiness' is the best i can come up with
peterhil_ has joined #ruby
<blarghlarghl> zenspider: Oh, it's not a case of technically can't. We can. It's just that there's a _lot_ of environment setup that happens before the test task gets called which would get lost if we shell out.
<jbrhbr> if you're persisting some value and you want to constrain it to boolean, it's nice if it's actually false rather than nil
gf3 has joined #ruby
<Papierkorb> jbrhbr: in theory, it's just: class Object; def to_b; !!self; end; end
<jbrhbr> Papierkorb: exactly
<Papierkorb> jbrhbr: I'm not sure if that's a good idea, but when considering active support .. nobody cares I guess
<blarghlarghl> zenspider: I guess if there's no sane way of redirecting RSpec's in-ruby output, then I'll have to figure out a way to move the env setup behind the shell-out.
<blarghlarghl> zenspider: but that's very subideal.
<jbrhbr> Papierkorb: it's more consistent is all, since there's .to_whatever for all of the other cases
<jbrhbr> rather than requiring someone to write !! in one case
edwinvdgraaf has joined #ruby
<Papierkorb> jbrhbr: sure, and as even stuff like json or yaml patch themselves (in Rails) into any object ..
dotix has joined #ruby
edwinvdgraaf has quit [Read error: Connection reset by peer]
Rickmasta has joined #ruby
edwinvdgraaf has joined #ruby
<NightMonkey> Howdy. Dumb SysAdmin here. How do I get 'ri' to show me information about methods available to 'self'?
waynerade has quit [Remote host closed the connection]
<apeiros> NightMonkey: you need to figure out what self is first
<apeiros> self.class
<NightMonkey> Ex: 'ri self.clone'
<NightMonkey> Oh!
<apeiros> but clone is inherited from Object, so Object#clone:
<apeiros> &ri Object#clone
<`derpy> method `Object#clone`: Produces a shallow copy of obj---the instance variables of obj are copied, but n… • http://rubydoc.info/stdlib/core/Object#clone-instance_method
<NightMonkey> apeiros: If nothing else is done to 'self', does it inherit everything the 'Object' provides?
<apeiros> (and even if it's redefined in a subclass, then that's usually done to preserve the idea of Object#clone)
<apeiros> NightMonkey: self is just the "current" object. (almost) all objects are instances of a class which inherits from Object.
allcentury has joined #ruby
<apeiros> there are a few exceptions - instances of BasicObject and descendants
theery has joined #ruby
<norc> >> catch(:fun) do; o = Object.new; def o.to_str; throw(:fun); end; $LOADED_FEATURES.unshift(o); require 'fiddle'; Fiddle::Pointer.new(1.object_id * 2)[1] &= ~8; 1.instance_variable_set(:"f", 1); end; puts "foo"
<ruboto> norc # => foo ...check link for more (https://eval.in/479475)
<norc> The absolute fun you can have with this.
<jbrhbr> thanks
symbol has joined #ruby
symbol has quit [Client Quit]
uri has quit [Quit: Textual IRC Client: www.textualapp.com]
dotix has quit [Ping timeout: 246 seconds]
<NightMonkey> apeiros: Thanks. Interesting. However, while I can do 'self.class', 'ri Object@class' comes back with not found.
<adaedra> Object@class?
<adaedra> Why?
<apeiros> NightMonkey: terminology is # for instance methods and :: for class methods
<apeiros> @ is not used for documentation
<adaedra> NightMonkey: &ri Object#class
<`derpy> NightMonkey: method `Object#class`: Returns the class of obj. This method must always be called with an explicit rec… • http://rubydoc.info/stdlib/core/Object#class-instance_method
<adaedra> Like this
<apeiros> and `class` is an instance method, so in documentation, it is referred to as Object#class (instance method 'class' of class 'Object')
<NightMonkey> Sorry! I meant "#". Also "Object::class" comes up empty.
Lions has left #ruby [#ruby]
<apeiros> yupp, because it's an instance method ;-)
<apeiros> if you're not sure, use .
<NightMonkey> apeiros: Ah, weird. Perhaps some of my docs are missing...
<apeiros> in documentation, Object.class is "either instance or class method" (IMO a bad choice, but that's how it is)
<apeiros> NightMonkey: hm, usually either *all* core docs are missing, or none
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros> NightMonkey: does `ri Array` say "Unknown xxx" too?
troyready has joined #ruby
<NightMonkey> apeiros: Well, you helped me answer this question - thank you!
<apeiros> yw
K1MOS has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros> NightMonkey: if above says "nothing known" (or similar) too, then it means you don't have core docs installed. depending on your distro, you have to install another package.
<NightMonkey> apeiros: I'm using rvm, fwiw.
newdan has quit [Quit: Lost terminal]
<NightMonkey> With ruby-2.2.1.
<norc> Though here is a question: Why is this not working?
<apeiros> NightMonkey: rvm docs generate
<norc> >> catch(:fun) { o = Object.new; def o.to_str; throw(:fun); end; $LOADED_FEATURES.unshift(o); Process.kill(:SEGV, $$) }; puts "foo"
<ruboto> norc # => (https://eval.in/479476)
<apeiros> by default, rvm does not generate docs.
<NightMonkey> apeiros: You are solving more than I asked for. I like it. :)
<apeiros> NightMonkey: also, use pry and install pry-doc. pry is like irb, but slightly better. then you can do `? self.class` and it'll show you the docs.
<NightMonkey> Oh!
* NightMonkey dissolves into a puddle of happiness.
<Papierkorb> "slightly better" Oô;
<apeiros> `$ self.class` will show you its source code (doesn't work for native C methods of extensions)
duncannz has joined #ruby
<apeiros> Papierkorb: up to you to define how large "slightly" is ;-)
edwinvdgraaf has quit [Read error: Connection reset by peer]
edwinvdg_ has joined #ruby
DurstBurger has quit [Ping timeout: 245 seconds]
<blarghlarghl> why has no one ever told me about pry?
<blarghlarghl> man
<blarghlarghl> thanks apeiros
<NightMonkey> apeiros: I am a huuuge fan of anything that extends tab-completion. :)
<apeiros> blarghlarghl: the brochures have been in the office for months!
<yxhuvud> blargh: you have lived under a rock?
<NightMonkey> I am now mostly a "Tab Completion Engineer".
<jbrhbr> pry has its issues still from what i've seen
<jbrhbr> i want to try out the ruby notebook thing
xet7 has joined #ruby
<norc> apeiros: You probably know this. Then I fiddle around in Ruby causing an access violation, the linux kernel will just seng SEGV to the offending process right?
<blarghlarghl> apeiros: :D
<Papierkorb> blarghlarghl: try raising anything, and then ask pry what you ask yourself: wtf?!?!?
<Papierkorb> I'm not kidding. do it.
<apeiros> f'ing trump! (not the idiot, the gamer) - why can he brawl and I can't?!?
<blarghlarghl> Papierkorb: Beautiful.
<blarghlarghl> Papierkorb: I like the progression when adding more and more ?!'s
<apeiros> ugh. blizzard. y u so bad at math? 20.00 -> 0.00 is NOT 20h
<Papierkorb> blarghlarghl: show-code Foo#bar shows the code, but I like edit Foo#bar better
karapetyan has quit [Remote host closed the connection]
podman has quit [Quit: Connection closed for inactivity]
<apeiros> show-code = $ btw.
* apeiros too lazy to type show-code
peterhil_ has quit [Ping timeout: 250 seconds]
<Papierkorb> was always annoying to type that. thanks.
maloik has quit [Ping timeout: 245 seconds]
<apeiros> I quite dislike the `wtf?!?!?!?!` mechanic of pry, though
baweaver has joined #ruby
<shevy> hah
<Papierkorb> blarghlarghl: require 'pry' in your project, and then call "binding.pry" anywhere to get into a pry shell. try 'ls' to list everything `self` can see directly. et cetera
<blarghlarghl> apeiros: it's a bit cutesy. i can see why it'd be annoying.
<Papierkorb> apeiros: there's always cat --ex
<blarghlarghl> Papierkorb: pry(main)> show-code Array#first # => SyntaxError: unexpected tCONSTANT, expecting keyword_do or '{' or '('
<blarghlarghl> Papierkorb: Am I being dumb? I'm being dumb, right?
* adaedra waves goodbye
spider-mario has quit [Remote host closed the connection]
<al2o3-cr> should be show-source
<blarghlarghl> Ah.
<blarghlarghl> Yep, that'll do it. Thanks :)
lukeasrodgers has quit [Quit: Leaving.]
ivanskie has joined #ruby
IrishGringo has quit [Read error: Connection reset by peer]
<norc> >> catch(:fun) do; o = Object.new; def o.to_str; throw(:fun); end; $LOADED_FEATURES.unshift(o); require 'fiddle'; Fiddle::Pointer.new(0.object_id * 2)[1] &= ~8; :foo.instance_variable_set(0, 1); end; puts "foo"
<ruboto> norc # => foo ...check link for more (https://eval.in/479477)
IrishGringo has joined #ruby
<Papierkorb> blarghlarghl: Pry also parses documentation by itself for pretty printing. no need to have a yard server running: show-doc YourOwn#method
<norc> Seriously, why can I longjmp out of segmentation fault caused by an actual access violation, but not from one triggered by SEGV manually
Kyuujitsu has joined #ruby
<blarghlarghl> Papierkorb: thank you :)
sepp2k has joined #ruby
woven has joined #ruby
baweaver has quit [Ping timeout: 246 seconds]
axl_ has quit [Quit: axl_]
karapetyan has joined #ruby
[spoiler] has quit [Ping timeout: 264 seconds]
drPoggs has quit [Ping timeout: 264 seconds]
leslie_ has quit [Ping timeout: 264 seconds]
momomomomo has quit [Quit: momomomomo]
Voker57 has joined #ruby
Voker57 has quit [Changing host]
Voker57 has joined #ruby
paradisaeidae has quit [Ping timeout: 250 seconds]
kaspergrubbe has joined #ruby
leslie has joined #ruby
leslie has quit [Changing host]
leslie has joined #ruby
lucas has joined #ruby
Takumo has joined #ruby
Takumo has quit [Changing host]
Takumo has joined #ruby
tekacs has joined #ruby
JoL1hAHN has joined #ruby
asteros has quit [Quit: asteros]
<Papierkorb> blarghlarghl: one last thing, there's also the 'pry-rails' gem for rails integration, which replaces irb for rails console. you can then also call binding.pry in your controllers et al, the console will show in the terminal where you started the server (Though better_errors is also good)
drPoggs has joined #ruby
[spoiler] has joined #ruby
araujo has quit [Ping timeout: 245 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
wldcordeiro has quit [Ping timeout: 260 seconds]
<blarghlarghl> Papierkorb: that's neat too - though we aren't a Rails shop. :)
cfloare has joined #ruby
edwinvdg_ has quit [Remote host closed the connection]
theery has quit []
araujo has joined #ruby
myztic has quit [Quit: leaving]
RegulationD has quit [Remote host closed the connection]
Porfa has joined #ruby
<Porfa> hello! :)
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<Papierkorb> hi
brunto has quit [Ping timeout: 260 seconds]
sarkis has quit [Ping timeout: 245 seconds]
whippythellama has quit [Quit: WeeChat 1.3]
<shevy> Porfa is back to haunt #ruby again yay
roxtrongo has joined #ruby
Balzrael has quit [Quit: Leaving]
peterhil_ has joined #ruby
<Porfa> shevy: hahah :) im just hanging out, unfortunally for you of course :p
bronson has quit [Remote host closed the connection]
<Porfa> i haven’t been coding, been learning other things, i miss having the change to be just on ruby
myztic has joined #ruby
woven has quit [Quit: Leaving]
hobodave has quit [Ping timeout: 260 seconds]
myztic has quit [Client Quit]
sarkis has joined #ruby
<ivanskie> sinisterchipmunk are you around?
myztic has joined #ruby
<ivanskie> guess not
solocshaw has joined #ruby
CloCkWeRX has joined #ruby
CloCkWeRX has left #ruby [#ruby]
Kyuujitsu has quit [Quit: leaving]
alvaro_o has quit [Quit: Ex-Chat]
ur5us has quit [Remote host closed the connection]
kirun has quit [Remote host closed the connection]
unreal_ has quit [Ping timeout: 260 seconds]
babblebre has quit [Quit: Connection closed for inactivity]
aspiers has quit [Ping timeout: 246 seconds]
last_staff has quit [Remote host closed the connection]
Porfa has quit [Read error: Connection reset by peer]
finisherr_ has joined #ruby
finisherr has quit [Ping timeout: 260 seconds]
finisherr has joined #ruby
finisherr_ has quit [Ping timeout: 245 seconds]
paradisaeidae has joined #ruby
sfmk has joined #ruby
amincd has joined #ruby
Hobbyboy has quit [Ping timeout: 264 seconds]
atmosx_ has joined #ruby
Bish has quit [Ping timeout: 245 seconds]
<amincd> what does this do: str[regex, fixnum]?
evil_shibe has left #ruby [#ruby]
heftig has quit [Remote host closed the connection]
contradictioned has quit [Quit: No Ping reply in 180 seconds.]
Diabolik has joined #ruby
diegoviola has quit [Ping timeout: 260 seconds]
ethe has joined #ruby
contradictioned has joined #ruby
alindeman has joined #ruby
heftig has joined #ruby
kalleth has joined #ruby
Bish has joined #ruby
finisherr has quit [Ping timeout: 260 seconds]
nateberkopec has joined #ruby
<ethe> What is the difference between = and << ?
finisherr_ has joined #ruby
<amincd> how do I match the two Ls in "HELLO" using the str[regex, fixnum] syntax?
danielpclark has joined #ruby
<amincd> what does the fixnum argument do?
diego2 has joined #ruby
Hobbyboy has joined #ruby
diego2 has quit [Changing host]
diego2 has joined #ruby
diego2 is now known as diegoviola
devbug has quit [Read error: Connection reset by peer]
<havenwood> amincd: str[regexp, capture] → new_str or nil
Porfa has joined #ruby
<amincd> havenwood: what does 'capture' mean?