apeiros changed the topic of #ruby to: Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
<benlieb> xybre: i've lost clients in the past to this very issue.
<benlieb> nothing gold can stay ;)
<xybre> benlieb: Well, if you're doing software of any sort, you need to update around every 5 years best case scenario
<xybre> Any tech, hardware and software both.
<bnagy> xybre: I disapprove of your use of inject for non-inject purposes :)
seich- has joined #ruby
<Klotho> xybre, thanks. I really need it in a loop form because I'm not just making a list of values, I also have to do other stuff
<bnagy> also it won't work
<benlieb> xybre: yeah this is going to be severe though. New ruby, new rails, new server, probably.
<xybre> Klotho: that is a loop.
<xybre> bnagy: no? bummer. Looked good.
<bnagy> you forgot to return the accumulator at the end of the block
<xybre> Ah shit I always forget that.
RichardBaker has quit [Quit: RichardBaker]
<bnagy> so... you could do each.with_object(Hash.new {|h,k| h[k]=0}) {|obj,hsh| ...
mklappstuhl has quit [Ping timeout: 245 seconds]
<Klotho> you wouldn't use .group?
mootpointer has joined #ruby
<bnagy> then the hash would be pre "initialized"
<xybre> benlieb: Well, they could move up to 1.8.7 and Rails 2.3 with the latest security fixes at least..
tjbiddle has quit [Ping timeout: 260 seconds]
<bnagy> if it's enumerable ( I don't know AR ) you could just group_by
<bnagy> collection.group_by {|k,v| k}.first 10
ssvo has quit [Ping timeout: 260 seconds]
sirupsen has quit [Quit: sirupsen]
<Klotho> I was looking at http://guides.rubyonrails.org/active_record_querying.html#group but wasn't sure how to use it in a loop
RichardBaker has joined #ruby
<bnagy> tbh for AR questions you are better off asking in a rails chan
<bnagy> whether or not you're using rails
Adawerk has joined #ruby
<xybre> Yeah, ActiveRecord looks enumerable but may not actually work the way you expect
RichardBaker has quit [Client Quit]
mmitchell has joined #ruby
<xybre> Klotho: I thought you wanted a count, I must have misunderstood
<Klotho> the rais channel kicked me out because I didn't want to redo my entire database structure
RichardBaker has joined #ruby
<Klotho> xybre, I want to make a list of the values, then do something with the list, then go onto the next ID
sailias has joined #ruby
<bnagy> if you want to fake a similar thing you could collection.each.with_object(Hash.new {|h,k| h[k]=[]}) {|obj,hsh| hsh[obj[:id]]=obj}
btanaka has quit [Remote host closed the connection]
<xybre> Oh I thought I recognized your nick.
robbyoconnor has quit [Excess Flood]
<bnagy> sorry that should be << obj not =
<xybre> Order.select("date(created_at) as ordered_date, sum(price) as total_price").group("date(created_at)").to_a voila, you have an array, now do whatever you want to it
<bnagy> "simple"
okinomo has joined #ruby
tkuchiki has joined #ruby
<xybre> bnagy: copy and pasted the code from the link he provided, add .to_a
hashpuppy has quit [Quit: Computer has gone to sleep.]
nari has quit [Ping timeout: 276 seconds]
dLog has quit [Ping timeout: 264 seconds]
randomdrake has quit [Quit: randomdrake]
mmitchell has quit [Ping timeout: 248 seconds]
RichardBaker has quit [Quit: RichardBaker]
tkuchiki has quit [Ping timeout: 240 seconds]
zastern has quit [Remote host closed the connection]
senayar has quit [Remote host closed the connection]
<Klotho> so the object created by that .group, how do I iterate through it for each group?
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
robbyoconnor has joined #ruby
mootpointer has quit [Quit: ENOCAFFEINE.]
headius has joined #ruby
christianrojas has quit [Quit: Linkinus - http://linkinus.com]
quoin has joined #ruby
Schmidt has joined #ruby
<Klotho> xybre, can you point me in the right direction?
jdolitsky1 has quit [Quit: Leaving.]
mmitchell has joined #ruby
aryaching has quit []
mmitchell has quit [Remote host closed the connection]
hashpuppy has joined #ruby
cody-- has quit [Quit: Computer has gone to sleep.]
b00stfr3ak has joined #ruby
b00stfr3ak has joined #ruby
mpereira has quit [Remote host closed the connection]
Monie has joined #ruby
<Klotho> rhanks xybre
quoin has quit [Ping timeout: 246 seconds]
snovak has joined #ruby
hashpuppy has quit [Client Quit]
Drewch has quit [Quit: Computer has gone to sleep.]
c0rn has quit [Quit: Computer has gone to sleep.]
kvirani has quit [Remote host closed the connection]
kvirani has joined #ruby
elaptics is now known as elaptics`away
sailias has quit [Ping timeout: 264 seconds]
chxane has joined #ruby
Nisstyre-laptop has joined #ruby
hogeo has joined #ruby
Monie has quit [Ping timeout: 276 seconds]
snovak has quit [Ping timeout: 264 seconds]
Nisstyre-laptop is now known as nisstyre
julweber_ has joined #ruby
brianpWins has quit [Quit: brianpWins]
osvico has joined #ruby
kvirani has quit [Ping timeout: 276 seconds]
RichardBaker has joined #ruby
benlieb has quit [Quit: benlieb]
cody-- has joined #ruby
b00stfr3ak has quit [Ping timeout: 276 seconds]
echevemaster has quit [Ping timeout: 256 seconds]
kilophoton has joined #ruby
julweber has quit [Ping timeout: 264 seconds]
RichardBaker has quit [Client Quit]
rickmasta has quit [Read error: Connection reset by peer]
ffranz has quit [Quit: Leaving]
DanKnox is now known as DanKnox_away
headius has quit [Read error: Connection reset by peer]
ehc has quit [Quit: ehc]
rickmasta has joined #ruby
amacgregor_ has joined #ruby
headius has joined #ruby
yshh has joined #ruby
reset has quit [Quit: Leaving...]
Klotho1 has joined #ruby
mootpointer has joined #ruby
thesheff17 has joined #ruby
Monie has joined #ruby
amacgregor has quit [Ping timeout: 264 seconds]
pvizcay has joined #ruby
jonahR has quit [Quit: jonahR]
<Klotho1> what's confusing me is that if I do something like Order.select("*").group("id").each do |r|, how do I know when I reach the end of each group? Or do I have to do it differently?
RichardBaker has joined #ruby
SteveBenner9 has quit [Quit: Leaving]
<Klotho1> xybre, or anyone else?
jbrechtel has joined #ruby
yshh has quit [Remote host closed the connection]
<pontiki> isn't id unique ?
hashpuppy has joined #ruby
jbrechte_ has joined #ruby
i_s has quit [Remote host closed the connection]
<xybre> pontiki: not in his world, thats the 'fun' part, since he doesn't want to make ids unique
<Klotho1> pontiki, substitute "value" for id
<pontiki> oh ok
<Klotho1> it's just some sort of ID
<pontiki> nodnod
i_s has joined #ruby
RichardBaker has quit [Client Quit]
<Klotho1> it's not the actual record ID
<pontiki> no, gotcha
ryandeussing has joined #ruby
DrCode has quit [Remote host closed the connection]
sailias has joined #ruby
<pontiki> just some random field you're grouping by
<Klotho1> yeah
<Klotho1> which can have duplicates
<pontiki> no, i'm with ya
Monie has quit [Ping timeout: 246 seconds]
<Klotho1> so for the group where value="a" I want to do something and then do something with the next group with value="c" or whatever
<pontiki> idk
<pontiki> i probaly do this stupidly
<pontiki> but keep a "last" variable around that is initially nil, and just check "if r['id'] != last" thing to know when the groups change
<pontiki> and when it isn't equal, set last = row['id']
jbrechtel has quit [Ping timeout: 276 seconds]
<Klotho1> that's what I was doing, but I had the problem that I want to delete each set of records that I process, but only after they are all processed. And I fall out of the loop before being able to delete the last one
ryandeussing has quit [Ping timeout: 245 seconds]
<pontiki> i guess i don't see what one has to do with the other
<pontiki> what do you do when you detect a change in group?
jkamenik has joined #ruby
DrCode has joined #ruby
<Klotho> I write a record to another table, and send an email
<pontiki> and continue processing that record?
Monie has joined #ruby
<Klotho> yes, since it's for the next group
DonRichie has quit [Ping timeout: 240 seconds]
<pontiki> how is it you fall out of the loop?
iliketur_ has quit [Quit: zzzzz…..]
<Klotho> because I only do that end of group process on a group change, and for the last group I fall out of the loop with no change
DonRichie has joined #ruby
lfox has joined #ruby
saarinen has quit [Quit: saarinen]
maletor has quit [Quit: Computer has gone to sleep.]
<pontiki> ah
localredhead has quit [Ping timeout: 264 seconds]
<Klotho> but outside the loop r is undefined, so I can't do the r.destroy I want to do
<pontiki> i'm a little foggy right now
DonRichie has quit [Read error: Connection reset by peer]
<Klotho> but I haven't been using .group
<Klotho> so I was hoping that by using .group I wouild get a different data structure I could deal with better
<pontiki> let me suggest another approach
ravster has left #ruby [#ruby]
<martxel> I haven't read anything, but group_by might help
<pontiki> can you add a field to your table to indicate you've processed the record?
<xybre> Keep in mind that at least 3 different solutions have been proposed for this problem
centr0 has quit [Quit: centr0]
<pontiki> oh
<Klotho> something more like a 2 dimensional array so I can do an inner and outer loop. Inner loop for each group
<pontiki> then i shall desist
grillermo has joined #ruby
goodcodeguy has joined #ruby
|jemc| has joined #ruby
<Klotho> xybre, thanks. My question was, would I do something like Order.select("*").group("id").each do |r|, or how would i loop through them? I actually didn't understand the first suggestion you made with inject, etc.
hashpuppy has quit [Quit: Computer has gone to sleep.]
<bnagy> don't group with AR, would be my suggestion
<Klotho> AR?
<pontiki> what? why not?
<bnagy> just iterate all your records and then build a hash
<pontiki> making the DB do the sorting is usually a lot faster and convenient
<Klotho> oh
<pontiki> it's *built* for that
<xybre> pontiki++
GeissT has joined #ruby
<bnagy> well if the AR group just doesn't work, which apparently it doesn't
<pontiki> waaat???
cooldman224 has joined #ruby
<bnagy> well otherwise I assume this would have been a much shorter conversation :)
<Klotho> I just don't understand how to iterate by group using .group
<bnagy> given that there were 2-3 solutions when I wandered off an hour ago to do work :)
<pontiki> that doesn't mean .group isn't working...
codezombie has quit [Quit: Linkinus - http://linkinus.com]
<Klotho1> you mean collection.each.with_object(Hash.new {|h,k| h[k]=[]}) {|obj,hsh| hsh[obj[:id]]=obj}, which you posted? I guess I should study it, cuz I don't understand it!
tabolario has joined #ruby
TDJACR has joined #ruby
<xybre> Read the documentation for these things please
<Klotho1> oops, bbl
<bnagy> all that does is iterate the whole collection and builds a hash of id => [array of objects]
<bnagy> apart from the typo where = should be <<
<bnagy> but that _should_ be what group gives you, assuming the api is sane
<bnagy> but who knows
<pontiki> did anyone suggest tagging each record as processed and do a mass delete at the end?
buzzybron has joined #ruby
<pontiki> or deleting each record when you start processing it?
<bnagy> wait we want to delete records now as well?
<pontiki> that's what i just heard is the problem
<bnagy> srsly you should be asking AR people :)
<bnagy> I guess maybe they support transactions
<pontiki> yes
<bnagy> but who knows, they're all nutcases afaict
<pontiki> thank you
adkron_ has joined #ruby
Klotho1 has quit [Ping timeout: 246 seconds]
mlpinit has joined #ruby
Klotho has quit [Ping timeout: 264 seconds]
TDJACR has quit [Quit: ZNC - http://znc.in]
sevenseacat has joined #ruby
yshh has joined #ruby
rads has quit [Quit: rads]
tomzx_mac has joined #ruby
TDJACR has joined #ruby
simplyaubs has joined #ruby
saarinen has joined #ruby
duggiefresh has quit [Remote host closed the connection]
okinomo has quit [Ping timeout: 246 seconds]
platzhirsch has left #ruby [#ruby]
Lewix has joined #ruby
tkuchiki has joined #ruby
twoism has quit [Remote host closed the connection]
i_s has quit [Remote host closed the connection]
Davey has joined #ruby
Cyrus has joined #ruby
starfox21 has quit [Quit: starfox21]
vikhyat has joined #ruby
ChrisOei has quit [Quit: Leaving]
enebo has joined #ruby
Astral_ has quit [Ping timeout: 264 seconds]
KobraKao has joined #ruby
smathieu has quit [Remote host closed the connection]
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
endash has quit [Quit: endash]
fang has joined #ruby
<fang> i use nokogiri to parse the page,and i can access the node by css selector ,but the output of its text is blank. could someone tell me why?
octarine is now known as flarerine
nari has joined #ruby
wesside has joined #ruby
cody-- has quit [Quit: Computer has gone to sleep.]
<pontiki> maybe it's in a child of the current node
DanKnox_away is now known as DanKnox
Spami has quit [Quit: This computer has gone to sleep]
|jemc| has quit [Quit: WeeChat 0.4.1]
<fang> i use nokogiri to parse the page,and i can access the node by css selector ,but the output of its text is blank. could someone tell me why?
brain_shim has quit [Ping timeout: 240 seconds]
Spami has joined #ruby
kofno has joined #ruby
alvaro_o_ has quit [Quit: Ex-Chat]
rrmartins has joined #ruby
alvaro_o_ has joined #ruby
quoin has joined #ruby
DanKnox is now known as DanKnox_away
jtgiri_ has joined #ruby
reset has joined #ruby
<pontiki> fang: 20130905|2006.29] < pontiki> maybe it's in a child of the current node
DanKnox_away is now known as DanKnox
headius has quit [Quit: headius]
pvizcay has quit [Quit: leaving]
<fang> i have tried xpath ,but get the same result
vikhyat has quit [Ping timeout: 264 seconds]
Guest11924 has quit [Ping timeout: 245 seconds]
snath has quit [Ping timeout: 240 seconds]
shadoi1 is now known as shadoi
quoin has quit [Ping timeout: 246 seconds]
snovak has joined #ruby
kizzx2 has joined #ruby
Guest39823 has joined #ruby
Lewix has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
jaimef has quit [Excess Flood]
kvirani has joined #ruby
reset has quit [Ping timeout: 245 seconds]
randomdrake has joined #ruby
snovak has quit [Ping timeout: 248 seconds]
jtgiri_ has quit [Quit: jtgiri_]
randomdrake has quit [Ping timeout: 246 seconds]
TDJACR has quit [Quit: ZNC - http://znc.in]
jtgiri_ has joined #ruby
machuga|away is now known as machuga
jaimef has joined #ruby
fang has quit [Quit: Page closed]
kvirani has quit [Ping timeout: 276 seconds]
sinistersnare has joined #ruby
<sinistersnare> hey, i saw this gem once that all it did was return a Buzz word
beneggett has joined #ruby
<sinistersnare> like 'ObjectFactoryProxy' or something
<sinistersnare> but i cant seem to remember the name of it, does anyone have any insight?
mrsolo has quit [Quit: This computer has gone to sleep]
seich- has quit [Ping timeout: 240 seconds]
fbernier has quit [Remote host closed the connection]
TDJACR has joined #ruby
mrsolo has joined #ruby
michalkozminski has quit [Ping timeout: 245 seconds]
ner0x has joined #ruby
Quashie_ is now known as Quashie
brain_shim has joined #ruby
verto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hamakn has joined #ruby
IceDragon has quit [Ping timeout: 260 seconds]
huoxito has quit [Read error: Operation timed out]
IceDragon has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
jtgiri_ has quit [Quit: jtgiri_]
hamakn has joined #ruby
seich- has joined #ruby
enebo has quit [Quit: enebo]
havenwood has quit [Remote host closed the connection]
koran has joined #ruby
<koran> ruby s shit
havenwood has joined #ruby
ehc has joined #ruby
havenwood has quit [Read error: Connection reset by peer]
headius has joined #ruby
rrmartins has quit [Remote host closed the connection]
Domon has joined #ruby
<koran> radar
<koran> BITCH
havenwood has joined #ruby
travish has joined #ruby
<goodcodeguy> O.o
<koran> yea
<koran> suck me off
<koran> fagit
<travish> wut?
<goodcodeguy> sigh...
IceDragon has quit [Ping timeout: 256 seconds]
DanKnox is now known as DanKnox_away
<koran> bitch
kloeri has quit [Read error: Connection reset by peer]
headius has quit [Client Quit]
Lewix has joined #ruby
snath has joined #ruby
<koran> BITCH
<travish> anybody have any questions / comments?
<koran> yea
<koran> suck my cock
<sinistersnare> what an annoying troll
IceDragon has joined #ruby
<sinistersnare> i was wondering about a ruby gem which returns various buzz-words
<koran> fackin fag
<sinistersnare> do you know of such a module?
TDJACR has quit [Quit: Quit]
<Nightmare> Here's a question: why do you like using ruby (assuming you're here because you do)?
kloeri has joined #ruby
<sinistersnare> i dont use ruby, i just want to use this ruby gem i saw a while ago :p
<koran> nigga
jaimef has quit [Excess Flood]
<jordanbsanders> I find it very succinct and readable.
<travish> FYI: to ignore a user, type '/ignore <name>'
JumpMast3r has joined #ruby
dhruvasagar has joined #ruby
postmodern has quit [Quit: Leaving]
<travish> ^^ agree. Coming from java, I appreciate the brevity of ruby compared to the formalism of ruby.
<travish> *formalism of java
grillermo has quit [Quit: bandtastic.me]
jaimef has joined #ruby
<sinistersnare> oh yes,
<Nightmare> Interesting
<koran> faggit
<sinistersnare> thats a good factoid with the /ignore
rrmartins has joined #ruby
grillermo has joined #ruby
<Nightmare> or we can just pretend like he's not here/doesn't exist outright and not say anything to suggest we do, that tends to work :-p
<koran> NIGGERS
koran has quit [Killed (idoru (Spam is off topic on freenode.))]
<Nightmare> That works too
<travish> much better now.
Voodoofish430 has quit [Quit: Leaving.]
spiridondon has joined #ruby
kloeri__ has joined #ruby
cooldman224 has quit [Remote host closed the connection]
<travish> sinistersnare: you said you were looking for a specific gem?
<spiridondon> niggers
<Lewix> Nightmare: I like it because it's succint and elegant
cascalheir has joined #ruby
<sinistersnare> yes, it returns a business style object oriented buzz word
<sinistersnare> for example 'ObjectFactoryProxy' or something
<spiridondon> suck my cock bitches
<goodcodeguy> kids apparently have nothing better to do...
<Nightmare> Wish I had more time to look into Ruby itself, shame I'm so busy and only really know the basics. It seems nice
<sinistersnare> the /ignore tip is really useful
<spiridondon> suck my big hard cock, bitches.
b00stfr3ak has joined #ruby
dgaffney has quit [Quit: dgaffney]
cascalheira has quit [Ping timeout: 256 seconds]
huoxito has joined #ruby
<goodcodeguy> yeah, both ignored
<goodcodeguy> just funny, why spam in a ruby channel
<spiridondon> FUCKING FAGGOTS ASS FAGS
adkron_ has quit [Ping timeout: 246 seconds]
kloeri__ has quit [Quit: leaving]
<Lewix> he probably had a hard time grasping the basics
<spiridondon> ruby is for retards
<Lewix> and hates the world for it
<goodcodeguy> haha
osvico has quit [Ping timeout: 248 seconds]
spiridondon has left #ruby [#ruby]
<Nightmare> He couldn't take the truth, apparently
adkron has joined #ruby
<sevenseacat> its ok, he went to #rubyonrails instead
<sinistersnare> travish: you know of any gem like that?
<goodcodeguy> maybe he'll get more traction there ;)
<Lewix> Nightmare: nah he can't learn it
goodcodeguy has quit [Quit: leaving]
<Lewix> it's for the chosen ones
<travish> No, I'm afraid thats not ringing a bell for me.
<travish> @sinistersnare
TDJACR has joined #ruby
<sinistersnare> damn, it was some buzzword generator. google isnt helping!
snath has quit [Ping timeout: 240 seconds]
<Lewix> and seems like it does get more traction in #rubyonrails
cads has joined #ruby
<Nightmare> there's an OP around there now, it seems, though
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Lewix> some people just cant mentally ignore others, they have to use the big guns
sayan has joined #ruby
echevemaster has joined #ruby
jibi has quit [Quit: .]
DanKnox_away is now known as DanKnox
rrmartins has quit [Remote host closed the connection]
seich- has quit [Ping timeout: 240 seconds]
[rust] has joined #ruby
ehc has quit [Quit: ehc]
Davey has quit [Ping timeout: 248 seconds]
TDJACR has quit [Quit: Quit]
lfox has quit [Quit: ZZZzzz…]
headius has joined #ruby
seich- has joined #ruby
sirupsen has joined #ruby
amacgregor has joined #ruby
<V8Energy> while packaging ruby script with ocra, it launches the application, after i exit the application, ocra exits too without completing. how come? am i doing something wrong?
rrmartins has joined #ruby
amacgregor_ has quit [Ping timeout: 240 seconds]
[rust] has quit [Ping timeout: 248 seconds]
sinistersnare has left #ruby [#ruby]
huoxito has quit [Ping timeout: 256 seconds]
smathieu has joined #ruby
huoxito has joined #ruby
<banisterfiend> shevy Waldeinsamkeit
sambao21 has quit [Quit: Computer has gone to sleep.]
shadoi has quit [Ping timeout: 245 seconds]
yacks has joined #ruby
TDJACR has joined #ruby
smathieu has quit [Read error: Connection reset by peer]
travish has quit [Quit: Leaving.]
smathieu has joined #ruby
brain_shim has quit [Ping timeout: 245 seconds]
quoin has joined #ruby
brain_shim has joined #ruby
krz has joined #ruby
krz has joined #ruby
krz has quit [Changing host]
taion809 has quit [Remote host closed the connection]
taion809 has joined #ruby
Skylab has quit [Quit: Skylab]
ylluminate has joined #ruby
snovak has joined #ruby
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
quoin has quit [Ping timeout: 276 seconds]
huoxito has quit [Ping timeout: 264 seconds]
bluOxigen has joined #ruby
huoxito has joined #ruby
spiridondon has joined #ruby
<spiridondon> fuck ruby
snovak has quit [Read error: Operation timed out]
ryandeussing has joined #ruby
kvirani has joined #ruby
ryandeussing has quit [Read error: Operation timed out]
<Banistergalaxy> Auckland (NZ)
<Banistergalaxy> Fri 02:27 PM
<Banistergalaxy> Kuala Lumpur (MY)
<Banistergalaxy> Fri 10:27 AM
<Banistergalaxy> New York (US)
<Banistergalaxy> Thu 10:27 PM
<Banistergalaxy> Manila (PH)
<Banistergalaxy> Fri 10:27 AM
<Banistergalaxy> Created with the TimeMachine (http://bit.ly/theTimeMachine)
<bnagy> all seems correct to me
<bnagy> well done.
<bnagy> you have mastered timezones
havenwood has quit [Remote host closed the connection]
DanKnox is now known as DanKnox_away
<sevenseacat> hey thats not an easy thing to do
<xybre> (especially in ruby)
<bnagy> zing
<sevenseacat> lol
zeropx has quit [Ping timeout: 240 seconds]
IceDragon has quit [Quit: Space~~~]
sailias has quit [Read error: Connection reset by peer]
sirupsen has quit [Quit: sirupsen]
spiridondon has left #ruby [#ruby]
pietr0 has quit [Remote host closed the connection]
kvirani has quit [Ping timeout: 276 seconds]
radic_ has joined #ruby
alekst has quit [Quit: Leaving...]
Targen has quit [Ping timeout: 264 seconds]
zeropx has joined #ruby
radic has quit [Ping timeout: 240 seconds]
snath has joined #ruby
fbernier has joined #ruby
mlpinit has quit [Remote host closed the connection]
bluOxigen has quit [Ping timeout: 245 seconds]
dml has joined #ruby
dml has quit [Max SendQ exceeded]
dml has joined #ruby
dml has quit [Excess Flood]
bronson_ has quit [Quit: bronson_]
dml has joined #ruby
smathieu has quit [Remote host closed the connection]
dml has quit [Max SendQ exceeded]
splittingred has joined #ruby
dml has joined #ruby
dml has quit [Max SendQ exceeded]
krz has quit [Quit: krz]
yshh has quit [Quit: Leaving...]
jonahR has joined #ruby
krz has joined #ruby
diegoviola has joined #ruby
marinar has joined #ruby
<marinar> does anyone use mac from here?
<marinar> MAC OS
<V8Energy> probably 80% of the users
<V8Energy> :D
<bnagy> yeah on my PPC PowerBook
<V8Energy> not me though
<bnagy> I loves the MACOS
sayan has quit [Ping timeout: 240 seconds]
<sevenseacat> suckers
Tomasso has quit [Ping timeout: 264 seconds]
headius has quit [Ping timeout: 240 seconds]
marinar has quit [Excess Flood]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
headius has joined #ruby
dummyruby has joined #ruby
<dummyruby> any good book on ruby?
<pontiki> wonder what the mac poll was about...
<dummyruby> i'm newibe
jtgiri_ has joined #ruby
<dummyruby> newbie*
[rust] has joined #ruby
[rust] has quit [Client Quit]
<pontiki> dummyruby: do you have any programming experience in other languages?
<dummyruby> pontiki: yes
DanKnox_away is now known as DanKnox
machuga is now known as machuga|away
<pontiki> programming ruby, 1.9 and 2.0 edition
<pontiki> and yes, the docs
<dummyruby> pontiki: author name?
<bnagy> lulz marinar pm'd me the osx unicode of doom :D
foobot has quit [Excess Flood]
<sevenseacat> that arabic thing thats going around?
dhruvasagar has quit [Ping timeout: 248 seconds]
<bnagy> yeah
<pontiki> dave thomas is main author
<sevenseacat> fun.
<bnagy> really messed with my irssi in screen on linux
travish has joined #ruby
<dummyruby> ok thanks guys
taion809 has quit [Remote host closed the connection]
grillermo has quit [Quit: bandtastic.me]
rrmartins has quit [Remote host closed the connection]
taion809 has joined #ruby
dmyers has quit [Ping timeout: 268 seconds]
travish has quit [Client Quit]
test1 has joined #ruby
theDubMachine has joined #ruby
jbrechte_ has quit [Remote host closed the connection]
test1 has quit [Client Quit]
jbrechtel has joined #ruby
travish has joined #ruby
varfoo has joined #ruby
arturodz has joined #ruby
hakunin has quit [Read error: Connection reset by peer]
amacgregor_ has joined #ruby
hakunin has joined #ruby
polaco has joined #ruby
dmyers has joined #ruby
jbrechtel has quit [Ping timeout: 248 seconds]
pothibo has quit [Quit: pothibo]
amacgregor has quit [Ping timeout: 264 seconds]
browndawg has joined #ruby
dhruvasagar has joined #ruby
headius has quit [Ping timeout: 256 seconds]
fbernier has quit [K-Lined]
saarinen has quit [Remote host closed the connection]
mootpointer has quit [Remote host closed the connection]
eka has quit [Remote host closed the connection]
awarner has quit [Remote host closed the connection]
arturodz has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
madeofrick has quit [Remote host closed the connection]
cpruitt has quit [Remote host closed the connection]
travish is now known as newname
eka has joined #ruby
mansi has joined #ruby
sambao21 has joined #ruby
newname is now known as Guest38231
Lewix has joined #ruby
Lewix has joined #ruby
taion809 has quit [Remote host closed the connection]
Guest38231 is now known as waivers
taion809 has joined #ruby
mootpointer has joined #ruby
waivers is now known as papawaivers
arturodz has joined #ruby
papawaivers is now known as travish
taion809 has quit [Remote host closed the connection]
smathieu has joined #ruby
alvaro_o_ has quit [Quit: Ex-Chat]
taion809 has joined #ruby
Quashie has quit [Read error: Connection reset by peer]
sambao21 has quit [Read error: Operation timed out]
Quashie has joined #ruby
dhruvasagar has quit [Ping timeout: 276 seconds]
dummyruby has quit [Ping timeout: 250 seconds]
Quashie has quit [Read error: Connection reset by peer]
smathieu has quit [Ping timeout: 276 seconds]
Quashie has joined #ruby
headius has joined #ruby
foobot has joined #ruby
huoxito has quit [Ping timeout: 256 seconds]
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
quoin has joined #ruby
travish has left #ruby [#ruby]
rickruby has quit [Ping timeout: 245 seconds]
Lewix has quit [Remote host closed the connection]
taion809 has quit [Remote host closed the connection]
quoin has quit [Ping timeout: 246 seconds]
arturodz has quit [Remote host closed the connection]
snovak has joined #ruby
beneggett has joined #ruby
Senjai has joined #ruby
a13x212 has joined #ruby
pkrnj has joined #ruby
snovak has quit [Ping timeout: 245 seconds]
seich- has quit [Ping timeout: 240 seconds]
kvirani has joined #ruby
ahill-89 has joined #ruby
headius has quit [Quit: headius]
Liothen has quit [Remote host closed the connection]
a13x212 has left #ruby [#ruby]
kvirani has quit [Ping timeout: 276 seconds]
seich- has joined #ruby
snath has quit [Ping timeout: 246 seconds]
<pontiki> not near enough WTFs and WTAFs
cascalheir has quit [Quit: Leaving...]
rickruby has joined #ruby
<sevenseacat> lol
Rym has quit [Ping timeout: 264 seconds]
huoxito has joined #ruby
Rym has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
io_syl has quit []
Domon has quit [Remote host closed the connection]
Domon has joined #ruby
kofno has quit [Ping timeout: 264 seconds]
mootpointer has quit [Quit: ENOCAFFEINE.]
yacks has quit [Ping timeout: 240 seconds]
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
RubyRookie has joined #ruby
Domon has quit [Ping timeout: 240 seconds]
yacks has joined #ruby
theDubMachine has quit [Quit: Leaving.]
michalkozminski has joined #ruby
theDubMachine has joined #ruby
theDubMachine has quit [Client Quit]
Monie has joined #ruby
snath has joined #ruby
jordanbsanders has quit [Quit: Textual IRC Client: www.textualapp.com]
JimmyNeutron has joined #ruby
<reactormonk> what do I use for UI testing? Aka click on this image etc.
mlpinit has joined #ruby
<sevenseacat> capybara ?
huoxito has quit [Ping timeout: 276 seconds]
RubyRookie has quit [Remote host closed the connection]
polaco is now known as polaco_zZz
jrhorn424 has joined #ruby
a13x212 has joined #ruby
<a13x212> is there a way to store the output of a bash command as a ruby variable
Lewix has joined #ruby
jarin has joined #ruby
mlpinit has quit [Ping timeout: 248 seconds]
JumpMast3r has quit [Quit: JumpMast3r]
okinomo has joined #ruby
<reactormonk> sevenseacat, can I also use that for arbitrary toolkits, outside html?
mootpointer has joined #ruby
<pontiki> a13x212: several ways. see backtick, system, popen, Open3
micahredding has joined #ruby
micahredding has left #ruby [#ruby]
<jrobeson> reactormonk, no.. capybara is for web stuff
Lewix has quit [Ping timeout: 256 seconds]
splittingred has quit [Quit: splittingred]
Klotho has joined #ruby
Klotho1 has joined #ruby
Klotho has quit [Client Quit]
jtgiri_ has quit [Quit: jtgiri_]
<reactormonk> there was one for non-web stuff
<reactormonk> a guy did some diablo 3 runs with it
huoxito has joined #ruby
barderer has joined #ruby
<jrobeson> reactormonk, in ruby?
<jrobeson> i know they do exist of cours
mercwithamouth has joined #ruby
<jrobeson> just not had the need to try anything boht non web and non cli
orionstein_away is now known as orionstein
<pontiki> reactormonk: take a look at this? http://comet.unl.edu/tutorial.php
<pontiki> talks about GUITAR
mootpointer has quit [Quit: ENOCAFFEINE.]
mootpointer has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jrobeson> sourceforge still exists
KobraKao has quit [Quit: Saindo]
foobot has quit [Remote host closed the connection]
<pontiki> of course
aggregatebot has joined #ruby
<jrobeson> last time i tried to kill my sourceforge account, they woudln't let me. because i was the canonical name controlling 2 cvs repositories for a project that had moved to being hosted elsewise
smathieu has joined #ruby
raar is now known as arbes
yacks has quit [Quit: Leaving]
ryandeussing has joined #ruby
jtgiri_ has joined #ruby
barderer has quit [Ping timeout: 240 seconds]
zz_funny_banana has quit [Ping timeout: 240 seconds]
faulkner has quit [Read error: Operation timed out]
rcs has quit [Ping timeout: 248 seconds]
lukec has joined #ruby
SegFaultAX has quit [Ping timeout: 245 seconds]
ahuman has quit [Quit: No Ping reply in 180 seconds.]
bmn has quit [Ping timeout: 248 seconds]
ahuman has joined #ruby
arusso has quit [Ping timeout: 240 seconds]
zz_michael_mbp has joined #ruby
rafacv has joined #ruby
Sou|cutter has quit [Ping timeout: 240 seconds]
Tarential has quit [Excess Flood]
io_syl has joined #ruby
DylanJ has quit [Ping timeout: 264 seconds]
sethetter has quit [Quit: Lost terminal]
rblackwe has quit [Ping timeout: 240 seconds]
Tarential has joined #ruby
bmn has joined #ruby
faulkner has joined #ruby
miah has quit [Ping timeout: 248 seconds]
smathieu has quit [Ping timeout: 276 seconds]
miah has joined #ruby
rcs has joined #ruby
varfoo has quit [Quit: WeeChat 0.4.0]
arusso has joined #ruby
rblackwe has joined #ruby
kizzx2 has quit [Quit: Leaving.]
Sou|cutter has joined #ruby
SegFaultAX has joined #ruby
orionstein is now known as orionstein_away
ryandeussing has quit [Ping timeout: 276 seconds]
quoin has joined #ruby
mrsolo_ has joined #ruby
mrsolo has quit [Quit: Leaving]
browndawg has quit [Ping timeout: 276 seconds]
goleldar has quit [Read error: Operation timed out]
varfoo has joined #ruby
bronson_ has joined #ruby
jarin has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
BraddBitt has joined #ruby
snovak has joined #ruby
quoin has quit [Ping timeout: 240 seconds]
rads has joined #ruby
Klotho1 has quit [Ping timeout: 246 seconds]
BraddPitt has quit [Ping timeout: 240 seconds]
dankest has quit [Quit: dankest]
<bnagy> reactormonk: autoit?
<bnagy> that is a terrifying windows automation swiss army knife
snovak has quit [Ping timeout: 256 seconds]
<bnagy> afair some of the windows ports of testing projects use that on win
<bnagy> ... I don't know why I think you're talking windows, apart from the diablo thing
kvirani has joined #ruby
<bnagy> otherwise there used to be some stuff for doing it in various degrees of 'pure' ruby
<bnagy> depending if the thing you want to automate has an OLE automation server
axeman- has joined #ruby
rads has quit [Quit: rads]
Lewix has joined #ruby
rads has joined #ruby
mrsolo_ has quit [Quit: This computer has gone to sleep]
kvirani has quit [Ping timeout: 276 seconds]
sambao21 has joined #ruby
narcan has joined #ruby
<jrobeson> uggh.. i wish i never heard of OLE
tatsuya_o has joined #ruby
sambao21 has quit [Ping timeout: 240 seconds]
larissa has quit [Read error: Connection reset by peer]
mrsolo_ has joined #ruby
jamesaanderson has joined #ruby
dhruvasagar has joined #ruby
headius has joined #ruby
noopq has joined #ruby
<pontiki> what has been heard cannot be un-OLÉ-ed
tatsuya_o has quit [Ping timeout: 246 seconds]
Evixion has joined #ruby
foobArrr has quit [Quit: bye]
jamesaanderson has quit [Client Quit]
foobArrr has joined #ruby
<jrobeson> please NO :(
ehaliewicz has joined #ruby
lukec has quit [Quit: lukec]
JimmyNeutron has quit [Quit: Leaving]
simplyaubs has quit [Quit: simplyaubs]
mootpointer has quit [Quit: ENOCAFFEINE.]
mrsolo_ has quit [Quit: This computer has gone to sleep]
mootpointer has joined #ruby
jtgiri_ has quit [Quit: jtgiri_]
Spami has quit [Quit: This computer has gone to sleep]
mrsolo has joined #ruby
pdtpatri1k has quit [Quit: leaving]
pdtpatrick has joined #ruby
kizzx2 has joined #ruby
ner0x has quit [Quit: Leaving]
foobArrr has quit [Quit: bye]
AlbireoX`Laptop has joined #ruby
foobArrr has joined #ruby
foobArrr has quit [Remote host closed the connection]
foobArrr has joined #ruby
jefflyne has joined #ruby
jefflyne has quit [Client Quit]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
ksinkar has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
<ksinkar> how does one calculate the time for a particular timezone in a Ruby without setting the or unsetting the current zone on your machine?
codecop has joined #ruby
relix has joined #ruby
b00stfr3ak has quit [Quit: Leaving]
wicketn00b has quit [Ping timeout: 245 seconds]
soba has joined #ruby
jefflyne has joined #ruby
BizarreCake has joined #ruby
hukl has joined #ruby
smathieu has joined #ruby
<bnagy> basically the ruby time stuff only knows about offsets, and even then kind of clunkily
<bnagy> to find out the time in madagascar or whatever you need to parse tzinfo or equivalent from somewhere
<bnagy> think there are gems for it
JumpMast3r has joined #ruby
mansi has quit [Remote host closed the connection]
Monie has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby
Splourian has joined #ruby
girija has joined #ruby
aagdbl has joined #ruby
smathieu has quit [Ping timeout: 276 seconds]
quoin has joined #ruby
skinkitten has left #ruby [#ruby]
ahill-89 has quit [Quit: leaving]
seyha has joined #ruby
<pontiki> ksinkar: the Time module in stdlib has a bit more (zone_offset), but you may want to look at the stuff in ActiveSupport
snovak has joined #ruby
quoin has quit [Ping timeout: 256 seconds]
apeiros has quit [Remote host closed the connection]
gstamp has quit [Quit: Computer has gone to sleep.]
TDJACR has quit [Quit: Quit]
apeiros has joined #ruby
swordsmanz has quit [Quit: swordsmanz]
TDJACR has joined #ruby
TDJACR has quit [Client Quit]
AlbireoX`Laptop has quit [Remote host closed the connection]
pkrnj has quit [Ping timeout: 246 seconds]
Al__ has joined #ruby
TDJACR has joined #ruby
mercwithamouth has quit [Ping timeout: 240 seconds]
mootpointer has quit [Ping timeout: 256 seconds]
snovak has quit [Ping timeout: 276 seconds]
kvirani has joined #ruby
rh1n0 has joined #ruby
rh1n0 has quit [Max SendQ exceeded]
narcan has joined #ruby
pkrnj has joined #ruby
gstamp has joined #ruby
aagdbl has quit [Quit: Leaving.]
rh1n0 has joined #ruby
rh1n0 has quit [Max SendQ exceeded]
dhruvasagar has quit [Read error: Connection reset by peer]
al4nc4ds has joined #ruby
dhruvasagar has joined #ruby
fgo has joined #ruby
iliketur_ has joined #ruby
kvirani has quit [Ping timeout: 276 seconds]
Splourian has quit [Quit: Leaving]
tomzx_mac has quit [Ping timeout: 276 seconds]
kizzx2 has quit [Quit: Leaving.]
robbyoconnor has quit [Ping timeout: 248 seconds]
robbyoconnor has joined #ruby
eldariof has joined #ruby
rrichardsr3 has joined #ruby
mercwithamouth has joined #ruby
GeissT_ has joined #ruby
GeissT_ has quit [Client Quit]
rrichardsr3 has quit [Client Quit]
iliketur_ has quit [Ping timeout: 246 seconds]
aagdbl has joined #ruby
kizzx2 has joined #ruby
kizzx2 has quit [Max SendQ exceeded]
GeissT has quit [Ping timeout: 240 seconds]
robbyoconnor has quit [Ping timeout: 246 seconds]
Al__ has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
beneggett has joined #ruby
Al__ has joined #ruby
al4nc4ds has left #ruby [#ruby]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Al__ has quit [Client Quit]
al4nc4ds has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
robbyoconnor has quit [Ping timeout: 264 seconds]
macmartine has joined #ruby
mrsolo has joined #ruby
headius has quit [Quit: headius]
dodosan has joined #ruby
Al__ has joined #ruby
diegoviola has quit [Ping timeout: 246 seconds]
zigomir has joined #ruby
apeiros has quit [Remote host closed the connection]
JohnBat26 has joined #ruby
ryandeussing has joined #ruby
macmartine has quit [Quit: Computer has gone to sleep.]
mrsolo has quit [Quit: This computer has gone to sleep]
blaxter_ has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
ryandeussing has quit [Ping timeout: 276 seconds]
robbyoconnor has joined #ruby
jonkri has joined #ruby
Domon has joined #ruby
i_s has joined #ruby
girija has quit [Ping timeout: 246 seconds]
tonni has joined #ruby
avril14th has quit [Remote host closed the connection]
avril14th has joined #ruby
seich- has quit [Ping timeout: 240 seconds]
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
mrsolo has joined #ruby
seich- has joined #ruby
DylanJ has joined #ruby
taion809 has joined #ruby
smathieu has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
Klotho1 has joined #ruby
Al__ has quit [Quit: Al__]
smathieu has quit [Ping timeout: 276 seconds]
quoin has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby
ssvo has joined #ruby
i_s has quit [Remote host closed the connection]
apfelbox has joined #ruby
alup has joined #ruby
gstamp has quit [Quit: Textual IRC Client: www.textualapp.com]
snovak has joined #ruby
girija has joined #ruby
Macaveli has joined #ruby
quoin has quit [Ping timeout: 246 seconds]
ylluminate has quit [Read error: Connection reset by peer]
r0bgleeson has quit [Ping timeout: 248 seconds]
Macaveli has quit [Client Quit]
avril14th has quit [Remote host closed the connection]
zoee has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
Macaveli has joined #ruby
dagobah has joined #ruby
Hobogrammer has quit [Ping timeout: 245 seconds]
snovak has quit [Ping timeout: 248 seconds]
bricker`LA has quit [Ping timeout: 276 seconds]
jonahR has quit [Quit: jonahR]
persand has joined #ruby
hukl has quit [Remote host closed the connection]
braoru has joined #ruby
Kabaka has quit [Ping timeout: 240 seconds]
DrCode has quit [Remote host closed the connection]
postmodern has joined #ruby
goganchic has joined #ruby
dgaffney has joined #ruby
bubbajones has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby
Hobogrammer has joined #ruby
razi has joined #ruby
huoxito has quit [Quit: Leaving]
sr78ger has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
avril14th has joined #ruby
ferdev has joined #ruby
headius has joined #ruby
dhruvasagar has joined #ruby
Kabaka has joined #ruby
ananthakumaran has joined #ruby
rafacv has quit [Remote host closed the connection]
DrCode has joined #ruby
pranny has joined #ruby
bubbajones has joined #ruby
seyha has quit [Ping timeout: 246 seconds]
goganchic has quit []
zigomir has quit [Quit: Leaving]
mrsolo has quit [Quit: This computer has gone to sleep]
khushildep has joined #ruby
ayaz has joined #ruby
decoponio has joined #ruby
headius has quit [Quit: headius]
persand has quit [Quit: persand]
jprovazn has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
filipe has joined #ruby
hogeo has quit [Remote host closed the connection]
<Macaveli> Morning Lads
mrsolo has joined #ruby
Hobogrammer has quit [Ping timeout: 245 seconds]
wallerdev has quit [Quit: wallerdev]
mrsolo has quit [Client Quit]
wallerdev has joined #ruby
skaby has joined #ruby
wallerdev has quit [Client Quit]
bt has joined #ruby
eldariof has quit [Ping timeout: 245 seconds]
Hobogrammer has joined #ruby
boblu has joined #ruby
brianpWins has joined #ruby
jbpros has joined #ruby
anderson has joined #ruby
ananthakumaran has quit [Read error: Connection reset by peer]
dhruvasagar has quit [Read error: Connection reset by peer]
anderson is now known as Guest24316
hogeo has joined #ruby
dhruvasagar has joined #ruby
hellyeah has joined #ruby
<hellyeah> hey
ananthakumaran has joined #ruby
<hellyeah> i want to develop twittr app with ruby
Guest24316 has left #ruby [#ruby]
<hellyeah> any tutorial suggestion
<BraddBitt> twitter api
DanKnox is now known as DanKnox_away
<avril14th> :)
<hellyeah> ye twitter api is it strange to ask .D
ferdev has quit [Quit: ferdev]
JumpMast3r has quit [Quit: JumpMast3r]
apfelbox has quit [Ping timeout: 264 seconds]
headius has joined #ruby
mklappstuhl has joined #ruby
andikr has joined #ruby
smathieu has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
greenride has quit [Quit: Leaving.]
clocKwize has joined #ruby
jbpros has quit [Quit: jbpros]
hogeo has quit [Remote host closed the connection]
troessner has joined #ruby
smathieu has quit [Ping timeout: 248 seconds]
al4nc4ds has left #ruby [#ruby]
Rym has quit [Ping timeout: 248 seconds]
quoin has joined #ruby
hogeo has joined #ruby
Macaveli has quit [Quit: Computer has gone to sleep.]
Croms has joined #ruby
fgo has quit [Write error: Broken pipe]
io_syl has quit []
Macaveli has joined #ruby
lkba has quit [Ping timeout: 256 seconds]
snovak has joined #ruby
quoin has quit [Ping timeout: 241 seconds]
Spami has quit [Quit: This computer has gone to sleep]
asop has joined #ruby
fgo has joined #ruby
mansi has joined #ruby
Lewix has quit [Remote host closed the connection]
antulik-afk is now known as antulik
V8Energy has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby
headius has left #ruby [#ruby]
dhruvasagar has quit [Read error: Connection reset by peer]
dgaffney has quit [Quit: dgaffney]
dangerousdave has joined #ruby
ananthakumaran has quit [Read error: Connection reset by peer]
snovak has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby
julweber_ has quit [Remote host closed the connection]
ananthakumaran has joined #ruby
stkowski has quit [Quit: stkowski]
mansi has quit [Ping timeout: 246 seconds]
vlad_starkov has quit [Ping timeout: 264 seconds]
skaby has quit [Ping timeout: 264 seconds]
kilophoton has quit [Ping timeout: 248 seconds]
Xeago has joined #ruby
randomau_ has joined #ruby
jbpros has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
ananthakumaran has quit [Read error: Connection reset by peer]
skaby has joined #ruby
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
dhruvasagar has joined #ruby
ananthakumaran has joined #ruby
randomautomator has quit [Ping timeout: 240 seconds]
Coffers has joined #ruby
randomau_ has quit [Ping timeout: 276 seconds]
colonolGron has joined #ruby
buibex has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
haxrbyte has quit [Remote host closed the connection]
fgo has quit [Remote host closed the connection]
Lewix has joined #ruby
haxrbyte has joined #ruby
mklappstuhl has joined #ruby
kizzx2 has joined #ruby
kizzx2 has quit [Max SendQ exceeded]
jonkri has quit [Quit: jonkri]
kizzx2 has joined #ruby
greenysan has joined #ruby
camilasan has joined #ruby
srji has joined #ruby
senayar has joined #ruby
apeiros has joined #ruby
senayar has quit [Remote host closed the connection]
Rym has joined #ruby
senayar has joined #ruby
relix has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
Aquilo has joined #ruby
obs has joined #ruby
nmabry has joined #ruby
aagdbl has quit [Quit: Leaving.]
clocKwize has quit [Quit: clocKwize]
ryandeussing has joined #ruby
seyha has joined #ruby
rezzack has quit [Quit: Leaving.]
dodosan has quit [Remote host closed the connection]
Es0teric has joined #ruby
blaxter_ has quit [Read error: Connection reset by peer]
tatsuya_o has joined #ruby
Rym has quit [Quit: Rym]
ryandeussing has quit [Ping timeout: 245 seconds]
blaxter_ has joined #ruby
jefflyne has quit [Ping timeout: 276 seconds]
Es0teric has quit [Client Quit]
boblu has quit [Ping timeout: 276 seconds]
apfelbox has joined #ruby
jibi has joined #ruby
tesuji has joined #ruby
allsystemsarego has joined #ruby
allsystemsarego has joined #ruby
MarcWeber has quit [Ping timeout: 240 seconds]
julweber has joined #ruby
unixninja92 has quit [Quit: unixninja92]
MarcWeber has joined #ruby
seyha has quit [Ping timeout: 246 seconds]
Rym has joined #ruby
mikecmpbll has joined #ruby
nomenkun has joined #ruby
seyha has joined #ruby
ssvo has quit [Ping timeout: 245 seconds]
julweber has quit [Ping timeout: 264 seconds]
Criztian has joined #ruby
timonv has joined #ruby
niceguyjames has joined #ruby
amacgregor has joined #ruby
cascalheira has joined #ruby
amacgregor__ has joined #ruby
razi has quit [Quit: Leaving.]
amacgregor_ has quit [Ping timeout: 256 seconds]
Neomex has joined #ruby
smathieu has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
persand has joined #ruby
dhruvasagar has joined #ruby
ananthakumaran has quit [Read error: Connection reset by peer]
amacgregor has quit [Ping timeout: 248 seconds]
zets has joined #ruby
ananthakumaran has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
julweber has joined #ruby
drPoggs has quit [Quit: +++ATH]
smathieu has quit [Ping timeout: 248 seconds]
dhruvasagar has joined #ruby
tvw has joined #ruby
tobago has joined #ruby
quoin has joined #ruby
spacebug2 has quit [Quit: Lost terminal]
nari has quit [Ping timeout: 245 seconds]
locriani has quit [Remote host closed the connection]
virt|a|work has quit []
Emmanuel_Chanel has quit [Ping timeout: 256 seconds]
locriani has joined #ruby
aggregatebot has quit [Read error: Connection reset by peer]
locriani has quit [Read error: Connection reset by peer]
spacebug has joined #ruby
timonv has quit [Remote host closed the connection]
snovak has joined #ruby
quoin has quit [Ping timeout: 240 seconds]
skaby has left #ruby ["Leaving"]
Neomex has quit [Quit: Neomex]
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
mansi has joined #ruby
hogeo has quit [Remote host closed the connection]
shaunbak_ has joined #ruby
spacebug has quit [Quit: Lost terminal]
Bry8Star{T2 has joined #ruby
spacebug has joined #ruby
devoldmx has joined #ruby
Emmanuel_Chanel has joined #ruby
fgo has joined #ruby
snovak has quit [Ping timeout: 276 seconds]
Zai00 has joined #ruby
kvirani has joined #ruby
hogeo has joined #ruby
<buzzybron> is it possible to output all the exceptions to a log file? is there an easy way to do it?
Lewix has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 245 seconds]
sst66 has quit [Ping timeout: 245 seconds]
<apeiros> buzzybron: reassign $stderr to a logfile, and/or rescue your exceptions and use a logger
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
Al__ has joined #ruby
pradhab has joined #ruby
ghr has joined #ruby
zeel has joined #ruby
kvirani has quit [Ping timeout: 276 seconds]
tjad has joined #ruby
elaptics`away is now known as elaptics
blackmesa has joined #ruby
shaunbak_ has quit [Remote host closed the connection]
hogeo has quit [Remote host closed the connection]
shaunbaker has joined #ruby
quoin has joined #ruby
axeman- has quit [Read error: Connection reset by peer]
axeman- has joined #ruby
<wm3|zzz> buzzybron: ruby my_script.rb 2&> my_logfile.log ;)
nanothief has quit [Read error: Connection reset by peer]
nanothief has joined #ruby
rdark has joined #ruby
pradhab has left #ruby [#ruby]
mklappstuhl has quit [Remote host closed the connection]
elaptics is now known as elaptics`away
ferdev has joined #ruby
optimusprimem has quit [Ping timeout: 245 seconds]
mklappstuhl has joined #ruby
nfk has joined #ruby
nfk has joined #ruby
nfk has quit [Changing host]
cads has quit [Read error: Operation timed out]
starfox21 has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
cascalheira has quit [Quit: Linkinus - http://linkinus.com]
seyha has quit [Ping timeout: 264 seconds]
ehaliewicz has quit [Ping timeout: 240 seconds]
mklappstuhl has quit [Remote host closed the connection]
neo_ has joined #ruby
yacks has joined #ruby
boblu has joined #ruby
amacgregor has joined #ruby
Croms has quit [Quit: Croms]
amacgregor_ has joined #ruby
Croms has joined #ruby
amacgregor__ has quit [Ping timeout: 246 seconds]
Hobogrammer_ has joined #ruby
<krz> ids can be nil or an array. better way to right: foo = ids.nil? ? [].concat([1,2,3]) : ids.concat([1,2,3])
amacgregor has quit [Ping timeout: 244 seconds]
toddWork_ has quit [Read error: Connection reset by peer]
gyre007 has joined #ruby
<apeiros> if you use concat, why do you assign?
Hobogrammer has quit [Ping timeout: 248 seconds]
<apeiros> foo = ids ? ids+[1,2,3] : [1,2,3]
ayaz has joined #ruby
atmosx has joined #ruby
<buzzybron> apeiros: how do i reassign the $stderr to a log file?
dodosan has joined #ruby
<buzzybron> apeiros : and by that meaning only the errors right? not the puts/print to console
ssvo has joined #ruby
hogeo has joined #ruby
<apeiros> buzzybron: "puts/print to console" is vague
ananthakumaran has quit [Read error: Connection reset by peer]
<apeiros> error output is currenlty puts/print to console too…
<apeiros> buzzybron: you have 2 IOs for output: $stdout and $stderr
<apeiros> $stderr is for errors, if you use it for something else, that's your problem
<apeiros> $stderr = File.open('mylogfile.txt', 'a')
<apeiros> and with $stderr = STDERR you can restore it to the original IO
elaptics`away is now known as elaptics
ananthakumaran has joined #ruby
visof has joined #ruby
senayar_ has joined #ruby
senayar_ has quit [Remote host closed the connection]
dhruvasagar has quit [Read error: Connection reset by peer]
nbrock has joined #ruby
dodosan has quit [Ping timeout: 276 seconds]
dhruvasagar has joined #ruby
axeman- has quit [Remote host closed the connection]
starfox21 has quit [Ping timeout: 276 seconds]
axeman- has joined #ruby
starfox21 has joined #ruby
Astralum has joined #ruby
senayar has quit [Ping timeout: 245 seconds]
RubyRookie has joined #ruby
Domon_ has joined #ruby
vlad_starkov has joined #ruby
boblu has quit [Ping timeout: 240 seconds]
neonlex has joined #ruby
Macaveli has quit [Quit: Computer has gone to sleep.]
Macaveli has joined #ruby
Croms has quit [Quit: Croms]
devdazed has quit [Ping timeout: 268 seconds]
ssvo has quit [Ping timeout: 240 seconds]
Croms has joined #ruby
Croms has quit [Client Quit]
Croms has joined #ruby
ananthakumaran has quit [Read error: Connection reset by peer]
kirun has joined #ruby
timonv has joined #ruby
greenysan has quit [Quit: Lost terminal]
smathieu has joined #ruby
devdazed has joined #ruby
sevenseacat has quit [Quit: Leaving.]
aaronmcadam has joined #ruby
apfelbox has quit [Remote host closed the connection]
apfelbox has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
jlebrech has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
arca0 has joined #ruby
dhruvasagar has joined #ruby
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
viszu has joined #ruby
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
smathieu has quit [Ping timeout: 276 seconds]
ananthakumaran has joined #ruby
apfelbox has quit [Ping timeout: 246 seconds]
Macaveli has quit [Read error: Connection reset by peer]
boblu has joined #ruby
Macaveli has joined #ruby
snovak has joined #ruby
nmabry has quit [Quit: nmabry]
mansi has joined #ruby
shredding has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
noop has joined #ruby
asop has quit [Quit: Leaving]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
snovak has quit [Ping timeout: 248 seconds]
nari has joined #ruby
kvirani has joined #ruby
kayloos has quit [Ping timeout: 260 seconds]
noopq has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby
mansi has quit [Ping timeout: 248 seconds]
reset has joined #ruby
wm3|zzz is now known as workmad3
dhruvasagar has quit [Read error: Connection reset by peer]
ananthakumaran has quit [Read error: Connection reset by peer]
khushildep_ has joined #ruby
ananthakumaran has joined #ruby
reset has quit [Client Quit]
kvirani has quit [Ping timeout: 276 seconds]
khushildep has quit [Ping timeout: 276 seconds]
atmosx has quit [Quit: Lost in trance]
khushildep_ is now known as khushildep
ryandeussing has joined #ruby
MrZYX|off is now known as MrZYX
dhruvasagar has joined #ruby
Mattias has quit [Ping timeout: 264 seconds]
ananthakumaran has quit [Read error: Connection reset by peer]
Mattias has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
ryandeussing has quit [Ping timeout: 276 seconds]
boblu has quit [Ping timeout: 245 seconds]
dhruvasagar has joined #ruby
RubyRookie has quit [Remote host closed the connection]
dhruvasagar has quit [Read error: Connection reset by peer]
visof has quit [Ping timeout: 240 seconds]
Speed has joined #ruby
s0ny123 has joined #ruby
ananthakumaran has joined #ruby
dhruvasagar has joined #ruby
ananthakumaran has quit [Read error: Connection reset by peer]
jefflyne has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
r0bgleeson has joined #ruby
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
osvico has joined #ruby
ananthakumaran has joined #ruby
antulik is now known as antulik-afk
dhruvasagar has joined #ruby
boblu has joined #ruby
mklappstuhl has joined #ruby
seyha has joined #ruby
kayloos has joined #ruby
jrhorn424 has quit [Quit: Textual IRC Client: www.textualapp.com]
visof has joined #ruby
SegFaultAX has quit [Ping timeout: 240 seconds]
ferdev has quit [Ping timeout: 240 seconds]
Yayo has quit [Ping timeout: 240 seconds]
xcfox has joined #ruby
seyha has quit [Ping timeout: 248 seconds]
ferdev has joined #ruby
Croms has quit [Quit: Croms]
Macaveli has quit [Quit: Computer has gone to sleep.]
Croms has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
SegFaultAX has joined #ruby
Croms has quit [Client Quit]
Croms has joined #ruby
shaunbaker has quit [Remote host closed the connection]
casheew has quit [Read error: No buffer space available]
casheew has joined #ruby
catphish has joined #ruby
senayar_ has joined #ruby
Loaft has joined #ruby
khushildep has quit [Quit: khushildep]
optimusprimem has joined #ruby
optimusprimem has quit [Changing host]
optimusprimem has joined #ruby
ssvo has joined #ruby
kizzx2 has quit [Quit: Leaving.]
<catphish> does anyone know what happened to Net::SMTP#source_address
<catphish> or how to bind Net::SMTP to an IP now
mick_laptop has joined #ruby
Stygia has joined #ruby
orionstein_away is now known as orionstein
senayar has quit [Ping timeout: 245 seconds]
germanstudent has quit [Ping timeout: 248 seconds]
axeman- has quit [Remote host closed the connection]
ssvo has quit [Ping timeout: 248 seconds]
ananthakumaran has quit [Read error: Connection reset by peer]
dhruvasagar has quit [Read error: Connection reset by peer]
germanstudent has joined #ruby
dhruvasagar has joined #ruby
ananthakumaran has joined #ruby
starfox21 has quit [Quit: starfox21]
axeman- has joined #ruby
fantazo has joined #ruby
postmodern has quit [Quit: Leaving]
riginding has quit [Ping timeout: 260 seconds]
shaunbaker has joined #ruby
visof has quit [Read error: Connection reset by peer]
orionstein is now known as orionstein_away
nbrock has left #ruby [#ruby]
kjellski has joined #ruby
antulik-afk is now known as antulik
ferdev has quit [Quit: ferdev]
Klotho1 has quit [Ping timeout: 248 seconds]
camilasan has quit [Remote host closed the connection]
snovak has joined #ruby
camilasan has joined #ruby
mansi has joined #ruby
Macaveli has joined #ruby
ismlages has joined #ruby
browndawg has joined #ruby
snovak has quit [Ping timeout: 240 seconds]
kvirani has joined #ruby
mansi has quit [Ping timeout: 276 seconds]
pothibo has joined #ruby
Quashie_ has joined #ruby
axeman- has quit [Read error: Connection reset by peer]
jbpros has quit [Quit: jbpros]
axeman- has joined #ruby
colonolGron has quit [Quit: Lost terminal]
vlad_starkov has joined #ruby
kvirani has quit [Ping timeout: 276 seconds]
Quashie has quit [Ping timeout: 291 seconds]
senayar_ has quit [Remote host closed the connection]
senayar has joined #ruby
vlad_sta_ has joined #ruby
quoin has quit [Remote host closed the connection]
Macaveli has quit [Quit: Computer has gone to sleep.]
quoin has joined #ruby
vlad_starkov has quit [Ping timeout: 256 seconds]
mercwithamouth has quit [Ping timeout: 245 seconds]
fridim_ has quit [Read error: Operation timed out]
qnix has joined #ruby
nhhagen has joined #ruby
quoin has quit [Ping timeout: 276 seconds]
smathieu has joined #ruby
Macaveli has joined #ruby
ferdev_ has joined #ruby
starfox21 has joined #ruby
mikecmpbll has joined #ruby
smathieu has quit [Ping timeout: 276 seconds]
Evixion` has joined #ruby
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
Evixion has quit [Ping timeout: 246 seconds]
<catphish> ah my bad, i wrote that extension to net::smtp :)
Liothen has joined #ruby
qnix has left #ruby [#ruby]
Al__ has quit [Quit: Al__]
Mark___ has joined #ruby
Mark___ is now known as parzo
Al__ has joined #ruby
buzzybron has quit [Quit: Leaving.]
okinomo has quit [Ping timeout: 246 seconds]
jefflyne has quit [Ping timeout: 264 seconds]
Domon has quit [Remote host closed the connection]
Domon has joined #ruby
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
Bry8Star{T2_ has joined #ruby
Bry8Star{T2_ is now known as Bry8Star{T2
ryandeussing has joined #ruby
parzo has quit [Client Quit]
blackmesa has joined #ruby
starfox21 has quit [Quit: starfox21]
wudofyr has quit [Remote host closed the connection]
seich- has quit [Ping timeout: 240 seconds]
_5kg has quit [Ping timeout: 264 seconds]
Domon has quit [Ping timeout: 245 seconds]
_5kg has joined #ruby
Mark___ has joined #ruby
Croms has quit [Ping timeout: 248 seconds]
wudofyr has joined #ruby
Mark___ has quit [Client Quit]
Astralum has quit [Ping timeout: 264 seconds]
Mark___ has joined #ruby
aagdbl has joined #ruby
Xeago_ has joined #ruby
buibex has quit [Ping timeout: 246 seconds]
Xeago has quit [Ping timeout: 276 seconds]
endash has joined #ruby
geekbri has joined #ruby
Mark___ has quit [Client Quit]
dhruvasagar has quit [Ping timeout: 245 seconds]
Mark___ has joined #ruby
Mark___ has quit [Client Quit]
ssvo has joined #ruby
Mark___ has joined #ruby
Mark___ is now known as parzo
seich- has joined #ruby
pagios has quit [Quit: Leaving]
ssvo has quit [Ping timeout: 245 seconds]
ewnd9 has joined #ruby
rickruby has quit [Remote host closed the connection]
rickruby has joined #ruby
haxrbyte has quit [Remote host closed the connection]
dash_ has joined #ruby
vramana has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
kofno has joined #ruby
nhhagen has quit [Quit: Leaving]
nhhagen has joined #ruby
zeel has quit [Quit: Carsekyx]
nhhagen has quit [Client Quit]
nhhagen has joined #ruby
mansi has joined #ruby
bt has left #ruby [#ruby]
<Macaveli> How can I do greater than or equals in ruby?
<tobiasvl> >=
<Macaveli> aight
<tobiasvl> pretty similar to most other programming languages
jkamenik has left #ruby [#ruby]
ewnd9 has quit [Ping timeout: 264 seconds]
rdxc has joined #ruby
mklappst_ has joined #ruby
<shevy> like brainfuck
<tobiasvl> lol.
zets has quit []
quoin has joined #ruby
mansi has quit [Ping timeout: 256 seconds]
kvirani has joined #ruby
tvw has quit []
tvw has joined #ruby
shaunbaker has quit [Remote host closed the connection]
mklappstuhl has quit [Ping timeout: 276 seconds]
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
ewnd9 has joined #ruby
dangerousdave has quit [Quit: Leaving...]
kvirani has quit [Ping timeout: 276 seconds]
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
sevenseacat has joined #ruby
varfoo has quit [Quit: WeeChat 0.4.0]
ehc has joined #ruby
YaNakilon has quit [Ping timeout: 260 seconds]
lucazi has joined #ruby
axeman- has quit [Read error: Connection reset by peer]
spider-mario has joined #ruby
cascalheira has joined #ruby
rcosta has joined #ruby
axeman- has joined #ruby
jbrechtel has joined #ruby
narcan has joined #ruby
Astralum has joined #ruby
ehc has quit [Quit: ehc]
alepore has joined #ruby
alepore_ has joined #ruby
YaNakilon has joined #ruby
fmcgeough has joined #ruby
Zai00 has quit [Quit: Zai00]
nisstyre has quit [Read error: Connection reset by peer]
jbpros has joined #ruby
mklappst_ has quit [Remote host closed the connection]
jleishman has quit [Remote host closed the connection]
jonkri has joined #ruby
jonkri has quit [Changing host]
jonkri has joined #ruby
krawchyk has joined #ruby
mlpinit has joined #ruby
krz has quit [Quit: krz]
bwwrd has joined #ruby
<bwwrd> hey folks ...
<bwwrd> i'm trying to find a way to create a list of elements an array is composed of
<bwwrd> e.g. [1, 2, 2, 3, 2, 3] => 1,2,3
<MrZYX> bwwrd: input and expected output
<MrZYX> as string?
<MrZYX> .join(',')
<bwwrd> array
<sevenseacat> uniq ?
<bwwrd> ah, .uniq .. i think that's what i'm looking for. let me verfiy
tvw has quit [Read error: Operation timed out]
<bwwrd> irb(main):034:0> [1,2,2,3].uniq
<bwwrd> => [1, 2, 3]
<bwwrd> yep
<bwwrd> thanks!
m4rcu5 has quit [Ping timeout: 260 seconds]
vlad_sta_ has quit [Ping timeout: 249 seconds]
yalue has joined #ruby
m4rcu5 has joined #ruby
SJVNH3VN5TQ3YH has joined #ruby
Tomasso has joined #ruby
SJVNH3VN5TQ3YH has quit [Excess Flood]
ananthakumaran has quit [Quit: Leaving.]
SJVNH3VN5TQ3YH has joined #ruby
<SJVNH3VN5TQ3YH> Do skype,yahoo,other chat and social communication prog (facebook&twitter) spy for Israel & usa ???
<SJVNH3VN5TQ3YH> Do they record and analyse everything we type on the internet???
<SJVNH3VN5TQ3YH> Do they record and analyse everything we type on the internet???
<SJVNH3VN5TQ3YH> هل تتجسس برامج الشات و التواصل الاجتماعى لاسرائيل و امريكا؟؟؟؟
<SJVNH3VN5TQ3YH> هل تتجسس برامج الشات و التواصل الاجتماعى لاسرائيل و امريكا؟؟؟؟
<SJVNH3VN5TQ3YH> Do skype,yahoo,other chat and social communication prog (facebook&twitter) spy for Israel & usa ???
SJVNH3VN5TQ3YH has quit [Killed (idoru (Spam is off topic on freenode.))]
shredding has quit [Quit: shredding]
asobrasil has joined #ruby
Skylab has joined #ruby
osvico has quit [Ping timeout: 240 seconds]
rcosta has quit [Remote host closed the connection]
Nss has joined #ruby
alekst has joined #ruby
rcosta has joined #ruby
boblu has quit [Ping timeout: 240 seconds]
claymore has joined #ruby
ssvo has joined #ruby
Al__ has quit [Quit: Al__]
colonolGron has joined #ruby
<geekbri> Thank god this person is spamming.
pranny has quit [Quit: Leaving.]
Xeago has joined #ruby
Kabaka has quit [Ping timeout: 240 seconds]
rcosta has quit [Remote host closed the connection]
Xeago_ has quit [Ping timeout: 245 seconds]
Al__ has joined #ruby
Kabaka has joined #ruby
alepore_ has left #ruby ["Leaving"]
khushildep has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
ssvo has quit [Ping timeout: 240 seconds]
vramana has quit [Quit: ChatZilla 0.9.90.1 [Firefox 23.0/20130803215302]]
Zai00 has joined #ruby
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
snyp has joined #ruby
JohnBat26 has joined #ruby
<shevy> lol
colonolGron has quit [Quit: leaving]
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
wallerdev has joined #ruby
okinomo has joined #ruby
kpshek has joined #ruby
<flughafen> is there anything liek python-requests for ruby that makes http sessions easy?
buibex has joined #ruby
wallerdev has quit [Client Quit]
boblu has joined #ruby
mmozuras has quit [Remote host closed the connection]
Soda has joined #ruby
pushpak has joined #ruby
pushpak has left #ruby [#ruby]
dennus has joined #ruby
mmozuras has joined #ruby
snovak has joined #ruby
machuga|away is now known as machuga
tvw has joined #ruby
mansi has joined #ruby
buibex has quit [Ping timeout: 276 seconds]
viszu has quit [Quit: Leaving.]
antulik is now known as antulik-afk
Macaveli has quit [Quit: Computer has gone to sleep.]
snovak has quit [Ping timeout: 245 seconds]
mansi has quit [Ping timeout: 276 seconds]
verto has joined #ruby
Macaveli has joined #ruby
mikecmpbll has quit [Quit: Computer has gone to sleep.]
okinomo has quit [Ping timeout: 248 seconds]
aryaching has joined #ruby
tvw has quit []
jailbirdzentest has joined #ruby
JumpMast3r has joined #ruby
vlad_starkov has joined #ruby
shredding has joined #ruby
mansi has joined #ruby
<jailbirdzentest> I'm having trouble writing a recursive function to convert an flat array of objects that has a "level" attribute to a hierarchical set. Can someone take a look at my data? https://gist.github.com/jcblitz/d70b75ba625be6d366d6
verto has quit [Read error: Connection reset by peer]
joonty has quit [Ping timeout: 246 seconds]
<MrZYX> hm, why is level a string?
mansi has quit [Remote host closed the connection]
Xeago_ has joined #ruby
VTLob has joined #ruby
<jailbirdzentest> sorry, it's not. It's an int, that's just the way I typed it in Gist
zz_michael_mbp is now known as mike_mbp
kvirani has joined #ruby
Xeago has quit [Ping timeout: 248 seconds]
<MrZYX> also that will never be deterministic, since there's no way to select the right parent for the childrens of the next level
mike_mbp is now known as michael_mbp
mikecmpbll has joined #ruby
<jailbirdzentest> it's based on the natural order, if a level 2 follows a level one, it's a child
pygospa has quit [Disconnected by services]
TheRealPygo has joined #ruby
kaldrenon has joined #ruby
pierre1 has joined #ruby
mmitchell has joined #ruby
DonRichie has joined #ruby
<Kneferilis> hello, ruby has a reflection api?
<MrZYX> jailbirdzentest: are there ever multiple level 0?
<jailbirdzentest> no, 0 is root
<jailbirdzentest> and is always first
<MrZYX> Kneferilis: describe your problem not the solution you think you need
seyha has joined #ruby
jp- has joined #ruby
<Kneferilis> MrZYX, well, I am interested in metaprogramming and I've read that ruby shines in that, but I was wondering if it has a reflection api
ewnd9 has quit [Ping timeout: 276 seconds]
cody-- has joined #ruby
maasdesigner has joined #ruby
jnoob22 has quit [Read error: Connection reset by peer]
enebo has joined #ruby
fbernier has joined #ruby
rcosta has joined #ruby
<MrZYX> as if there's one definition of that... ruby has very good introspection and metaprogramming capabilities. If you want anything concrete get concrete yourself
jbpros_ has joined #ruby
iamjarvo has joined #ruby
joonty has joined #ruby
codecop has quit [Remote host closed the connection]
jbpros has quit [Ping timeout: 248 seconds]
jbpros_ is now known as jbpros
julweber has quit [Remote host closed the connection]
julweber has joined #ruby
mmitchell has quit [Remote host closed the connection]
shaunbaker has joined #ruby
mmitchell has joined #ruby
<jailbirdzentest> MrZYX: I've updated my gist with the code that I've written, but doesn't work as I hoped. https://gist.github.com/jcblitz/d70b75ba625be6d366d6
shaunbak_ has joined #ruby
Macaveli has quit [Read error: Connection reset by peer]
enebo has quit [Quit: enebo]
SHyx0rmZ has joined #ruby
catphish has left #ruby ["Leaving"]
jefflyne has joined #ruby
Macaveli has joined #ruby
tobago has quit [Remote host closed the connection]
jibi has quit [Ping timeout: 246 seconds]
<jailbirdzentest> MrZYX: I think a part I'm missing is when it comes back from a "grandchild" and is at the "uncle" level, if that makes sense
buibex has joined #ruby
ehc has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
jdenen has joined #ruby
Criztian has quit [Remote host closed the connection]
<Kneferilis> MrZYX, PHP has a reflection api, so does Java and C#, so I was wondering if ruby had something similar
shaunbaker has quit [Ping timeout: 245 seconds]
Astralum has quit [Read error: Connection reset by peer]
YaNakilon has quit [Ping timeout: 240 seconds]
snovak has joined #ruby
Astralum has joined #ruby
<Xeago_> Kneferilis: there is ObjectSpace
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
browndawg has quit [Read error: Connection reset by peer]
<MrZYX> what is a reflection API to you? Calling methods programmatically? Ruby can do that. Finding out an objects instance variables? Ruby can do that. Defining methods, classes, modules dynamically? Ruby can do that.
<Xeago_> in C# you can't loop over all objects created
<Xeago_> in ruby you can
JohnBat26 has joined #ruby
<MrZYX> jailbirdzentest: not particular beautiful but that would be my approach: http://paste.mrzyx.de/pa3175168/
axeman- has quit [Read error: Connection reset by peer]
narcan has joined #ruby
mklappstuhl has joined #ruby
<Kneferilis> thanks for the information
<jailbirdzentest> MrZYX: thanks, I'll take a look!
axeman- has joined #ruby
<jailbirdzentest> MrZYX: seems to infinite loop, I'll see what I can debug
YaNakilon has joined #ruby
jibi has joined #ruby
<MrZYX> then your example data didn't contain all edge cases: http://paste.mrzyx.de/paec8acfc/
breakingthings has joined #ruby
mklappstuhl has quit [Ping timeout: 240 seconds]
persand has quit [Quit: persand]
mpereira has joined #ruby
<jailbirdzentest> MrZYX: it appears it's never finding root for some reason. Thanks for your help, I should be able to take it from here
persand has joined #ruby
starfox21 has joined #ruby
workmad3 is now known as wm3|away
nanoxd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Macaveli has quit [Read error: Connection reset by peer]
persand has quit [Client Quit]
Macaveli has joined #ruby
boblu has quit [Ping timeout: 245 seconds]
kvirani has quit [Remote host closed the connection]
Nss has quit [Ping timeout: 246 seconds]
boblu has joined #ruby
kvirani has joined #ruby
t0rc has joined #ruby
Nss has joined #ruby
JDHankle has joined #ruby
Xeago_ is now known as Xeago
jbpros has quit [Quit: jbpros]
mansi has joined #ruby
jonathanwallace has quit [Read error: Operation timed out]
kvirani_ has joined #ruby
tatsuya_o has quit [Ping timeout: 245 seconds]
[Goodoog] has joined #ruby
jailbirdzentest has quit [Quit: jailbirdzentest]
kvirani has quit [Read error: Connection reset by peer]
ewnd9 has joined #ruby
Nss has quit [Read error: Operation timed out]
<apeiros> Kneferilis: in ruby the introspection is not separated into its own namespace/class (except for ObjectSpace)
<Kneferilis> I see.
<apeiros> Kneferilis: it is "embedded" in the core classes
Soda has quit [Write error: Broken pipe]
<apeiros> what you're looking for is mostly in these classes: Object, Module, Class, ObjectSpace
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
cody-- has quit [Read error: Connection reset by peer]
camilasa_ has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
duggiefresh has joined #ruby
pierre1 has quit [Quit: Leaving]
cody-- has joined #ruby
persand has joined #ruby
dangerousdave has joined #ruby
Nss has joined #ruby
razi has joined #ruby
bwwrd has quit [Quit: Textual IRC Client: www.textualapp.com]
travish has joined #ruby
jamesaanderson has joined #ruby
snyp has quit [Quit: Leaving]
mklappstuhl has joined #ruby
shunt has joined #ruby
ryandeussing has quit [Read error: Connection reset by peer]
enebo has joined #ruby
tomzx_mac has joined #ruby
[Goodoog_] has joined #ruby
[Goodoog] has quit [Disconnected by services]
yfeldblum has joined #ruby
dhruvasagar has joined #ruby
kvirani_ has quit [Remote host closed the connection]
AlSquire has joined #ruby
[Goodoog] has joined #ruby
hasrb has joined #ruby
kvirani has joined #ruby
[Goodoog] has left #ruby [#ruby]
cody-- has quit [Quit: Textual IRC Client: www.textualapp.com]
solidoodlesuppor has joined #ruby
cody-- has joined #ruby
lkba has joined #ruby
yugfvuewbfew has joined #ruby
antulik-afk is now known as antulik
yugfvuewbfew has left #ruby [#ruby]
[Goodoog_] has quit [Ping timeout: 260 seconds]
kvirani has quit [Ping timeout: 276 seconds]
cascalheira has quit [Quit: Leaving...]
snath has quit [Ping timeout: 240 seconds]
sailias has joined #ruby
burlyscudd has joined #ruby
michael_mbp is now known as zz_michael_mbp
peregrine81 has joined #ruby
<jbc22> qr/win 23
<jbc22> /win2/win2
BeLucid_ has joined #ruby
alepore has left #ruby ["Leaving"]
soba has quit [Ping timeout: 264 seconds]
yalue has quit [Quit: Leaving]
kayloos has quit [Remote host closed the connection]
BeLucid has quit [Read error: Connection reset by peer]
wesside has quit [Quit: Computer has gone to sleep.]
burlyscudd has quit [Client Quit]
hellome has quit [Remote host closed the connection]
hellome has joined #ruby
mansi has quit [Remote host closed the connection]
noop has quit [Ping timeout: 276 seconds]
antulik is now known as antulik-afk
Macaveli has quit [Read error: Connection reset by peer]
Macaveli has joined #ruby
yalue has joined #ruby
ahawkins has quit [Quit: leaving]
noop has joined #ruby
jerius has joined #ruby
v0n has joined #ruby
burlyscudd has joined #ruby
ksh has quit [Quit: ksh]
starfox21 has quit [Ping timeout: 248 seconds]
starfox21 has joined #ruby
lukec has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kunday has joined #ruby
hasrb has quit [Remote host closed the connection]
akells has joined #ruby
jbpros has joined #ruby
fantazo has quit [Remote host closed the connection]
orionstein_away is now known as orionstein
starfox21 has quit [Quit: starfox21]
rcosta has quit [Remote host closed the connection]
ananthakumaran has joined #ruby
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
tatsuya_o has joined #ruby
abstrusenick has joined #ruby
lkba has quit [Read error: Connection reset by peer]
lkba has joined #ruby
zoee has quit [Quit: zoee]
dhruvasagar has quit [Ping timeout: 246 seconds]
io_syl has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
dangerousdave has quit [Read error: Connection reset by peer]
JDHankle has quit [Ping timeout: 248 seconds]
dangerousdave has joined #ruby
dhruvasagar has joined #ruby
BeLucid has joined #ruby
kaldreno_ has joined #ruby
BeLucid_ has quit [Read error: No buffer space available]
RORgasm has quit [Read error: Connection reset by peer]
Adawerk has quit [Read error: Connection reset by peer]
Adawerk_ has joined #ruby
kjellski has quit [Quit: Leaving]
RORgasm has joined #ruby
solidoodlesuppor has quit [Read error: No buffer space available]
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
hamakn has quit [Ping timeout: 256 seconds]
Xeago_ has joined #ruby
geekbri_ has joined #ruby
jefflyne has quit [Ping timeout: 245 seconds]
tabolario has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
solidoodlesuppor has joined #ruby
Monie has joined #ruby
krawchyk is now known as krawchyk_afk
srji has quit [Ping timeout: 264 seconds]
Thai has joined #ruby
<Thai> Hey, searchin for a diehard coder/programmer (pm me)
kaldrenon has quit [Ping timeout: 276 seconds]
Rym has quit [Ping timeout: 245 seconds]
abstrusenick has quit [Quit: abstrusenick]
Rym has joined #ruby
Xeago has quit [Ping timeout: 276 seconds]
geekbri has quit [Ping timeout: 276 seconds]
beneggett has quit [Ping timeout: 276 seconds]
kunday has quit [Remote host closed the connection]
alup has quit [Quit: Leaving]
jlast has joined #ruby
starfox21 has joined #ruby
Thai has left #ruby [#ruby]
rodacato has joined #ruby
braoru has quit [Quit: Leaving]
proxie has joined #ruby
boblu has quit [Ping timeout: 256 seconds]
niceguyjames has quit [Quit: Textual IRC Client: www.textualapp.com]
BillCriswell has joined #ruby
polaco_zZz is now known as polaco
travish has quit [Quit: Leaving.]
tkuchiki has quit [Remote host closed the connection]
sevenseacat has quit [Quit: Leaving.]
MrThePlague has joined #ruby
Ripp__ has quit [Quit: Ripp__]
travish has joined #ruby
travish has quit [Max SendQ exceeded]
travish has joined #ruby
arca0 has quit [Remote host closed the connection]
ixti has joined #ruby
mary5030 has joined #ruby
hogeo has quit [Remote host closed the connection]
BillCriswell has quit [Remote host closed the connection]
polaco is now known as polaco_zZz
carlyle has joined #ruby
BillCriswell has joined #ruby
polaco_zZz is now known as polaco
mansi has joined #ruby
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
cantonic has joined #ruby
persand has quit [Quit: persand]
ixti has quit [Ping timeout: 264 seconds]
neo_ has quit [Quit: Leaving]
tomzx_mac has quit [Ping timeout: 246 seconds]
boblu has joined #ruby
dkamioka has joined #ruby
rhys has joined #ruby
senayar_ has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
hasrb has joined #ruby
ffranz has joined #ruby
rcosta has joined #ruby
C0C0 has joined #ruby
relix has joined #ruby
<C0C0> hey, is there a way to get all available methods of an object?
<C0C0> such as self.methods
<C0C0> but including inherited and included methods
<banisterfiend> C0C0 self.methods shows all that
<fryguy> C0C0: .methods should already do that
lfox has joined #ruby
okinomo has joined #ruby
<C0C0> hmm
spider-mario has quit [Remote host closed the connection]
<banisterfiend> most general way is i think: (self.methods + self.public_methods + self.private_methods + self.protected_methods).uniq
girija has quit [Ping timeout: 245 seconds]
<C0C0> hmm
<C0C0> wtf
senayar has quit [Ping timeout: 246 seconds]
senayar__ has joined #ruby
<C0C0> seems your right
<apeiros> banisterfiend: | and drop uniq? :)
<banisterfiend> C0C0 it's spelt "you're" for fuck sake
srji has joined #ruby
<C0C0> ok I have no fucking clue what I did..
<C0C0> sorry^^
<apeiros> banisterfiend: also I'd usually do `- Kernel.private_instance_methods`
<apeiros> (which also allows you to drop .uniq)
<C0C0> I was sure that methods should do that, then I managed to convince myself that it doesn't and spend 10 minutes trying to find the solution -_-
<C0C0> thx
codezombie has joined #ruby
krawchyk_afk is now known as krawchyk
mrsolo has joined #ruby
<ghr> methods → array
<ghr> Returns a list of the names of public and protected methods of obj. This will include all the methods accessible in obj’s ancestors.
senayar_ has quit [Ping timeout: 245 seconds]
Xeago has joined #ruby
rcosta has quit [Remote host closed the connection]
lukec has quit [Quit: lukec]
soba has joined #ruby
Xeago_ has quit [Ping timeout: 245 seconds]
rcosta has joined #ruby
pentameter has joined #ruby
rcosta has quit [Read error: Connection reset by peer]
MrThePlague has quit [Remote host closed the connection]
rcosta has joined #ruby
MrThePlague has joined #ruby
MrThePlague has quit [Changing host]
MrThePlague has joined #ruby
gusnasis has joined #ruby
soba_ has joined #ruby
axeman- has quit [Remote host closed the connection]
<banisterfiend> >> o = Object.new; def o.SUP_CHIX; end; o.methods
<eval-in> banisterfiend => [:SUP_CHIX, :nil?, :===, :=~, :!~, :eql?, :hash, :<=>, :class, :singleton_class, :clone, :dup, :taint, :tainted?, :untaint, :untrust, :untrusted?, :trust, :freeze, :frozen?, :to_s, :inspect, :methods, ... (https://eval.in/47099)
axl_ has joined #ruby
<banisterfiend> >> o = Object.new; def o.SUP_CHIX; end; o.public_methods
<eval-in> banisterfiend => [:SUP_CHIX, :nil?, :===, :=~, :!~, :eql?, :hash, :<=>, :class, :singleton_class, :clone, :dup, :taint, :tainted?, :untaint, :untrust, :untrusted?, :trust, :freeze, :frozen?, :to_s, :inspect, :methods, ... (https://eval.in/47100)
<banisterfiend> >> o = Object.new; def o.SUP_CHIX; end; o.public_methods.count
<eval-in> banisterfiend => 55 (https://eval.in/47101)
<banisterfiend> >> o = Object.new; def o.SUP_CHIX; end; o.methods.count
<eval-in> banisterfiend => 55 (https://eval.in/47102)
<banisterfiend> >> o = Object.new; def o.SUP_CHIX; end; o.methods(false).count
<eval-in> banisterfiend => 1 (https://eval.in/47103)
<banisterfiend> >> o = Object.new; def o.SUP_CHIX; end; o.public_methods(false).count
<eval-in> banisterfiend => 1 (https://eval.in/47104)
agjacome has joined #ruby
<banisterfiend> >> class C; def SUP_BOYZ; end; end; o = C.new; def o.SUP_CHIX; end; o.public_methods(false).count
<eval-in> banisterfiend => 2 (https://eval.in/47105)
<banisterfiend> >> class C; def SUP_BOYZ; end; end; o = C.new; def o.SUP_CHIX; end; o.methods(false).count
<eval-in> banisterfiend => 1 (https://eval.in/47106)
soba has quit [Ping timeout: 240 seconds]
srji has quit [Ping timeout: 240 seconds]
spider-mario has joined #ruby
ixti has joined #ruby
Xeago_ has joined #ruby
bean has joined #ruby
Xeago has quit [Ping timeout: 245 seconds]
starfox21 has quit [Quit: starfox21]
Macaveli has quit [Quit: Computer has gone to sleep.]
brbcoding has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
RORgasm has quit [Remote host closed the connection]
zeade has quit [Quit: Leaving.]
RORgasm has joined #ruby
girija has joined #ruby
Macaveli has joined #ruby
burlyscudd has quit [Quit: Leaving.]
julian-delphiki has quit [Ping timeout: 245 seconds]
jtgiri_ has joined #ruby
rcosta has quit [Ping timeout: 246 seconds]
burlyscudd has joined #ruby
Bry8Star{T2_ has joined #ruby
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
mwmnj has joined #ruby
rcosta has joined #ruby
jnix has quit [Remote host closed the connection]
kiri has quit [Quit: Leaving]
elux has joined #ruby
tenner36 has quit [Read error: Connection reset by peer]
tesuji has quit [Read error: Connection reset by peer]
baroquebobcat has joined #ruby
Macaveli has quit [Client Quit]
kaldreno_ is now known as kaldrenon
cody-- has quit [Quit: Computer has gone to sleep.]
hamakn has joined #ruby
mwmnj has quit [Client Quit]
ixti has quit [Quit: WeeChat 0.4.1]
ixti has joined #ruby
ixti has quit [Client Quit]
srji has joined #ruby
smathieu has joined #ruby
ixti has joined #ruby
ixti has quit [Client Quit]
ixti has joined #ruby
ixti has quit [Client Quit]
Rym has quit [Ping timeout: 256 seconds]
soba has joined #ruby
sambao21 has joined #ruby
ixti has joined #ruby
ixti has quit [Client Quit]
ixti has joined #ruby
soba_ has quit [Ping timeout: 240 seconds]
ixti has quit [Client Quit]
Nss has quit [Ping timeout: 248 seconds]
Nss has joined #ruby
smathieu has quit [Ping timeout: 276 seconds]
jibi has quit [Quit: .]
tenner36 has joined #ruby
anay has joined #ruby
girija has quit [Ping timeout: 240 seconds]
Lewix has joined #ruby
Lewix has quit [Changing host]
Lewix has joined #ruby
rrmartins has joined #ruby
pskosinski has joined #ruby
V8Energy has joined #ruby
thepreacher has joined #ruby
shaunbak_ has quit [Remote host closed the connection]
farn has quit [Quit: farn]
Rym has joined #ruby
fourq__ has joined #ruby
fourq__ is now known as lowcard
mrsolo has quit [Quit: This computer has gone to sleep]
Lewix has quit [Ping timeout: 240 seconds]
geekbri_ has quit [Remote host closed the connection]
Astralum has quit [Excess Flood]
geekbri has joined #ruby
ksinkar has quit [Write error: Broken pipe]
ffranz has quit [Excess Flood]
Astralum has joined #ruby
shaunbaker has joined #ruby
ksinkar_ has joined #ruby
Rym_ has joined #ruby
azcodex has joined #ruby
farn has joined #ruby
msuszczy has quit [Quit: leaving]
ffranz has joined #ruby
anay has quit [Remote host closed the connection]
jprovazn has quit [Quit: Odcházím]
io_syl has quit []
rrmartins has quit [Remote host closed the connection]
rodacato has quit [Remote host closed the connection]
wicketn00b has joined #ruby
quoin has quit [Remote host closed the connection]
rodacato has joined #ruby
quoin has joined #ruby
Rym has quit [Ping timeout: 264 seconds]
Rym_ is now known as Rym
quoin has quit [Remote host closed the connection]
srji has quit [Quit: leaving]
Lewix has joined #ruby
vlad_starkov has joined #ruby
blaxter_ has quit [Quit: foo]
quoin has joined #ruby
neonlex has quit [Ping timeout: 245 seconds]
axl_ has quit [Read error: Connection reset by peer]
zarul has joined #ruby
unixninja92 has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<r0bgleeson> apeiros: sorry to nuke your twitter feed but that was fun. I agree class_send has a place as much as class_method does, and I would use class_send for a quick-path method call (and indeed, its harmonious with other (*_)send APIs in ruby)
<apeiros> see my last tweet :-p
vlad_starkov has quit [Remote host closed the connection]
vlad_sta_ has joined #ruby
axl_ has joined #ruby
<Todd> morning
dhruvasagar has quit [Ping timeout: 264 seconds]
axl_ has left #ruby [#ruby]
thepreacher has quit [Quit: Leaving]
vlad_starkov has joined #ruby
quoin has quit [Ping timeout: 240 seconds]
rcosta has quit [Remote host closed the connection]
mcat1 has joined #ruby
browndawg has joined #ruby
banisterfiend has quit [Quit: Computer has gone to sleep.]
mmozuras has quit [Ping timeout: 264 seconds]
jonathanwallace has joined #ruby
soba has quit [Ping timeout: 245 seconds]
<r0bgleeson> apeiros: indeed. replied. twitter is a pretty bad medium sometimes for those discussions.
<r0bgleeson> text limit is hard
<apeiros> indeed
axl_ has joined #ruby
<apeiros> the code to all the methods
jnix has joined #ruby
axeman- has joined #ruby
axl_ has left #ruby [#ruby]
haxrbyte has joined #ruby
rcosta has joined #ruby
jefflyne has joined #ruby
vlad_sta_ has quit [Ping timeout: 276 seconds]
<apeiros> hm
tkuchiki has joined #ruby
<r0bgleeson> apeiros: looks good, but class_public_send would be nice. class_call could also re-use the definition of class_send, i think.
bean__ has joined #ruby
<dagobah> Can I do this using symbol to_proc? ["foo"].reject{|a| a == "foo"}
hamakn has quit [Remote host closed the connection]
bricker`LA has joined #ruby
<apeiros> yes, it could. but I'm a performance fetishist when it comes to basic methods. but there I wouldn't call it senseless :)
dhruvasagar has joined #ruby
<dagobah> .reject(&:eql? "foo") doesn't work :(
<apeiros> updated https://gist.github.com/apeiros/6465148 to have funny defaults
hamakn has joined #ruby
<apeiros> dagobah: no, you can't
bookmage has joined #ruby
<dagobah> That's a shame.
<apeiros> also eql? isn't the same as ==
ryandeussing has joined #ruby
t0rc has quit [Quit: WeeChat 0.4.1]
<dagobah> Is there a nicer way to remove an item from an array by value?
<r0bgleeson> it looks nice
<apeiros> dagobah: what's wrong with Array#delete ?
<r0bgleeson> that's an hour gone to "i wish i didnt have to do self.class.foo(…)"
t0rc has joined #ruby
<dagobah> Oops :)
huoxito has joined #ruby
rcosta has quit [Remote host closed the connection]
kobain has joined #ruby
<apeiros> r0bgleeson: yes, 1h I have to work longer now. THANK YOU SIR!
<apeiros> ;-p
soba has joined #ruby
<r0bgleeson> hehe
iamjarvo has quit [Remote host closed the connection]
cody-- has joined #ruby
iamjarvo has joined #ruby
<apeiros> gah, I could strangle Kernel#Integer()'s API
soba_ has joined #ruby
<apeiros> all I want is a sane way to normalize input (from sources I sadly can't control) to give me an integer and raise if it can't be sanely converted (like nil, "foo", 1.42)
hamakn has quit [Ping timeout: 256 seconds]
<apeiros> *sob*, roll your own it is…
<joonty> apeiros: you know rubies
<joonty> maybe you can tell me whether this is a bug in ruby
ryandeussing has quit [Ping timeout: 264 seconds]
<r0bgleeson> I thought it did handle those cases
<r0bgleeson> >> Integer(nil)
<eval-in> r0bgleeson => can't convert nil into Integer (TypeError) ... (https://eval.in/47115)
<apeiros> r0bgleeson: not nicely.
<r0bgleeson> >> Integer("foo")
<eval-in> r0bgleeson => invalid value for Integer(): "foo" (ArgumentError) ... (https://eval.in/47116)
<apeiros> >> Integer("012", 10)
jefflyne has quit [Ping timeout: 256 seconds]
<eval-in> apeiros => 12 (https://eval.in/47117)
<apeiros> good
<apeiros> >> Integer(12, 10)
<eval-in> apeiros => base specified for non string value (ArgumentError) ... (https://eval.in/47118)
<apeiros> not good
<apeiros> >> Integer("012")
<eval-in> apeiros => 10 (https://eval.in/47119)
<apeiros> not good
<r0bgleeson> o_O
<r0bgleeson> i actually wish it didnt raise an exception
<r0bgleeson> but returned nil on fail
azcodex has quit [Read error: Connection reset by peer]
<apeiros> useful for some cases I guess
<apeiros> so…
mcat1 has quit [Remote host closed the connection]
<apeiros> Integer(value, base: 10, default: nil)
<apeiros> no default -> raise
<apeiros> explicit:
<apeiros> Integer(value, base: 10, raise: true)
haxrbyte_ has joined #ruby
soba has quit [Ping timeout: 276 seconds]
rodacato has quit [Remote host closed the connection]
anay has joined #ruby
wallerdev has joined #ruby
rcosta has joined #ruby
Monie has joined #ruby
kayloos has joined #ruby
haxrbyte has quit [Ping timeout: 246 seconds]
dennus has quit []
Macaveli has joined #ruby
mikecmpbll has joined #ruby
tylersmith has quit [Remote host closed the connection]
<joonty> apeiros: did you get a chance to look at my link?
aagdbl has quit [Quit: Leaving.]
jonathanwallace has quit [Quit: WeeChat 0.4.1]
<r0bgleeson> apeiros: nice!
tylersmith has joined #ruby
jonathanwallace has joined #ruby
<r0bgleeson> >> class E < RuntimeError; end; Integer("hggfyegfhd", raise: E.new("hehe"))
mansi has quit [Read error: Connection reset by peer]
<eval-in> r0bgleeson => no implicit conversion of Hash into Integer (TypeError) ... (https://eval.in/47134)
<r0bgleeson> >> class E < RuntimeError; end; Integer("hggfyegfhd", raise: true)
<eval-in> r0bgleeson => no implicit conversion of Hash into Integer (TypeError) ... (https://eval.in/47137)
kayloos has quit [Remote host closed the connection]
<r0bgleeson> hrm
mansi has joined #ruby
nhhagen_ has joined #ruby
<r0bgleeson> apeiros: any idea why that doesnt work?
mansi has quit [Read error: Connection reset by peer]
Macaveli has quit [Client Quit]
acrussell has joined #ruby
headius has joined #ruby
acrussell has left #ruby [#ruby]
vlad_sta_ has joined #ruby
mansi has joined #ruby
anay has quit [Remote host closed the connection]
tylersmith has quit [Ping timeout: 246 seconds]
troessner has quit [Quit: Leaving]
vlad_starkov has quit [Ping timeout: 246 seconds]
nhhagen_ has quit [Ping timeout: 256 seconds]
<apeiros> sorry, busy with work
<apeiros> @ joonty & r0bgleeson
shaunbak_ has joined #ruby
swordsmanz has joined #ruby
<apeiros> already doing overhours :-|
<joonty> apeiros: that's unacceptable :P
boblu has quit [Ping timeout: 245 seconds]
crunch-choco has joined #ruby
t0rc has quit [Quit: WeeChat 0.4.1]
codecop has joined #ruby
m8 has joined #ruby
t0rc has joined #ruby
jbpros has quit [Quit: jbpros]
rodacato has joined #ruby
shaunbaker has quit [Ping timeout: 245 seconds]
colonolGron has joined #ruby
<Banistergalaxy> Apeiros is one of those Chinese W.oW gold farmers
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby
wallerdev has quit [Client Quit]
colonolGron has quit [Client Quit]
maroloccio has quit [Quit: WeeChat 0.4.0]
t0rc has quit [Client Quit]
tabolario has joined #ruby
wm3|away is now known as workmad3
atno has quit [Ping timeout: 248 seconds]
burlyscudd has quit [Quit: Leaving.]
iliketur_ has joined #ruby
atno has joined #ruby
quoin has joined #ruby
jefflyne has joined #ruby
andikr has quit [Remote host closed the connection]
<crunch-choco> is it possible to execute the client's default pdf/word processor with a ruby code?
jefflyne has quit [Client Quit]
<MrZYX> which target platform?
gyre007 has quit [Remote host closed the connection]
sirupsen has joined #ruby
hellome has quit [Read error: Connection reset by peer]
kayloos has joined #ruby
hellome has joined #ruby
rodacato has quit [Remote host closed the connection]
mwmnj has joined #ruby
jtgiri_ has quit [Quit: jtgiri_]
<crunch-choco> MrZYX: hm windows and mac os
<MrZYX> hm, could only help you with linux :P
iliketur_ has quit [Ping timeout: 246 seconds]
rrmartins has joined #ruby
<MrZYX> I think on OS X there's the open command
soba_ has quit [Ping timeout: 245 seconds]
seyha has quit [Ping timeout: 245 seconds]
quoin has quit [Ping timeout: 246 seconds]
barderer has joined #ruby
mercwithamouth has joined #ruby
anay has joined #ruby
Coffers has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
jefflyne has joined #ruby
chuk has joined #ruby
<crunch-choco> yes hehe, i will do some research a little, thanks man
rodacato has joined #ruby
rodacato has quit [Remote host closed the connection]
ananthakumaran has quit [Quit: Leaving.]
<dagobah> Is there a shorthand for ["foo"].reject(&:==.to_proc.curry(2).("foo"))
<dagobah> Specifically to_proc and curry.
buibex_ has joined #ruby
<MrZYX> ["foo"].reject {|e| e == "foo" }
<MrZYX> take it, there's none
travish has quit [Quit: Leaving.]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
mrsolo has joined #ruby
ananthakumaran has quit [Client Quit]
iamjarvo_ has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
buibex has quit [Ping timeout: 276 seconds]
nomenkun has quit [Remote host closed the connection]
travish has joined #ruby
<MrZYX> I mean you could do ["foo"].reject(&"foo".method(:==)) but don't think that's any cleaner than the explicit form
tjad has quit [Ping timeout: 264 seconds]
<MrZYX> (even a char longer)
hasrb has quit [Remote host closed the connection]
kayloos has quit [Remote host closed the connection]
hellome has quit [Read error: Connection reset by peer]
iamjarvo has quit [Ping timeout: 256 seconds]
<apeiros> dagobah: stop. being. clever. the block form is readable, any short-cut will most likely not be.
hellome has joined #ruby
travish has left #ruby [#ruby]
fgo has quit [Remote host closed the connection]
user258467 has quit [Quit: Quitte]
goleldar has joined #ruby
Xeago_ has quit [Remote host closed the connection]
Targen has joined #ruby
hellome has quit [Remote host closed the connection]
hellome has joined #ruby
ehaliewicz has joined #ruby
dv_ has quit [Read error: Operation timed out]
ssvo has joined #ruby
lowcard has quit [Quit: leaving]
seyha has joined #ruby
atmosx has joined #ruby
khushildep has quit [Quit: khushildep]
Aquilo has quit [Ping timeout: 264 seconds]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
burlyscudd has joined #ruby
rodacato has joined #ruby
lukec has joined #ruby
banisterfiend has joined #ruby
dankest has joined #ruby
dagobah has quit [Remote host closed the connection]
decoponio has quit [Read error: Connection reset by peer]
decoponio has joined #ruby
Tuxist has joined #ruby
alekst has quit [Quit: Leaving...]
jtgiri_ has joined #ruby
buibex_ has quit [Remote host closed the connection]
mrnugget has joined #ruby
buibex has joined #ruby
timonv has quit [Remote host closed the connection]
timonv has joined #ruby
jgx has joined #ruby
duggiefresh has quit [Remote host closed the connection]
YaNakilon has quit [Ping timeout: 256 seconds]
lukec has quit [Quit: lukec]
buibex has quit [Ping timeout: 264 seconds]
sethetter has joined #ruby
filipe has quit [Remote host closed the connection]
axeman- has quit [Remote host closed the connection]
khushildep has joined #ruby
Aristata has joined #ruby
shredding has quit [Quit: shredding]
<Aristata> Does anyone know the DataMapper equivalent of this: http://pastie.org/8303540 ?
Kabaka has quit [Ping timeout: 240 seconds]
Cyrus has quit [Quit: Cyrus.sleep()]
quoin has joined #ruby
YaNakilon has joined #ruby
timonv has quit [Remote host closed the connection]
ksh has joined #ruby
girija has joined #ruby
BlakeRG has joined #ruby
Voodoofish430 has joined #ruby
maasdesigner has quit [Ping timeout: 245 seconds]
Voodoofish430 has quit [Read error: Connection reset by peer]
platzhirsch has joined #ruby
zeade has joined #ruby
ksh has quit [Client Quit]
Voodoofish430 has joined #ruby
bluenemo has quit [Remote host closed the connection]
joonty has quit [Quit: WeeChat 0.4.1]
mmozuras has joined #ruby
adambeynon has joined #ruby
quoin has quit [Ping timeout: 248 seconds]
Es0teric has joined #ruby
barderer has quit [Ping timeout: 240 seconds]
io_syl has joined #ruby
cantonic has quit [Ping timeout: 245 seconds]
maletor has joined #ruby
Soda has joined #ruby
barderer has joined #ruby
barderer has quit [Client Quit]
orionstein is now known as orionstein_away
mklappstuhl has quit [Remote host closed the connection]
agjacome has quit [Quit: leaving]
mklappstuhl has joined #ruby
seyha has quit [Quit: Lost terminal]
<BlakeRG> i have a ruby script that has a series of require statements in it, how do i install these dependancies
<MrZYX> gem help
mmozuras has quit [Ping timeout: 276 seconds]
<workmad3> BlakeRG: they may not need installing... they could just be ruby stdlib stuff
<banisterfiend> BlakeRG 'bundle' should do it
<Morrolan> If a gemfile is present.
Desert_eagle has joined #ruby
rcosta has quit [Remote host closed the connection]
<BlakeRG> banisterfiend: running bundle is doing something :)
jbpros has joined #ruby
<banisterfiend> BlakeRG you must be excited
<BlakeRG> banisterfiend: yes
<banisterfiend> k00
kayloos has joined #ruby
<Morrolan> \o/
<Morrolan> Just you wait until some native extensions fail to build because of missing dependencies. :P
sayan has joined #ruby
kayloos has quit [Remote host closed the connection]
jlebrech has quit [Quit: Konversation terminated!]
<workmad3> Morrolan: :( I'm getting that from a build server at the moment
Skylab has quit [Quit: Skylab]
goganchic has joined #ruby
<workmad3> Morrolan: but it's one I can't access remotely
Macaveli has joined #ruby
<Morrolan> Time to google for "Ruby #{ gem_name } dependencies" :)
<Morrolan> Welp.
<banisterfiend> workmad3 do you use coffee script or js @ work?
<workmad3> Morrolan: oh, I know exactly what I need to install... I've just not been around to install it :)
<Morrolan> That is... inconvenient. :(
<workmad3> banisterfiend: coffeescript, and I have that open to read :)
Stygia has quit [Quit: Leaving]
Liquid-- has joined #ruby
iamjarvo_ has quit [Remote host closed the connection]
<banisterfiend> workmad3 ah :)
lukec has joined #ruby
iamjarvo has joined #ruby
dodosan has joined #ruby
<banisterfiend> workmad3 i like coffeescript but i'm forever forgetting to use the @ when invoking methods :)
Ox6abe has joined #ruby
rcosta has joined #ruby
travish has joined #ruby
rcosta has quit [Remote host closed the connection]
<workmad3> banisterfiend: :)
fgo has joined #ruby
DanKnox_away is now known as DanKnox
ldnunes has joined #ruby
<workmad3> banisterfiend: for some reason, a lot of that discussion just reminds me of old books I've read from around the time of asm to high-level language shifts
DanKnox is now known as DanKnox_away
mklappstuhl has quit [Remote host closed the connection]
<workmad3> banisterfiend: tbh, the main reason I've used a lot of coffeescript now was really because I had a couple of less experienced devs who knew ruby reasonably well but not really any JS
jbpros has quit [Quit: jbpros]
<workmad3> banisterfiend: so we decided to use coffeescript on a project in order to give them slightly more familiar turf to play on :)
<banisterfiend> workmad3 but if it was up to you, you'd still be using js? or you prefer cs now?
anay has quit [Remote host closed the connection]
jefflyne has quit [Quit: WeeChat 0.4.1]
<workmad3> I do feel more comfortable with CS nowadays, but it's not that much of a shift for me to go either way
<platzhirsch> I still didn't completely get the hang of prototypes in JS, read the design model several times, CS abstracts it away
<workmad3> I quite like some of the things the CS compiler gives you automatically... like the (function() {})() wrapper around your source files in the compiled JS
troii has joined #ruby
<troii> ruby is bad.
rodacato has quit [Remote host closed the connection]
ghr has quit [Quit: Computer has gone to sleep.]
troii has left #ruby [#ruby]
shaunbak_ has quit [Remote host closed the connection]
hasrb has joined #ruby
<banisterfiend> hehehe "troll" needs to work a little harder to earn the right to use that nick
Al__ has quit [Quit: Al__]
goganchic has quit [Quit: Computer has gone to sleep.]
<platzhirsch> I feel verbally abused
kaldrenon has quit [Remote host closed the connection]
rodacato has joined #ruby
DrShoggoth has joined #ruby
kaldrenon has joined #ruby
pel_daniel has joined #ruby
xibalba has left #ruby ["Leaving"]
jbpros has joined #ruby
JohnBat26 has quit [Ping timeout: 240 seconds]
fgo has quit [Ping timeout: 276 seconds]
dangerousdave has quit [Read error: Connection reset by peer]
Dave has joined #ruby
travish has left #ruby [#ruby]
<platzhirsch> ban is t[h]e f[r]iend
Dave is now known as Guest74656
carlyle has quit [Remote host closed the connection]
<Aristata> Does anyone know the DataMapper equivalent of this: http://pastie.org/8303540 ?
mklappstuhl has joined #ruby
duggiefresh has joined #ruby
kaldrenon has quit [Ping timeout: 245 seconds]
ksh has joined #ruby
pzula has joined #ruby
Liquid-- has quit [Ping timeout: 264 seconds]
banisterfiend has quit [Quit: Computer has gone to sleep.]
camilasan has quit [Remote host closed the connection]
kilophoton has joined #ruby
havenwood has joined #ruby
jibi has joined #ruby
poga_ has quit [Remote host closed the connection]
poga has joined #ruby
aspiers has quit [Ping timeout: 245 seconds]
browndawg has left #ruby [#ruby]
lukec has quit [Quit: lukec]
amacgregor_ has quit [Quit: Leaving]
amacgregor has joined #ruby
quoin has joined #ruby
Macaveli has quit [Quit: Computer has gone to sleep.]
ehaliewicz has quit [Ping timeout: 245 seconds]
senayar__ has quit [Ping timeout: 248 seconds]
lfox has quit [Quit: ZZZzzz…]
duggiefresh has quit [Ping timeout: 276 seconds]
julweber has quit [Remote host closed the connection]
rupee has joined #ruby
lfox has joined #ruby
ksinkar_ has quit [Quit: Konversation terminated!]
JumpMast3r has quit [Quit: JumpMast3r]
jbpros has quit [Quit: jbpros]
quoin has quit [Ping timeout: 245 seconds]
<BlakeRG> anyone have any information of XMPP GCM w/ ruby?
mklappstuhl has quit [Remote host closed the connection]
companion is now known as Companion
<onewheelskyward> Aristata No, but I've been looking for that, too.
rodacato has quit [Ping timeout: 246 seconds]
<platzhirsch> BlakeRG: Google Cloud Message Service?
JumpMast3r has joined #ruby
avril14th has quit [Read error: Connection reset by peer]
<BlakeRG> platzhirsch: yes, they released a new version of it based on XMPP. a lot of the gems i am finding use the old methods
jnix has quit [Remote host closed the connection]
<platzhirsch> BlakeRG: oh, ok
Deele has joined #ruby
[eDu] has joined #ruby
kaldrenon has joined #ruby
<platzhirsch> would be nice to take the opportunity and write an updated gem of your own
i_s has joined #ruby
kayloos has joined #ruby
<[eDu]> Hello, do you know if www.dnsbalance.ring.gr.jp is down?
khushildep has quit [Quit: getting the flock() outta here]
<platzhirsch> and then they would come and star your project into the sky
<Aristata> onewheelskyward: Well if you find anything let me know, I am searching to so I will give you a heads up if I do!
<[eDu]> Morrolan: ah, true :) thanks :)
<[eDu]> yes it is, btw
<Morrolan> (And it's taking ages to load for me, so it probably si)
<Morrolan> s/si/is/
RichardBaker has joined #ruby
i_s has quit [Remote host closed the connection]
timonv has joined #ruby
mrnugget has quit [Quit: mrnugget]
jrhorn424 has joined #ruby
Davey has joined #ruby
Companion is now known as Kannagi
goganchic has joined #ruby
Kannagi is now known as Companion
i_s has joined #ruby
goganchic has quit [Client Quit]
<onewheelskyward> Aristata Thanks, will do.
goganchic has joined #ruby
goganchic has quit [Client Quit]
DanKnox_away is now known as DanKnox
randomautomator has joined #ruby
lucazi has quit [Quit: Leaving.]
duggiefresh has joined #ruby
Ox6abe has quit [Remote host closed the connection]
<onewheelskyward> I'm going to try that.
jefflyne has joined #ruby
fgo has joined #ruby
ryandeussing has joined #ruby
iamjarvo has quit [Remote host closed the connection]
iamjarvo has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
iamjarvo has quit [Remote host closed the connection]
iamjarvo has joined #ruby
smathieu has joined #ruby
[eDu] has quit [Quit: leaving]
rcedillor has joined #ruby
spider-mario has quit [Remote host closed the connection]
ryandeussing has quit [Ping timeout: 276 seconds]
fgo has quit [Ping timeout: 276 seconds]
<Aristata> onewheelskyward: I tried that earlier this morning and it did not solve my problem (resque not disconnecting from a heroku db)
<Aristata> Maybe it will work for you!
rrmartins has quit [Remote host closed the connection]
nari has quit [Ping timeout: 256 seconds]
<onewheelskyward> ah, I'm not in Heroku. Maybe I'll get lucky. :)
sambao21 has joined #ruby
tylersmith has joined #ruby
Kabaka has joined #ruby
Kabaka has quit [Remote host closed the connection]
goleldar has quit [Remote host closed the connection]
Kabaka has joined #ruby
Desert_eagle is now known as fly-away
rrmartins has joined #ruby
p_zula has joined #ruby
hackeron_ has joined #ruby
antulik-afk is now known as antulik
sirupsen has quit [Quit: sirupsen]
twoism has joined #ruby
pzula has quit [Ping timeout: 264 seconds]
hackeron has quit [Ping timeout: 264 seconds]
dodosan has quit [Remote host closed the connection]
timonv has quit [Remote host closed the connection]
p_zula has quit [Client Quit]
hackeron_ has quit [Remote host closed the connection]
Xeago has joined #ruby
pskosinski has quit [Quit: Til rivido Idisti!]
Ox6abe has joined #ruby
reset has joined #ruby
tiglog has joined #ruby
aaronmcadam has quit [Ping timeout: 276 seconds]
_reset has joined #ruby
_reset has quit [Remote host closed the connection]
reset has quit [Read error: Connection reset by peer]
reset has joined #ruby
ferdev_ has quit [Quit: ferdev_]
c0rn has joined #ruby
ghr has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
jonkri has quit [Ping timeout: 246 seconds]
obs has quit [Quit: Konversation terminated!]
mklappstuhl has joined #ruby
machuga is now known as machuga|away
Astralum has quit [Ping timeout: 256 seconds]
mrsolo has quit [Quit: This computer has gone to sleep]
jnix has joined #ruby
mrsolo has joined #ruby
arya has joined #ruby
arya is now known as Guest66449
Guest66449 is now known as aryaching_
Nss has quit [Ping timeout: 245 seconds]
aryaching has quit [Ping timeout: 245 seconds]
elaptics is now known as elaptics`away
nomenkun has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
noop has quit [Ping timeout: 240 seconds]
jrhorn424 has quit [Quit: Textual IRC Client: www.textualapp.com]
rrmartins has quit [Remote host closed the connection]
noop has joined #ruby
carlyle has joined #ruby
freerobby has joined #ruby
banisterfiend has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
iamjarvo has quit [Remote host closed the connection]
shadoi has joined #ruby
ferdev has joined #ruby
iamjarvo has joined #ruby
samsagaz has quit [Remote host closed the connection]
girija has left #ruby ["Ex-Chat"]
peregrine81 has quit []
Senjai has quit [Ping timeout: 245 seconds]
randomautomator has quit [Read error: Connection reset by peer]
iamjarvo has quit [Remote host closed the connection]
iamjarvo has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
lukec has joined #ruby
kayloos has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
diegoviola has joined #ruby
mrsolo has joined #ruby
pzula has joined #ruby
Zai00 has quit [Quit: Zai00]
Monie has joined #ruby
nhhagen_ has joined #ruby
pzula has quit [Quit: WeeChat 0.4.1]
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
Senjai has joined #ruby
Senjai has quit [Changing host]
Senjai has joined #ruby
Criztian has joined #ruby
quoin has joined #ruby
carlyle has quit [Remote host closed the connection]
Eiam has joined #ruby
tjad has joined #ruby
razi has quit [Ping timeout: 276 seconds]
Astralum has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
quoin has quit [Ping timeout: 276 seconds]
rrmartins has joined #ruby
dash_ has quit [Ping timeout: 264 seconds]
c0rn has joined #ruby
c0rn has quit [Client Quit]
jonkri has joined #ruby
eval-in has quit [Remote host closed the connection]
brianpWins has quit [Ping timeout: 276 seconds]
eval-in has joined #ruby
simplyaubs has joined #ruby
jbpros has joined #ruby
hashpuppy has joined #ruby
tkuchiki has quit [Remote host closed the connection]
julweber has joined #ruby
benlieb has joined #ruby
jbpros has quit [Client Quit]
hashpuppy has quit [Client Quit]
dv_ has joined #ruby
dash_ has joined #ruby
huoxito has quit [Ping timeout: 276 seconds]
julweber has quit [Ping timeout: 245 seconds]
bluOxigen has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rcosta has joined #ruby
travish has joined #ruby
apeiros has quit [Remote host closed the connection]
travish has left #ruby [#ruby]
fgo has joined #ruby
platzhirsch has quit [Ping timeout: 246 seconds]
Criztian has quit [Remote host closed the connection]
Banistergalaxy has quit [Ping timeout: 256 seconds]
burlyscudd1 has joined #ruby
Tomasso has quit []
sambao21 has quit [Quit: Computer has gone to sleep.]
bamdad has joined #ruby
JohnBat26 has joined #ruby
JohnBat26 has quit [Client Quit]
burlyscudd has quit [Ping timeout: 276 seconds]
JohnBat26 has joined #ruby
sambao21 has joined #ruby
Guest74656 has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
fgo has quit [Ping timeout: 240 seconds]
sambao21 has quit [Client Quit]
timonv has joined #ruby
sambao21 has joined #ruby
cads has joined #ruby
ardex4137 has joined #ruby
Ripp__ has joined #ruby
antulik is now known as antulik-afk
vlad_sta_ has quit [Remote host closed the connection]
randomautomator has joined #ruby
azcodex has joined #ruby
wudofyr has quit [Read error: Connection reset by peer]
randomau_ has joined #ruby
alekst has joined #ruby
nomenkun has quit [Remote host closed the connection]
wudofyr has joined #ruby
atno has quit [Ping timeout: 264 seconds]
atno has joined #ruby
ner0x has joined #ruby
rcosta has quit [Remote host closed the connection]
rcosta has joined #ruby
blackmesa has joined #ruby
peregrine81 has joined #ruby
JumpMast3r has quit [Quit: JumpMast3r]
Companion is now known as companion
jp- has quit [Quit: OK, I believe you… but my tommy gun don't]
ccooke has quit [Quit: brb]
sambao21 has quit [Quit: Computer has gone to sleep.]
platzhirsch has joined #ruby
peregrine81 has quit [Client Quit]
rrmartins has quit [Remote host closed the connection]
randomautomator has quit [Ping timeout: 240 seconds]
carlyle has joined #ruby
ccooke has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
Macaveli has joined #ruby
rrmartins has joined #ruby
peregrine81 has joined #ruby
Monie has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
mikeg has joined #ruby
askhader has joined #ruby
shunt has quit [Quit: leaving]
<askhader> I'm running `bundle install` on the newrelic nginx plugin, and I see Fetching source index for http://rubygems.org/ then it hangs for a bit and says "Killed..."
<askhader> Hwo can I debug this?
<MrZYX> sounds like the OOM killer
azcodex has quit [Quit: azcodex]
jtgiri_ has quit [Quit: jtgiri_]
jtgiri_ has joined #ruby
buibex has joined #ruby
Alina-malina has joined #ruby
dodosan has joined #ruby
brianpWins has joined #ruby
ccooke has quit [Quit: leaving]
carlyle has quit [Ping timeout: 245 seconds]
drPoggs has joined #ruby
dodosan has quit [Remote host closed the connection]
dodosan has joined #ruby
<atmosx> OOM Killer
bamdad has quit [Quit: bamdad]
ccooke has joined #ruby
kpshek has quit []
mikeg has quit [Remote host closed the connection]
apeiros has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
Evixion` is now known as Evixion
banisterfiend has quit [Ping timeout: 256 seconds]
kpshek has joined #ruby
huoxito has joined #ruby
akells has quit [Remote host closed the connection]
RichardBaker has quit [Quit: RichardBaker]
sambao21 has joined #ruby
ccooke has quit [Quit: leaving]
akells has joined #ruby
<askhader> Is the only solution to the OOM killer to free up memory?
Cork has quit [Quit: .]
<MrZYX> mounting a swap(file) can help but will slow down your system
<Morrolan> http://downloadmoreram.com/ is quite nice, I've been told. :)
sirupsen has joined #ruby
<askhader> rofl
<MrZYX> or you just makeeverythingok.com
ccooke has joined #ruby
<MrZYX> eh, make-everything-ok.com of course
<Morrolan> I was trying to figure out what makeeverythingog.com's grey screen was trying to tell me. :)
Ripp__ has quit [Quit: Ripp__]
simplyaubs has quit [Quit: simplyaubs]
sayan has quit [Ping timeout: 264 seconds]
Evixion has quit [Ping timeout: 240 seconds]
bean__ has quit [Quit: Computer has gone to sleep.]
RichardBaker has joined #ruby
alvaro_o has joined #ruby
Banistergalaxy has joined #ruby
<Morrolan> In case#2, as soon as one condition evaluates to true, the following won't get evaluated anymore.
<MrZYX> Lewix: the second makes clear that it's either the first or the second, in the first case you have to understand the conditions to realize that both cases can't be true at the same time
<MrZYX> oh and what Morrolan said
<MrZYX> I still think that making intention clearer is the bigger point here though
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Morrolan> Sure, that's definitely a big point.
<Lewix> Morrolan: yes but does it add to the performance of an app
<Morrolan> But you probably don't want to, for example, hit the database, or a network resource, twice as often as required.
travish has joined #ruby
<Lewix> ok
<Morrolan> Come again?
<Lewix> thanks you just answered
<Morrolan> Ah, yea. :)
<MrZYX> oh and also a LOC less :P
chairabanta has joined #ruby
quoin has joined #ruby
travish has left #ruby [#ruby]
azcodex has joined #ruby
<Lewix> MrZYX: LOC?
<MrZYX> Line Of Code
mlpinit_ has joined #ruby
Xeago has joined #ruby
<Lewix> If foo; elsif foo2; end vs if foo;else foo2;end
ryandeussing has joined #ruby
postmodern has joined #ruby
Cork has joined #ruby
<Lewix> else is not required. What's the preferred method
<MrZYX> those aren't even doing the same
dash_ has quit [Ping timeout: 248 seconds]
rcosta has quit [Remote host closed the connection]
mlpinit has quit [Read error: Connection reset by peer]
quoin has quit [Ping timeout: 240 seconds]
dash_ has joined #ruby
Spami has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
ferdev has quit [Quit: ferdev]
mlpinit has joined #ruby
Alina-malina has quit [Ping timeout: 248 seconds]
mrsolo has quit [Quit: This computer has gone to sleep]
visof has joined #ruby
robert_ has quit [Ping timeout: 240 seconds]
banisterfiend has joined #ruby
mrsolo has joined #ruby
visof has quit [Changing host]
visof has joined #ruby
blueOxigen has joined #ruby
ryandeussing has quit [Ping timeout: 264 seconds]
machuga|away is now known as machuga
adambeynon has quit [Quit: Computer has gone to sleep.]
mlpinit_ has quit [Ping timeout: 240 seconds]
<Lewix> >> x =1; if x>2; puts "greater than 2"; elsif x<2; puts "less than 2"; end
<eval-in> Lewix => less than 2 ... (https://eval.in/47203)
<Lewix> >> x =1; if x>2; puts "greater than 2"; else puts "less than 2"; end
<eval-in> Lewix => less than 2 ... (https://eval.in/47204)
timonv has quit [Remote host closed the connection]
nikeita has joined #ruby
bluOxigen has quit [Ping timeout: 248 seconds]
burlyscudd1 has quit [Ping timeout: 246 seconds]
Astral_ has joined #ruby
<MrZYX> think about it, what happens with those two if x is 2?
nikeita has quit [Client Quit]
nerdy has joined #ruby
robert_ has joined #ruby
robert_ has joined #ruby
robert_ has quit [Changing host]
fcahoon has joined #ruby
Ripp__ has joined #ruby
<Lewix> MrZYX: I know but what if i dont care about it
banisterfiend has quit [Ping timeout: 276 seconds]
<Lewix> MrZYX: what if there's only two options for x
<apeiros> Lewix: then use if/elsif/else raise "coder failed" end
<apeiros> never assume. always verify.
<MrZYX> if true elsif false else raise "ruby failed" end ;P
Astralum has quit [Ping timeout: 256 seconds]
<Lewix> apeiros: fair enough
<apeiros> raise "Heaven fell on our head!"
<Lewix> thanks
<apeiros> raise "Codacalypse happens now!"
<apeiros> Codocalypse? Codecalypse?
<Xeago> Codeapocalypse?
fgo has joined #ruby
vlad_starkov has joined #ruby
<MrZYX> can you write a ruby program to find out the best version?
<Xeago> could anyone see if https://mijn.duo.nl/particulier/ responds?
<Xeago> it completes with curl, but my browser times out
bluenemo has joined #ruby
bluenemo has joined #ruby
bluenemo has quit [Changing host]
<Xeago> (curl takes about a minute to get through tho)
bean__ has joined #ruby
<apeiros> curl maybe just has a higher time out
<Xeago> I don't think curl gives up after a connect()
<MrZYX> pass -v ?
<apeiros> that'd qualify as "higher time out" :)
<Xeago> MrZYX: doing that
fourq__ has joined #ruby
<Xeago> (actually I am running it from s_client, it doesn't seem to be the tls that is bottlenecking it)
kpshek has quit []
lowcard has quit [Client Quit]
<MrZYX> I get a timeout with both browser and curl
Macaveli has quit [Quit: Computer has gone to sleep.]
fgo has quit [Ping timeout: 264 seconds]
Trynemjoel has quit [Ping timeout: 245 seconds]
<MrZYX> hm gnutls-cli got through once, I guess they're just out of free sockets
decoponio has quit [Quit: Leaving...]
buibex has quit [Remote host closed the connection]
kpshek has joined #ruby
randomdrake has joined #ruby
RichardBaker has quit [Quit: RichardBaker]
<Xeago> MrZYX: thanks
rrmartins has quit [K-Lined]
randomdrake has quit [Client Quit]
<Xeago> ironically, I am expecting a confirmation of my letter regarding damages caused due to their system being unavailable
RichardBaker has joined #ruby
<Xeago> current damages are around 700€
<Xeago> :\
<atmosx> when scaffolding in rails, can I use utf8 chars? Like "rails generate scaffold Users όνομα:string …" ?
ewnd9 has quit [Remote host closed the connection]
<Xeago> atmosx: depending on your terminal environment yes
<Xeago> #rubyonrails
ewnd9 has joined #ruby
<atmosx> Xeago: I'm super-duper UTF-8er
<atmosx> Xeago: my term is ready (apple did a good job this time)
<Xeago> atmosx: you might have to edit the files and add the encoding param
<Xeago> depending on your ruby
<atmosx> Xeago: No I use rails 4 and ruby2
hamakn has joined #ruby
<atmosx> that shouldn't be necessary… or wait
<Xeago> atmosx: did you try it?
julweber has joined #ruby
<atmosx> Xeago: no, Im just testing you
<Xeago> wut
snath has joined #ruby
DanBoy has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
<atmosx> Xeago: j/k
vlad_starkov has joined #ruby
<atmosx> Xeago: works fine
rodacato has joined #ruby
snath has quit [Read error: Connection reset by peer]
snath has joined #ruby
gyzmodo has joined #ruby
huoxito has quit [Ping timeout: 246 seconds]
strgbrew has joined #ruby
lorn has quit [Ping timeout: 264 seconds]
BizarreCake has quit [Ping timeout: 256 seconds]
chairabanta has quit [Quit: Leaving...]
hamakn has quit [Ping timeout: 245 seconds]
<apeiros> Xeago: aborted for me btw.
<Xeago> thanks
dobry-den has quit [Ping timeout: 245 seconds]
jcarouth has quit [Ping timeout: 240 seconds]
Macaveli has joined #ruby
cout has quit [Ping timeout: 240 seconds]
Maokomioko has joined #ruby
lorn has joined #ruby
Columcille has quit [Ping timeout: 240 seconds]
Monie has joined #ruby
twoism has quit [Remote host closed the connection]
kenichi has quit [Quit: ZNC - http://znc.sourceforge.net]
Ox6abe has quit [Remote host closed the connection]
Macaveli has quit [Client Quit]
pyx has joined #ruby
pyx has quit [Client Quit]
twoism has joined #ruby
Rym has quit [Read error: Connection reset by peer]
Spitfire has quit [Excess Flood]
G has quit [Ping timeout: 245 seconds]
ixti has joined #ruby
ixti has quit [Client Quit]
Senjai has quit [Ping timeout: 240 seconds]
Spitfire has joined #ruby
G has joined #ruby
jnix has quit [Quit: No Ping reply in 180 seconds.]
anderson has joined #ruby
cschneid has quit [Ping timeout: 260 seconds]
jnix has joined #ruby
kenichi has joined #ruby
jcarouth has joined #ruby
Alina-malina has joined #ruby
TheSpectre has quit [Ping timeout: 240 seconds]
jonathanwallace has quit [Ping timeout: 264 seconds]
ixti has joined #ruby
krawchyk has quit [Remote host closed the connection]
TheSpectre has joined #ruby
Macaveli has joined #ruby
ixti has quit [Client Quit]
allsystemsarego has quit [Quit: Leaving]
Columcille has joined #ruby
twoism has quit [Ping timeout: 271 seconds]
Galgorth has quit []
nomenkun has joined #ruby
cout has joined #ruby
Galgorth has joined #ruby
cschneid has joined #ruby
rodacato has quit [Remote host closed the connection]
Galgorth has quit [Client Quit]
Galgorth has joined #ruby
asobrasil has left #ruby [#ruby]
sr78ger has quit [Quit: Textual IRC Client: www.textualapp.com]
zarul has quit [Remote host closed the connection]
huoxito has joined #ruby
Macaveli has quit [Quit: Computer has gone to sleep.]
jnix has quit [Changing host]
jnix has joined #ruby
Maokomioko has quit [Quit: Textual IRC Client: www.textualapp.com]
nomenkun has quit [Ping timeout: 264 seconds]
Rym has joined #ruby
Macaveli has joined #ruby
Macaveli has quit [Client Quit]
rcosta has joined #ruby
Macaveli has joined #ruby
banisterfiend has joined #ruby
carlyle has joined #ruby
robscomputer has joined #ruby
rcosta has quit [Remote host closed the connection]
rcosta has joined #ruby
cads has quit [Quit: Leaving]
cads has joined #ruby
zarul has joined #ruby
Davey has quit [Ping timeout: 240 seconds]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
tiglog has quit [Ping timeout: 245 seconds]
Macaveli has quit [Quit: Computer has gone to sleep.]
bluenemo has quit [Quit: Verlassend]
jonkri has quit [Quit: jonkri]
Davey has joined #ruby
froy has quit [Ping timeout: 264 seconds]
diegoviola has quit [Ping timeout: 240 seconds]
user has joined #ruby
user has left #ruby [#ruby]
Rym has quit [Ping timeout: 240 seconds]
blueOxigen has quit [Ping timeout: 256 seconds]
froy has joined #ruby
Alina-malina has quit [Quit: Leaving]
Alina-malina has joined #ruby
Soda has quit [Remote host closed the connection]
wallerdev has joined #ruby
robustus has quit [Ping timeout: 245 seconds]
robustus has joined #ruby
jonahR has joined #ruby
Astral_ has quit [Ping timeout: 256 seconds]
azcodex has quit [Quit: azcodex]
javierbuilder has joined #ruby
javierbuilder has quit [Max SendQ exceeded]
quoin has joined #ruby
bean__ has quit [Quit: Computer has gone to sleep.]
apeiros has quit [Remote host closed the connection]
elux has quit [Quit: Leaving...]
apeiros has joined #ruby
Davey has quit [Ping timeout: 264 seconds]
Macaveli has joined #ruby
dkamioka has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
Klotho1 has joined #ruby
Rym has joined #ruby
noop has quit [Ping timeout: 264 seconds]
quoin has quit [Ping timeout: 240 seconds]
bean__ has joined #ruby
bean__ has quit [Client Quit]
elux has joined #ruby
Monie has quit [Quit: Textual IRC Client: www.textualapp.com]
bean__ has joined #ruby
Macaveli_ has joined #ruby
Macaveli has quit [Read error: Connection reset by peer]
Aquilo has joined #ruby
tatsuya_o has joined #ruby
c0rn has joined #ruby
BraddBitt is now known as BraddPitt
freerobby has quit [Quit: Leaving.]
moshef has joined #ruby
Tricon has quit [Quit: Bye!]
fcahoon has quit [Quit: Leaving]
Aquilo has quit [Ping timeout: 268 seconds]
brbcoding has quit []
twoism has joined #ruby
T__T has joined #ruby
jongilbraith has joined #ruby
fgo has joined #ruby
s0ny123 has quit [Quit: leaving]
T__T has quit [Remote host closed the connection]
brianpWins has quit [Quit: brianpWins]
<moshef> I'm trying to implement SSE events (running rails with unicorn and nginx) but nginx keeps dropping the connections for me. any ideas?
Macaveli_ has quit [Quit: Computer has gone to sleep.]
sirupsen has quit [Quit: sirupsen]
freerobby has joined #ruby
<banisterfiend> moshef out of interest why do you use SSE instead of websockets?
NealJ has quit [Quit: :c]
jongilbraith has quit [Client Quit]
<moshef> well
<moshef> i only need to send data to the client, i don't need the other way around
<atmosx> what's SSE?
fgo has quit [Ping timeout: 264 seconds]
<atmosx> server sent events
<atmosx> hmm
mark_locklear has joined #ruby
<banisterfiend> moshef interesting, what is the server side API for that?
T__T has joined #ruby
<moshef> banisterfiend: you can use redis pub/sub, I've also 'listened' to files to publish updates
ewnd9 has quit [Ping timeout: 240 seconds]
fmcgeough has quit [Quit: fmcgeough]
<moshef> works perfectly fine locally when running puma, on prod we run with unicorn and nginx and its always dropping the connections, this drives me nuts
khismetix has joined #ruby
reset has quit [Quit: Leaving...]
Uranio has joined #ruby
milardovich has joined #ruby
geekbri has quit [Remote host closed the connection]
Qodosh has joined #ruby
MrThePla_ has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
MrThePlague has quit [Ping timeout: 240 seconds]
JumpMast3r has joined #ruby
machuga is now known as machuga|away
mikepack has joined #ruby
Tricon has joined #ruby
samsden has joined #ruby
havenwood has quit [Remote host closed the connection]
jgx has quit [Quit: Leaving]
MrThePla_ has quit [Remote host closed the connection]
i_s has quit [Remote host closed the connection]
<onewheelskyward> moshef is it a timeout on the reverse proxy?
smathieu has quit [Remote host closed the connection]
jonahR has quit [Quit: jonahR]
hasrb has quit [Remote host closed the connection]
<moshef> i can't tell for sure
<moshef> can't understand from the log
<moshef> but it works perfectly fine when running with puma
<moshef> so..
fyz1x has joined #ruby
<onewheelskyward> Interesting.
<onewheelskyward> Are you using jruby with puma?
Lewix_ has joined #ruby
smathieu has joined #ruby
Al__ has joined #ruby
sambao21 has joined #ruby
MrThePlague has joined #ruby
devoldmx3 has joined #ruby
benlieb has quit [Quit: benlieb]
jdenen has quit [Quit: Leaving.]
chairabanta has joined #ruby
nhhagen_ has quit [Remote host closed the connection]
nhhagen_ has joined #ruby
simplyaubs has joined #ruby
devoldmx has quit [Ping timeout: 264 seconds]
nwertman_ has joined #ruby
kofno has quit [Ping timeout: 246 seconds]
cong has joined #ruby
yalue has quit [Quit: Leaving]
mityaz has joined #ruby
mityaz has quit [Client Quit]
nhhagen_ has quit [Ping timeout: 240 seconds]
auroraLTP has joined #ruby
hellyeah has quit [Read error: Operation timed out]
devoldmx has joined #ruby
centr0 has joined #ruby
devoldmx3 has quit [Read error: Connection reset by peer]
dangerousdave has quit [Quit: Linkinus - http://linkinus.com]
ryandeussing has joined #ruby
devoldmx3 has joined #ruby
<moshef> onewheelskyward: nope, using rails
huoxito has quit [Ping timeout: 265 seconds]
carlyle has quit [Read error: Connection reset by peer]
carlyle has joined #ruby
devoldmx has quit [Ping timeout: 268 seconds]
jtgiri_ has quit [Quit: jtgiri_]
RichardBaker has quit [Quit: RichardBaker]
ryandeussing has quit [Ping timeout: 264 seconds]
Xaitec_____ has joined #ruby
i_s has joined #ruby
moshef has quit [Quit: moshef]
RichardBaker has joined #ruby
freerobby1 has joined #ruby
nbouscal has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
khismetix has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
dobry-den has joined #ruby
nbouscal has quit [Client Quit]
soba has joined #ruby
fyz1x has quit [Quit: Textual IRC Client: www.textualapp.com]
Uranio has quit [Quit: while you reading this, a kitty dies]
quoin has joined #ruby
robscomputer has quit [Remote host closed the connection]
jtgiri_ has joined #ruby
freerobby1 has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
Macaveli has joined #ruby
dash_ has quit [Quit: dash_]
altamic has joined #ruby
huoxito has joined #ruby
Al__ has quit [Read error: Connection reset by peer]
altamic has quit [Client Quit]
altamic has joined #ruby
Al__ has joined #ruby
<Todd> oh wow.. you can continuously stack negations in Ruby.. not sure why I didn't realize this before (maybe because it's useless beyond 2 negations
altamic has left #ruby [#ruby]
Xaitec_____ has quit [Remote host closed the connection]
<Todd> YO DAWG.. puts !!!!(nil.nil?) ? 'true' : 'false'
<cong> the same with can be done with ++
<Todd> and I'm obviously done working for the day
<Todd> you guys have a good weekend
* Todd packs up
<MrZYX> ! is actually a method call btw ;)
<Todd> yeah
BlakeRG has left #ruby [#ruby]
quoin has quit [Ping timeout: 264 seconds]
Al__ has quit [Read error: Connection reset by peer]
soba has quit [Ping timeout: 245 seconds]
ner0x has quit [Remote host closed the connection]
<apeiros> Todd: there's also this: !!?!?!!?!:!!?!
<apeiros> valid ruby code
Al__ has joined #ruby
<onewheelskyward> >> !!?!?!!?!:!!?!
Lewix has joined #ruby
<eval-in> onewheelskyward => /tmp/execpad-1a3d48b6dff7/source-1a3d48b6dff7:2: warning: string literal in condition ... (https://eval.in/47222)
<apeiros> it's `# => true`
<apeiros> since eval-in won't show it due to the warnings :)
* Morrolan blinks
<onewheelskyward> Ah. irb gives me three warnings and then does it.
<apeiros> eval-in does it too
<Morrolan> So, uhm. Ternary operators, and a few negotiations. How does that work. :P
<apeiros> just click on the link
<onewheelskyward> Just did.
iliketur_ has joined #ruby
<MrZYX> Morrolan: char literal: ?!
<apeiros> Morrolan: by way of ?<char> literals
<Morrolan> Huh, didn't know that one.
benlieb has joined #ruby
<apeiros> no need to learn about it. as of 1.9 it became useless.
<apeiros> IMO they should just deprecate it.
<Morrolan> >> ?a == 'a'
<eval-in> Morrolan => true (https://eval.in/47223)
<Morrolan> Well. It doesn't seem all that useful, I agree.
<MrZYX> 18>> ?a
<eval-in> MrZYX => 97 (https://eval.in/47224)
jonahR has joined #ruby
s0ny123 has joined #ruby
Al__ has quit [Read error: Connection reset by peer]
<apeiros> we could also slightly change it:
<apeiros> >> !!%!??!?!!%!??!:%!??!
sailias has quit [Quit: Leaving.]
<eval-in> apeiros => /tmp/execpad-642670d2dd90/source-642670d2dd90:2: warning: string literal in condition ... (https://eval.in/47225)
<apeiros> hm
<apeiros> >> $VERBOSE=nil; eval('!!%!??!?!!%!??!:%!??!')
<eval-in> apeiros => true (https://eval.in/47226)
<apeiros> hah!
<apeiros> silenced you!
havenwood has joined #ruby
Lewix has quit [Ping timeout: 260 seconds]
<apeiros> !!%!??!?!!%!??!:%!??!%%!??! # <-- still valid :D
<cong> >> RUBY_VERSION
<eval-in> cong => "2.0.0" (https://eval.in/47227)
hasrb has joined #ruby
Tuxist has quit [Remote host closed the connection]
ColKurtz has joined #ruby
benlieb has quit [Client Quit]
nhhagen_ has joined #ruby
auroraLTP has quit [Quit: ThrashIRC v2.9 sic populo comunicated]
c0rn has quit [Quit: Computer has gone to sleep.]
tonni has quit [Remote host closed the connection]
tonni has joined #ruby
mlpinit has quit [Remote host closed the connection]
Al__ has joined #ruby
auroraLTP has joined #ruby
snovak has quit [Remote host closed the connection]
mwmnj has quit [Ping timeout: 246 seconds]
kaldrenon has quit [Remote host closed the connection]
reset has joined #ruby
kaldrenon has joined #ruby
cads has quit [Ping timeout: 245 seconds]
BullClubMember has joined #ruby
rcedillor has left #ruby [#ruby]
elux has quit [Quit: Leaving...]
<pontiki> wth is the matter with you all?
<apeiros> it's friday
<onewheelskyward> apeiros: win!
<pontiki> hee
TIJ has joined #ruby
<apeiros> not that mattered much. will go to work tomorrow anyway, *sob*
ffranz has quit [Quit: Leaving]
kaldrenon has quit [Ping timeout: 264 seconds]
<pontiki> :(
sirupsen has joined #ruby
<pontiki> but then you can think of add permuations of punctuation that are valid ruby
sirupsen has quit [Client Quit]
<pontiki> odd*
gusnasis has quit [Ping timeout: 276 seconds]
milardovich has quit [Quit: Leaving]
nhhagen_ has quit [Ping timeout: 264 seconds]
<apeiros> no. I'll think about how to automate tests with data coming from excel, going over a legacy system, being ETL'ed into the current system, throwing them over 2 job queue servers, pushing them into a foreign external system and generate an excel report back out of it
ColKurtz has quit [Quit: Textual IRC Client: www.textualapp.com]
antulik-afk is now known as antulik
akells has quit [Remote host closed the connection]
<apeiros> oh, and the test data comes from the small set of 6 different files, covers some 2 dozen tables, involves about 10 models. all of that stuff is new (including the job queue servers). mighty fun.
Quashie_ has quit [Ping timeout: 248 seconds]
* apeiros loves stitching stuff with the proverbial hot needle
* apeiros just hates the mess it creates and that it'll most likely be him who has to clean up too =(
cads has joined #ruby
mercwithamouth has quit [Ping timeout: 240 seconds]
pentameter has quit [Remote host closed the connection]
Zolo has joined #ruby
<apeiros> and you don't want to know how little time I had (and have) to do all that stuff, *sob*
s0ny123 has quit [Quit: Lost terminal]
shredding has joined #ruby
<apeiros> </rant>
shredding has quit [Client Quit]
freerobby has quit [Quit: Leaving.]
auroraLTP has quit [Quit: ThrashIRC v2.9 sic populo comunicated]
enebo has quit [Ping timeout: 246 seconds]
auroraLTP has joined #ruby
auroraLTP has quit [Client Quit]
bean__ has quit [Quit: Computer has gone to sleep.]
kpshek has quit []
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Morrolan> Excel test data, excel reports? Welp. Where do those requirements come from?
<apeiros> Morrolan: non-programmers supply test data, non-programmers read it
BullClubMember has left #ruby ["Leaving"]
[MAN] has joined #ruby
<Morrolan> Unfortunate.
nerdy has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
iamjarvo has quit [Remote host closed the connection]
snath has quit [Read error: Operation timed out]
<apeiros> more fortunate than me having to write the test-cases (they are not test-cases in the programmatic sense)
azcodex has joined #ruby
akells has joined #ruby
<apeiros> reading excel is trivial. writing it is too.
<Morrolan> Heh, okay.
iamjarvo has joined #ruby
jonahR has quit [Quit: jonahR]
<apeiros> table = TableData.from_file('foo.xlsx', accessors: %i[foo bar baz]); table.first.foo # => "data of foo cell in row 0"
crunch-choco has quit [Quit: leaving]
carlyle has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
ldnunes has quit [Quit: Leaving]
<apeiros> and for writing, all I need is a {spreadsheet_name => [[cell, cell, cell], [cell, cell, cell], …], …} datastructure
iamjarvo has quit [Remote host closed the connection]
carlyle has joined #ruby
iamjarvo has joined #ruby
<apeiros> I could also organize it differently, but that's the one way went for this
ItSANg___ has joined #ruby
antulik is now known as antulik-afk
Al__ has quit [Ping timeout: 260 seconds]
aryaching_ has quit [Ping timeout: 240 seconds]
ItSA_____ has joined #ruby
Al__ has joined #ruby
ItS______ has joined #ruby
ItSANgo has quit [Ping timeout: 245 seconds]
ItSANgo_ has joined #ruby
carlyle has quit [Remote host closed the connection]
pinage404 has quit [Excess Flood]
reset has quit [Quit: Leaving...]
ItSANgo has joined #ruby
[MAN] has quit [Quit: http://torrent-scan.org]
reset has joined #ruby
ItSANg___ has quit [Ping timeout: 268 seconds]
havenwood has quit [Remote host closed the connection]
ItSA_____ has quit [Ping timeout: 264 seconds]
badquanta has joined #ruby
aces1up has joined #ruby
pinage404 has joined #ruby
<aces1up> hey what is the ecoding called to specify ascii8 bit
<aces1up> when you do string.encode ?
simplyaubs_ has joined #ruby
simplyaubs_ has quit [Client Quit]
v0n has quit [Ping timeout: 248 seconds]
auroraLTP has joined #ruby
auroraLTP has quit [Client Quit]
ItS______ has quit [Ping timeout: 260 seconds]
<apeiros> 'binary'
elux has joined #ruby
<aces1up> apeiros lol thats a funny name, just casue its 8-bit?
jtgiri_ has left #ruby [#ruby]
<apeiros> there is no 8bit ascii
jtgiri_ has joined #ruby
<apeiros> ascii is 7bit
Al__ has quit [Quit: Al__]
<apeiros> (yes, I know ruby aliases 'binary' to ascii-8bit - still wrong)
ItSANgo_ has quit [Ping timeout: 268 seconds]
auroraLTP has joined #ruby
auroraLTP has quit [Client Quit]
<aces1up> apeiros on default to_json encodes in ascii-8bit
angusiguess has quit [Ping timeout: 245 seconds]
<aces1up> sorry
<aces1up> binary :)
<aces1up> is there a way to tell it to encode in utf8?
<aces1up> as i'm getting errors when reloading it
<apeiros> huh?
<aces1up> that has utf8 chars in the ascii to_json specifically &nbsp character
<apeiros> >> require 'json'; JSON.dump({foo: 'bar'}).encoding
<eval-in> apeiros => (https://eval.in/47229)
<apeiros> >> require 'json'; JSON.dump({foo: 'bar'}).encoding.name
<eval-in> apeiros => (https://eval.in/47230)
<apeiros> gah
yfeldblum has quit [Ping timeout: 248 seconds]
<apeiros> anyway, utf-8 for me
<aces1up> hrmm
<aces1up> ohh
<apeiros> and afair json is specced to be utf-8
<aces1up> forgot i'm running the jruby irb
bluenemo has joined #ruby
bluenemo has joined #ruby
<aces1up> its setting to ascii
Tricon has quit [Quit: Bye!]
hackerpreneur has joined #ruby
tjad has quit [Read error: Operation timed out]
bluenemo has quit [Read error: Connection reset by peer]
<jtgiri_> hello, i am having some issues with key method for hash, it doesn't seem to work if array has multiple values, here is the https://gist.github.com/anonymous/3789188a6185864f3a98 , any ideas why this is happening?
Notte has joined #ruby
<Morrolan> Well, yes.
<Morrolan> What did you expect to happen? The associated value of 'First-One' is '["vol-e9ec0c98", "vol-e69499a6"]'
<Morrolan> And ["vol-e9ec0c98", "vol-e69499a6"] != ["vol-e9ec0c98"]
snovak has joined #ruby
<jtgiri_> i see , okay thanks
Nisstyre-laptop has joined #ruby
iamjarvo has quit [Remote host closed the connection]
iamjarvo has joined #ruby
brianpWins has joined #ruby
dagnachew has joined #ruby
<Morrolan> `b.keys.select { |key| b[key].include? "vol-e9ec0c98" }` would return you an array of all keys where 'vol-39...' is part of the value. It'll kind of blow up if the value doesn't respond to #include?, though.
snath has joined #ruby
<Morrolan> But there's probably a better way to do what you want.
BillCriswell has quit [Remote host closed the connection]
TorrentScan has joined #ruby
<apeiros> it's rather purpose-defeating to search a hash by value
iliketur_ has quit [Quit: zzzzz…..]
sarlalian has joined #ruby
iamjarvo has quit [Ping timeout: 240 seconds]
akells has quit [Remote host closed the connection]
jonathanwallace has joined #ruby
codecop has quit [Quit: Išeinu]
snovak has quit [Ping timeout: 260 seconds]
parzo has quit [Ping timeout: 240 seconds]
<jtgiri_> Morrolan: thanks i will iterate through
auroraLTP has joined #ruby
auroraLTP has quit [Client Quit]
<Morrolan> Out of curiosity, what are you working on? :)
<Morrolan> Looks a bit like LVM.
yfeldblum has joined #ruby
<jtgiri_> ec2 EBS volumes
iamjarvo has joined #ruby
c0rn has joined #ruby
freerobby has joined #ruby
<Morrolan> Ah. :)
TorrentScan has quit [Quit: http://torrent-scan.org]
musl has joined #ruby
volty has joined #ruby
covi has quit [Ping timeout: 256 seconds]
jonathanwallace has quit [Ping timeout: 264 seconds]
tenner36 has quit [Quit: tenner36]
ItSANgo_ has joined #ruby
wudofyr has quit [Read error: Connection reset by peer]
wudofyr has joined #ruby
quoin has joined #ruby
elaptics`away is now known as elaptics
mercwithamouth has joined #ruby
ItSANgo has quit [Ping timeout: 245 seconds]
mark_locklear has quit [Ping timeout: 264 seconds]
pothibo has quit [Quit: pothibo]
sarlalian has quit [Quit: WeeChat 0.4.1]
stalker34 has joined #ruby
freerobby has quit [Ping timeout: 240 seconds]
gyzmodo has quit []
JohnBat26 has quit [Ping timeout: 264 seconds]
Rym_ has joined #ruby
ItSANgo_ has quit [Ping timeout: 245 seconds]
snath has quit [Ping timeout: 264 seconds]
i_s has quit [Remote host closed the connection]
Rym has quit [Ping timeout: 268 seconds]
Rym_ is now known as Rym
snath has joined #ruby
quoin has quit [Ping timeout: 260 seconds]
covi has joined #ruby
claymore has quit [Quit: night]
breakingthings has quit []
freerobby has joined #ruby
duggiefresh has quit [Remote host closed the connection]
Aquilo has joined #ruby
Aloysius1 has joined #ruby
codezombie has quit [Quit: Linkinus - http://linkinus.com]
bigkevmcd has quit [Quit: Ex-Chat]
seynb has joined #ruby
platzhirsch has quit [Write error: Broken pipe]
havenwood has joined #ruby
platzhirsch1 has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
iliketur_ has joined #ruby
pskosinski has joined #ruby
devoldmx has joined #ruby
milardovich has joined #ruby
solidoodlesuppor has quit [Remote host closed the connection]
cpruitt has joined #ruby
ItSANgo has joined #ruby
peregrine81 has quit []
rhys has quit [Quit: Leaving]
devoldmx3 has quit [Ping timeout: 260 seconds]
rdark has quit [Quit: leaving]
<BraddPitt> is there a difference (beside syntactic) between using && and 'and' ?
<MrZYX> yes, precedence
sambao21 has quit [Quit: Computer has gone to sleep.]
<BraddPitt> ty sir
kirun has quit [Quit: Client exiting]
<platzhirsch1> BraddPitt: pitfall, for instance x = false or true evaluates to true, but x will have the value false
iamjarvo has quit [Remote host closed the connection]
iamjarvo has joined #ruby
jerius has quit [Read error: Operation timed out]
benlieb has joined #ruby
TorrentScan has joined #ruby
gusnasis has joined #ruby
<apeiros> platzhirsch1: didn't you fall into that pit? :)
benlieb has quit [Client Quit]
<platzhirsch1> apeiros: omg, why on earth do you remember that ? :P
benlieb has joined #ruby
<apeiros> awesome memory
mercwithamouth has quit [Ping timeout: 264 seconds]
platzhirsch1 is now known as platzhirsch
<apeiros> sadly not eidetic
TorrentScan has quit [Client Quit]
devoldmx3 has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
mrsolo has joined #ruby
iamjarvo has quit [Ping timeout: 260 seconds]
MrThePlague has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
mmitchell has quit [Remote host closed the connection]
osvico has joined #ruby
gusnasis has quit [Ping timeout: 245 seconds]
devoldmx has joined #ruby
RORgasm has quit [Remote host closed the connection]
<atmosx> modifier-until?
apeiros has quit [Remote host closed the connection]
i_s has joined #ruby
<atmosx> ah got there's an example
apeiros has joined #ruby
mercwithamouth has joined #ruby
peregrine81 has joined #ruby
<badquanta> I'm trying to figure out how to 'attach_function' a variable length argument function with FFI. Any pointers? My searching hasn't uncovered the topic yet.
i_s has quit [Remote host closed the connection]
devoldmx3 has quit [Ping timeout: 264 seconds]
devoldmx27 has joined #ruby
RORgasm has joined #ruby
i_s has joined #ruby
Collin has joined #ruby
JumpMast3r has quit [Quit: JumpMast3r]
<Collin> http://codepad.org/zlxVCXNe Does anyone have any idea what's wrong with my native extension? It compiles into 'rflac.so', then I run irb and type "require './rflac.so'", which returns true, but it says that rflac is undefined
devoldmx has quit [Read error: Connection reset by peer]
<Collin> If I try to use it afterwards, that is
rcosta_ has joined #ruby
rcosta has quit [Ping timeout: 260 seconds]
zz_michael_mbp has quit [Quit: ZNC - http://znc.sourceforge.net]
DanBoy has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
ksh has quit [Ping timeout: 240 seconds]
Kabaka has quit [Ping timeout: 240 seconds]
zz_michael_mbp has joined #ruby
zz_michael_mbp is now known as michael_mbp
jonahR has joined #ruby
DanBoy has joined #ruby
Kabaka has joined #ruby
snovak has joined #ruby
CoffeeBean has joined #ruby
azcodex has quit [Quit: azcodex]
DrShoggoth has quit [Ping timeout: 276 seconds]
CoffeeBean has quit [Client Quit]
<volty> Collin: if I remember well you have to require the ruby file and the .so is loaded automatically
<workmad3> Collin: chances are you'll need to define the module as Rflac, not rflac
ksh has joined #ruby
<volty> i can't remember to have required the .so file directly
<workmad3> Collin: rflac is a local variable or method name, not a constant, so its scope is going to be wrong
devoldmx has joined #ruby
jefflyne has quit [Ping timeout: 246 seconds]
<Collin> Oh right, I'll try casing
<Collin> The tutorials all say to require the .so directly
<volty> sorry, probably i'm messing with my memory
Notte has quit [Remote host closed the connection]
julian-delphiki has joined #ruby
<Collin> Yes, casing fixed it, thanks
snovak has quit [Ping timeout: 264 seconds]
<workmad3> volty: most gems with native extensions have a ruby file in lib/ that then goes and requires the .so file ;)
lfox has quit [Quit: ZZZzzz…]
jonahR has quit [Quit: jonahR]
<workmad3> volty,Collin: I believe that ruby doesn't need you to put the .so extension in the require though
<Collin> It might not, I'm just fighting with mingw :(
devoldmx27 has quit [Ping timeout: 268 seconds]
<volty> yes workmad3 - probably that confused me, time ago i did write something to fix a missing feature in qtruby
Astralum has joined #ruby
bean has quit [Ping timeout: 246 seconds]
<volty> yes, i didn't put the .so suffix, though i don't remember if ruby loads an .rb with the same name together
<volty> - if present
blackmesa has joined #ruby
mansi has quit [Remote host closed the connection]
atmosx has quit [Quit: Lost in trance]
mansi has joined #ruby
lfox has joined #ruby
<volty> Collin: could you try pls? (require ./rflac and place there an rflac.rb with «puts 'hi from rflac.rb'» ) - to see if ruby loads both
mary5030 has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 245 seconds]
wallerdev has quit [Quit: wallerdev]
hackerpreneur has quit [Quit: Need instant coding help? --> www.airpair.com]
quoin has joined #ruby
hackerpreneur has joined #ruby
hackerpreneur has quit [Max SendQ exceeded]
cpruitt has quit [Ping timeout: 260 seconds]
pel_daniel has left #ruby [#ruby]
nanoxd has joined #ruby
hackerpreneur has joined #ruby
hackerpreneur has quit [Max SendQ exceeded]
hackerpreneur has joined #ruby
hackerpreneur has quit [Max SendQ exceeded]
Nisstyre-laptop is now known as Nisstyre
iliketur_ has quit [Quit: zzzzz…..]
jonathanwallace has joined #ruby
ardex4137 has quit [Ping timeout: 250 seconds]
jdolitsky1 has joined #ruby
hackerpreneur has joined #ruby
quoin has quit [Ping timeout: 264 seconds]
samsden has quit [Quit: Computer has gone to sleep.]
hasrb has quit [Remote host closed the connection]
c0rn has quit [Quit: Computer has gone to sleep.]
MrZYX is now known as MrZYX|off
smathieu has quit [Remote host closed the connection]
rezzack has joined #ruby
peregrine81 has quit []
<RubyPanther> I would say that is false, native extensions do not normally have a .rb that loads the .so
jonathanwallace has quit [Ping timeout: 260 seconds]
<RubyPanther> there should be an extconf.rb in a dir normally called ext/ and that is normally the only .rb
mrsolo has quit [Quit: This computer has gone to sleep]
prime has quit [Read error: Connection reset by peer]
prime has joined #ruby
mansi has joined #ruby
undert has quit [Ping timeout: 240 seconds]
mansi has quit [Remote host closed the connection]
jdolitsky1 has quit [Quit: Leaving.]
<Collin> Since Ruby doesn't have a boolean, what would I expect to be passed when I want true/false?
mansi has joined #ruby
<volty> here i have Qt.rb that loads qtruby4 - and there are /usr/lib/ruby/1.8/Qt/qtruby4.rb and /usr/lib/ruby/1.8/x86_64-linux/qtruby4.so
baron_underscore has joined #ruby
ericmathison has joined #ruby
<volty> Collin: true is whatever is not false or nil
tabolario has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blackmesa has quit [Ping timeout: 240 seconds]
jdolitsky1 has joined #ruby
jdolitsky1 has quit [Max SendQ exceeded]
tylersmith has quit [Remote host closed the connection]
<Collin> For a native extension, rather
<Collin> I have no idea what to do with my VALUE :(
jdolitsky1 has joined #ruby
undert has joined #ruby
<Collin> Maybe there's good documentation somewhere, but I can't seem to find it
jdolitsky1 has quit [Client Quit]
iliketur_ has joined #ruby
<workmad3> Collin: also, ruby does have a Boolean type
<workmad3> Collin: and true/false values
freerobby has quit [Quit: Leaving.]
<Collin> Native extensions might not support it, I guess
<volty> RubyPanther: maybe i didn't get what were you saying ?
<Collin> It seems the correct way to check if a parameter is true is RTEST(value)
<RubyPanther> volty: I can't really parse that into a question about what I said
<workmad3> Collin: well, C didn't have a standard 'bool' until C99, iirc :)
<banisterfiend> RubyPanther what are you doing with yourself these days?
<Collin> Good point
<volty> RubyPanther: ah! Ok, i cannot join that
mansi has quit [Ping timeout: 268 seconds]
<RubyPanther> normally there is a line in the gemspec that says something like s.extensions << 'ext/dec_number/extconf.rb' and that is why the extension gets loaded when you do like require 'mygem'
nanoxd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<RubyPanther> but if you're loading it by hand you have to do load() not require()
scrogson has left #ruby ["Auf Wiedersehen"]
<jrobeson> there are more than a few option parser libraries out there.. anybody have a favorite?
<jrobeson> cli option *
Ox6abe has joined #ruby
<volty> RubyPanther: ah - with gems // anyway i'll make sure that ruby loads both when i recompile my old extensions ...
<RubyPanther> jrobeson: optparse
<jrobeson> there's also a whole wrapper for the interface like thor? i haven't really heard of it for many years.. so not sure if people really use it other than rails
<RubyPanther> jrobeson: the typical best practice is not to add dependencies unless there is a good reason
<volty> I'm fine with optparse
<r0bgleeson> jrobeson: slop is good
<jrobeson> slop hehe
<jrobeson> search google for.. ruby slop :)
<jrobeson> hehe
<r0bgleeson> github.com/injekt/slop
<jrobeson> yeah i found it.. i just found the idea funny
<r0bgleeson> yeah
<r0bgleeson> he has a history of bad project names
<r0bgleeson> cinch was one
<dominikh> a mistake I inherited.
<jrobeson> RubyPanther, i did want something that handles the banner stuff and formatting that.. i really don't care for implementing it myself
<jrobeson> so.. slop seems like it does that
MiguelGD has joined #ruby
<jrobeson> r0bgleeson, yeah we use cinch in #reddit-portland
<jrobeson> a cinch bot..
tatsuya_o has quit [Remote host closed the connection]
<r0bgleeson> jrobeson: i think it's going to be re-released in Go
benlieb has quit [Quit: benlieb]
<r0bgleeson> and abandoned
<RubyPanther> optparse gives you a free banner in opts.to_s
<dominikh> RubyPanther:
RichardBaker has quit [Quit: RichardBaker]
<dominikh> eh, sorry, wrong key
<dominikh> r0bgleeson: what is?
<r0bgleeson> cinch
workmad3 is now known as wm3|zzz
<dominikh> r0bgleeson: a) I have no intentions to release Cinch in Go b) Cinch in Ruby is not abandoned.
<banisterfiend> dominikh i heard that too, about the Go rewrite
agjacome has joined #ruby
<r0bgleeson> dominikh: it was a joke ;)
<dominikh> well, a bad one if I might say :P
flarerine is now known as octarine
Guest39823 has quit [Ping timeout: 245 seconds]
<r0bgleeson> so you havent given up on ruby?
snovak has joined #ruby
agjacome has quit [Client Quit]
<dominikh> oh, I absolutely have
<dominikh> but I maintain and manage Cinch still
<r0bgleeson> why? =)
<dominikh> which part
rads has quit [Quit: rads]
<r0bgleeson> why maintain and manage cinch if you have given up on ruby
benlieb has joined #ruby
<dominikh> because people still use it?
bio has joined #ruby
bio is now known as Guest24358
<r0bgleeson> thats a good reason i guess
<r0bgleeson> normally open source is for projects you have fun with
<dominikh> maintaining means fixing bugs, and managing means talking to people who want to add features
<r0bgleeson> if youre not enjoying it anymore or the language is boring..
tomzx_mac has joined #ruby
<r0bgleeson> fair enough
<dominikh> meh, I can have fun with code without open sourcing it. if I open source something and invite people to use it, I have some sort of responsibility :)
<dominikh> *cough* just like the article I should've published 14 hours ago
<r0bgleeson> but thats open source, if the maintainer doesn't have the will or energy to innovate and produce new ideas, people who use it can, and if they dont, they'll create something else
<r0bgleeson> i wouldnt feel obligated
<dominikh> less obligation than good manners, I guess.
<r0bgleeson> what are you creating in go?
<dominikh> nothing in particular (apart from an XMPP library). more involved in the community I guess
<r0bgleeson> is there much of a ecosystem for code sharing?
bookmage has quit [Remote host closed the connection]
xk_id has joined #ruby
<banisterfiend> dominikh have you looked at haskell?
<dominikh> banisterfiend: briefly.
<banisterfiend> It's even cooler than Go, IMO. You feel like you're actually doing computer science programming in it, rather than just clusterfucking things together until they work
<dominikh> r0bgleeson: in a way, yes, in a way, no. there's no centralized system like rubygems, but a centralized system like rubydoc with a listing of projects. it's more word of mouth for libraries
<dominikh> banisterfiend: I prefer getting things done over "computer science" which means just twisting your brain until you understand monads and found some way to express your thought as a long chain of pure function calls ;)
<dominikh> right now I have less interest in innovation than I have in practicality.
<banisterfiend> dominikh if you can do both at the time it's even better (getting things done + doing it elegantly with functional purity)
<banisterfiend> nd monads aren't that hard
jonahR has joined #ruby
<dominikh> nevertheless, not my thing :)
<banisterfiend> they're haskell 101, haskell gets interesting when you learn about arrows and comonads, and so on
<dominikh> in the meantime I learned a different language in an evening and just do stuff ;)
Ox6abe has quit [Remote host closed the connection]
Guest24358 has quit [Ping timeout: 264 seconds]
<r0bgleeson> you learnt go in a night?
<dominikh> r0bgleeson: 90% of it can be learned by reading, in a day. the rest is learnt by writing her first 1-3 projects.
<dominikh> *your
<r0bgleeson> who is this she you speak of
<banisterfiend> his programming muse
<r0bgleeson> i heard the Go spec was what people read to learn it
<dominikh> it's part of it, yes. together with the interactive tour for an introduction and "effective go" that's a high level approach to teaching idioms and mechanics
chairabanta has quit [Quit: Linkinus - http://linkinus.com]
<r0bgleeson> ive got nothing but +1 for go from the people ive talked to who learnt it
<dominikh> for people coming from C-like languages, there are probably two major concepts to study, for Ruby/Python/etc it's probably three or four
<r0bgleeson> what are those concepts?
rcosta_ has quit [Read error: Connection reset by peer]
Lewix_ has quit [Remote host closed the connection]
simplyaubs has quit [Quit: simplyaubs]
bio- has joined #ruby
<dominikh> Go's take at CSP and concurrency; structural programming with interfaces, being closer to memory and the system, less magic and less hidden costs but instead more explicit code
<banisterfiend> dominikh you mean CPS ?
zeade has quit [Quit: Leaving.]
<banisterfiend> oh no, CSP
mrsolo has joined #ruby
predator217 has quit [Ping timeout: 246 seconds]
TIJ has quit [Read error: Connection reset by peer]
qhartman has quit [Quit: Ex-Chat]
TIJ has joined #ruby
shtirlic_ has joined #ruby
shtirlic_ has quit [Remote host closed the connection]
shtirlic_ has joined #ruby
shtirlic_ has quit [Client Quit]
<banisterfiend> dominikh does go also have STM ?
<dominikh> banisterfiend: no.
hackerpreneur has quit [Ping timeout: 268 seconds]
<banisterfiend> STM seems to be the approach that clojure/scala/haskell are emphasizing
<dominikh> yup
m8 has quit [Quit: Sto andando via]
lfox has quit [Quit: ZZZzzz…]
ehc has quit [Quit: ehc]
<banisterfiend> even though (afaict) many of them support go-style concurrency
predator117 has joined #ruby
chairabanta has joined #ruby
<dominikh> clojure recently copied Go's way, yes
<dominikh> not sure about the others
<banisterfiend> dominikh do you know whether web-workers were also influenced?
<banisterfiend> it seems kind of similar
bio- has quit [Ping timeout: 245 seconds]
<dominikh> pretty sure web workers are more driven by the callback stuff JS had going on for a long time ;)
bio- has joined #ruby
samsden has joined #ruby
<banisterfiend> well, you create a worker, and then you can only communicate with it via message passing down a channel
ehc has joined #ruby
ehc has quit [Client Quit]
<dominikh> only there aren't really channels
ehc has joined #ruby
ehc has quit [Client Quit]
iliketur_ has quit [Quit: zzzzz…..]
elaptics is now known as elaptics`away
askhader has left #ruby [#ruby]
samsden has quit [Client Quit]
hackerpreneur has joined #ruby
<dominikh> not all message passing is CSP.
baron_underscore has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
Tricon has joined #ruby
shtirlic has quit [Quit: ZNC - http://znc.in]
<Eiam> banisterfiend: adding pry-rescue & pry-stackexplorer & pry-byebug seems to have regressed my pry experience
<banisterfiend> Eiam why fren
shtirlic has joined #ruby
alekst has quit [Quit: Leaving...]
<banisterfiend> Eiam what's happening?
<Eiam> ran into https://github.com/pry/pry/issues/694 ,uninstalled the pry-nav gem (even though its not in my gem file so not sure why its being loaded )
shtirlic has quit [Client Quit]
tricon_ has joined #ruby
<Eiam> ffuuccck
julian-delphiki has quit [Quit: Leaving]
<Eiam> and now non stop redis timeouts grr
<Eiam> that can't possibly be related
quoin has joined #ruby
<banisterfiend> Eiam what other pry plugins do u have installed?
<Eiam> going to blow away my VM & recreate it this is bullshit
<Eiam> pry --installed-plugins says
<Eiam> byebug, rescue, stack_explorer
<banisterfiend> Eiam weird, they should be fine together
iliketur_ has joined #ruby
<Eiam> going to vagrant provision and recreate the world & try it again
<Eiam> then start removing stuff i added
<Eiam> word I hear ya, I was super excited to wire up pry-rescue
<Eiam> I setup Padrino.use PryRescue::Rack
dagnachew has quit [Quit: Leaving]
IanV_ has joined #ruby
Tricon has quit [Ping timeout: 240 seconds]
bio- has quit [Ping timeout: 264 seconds]
Cyrus has joined #ruby
JumpMast3r has joined #ruby
<Eiam> I'll log an issue if removing it ends up fixing the issue.. for now I just uninstalled the pry-nav gem
bio has joined #ruby
bio is now known as Guest74078
askhader has joined #ruby
quoin has quit [Ping timeout: 260 seconds]
Ox6abe has joined #ruby
<askhader> I'm having trouble installing a bundle, has anyone seen this error before? https://gist.github.com/sorter/62ebc21a3762e1472d35
tricon_ has quit [Quit: Leaving...]
shtirlic has joined #ruby
xk_id has quit [Quit:
i_s has quit [Remote host closed the connection]
brianpWins has quit [Quit: brianpWins]