apeiros changed the topic of #ruby to: http://ruby-community.com || Ruby 2.2.1; 2.1.5; 2.0.0-p643: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org, other public logging is prohibited
tier has quit [Remote host closed the connection]
keen_ has quit [Read error: Connection reset by peer]
dodobrain has joined #ruby
LJT has quit [Quit: Sleeping...]
jottr_ has joined #ruby
Asher has quit [Ping timeout: 265 seconds]
davedev24_ has quit []
keen_ has joined #ruby
voxxit has quit [Quit: Lingo: www.lingoirc.com]
xenokiller has quit [Ping timeout: 240 seconds]
x1337807x has joined #ruby
Akagi201_ has quit [Read error: Connection reset by peer]
Akagi201 has joined #ruby
thumpba_ has quit [Ping timeout: 245 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cjim has quit [Quit: (null)]
Sawbones has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
RegulationD has quit [Remote host closed the connection]
FernandoBasso has quit [Quit: leaving]
Akagi201 has quit [Ping timeout: 250 seconds]
Soda has joined #ruby
CatMartyn has joined #ruby
weemsledeux has joined #ruby
kblake has quit [Remote host closed the connection]
ramfjord_ has joined #ruby
maletor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
duncannz has quit [Ping timeout: 245 seconds]
teddyp1cker has joined #ruby
Yzguy has joined #ruby
ramfjord has quit [Read error: Connection reset by peer]
dorei has quit []
babykosh has joined #ruby
teddyp1cker has quit [Ping timeout: 245 seconds]
babykosh has quit [Read error: Connection reset by peer]
Yzguy has quit [Client Quit]
charliesome has quit [Quit: zzz]
robustus has quit [Ping timeout: 255 seconds]
JDiPierro has joined #ruby
babykosh has joined #ruby
babykosh has quit [Read error: Connection reset by peer]
babykosh has joined #ruby
dx7 has joined #ruby
jeramy_s has joined #ruby
Coraline_ZzZz is now known as Coraline
robustus has joined #ruby
arquebus has joined #ruby
charliesome has joined #ruby
JoshGlzBrk has joined #ruby
hpoydar has quit [Remote host closed the connection]
duncannz has joined #ruby
Sawbones has quit [Remote host closed the connection]
dx7 has quit [Ping timeout: 265 seconds]
lewix has quit [Remote host closed the connection]
Troy^ has joined #ruby
nettoweb_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kblake has joined #ruby
tier has joined #ruby
Troy^ has quit [Max SendQ exceeded]
sevvie has joined #ruby
Troy^ has joined #ruby
baweaver has quit [Remote host closed the connection]
bonhoeffer has joined #ruby
nb_bez___ has joined #ruby
Troy^ has quit [Client Quit]
Troy^ has joined #ruby
Troy^ has quit [Max SendQ exceeded]
gccostabr has joined #ruby
phutchins has quit [Ping timeout: 246 seconds]
phutchins has joined #ruby
babykosh has quit [Quit: babykosh]
casadei has quit [Remote host closed the connection]
jerematic has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
casadei has joined #ruby
narcan has joined #ruby
centrx has quit [Remote host closed the connection]
Sawbones has joined #ruby
<bonhoeffer> i have a rack application with this rackup: https://gist.github.com/tbbooher/844d4a66304ee7576747
<bonhoeffer> how can i do relative links
<bonhoeffer> it only serves: public/index.html
kblake has quit [Remote host closed the connection]
arquebus has left #ruby [#ruby]
JDiPierro has quit [Remote host closed the connection]
colorisco has quit [Ping timeout: 272 seconds]
AlphaTech is now known as zz_AlphaTech
iteratorP has joined #ruby
zorak8 has quit [Read error: Connection reset by peer]
quintinadam has joined #ruby
zorak8 has joined #ruby
ramfjord_ has quit [Read error: Connection reset by peer]
lewix has joined #ruby
ramfjord has joined #ruby
tlarevo has joined #ruby
nettoweb has joined #ruby
quintinadam has quit [Read error: Connection reset by peer]
DerisiveLogic has quit [Remote host closed the connection]
amdbcg has joined #ruby
_pakchoi_ has joined #ruby
freerobby has quit [Quit: Leaving.]
amclain has joined #ruby
danman has joined #ruby
lewix has quit [Read error: Connection reset by peer]
_pakchoi_ has quit [Client Quit]
_pakchoi_ has joined #ruby
lewix has joined #ruby
kyrylo has joined #ruby
_pakchoi_ has quit [Client Quit]
krainboltgreene has joined #ruby
bricker has quit [Ping timeout: 276 seconds]
mrsolo has joined #ruby
evanjs has joined #ruby
gccostabr has quit [Quit: ZZZzzz…]
djellemah_ has joined #ruby
tier has quit [Remote host closed the connection]
tier has joined #ruby
Sawbones has quit [Remote host closed the connection]
Sawbones has joined #ruby
claptor has joined #ruby
diegoviola has joined #ruby
djellemah has quit [Ping timeout: 256 seconds]
oo_ has joined #ruby
bim has quit [Remote host closed the connection]
astrobun_ has quit [Remote host closed the connection]
longfeet has joined #ruby
tkuchiki has joined #ruby
dfinninger has joined #ruby
doodlehaus has joined #ruby
reinaldob has quit [Remote host closed the connection]
mleung has quit [Quit: mleung]
frem has quit [Quit: Connection closed for inactivity]
Sawbones has quit [Remote host closed the connection]
reinaldob has joined #ruby
Sawbones has joined #ruby
KC9YDN has quit [Quit: ZNC - http://znc.in]
Sawbones has quit [Remote host closed the connection]
doodlehaus has quit [Remote host closed the connection]
RegulationD has joined #ruby
reinaldob has quit [Ping timeout: 246 seconds]
tlarevo has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 264 seconds]
sarmiena_ has quit [Quit: sarmiena_]
Sawbones has joined #ruby
17WABMF36 has joined #ruby
aghalarp has joined #ruby
_pakchoi_ has joined #ruby
dfinninger has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 246 seconds]
KC9YDN has joined #ruby
KC9YDN has joined #ruby
danman has quit [Quit: danman]
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
StevenXL has joined #ruby
Sawbones has quit [Remote host closed the connection]
x1337807x has quit [Ping timeout: 256 seconds]
Sawbones has joined #ruby
Sawbones has quit [Remote host closed the connection]
<StevenXL> Hi. Can someone give me a general idea of how "refute" work in minitest.
jgrevich has joined #ruby
<StevenXL> What exactly is it testing for? What would make it pass?
Sawbones has joined #ruby
hpoydar has joined #ruby
Sawbones has quit [Remote host closed the connection]
bigmac_ has quit [Ping timeout: 252 seconds]
mitchellhenke has joined #ruby
<bonhoeffer> oh — why does ruby compute: Math.exp(-1/2) as 1/e
Sawbones has joined #ruby
<bonhoeffer> Math.exp(-1/2) -> 0.36787944117144233 not 0.6065306597
astrobun_ has joined #ruby
<bonhoeffer> oh — because -1/2 -> -1
<bonhoeffer> ??
<ruboto> I don't know anything about ?
<bonhoeffer> -1.0/2 -> 0.5, but how do i get a/2 to ensure a is a float?
mrsolo has quit [Quit: This computer has gone to sleep]
poguez_ has quit [Quit: Connection closed for inactivity]
hpoydar has quit [Ping timeout: 265 seconds]
phutchins has quit [Ping timeout: 256 seconds]
<jokester> a/2.0
<jokester> should be fine
<bonhoeffer> yeah — good point
<bonhoeffer> or .fdiv
_djbkd has quit [Remote host closed the connection]
mrsolo has joined #ruby
krisquigley has joined #ruby
<bonhoeffer> glad i test — goodness
Stupid-Liar has joined #ruby
phutchins has joined #ruby
arescorpio has joined #ruby
_djbkd has joined #ruby
bonhoeffer has quit [Quit: bonhoeffer]
havenwood has joined #ruby
krisquigley has quit [Ping timeout: 276 seconds]
Sawbones has quit [Remote host closed the connection]
Stupid-Liar is now known as Volume-
Volume- is now known as Mx[dot]Brevity
hmsimha has joined #ruby
Sawbones has joined #ruby
jonr22 has quit [Ping timeout: 256 seconds]
jottr has joined #ruby
_1_Marc has joined #ruby
<_1_Marc> Hey
_1_Marc has quit [Remote host closed the connection]
Curiousperson has joined #ruby
<Curiousperson> apeiros: you are a faggot
<Curiousperson> i just wanted to bypass senseless debate and make that conclusion
<Coraline> That's not appropriate.
jottr_ has quit [Ping timeout: 252 seconds]
Eiam_ has joined #ruby
<Curiousperson> your mother fucking your dad was not appropriate
<Curiousperson> yet here we are
<Coraline> !ban Curiousperson !P 5d Bah
<Coraline> Grr
krz has joined #ruby
<Curiousperson> coralline how about you just bypass senseless bullshit and hop up on my dick
<Curiousperson> i don't want to game a dumb slut
<Curiousperson> so just hope up
<Curiousperson> hop*
dogweather has joined #ruby
<Curiousperson> Coraline: i'm gonna bury my dick so far up that pussy that whoever can pull it out shall be crowned king arthur
Sawbones has quit [Remote host closed the connection]
dogweather has left #ruby [#ruby]
mrsolo has quit [Quit: This computer has gone to sleep]
<Curiousperson> hehe
<Coraline> Fuck this place.
Coraline has left #ruby ["Zoom zoom"]
<weaksauce> apeiros
Sawbones has joined #ruby
<Curiousperson> hehe
<Curiousperson> she mad cause she know she want this here dick right here
Curiousperson was kicked from #ruby by sevenseacat [Your behavior is not conducive to the desired environment.]
<weaksauce> sevenseacat
dseitz has joined #ruby
phutchins has quit [Ping timeout: 250 seconds]
<sevenseacat> I also have superpowers so if idiots like that come back, ping me.
<sevenseacat> and maybe Coraline will come back :(
Sawbones has quit [Remote host closed the connection]
Limix has joined #ruby
<weaksauce> sevenseacat yeah I will in the future
Sawbones has joined #ruby
<mozzarella> what's "conducive"?
<sevenseacat> appropriate, i think
Sawbones has quit [Remote host closed the connection]
<mozzarella> I see
<mozzarella> I didn't know there were mods in this room
tier has quit [Remote host closed the connection]
<mozzarella> I thought the admin had forsaken us
Sawbones has joined #ruby
Deele has quit [Ping timeout: 256 seconds]
robbyoconnor has joined #ruby
kreeves has joined #ruby
jeramy_s has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
GeekOnCoffee has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pie_ has quit [Read error: Connection reset by peer]
mrsolo has joined #ruby
jackjackdrpr has quit [Ping timeout: 250 seconds]
_ixti_ has joined #ruby
pie_ has joined #ruby
ixti has quit [Ping timeout: 240 seconds]
<sevenseacat> if we dont know, we cant fix.
* sevenseacat is not psychic
* sevenseacat goes back to figuring out why travis build is failing
GeekOnCoffee has left #ruby ["(null)"]
<krainboltgreene> I'm not sure that's a good excuse anymore.
jeramy_s has joined #ruby
<sevenseacat> ?
<weaksauce> wat
<Radar> wat
<krainboltgreene> #nodejs's toxicity is significantly less prevalent and they can't possibly have more resources.
<krainboltgreene> (significantly more)
<sevenseacat> wat
<weaksauce> I haven't seen that many trolls and ruby is older than the latest #newthing
<mozzarella> I don't follow
yh has quit [Ping timeout: 252 seconds]
<Radar> I've set an akick rule for that hostname + nickname
<Radar> If they come back, they will be automatically banned by Chanserv.
<weaksauce> let's be frank here, it's not a ruby culture thing, it's a troll thing
<sevenseacat> are we supposed to be psychic and kick people *before* they troll?
aghalarp has quit [Max SendQ exceeded]
<krainboltgreene> The "we don't know about it so we can't act" excuse seems hollow when there are two equally large channels with pretty much the same demographic and both long histories of operating, but one is significantly more toxic than the other.
<sevenseacat> :/
<sevenseacat> i guess thats a yes... sorry, i'll work on developing my sixth sense.
<krainboltgreene> This isn't to judge/put blame on you sevenseacat, it's just your message got me thinking about the differences.
<Radar> krainboltgreene: can't tell if trolling or actually having a valid point.
<Radar> krainboltgreene: We are not watching the channel 24/7.
<sevenseacat> idiots exist on the internet. we can't prevent that.
mrsolo has quit [Quit: This computer has gone to sleep]
<weaksauce> how many mods are in ruby vs nodejs
<krainboltgreene> Are the #nodejs admins watching 24/7?
<diegoviola> idiots exist everywhere
<Radar> krainboltgreene: *shrug*
<Radar> krainboltgreene: what are you expecting us to do, exactly?
<sevenseacat> having something actionable would be great.
pontiki has joined #ruby
<krainboltgreene> Discuss reasonably?
dx7 has joined #ruby
<krainboltgreene> I mean the reaction to my point is pretty telling already.
<weaksauce> krainboltgreene perhaps the higher number of trolls can be attributed to ruby had a checkered past w.r.t. hostility to women so the trolls are more apt to go there?
DexterLB has quit [Ping timeout: 248 seconds]
<weaksauce> who knows
evanjs has quit [Remote host closed the connection]
<Radar> !botsnack
<sevenseacat> helpa isnt here anymore.
<Radar> ok, so that's why helpa didn't log any messages
evanjs has joined #ruby
<Radar> Now I get it.
<sevenseacat> but there are public logs in the channel topic.
<krainboltgreene> I wonder if #nodejs blocks that irc webclient.
<sevenseacat> if they do, they'll also be blocking a lot of legitimate users
<krainboltgreene> weaksauce: You're probably correct.
helpa has joined #ruby
<Radar> I don't know why helpa was in #rubyonrails and not here :\
helpa has quit [Remote host closed the connection]
<dodobrain> Radar, maybe krainboltgreene means that there needs to (a) a good signalling mechanism to 'energise' the ops (b) and more likely ops spread across timezones who may be likely to keep an eye out for stuff
helpa has joined #ruby
<krainboltgreene> Or "travis but for toxicity in irc rooms"
<krainboltgreene> ;)
<weaksauce> krainboltgreene ruby is also more well known and older so that's something too.
<krainboltgreene> THEN developers will pay attention.
<Radar> Ok, I think this is what we need: some way to signal the ops when there's trouble.
<krainboltgreene> weaksauce: Compared to Node.js?
<Radar> There's already !r but that's just for me
<Radar> !r
<helpa> Radar: you have been summoned by Radar
<weaksauce> absolutely
<sevenseacat> Radar: apeiros has kicked all the other bots to have his own as the official channel bot
<Radar> sevenseacat: that's ridiculous.
<Radar> So can someone please add !ops command to https://github.com/radar/railsbot which reads a list of names from a yaml file?
<pontiki> FORK THE CHANNEL
andersoldahl has joined #ruby
<Radar> yaml file contains a key which is the channel name, with array of names underneath it
<Radar> when !op is said in a channel by an authorized user then those people on that list get notified
dx7 has quit [Ping timeout: 256 seconds]
<Radar> regarding timezones: we just got new ops appointed in this channel for that reason.
jgorak__ has joined #ruby
teddyp1cker has joined #ruby
andersoldahl has quit [Max SendQ exceeded]
<Radar> tl;dr: patches welcome
pie_ has quit [Read error: Connection reset by peer]
<bradland> not sure what constitutes an "authorized user" for the op bat signal, but i'll volunteer to submit to whatever the screen is
<Radar> bradland: look through the source code to Railsbot. It's obvious :)
<krainboltgreene> Started.
<Radar> There isn't much code to it.
<weaksauce> krainboltgreene ruby is 20 years old vs 6 to node.js as a framework.
<bradland> ah, it hought it was a moderated list
<krainboltgreene> weaksauce: Oh come on, ruby wasn't public until 99 AFAIR.
<Radar> krainboltgreene: add sevenseacat to that list. Also will need a list for #rubyonrails.
<Radar> Let's not debate community semantics.
bruno- has joined #ruby
<krainboltgreene> Feature creep! >:(
<Radar> There will be assholes in every channel.
<krainboltgreene> ;)
<Radar> krainboltgreene: assume the list is the same for both channels
jgorak_ has quit [Ping timeout: 246 seconds]
<Radar> i.e. both channels have sevenseacat and I as ops
<weaksauce> krainboltgreene 1995
<Radar> we will add more as we see them
<krainboltgreene> Christ it's 2015.
* sevenseacat nods
Eiam_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<weaksauce> and does a few years really change the point even if it was the case?
<Radar> !popcorn
<krainboltgreene> Not sure years is a good metric for knowability. Forth is much much older than Ruby, but I'm constantly telling people about it.
jokester has quit [Quit: recharge]
teddyp1cker has quit [Ping timeout: 256 seconds]
<weaksauce> it has to be somewhat popular too :P
<krainboltgreene> Radar: I'm assuming I add it to bot.rb?
<Radar> krainboltgreene: yeah, define a new method called op_command and that'll be picked up automatically.
<weaksauce> I amend my statement. it's a 20 year old popular language
<krainboltgreene> Got it.
<weaksauce> vs some new framework
<Radar> krainboltgreene: make sure to check for authorized users first (use the authorized? method) because I don't want randos spamming the command
<krainboltgreene> weaksauce:
<krainboltgreene> 6 years old isn't "new".
<krainboltgreene> And they've got 400 more users in their irc at the moment. Surely that makes up for the age gap?
<krainboltgreene> Radar: Kay.
<sevenseacat> krainboltgreene: they have 400 more users? what were you saying earlier about resources?
mrsolo has joined #ruby
_djbkd has quit [Remote host closed the connection]
<Radar> Can we agree that managing communities is hard and that nobody gets it right?
bruno- has quit [Ping timeout: 246 seconds]
<weaksauce> ^
<weaksauce> 6 years is pretty new imo
<sevenseacat> concur.
<weaksauce> but whatever
jeramy_s has quit [Quit: Peace out!]
<Radar> Can we stop having this meta discussion that somehow #node.js has achieved, somehow, magically, perfection when it comes to keeping trolls out of their IRC channel?
<krainboltgreene> If we could, we would have.
<Radar> Good :)
mrsolo has quit [Client Quit]
<krainboltgreene> Radar: How do I detemrine what channel I'm in?
<ght> Question: I have an hash array where each entry includes the value "number". Is there a quick command to concisely search all members of this array to see if number == 123, or do I have to iterate through the array with .each do |num|; if num['number'] == 123....
<ght> ?
<Radar> krainboltgreene: should be available as... I am not sure. I think it's an option? Let me look at the code.
<ght> These are example names, of course.
<Radar> krainboltgreene: ah, it's reply_to
<krainboltgreene> kk
<pontiki> ght: maybe look at Array#select ?
17WABMF36 has quit [Remote host closed the connection]
<pontiki> i'm not sure i understand what you're going for, tho
<ght> pontiki: perfect, thank you.
<ght> No, you're exactly right, wasn't aware of this method. Very helpful, thank you.
<Radar> Enumerable#select iirc </pedant>
<pontiki> yes, quite
<krainboltgreene> Radar: Updated.
<pontiki> periodically re-read Enumerable
benlieb_ has joined #ruby
StevenXL has quit [Remote host closed the connection]
bim has joined #ruby
<bradland> let's say I were going to add some methods to the parser in this gem: https://github.com/jordansissel/fosl/blob/master/lib/fosl/parser.rb
<bradland> and i plan to do that in another gem called fosl-ext
<bradland> would this be a good layout? https://gist.github.com/bradland/bb167db656dcfe693aff
<pontiki> yes
<bradland> the file in fosl_ext/parser.rb would reopen the Fosl::Parser class and add the desired methods
<bradland> fosl_ext.rb would just require that file
Coraline has joined #ruby
Sawbones has quit [Remote host closed the connection]
Eiam_ has joined #ruby
iamjarvo has joined #ruby
freerobby has joined #ruby
zz_AlphaTech is now known as AlphaTech
evanjs has quit [Remote host closed the connection]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kblake has joined #ruby
<krainboltgreene> Radar: Got a call, hold on for more changes.
krz has quit [Read error: Connection reset by peer]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
msnyon has quit [Quit: Textual IRC Client: www.textualapp.com]
krz has joined #ruby
Sawbones has joined #ruby
havenwood has quit [Ping timeout: 246 seconds]
kblake has quit [Ping timeout: 248 seconds]
lemur has joined #ruby
JoshGlzBrk has joined #ruby
sevvie has quit [Ping timeout: 250 seconds]
makepkgnotwar has joined #ruby
amystephen has quit [Quit: amystephen]
tus has quit []
tvw has quit []
sevvie has joined #ruby
nb_bez___ has quit [Quit: Connection closed for inactivity]
umby24|offline is now known as umby24
jokester has joined #ruby
_pakchoi_ has quit [Remote host closed the connection]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jerematic has quit [Remote host closed the connection]
Megtastique has quit [Ping timeout: 250 seconds]
oo__ has joined #ruby
braincras has quit [Quit: bye bye]
Megtastique has joined #ruby
oo_ has quit [Ping timeout: 244 seconds]
EasyCo has joined #ruby
adriancb has quit [Remote host closed the connection]
bim has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 256 seconds]
hmnhf_ has quit [Read error: Connection reset by peer]
hmnhf_ has joined #ruby
orionstein has quit [Quit: ZNC - http://znc.in]
braincrash has joined #ruby
Soda has quit [Remote host closed the connection]
zorak8 has quit [Read error: Connection reset by peer]
zorak8 has joined #ruby
makepkgnotwar has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
x1337807x has joined #ruby
jenrzzz has joined #ruby
Coraline is now known as Coraline_ZzZz
orionstein has joined #ruby
kreeves has quit []
inavele has quit [Remote host closed the connection]
inavele has joined #ruby
bim has joined #ruby
tuelz has quit [Quit: WeeChat 1.0]
<ght> Duke takes the title!
hpoydar has joined #ruby
riotjones has joined #ruby
orionstein has quit [Quit: ZNC - http://znc.in]
ki0 has quit [Remote host closed the connection]
evanjs has joined #ruby
inavele has quit [Ping timeout: 246 seconds]
nym has quit [Quit: Connection closed for inactivity]
hpoydar has quit [Ping timeout: 252 seconds]
sankaber has joined #ruby
Megtastique has quit []
bigmac has joined #ruby
mrsolo has joined #ruby
riotjones has quit [Ping timeout: 246 seconds]
krisquigley has joined #ruby
bim has quit [Remote host closed the connection]
Channel6 has joined #ruby
krisquigley has quit [Ping timeout: 252 seconds]
sevvie has quit [Ping timeout: 276 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
roolo_ has quit [Remote host closed the connection]
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #ruby
Filete has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
orionstein has joined #ruby
iamjarvo has joined #ruby
lektrik has joined #ruby
jottr has quit [Ping timeout: 252 seconds]
lektrik has quit [Remote host closed the connection]
sevvie has joined #ruby
sarmiena_ has joined #ruby
GriffinHeart has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
orionstein has quit [Read error: Connection reset by peer]
orionstein has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mistermocha has joined #ruby
kblake has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
paradisaeidae has joined #ruby
agrinb has quit [Read error: Connection reset by peer]
orionstein has quit [Quit: ZNC - http://znc.in]
lewix has quit []
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
agrinb has joined #ruby
musashi1 has quit [Ping timeout: 250 seconds]
orionstein has joined #ruby
mleung has joined #ruby
evanjs has quit [Remote host closed the connection]
zacts has joined #ruby
evanjs has joined #ruby
duncannz has quit [Read error: Connection reset by peer]
Deele has joined #ruby
duncannz has joined #ruby
_djbkd has joined #ruby
evanjs has quit [Ping timeout: 244 seconds]
orionstein has quit [Quit: ZNC - http://znc.in]
dx7 has joined #ruby
beneggett has joined #ruby
adriancb has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
orionstein has joined #ruby
astrobun_ has quit [Remote host closed the connection]
Limix has quit [Quit: Limix]
decoponio has quit [Ping timeout: 252 seconds]
arescorpio has quit [Ping timeout: 252 seconds]
dx7 has quit [Ping timeout: 245 seconds]
Synthbread has quit [Ping timeout: 252 seconds]
claptor has quit [Quit: this channel is bakas]
freerobby has quit [Quit: Leaving.]
tlarevo has joined #ruby
Asher has joined #ruby
bluOxigen has joined #ruby
kp666 has joined #ruby
paradisaeidae has quit [Quit: ChatZilla 0.9.91.1 [Firefox 37.0.1/20150402191859]]
dseitz has joined #ruby
discypher has quit [Quit: Leaving.]
_djbkd has quit [Remote host closed the connection]
kblake has quit [Remote host closed the connection]
sevvie has quit [Ping timeout: 250 seconds]
_djbkd has joined #ruby
iotouch has joined #ruby
teddyp1cker has joined #ruby
iotouch has left #ruby [#ruby]
julio has joined #ruby
julio is now known as mrbignum
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oo__ has quit [Remote host closed the connection]
sarmiena_ has quit [Quit: sarmiena_]
serivich has joined #ruby
decoponio has joined #ruby
teddyp1cker has quit [Ping timeout: 250 seconds]
A205B064 has joined #ruby
<mrbignum> I need to create a rule where a user is allow to submit just 4 articles for month in a anual subscription. You guys have an idea how can I get the current month of the user's subscription?
casadei has quit [Remote host closed the connection]
tlarevo has quit [Remote host closed the connection]
<mrbignum> I store the initial and the final date of the subscription.
fbidu has joined #ruby
Sawbones has quit [Remote host closed the connection]
lxsameer has joined #ruby
lxsameer has joined #ruby
bigmac has quit [Ping timeout: 245 seconds]
mistermocha has quit [Remote host closed the connection]
sarmiena_ has joined #ruby
Sawbones has joined #ruby
bigmac has joined #ruby
pontiki has quit [Ping timeout: 248 seconds]
djdarkbeat has joined #ruby
C1V0 has joined #ruby
michaeldeol has joined #ruby
mrbignum has quit []
Sawbones has quit [Ping timeout: 250 seconds]
ramfjord has joined #ruby
jack_rabbit has joined #ruby
bigmac has quit [Ping timeout: 246 seconds]
a5i has quit [Quit: Connection closed for inactivity]
ponga has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
beneggett has joined #ruby
zapata has quit [Quit: leaving]
tlarevo has joined #ruby
krz has quit [Ping timeout: 256 seconds]
Channel6 has quit [Quit: Leaving]
agrinb has quit [Remote host closed the connection]
longfeet has quit [Ping timeout: 250 seconds]
greenbagels has joined #ruby
agent_white has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hmnhf_ has quit [Ping timeout: 276 seconds]
bigmac has joined #ruby
oo_ has joined #ruby
teddyp1cker has joined #ruby
makepkgnotwar has joined #ruby
work_op is now known as sleep_op
Mon_Ouie has quit [Ping timeout: 255 seconds]
yh has joined #ruby
tlarevo has quit [Remote host closed the connection]
serivich has quit [Ping timeout: 244 seconds]
mistermocha has joined #ruby
fbidu has quit [Ping timeout: 250 seconds]
yh has quit [Ping timeout: 240 seconds]
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby
sarmiena_ has quit [Quit: sarmiena_]
RegulationD has joined #ruby
mleung has quit [Quit: mleung]
tlarevo has joined #ruby
hpoydar has joined #ruby
sevvie has joined #ruby
RegulationD has quit [Ping timeout: 272 seconds]
amdbcg has quit [Ping timeout: 252 seconds]
benegget_ has joined #ruby
hpoydar has quit [Ping timeout: 245 seconds]
x1337807x has joined #ruby
Feyn has joined #ruby
benegget_ has quit [Client Quit]
JoshGlzBrk has joined #ruby
beneggett has quit [Ping timeout: 240 seconds]
JoshGlzBrk has quit [Client Quit]
krisquigley has joined #ruby
makepkgnotwar has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
makepkgnotwar has joined #ruby
tlarevo has quit [Remote host closed the connection]
makepkgnotwar has quit [Client Quit]
Wolland has joined #ruby
Wolland has quit [Client Quit]
hanmac1 has joined #ruby
sevvie has quit [Ping timeout: 252 seconds]
krisquigley has quit [Ping timeout: 264 seconds]
DerisiveLogic has joined #ruby
Sawbones has joined #ruby
Morkel has joined #ruby
musashi1 has joined #ruby
oo_ has quit [Remote host closed the connection]
ahmetkapikiran has joined #ruby
astrobun_ has joined #ruby
digitalextremist has quit [Excess Flood]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
digitalextremist has joined #ruby
tlarevo has joined #ruby
oo_ has joined #ruby
serivich has joined #ruby
timonv1 has joined #ruby
ramfjord has quit [Ping timeout: 255 seconds]
tmoor has quit [Quit: Leaving]
Sawbones has quit []
sandelius has joined #ruby
gigetoo has quit [Remote host closed the connection]
umby24 is now known as umby24|offline
Sawbones has joined #ruby
VBlizzard has joined #ruby
dodobrain has quit [Quit: bye... o/]
tagrudev has joined #ruby
arup_r has joined #ruby
timonv1 has quit [Ping timeout: 265 seconds]
eshiffob has quit [Ping timeout: 250 seconds]
bMalum has joined #ruby
riotjones has joined #ruby
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
psy_ has quit [Ping timeout: 246 seconds]
wildroman2 has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
speaking1ode has joined #ruby
speakingcode has quit [Ping timeout: 240 seconds]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dx7 has joined #ruby
rippa has joined #ruby
sevvie has joined #ruby
kblake has joined #ruby
turtil has quit [Quit: WeeChat 1.1.1]
jack_rabbit has quit [Ping timeout: 250 seconds]
zorak8 has quit [Ping timeout: 250 seconds]
RegulationD has joined #ruby
dx7 has quit [Ping timeout: 255 seconds]
Sawbones has quit [Remote host closed the connection]
dogsitr has quit [Ping timeout: 248 seconds]
aganov has joined #ruby
greenbagels has quit [Read error: Connection reset by peer]
bruno- has joined #ruby
codecop has joined #ruby
jack_rabbit has joined #ruby
kblake has quit [Ping timeout: 252 seconds]
VBlizzard is now known as _blizzy_
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RegulationD has quit [Ping timeout: 276 seconds]
diegoviola has quit [Read error: No route to host]
Sawbones has joined #ruby
decoponio has quit [Quit: Leaving...]
diegoviola has joined #ruby
paradisaeidae has joined #ruby
jgrevich has quit [Quit: jgrevich]
oo_ has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 272 seconds]
dj_zubehoer has joined #ruby
Filete has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mistermocha has quit [Remote host closed the connection]
colorisco has joined #ruby
Sawbones has quit [Remote host closed the connection]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
psy_ has joined #ruby
<flughafen> morning
VBlizzard has joined #ruby
Sawbones has joined #ruby
lektrik has joined #ruby
f3lp has quit [Ping timeout: 252 seconds]
jack_rabbit has quit [Ping timeout: 252 seconds]
oo_ has joined #ruby
<shevy> hey flughafen ready for take off?
<flughafen> no!
sevvie has quit [Ping timeout: 250 seconds]
_blizzy_ has quit [Ping timeout: 250 seconds]
yeticry has quit [Ping timeout: 252 seconds]
agrinb has joined #ruby
VBlizzard is now known as _blizzy_
decoponio has joined #ruby
<flughafen> hows it going shevy
<shevy> hungry
<shevy> I guess I'll go buy food soon
agrinb_ has joined #ruby
yeticry has joined #ruby
f3lp has joined #ruby
jackjackdrpr has joined #ruby
jackjackdrpr has quit [Remote host closed the connection]
sandelius has joined #ruby
agrinb has quit [Ping timeout: 245 seconds]
Sawbones has quit [Remote host closed the connection]
bal has joined #ruby
agrinb_ has quit [Ping timeout: 245 seconds]
_blizzy_ has quit [Ping timeout: 253 seconds]
<flughafen> good!
VBlizzard has joined #ruby
VBlizzard has quit [Max SendQ exceeded]
tlarevo has quit [Remote host closed the connection]
VBlizzard has joined #ruby
oo_ has quit [Remote host closed the connection]
Eiam_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cefkamcau has joined #ruby
crdpink has joined #ruby
Morkel has quit [Quit: Morkel]
crdpink2 has quit [Ping timeout: 265 seconds]
jack_rabbit has joined #ruby
arup_r has quit []
Wolland has joined #ruby
lektrik has quit [Quit: Leaving]
dj_zubehoer has quit [Ping timeout: 252 seconds]
oo_ has joined #ruby
tlarevo has joined #ruby
ki0 has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
hgl has quit [Ping timeout: 272 seconds]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lemur has quit [Remote host closed the connection]
kp666 has quit [Read error: Connection reset by peer]
kp666 has joined #ruby
hgl has joined #ruby
eshiffob has joined #ruby
tvw has joined #ruby
piotrj has joined #ruby
piotrj has quit [Remote host closed the connection]
cefkamcau has quit [Ping timeout: 272 seconds]
<agent_white> I have
<agent_white> I HAVE FRENCH DIP
amclain has quit [Quit: Leaving]
<agent_white> !!!1oneone!
Mon_Ouie has joined #ruby
charliesome has quit [Quit: zzz]
_djbkd has quit [Remote host closed the connection]
spider-mario has quit [Remote host closed the connection]
f3lp has quit [Ping timeout: 255 seconds]
sandelius has joined #ruby
<shevy> I HAVE GERMAN TOP
zacts` has joined #ruby
fabrice31 has joined #ruby
<agent_white> 50/50?
<sevenseacat> i have a headache
zacts has quit [Ping timeout: 256 seconds]
<shevy> oh you poor cat
allenn has joined #ruby
yh has joined #ruby
<agent_white> Sorry for our shouting... shevy started it!
<jokester> meow
* agent_white runs spilling au jus on pants
<shevy> oh it is cat talk again
Mia has quit [Write error: Connection reset by peer]
jheg has joined #ruby
jack_rabbit has quit [Ping timeout: 276 seconds]
sigurding has joined #ruby
Elite6809 has joined #ruby
yh has quit [Ping timeout: 244 seconds]
VBlizzard has quit [Ping timeout: 250 seconds]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
Aswebb_ has joined #ruby
charliesome has joined #ruby
paradisaeidae has quit [Ping timeout: 245 seconds]
jack_rabbit has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby
Pharaoh2 has joined #ruby
livathinos has joined #ruby
hpoydar has joined #ruby
sevvie has joined #ruby
djbkd_ has joined #ruby
dumdedum has joined #ruby
jheg has quit [Quit: jheg]
sleep_op has quit [Ping timeout: 240 seconds]
zacts` has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
<flughafen> sevenseacat: awwwww
hpoydar has quit [Ping timeout: 240 seconds]
sevvie has quit [Ping timeout: 250 seconds]
Wolland has quit []
krisquigley has joined #ruby
arup_r has joined #ruby
terlar has joined #ruby
krisquigley has quit [Ping timeout: 250 seconds]
benlieb_ has quit [Quit: benlieb_]
yfeldblum has quit [Remote host closed the connection]
jack_rabbit has quit [Ping timeout: 245 seconds]
agrinb has joined #ruby
jack_rabbit has joined #ruby
sevvie has joined #ruby
djbkd_ has quit [Remote host closed the connection]
agrinb has quit [Ping timeout: 245 seconds]
wicope has joined #ruby
wicope has quit [Max SendQ exceeded]
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
antgel has joined #ruby
aganov has quit [Ping timeout: 248 seconds]
tagrudev has quit [Ping timeout: 256 seconds]
sandelius has quit [Read error: Connection reset by peer]
sandelius has joined #ruby
djellemah_ has quit [Quit: Leaving]
oo_ has quit [Remote host closed the connection]
djellemah has joined #ruby
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
anarang has joined #ruby
wicope has joined #ruby
wicope has quit [Max SendQ exceeded]
Hounddog has joined #ruby
aganov has joined #ruby
casadei has joined #ruby
tagrudev has joined #ruby
sevvie has quit [Ping timeout: 252 seconds]
bigkevmcd has joined #ruby
Mx[dot]Brevity has quit [Read error: Connection reset by peer]
<jhass> Radar: I have commit access to ruboto, we can add whatever to it
Mx[dot]Brevity has joined #ruby
Karpuragauram has joined #ruby
netroby has left #ruby ["Leaving"]
ponga has quit [Quit: Leaving...]
arup_r has quit [Remote host closed the connection]
oo_ has joined #ruby
oo_ has quit [Remote host closed the connection]
Hirzu has joined #ruby
jack_rabbit has quit [Ping timeout: 252 seconds]
oo_ has joined #ruby
mgorbach has quit [Ping timeout: 252 seconds]
vivekananda has quit [Ping timeout: 245 seconds]
serivichi has joined #ruby
casadei has quit [Ping timeout: 255 seconds]
<jhass> !addfact ops apeiros banisterfiend fflush Havenn jhass Karpah miah Mon_Ouie Radar seanstickle sepp2k workmad3 zzak
<ruboto> jhass, I will remember that ops is apeiros banisterfiend fflush Havenn jhass Karpah miah Mon_Ouie Radar seanstickle sepp2k workmad3 zzak
turtil has joined #ruby
yh has joined #ruby
Advocation has joined #ruby
serivich has quit [Ping timeout: 245 seconds]
krz has joined #ruby
arup_r has joined #ruby
ahmetkapikiran has joined #ruby
hanmac1 has quit [Quit: Leaving.]
LudicrousMango has joined #ruby
kaspernj has joined #ruby
mlev has quit [Quit: Leaving.]
dx7 has joined #ruby
ahmetkapikiran has quit [Client Quit]
bMalum has quit [Quit: bMalum]
RegulationD has joined #ruby
dx7 has quit [Ping timeout: 245 seconds]
RoryHughes has quit [Ping timeout: 256 seconds]
edwinvdgraaf has joined #ruby
pie_ has joined #ruby
pie_ has quit [Read error: Connection reset by peer]
pie_ has joined #ruby
Morkel has joined #ruby
sevvie has joined #ruby
yfeldblum has joined #ruby
pie_ has quit [Read error: Connection reset by peer]
RegulationD has quit [Ping timeout: 264 seconds]
krz has quit [Ping timeout: 240 seconds]
wicope has joined #ruby
A205B064 has quit [Ping timeout: 250 seconds]
yh has quit [Ping timeout: 248 seconds]
postmodern has quit [Quit: Leaving]
yh has joined #ruby
Takle has joined #ruby
cassianoleal has quit [Quit: (null)]
cassianoleal has joined #ruby
krz has joined #ruby
hpoydar has joined #ruby
krisquigley has joined #ruby
hmsimha has quit [Ping timeout: 252 seconds]
krisquigley has quit [Client Quit]
sevvie has quit [Ping timeout: 264 seconds]
lolmaus has joined #ruby
tommylommykins has quit [Remote host closed the connection]
ahmetkapikiran has joined #ruby
krz has quit [Ping timeout: 276 seconds]
<avril14th> morning rubyists
Hirzu has quit [Remote host closed the connection]
hpoydar has quit [Ping timeout: 264 seconds]
ghr has joined #ruby
ghr has quit [Max SendQ exceeded]
yh has quit [Ping timeout: 256 seconds]
cassianoleal has quit [Quit: (null)]
ghr has joined #ruby
Hirzu has joined #ruby
hanmac1 has joined #ruby
einarj has joined #ruby
agrinb has joined #ruby
krisquigley has joined #ruby
imanzarrabian has joined #ruby
DerisiveLogic has quit [Ping timeout: 246 seconds]
wicope has quit [Remote host closed the connection]
sevvie has joined #ruby
iwishiwerearobot has joined #ruby
User458764 has joined #ruby
agrinb has quit [Ping timeout: 245 seconds]
fabrice31 has quit [Remote host closed the connection]
zacts has joined #ruby
<agent_white> avril14th: Moin! \o
sevvie has quit [Ping timeout: 244 seconds]
<agent_white> ruboto: !Addmetosuperadminlist love,white
Ludicrou_ has joined #ruby
<agent_white> ... must be broken.
krz has joined #ruby
bradleyprice has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
yfeldblu_ has joined #ruby
edwinvdg_ has joined #ruby
LudicrousMango has quit [Ping timeout: 265 seconds]
edwinvdg_ has quit [Client Quit]
selu has joined #ruby
CustosL1m3n has quit [Ping timeout: 248 seconds]
musashi1 has quit [Read error: Connection timed out]
musashi1 has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
edwinvdgraaf has quit [Ping timeout: 250 seconds]
hmnhf_ has joined #ruby
Zen-Zen has joined #ruby
fabrice31 has joined #ruby
zapata has joined #ruby
yh has joined #ruby
Hobogrammer has quit [Ping timeout: 255 seconds]
wicope has joined #ruby
wicope has quit [Max SendQ exceeded]
sevvie has joined #ruby
djbkd_ has joined #ruby
wicope has joined #ruby
wicope has quit [Max SendQ exceeded]
leafybasil has quit [Remote host closed the connection]
Zai00 has joined #ruby
musashi1 has quit [Remote host closed the connection]
sevvie has quit [Ping timeout: 244 seconds]
djbkd_ has quit [Ping timeout: 245 seconds]
marr has joined #ruby
roolo has joined #ruby
yh has quit [Ping timeout: 246 seconds]
ahmetkapikiran has quit [Quit: ahmetkapikiran]
Zai00 has quit [Quit: Zai00]
parduse has quit [Ping timeout: 252 seconds]
casadei has joined #ruby
<arup_r> shevy: U there ?
<arup_r> certainty: flughafen: o/
<flughafen> suppppppers
<serivichi> sup
exadeci has joined #ruby
Takle has quit [Remote host closed the connection]
<arup_r> flughafen: serivichi: see this https://www.facebook.com/video.php?v=406682796170262&set=vb.251806748324535&type=2&theater and laugh as much as you can..
Takle has joined #ruby
<serivichi> lol wonder how much viruses I'll ege
<serivichi> ah... that is indeed funny lol
chthon has joined #ruby
<serivichi> nasty goat
<serivichi> what about you arup_r
<arup_r> means?
<arup_r> serivichi: I want that goat infront of me...
Zai00 has joined #ruby
DarthGandalf has quit [Ping timeout: 264 seconds]
<arup_r> I know how to kick solidly and to where to... :)
RoryHughes has joined #ruby
<serivichi> I take it that you experienced this before lol
DarthGandalf has joined #ruby
<arup_r> nah.. I never knew .. Goat are so determined and powerful
CustosL1m3n has joined #ruby
casadei has quit [Remote host closed the connection]
<serivichi> on a sidenote. I've always wondered why our identities are still via nickservs. Wouldn't it be more portable and more secure, if we used public/private keypairs for nick auth>
<serivichi> kind of like openID but for IRC?
<serivichi> that's not to say that nickservs wont be needed, but they could be more portable
<serivichi> e.g. "arup_r@freenode" where you public key is stored at freenode
leafybasil has joined #ruby
basiclaser has joined #ruby
<serivichi> so when you go to a different IRC network, you don't have to resignup... but you could use a different network as your credentals
<serivichi> (and if you don't sign up, well at the very least its easier to protect against spoofers)
fabrice31 has quit [Remote host closed the connection]
ahmetkapikiran has joined #ruby
fabrice31 has joined #ruby
DEA7TH has joined #ruby
kblake has joined #ruby
fabrice31_ has joined #ruby
<serivichi> gah... netsplit?
<serivichi> well hopefully some people heard it
Aswebb_ has quit [Remote host closed the connection]
vtunka has joined #ruby
browndawg has joined #ruby
C1V0 has quit [Ping timeout: 265 seconds]
wicope has joined #ruby
wicope has quit [Max SendQ exceeded]
nszceta has joined #ruby
fabrice31 has quit [Ping timeout: 265 seconds]
iamninja has quit [Read error: Connection reset by peer]
<jhass> nope, don't see a netsplit
kblake has quit [Ping timeout: 264 seconds]
<jhass> serivichi: you seem to have the illusion that IRC is a well defined protocol :P
<jhass> ircd's hate each other
<serivichi> yea, I just wish we have something else by now
<serivichi> D:
<serivichi> its the 21st century for gs
<serivichi> (then again, we should have had flying cars, and man on mars)
<jhass> I'd like my identity in my dnssec signed zone actually
<hanmac1> i believe even the Starflet Federation does have Authification problems with credentals ;P
<jhass> SSHFP for my ssh key, so I just authorize me@jhass.eu and it pulls the fingerprint there
fabrice31_ has quit [Remote host closed the connection]
<jhass> PKA for my PGP key (already works \o/)
fabrice31 has joined #ruby
nszceta has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> and could extend that to other stuff using some keypair
bonhoeffer has joined #ruby
bonhoeffer has quit [Client Quit]
<hanmac1> yeah! lets invent a new IRC protocol like IRC2 or something similar dumb name ;P
<jhass> hanmac1: there's IRC3
Takle has quit [Remote host closed the connection]
hectortrope has quit [Quit: WeeChat 0.4.2]
hectortrope has joined #ruby
AlphaTech is now known as zz_AlphaTech
<hanmac1> gasp, i didnt know ;P does windows support that or is it still at ircv1? XD
<hanmac1> jhass: " Updated 5 days ago " ITS ALIVE! XD
quimrstorres has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
agrinb has joined #ruby
quimrstorres has quit [Remote host closed the connection]
quimrstorres has joined #ruby
workmad3 has joined #ruby
quimrstorres has quit [Remote host closed the connection]
C1V0 has joined #ruby
Advocation has quit [Quit: Advocation]
agrinb has quit [Ping timeout: 245 seconds]
ChoiKyuSang has quit [Ping timeout: 256 seconds]
GriffinHeart has quit [Remote host closed the connection]
imanzarrabian has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
tvw has quit []
ahmetkapikiran has quit [Quit: ahmetkapikiran]
Aswebb_ has joined #ruby
mistermocha has joined #ruby
DerisiveLogic has joined #ruby
<wasamasa> hanmac1: it's the clients that need to support it, you sillyhat
quimrstorres has joined #ruby
fabrice31_ has joined #ruby
<hanmac1> wasamasa: i was suprised that the new version/spec was updated only 5 days ago
sevvie has joined #ruby
fabrice31 has quit [Ping timeout: 255 seconds]
* arup_r thinking why hanmac1 don't contribute in Rails :)
mistermocha has quit [Ping timeout: 246 seconds]
parduse has joined #ruby
quimrsto_ has joined #ruby
iamninja has joined #ruby
quimrstorres has quit [Ping timeout: 245 seconds]
joonty has joined #ruby
roolo_ has joined #ruby
<hanmac1> arup_r: its mostly because of HashWithIndiferentAccess and stuff like https://bugs.ruby-lang.org/issues/9980 that does increase my hate for Rails (and it doesnt support "kibi"Byte for the filesize function print functions)
DavidDudson has joined #ruby
roolo has quit [Ping timeout: 256 seconds]
<arup_r> humm
tlarevo_ has joined #ruby
<arup_r> hanmac1: What will be the problem if Ruby core supports HWIA ? Just asking out of curiosity..
tlarevo has quit [Ping timeout: 244 seconds]
<hanmac1> arup_r: my problem is also that the guys make tickets that they want their HWIA as default to replace/rename Hash
dumdedum has quit [Quit: foo]
<arup_r> ok
tlarevo_ has quit [Remote host closed the connection]
serivichi has quit [Read error: Connection reset by peer]
musashi1 has joined #ruby
fabrice31_ has quit [Remote host closed the connection]
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
fabrice31 has joined #ruby
jimms has joined #ruby
ChoiKyuSang has joined #ruby
dumdedum has joined #ruby
RegulationD has joined #ruby
Takle has joined #ruby
ujjain has joined #ruby
hectortrope has quit [Quit: WeeChat 0.4.2]
Morkel has quit [Ping timeout: 250 seconds]
bruno- has joined #ruby
RegulationD has quit [Ping timeout: 252 seconds]
georgesmith has joined #ruby
CuriousDude has joined #ruby
<CuriousDude> apeiros: is a little bitch
musashi1 has quit [Ping timeout: 276 seconds]
<apeiros> kick CuriousDude you are not welcome here
CuriousDude was kicked from #ruby by apeiros [you are not welcome here]
<apeiros> whoops, slashfail
<sevenseacat> lol
hectortrope has joined #ruby
<ddv> epic fail
<ddv> but it happens
Morkel has joined #ruby
bruno- has quit [Ping timeout: 245 seconds]
Advocation has joined #ruby
wicope has joined #ruby
wicope has quit [Max SendQ exceeded]
nettoweb has joined #ruby
arup_r has quit [Remote host closed the connection]
wicope has joined #ruby
wicope has quit [Max SendQ exceeded]
<apeiros> akick rules updated
<apeiros> I'm still not used to its syntax (and actually want to use ruboto instead anyway)
jimms has quit [Remote host closed the connection]
wicope has joined #ruby
wicope has quit [Max SendQ exceeded]
sandelius has joined #ruby
<wasamasa> lol
timonv1 has joined #ruby
hpoydar has joined #ruby
ahmetkapikiran has joined #ruby
Hirzu has quit [Remote host closed the connection]
rkmylo has joined #ruby
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
hpoydar has quit [Ping timeout: 246 seconds]
CatMartyn has quit [Quit: Textual IRC Client: www.textualapp.com]
NotATroll has joined #ruby
<NotATroll> apeiros:suck my juicy balls like your mother did last night
jenrzzz has joined #ruby
Ludicrou_ has quit [Ping timeout: 246 seconds]
Pricey has joined #ruby
NotATroll has quit [Disconnected by services]
ponga has joined #ruby
LudicrousMango has joined #ruby
nszceta has joined #ruby
agrinb has joined #ruby
nszceta has quit [Max SendQ exceeded]
terlar has quit [Quit: WeeChat 1.1.1]
nszceta has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
agrinb has quit [Ping timeout: 245 seconds]
bigmac_ has joined #ruby
kyrylo has quit [Ping timeout: 272 seconds]
<porfa> anyone can help me set out sinatra’s timeout? i alrery have the sinatra/config modulee and i have set :timeout, 60
wicope has joined #ruby
wicope has quit [Max SendQ exceeded]
<porfa> still… but i think it’s my browser maybe? whats the default timeout for a browser? anyuone knows? because when i check my comand line (runing the sinatra) it replies 45seconds later… but the browser timeouts at exactly 30secs.
bhaak has quit [Ping timeout: 272 seconds]
<jhass> porfa: where did you read about sinatra having a timeout option?
fabrice31_ has joined #ruby
tpimtts_away is now known as tpimtts
<porfa> it’s sinatras httpd (thin httpd i think)
fabrice31_ has quit [Remote host closed the connection]
arup_r has joined #ruby
bigmac has quit [Ping timeout: 250 seconds]
<jhass> so set the option for thin
<jhass> since last time you asked I looked at sinatras source and there's no such option
BanEvader has joined #ruby
sameerynho has joined #ruby
<BanEvader> hello guys
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<BanEvader> whats up
<BanEvader> i have a question
ponga has quit [Remote host closed the connection]
<BanEvader> why doesnt apeiros get a life?
<BanEvader> cause he never touched a girl
<BanEvader> cause he's a creepy pussy
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
BanEvader has left #ruby [#ruby]
<porfa> come on by portugal if you’r cool we have fun with my girl
krz has quit [Read error: Connection reset by peer]
mostlybadfly has quit [Quit: Connection closed for inactivity]
LudicrousMango has quit []
<porfa> now gtfo ou stop trolling
<porfa> 191.46 - - [07/Apr/2015:11:08:04 +0100] "GET / HTTP/1.1" 200 38026 34.6779
fabrice31 has quit [Ping timeout: 264 seconds]
<porfa> this means it took 34 secds to render the page from the ruby right? but it’s not displaying… because something is sending a timeout msg to my browser.. hm
<jhass> porfa: what's your setup? nginx/apache reverse proxy?
<porfa> does “ubuntu apache” anser the question? sorry
withnale_ has joined #ruby
<jhass> porfa: I guess so
<jhass> you want to configure the proxy timeout there
rkmylo has quit []
<porfa> ok
lxsameer has quit [Ping timeout: 264 seconds]
<porfa> == Sinatra/1.4.5 has taken the stage on 12346 for production with backup from Thin
<porfa> Thin web server (v1.6.3 codename Protein Powder)
<jhass> ?
DaniG2k has joined #ruby
diegoviola has quit [Quit: WeeChat 1.1.1]
doritostains has joined #ruby
iwishiwerearobot has quit [Quit: Be back later ...]
maasha has joined #ruby
<porfa> my apache conf has 300 seconds as timeout
arquebus has joined #ruby
iwishiwerearobot has joined #ruby
<maasha> Here is a funny thing. I find yard poorly documented: e.g. how can I get `yri String.new` to procure something?
krz has joined #ruby
<jhass> maasha: yri doesn't work for core/stdlib unfortunately
piotrj has joined #ruby
bMalum has joined #ruby
<maasha> jhass: so what do people do?
<Mon_Ouie> There is (or at least, used to be) a dummy gem that just installs documentation for stdlib for yard
<jhass> maasha: use ri or fastri (or whatever it was called)
<hanmac1> apeiros: i think the troll feels so much pro because he found the way to reset his ip address ;P hm maybe a way would be to block that kiwiirc gateway if the trolling does increase to unwanted levels?
<maasha> jhass: Right, but then x-linking with @see and stuff like that dont work.
arquebus has quit [Quit: Konversation disconnected]
Takle has quit [Remote host closed the connection]
rdark has joined #ruby
msgodf has joined #ruby
iwishiwerearobot has quit [Ping timeout: 264 seconds]
<porfa> is it possible to have sinatra only go fetch the ruby data every 5 minutes? (cache wtv it got for the first 4:59 secs)
<porfa> because if i am able to do that, i might get a workaround my timeout issues..
cajone has quit [Remote host closed the connection]
sandelius has joined #ruby
iteratorP has quit [Remote host closed the connection]
Takle has joined #ruby
Timba-as has joined #ruby
cajone has joined #ruby
GriffinHeart has joined #ruby
<apeiros> hanmac1: I don't know what drives such people. I'm not sure how much I care either. The thing which matters to me is that the effort is asymmetrical. i.e. that they have to spend more effort than I.
ponga has joined #ruby
a5i has joined #ruby
Zai00 has quit [Quit: Zai00]
<maasha> another thing that eludes me, what is the point of running a documentation server? i.e. yard server?
netroby has joined #ruby
<maasha> obvoiusly you can browse your documentation in html, but I like text so ...
netroby has left #ruby [#ruby]
<workmad3> maasha: the point is that your personal preferences can't be generalised to everyone
DavidDudson has joined #ruby
<workmad3> maasha: so just because you like text doesn't mean everyone does... and the point is that people who like HTML can then run the server and get their local documentation through that :P
<maasha> workmad3: so I saw somewhere that yard and yard server would assist you in producing better documentation - and then then magical explanation wasnt there!?
hectortrope is now known as liar
liar is now known as Guest98127
<workmad3> maasha: whoever wrote that had decided that yard helped *them* produce better docs and then probably did the same reasoning as you - I prefer it, therefore everyone should prefer it
Guest98127 is now known as enboy
msgodf has quit [Remote host closed the connection]
ahmetkapikiran has quit [Quit: ahmetkapikiran]
<workmad3> maasha: end of the day, yard is a documentation language... if you prefer it, use it... if your team is using it, use it... otherwise don't stress :P
<maasha> workmad3: right, I guess I am looking for style-guidance and best practices.
<maasha> style is pretty well covered in the yard documentation,
<maasha> practices appears to be an open subject.
<workmad3> because, barring someone actually figuring out useful metrics for comparing documentation languages, you can't determine 'better'... and once someone *has* figured that out, you can decide whether those metrics are important to you
<maasha> workmad3: well, no. OTOH the same could be said about the Ruby styleguide.
<workmad3> maasha: the ruby styleguide is a set of preferences... you're free to disagree, and there's nothing out there stating that it's "the best" in an objectively meaningful way
<maasha> workmad3: I think the Ruby styleguide made me reflect on my code in a constructive manner. I would like the same to happen documentation-wise :o)
NotAbadthing has joined #ruby
<NotAbadthing> bitch ass pussies
<NotAbadthing> get a fucking life
<NotAbadthing> working here all day for free
<NotAbadthing> esp jhass
<NotAbadthing> shit head
NotAbadthing was banned on #ruby by Mon_Ouie [*!41310e96@gateway/web/cgi-irc/kiwiirc.com/ip.65.49.14.150]
NotAbadthing was kicked from #ruby by Mon_Ouie [same to you]
ennmob has joined #ruby
<flughafen> what's with the trolling today?
roshanavand has joined #ruby
tvw has joined #ruby
<canton7> you probably want to ban *!*@gateway/web/cgi-irc/kiwiirc.com/ip.65.49.14.15 ?
<maasha> we are awaiting the invention of a device allowing you to stab someone in the face across in the internet.
<apeiros> flughafen: one guy who doesn't take lightly that he got banned.
<canton7> (bless kiwiirc for putting the client's ip in the host)
<flughafen> apeiros: who did you ban?
<workmad3> maasha: great, so the ruby styleguide gave you an incentive to instrospect on your own personal preferences regarding ruby code style
<apeiros> flughafen: you'll know him as deathcode
<apeiros> if you know him, that is
<flughafen> apeiros: hahaha.
<flughafen> yeah, i've seen in here saying stupid stuff
<maasha> ok, lunch
<Mon_Ouie> Oh yeah, client's default banmask. But then again, he seems to keep coming back so neither will really matter.
<apeiros> stupid stuff didn't get him banned, though
krz has quit [Read error: Connection reset by peer]
<workmad3> maasha: now you recognise that such a thing is good, you can go and look at the styleguides for yard, rdoc, etc. and do similar instrospection on them... recognising that it's personal preferences is important though, because then you can actually see past the hyperbole and posturing of people espousing 'best practices' without evidence ;P
<apeiros> good thing we've better op coverage than just a few days ago
Morkel has quit [Quit: Morkel]
<workmad3> he doesn't even manage to troll particularly effectively :)
<flughafen> workmad3: he's really subtle
<workmad3> if he knew what he was doing, he could have refreshed a VPN IP address by now and rejoined with a different hostmask
Juanchito has joined #ruby
sigurding has quit [Quit: sigurding]
inavele has joined #ruby
mrbond has joined #ruby
<flughafen> workmad3: he knows java so he's probably making an abstract vpn factory factory
kblake has joined #ruby
lanemeyer has quit []
<toertore> it just takes time because he needs to wait for his editor to boot first
<toertore> and start the generator that provides the extra electricity needed to run it
<workmad3> toertore: and then he needs to wait for his maven project to recompile his code, and wait for the JVM to boot up again
n1x has joined #ruby
n1x has joined #ruby
C1V0 has quit []
* workmad3 wonders if he watches the channel logs as well, so he can see us bashing on his beloved java ;)
agrinb has joined #ruby
enboy has quit [Quit: WeeChat 0.4.2]
kblake has quit [Ping timeout: 245 seconds]
<canton7> oh heck, was he java guy?
<canton7> I knew he smelled fishy...
terlar has joined #ruby
rodfersou has joined #ruby
ujjain has quit [Changing host]
ujjain has joined #ruby
agrinb has quit [Ping timeout: 245 seconds]
ponga has quit [Remote host closed the connection]
elaptics is now known as elaptics_away
<hanmac1> canton7 & workmad3: the problem is that he always use a different ipadress so banning with ipadress might not work as wanted :/
<canton7> does he? aww
Hirzu has joined #ruby
duncannz has quit [Remote host closed the connection]
ahmetkapikiran has joined #ruby
<hanmac1> maybe some kind of auto kick/ban with some rules like (if gateway.include?("kiwiirc") && message.include?("bitch") or similar then kick)
DerisiveLogic has quit [Ping timeout: 244 seconds]
krz has joined #ruby
<workmad3> hanmac1: kick if message.is_trolling?
<hanmac1> hm yeah something like that ;P
lkba has joined #ruby
astrobun_ has quit [Remote host closed the connection]
<hanmac1> might only be complicated if some normal user does join the channel and want to ask about a gem that some user does named "bitch" for unknown reason ;P .... like https://rubygems.org/gems/sanderjd-bitch and https://rubygems.org/gems/test_bitch XDDDDD
<workmad3> :)
doodlehaus has joined #ruby
_hollywood has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
jefus_ has joined #ruby
User458764 has joined #ruby
Elliott_ has joined #ruby
inavele has quit [Ping timeout: 265 seconds]
jefus__ has quit [Ping timeout: 265 seconds]
gccostabr has joined #ruby
piotrj has quit [Remote host closed the connection]
gfawcettpq has joined #ruby
piotrj has joined #ruby
vtunka has quit [Quit: Leaving]
Takle has quit [Remote host closed the connection]
deuteriu_ has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ponga has joined #ruby
<maasha> any mentioning of jha*s -> kick & ban
Timba-as has quit [Quit: Be back later ...]
reinaldob has joined #ruby
sigurding has joined #ruby
arup_r has quit [Remote host closed the connection]
phutchins has joined #ruby
tkuchiki has quit [Ping timeout: 264 seconds]
fabrice31 has joined #ruby
reinaldob has quit [Ping timeout: 265 seconds]
Aswebb_ has joined #ruby
dx7 has joined #ruby
User458764 has joined #ruby
bMalum has quit [Quit: bMalum]
Aswebb_ has quit [Remote host closed the connection]
RegulationD has joined #ruby
Advocation has quit [Quit: Advocation]
dx7 has quit [Ping timeout: 276 seconds]
deuteriu_ is now known as deuterium
bruno- has joined #ruby
arup_r has joined #ruby
Riking has quit [Ping timeout: 256 seconds]
RegulationD has quit [Ping timeout: 256 seconds]
ujjain has quit [Read error: Connection reset by peer]
LeMasturTrullz has joined #ruby
<LeMasturTrullz> sup sup
max96at|off is now known as max96at
Aswebb_ has joined #ruby
<LeMasturTrullz> hehe
LeMasturTrullz has left #ruby [#ruby]
Riking has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
LeMasturTrullz has joined #ruby
<LeMasturTrullz> sup sup
LeMasturTrullz has left #ruby [#ruby]
hpoydar has joined #ruby
Morkel has joined #ruby
mikecmpbll has joined #ruby
dumdedum has quit [Quit: foo]
fabrice31 has quit [Remote host closed the connection]
fabrice31 has joined #ruby
reinaldob has joined #ruby
Zai00 has joined #ruby
DerisiveLogic has joined #ruby
musashi1 has joined #ruby
doodlehaus has quit [Remote host closed the connection]
hpoydar has quit [Ping timeout: 250 seconds]
cassianoleal has joined #ruby
Contigi has quit [Read error: Connection reset by peer]
ldnunes has joined #ruby
Contigi has joined #ruby
platosha_ has joined #ruby
noreason has joined #ruby
vt102 has joined #ruby
zarubin_ has joined #ruby
ahmetkapikiran has joined #ruby
<noreason> ruby tutorial ?
platosha has quit [Ping timeout: 252 seconds]
sevvie has quit [Ping timeout: 256 seconds]
fabrice31_ has joined #ruby
workmad3 is now known as wm3|away
agrinb has joined #ruby
bal has quit [Quit: bal]
panga has joined #ruby
casadei has joined #ruby
bal has joined #ruby
<maasha> what is the opposite of 'inline' e.g. inline code vs code that is not inline
<jhass> noreason: http://tryruby.org
<jhass> maasha: more context?
<maasha> I need a good variable name :o)
fabrice31 has quit [Ping timeout: 256 seconds]
agrinb has quit [Ping timeout: 245 seconds]
<maasha> jhass: so either I iterate through a bunch of objects several times and do a task on each, or I iterate once and perform a series of tasks on each object inline.
cpt_yossarian has quit [Ping timeout: 245 seconds]
panga has quit [Remote host closed the connection]
<maasha> aggregate vs inline
casadei has quit [Ping timeout: 248 seconds]
<jhass> never heard that term before tbh
<jhass> I'd related it to for example inline JS
<jhass> where you embed it on the page vs having another file
<maasha> ok
<wm3|away> or you either have code inline, or you extract it out into a method
panga has joined #ruby
deuterium has quit [Ping timeout: 248 seconds]
<wm3|away> in compiled languages, you also have the compiler optimisation of code-inlining, where it will have rules that allow it to determine if a particular method call can be compiled to be inline, removing the overhead of the method call from the compiled binary
<jhass> ah true, good point
<wm3|away> none of those seem to be applicable to maasha's use though :)
inavele has joined #ruby
<wm3|away> jhass: I'm showing my time spent in C++ there... where you can do 'void inline somemethod()' as a compiler hint :)
rodfersou has quit [Remote host closed the connection]
<wm3|away> (or was it inline void somemethod()?)
rodfersou has joined #ruby
<jhass> probably both :D
max96at is now known as max96at|off
<jhass> anyway, our friend says he's off to bed now, so I can get a bit afk I guess
<wm3|away> jhass: if both are allowed, they probably have massively different meanings :)
Takle has joined #ruby
xenokiller has joined #ruby
* wm3|away loves that 'const char *' and 'char * const' are radically different in C++
piotrj has quit [Remote host closed the connection]
Elliott__ has joined #ruby
oo_ has quit [Remote host closed the connection]
krz has quit [Quit: WeeChat 1.0.1]
sevvie has joined #ruby
Timba-as has joined #ruby
rvchangue has joined #ruby
SouL has joined #ruby
joonty has quit [Quit: joonty]
Aswebb_ has quit [Remote host closed the connection]
Elliott_ has quit [Ping timeout: 252 seconds]
VBlizzard has joined #ruby
deuterium has joined #ruby
serivich has joined #ruby
musashi1 has quit [Read error: Connection timed out]
zarubin_ has quit [Remote host closed the connection]
inavele has quit [Ping timeout: 250 seconds]
zarubin_ has joined #ruby
sdothum has joined #ruby
Aswebb_ has joined #ruby
froots has joined #ruby
panga has quit [Remote host closed the connection]
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
sigurding has quit [Quit: sigurding]
basiclaser has quit [Quit: Connection closed for inactivity]
yfeldblu_ has quit [Ping timeout: 245 seconds]
mhib has joined #ruby
kp666 has quit [Remote host closed the connection]
pika_pika has joined #ruby
Guest40683 has quit [Changing host]
Guest40683 has joined #ruby
Pricey has left #ruby [#ruby]
Guest40683 is now known as daynaskully
Pharaoh2 has quit [Read error: Connection reset by peer]
sigurding has joined #ruby
Pharaoh2 has joined #ruby
<hanmac1> wm3|away: specially when you are working with char** and something of them is const ;P
<canton7> read right-to-left ;)
<canton7> 'const char * x' = 'x is a pointer to a char const'; 'char * const x' = 'x is a constant pointer to a char'
revoohc has joined #ruby
<canton7> ...and if you write 'const char * x' as 'char const * x', you get m'x is a pointer to a constant char'
Takle has quit [Remote host closed the connection]
brb3 has joined #ruby
Takle has joined #ruby
LJT has joined #ruby
silkfox has joined #ruby
LJT has quit [Max SendQ exceeded]
mikecmpbll has quit [Read error: Connection reset by peer]
kotk has quit [Read error: Connection reset by peer]
kotk has joined #ruby
sgambino has joined #ruby
mikecmpbll has joined #ruby
LJT has joined #ruby
steven43126 has quit [Ping timeout: 246 seconds]
serivichi has joined #ruby
Scient has quit [Ping timeout: 255 seconds]
quimrsto_ has quit [Remote host closed the connection]
mikenovikov has joined #ruby
Mx[dot]Brevity has quit [Ping timeout: 244 seconds]
Igorshp has joined #ruby
jerius has joined #ruby
quimrstorres has joined #ruby
tus has joined #ruby
<Igorshp> Hello, i'm trying to detect if a variable is a Proc or a string. could anyone point me in the right direction please?
joonty has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
a5i has quit [Quit: Connection closed for inactivity]
serivich has quit [Ping timeout: 244 seconds]
Scient has joined #ruby
<ddv> Igorshp: is_a?
krz has joined #ruby
fabrice31_ has quit [Remote host closed the connection]
amystephen has joined #ruby
sevvie has quit [Ping timeout: 255 seconds]
<ddv> Igorshp: .class ?
<Igorshp> doesn't work
fabrice31 has joined #ruby
<ddv> Igorshp: because?
quimrstorres has quit [Ping timeout: 256 seconds]
iamjarvo has joined #ruby
dumdedum has joined #ruby
<Igorshp> i have a class and if config param is not set, default value runs a function.
sevvie has joined #ruby
<Igorshp> when i try to test that param later on, any type of tests result in a loop
mengu has joined #ruby
<Igorshp> .class, .is_a?, .responds_to?
<ytti> Class === object
<jhass> no, don't use ===, it's for case only
<jhass> .is_a?/.kind_of?
rrichardsr3 has joined #ruby
jerius has quit [Quit: /quit]
Advocation has joined #ruby
<Igorshp> jhass: that causes infinite loop
<jhass> ?code
<ruboto> We can't help you without your code, please post it to https://gist.github.com
serivichi has quit [Ping timeout: 255 seconds]
<Igorshp> i'm trying to test from inside the proc itself
willharrison has joined #ruby
<Igorshp> let me minify it
agrinb has joined #ruby
iamjarvo has quit [Ping timeout: 250 seconds]
Soda has joined #ruby
serivichi has joined #ruby
bim has joined #ruby
joonty has quit [Quit: joonty]
ahmetkapikiran has quit [Quit: ahmetkapikiran]
sameerynho has quit [Quit: Leaving]
DerisiveLogic has quit [Ping timeout: 252 seconds]
willharrison has quit [Client Quit]
tier has joined #ruby
roolo_ has quit [Read error: Connection reset by peer]
RegulationD has joined #ruby
roolo has joined #ruby
<Igorshp> the problem is that this keeps calling iam_creds on line 17 and gets stuck in infinite loop
jerematic has joined #ruby
sandelius has quit [Read error: Connection reset by peer]
d10n-work has joined #ruby
DaniG2k has quit [Ping timeout: 252 seconds]
agrinb has quit [Ping timeout: 245 seconds]
<jhass> so it doesn't raise?
<Igorshp> no
<toertore> what is `driver`?
<jhass> I guess you could abort
<Igorshp> driver is the class itself
<jhass> but this is an issue of Kitchen then
<jhass> >> abort "meh"
<ruboto> jhass # => meh ...check link for more (https://eval.in/309330)
piotrj has joined #ruby
<toertore> i don't see why you'd expect to be able to test for a Proc there
<toertore> it looks like it's the result of calling the proc that gets returned
<toertore> that would make sense anyhow, i don't know anything about the implementation
joonty has joined #ruby
DerisiveLogic has joined #ruby
RegulationD has quit [Ping timeout: 252 seconds]
<Igorshp> :aws_session_token=>#<Proc:0x0000000400ad80@~/.chefdk/gem/ruby/2.1.0/bundler/gems/kitchen-ec2-8325c9d1aca5/lib/kitchen/driver/ec2.rb:50>
_hollywood has quit [Quit: Leaving]
<Igorshp> that's the contents
<Igorshp> toertore: i need to return different output based on whether iam_creds was ran previously
<Igorshp> can you suggest a better place to place the check?
<toertore> i don't understand what it is you're trying to do.. you're memoizing the return value already
sinkensabe has joined #ruby
dumdedum has quit [Ping timeout: 256 seconds]
<toertore> driver.iam_creds should return a hash, and that's it
sfr^ has joined #ruby
a5i has joined #ruby
<Igorshp> aws_access_key_id can be set explicietly in the config. if not, it is obtained from iam_creds function; aws_access_key_id should only be returned if aws_access_key_id is NOT set explicitly
<ddv> Igorshp: have you tried debugging it, drop pry in there? print some stuff etc
Advocation has quit [Quit: Advocation]
wm3|away is now known as workmad3
<Igorshp> ddv: yes, tha'ts what i'm doing right now
<Igorshp> unfortuantely my knowledge of procs and class initialisations in ruby is rather lacking
cats has quit [Ping timeout: 256 seconds]
triple_b has joined #ruby
Kilo`byte has quit [Ping timeout: 264 seconds]
<toertore> i don't think that's the issue here
<ddv> yeah
jimms has joined #ruby
<toertore> it depends on how default_config is supposed to work, and how it's implemented
<Igorshp> i believe it's the issue with default_config
<ddv> Igorshp: you need to figure out why iam_creds is called multiple times, maybe it only does that when it returns nil (iamcreds)
<toertore> and how you're testing that it "works"
<Igorshp> hmm, it didnt occur to me it wasnt a defautl ruby function
<Igorshp> i'll go look it up
bim has quit [Remote host closed the connection]
steven43126 has joined #ruby
<Igorshp> this may shine some light on the issue
jimms_ has joined #ruby
<toertore> how are you testing this?
hectortrope has joined #ruby
<Igorshp> just putting debuggin statements in installed ruby gem files
<Igorshp> and running the command
<Igorshp> in this case 'kitchen converge'
<ddv> this is what happens when non-developers try to use Chef
<toertore> but it has a dsl!
<Igorshp> lol
vvikramjhu__ has joined #ruby
<toertore> dsls can be used by anyone!
jimms has quit [Ping timeout: 252 seconds]
sankaber has joined #ruby
<toertore> there's probably like 10 layers where this could be going wrong
djdarkbeat has quit [Quit: djdarkbeat]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
joonty has quit [Quit: joonty]
Kilo`byte has joined #ruby
<hanmac1> yeah some developers did say: "what could go wrong?" ... and then Rails did happen
fabrice31_ has joined #ruby
steven43126 has quit [Ping timeout: 248 seconds]
Rapier- has joined #ruby
Karpuragauram has quit [Ping timeout: 245 seconds]
cats has joined #ruby
dblessing has joined #ruby
joonty has joined #ruby
chthon has quit [Ping timeout: 244 seconds]
fabrice31 has quit [Ping timeout: 255 seconds]
xenokiller has quit [Ping timeout: 255 seconds]
JDiPierro has joined #ruby
vtunka has joined #ruby
charliesome has joined #ruby
SouL has quit [Ping timeout: 252 seconds]
Takle has quit [Remote host closed the connection]
dumdedum has joined #ruby
jtzero has joined #ruby
charliesome has quit [Client Quit]
mikenovikov has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
SouL has joined #ruby
serivich has joined #ruby
<Igorshp> any pointers in which direction is should look?
<ddv> Igorshp: what happens when you just return nil from iamcreds?
zenith_ has joined #ruby
<ddv> Igorshp: what happens when you return what you expect it to return?
<ddv> Igorshp: also what happens when you drop pry in there?
panga has joined #ruby
RandyT has quit [Ping timeout: 245 seconds]
mostlybadfly has joined #ruby
serivichi has quit [Ping timeout: 250 seconds]
browndawg has quit [Ping timeout: 276 seconds]
dx7 has joined #ruby
amdbcg has joined #ruby
wicope has joined #ruby
wicope has quit [Max SendQ exceeded]
steven43126 has joined #ruby
<Igorshp> iam_creds on its own works as expected. it's adding the type tests that starts an infinite loop
<Igorshp> 1 sec, i'll try pry
VBlizzard is now known as _blizzy_
wicope has joined #ruby
wicope has quit [Max SendQ exceeded]
wicope has joined #ruby
wicope has quit [Max SendQ exceeded]
panga has quit [Ping timeout: 245 seconds]
sevenseacat has joined #ruby
turtil has quit [Ping timeout: 245 seconds]
Takle has joined #ruby
<Igorshp> ddv: it does not return a value at this stage
xenokiller has joined #ruby
dx7 has quit [Ping timeout: 250 seconds]
vudew has joined #ruby
<Igorshp> it runs the iam_creds, but doesn't return a value. if i test it from inside any other function, a string is returned as expected
djdarkbeat has joined #ruby
Coraline_ZzZz is now known as Coraline
<Igorshp> any references will run the function, includein .class .is_a? etc
<Igorshp> is this to do with initialisation stage of the class?
<ddv> no idea what you're talking about....
<jhass> Igorshp: maybe it just fakes to be a Proc
<jhass> let's approach it differently
<jhass> why do you need to differentiate?
<Igorshp> sure; iam_creds will always return session_token when availalbe. but if user is overriding the key_id, the session_token should be nil. so in effect, if iam_creds is available, it is impossible to override
dorei has joined #ruby
<Igorshp> iam_creds for session_token should only be run if key_id is not specified
<Igorshp> *not specified by user
hpoydar has joined #ruby
davispuh has joined #ruby
kaspernj has quit [Remote host closed the connection]
casadei has joined #ruby
lanemeyer has joined #ruby
overcrush has joined #ruby
overcrush has left #ruby [#ruby]
<jhass> okay, I'm not quite sure I follow yet, do you have a link to the config method?
<jhass> so I can see what it returns
enebo has joined #ruby
ntln has quit [Read error: Connection reset by peer]
doodlehaus has joined #ruby
joonty has quit [Read error: Connection reset by peer]
hgl has quit [Ping timeout: 272 seconds]
browndawg has joined #ruby
joonty has joined #ruby
gccostabr has quit [Ping timeout: 252 seconds]
crazydiamond has joined #ruby
genpaku has quit [Ping timeout: 256 seconds]
yokel has quit [Ping timeout: 248 seconds]
jeromelanteri has quit [Ping timeout: 246 seconds]
luksaur has quit [Ping timeout: 252 seconds]
hpoydar has quit [Ping timeout: 252 seconds]
alexherbo2 has quit [Ping timeout: 264 seconds]
gregf_ has quit [Ping timeout: 256 seconds]
SouL has quit [Ping timeout: 265 seconds]
fabrice31_ has quit [Remote host closed the connection]
hgl has joined #ruby
genpaku has joined #ruby
fabrice31 has joined #ruby
yokel has joined #ruby
cajone has quit [Ping timeout: 264 seconds]
bim has joined #ruby
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
VictorBjelkholm has joined #ruby
icebourg has joined #ruby
<VictorBjelkholm> Hey folks, if anyone have any experience with Rollbar, could you please help me find a reference to the configuration options? Trying to set the environment Rollbar reports to but can't figure out the config option I need to use
Megtastique has joined #ruby
danman has joined #ruby
chthon has joined #ruby
evanjs has joined #ruby
danman has quit [Client Quit]
DaniG2k has joined #ruby
quimrstorres has joined #ruby
tkuchiki has joined #ruby
<Igorshp> this is where the defaults are set. it gets the hash from config file (.kitchen.yml), then fills in missing ones from default_config blocks
jconnolly has joined #ruby
zarubin_ has quit [Remote host closed the connection]
<jhass> more importantly it's a LazyHash
gccostabr has joined #ruby
kaffepanna has quit [Ping timeout: 246 seconds]
<Igorshp> jhass: why is that important?
agrinb has joined #ruby
luksaur has joined #ruby
<jhass> config[:whatever] will never return a proc unless it is a proc that returns a proc
cajone has joined #ruby
gregf_ has joined #ruby
mgorbach has joined #ruby
Porfa_ has joined #ruby
dANO has joined #ruby
<Igorshp> that matches fully with what i'm seeing. i can either get a string out of it or a proc of procs (the loop i mentioned earlier)
<Porfa_> hey a guys i don't know whats going n, but on the computer I'm working connecting to my unix box/term, rby is spitting out \u=03029302930 wtv codes instead of special characters… anyone knows whats going on?
<Igorshp> trying to wrap my head around the code you linked
<Porfa_> news.at_css('.price').text => "29,60 \u20AC" instead of "29,60 €"
JDiPierro has quit [Remote host closed the connection]
<jhass> Igorshp: how is :aws_access_key_id set?
Soda has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
quimrstorres has quit [Ping timeout: 276 seconds]
kyrylo has joined #ruby
<jhass> (and how is the default set)
_maes_ has joined #ruby
nettoweb has joined #ruby
<jhass> Porfa_: make sure to force the string into the right encoding before passing it to nokogiri
GnuYawk has joined #ruby
agrinb has quit [Ping timeout: 245 seconds]
<Igorshp> if by user - in .kitchen.yml (trying to find where it loads it), if not it is obtained from the block in https://gist.github.com/Igorshp/de59d5d6d73d0a7bc147#file-gistfile1-rb-L10
nettoweb_ has joined #ruby
_1_snafo has joined #ruby
LJT has quit [Read error: Connection reset by peer]
<jhass> Igorshp: okay I see now
<jhass> let me try to explain
<Porfa_> jhass: nice tip, thank you sir!!!! :)
alexherbo2 has joined #ruby
<jhass> your proc calls iam_creds
jeromelanteri has joined #ruby
<jhass> and then iam_creds calls your proc
LJT has joined #ruby
<workmad3> Porfa_: also, \u20AC is a unicode codepoint
<jhass> so you can't config[:foo] in iam_creds
icebourg has quit []
<jhass> or you can't iam_creds in your proc
mengu has quit [Remote host closed the connection]
Morkel has quit [Quit: Morkel]
<workmad3> Porfa_: i.e. that string contains the characters you expect, it's just one of them is being represented by the unicode codepoint rather than rendered as a glyph (which is fairly typical for .inspect output in ruby)
nszceta has quit [Quit: Textual IRC Client: www.textualapp.com]
relix has joined #ruby
<jhass> Igorshp: and if the user set the key in .kitchen.yml your proc passed to default_config should never be called
<Igorshp> jhass: staring at the lazyhash code, it almost makes sense. waiting for the final 'click' :)
<Igorshp> jhass: indeed
nettoweb has quit [Ping timeout: 250 seconds]
<jhass> so I don't see why you access it
<jhass> the config that is
<Porfa_> workmad3: makes sense… i'll make a test now, I'm using rib actually...
horsecowdog has joined #ruby
RandyT has joined #ruby
<Igorshp> jhass: my aproach needs revision
<jhass> Igorshp: if your proc is called (and thus iam_creds), it's guaranteed that the user didn't set the value
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> you don't need to verify that in iam_creds (which leads to the recursion)
<Igorshp> jhass: ah, but session_token is almost never set, so aim_creds will always be called there
Darryl___ has joined #ruby
mitchellhenke has joined #ruby
<jhass> and?
<jhass> I still don't get why you call the config in iam_creds
gccostabr has quit [Read error: Connection reset by peer]
<Igorshp> and testing inside the |driver| block in default_config always returns a string
_1_snafo has quit [Remote host closed the connection]
<Igorshp> as per your explanation above
<Igorshp> it looked like the right place to put the test
orionstein has quit [Quit: ZNC - http://znc.in]
<jhass> the test for what?
gccostabr has joined #ruby
<Igorshp> to see if part of the credentials been set by user
<jhass> why do you need to know?
<Igorshp> iam_creds returns the full set of credentials. user will only override 2, the rest needs to be nil in this case
orionstein has joined #ruby
mengu has joined #ruby
<jhass> I feel like I'm missing something
<jhass> what do you need to fetch the full set of credentials?
_blizzy_ has quit [Ping timeout: 250 seconds]
alexherbo2 has quit [Quit: WeeChat 1.1.1]
jlast has joined #ruby
agarie has joined #ruby
jgabrielygalan has joined #ruby
arup_r has quit [Remote host closed the connection]
krzkrz has joined #ruby
alex88 has joined #ruby
krz has quit [Ping timeout: 246 seconds]
quimrstorres has joined #ruby
<Igorshp> here's scenario: iam creds fetches aws iam_role credentials on the node, if they are available(and for this scenario they are). key_id, secret and session_token. That part works great. However, the user may want to override the credentials for some reason. the user would set key_id and secret. When he now runs kitchen, key_id and secret are the overriden values, but session_token is obtained from iam_role. that session token does not match key_
<Igorshp> id and secret and the auth fails
mengu has quit [Client Quit]
<Igorshp> the problem is as simple as setting session_token=nil if key_id and secret is provided by user
<kaleido> s3?
<jhass> mh, okay I think I see
JDiPierro has joined #ruby
charliesome has joined #ruby
echelon has joined #ruby
sigurding has quit [Quit: sigurding]
deuterium has quit [Quit: zzZZZzzz..]
<Igorshp> I was hoping i could simply test the parameter to see where it came from. But looks like that's not an option
<Igorshp> and it would require additional flags in the class to work
Limix has joined #ruby
<jhass> well it would work
<jhass> I'm not sure it's very clean though
ponga has quit [Quit: Connection closed for inactivity]
lavros has joined #ruby
mikenovikov has joined #ruby
sigurding has joined #ruby
Zamyatin has joined #ruby
<jhass> but anyway, to bypass LazyHash, simply call config.__getobj__.
oo_ has joined #ruby
sigurding has quit [Client Quit]
DerisiveLogic has quit [Ping timeout: 250 seconds]
Aswebb_ has quit [Remote host closed the connection]
<jhass> so config.__getobj__[:aws_access_key_id].is_a? Proc
Zamyatin has quit [Max SendQ exceeded]
xenokiller has quit [Ping timeout: 255 seconds]
<Igorshp> !
<Igorshp> config.__getobj__[:aws_session_token].class
<Igorshp> works, perfectly
<Igorshp> ah, you wrote it above :)
Zamyatin has joined #ruby
<Igorshp> thank you very much!
<jhass> as said, I feel like there's a cleaner solution
<Igorshp> I spent most of the morning debugging this :)
<jhass> but it probably involves making iam_creds a stateful class
tkuchiki has quit [Remote host closed the connection]
<echelon> what's the diff between a development dependency and a regular dependency?
tkuchiki has joined #ruby
<jhass> echelon: in a gemspec?
<echelon> yeah
DerisiveLogic has joined #ruby
<jhass> a development_dependency is informational afaik, it won't be pulled in by gem install or bundler
zenith_ has quit [Ping timeout: 244 seconds]
<jhass> add_dependency is an alias for add_runtime_dependency btw
<echelon> ok thanks
odin22 has joined #ruby
<workmad3> jhass: there's a flag you can pass to 'gem install' to install development deps
VictorBjelkholm has quit [Ping timeout: 256 seconds]
rbennacer has joined #ruby
<jhass> I feared so, thus afaik :P
<workmad3> basically, development_deps are for things people would need if they wanted to contribute to the gem's development or do something like run tests on an installed gem version (and can be installed on request), while runtime deps are things the gem always needs
tkuchiki has quit [Read error: Connection reset by peer]
<echelon> is there a way to get a list of reverse dependencies?
<adaedra> reverse?
triple_b has joined #ruby
<jhass> I tend to only put stuff to run testsuite into development dependencies and everything beyond into the Gemfile
<echelon> like.. finding out what other gems depend on a given dependency
<workmad3> jhass: sounds reasonable... I'd guess 'everything else' is really 'tools jhass finds useful as part of his dev workflow'? :)
<jhass> yeah
<echelon> the only thing i can think of is looping through 'gem list' and grepping for any instance of the given gem
<jhass> yard, pry, coveralls, stuff like that
<workmad3> jhass: hmm... I'd be tempted to put yard in as a dev dependency if you're writing yardoc in your code
<echelon> and how do i get rid of unused deps
<echelon> when doing a gem uninstall
<jhass> it's on the border, I agree
DexterLB has joined #ruby
<hanmac1> echelon & jhass:
<hanmac1> >> Gem::Specification.find_by_name("rdoc").dependent_gems.map {|f,d| [f.name,d.type]}
<ruboto> hanmac1 # => [["minitest", :development]] (https://eval.in/309354)
ntln has joined #ruby
<hanmac1> echelon: also checkout https://gist.github.com/Hanmac/cb9e13ff220e4f31e13a for drawing a tree (and what is not part of the tree you might remove ;P )
Aswebb_ has joined #ruby
Advocation has joined #ruby
mikenovikov has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cpt_yossarian has joined #ruby
<echelon> thanks
serivichi has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
haxrbyte has joined #ruby
haxrbyte has quit [Remote host closed the connection]
GriffinHeart has quit [Remote host closed the connection]
msgodf has joined #ruby
haxrbyte has joined #ruby
<Igorshp> jhass: thanks again for helping me get to the bottom of this! that's a lot of patience :)
serivich has quit [Ping timeout: 252 seconds]
<jhass> you're welcome
cnuber has joined #ruby
haxrbyte_ has joined #ruby
quimrstorres has quit [Ping timeout: 248 seconds]
<cnuber> Does Rails 3 recognize "sslmode=verify-full" --- it seems that i can give it a self signed cert or anything and there are no errors
<cnuber> is that just a rails 4 thing?
<hanmac1> echelon: that might be used to show you which gems you might able to remove because its not used my anyone
<hanmac1> >> Gem::Specification.select {|s| s.dependent_gems.empty? && !s.default_gem? }
<ruboto> hanmac1 # => [#<Gem::Specification:0x20f4ce44 minitest-5.4.3>] (https://eval.in/309357)
<jhass> ?rails cnuber
<ruboto> cnuber, Please join #RubyOnRails for Rails questions. You need to be authenticated with NickServ, see /msg NickServ help
cnuber has left #ruby [#ruby]
<echelon> ah
piotrj has quit [Remote host closed the connection]
piotrj has joined #ruby
ahmetkapikiran has joined #ruby
freerobby has joined #ruby
haxrbyte has quit [Ping timeout: 256 seconds]
zenith_ has joined #ruby
Feyn has quit [Quit: Leaving]
User458764 has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
agrinb has joined #ruby
tagrudev has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
jph98 has joined #ruby
sdothum has joined #ruby
ahmetkapikiran has quit [Client Quit]
Ridley5 has quit []
jobewan has joined #ruby
tkuchiki has joined #ruby
quimrstorres has joined #ruby
quimrstorres has quit [Read error: Connection reset by peer]
quimrstorres has joined #ruby
Takle has joined #ruby
quimrstorres has quit [Read error: Connection reset by peer]
Kricir has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
quimrstorres has joined #ruby
jobewan has quit [Read error: Connection reset by peer]
jph98 has quit [Client Quit]
willharrison has joined #ruby
quimrstorres has quit [Read error: Connection reset by peer]
quimrstorres has joined #ruby
quimrstorres has quit [Read error: Connection reset by peer]
quimrstorres has joined #ruby
iwishiwerearobot has joined #ruby
quimrstorres has quit [Read error: Connection reset by peer]
VBlizzard has joined #ruby
quimrstorres has joined #ruby
zarubin_ has joined #ruby
maasha has quit [Ping timeout: 246 seconds]
Mark-6ma has joined #ruby
Advocation has quit [Quit: Advocation]
MZAWeb has joined #ruby
RegulationD has joined #ruby
MZAWeb has left #ruby [#ruby]
abackstrom has left #ruby [#ruby]
iceden has quit [Read error: Connection reset by peer]
jgabrielygalan has quit [Quit: Leaving]
hpoydar has joined #ruby
fryguy9 has joined #ruby
freerobby has quit [Quit: Leaving.]
aganov has quit [Quit: Leaving]
RegulationD has quit [Ping timeout: 246 seconds]
willharrison has quit [Ping timeout: 276 seconds]
<echelon> i have a gem in a local dir not installed via gem install, how would i require it?
<jhass> add it to the load path
<jhass> either by invoking ruby with the -I flag or modifying $LOAD_PATH inside your script
<jhass> you can also use bundlers path option if you have a Gemfile
sevvie has quit [Ping timeout: 244 seconds]
<echelon> the dir tree is like this.. public_suffix-1.4.6/lib/{public_suffix,public_suffix.rb}
<kaleido> wouldnt require "./file.rb" work as well?
<adaedra> if you have a Gemfile, you can use bundler’s path option, yes
<adaedra> quickest option
hectortrope has quit [Quit: WeeChat 0.4.2]
work_op has joined #ruby
<echelon> jhass: it would have to be done in the code without modifying env vars and such
<jhass> echelon: yes, you want to ensure lib is in the load path via one of the three options I outlined
hectortrope has joined #ruby
<echelon> for my case
<jhass> >> $LOAD_PATH
<ruboto> jhass # => ["/execpad/interpreters/ruby-2.2.0/lib/ruby/site_ruby/2.2.0", "/execpad/interpreters/ruby-2.2.0/lib/ ...check link for more (https://eval.in/309362)
<jhass> not an environment variable
charliesome has quit [Quit: zzz]
hanmac1 has quit [Quit: Leaving.]
<echelon> so how do i modify $LOAD_PATH in the code
<adaedra> by modifying $LOAD_PATH :)
<adaedra> it’s a global variable
<jhass> and an Array
Elliott__ has quit [Quit: Leaving]
zarubin_ has quit [Remote host closed the connection]
vtunka has quit [Quit: Leaving]
odin22 has quit [Read error: Connection reset by peer]
<eam> "global variables in ruby start with a dollar sign" is probably important to add :)
hectortrope has quit [Quit: WeeChat 0.4.2]
davedev24_ has joined #ruby
icebourg has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
nszceta has joined #ruby
inavele has joined #ruby
havenwood has joined #ruby
oo_ has quit [Remote host closed the connection]
aryaching has joined #ruby
quimrsto_ has joined #ruby
cpt_yossarian has quit [Ping timeout: 250 seconds]
sevvie has joined #ruby
tier_ has joined #ruby
quimrsto_ has quit [Read error: Connection reset by peer]
quimrsto_ has joined #ruby
Timba-as_ has joined #ruby
quimrstorres has quit [Ping timeout: 252 seconds]
kaleido has quit [Quit: Textual IRC Client: www.textualapp.com]
iceden has joined #ruby
livathinos has quit [Remote host closed the connection]
nettoweb_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Timba-as__ has joined #ruby
Timba-as has quit [Ping timeout: 252 seconds]
dx7 has joined #ruby
tier has quit [Ping timeout: 246 seconds]
anarang has quit [Quit: Leaving]
CorpusCallosum has joined #ruby
Timba-as_ has quit [Ping timeout: 250 seconds]
cpt_yossarian has joined #ruby
weemsledeux has joined #ruby
rdark has quit [Ping timeout: 245 seconds]
Timba-as__ has quit [Ping timeout: 255 seconds]
roshanavand has quit [Remote host closed the connection]
GnuYawk has quit [Ping timeout: 256 seconds]
Takle has quit [Remote host closed the connection]
sevvie has quit [Ping timeout: 250 seconds]
Mark-6ma has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tcrypt has quit [Remote host closed the connection]
DerisiveLogic has quit [Ping timeout: 272 seconds]
riotjones has quit [Remote host closed the connection]
sevvie has joined #ruby
Advocation has joined #ruby
zz_AlphaTech is now known as AlphaTech
Takle_ has joined #ruby
sinkensabe has quit [Remote host closed the connection]
DerisiveLogic has joined #ruby
MatthewsFace has quit [Remote host closed the connection]
bradleyprice has joined #ruby
AlphaAtom has joined #ruby
jottr has joined #ruby
snath has joined #ruby
rbennacer has quit [Remote host closed the connection]
speakingcode has joined #ruby
bal has quit [Quit: bal]
n1x has quit [Remote host closed the connection]
freerobby has joined #ruby
adriancb has quit [Read error: Connection reset by peer]
adriancb_ has joined #ruby
horsecowdog has quit [Remote host closed the connection]
dfinninger has joined #ruby
dfinning_ has joined #ruby
dfinninger has quit [Read error: Connection reset by peer]
sugardrunk has joined #ruby
<sugardrunk> hello, is there a way to get a single element from a Set
<sugardrunk> ?
Coraline is now known as Coraline_ZzZz
<jhass> sugardrunk: sure
naftilos76 has joined #ruby
<apeiros> sugardrunk: to a degree. what do you need?
GnuYawk has joined #ruby
<sugardrunk> jhass: any single element from my set... just started Ruby today but I know programming :D
<sugardrunk> just so confused with all right now
<jhass> any as in random?
<sugardrunk> not random
<sugardrunk> first or last or any
<apeiros> sugardrunk: you might be using the wrong datastructure. Set#first should work.
_maes_ has joined #ruby
<apeiros> note that "first" is misleading. sets are generally not ordered.
<jhass> yeah, depending on the order of a set is fishy
<apeiros> sugardrunk: why do you use a set?
<sugardrunk> I wanted unique values and to try a set :)
tuelz has joined #ruby
<sugardrunk> but maybe I do it how I know... because I _do not know_ Ruby
<apeiros> sugardrunk: ok. that sounds sensible.
Takle_ has quit [Remote host closed the connection]
<apeiros> and now you want "any value" from your set to see which unique values ended up in the set?
<tuelz> so many DSLs, why can't we all just use 0's and 1's?
<apeiros> tuelz: you're free to use 0's and 1's exclusively :)
<tuelz> apeiros: don't tell me what to do
<workmad3> tuelz: I dislike 0 and 1... I much prefer +3.3 and -3.3
<sugardrunk> apeiros: I just cannot print out any single values from it (a bit funny)
<apeiros> tuelz: then again, 0's and 1's is a DSL in itself :-p
meschiv2 has joined #ruby
<sugardrunk> just all with .each
<tuelz> apeiros: can you prove that in a mathematical theorem?
<workmad3> tuelz: does godelisation of formal systems into number theory count? :)
<tuelz> workmad3: I understood half of what you just said, so I'd say you're on the right track.
<sugardrunk> apeiros: something like s[0] won't work
<jhass> sugardrunk: yeah, a set is not a sequence
<apeiros> sugardrunk: correct, because sets are not positional. as said, they're not ordered.
<sugardrunk> oh... now I'm getting a bit...
<apeiros> sugardrunk: you can do s.to_a[0]
<sugardrunk> ok!
<sugardrunk> let me try more stuff and drink some coffee
<sugardrunk> thanks
<apeiros> sugardrunk: yw
Soda has joined #ruby
momomomomo has joined #ruby
ddv has quit [Ping timeout: 272 seconds]
slackbotgz has quit [Remote host closed the connection]
mikenovikov has joined #ruby
Takle has joined #ruby
Takle has quit [Remote host closed the connection]
cocotton has joined #ruby
attamusc has joined #ruby
livathinos has joined #ruby
kblake has joined #ruby
ddv has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Zamyatin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Takle has joined #ruby
nettoweb has joined #ruby
livathinos has quit [Ping timeout: 256 seconds]
gsd has joined #ruby
fryguy9 has quit [Quit: Leaving.]
joonty has quit [Quit: joonty]
matchaw has joined #ruby
freerobby has quit [Quit: Leaving.]
fryguy9 has joined #ruby
allenn has quit [Remote host closed the connection]
DerisiveLogic has quit [Ping timeout: 244 seconds]
Advocation has quit [Quit: Advocation]
pullphinger has joined #ruby
Jackneill has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
avril14th has quit [Remote host closed the connection]
joonty has joined #ruby
Zai00 has quit [Quit: Zai00]
_hollywood has joined #ruby
iwishiwerearobot has quit [Ping timeout: 272 seconds]
ki0 has quit [Ping timeout: 250 seconds]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tpimtts is now known as tpimtts_away
DerisiveLogic has joined #ruby
agarie has quit [Remote host closed the connection]
Soda has quit [Remote host closed the connection]
sevenseacat has quit [Quit: Textual IRC Client: www.textualapp.com]
wildroman2 has quit [Ping timeout: 272 seconds]
RegulationD has joined #ruby
mikecmpbll has quit [Ping timeout: 240 seconds]
MatthewsFace has joined #ruby
bricker has joined #ruby
sevvie has quit [Ping timeout: 264 seconds]
brb3_ has joined #ruby
brb3 has quit [Read error: Connection reset by peer]
banister has joined #ruby
slawrenc_ has joined #ruby
mjuszczak has joined #ruby
RegulationD has quit [Ping timeout: 264 seconds]
Spami has joined #ruby
Kricir has quit [Remote host closed the connection]
catcher has joined #ruby
Kricir has joined #ruby
rhllor has joined #ruby
Channel6 has joined #ruby
zorak8 has joined #ruby
cocotton has quit [Remote host closed the connection]
Advocation has joined #ruby
speakingcode has quit [Quit: Lost terminal]
leafybas_ has joined #ruby
mrsolo has joined #ruby
msgodf has quit [Ping timeout: 256 seconds]
Aswebb_ has quit [Remote host closed the connection]
Channel6 has quit [Client Quit]
Mark-6ma has joined #ruby
bMalum has joined #ruby
leafybasil has quit [Ping timeout: 248 seconds]
mjuszczak has quit []
riotjones has joined #ruby
Zai00 has joined #ruby
mjuszczak has joined #ruby
Hobogrammer has joined #ruby
Filete has joined #ruby
Aswebb_ has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
riotjones has quit [Ping timeout: 244 seconds]
sevvie has joined #ruby
User458764 has joined #ruby
serivichi has quit [Ping timeout: 255 seconds]
qhartman has joined #ruby
Zamyatin has joined #ruby
fryguy9 has quit [Quit: Leaving.]
Takle has quit [Remote host closed the connection]
lemur has joined #ruby
mleung has joined #ruby
alex88 has quit []
quintinadam has joined #ruby
rbennacer has joined #ruby
tesuji has joined #ruby
joonty has quit [Quit: joonty]
zenith_ has quit [Ping timeout: 256 seconds]
JDiPierro has quit [Remote host closed the connection]
timonv1 has quit [Ping timeout: 264 seconds]
_djbkd has joined #ruby
krisquigley has quit [Remote host closed the connection]
krisquigley has joined #ruby
Pupeno has joined #ruby
Pupeno has joined #ruby
nszceta has quit [Ping timeout: 252 seconds]
overcrush has joined #ruby
dANO has quit []
DaniG2k has quit [Quit: leaving]
horsecowdog has joined #ruby
triple_b has joined #ruby
krisquigley has quit [Ping timeout: 250 seconds]
AlphaTech is now known as zz_AlphaTech
zz_AlphaTech is now known as zz_zz_AlphaTech
tpimtts_away is now known as tpimtts
maletor has joined #ruby
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
overcrush has quit [Ping timeout: 252 seconds]
hpoydar has quit [Remote host closed the connection]
_djbkd has quit [Remote host closed the connection]
livathinos has joined #ruby
lolmaus has quit [Quit: Konversation terminated!]
serivichi has joined #ruby
<Senjai> Morning #ruby
inavele has quit [Read error: Connection reset by peer]
phoo1234567 has joined #ruby
inavele has joined #ruby
overcrush has joined #ruby
ponga has joined #ruby
Channel6 has joined #ruby
michaeldeol has joined #ruby
<adaedra> Evening Senjai
noreason has left #ruby ["Leaving"]
adriancb_ has quit [Remote host closed the connection]
phoo1234567 has quit [Max SendQ exceeded]
_djbkd has joined #ruby
phoo1234567 has joined #ruby
<apeiros> hi Senjai
JDiPierro has joined #ruby
antgel has quit [Ping timeout: 250 seconds]
livathinos has quit [Ping timeout: 265 seconds]
<havenwood> good mornin'
baroquebobcat has joined #ruby
coderkevin has quit [Quit: Connection closed for inactivity]
mhib has quit [Remote host closed the connection]
<Senjai> o/o/
<Senjai> Hope everyone had a good holiday
momomomomo has quit [Ping timeout: 256 seconds]
longfeet has joined #ruby
MatthewsFace has quit [Remote host closed the connection]
Rollabunna has joined #ruby
matchaw has quit [Ping timeout: 272 seconds]
avril14th has joined #ruby
<avril14th> hey, I'm using String#scan with a block and it yields me the results fine, but is there a way in the block to get the MatchData?
_solomon has joined #ruby
<jhass> avril14th: $~ might work, though messy
<avril14th> well yeah, Regexp.last_match
lordkryss has joined #ruby
<avril14th> why messy jhass ?
rbennacer has quit [Remote host closed the connection]
<jhass> well Ruby cheats and makes that stuff thread local
jottr has quit [Quit: WeeChat 1.1.1]
<jhass> but it still looks like accessing unrelated global state to me, sort of
<apeiros> it's even somehow tied to the stackframe
<apeiros> sneaky non-global global
jottr has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
<jhass> ah, hehe, crystal did that too, they have a generic way of setting an $-var in the caller scope now :D
krzkrz has quit [Quit: WeeChat 1.0.1]
jgabrielygalan has joined #ruby
<apeiros> I thought crystal aims to do things better? why do they still even have globals?
<jhass> mh, better = faster .P
jgabrielygalan has quit [Client Quit]
<jhass> but I can assure you a PR that replaces all global usages with nicer API will still be considered ;)
<apeiros> I tells you I want more time :(
Rollabunna has quit [Remote host closed the connection]
Rollabunna has joined #ruby
rbennacer has joined #ruby
Megtastique has quit []
<jhass> crystal is fast, it saves time!
<jhass> scnr
<apeiros> damn asgards, when will they deliver that time dilation field generator I ordered like *ages* ago?
<apeiros> as if only replicators had a use for that…
<jhass> a second after they figured a way to turn it off again
MatthewsFace has joined #ruby
hpoydar has joined #ruby
<jhass> which should happen any minute
<jhass> in their time at least
serivichi has quit [Ping timeout: 245 seconds]
<jhass> so, 20-5000 years?
lemur has quit [Remote host closed the connection]
<apeiros> if that thing works correctly they could take centuries and it wouldn't be more than the blink of an eye to me - the outside world
agarie has joined #ruby
<apeiros> maybe they turned the switch the wrong way round…
<krainboltgreene> Solutions appreciated: https://gist.github.com/krainboltgreene/dae280cdf000093c855e
<shevy> what the heck is this
Asher has quit [Ping timeout: 246 seconds]
<krainboltgreene> I've tried Object.const_get, Object::HTML::Tag, class HTML::Tag::HTML < ::HTML::Tag
Aswebb_ has joined #ruby
<apeiros> krainboltgreene: works fine
<jhass> apeiros: that's what I'm saying
<apeiros> what ruby version are you using krainboltgreene?
thumpba has joined #ruby
<krainboltgreene> 2.1.5
poguez_ has joined #ruby
cats has quit [Ping timeout: 248 seconds]
<krainboltgreene> Wait.
<apeiros> works fine too
<jhass> wrong file? :P
<apeiros> are you sure your example code exhibits your problem?
<krainboltgreene> Ah-ha
<havenwood> HTML::Tag::HTML::Tag
<krainboltgreene> The problem was any preceding file didn't have scoping.
<krainboltgreene> Er
<krainboltgreene> Not preceding, following.
tuelz has quit [Ping timeout: 250 seconds]
jottr has quit [Ping timeout: 252 seconds]
tcrypt has joined #ruby
GaryOak_ has joined #ruby
n1x has joined #ruby
zenith_ has joined #ruby
<shevy> hehe
<shevy> you are one confused dude right now!
<avril14th> jhass: you're writing crystal?
<jhass> a bit
<shevy> jhass is now a core contributor
<avril14th> shevy: you agreed to that?
jobewan has joined #ruby
<shevy> avril14th I dunno... I am down... ruby is losing ground everywhere :(
<avril14th> yeah indeed
<avril14th> can't figure out why though
Asher has joined #ruby
Asher has quit [Client Quit]
thumpba_ has joined #ruby
davedev24_ has quit []
<avril14th> that freaks me out, I've invested all my tech in ruby
overcrush has quit [Remote host closed the connection]
Notte has joined #ruby
<havenwood> avril14th: Ruby is thriving.
<jhass> yeah, people are just unable to interpret statistics correctly
overcrush has joined #ruby
<jhass> not saying I'm able to
<jhass> but I can see they aren't either
<shevy> haha
<Senjai> jhass: crystal? wat
VBlizzard is now known as _blizzy_
<shevy> crystal is the new ruby
<shevy> we don't have to wait for mruby
<krainboltgreene> I haven't noticed any decline in client count or companies hiring Rails developers.
<Senjai> avril14th: I wouldn't worry, ruby is fine
mjuszczak has quit []
<jhass> heh, mruby is a bit more production ready already I guess
<krainboltgreene> But I have invested time in Opal.rb, so I'm a bit biased.
zenith_ has quit [Ping timeout: 240 seconds]
RandyT has quit [Ping timeout: 250 seconds]
<shevy> cool
davedev24_ has joined #ruby
<shevy> did you build anything useful with it? :D
thumpba has quit [Ping timeout: 244 seconds]
chthon has quit [Ping timeout: 244 seconds]
<Senjai> jhass: Is the goal of crystal the compilation to native code?
<Senjai> Is that where it means to differentiate itself?
<shevy> jhass people here mention a lot of crystal but barely any mruby
<krainboltgreene> shevy: Currently working on Clearwater and a game.
<jhass> Senjai: it's a new language with Ruby inspired syntax. It is not a Ruby implementation. Yes it compiles to native code via LLVM
<Senjai> jhass: I'm just curious on why it needs to exist
fantazo has joined #ruby
<jhass> wrong question
<Senjai> What's the correct question?
<Senjai> :P
<jhass> Is it fun to write?
<jhass> I'd say yes
Morkel has joined #ruby
<Senjai> Fun to develop? Or fun to use?
<shevy> why do you need to exist Senjai
<jhass> and as a bonus I get nice binaries I can ship and whatever
jerius has joined #ruby
Asher has joined #ruby
<Senjai> shevy: Ask my cleints :P
<Senjai> clients*
d10n-work has quit [Quit: Connection closed for inactivity]
<krainboltgreene> What internal libraries will it focus on?
<jhass> well, it's still alpha, so there's no difference between user group in that regards yet ;)
<shevy> jhass does it have pp?
<jhass> shevy: sort of
overcrush has quit [Ping timeout: 256 seconds]
<jhass> it has pp
<Senjai> jhass: Eh, cool. I just feel like there is a language for everything these days
<shevy> \o/
Spleeze has quit [Quit: QUIT]
<jhass> but it doesn't look like rubys pp
<shevy> I tried to use awesome_print but the output confuses me
<jhass> pp foo will output "foo = #{foo.inspect}"
cats has joined #ruby
<krainboltgreene> If it removes a lot of the syntax ambiguity that Ruby has, then I'm in.
_solomon has quit [Quit: _solomon]
<havenwood> ^ some crystal code to compare to other langs.
Spleeze has joined #ruby
<jhass> krainboltgreene: currently IO is being ported to a more Go like model
<Senjai> jhass: Are you bringing in channels and the like?
<jhass> so that's a current focus I guess
<jhass> yeah
<avril14th> can one break from a scan?
<avril14th> String#scan
jshultz has joined #ruby
<jhass> easy for the rubyists eyes ;)
<GaryOak_> oh god, an abstract class!!!
<Senjai> I would totally be down for abstract classes in ruby
<Senjai> I had this dicussion a while ago
dj_zubehoer has joined #ruby
<jhass> well, it's main reason is that it allowed for some rather huge optimization in the type interference
einarj has quit [Remote host closed the connection]
<jhass> personally I don't see why you can't use a module instead
bMalum has quit [Quit: bMalum]
davedev24_ has quit [Ping timeout: 248 seconds]
davedev24_ has joined #ruby
<Senjai> jhass: Can't inherit from a module, and its fine to have two classes inherit from a common set of responsibility, where that set is not meant to be used on its own
<Senjai> and can be specified as an interface
<Senjai> E.g. raise NotImplementedError for template methods.
<jhass> I see include as form of inheritance
shazaum has joined #ruby
<GaryOak_> ^ this
GnuYawk has quit [Quit: WeeChat 1.0]
<GaryOak_> composition instead of inheritance
weemsledeux has joined #ruby
n1x has quit [Ping timeout: 252 seconds]
gfawcettpq has quit [Ping timeout: 240 seconds]
GnuYawk has joined #ruby
Zai00 has quit [Quit: Zai00]
vudew has quit [Quit: Lost terminal]
tuelz has joined #ruby
Zai00 has joined #ruby
Zai00 has quit [Client Quit]
<workmad3> if you go by implementation, include is a form of inheritance in ruby... inserts into the ancestors chain, works with 'is_a?' etc... it's just used for different semantic purposes :)
n1x has joined #ruby
<krainboltgreene> Are modules good singleton objects?
n1x has quit [Changing host]
n1x has joined #ruby
Biopandemic has joined #ruby
Hirzu has quit [Remote host closed the connection]
<avril14th> what's a bad singleton object?
<avril14th> wakes up and kills you at night?
freerobby has joined #ruby
<GaryOak_> avril14th: is the killer waking up, or the person they are going to kill?
<krainboltgreene> Good question.
wallerdev has joined #ruby
<GaryOak_> krainboltgreene: do you mean a singleton singleton, or a ruby singleton?
<krainboltgreene> I was realizing this class I'm defining really doesn't need to be instantiated. There's behavior, but no state or data.
Igorshp has quit [Remote host closed the connection]
leafybas_ has quit [Remote host closed the connection]
<GaryOak_> then just use it as a module
Biopandemic has quit [Client Quit]
<GaryOak_> unless it needs to inherit from a parent class
FrankD has joined #ruby
RandyT has joined #ruby
_djbkd has quit [Remote host closed the connection]
<krainboltgreene> I hate to write a whole bunch of singleton methods though.
<Senjai> jhass: It is a form of inheritance for sure, but there is no strict way to check if a class impliments the ModuleName interface. You can use duck typing with respond_to? but there is value in thing.is_a?(AbstractController)
<GaryOak_> krainboltgreene: they aren't singleton methods, they are static methods
<Senjai> Especially when developing libraries
Aswebb_ has quit []
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
roolo has quit [Remote host closed the connection]
<GaryOak_> krainboltgreene: and they are fine to put in your code
n1x has quit []
bim has quit [Remote host closed the connection]
Hijiri has quit [Quit: WeeChat 1.0.1]
cocotton has joined #ruby
<jhass> >> Object.is_a? Kernel
<ruboto> jhass # => true (https://eval.in/309401)
workmad3 has quit [Ping timeout: 276 seconds]
<jhass> >> Hash.is_a? Enumerable
<ruboto> jhass # => false (https://eval.in/309402)
<jhass> oh, right
<jhass> >> Hash.new.is_a? Enumerable
<ruboto> jhass # => true (https://eval.in/309403)
<jhass> totally can is_a? a module
shazaum has joined #ruby
shazaum has quit [Changing host]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jimms_ has quit []
mostlybadfly has quit [Quit: Connection closed for inactivity]
sevvie has quit [Remote host closed the connection]
mostlybadfly has joined #ruby
jerematic has quit [Remote host closed the connection]
f3lp has joined #ruby
User458764 has joined #ruby
Ellis has joined #ruby
Echoes-- has joined #ruby
<Ellis> how can i return an object that doesn’t have the same id as the object i’m returning? e.g. 5 and 5 don’t have the same id
tvw has quit [Remote host closed the connection]
vvikramjhu__ has quit [Ping timeout: 255 seconds]
<jhass> Your question seems to lack a lot of context
basiclaser has joined #ruby
_djbkd has joined #ruby
<Ellis> i have a method that takes an array, a minimum size, and a value to pad the array with, the spec wants me to return the new array but if it is the same array (because it has no changes) it wants a new object (so it doesn’t have the same object id) i used clone but that didn’t work
<jhass> it should, you use clone incorrectly then
gfawcettpq has joined #ruby
<Ellis> derp
<Ellis> i did, return array.clone
<jhass> looks good on its own
mjuszczak has joined #ruby
<jhass> maybe that branch of your code was never reached though, or maybe you're misinterpreting the spec failure after that change
<Ellis> i think i’m misinterpreting the spec
<Ellis> ><
<Ellis> thanks
tuelz has quit [Quit: WeeChat 1.0]
krisquigley has joined #ruby
<jhass> btw if you want better help you need to show your code (and preferably the failing spec with its failure output)
weemsledeux has joined #ruby
<Ellis> cool ill do that next time
quimrsto_ has quit [Remote host closed the connection]
_djbkd has quit [Remote host closed the connection]
quimrstorres has joined #ruby
zlude has joined #ruby
ennmob has quit [Read error: Connection reset by peer]
<zlude> Hello! How to know if I'm using MRI?
<jhass> zlude: ruby -v
DexterLB has quit [Quit: So long and thanks for all the fish]
sohrab has joined #ruby
<zlude> jhass, ruby 2.1.3p242 (2014-09-19 revision 47630) [i686-linux]
<jhass> looks like MRI
Porfa_ has quit [Quit: Porfa_]
sevvie has joined #ruby
_djbkd has joined #ruby
Porfa_ has joined #ruby
<zlude> jhass, MRI always default?
<jhass> what do you mean?
overcrush has joined #ruby
krisquigley has quit [Ping timeout: 252 seconds]
<csaunders> on most systems it'll be that Ruby. The other ones you typically have to install yourself (rbx, jruby, etc.) And they'll say it in the version
<csaunders> i.e. jruby - jruby 1.7.18 (1.9.3p551) 2014-12-22 625381c on Java HotSpot(TM) 64-Bit Server VM 1.7.0_17-b02 +jit [darwin-x86_64]
<havenwood> zlude: Another way to check is to look at `RUBY_ENGINE` and see if it's `"ruby"`: ruby -e "p RUBY_ENGINE"
<zlude> jhass, MRI is the Ruby interpreter, sure? We can use JRuby instead of MRI, sure? So, MRI is default?
<wasamasa> YES
aryaching has quit [Ping timeout: 250 seconds]
<jhass> zlude: the default of what?
Rollabunna has quit [Remote host closed the connection]
quimrstorres has quit [Ping timeout: 246 seconds]
<zlude> default interpreter that comes with standard ruby
Rollabunna has joined #ruby
<jhass> what's "standard ruby"
rodfersou has quit [Quit: leaving]
doodlehaus has quit [Ping timeout: 245 seconds]
Porfa_ has quit [Client Quit]
rodfersou has joined #ruby
aryaching has joined #ruby
RegulationD has joined #ruby
SouL has joined #ruby
<zlude> jhass, oh god hehe, just keep it out. i found what i need in google. thank you anyway. for both of yous guys, havenwood and <wasamasa>
<jhass> MRI is what ruby-lang.org is for, it's the reference implementation of Ruby, the most widely used implementation and it's commonly packaged as "ruby", if that's what you're asking
overcrush has quit [Ping timeout: 248 seconds]
<havenwood> zlude: Matz' Ruby Interpreter (MRI), also known as CRuby or just Ruby, is the reference implementation of Ruby. It's RUBY_ENGINE is "ruby".
serivichi has joined #ruby
longfeet has quit [Ping timeout: 250 seconds]
jjasonclark has joined #ruby
<zlude> havenwood, thank you.
<havenwood> zlude: JRuby's is "jruby", Rubinius' is "rbx", Topaz is "topaz", etc.
teddyp1cker has joined #ruby
ghr has quit [Ping timeout: 255 seconds]
Azulinho has joined #ruby
quimrstorres has joined #ruby
CustosL1m3n has quit [Ping timeout: 264 seconds]
<Senjai> jhass: TIL
<jhass> :)
DrShoggoth has quit [Quit: Leaving]
RegulationD has quit [Ping timeout: 255 seconds]
Channel6 has quit [Quit: Leaving]
<Senjai> Point being, is yes, I'm super pro composition, but not for the sake of composition :P. There are legitimate opporunities for inheritance
<jhass> I actually can see a point of an abstract class with enforced implementations by childs in Ruby
<Senjai> Aye
<jhass> the fun part is that the current Ruby model would cause compile time errors in Crystal
<Senjai> That's what I would be voting for
<jhass> if you mess up
<Senjai> By not implimenting a template method?
<jhass> for example
<jhass> but things like returning a type that doesn't respond to a method the caller expects on it too etc
<Senjai> One thing I'm happy about with interpreted languages, is that they force you to get into good habits with testing, well not force, but strongly encourage
<jhass> and thinking about it, we could make abstract def work for modules too in Ruby
<jhass> yeah true
<Senjai> Working in C++ the past few days, so many rely on the compiler to do some of their testing for them
pietr0 has joined #ruby
<Senjai> Which is badnewsbears
<jhass> I wrote zero tests for DeBot, yet I had to fix maybe half a dozen runtime errors
<jhass> compilers catch the common mistakes early
<Senjai> jhass: I'm not sure about that. I wouldn't want multiple inheritance to be too wildly encouraged. I simply would want modules used for mixins or implimenting common interfaces. I could see people going cray cray if they get encouraged to do really crazy things with them
<Senjai> Instead of composition
<Senjai> jhass: Yeah, but you should still write tests. Many native communities don't
<jhass> well, preventing people from stupid things is not something Ruby is good at :P
<Senjai> Or only do it for run time related things, or regression testing
<Senjai> I wouldn't disagree with you :P
<jhass> I'd do for production stuff
<jhass> that one's hobby, so I didn't care
<jhass> I'll probably backfil once I extract the IRC library/framework into its own project
<Senjai> I'm talking about production code though. Like C++ prod code, with very few tests. It's insane! Especially because of how many things can go TERRIBLY wrong with C++.
dogsitr has joined #ruby
<wasamasa> TERRIBLY
<sivoais> I know huge C++ codebases that have tests, but when you look into them, all they do is instantiate each class. :-| No functional tests.
<Senjai> wasamasa: jhass Like this: https://gist.github.com/Senjai/1645b1820262d2ef68b7
<Senjai> its a simplified example, but thats an infinite loop :P
<jhass> hehe
<Senjai> I had to debug something like that for a client, it was terrible. Because everything was typedefs of typedefs and had no tests
* wasamasa stares harder at the code
<wasamasa> how is that even possible?
<Senjai> wasamasa: what part?
<Senjai> wasamasa: The fact its infinite?
<wasamasa> Senjai: well, I'm looking for the reason it doesn't terminate
<Senjai> unsigned integers can only be positive
<Senjai> 0 - 1 = 2,147,483,647 on a 32 bit system
<Senjai> It wraps around
<wasamasa> oh, right
<Senjai> as I said, TERRIBLE TERRIBLE things can happen xD
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby
Advocation has quit [Quit: Advocation]
<sivoais> should be 2**32-1 = 4294967295
<Senjai> sivoais: Right, sorry
<Senjai> unsigned..
cpt_yossarian has quit [Ping timeout: 245 seconds]
rdark has joined #ruby
riotjones has joined #ruby
Notte has quit [Remote host closed the connection]
ghr has joined #ruby
piotrj has quit [Remote host closed the connection]
teddyp1cker has quit [Remote host closed the connection]
<GaryOak_> those off by one errors can kill, literally!
SouL has quit [Read error: Connection reset by peer]
adriancb has joined #ruby
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
riotjones has quit [Ping timeout: 256 seconds]
jconnolly has quit [Ping timeout: 248 seconds]
jerematic has joined #ruby
serivichi has quit [Ping timeout: 240 seconds]
Limix has quit [Quit: Limix]
max96at|off is now known as max96at
SouL has joined #ruby
merqlove has joined #ruby
<Senjai> Point being, I think rubyists are the ahead of the curve, if they bring testing with them to other languagers
TheGugaru has joined #ruby
<sweeper> unless it's rspec testing
fantazo has quit [Ping timeout: 245 seconds]
<sweeper> then everyone will just laugh
<Senjai> rspec is fine.
thumpba has joined #ruby
centrx has joined #ruby
<wasamasa> sure they are
* wasamasa added tests to an emacs package last week
<wasamasa> I'll guess I should be glad for the rubyists introducing BDD
zorak8 has quit [Read error: Connection reset by peer]
bMalum has joined #ruby
zorak8 has joined #ruby
baweaver has joined #ruby
jlast has quit [Remote host closed the connection]
_djbkd has quit [Remote host closed the connection]
<cout> so I've got a RClass* from a core file. any easy way to get the name of the class?
dogsitr has quit [Ping timeout: 250 seconds]
sandelius has joined #ruby
jlast has joined #ruby
sinkensabe has joined #ruby
zarubin_ has joined #ruby
withnale_ has quit [Ping timeout: 240 seconds]
<atmosx> aloha
<atmosx> John Oliver is amazing
Azulinho has quit [Ping timeout: 246 seconds]
jcromartie has joined #ruby
ghr has quit [Ping timeout: 256 seconds]
postmodern has joined #ruby
<jhass> what ruby library did he wrote?
<atmosx> wasabi
BradPitt has quit [Ping timeout: 265 seconds]
sinkensabe has quit [Ping timeout: 240 seconds]
zarubin_ has quit [Ping timeout: 264 seconds]
<Senjai> cout: wat
thumpba has quit [Read error: Connection reset by peer]
thumpba has joined #ruby
hmnhf_ has joined #ruby
hgl has quit [Ping timeout: 240 seconds]
thumpba__ has joined #ruby
_djbkd has joined #ruby
fantazo has joined #ruby
jjasonclark has quit [Quit: jjasonclark]
<naftilos76> Hi, is there a way to capture data from linux terminal apps like 'dstat' which returns a new line of system statistics based on an interval defined by the user. I could certainly capture a one-time-execution return string by doing in the case of dstat while in a ruby script: `dstat -cndm --float --freespace 1 0` . This executes once and therefore i can do var = `system command` . But what if the app can operate on a time interval? Is there a way to
<naftilos76> capture every new line of dstat ?
thumpba__ has quit [Read error: Connection reset by peer]
<csaunders> you want the output?
thumpba__ has joined #ruby
thumpba has quit [Ping timeout: 252 seconds]
<naftilos76> yep
hgl has joined #ruby
dj_zubehoer has quit [Remote host closed the connection]
Zen-Zen has quit []
<jhass> naftilos76: open3 / popen are the category of library /calls you want to look into
<naftilos76> i basically want to manipulate the string returned and throw each value into a db table
<atmosx> naftilos76: I don't think you can do that. However catching/using lines from terminal is better done with open3, gives better handling of the output and signals.
dj_zubehoer has joined #ruby
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
<jhass> you can, with open3/popen
<atmosx> jhass: you sure he can?
<jhass> reading another process stdout line by line? pretty sure
<naftilos76> thanks a lot, let me have a look at open3
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
dj_zubehoer has quit [Remote host closed the connection]
<csaunders> Yeah, it's pretty straightforward
dj_zubehoer has joined #ruby
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
piotrj has joined #ruby
<eam> there's no terminal involved in open3
Megtastique has joined #ruby
Mon_Ouie has joined #ruby
Megtastique has quit [Max SendQ exceeded]
<atmosx> csaunders: cool
Megtastique has joined #ruby
workmad3 has joined #ruby
<csaunders> pretty sure that thing is broken now... I should really get around to fixing it. But most of the gifs I need these days are of cats and the internet already provides enough of those.
<atmosx> hehe
wallerdev has quit [Quit: wallerdev]
Notte has joined #ruby
thumpba__ has quit [Remote host closed the connection]
sevvie has quit [Ping timeout: 250 seconds]
The_Phoenix has joined #ruby
jenrzzz has joined #ruby
wallerdev has joined #ruby
<atmosx> Off to the movies to watch a totally shitty movie!
<atmosx> bbl
* atmosx actively supports the Movies industry.
sevvie has joined #ruby
zz_zz_AlphaTech is now known as AlphaTech
Sonny_Jim has joined #ruby
doodlehaus has joined #ruby
<GaryOak_> atmosx: what movie?
<Sonny_Jim> I'm trying to install metasploit using ruby from rvm, on the "bundle install" command I get this error: undefined symbol: rb_Digest_SHA1_Init
<Sonny_Jim> Any ideas?
<jhass> https://github.com/bundler/bundler/pull/3531 who would've expected it's that easy...
<jhass> Sonny_Jim: #metasploit might have a better idea
work_op has quit [Read error: Connection reset by peer]
<postmodern> Sonny_Jim, also ask in #rvm, might be an rvm issue
<Sonny_Jim> Will do
<naftilos76> jhass: Which is the gem? i tried 'gem install open3' and got a response that no gem exists under that name
The_Phoenix has quit [Read error: Connection reset by peer]
<jhass> naftilos76: it's in stdlib
<naftilos76> oh!
mjuszczak has quit []
rhllor has quit [Quit: rhllor]
jconnolly has joined #ruby
overcrush has joined #ruby
dj_zubehoer has quit []
mjuszczak has joined #ruby
mjuszczak has quit [Client Quit]
amdbcg1 has joined #ruby
amdbcg has quit [Read error: No route to host]
mjuszczak has joined #ruby
gfawcettpq has quit [Ping timeout: 245 seconds]
baweaver has quit [Remote host closed the connection]
mrsolo has quit [Quit: This computer has gone to sleep]
<naftilos76> jhass: I tried this in irb but i am not really sure what i have to do to access the data of dstat: data = Open3.capture2e("dstat -cndm --float --freespace")
<naftilos76> After i do that, it just stays there
<jhass> you want a variant that gives an io for stdout
<naftilos76> i have to CTRL+C
<jhass> yeah
mrsolo has joined #ruby
<naftilos76> i am not sure how to do that
overcrush has quit [Ping timeout: 250 seconds]
SouL has quit [Ping timeout: 246 seconds]
Sonny_Jim has left #ruby [#ruby]
<jhass> you want popen2 or popen2e
<naftilos76> ok let me see
aswen has joined #ruby
<jhass> and then stdout.each_line or so
mjuszczak has quit [Client Quit]
<havenwood> jhass: nice, i wonder about adding --with to RubyGems as well
pietr0 has quit [Ping timeout: 250 seconds]
sankaber has quit [Ping timeout: 250 seconds]
xybre has quit [Ping timeout: 250 seconds]
kirun has joined #ruby
inavele has quit [Ping timeout: 256 seconds]
mjuszczak has joined #ruby
<jhass> do it, I'm fine with telling my users to install bundler
amdbcg1 has quit [Ping timeout: 250 seconds]
<jhass> I really didn't expect to be that easy
<havenwood> ;)
<jhass> I mean look at the associated discussions (2 edges)
amdbcg has joined #ruby
pietr0 has joined #ruby
Takle has joined #ruby
<jhass> (I mean not my proposal but the competing ones)
razrunelord has joined #ruby
Filete has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dfinning_ has quit [Remote host closed the connection]
meschi__ has joined #ruby
Rephiax has joined #ruby
ponga has quit [Quit: Leaving...]
overcrush has joined #ruby
Zai00 has joined #ruby
lavros has quit [Quit: leaving]
<Senjai> jhass: I'm actually -1 on that
<naftilos76> jhass: I am really greatfull. You are always helpfull! It worked with popen
<GaryOak_> The optional is nice, because then you can set a reasonable default for your gem
<jhass> Senjai: yeah, you don't develop an app that's shipped to sysadmin newbies
baweaver has joined #ruby
c355E3B has joined #ruby
sinkensabe has joined #ruby
<jhass> GaryOak_: nope, this is bundler, not rubygems
meschiv2 has quit [Ping timeout: 250 seconds]
<jhass> it's for projects that use bundler, not for gems
<GaryOak_> but I mean when you are doing a project
<Senjai> jhass: I would declare my dependencies, to be dependencies. They shouldn't change.
<GaryOak_> or building a gem
<Senjai> If you want to support multiple databases, include all of the adapters
<Senjai> If you want to include things that only work with a specific driver, just add it as a dependency
<jhass> no, I won't demand from my users to install dev headers for something they don't need
_hollywood has quit [Quit: Leaving]
<Senjai> If the application is meant to be able to "use a bunch of different things" then it is dependent on those different things
<Senjai> Otherwise, dont include them as dependencies, and use seperate gems
tpimtts is now known as tpimtts_away
aswen has quit [Ping timeout: 248 seconds]
quimrstorres has quit [Remote host closed the connection]
_hollywood has joined #ruby
gfawcettpq has joined #ruby
<jhass> go through the references in the linked issues, especially the ones coming from commits. Look at Redmines Gemfile, or discoures. Convince all these projects to drop their hacks. If you accomplished that you can convince me
quimrstorres has joined #ruby
<jhass> also with that argument you need to convince bundler to drop --without
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
cpt_yossarian has joined #ruby
<jhass> what I essentially did was adding another interface to what --without does
TheNet has joined #ruby
<jhass> I did not add the possibility of conditionally installing gems, I added another interface to it
grn has joined #ruby
sinkensabe has quit [Remote host closed the connection]
User458764 has joined #ruby
sevvie has quit [Ping timeout: 264 seconds]
Notte has quit [Remote host closed the connection]
xybre has joined #ruby
Hounddog has quit [Ping timeout: 240 seconds]
quimrstorres has quit [Ping timeout: 265 seconds]
teddyp1cker has joined #ruby
riotjones has joined #ruby
casadei has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
jottr has joined #ruby
jheg has joined #ruby
casadei has joined #ruby
tvw has joined #ruby
DexterLB has joined #ruby
agarie has quit [Remote host closed the connection]
riotjones has quit [Ping timeout: 264 seconds]
gigetoo has joined #ruby
razrunelord has quit []
headius has quit [Quit: ZNC - http://znc.in]
TheGugaru has quit [Ping timeout: 255 seconds]
ta_ has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bhaak has joined #ruby
bim has joined #ruby
agarie has joined #ruby
mikecmpbll has joined #ruby
LJT has quit [Quit: Sleeping...]
tjbiddle has joined #ruby
sevvie has joined #ruby
workmad3 has quit [Ping timeout: 252 seconds]
dfinninger has joined #ruby
piotrj has quit [Remote host closed the connection]
mrbond has quit [Ping timeout: 244 seconds]
RegulationD has joined #ruby
teddyp1cker has quit []
bMalum has quit [Quit: bMalum]
sigurding has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
bim has quit [Ping timeout: 276 seconds]
bim has joined #ruby
bMalum has joined #ruby
grn has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 245 seconds]
piotrj has joined #ruby
browndawg has quit [Ping timeout: 252 seconds]
qpls has quit [Quit: Lost terminal]
TheGugaru has joined #ruby
piotrj has quit [Client Quit]
Mark-6ma has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
palms has quit [Read error: Connection reset by peer]
krisquigley has joined #ruby
agarie has quit [Remote host closed the connection]
turtil has joined #ruby
A205B064 has joined #ruby
agarie has joined #ruby
grn has joined #ruby
pika_pika has quit [Ping timeout: 245 seconds]
grn has quit [Remote host closed the connection]
yfeldblum has joined #ruby
bim has quit [Remote host closed the connection]
palms has joined #ruby
Mon_Ouie has quit [Ping timeout: 276 seconds]
krisquigley has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
jottr has quit [Ping timeout: 264 seconds]
grn has joined #ruby
bim has joined #ruby
Kricir has quit []
jenrzzz has joined #ruby
rdark has quit [Quit: leaving]
adriancb has quit [Remote host closed the connection]
baweaver has joined #ruby
TheGugaru has quit [Ping timeout: 264 seconds]
horsecowdog has quit [Remote host closed the connection]
Jackneill has quit [Read error: Connection reset by peer]
grn has quit [Remote host closed the connection]
jottr has joined #ruby
quimrstorres has joined #ruby
horsecowdog has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
musashi1 has joined #ruby
Guest76460 is now known as C0deMaver1ck
grn has joined #ruby
grn has quit [Client Quit]
quimrstorres has quit [Remote host closed the connection]
ta_ has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
freerobby has quit [Quit: Leaving.]
mrsolo has quit [Quit: This computer has gone to sleep]
freerobby has joined #ruby
Pupeno has quit [Remote host closed the connection]
Pupeno has joined #ruby
tkuchiki has quit [Read error: Connection reset by peer]
lanemeyer has quit [Ping timeout: 244 seconds]
overcrush has left #ruby [#ruby]
amdbcg has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
TheGugaru has joined #ruby
mrsolo has joined #ruby
spider-mario has joined #ruby
gfawcettpq has quit [Ping timeout: 245 seconds]
_djbkd has quit [Remote host closed the connection]
pandaant has quit [Remote host closed the connection]
Pupeno has quit [Ping timeout: 240 seconds]
havenwood has quit [Remote host closed the connection]
labria has joined #ruby
havenwood has joined #ruby
_hollywood has quit [Quit: Leaving]
amdbcg has joined #ruby
wildroman2 has joined #ruby
bMalum_ has joined #ruby
dfinninger has quit [Remote host closed the connection]
labria has quit [Client Quit]
_djbkd has joined #ruby
labria has joined #ruby
labria has left #ruby [#ruby]
Scriptonaut has joined #ruby
headius has joined #ruby
<Scriptonaut> hey guys, what is the difference between @somevar and self.somevar when you're inside a method?
jenrzzz has quit [Ping timeout: 245 seconds]
jottr has quit [Ping timeout: 276 seconds]
bMalum has quit [Ping timeout: 250 seconds]
bMalum_ is now known as bMalum
wildroman2 has quit [Remote host closed the connection]
<jhass> Scriptonaut: the former accesses an instance variable, the later calls a method
baweaver has quit [Remote host closed the connection]
snath has quit [Ping timeout: 264 seconds]
<Scriptonaut> but self.somevar returns my instance variable
wildroman2 has joined #ruby
naftilos76 has quit [Remote host closed the connection]
jenrzzz has joined #ruby
taxen_ has joined #ruby
<agarie> def somevar; @somevar; end
<evanjs> But why is ruby so slow you havn't answered that yer
<centrx> it's not
<GaryOak_> Magnets, you can't answer that!
Zamyatin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JDiPierro has quit [Remote host closed the connection]
LJT has joined #ruby
pika_pika has joined #ruby
fryguy9 has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
ta_ has joined #ruby
JDiPierro has joined #ruby
ki0 has joined #ruby
TheGugaru has quit [Ping timeout: 244 seconds]
<cout> so if flags is 4, that's a T_FLOAT, right?
odin22 has joined #ruby
dfinninger has joined #ruby
phutchin1 has joined #ruby
roolo has joined #ruby
<shevy> one day ruby will be faster than lua
<cout> shevy: unlikely
<GaryOak_> everyday ruby is faster to write than lua
baweaver has joined #ruby
phutchins has quit [Ping timeout: 276 seconds]
<shevy> it'll happen - you'll need to reach a state where there is no separation between compiled and scripting languages anymore
snath has joined #ruby
<shevy> a jvm without java!
<gr33n7007h> luajit even faster ;)
<GaryOak_> isn't that just the jvm?
<c355E3B> so intel chips?
relix has joined #ruby
jcromartie has quit [Remote host closed the connection]
<shevy> AMD and intel will merge to create AMDtel
<GaryOak_> a few new languages are coding against LLVM now
jcromartie has joined #ruby
<shevy> yeah
<shevy> LLVM modifies the landscape
freerobby1 has joined #ruby
<GaryOak_> people don't have to write their own cross-platform compilers anymore
freerobby has quit [Ping timeout: 248 seconds]
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
merqlove has quit [Quit: Connection closed for inactivity]
taxen_ has quit [Quit: Textual IRC Client: www.textualapp.com]
phutchin1 has quit [Ping timeout: 240 seconds]
Morkel has quit [Quit: Morkel]
quimrstorres has joined #ruby
vvikramjhu__ has joined #ruby
meschiv2 has joined #ruby
zarubin_ has joined #ruby
wldcordeiro has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Zamyatin has joined #ruby
TheGugaru has joined #ruby
<TheGugaru> evanjs if ruby is slow for you, you either have a misconfiguration or you are doing something in your code that is taking a substantial amount of time to process
quimrstorres has quit [Remote host closed the connection]
TheNet has quit [Remote host closed the connection]
quimrstorres has joined #ruby
meschi__ has quit [Ping timeout: 245 seconds]
zarubin_ has quit [Ping timeout: 256 seconds]
<shevy> that can be
<shevy> my irb startup is like 5 seconds
<shevy> because I load every gem I have
<shevy> more than 300 of them
rbennacer has quit [Remote host closed the connection]
<TheGugaru> evanjs I have forms that are thousands upon thousands lines of code that run an enterprise level database and page loads are under a minute and I can pull thousands of records in seconds
revoohc has quit [Quit: revoohc]
wildroman2 has quit [Remote host closed the connection]
quimrstorres has quit [Ping timeout: 264 seconds]
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
rbennacer has joined #ruby
byprdct has joined #ruby
wildroman2 has joined #ruby
c355E3B has quit [Quit: Leaving]
tuelz has joined #ruby
<GaryOak_> You can do async requests and then send them the records later
taxen has joined #ruby
<evanjs> why would you have a form that is thousands of lines long?
GnuYawk has quit [Ping timeout: 264 seconds]
ta_ has quit [Quit: Leaving...]
ghr has joined #ruby
horsecowdog has quit [Remote host closed the connection]
ta_ has joined #ruby
naftilos76 has joined #ruby
ta_ has quit [Client Quit]
quimrstorres has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
<TheGugaru> evanjs financial forms, and client intake forms with hidden fields that appear when options are selected
<TheGugaru> I build software not websites so code becomes exponentially longer and larger when coding for business logic versus web logic
Pharaoh2_ has joined #ruby
Pharaoh2 has quit [Disconnected by services]
<TheGugaru> evanjs for instance a client I just finished has a financial form with a total 456 fields on it and over 20k lines of code to handle the display and presentation of the data for their reps. It loads in less than 10 seconds
<evanjs> seems strange, maybe functional programming methodologies could help
<TheGugaru> evanjs LOL no sorry that is not true
<evanjs> whats not true that it loads in less than 10 seconds?
<TheGugaru> When doing business software the goal is to automate their paperwork and to automate paperwork and document generation can take a ton of fields to achieve. Business software is in a playpen all of its own.
<TheGugaru> you state was not true
<TheGugaru> I am already using functional programming methodologies
<TheGugaru> the business logic and display is just massive
<GaryOak_> Use React, what are you doing bro! jk, you probably know what you are doing
Pumukel has joined #ruby
quimrstorres has quit [Remote host closed the connection]
<TheGugaru> GAH React NO
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<GaryOak_> What are you using for the frontend?
quimrstorres has joined #ruby
snath has quit [Ping timeout: 256 seconds]
<TheGugaru> His application is browser based so HTML JS and CSS
<GaryOak_> just straight js?
<eam> I don't see how the number of fields on a form is relevant to complexity
<evanjs> whos application is browser based?
sigurding has quit [Quit: sigurding]
<TheGugaru> The one with 456 fields on their new client form
mikenovikov has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<TheGugaru> eam greater number of fields means more business logic more business logic means more processing code. So therefor in this instance it is relevant to complexity my friend.
tercenya has quit [Remote host closed the connection]
<evanjs> but why have all that complexity in one place jsut seems odd. And why wouldn't alot of that complexity be in a rules engine to reduce complexity of the code
tercenya has joined #ruby
<TheGugaru> evanjs that is your lack of understanding of financial systems and document generation that leads you to that conclusion.
Rollabunna has quit [Remote host closed the connection]
Rollabunna has joined #ruby
<eam> TheGugaru: fwiw I don't have a lack of understanding for large scale complex systems (including in the financial industry) and I'm having trouble making sense out of your statements
quimrstorres has quit [Ping timeout: 246 seconds]
<TheGugaru> evanjs this form starts the whole client process generates financing agreements, payment contracts, and other important legal documents to be signed through docusign.
spider-mario has quit [Ping timeout: 240 seconds]
fantazo has quit [Quit: Verlassend]
gusrub has joined #ruby
spider-mario has joined #ruby
<evanjs> Yeah your probably right I only worked on Fidelity's defined benefits and contribution transaction systems fro 10 years and oversaw all that fund prospectus generation code, and I'm not that smart ;)
<evanjs> DOCUSIGN AHHH
<evanjs> hate docusign say no more
<TheGugaru> eam sorry did not mean to poke you like LOL but I am here to tell you that not all applications are simple and not all applications can be broken out into pretty little tidbits of code. I have been programming in ruby for almost 13 years now and I have had some very large and complex hunks of code that COULD NOT be reduced because of the business processes that is involved.
<evanjs> from here out we shall refer to docusign as that which shall not be named
weemsledeux has joined #ruby
quimrstorres has joined #ruby
<TheGugaru> evanjs docusign is the nicest of all the document signing API's at least in my opinion as I have worked with several. I just like how they have stuff setup :D
ghr has quit [Ping timeout: 264 seconds]
mutenewt has joined #ruby
<evanjs> no worries I would recommend c++ its easier than ruby ;)
mutenewt has quit [Max SendQ exceeded]
enterprisedc has joined #ruby
<TheGugaru> thats a personal preference. and no to C++ I know but do not like it
mutenewt has joined #ruby
<TheGugaru> prefer ruby for business stuff if I want to build a game ill go to C++ LOL
<evanjs> I have had a series of issues with docusign, just stability issues
<TheGugaru> evanjs well there is that with any prewritten api isn't there :D
<evanjs> but I don't use it any longer so maybe it has gotten better
<evanjs> maybe
<GaryOak_> Just two enterprise Ruby devs, talking about enterprise Ruby dev problems
<TheGugaru> they now have a restful API so it has a hell of a lot less bugs
<GaryOak_> nothing to see here
<TheGugaru> GaryOak_ LOL
<evanjs> lol
Zamyatin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<evanjs> yeah I don't use ruby the 3d graphics api isn't where it needs to be yet ;)
quimrstorres has quit [Remote host closed the connection]
<TheGugaru> no not at all
<TheGugaru> great for business not games :D
wildroman2 has quit [Remote host closed the connection]
quimrstorres has joined #ruby
Zamyatin has joined #ruby
wildroman2 has joined #ruby
<eam> TheGugaru: I've worked on stuff much more complex than business forms so yes I'm aware. The ... generalizations you're making however ...
<evanjs> isn't gaming a business?
<centrx> seems like troll
<TheGugaru> eam I am not making generalizations you are just reading it that way
snath has joined #ruby
fryguy9 has quit [Read error: Connection reset by peer]
adriancb has joined #ruby
nemish__ has joined #ruby
fryguy9 has joined #ruby
nemish__ is now known as nemish
<evanjs> trolls like the kind with the crazy hair and a ruby in their belly?
<TheGugaru> evanjs LMAO
<TheGugaru> ruby its tummy and make a wish!
TheNet has joined #ruby
quimrstorres has quit [Ping timeout: 265 seconds]
<nemish> on centos7 it appears ruby/gem are installed in /usr/bin but gems get installed in /usr/local/bin ... any idea why that might be? is there a way to globally assign the executable path back to /usr/bin?
lewix has joined #ruby
codecop has quit [Remote host closed the connection]
TheNet has quit [Client Quit]
<eam> nemish: are the gems coming from EPEL?
<nemish> gem install
<nemish> so "gem install librarian-puppet"
<nemish> but when I do a "sudo librarian-puppet update" it complains librarian-puppet isn't found because /usr/local/bin isn't in root's path... so while I can add it to the PATH i'm trying to understand the rationale for moving them to /usr/local/bin and if that can be changed back
Scriptonaut has left #ruby [#ruby]
decoponio has quit [Quit: Leaving...]
wallerdev has joined #ruby
mbeasley has quit [Quit: WeeChat 0.4.2]
aryaching has quit [Ping timeout: 250 seconds]
ki0 has quit [Remote host closed the connection]
riotjones has joined #ruby
freerobby1 has quit [Ping timeout: 245 seconds]
frem has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Zamyatin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sevvie has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
freerobby has joined #ruby
mbeasley has joined #ruby
wildroman2 has quit [Remote host closed the connection]
Darryl___ has quit [Quit: Connection closed for inactivity]
mjuszczak has quit []
wildroman2 has joined #ruby
<zlude> Hello, I'm testing redis gem first time.. look: http://pastie.org/private/sxbongzshjhlc6rthe2ypq how can I add using 'expire' time?
baweaver has quit [Remote host closed the connection]
weemsledeux has joined #ruby
agarie has quit [Remote host closed the connection]
<TheGugaru> nemish you should never install via root. If you are using RVM it will ask if it needs root privileges.
<GaryOak_> zlude: expire(key, seconds)
_djbkd has quit [Remote host closed the connection]
<nemish> TheGugaru, I'm using system ruby on CentOS 7... so requires root
<nemish> TheGugaru, well via sudo that is
riotjones has quit [Ping timeout: 256 seconds]
_ixti_ is now known as ixti
wildroman2 has quit [Remote host closed the connection]
<zlude> GaryOak_ thanks!
mistermocha has joined #ruby
<GaryOak_> yep
wildroman2 has joined #ruby
jtzero has quit [Ping timeout: 276 seconds]
User458764 has joined #ruby
snath has quit [Ping timeout: 248 seconds]
JoshGlzBrk has joined #ruby
jtzero has joined #ruby
baweaver has joined #ruby
_djbkd has joined #ruby
reinaldob has quit [Remote host closed the connection]
_riz_ has joined #ruby
taxen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
reinaldob has joined #ruby
User4587_ has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Takle has quit [Remote host closed the connection]
rodfersou has quit [Quit: leaving]
amdbcg has quit [Ping timeout: 256 seconds]
queequeg1 has quit [Ping timeout: 256 seconds]
spyderman4g63 has quit [Remote host closed the connection]
RegulationD has joined #ruby
mutenewt has quit [Quit: Leaving]
User458764 has quit [Ping timeout: 250 seconds]
sevvie has joined #ruby
Hijiri has joined #ruby
quimrstorres has joined #ruby
Rapier- has quit [Quit: (null)]
spyderman4g63 has joined #ruby
jconnolly has quit [Ping timeout: 256 seconds]
max96at is now known as max96at|off
lanemeyer has joined #ruby
amdbcg has joined #ruby
Filete has joined #ruby
labria has joined #ruby
quimrstorres has quit [Remote host closed the connection]
Takle has joined #ruby
agarie has joined #ruby
RegulationD has quit [Ping timeout: 250 seconds]
GnuYawk has joined #ruby
quimrstorres has joined #ruby
ndrei has joined #ruby
GnuYawk has quit [Client Quit]
avahey has joined #ruby
jerius has quit [Quit: /quit]
JDiPierro has quit [Remote host closed the connection]
chrisja has joined #ruby
sevvie has quit [Ping timeout: 245 seconds]
amdbcg has quit [Ping timeout: 245 seconds]
leafybasil has joined #ruby
jconnolly has joined #ruby
naftilos76 has quit [Read error: Connection reset by peer]
GnuYawk has joined #ruby
<wasamasa> hum
<wasamasa> can't figure out how to autoload a module in my first ruby gem
quimrstorres has quit [Ping timeout: 265 seconds]
kirun has quit [Quit: Client exiting]
<wasamasa> if it's just a single file in lib/, why doesn't an "autoload :ModuleName, 'module_file'" do it?
tier_ has quit [Ping timeout: 264 seconds]
<jhass> mh, I think autoload is rather discouraged anyway
<jhass> it's one of the things matz would remove if it wasn't used that much
<wasamasa> well, I want to provide a refinement with it, having both a require and using-line next to each other looks ugly
krisquigley has joined #ruby
<wasamasa> alternatively, what are known gems using that method?
<centrx> ActiveSupport::Autoload is good for autoloading
Ellis has quit [Quit: Ellis]
sevvie has joined #ruby
adriancb has quit [Remote host closed the connection]
mitsuhiko has left #ruby ["Textual IRC Client: www.textualapp.com"]
FernandoBasso has joined #ruby
brb3_ has quit [Quit: <.<]
quimrstorres has joined #ruby
FrankD has quit [Quit: Leaving]
vvikramjhu__ has quit [Quit: Leaving]
freerobby has quit [Quit: Leaving.]
vivekananda has joined #ruby
amdbcg has joined #ruby
krisquigley has quit [Ping timeout: 276 seconds]
agarie has quit []
spyderman4g63 has quit [Read error: Connection reset by peer]
spyderman4g63 has joined #ruby
Takle has quit [Read error: Connection reset by peer]
shazaum has quit [Quit: Leaving]
arescorpio has joined #ruby
<baweaver> Dangit Capistrano: http://capistranorb.com/
<baweaver> Issue is opened, one of the committers renamed it which caused GH pages to flip out.
* baweaver sighs
spyderma_ has joined #ruby
<baweaver> calling anyone on this would be wasted time on aforementioned issue, but seriously, who in the world renames something that critical?
ldnunes has quit [Quit: Leaving]
freerobby has joined #ruby
colorisco has quit [Ping timeout: 250 seconds]
catcher has quit [Quit: Leaving]
Pupeno has joined #ruby
aarwine has quit [Quit: leaving]
tmoor has joined #ruby
noober03 has joined #ruby
duncannz has joined #ruby
mengu has quit [Remote host closed the connection]
Pupeno has quit [Remote host closed the connection]
spyderman4g63 has quit [Ping timeout: 256 seconds]
Pupeno has joined #ruby
Pupeno has quit [Changing host]
Pupeno has joined #ruby
Ellis has joined #ruby
mistermo_ has joined #ruby
<baweaver> Well this will be a headache...
MissionCritical has quit [Ping timeout: 264 seconds]
<wasamasa> reminds me a bit of the rubyforge disaster
jconnolly has quit [Ping timeout: 240 seconds]
Ellis has quit [Client Quit]
x1337807x has joined #ruby
c355E3B has joined #ruby
Takle has joined #ruby
mistermocha has quit [Ping timeout: 240 seconds]
ruboto has quit [Remote host closed the connection]
sevvie has quit [Ping timeout: 265 seconds]
ndrei has quit [Ping timeout: 240 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
ta has quit [Quit: Leaving...]
Sonny_Jim has joined #ruby
<helpa> Hi Sonny_Jim. We in #ruby would really appreciate it if you did not use pastebin during your time with us.
<helpa> Pastebin is not good because it loads slowly for most, has ads which are distracting and has terrible formatting. Please use Gist (http://gist.github.com) or Pastie (http://pastie.org) instead. Thanks!
<Sonny_Jim> Ah ok
queequeg1 has joined #ruby
sevvie has joined #ruby
Pupeno has quit [Ping timeout: 244 seconds]
<canton7> polite bot :P
JoshGlzBrk has quit [Ping timeout: 245 seconds]
<Sonny_Jim> Just wondering why ruby is being built with undefined openssl symbols :\
ndrei has joined #ruby
jheg has quit [Quit: jheg]
x1337807x has quit [Client Quit]
jonr22 has joined #ruby
amdbcg1 has joined #ruby
amdbcg has quit [Read error: Connection reset by peer]
jconnolly has joined #ruby
workmad3 has joined #ruby
x1337807x has joined #ruby
atom3 has quit [Read error: Connection reset by peer]
labria has quit [Quit: labria]
cocotton has quit [Remote host closed the connection]
MissionCritical has joined #ruby
cocotton has joined #ruby
jshultz has quit [Quit: Connection closed for inactivity]
atom3 has joined #ruby
FrankD has joined #ruby
baweaver has quit [Remote host closed the connection]
Ellis has joined #ruby
ta has joined #ruby
bim has quit [Remote host closed the connection]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mbwe has joined #ruby
Notte has joined #ruby
baweaver has joined #ruby
basiclaser has quit [Quit: Connection closed for inactivity]
ta has quit [Client Quit]
Sonny_Jim has left #ruby [#ruby]
ta has joined #ruby
blackmesa has joined #ruby
atom3 has quit [Ping timeout: 276 seconds]
pullphinger has quit []
Megtastique has quit []
gsd has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
atom3 has joined #ruby
rbennacer has quit [Ping timeout: 245 seconds]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
ruboto has joined #ruby
mbwe has quit [Quit: WeeChat 0.4.2]
phoo1234567 has quit [Quit: Leaving]
freerobby has quit [Quit: Leaving.]
<apeiros> !ops
<ruboto> seanstickle, banisterfiend, Mon_Ouie, zzak, Radar, Havenn, apeiros, jhass, Karpah, miah, workmad3, Coraline, sepp2k, fflush
<apeiros> works.
silkfox has quit [Ping timeout: 246 seconds]
jonr22 has quit [Ping timeout: 252 seconds]
<jhass> !fact rm ops
<ruboto> jhass, I forgot what ops is.
lnr has quit [Ping timeout: 272 seconds]
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
ki0 has joined #ruby
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
evanjs has quit [Remote host closed the connection]
amdbcg1 has quit [Ping timeout: 248 seconds]
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
<noober03> i am using scan to look for hashtags in strings, anyone have an idea on how to make an active record query that uses scan on a text field?
lnr has joined #ruby
ki0 has quit [Ping timeout: 264 seconds]
vivekananda has quit [Ping timeout: 244 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<c355E3B> noober03, are you looking for all hashtags in a string?
<c355E3B> or just a substring
shum has joined #ruby
<jhass> noober03: you mean you want to filter your results using a regexp?
<apeiros> noober03: depends on your database. also rubyonrails is #rubyonrails
blueOxigen has joined #ruby
<noober03> i am looking for all hashtags in a string, but i want to do this as a active record query so i can count the number of each hashtag appears
<baweaver> also, doing this with AR is not going to work well, you'd likely need something like SOLR for full text search
Ellis has quit [Quit: Ellis]
adriancb_ has joined #ruby
doodlehaus has quit [Remote host closed the connection]
jenrzzz has joined #ruby
<baweaver> but yeah, you want to ask in the rails channel.
evanjs has joined #ruby
<noober03> ok thanks anyway
reinaldob has quit [Remote host closed the connection]
einarj has joined #ruby
<apeiros> or preprocess your data
_riz_ has left #ruby ["Leaving"]
bluOxigen has quit [Ping timeout: 256 seconds]
OrbitalKitten has joined #ruby
crazydiamond has quit [Remote host closed the connection]
<apeiros> store it in a way which makes this query easier and faster
Pumukel has quit [Ping timeout: 265 seconds]
PintoBean has joined #ruby
a5i has quit [Quit: Connection closed for inactivity]
sevvie has quit [Ping timeout: 240 seconds]
jwinder has joined #ruby
Dopagod has joined #ruby
Hijiri has quit [Ping timeout: 250 seconds]
Notte has quit []
GnuYawk has quit [Ping timeout: 245 seconds]
<baweaver> apeiros: I'd think the only reasonable way to do it would be something like SOLR, as this is likely a twitter-like full text search
<jhass> you'd be surprised how far you get with the acts-as-taggable-on approach ;)
<apeiros> if you search more than once, I'm pretty sure preprocessing will be faster than any full text search
<c355E3B> Also it saves you from dealing with SOLR
<c355E3B> Which is not fun
<baweaver> after a fashion though it seems like you end up with a lot of patches to it
<baweaver> granted
PintoBean is now known as PintoBeans
PintoBeans is now known as SpamArtist
<baweaver> could you preprocess the thing and grep out all hashtags? Yeah
SpamArtist has quit [Killed (verne.freenode.net (Nickname regained by services))]
musl has quit [Quit: WeeChat 1.1.1]
sevvie has joined #ruby
PintoBean has joined #ruby
Hijiri has joined #ruby
PintoBean has quit [Excess Flood]
cocotton_ has joined #ruby
momomomomo has joined #ruby
vivekananda has joined #ruby
jottr has quit [Ping timeout: 265 seconds]
palms has quit [Ping timeout: 256 seconds]
Ellis has joined #ruby
cocotton has quit [Ping timeout: 240 seconds]
cocotton_ has quit [Ping timeout: 252 seconds]
spider-mario has quit [Remote host closed the connection]
jconnolly has quit [Ping timeout: 246 seconds]
sgambino has quit [Remote host closed the connection]
Dopagod has quit [Ping timeout: 272 seconds]
sankaber has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lewix has quit [Remote host closed the connection]
odin22 has quit [Read error: Connection reset by peer]
<workmad3> baweaver: well, you could also do a regexp WHERE query on a field in postgres
evanjs has quit [Remote host closed the connection]
zarubin_ has joined #ruby
musl has joined #ruby
mistermo_ is now known as mistermocha
x1337807_ has joined #ruby
jottr has joined #ruby
freerobby has joined #ruby
Elite6809 has quit [Quit: WeeChat 1.1.1]
michaeldeol has quit [Read error: Connection reset by peer]
bigkevmcd has quit [Read error: Connection reset by peer]
bigkevmcd has joined #ruby
michaeldeol has joined #ruby
x1337807x has quit [Ping timeout: 264 seconds]
bennyklotz has quit [Ping timeout: 250 seconds]
Lucky__ has quit [Ping timeout: 250 seconds]
zarubin_ has quit [Ping timeout: 244 seconds]
bennyklotz has joined #ruby
Brando753 has quit [Ping timeout: 250 seconds]
wildroman2 has quit [Read error: Connection reset by peer]
wildroman2 has joined #ruby
Brando753 has joined #ruby
pdoherty has joined #ruby
agrinb has quit [Remote host closed the connection]
agrinb has joined #ruby
davispuh has quit [Ping timeout: 250 seconds]
evanjs has joined #ruby
byprdct has quit [Read error: Connection reset by peer]
delsol has quit [Quit: Page closed]
agrinb has quit [Ping timeout: 245 seconds]
alvaro_o has joined #ruby
adriancb_ has quit [Remote host closed the connection]
adriancb has joined #ruby
mengu has joined #ruby
_djbkd has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 245 seconds]
sevvie has quit [Ping timeout: 252 seconds]
jlast has quit [Remote host closed the connection]
sevvie has joined #ruby
mbwe has joined #ruby
wookiehangover has quit [Ping timeout: 256 seconds]
_djbkd has joined #ruby
lkba has joined #ruby
marr has quit []
noober03 has quit [Quit: Page closed]
bim has joined #ruby
mengu has quit [Ping timeout: 248 seconds]
riotjones has joined #ruby
mbwe has quit [Client Quit]
baweaver has quit [Remote host closed the connection]
wookiehangover has joined #ruby
vt102 has quit [Remote host closed the connection]
jack_rabbit has joined #ruby
bim has quit [Ping timeout: 264 seconds]
riotjones has quit [Ping timeout: 246 seconds]
evanjs has quit [Remote host closed the connection]
yh has joined #ruby
kyrylo has quit [Ping timeout: 245 seconds]
icebourg has quit []
Zai00 has quit [Quit: Zai00]
enebo has quit [Quit: enebo]
Porfa_ has joined #ruby
freerobby has quit [Quit: Leaving.]
adriancb has quit [Ping timeout: 245 seconds]
rikai has quit [Quit: No Ping reply in 180 seconds.]
Zen-Zen has joined #ruby
phutchins has joined #ruby
Porfa__ has joined #ruby
RegulationD has joined #ruby
charliesome has joined #ruby
overcrush has joined #ruby
rikai has joined #ruby
dfinninger has quit [Remote host closed the connection]
Porfa_ has quit [Ping timeout: 276 seconds]
lnr has quit [Ping timeout: 250 seconds]
fryguy9 has quit [Quit: Leaving.]
einarj has quit [Remote host closed the connection]
blueOxigen has quit [Ping timeout: 272 seconds]
baweaver has joined #ruby
lnr has joined #ruby
mrsolo has left #ruby ["Leaving"]
RegulationD has quit [Ping timeout: 264 seconds]
_blizzy_ has quit [Ping timeout: 240 seconds]
agrinb has joined #ruby
Hijiri has quit [Quit: WeeChat 1.0.1]
Pupeno has joined #ruby
jwinder has quit [Ping timeout: 246 seconds]
roolo has quit [Remote host closed the connection]
evanjs has joined #ruby
coderkevin has joined #ruby
markalanevans has joined #ruby
spyderma_ has quit [Read error: Connection reset by peer]
<markalanevans> Hey folks, i'm trying to use Goliath & RackAttack together w/ Redis.
spyderman4g63 has joined #ruby
workmad3 has quit [Ping timeout: 244 seconds]
<markalanevans> I can't seem to figure out how to share the redis object / connection from the goliath server to the RackAttack middleware
<markalanevans> Might some point me in the right direction on how to share a 'redis' connection between Goliath & RackAttack?
krisquigley has joined #ruby
wldcordeiro has quit [Ping timeout: 245 seconds]
mikenovikov has joined #ruby
Coraline_ZzZz is now known as Coraline
gregf1 has joined #ruby
Filete has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
_djbkd has quit [Remote host closed the connection]
terlar has quit [Read error: No route to host]
musashi1 has quit [Ping timeout: 240 seconds]
jobewan has quit [Quit: Leaving]
LJT has quit [Quit: Sleeping...]
<nickjj> markalanevans, may i ask the use case for goliath?
_djbkd has joined #ruby
<markalanevans> nickjj: hi concurrecy API
krisquigley has quit [Ping timeout: 252 seconds]
gregf1 has quit [Client Quit]
casadei has quit [Remote host closed the connection]
tuelz has quit [Quit: WeeChat 1.0]
charliesome has quit [Quit: zzz]
bim has joined #ruby
charliesome has joined #ruby
davispuh has joined #ruby
User4587_ has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<nickjj> oh
wildroman2 has quit [Remote host closed the connection]
terlar has joined #ruby
fyregryph has joined #ruby
amdbcg has joined #ruby
kyrylo has joined #ruby
sevvie has quit [Ping timeout: 264 seconds]
evanjs has quit [Remote host closed the connection]
mbwe has joined #ruby
<GaryOak_> markalanevans: I've been looking at Angelo to solve the same issue
jefus__ has joined #ruby
sevvie has joined #ruby
<markalanevans> Angelo?
<markalanevans> ?
<GaryOak_> markalanevans: yeah!
overcrush has quit [Remote host closed the connection]
jefus__ is now known as jefus
<markalanevans> Fun
<kenichi> oh hi
<markalanevans> I haven't played w/ it to much
<GaryOak_> It's built on Reel/Celluloid instead of EventMachine
<markalanevans> haha
<GaryOak_> hehe
<markalanevans> hi kenichi
<kenichi> note that angelo doesn't support rack at all
quintinadam has quit [Ping timeout: 245 seconds]
jefus_ has quit [Ping timeout: 252 seconds]
<kenichi> markalanevans, GaryOak_ : feel free to ping me with any questions tho :)
makepkgnotwar has joined #ruby
<GaryOak_> kenichi: thanks! Angelo is really cool, I'm also a Celluloid fan too
<kenichi> thank you!
* kenichi blushes
VBlizzard has joined #ruby
tfitts has joined #ruby
<centrx> I prefer node.js
<GaryOak_> lol
overcrush has joined #ruby
<c355E3B> erlang is where its at man
<mozzarella> elixir*
meschiv2 has quit [Ping timeout: 256 seconds]
<c355E3B> same thing
chrishough has joined #ruby
<c355E3B> its all bytecode in the end
<tfitts> I have a string that came from a PDF I scanned and it has a character that I have found is 183.chr is there a way to gsub or split on that character?
tesuji has quit [Ping timeout: 264 seconds]
<centrx> >> "a#{183.chr}z".split(183.chr)
<ruboto> centrx # => ["a", "z"] (https://eval.in/309674)
VBlizzard is now known as _blizzy_
Azure has quit [Ping timeout: 255 seconds]
FernandoBasso has quit [Ping timeout: 265 seconds]
<tfitts> Encoding::CompatibilityError: incompatible character encodings: UTF-8 and ASCII-8BIT
<tfitts> when I just try splitting on 183.chr
momomomomo has quit [Ping timeout: 246 seconds]
<tfitts> "NS·1" the string looks like this in the console
<centrx> oh encodings, you may want to use iconv, is that still the way?
blackmesa has quit [Ping timeout: 252 seconds]
<zenspider> tfitts: if you're reading in the file binary, you need to split with binary
momomomomo has joined #ruby
<zenspider> if you're reading in the file utf8, you need to split with utf8
<tfitts> the string says it's UTF-8
<zenspider> the internal encoding of your ruby file can be to blame too
meschiv2 has joined #ruby
tuzz has joined #ruby
nettoweb has joined #ruby
DEA7TH has quit [Ping timeout: 250 seconds]
<zenspider> or maybe 183.chr is returning ascii-8bit because it isn't valid utf8. i dunno
<zenspider> yup
<zenspider> It probably isn't actually 183. look at the chars, not the bytes
tuzz has quit [Client Quit]
lkba has quit [Ping timeout: 276 seconds]
Rephiax has quit []
FDj has joined #ruby
havenwood has quit [Remote host closed the connection]
michael_mbp has quit [Excess Flood]
EasyCo has quit [Quit: Connection closed for inactivity]
<Ellis> i’m trying to push some element into a subarray like this array[subarray] << element, but it’s not working … anyone know how to solve this?
havenwood has joined #ruby
<jhass> ?code
<ruboto> We can't help you without your code, please post it to https://gist.github.com
michael_mbp has joined #ruby
<GaryOak_> jhass: can you point that at a person?
<jhass> yup, just append nick
<GaryOak_> ok
c355E3B has quit [Quit: Leaving]
<Ellis> ok
ixti has quit [Remote host closed the connection]
spyderman4g63 has quit []
<zenspider> "not working" is incredibly vague
Sawbones_ has joined #ruby
<Radar> !didntwork
<helpa> What "didn't work"? Did your server not start? Did your computer explode? Did your webpage turn bright pink? Did your client not pay your bill on time? You may have to be more specific. A Gist (http://gist.github.com) of the code that doesn't work (and the error you are getting) will be helpful.
Pupeno has quit [Remote host closed the connection]
<GaryOak_> Pretty soon this channel will just be people controlling bots to talk to people
baroquebobcat has quit [Quit: baroquebobcat]
ixti has joined #ruby
Azure has joined #ruby
quimrstorres has quit [Remote host closed the connection]
<jhass> software archaeology, once all atomic problems are solved you just glue them together ;)
enebo has joined #ruby
<Ellis> it’s confusing code, but i added comments to make it easier https://gist.github.com/ellismarte/fd6fe34798f95a17c702#file-accountable-rb-L29
<centrx> ?isthisthenewwaytoaskquestions
<ruboto> I don't know anything about isthisthenewwaytoaskquestions
vdamewood has joined #ruby
<centrx> what's this, a bot that doesn't hate me like helpa does
Sawbones_ has quit [Remote host closed the connection]
<GaryOak_> ?tacosaladrecipes
<ruboto> I don't know anything about tacosaladrecipes
<Ellis> ?poopoo
<ruboto> I don't know anything about poopoo
<Ellis> ahha
<Ellis> ?anything
<ruboto> I don't know anything about anything
<GaryOak_> ?huh what
<ruboto> what, I don't know anything about huh
enebo has quit [Client Quit]
<jhass> I don't want to spoil your fun, but array_of_students.each_slice(4)
cpt_yossarian has quit [Quit: And then he took off.]
<Ellis> jhass: ty
cpt_yossarian has joined #ruby
<jhass> we can still explain your current error if you actually tell us what it is
Juanchito has quit [Quit: Connection closed for inactivity]
<Ellis> what do u mean tell u what it us
<jhass> oh and btw you want to be pedantic about indentation, it makes it easier for yourself and others to follow your code
<Ellis> is*
<jhass> well, you're still in "it doesn't work state"
<jhass> "doesn't work" is not a problem description worthy of a programmer
<Ellis> oh, well line 29 was giving me an error because undefined method `<<' for nil:NilClass
<Ellis> but i was trying to push students to a subarray
<jhass> then find_group doesn't end up at an index that you created an array for
<Radar> Gee I am so glad that ruboto lets anyone spam the channel with it </sarcasm>
<Radar> If only there was some other bot int he channel which had an access list to prevent this kind of thing
<jhass> let's see if it's an actual issue once the "oh, new bot" phase is over
<Radar> New bot for the sake of creating a new bot imop
<havenwood> shiny, poke the bot!
<Radar> No consideration even taken for integrating with the existing bot (helpa)
amdbcg has quit [Read error: Connection reset by peer]
<jhass> I'm running an open fact bot in quite a few channels for quite a while
<Radar> Which has a codebase + tips database that's > 3 years old
rikai has quit [Quit: No Ping reply in 210 seconds.]
<Radar> But no, let's go and duplicate the effort because why the hell not?
<Radar> It's The Ruby Way(tm)
amdbcg has joined #ruby
<GaryOak_> It's the WET principle Write Everything Twice
<Ellis> jhass: thanks for the help
Sawbones_ has joined #ruby
rikai has joined #ruby
happyface has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
FernandoBasso has joined #ruby
weemsledeux has joined #ruby
Sawbones_ has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
_blizzy_ has quit [Ping timeout: 244 seconds]
overcrush has quit [Remote host closed the connection]
Pharaoh2_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
VBlizzard has joined #ruby
VBlizzard is now known as _blizzy_
attamusc has quit [Quit: Connection closed for inactivity]
phutchins has quit [Ping timeout: 265 seconds]
Sawbones_ has joined #ruby
avahey has quit [Quit: Connection closed for inactivity]
Hijiri has joined #ruby
adriancb has joined #ruby
AlphaTech is now known as zz_AlphaTech
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
reset has joined #ruby
shum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
momomomomo has quit [Quit: momomomomo]
Rollabunna has quit [Remote host closed the connection]
dblessing has joined #ruby
sevenseacat has joined #ruby
amdbcg1 has joined #ruby
charliesome has quit [Quit: zzz]
michaeldeol has joined #ruby
amdbcg has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
x1337807_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alpha- has joined #ruby
lewix has joined #ruby