ChanServ changed the topic of #ruby-lang to: Ruby 1.9.3-p125: http://ruby-lang.org | Paste >3 lines of text on http://pastie.org or use a gist
<shachaf> Man, if only git had a feature where you could have a copy of your repository somewhere other than github!
aetcore has quit [Remote host closed the connection]
<manveru> just got home, wanted continue from where i left off, and then they went down
<erikh> I think we need git servers that transcend the CAP theorem
sent-hil has joined #ruby-lang
<manveru> mongogit
<manveru> only 0.4% CAP
<erikh> yeah but it doesn't save anything when you push
<manveru> and fat free to reduce chance of stroke
<manveru> who cares, it's fast
cardoni has joined #ruby-lang
<manveru> actually using mongo, with quorum of 3 and fsync, and still not feeling safe :(
ledentist has left #ruby-lang [#ruby-lang]
<manveru> but it does slow things down so you can spend a lot of time pondering why you're using that garbage to begin with
<erikh> we're using mongo here too
<erikh> I'm going to decline to comment further on how I feel about it
tridge has quit [Remote host closed the connection]
swarley has quit [Read error: Operation timed out]
tridge has joined #ruby-lang
brunocoelho has joined #ruby-lang
sent-hil has quit [Remote host closed the connection]
wyhaines has quit [Remote host closed the connection]
solars has quit [Ping timeout: 264 seconds]
spuk has joined #ruby-lang
sent-hil has joined #ruby-lang
cirenyc has joined #ruby-lang
BlaXpirit has quit [Quit: Quit Konversation]
datanoise has quit [Ping timeout: 265 seconds]
tridge has quit [Remote host closed the connection]
brunocoelho has quit [Remote host closed the connection]
mistym is now known as mistym_away
<zenspider> rawr
solars has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
slyphon has joined #ruby-lang
havenn has quit [Read error: Connection reset by peer]
leopard_me has joined #ruby-lang
havenn has joined #ruby-lang
imperator has joined #ruby-lang
bluepojo has quit [Quit: Leaving.]
brianpWins has quit [Ping timeout: 244 seconds]
thone_ has joined #ruby-lang
havenn has quit [Read error: Connection reset by peer]
bluepojo has joined #ruby-lang
havenn has joined #ruby-lang
thone has quit [Ping timeout: 264 seconds]
marcury has quit [Ping timeout: 250 seconds]
postmodern has quit [Remote host closed the connection]
lsegal has joined #ruby-lang
postmodern has joined #ruby-lang
marcury has joined #ruby-lang
ledentist has joined #ruby-lang
cardoni has quit [Quit: cardoni]
afgeneralist has quit [Ping timeout: 255 seconds]
voker57 has joined #ruby-lang
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
datanoise has joined #ruby-lang
ledentist has left #ruby-lang [#ruby-lang]
g0bl1n has quit [Quit: g0bl1n]
datanoise has quit [Ping timeout: 244 seconds]
gsav has joined #ruby-lang
mrsolo has quit [Quit: Leaving]
mistym_away is now known as mistym
cirenyc has quit [Quit: Leaving...]
Quatrerwin has joined #ruby-lang
brianpWins has joined #ruby-lang
brianpWins has quit [Client Quit]
sent-hil has quit [Remote host closed the connection]
sent-hil has joined #ruby-lang
sent-hil has quit [Remote host closed the connection]
leopard_me has quit [Quit: Computer has gone to sleep.]
dalekurt has joined #ruby-lang
methods has joined #ruby-lang
krohrbaugh has quit [Quit: Leaving.]
titaniumNoob has quit [Quit: Leaving]
datanoise has joined #ruby-lang
bluepojo has quit [Quit: Leaving.]
bluepojo has joined #ruby-lang
datanoise has quit [Ping timeout: 256 seconds]
foucist has joined #ruby-lang
intellitech has quit [Quit: Leaving]
gsav has quit [Read error: Connection reset by peer]
gsav has joined #ruby-lang
gsav has quit [Client Quit]
gsav has joined #ruby-lang
charliesome has joined #ruby-lang
robotmay has quit [Ping timeout: 246 seconds]
banisterfiend has quit [Remote host closed the connection]
BigO has joined #ruby-lang
BigO has quit [Remote host closed the connection]
hahuang65 has joined #ruby-lang
jackhammer2022 has quit [Quit: logging back in 10 mins]
cardoni has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
adamjleonard has joined #ruby-lang
krohrbaugh has joined #ruby-lang
marcury has quit [Ping timeout: 255 seconds]
ryanlecompte has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
adamjleonard has quit [Quit: Linkinus - http://linkinus.com]
postmodern has joined #ruby-lang
tridge has joined #ruby-lang
tridge_ has joined #ruby-lang
madish has quit [Quit: ChatZilla 0.9.89 [Firefox 16.0.1/20121026125834]]
towski_ has quit [Remote host closed the connection]
tridge has quit [Ping timeout: 265 seconds]
achiu1 is now known as achiu
blazes816 has quit [Quit: blazes816]
methods has left #ruby-lang [#ruby-lang]
dalekurt has quit [Quit: Zzz...]
havenn has quit [Read error: Connection reset by peer]
<foucist> hey folks.. if i'm using the Hash.new{ |h,k| h[k] = Hash.new(&h.default_proc) } trick, i can't use the (x ||= [ ]) << y pattern with that since || = [] won't work with that auto hash heh
<foucist> any ideas?
methods1 has joined #ruby-lang
<whitequark> foucist: don't use that trick?
<heftig> (x[:foo].key?(:baz)? x[:foo][:baz] : x[:foo][:baz] = [])
cardoni has quit [Quit: cardoni]
<heftig> you have to test for the presence of the key explicitly before trying to access it
<imperator> what's your goal here?
hahuang65 has quit [Quit: Computer has gone to sleep.]
hahuang65 has joined #ruby-lang
<foucist> trying to add 1 or more entries to the deepest leaf for each branch of a tree
<heftig> are you building a b-tree?
hahuang65 has quit [Client Quit]
simi has joined #ruby-lang
cardoni has joined #ruby-lang
greg- has joined #ruby-lang
towski has joined #ruby-lang
cardoni has quit [Ping timeout: 246 seconds]
EvilJStoker has quit [Excess Flood]
methods1 has quit [Quit: Leaving.]
<foucist> heftig: don't think so.. just a nested hash/tree afaik :P but i think i got it working anyways
<foucist> only issue i have now is that it's just creating an extra empty hash at the end of every branch heh
<foucist> but otherwise it's great
<foucist> heftig: here's my code http://pastie.org/5461211
<foucist> any idea about preventing those extra empty hashes? heh
kurko_ has joined #ruby-lang
alvaro_o has quit [Quit: Ex-Chat]
<foucist> hrm, i guess i could just create a hash and give it to the sub
<foucist> erm, no
towski has quit [Remote host closed the connection]
swarley has joined #ruby-lang
imperator has quit [Quit: Valete!]
marcury has joined #ruby-lang
gsav_ has joined #ruby-lang
gsav has quit [Read error: Connection reset by peer]
<foucist> got it :) just need a sub.default = nil to cancel the proc
kurko_ has quit [Quit: Computer has gone to sleep.]
EvilJStoker_ has joined #ruby-lang
kurko_ has joined #ruby-lang
dalekurt has joined #ruby-lang
richardjortega has joined #ruby-lang
<richardjortega> hello
davidbalbert is now known as davidbalber|away
Elico has joined #ruby-lang
faustman has quit [Ping timeout: 248 seconds]
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby-lang
chendo has quit [Ping timeout: 252 seconds]
chendo_ has joined #ruby-lang
marcury has quit [Ping timeout: 265 seconds]
bluepojo has quit [Quit: Leaving.]
bluepojo has joined #ruby-lang
catepillar has quit [Read error: Connection reset by peer]
BigO has joined #ruby-lang
chendo_ has quit [Ping timeout: 265 seconds]
chendo_ has joined #ruby-lang
bluepojo has quit [Ping timeout: 265 seconds]
EvilJStoker_ is now known as EvilJStoker
catepillar has joined #ruby-lang
chendo_ has quit [Remote host closed the connection]
chendo_ has joined #ruby-lang
sush24_ has joined #ruby-lang
kurko_ has quit [Ping timeout: 265 seconds]
key has joined #ruby-lang
BigO has quit [Remote host closed the connection]
kurko_ has joined #ruby-lang
ryanlecompte has joined #ruby-lang
elight has joined #ruby-lang
elight has quit [Remote host closed the connection]
swarley has quit [Ping timeout: 264 seconds]
kurko_ has quit [Ping timeout: 265 seconds]
kurko_ has joined #ruby-lang
TwinkleHood has joined #ruby-lang
<TwinkleHood> Evening lovely rubyfolk
kurko_ has quit [Quit: Computer has gone to sleep.]
ryanf has joined #ruby-lang
CrazyHorse18 has joined #ruby-lang
<CrazyHorse18> damn
<CrazyHorse18> google was too quick.. sorry guys
<CrazyHorse18> was trying to work out how to set instance variables in side an instance
<CrazyHorse18> inside*
<CrazyHorse18> for a test
<CrazyHorse18> instance_eval
sepp2k1 has quit [Remote host closed the connection]
krohrbaugh has quit [Quit: Leaving.]
<CrazyHorse18> hmmm peoples say adding an accessor and using stubs is better
TwinkleHood has quit [Quit: Ex-Chat]
charliesome has quit [Ping timeout: 265 seconds]
charliesome has joined #ruby-lang
rohit_ has joined #ruby-lang
greg- has quit [Quit: greg-]
sn0wb1rd has joined #ruby-lang
jackhammer2022 has joined #ruby-lang
cardoni has joined #ruby-lang
tockitj_ has quit [Remote host closed the connection]
rohit_ has quit [Quit: Leaving]
UC has quit []
rohit has joined #ruby-lang
rohit has quit [Read error: Connection reset by peer]
towski has joined #ruby-lang
Hakon has quit [Quit: Leaving...]
mistym has quit [Remote host closed the connection]
ryanf_ has joined #ruby-lang
ryanf has quit [Ping timeout: 255 seconds]
<foucist> anyone have an idea on how to sort an ordered hash by keys, given an array of keys in expected order? order = ["foo", "bar"] hash = {"bar" => "blah", "foo" => "bleh"}
<foucist> er nm, that's dumb, i can just use the index value
towski has quit [Remote host closed the connection]
datanoise has joined #ruby-lang
ryanf_ has quit [Quit: broken pipes |||]
crackit__ has joined #ruby-lang
crackit__ has quit [Client Quit]
ryanf has joined #ruby-lang
sush24_ has quit [Quit: This computer has gone to sleep]
rohit has joined #ruby-lang
tonni_ has quit [Remote host closed the connection]
ryanlecompte has quit [Remote host closed the connection]
tridge has joined #ruby-lang
seydar has joined #ruby-lang
<seydar> Mon_Ouie: ping
nitty has joined #ruby-lang
tridge_ has quit [Ping timeout: 265 seconds]
nitty has quit [Ping timeout: 248 seconds]
seydar has quit [Quit: leaving]
marcury has joined #ruby-lang
nitty has joined #ruby-lang
datanoise has quit [Ping timeout: 260 seconds]
sush24_ has joined #ruby-lang
towski has joined #ruby-lang
m3nd3s has quit [Remote host closed the connection]
key has quit [Remote host closed the connection]
key has joined #ruby-lang
gregmor__ has quit [Remote host closed the connection]
marcury has quit [Ping timeout: 256 seconds]
towski has quit [Remote host closed the connection]
Nisstyre has quit [Quit: Leaving]
rohit has quit [Ping timeout: 260 seconds]
rue has quit [Remote host closed the connection]
rue has joined #ruby-lang
cardoni has quit [Quit: cardoni]
datanoise has joined #ruby-lang
kentos has quit [Ping timeout: 264 seconds]
nitty has quit [Quit: Leaving]
datanoise has quit [Ping timeout: 250 seconds]
Nisstyre has joined #ruby-lang
davidbalber|away is now known as davidbalbert
<rue> CrazyHorse18: #instance_variable_set
rippa has joined #ruby-lang
jsilver has joined #ruby-lang
ryanlecompte has joined #ruby-lang
kentos has joined #ruby-lang
davidbalbert is now known as davidbalber|away
ebouchut_ has joined #ruby-lang
ebouchut_ has quit [Client Quit]
ryanlecompte has quit [Ping timeout: 256 seconds]
tridge has quit [Remote host closed the connection]
sush24_ has quit [Ping timeout: 265 seconds]
rekky has joined #ruby-lang
sush24_ has joined #ruby-lang
gsav_ has quit [Read error: Connection reset by peer]
<CrazyHorse18> is there anything like try
<CrazyHorse18> so if i have try(somethign).whatever.whatever.whatever
<CrazyHorse18> that will return nil the first time it doesn't evaluate
<CrazyHorse18> rather than having to go try(:something).try(:whatever)
<CrazyHorse18> etc
<ryanf> CrazyHorse18: http://andand.rubyforge.org/, kind of
<ryanf> the syntax you described isn't quite possible, but you could implement something like try(something).whatever.whatever.whatever.value
<ryanf> that would be cool actually
<ryanf> people would use the word "monad" in describing it
<apeiros_> does try allow to use it with a block?
<apeiros_> e.g. foo.try(:bar) { |x| x.baz.quuz }
<ryanf> afaik
<CrazyHorse18> really
<CrazyHorse18> ok lets try
<CrazyHorse18> yaaaay
<CrazyHorse18> try :)
<CrazyHorse18> apeiros: that worked
<CrazyHorse18> thanks buddy
krz has joined #ruby-lang
<ryanf> class Tryer; attr_accessor :value; def initialize(value); @value = value; end; def method_missing(method_name, *args, &block); if @value; Tryer.new(@value.send(method_name, *args, &block)); else; self; end; end
<ryanf> Tryer.new('string').upcase.match(/nothing/).downcase.value
<ryanf> haven't tried running it yet though
replore has joined #ruby-lang
<ryanf> cool, it works
<ryanf> except I left off an "end"
<apeiros_> in ruby 2.0, you could do a refinement on nil
<apeiros_> and do: try { foo.bar.baz.quuz }
<ryanf> well, not anymore since matz gimped the spec
* apeiros_ gotta install ruby 2.0 and *try* that :D
gsav has joined #ruby-lang
<TTilus> harhar
solars has quit [Ping timeout: 265 seconds]
Asher has quit [Ping timeout: 255 seconds]
Asher1 has joined #ruby-lang
Asher1 has quit [Client Quit]
Asher has joined #ruby-lang
<erikh> oh
<erikh> hm
<erikh> in this vein, maybe you guys will find this useful
jackhammer2022 has quit [Quit: Computer has gone to sleep.]
<erikh> it generates a recording object that just records all calls against it and returns or yields ... another recording object
<erikh> then you can replay it against an actual object
<erikh> the code should be able to track call ordering too if you use an array instead of a hash for the tracing
<ryanf> erikh: cool
<erikh> for my needs the hash works
<erikh> but it shouldn't be too hard to modify
<erikh> bonus: you can marshal the recording
<erikh> (which is actually what I do with it)
<ryanf> oh, that's pretty neat. I was contemplating use cases but didn't think of that one
<erikh> well in my case, vagrant isn't flexible enough to work without a vagrantfile
cardoni has joined #ruby-lang
<erikh> and I'll spare you a lot of ranting and just say after a lot of attempts to do it other ways, including pull requests, this solved my problem
<erikh> so I marshal it, template it into a vagrantfile that does nothing but evaluate it against the config object that vagrant gives you in there
<erikh> and.. voila. dynamic jails.
sharma__ has joined #ruby-lang
sush24_ has quit [Ping timeout: 260 seconds]
<TTilus> i remember using the same kind of approach when i needed to postpone starting of a scheduler (or something like that) which had conf bricked together with start
<TTilus> passed a proxy to configurator and replayed the result later
<erikh> it was fun to write
<erikh> pretty rare that I can justify overly clever code like that
sush24_ has joined #ruby-lang
sharma__ has quit [Ping timeout: 250 seconds]
krz has quit [Quit: krz]
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
<TTilus> remember having the same feeling :)
dc5ala has joined #ruby-lang
gsav has quit [Read error: Connection reset by peer]
<erikh> heh
<erikh> anyone decent with autoconf in here?
sush24_ has quit [Ping timeout: 255 seconds]
Nisstyre has quit [Quit: Leaving]
Nisstyre has joined #ruby-lang
earthquake has quit [Quit: earthquake]
earthquake has joined #ruby-lang
adambeynon has joined #ruby-lang
sush24_ has joined #ruby-lang
BlaXpirit has joined #ruby-lang
ebouchut_ has joined #ruby-lang
key has quit [Ping timeout: 260 seconds]
key has joined #ruby-lang
s1n4 has joined #ruby-lang
ebouchut_ has quit [Quit: This computer has gone to sleep]
rippa has quit [Ping timeout: 260 seconds]
mame0 has quit [Quit: Tiarra 0.1+svn-36726: SIGINT received; exit]
replore has quit [Remote host closed the connection]
kentos has quit [Ping timeout: 244 seconds]
rekky has quit [Quit: rekky]
mame0 has joined #ruby-lang
replore has joined #ruby-lang
Nisstyre is now known as whitef
kuja has quit [Quit: ZNC - http://znc.sourceforge.net]
whitef is now known as Nisstyre
randym has quit [Quit: Connection closed for inactivity]
kuja has joined #ruby-lang
foca has quit [*.net *.split]
reactormonk has quit [*.net *.split]
spike|spiegel has quit [*.net *.split]
sj26 has quit [*.net *.split]
meizaps has quit [*.net *.split]
nick_h has quit [*.net *.split]
eban has quit [*.net *.split]
tris has quit [*.net *.split]
wasnotrice has quit [*.net *.split]
jwollert has quit [*.net *.split]
yugui_zzz has quit [*.net *.split]
znouza has quit [*.net *.split]
zz_chrismcg has quit [*.net *.split]
kentos has joined #ruby-lang
foca has joined #ruby-lang
spike|spiegel has joined #ruby-lang
reactormonk has joined #ruby-lang
sj26 has joined #ruby-lang
meizaps has joined #ruby-lang
nick_h has joined #ruby-lang
eban has joined #ruby-lang
tris has joined #ruby-lang
wasnotrice has joined #ruby-lang
zz_chrismcg has joined #ruby-lang
jwollert has joined #ruby-lang
yugui_zzz has joined #ruby-lang
znouza has joined #ruby-lang
rekky has joined #ruby-lang
bryno has quit [Ping timeout: 260 seconds]
bryno has joined #ruby-lang
erikh has quit [Quit: ZNC - http://znc.sourceforge.net]
s1n4 has quit [Quit: leaving]
faustman has joined #ruby-lang
kuja has quit [Read error: Connection timed out]
postmodern has quit [Ping timeout: 256 seconds]
joast has quit [Read error: Connection timed out]
replore has quit [Remote host closed the connection]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
solars has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
ryanf has quit [Quit: leaving]
BlaXpirit has quit [Quit: Quit Konversation]
tbuehlmann has joined #ruby-lang
s1n4 has joined #ruby-lang
ebouchut_ has joined #ruby-lang
mars777 has quit [Quit: mars777]
madish has joined #ruby-lang
amaya_ has joined #ruby-lang
ebouchut_ has quit [Quit: This computer has gone to sleep]
ebouchut_ has joined #ruby-lang
rekky has quit [Quit: rekky]
ebouchut_ has quit [Quit: This computer has gone to sleep]
Banistergalaxy has joined #ruby-lang
Guedes has quit [Ping timeout: 245 seconds]
znz_jp has quit [Quit: kill -QUIT $$]
<kke> isn't the syntax for named arguments and hashes the same? how does 2.0 differentiate between foo(foo: 1, bar: 2) and foo({foo: 1, bar: 2}) ?
tjadc has joined #ruby-lang
znz_jp has joined #ruby-lang
blacktulip has joined #ruby-lang
Axsuul has quit [Ping timeout: 264 seconds]
amaya_ has quit [Read error: Connection reset by peer]
husch has joined #ruby-lang
toretore has joined #ruby-lang
husch has quit [Quit: husch]
replore has joined #ruby-lang
husch has joined #ruby-lang
husch has left #ruby-lang [#ruby-lang]
Guedes has joined #ruby-lang
Guedes has quit [Changing host]
Guedes has joined #ruby-lang
<rue> One has two parameters, the other one?
<rue> Also, you’ve named the two
leopard_me has joined #ruby-lang
amaya_ has joined #ruby-lang
amaya_ has left #ruby-lang [#ruby-lang]
amaya_ has joined #ruby-lang
amaya_ has quit [Client Quit]
amaya_the has joined #ruby-lang
jxie has quit [Quit: leaving]
<kke> yes yes, but with the old hash syntax foo(:foo => 1, :bar => 2) it would have 1 hash parameter
<kke> if we use the new hash syntax foo(foo: 1, bar: 2) would still have one hash parameter
klaut has joined #ruby-lang
sush24_ has quit [Ping timeout: 250 seconds]
m3nd3s has joined #ruby-lang
sush24_ has joined #ruby-lang
leopard_me has quit [Quit: Computer has gone to sleep.]
replore has quit [Remote host closed the connection]
<CrazyHorse18> ruby 2.0 seemed to come out quite quickly after ruby 1.9
<CrazyHorse18> where as 1.9 took ages
<CrazyHorse18> are they looking to do faster version releases?
<rue> It’s not out…
<CrazyHorse18> yeah feb
<CrazyHorse18> very soon
<rue> Also, 1.9.1 was out in, what, 2007?
<CrazyHorse18> yeah
<CrazyHorse18> and ruby 1.8 was 2003
<rue> So it’s actually slower :P
<CrazyHorse18> hmm yeah i see your point.. it's still 4 year
<CrazyHorse18> haha 5 years
<CrazyHorse18> i'm just getting old.. so times going faster
<CrazyHorse18> mind you.. only seems like a few useful 2.0 features
<CrazyHorse18> 1.9 had tons
<CrazyHorse18> ah apparanbtly there's a bunch of backround stuff htat is better
<CrazyHorse18> for reducing memory consumption
<CrazyHorse18> did the implement this : def initialize(@name, @last_name) ?
replore_ has joined #ruby-lang
g0bl1n has joined #ruby-lang
chaosis has joined #ruby-lang
chendo_ has quit [Ping timeout: 265 seconds]
chendo_ has joined #ruby-lang
stonerfish has quit [Ping timeout: 276 seconds]
srbaker has joined #ruby-lang
jstemmer has quit [Quit: leaving]
imperator has joined #ruby-lang
jstemmer has joined #ruby-lang
srbaker has quit [Quit: Computer has gone to sleep.]
slaytanic has quit [Ping timeout: 260 seconds]
<andrewvos> What's that?
x0F has quit [Disconnected by services]
x0F_ has joined #ruby-lang
<imperator> good morning
x0F_ is now known as x0F
kain has quit [Quit: exit]
<andrewvos> Morning imperator
kain has joined #ruby-lang
<andrewvos> I am sshed into an ec2 box from putty on my iphone. Feels like the future.
<andrewvos> Wait it is called Prompt.
<andrewvos> Putty = :(
<andrewvos> So is mongo called that because of the plabet mongo in the show Flash?
<andrewvos> planet*
simi has quit [Ping timeout: 244 seconds]
<imperator> you're using putty....on an iphone?
* imperator are confused
<andrewvos> No it is Prompt
<lupine> what is this thing with ruby development and apple?
<imperator> mongo? only mongo i remember is the one from Blazing Saddles
* lupine has had phones that do something like that since 2008 ^^
<andrewvos> prompt -> ec2 -> irssi = can waste time on ruby-lang while at coffee shop and not look lie a hipster twat with a macbook
<imperator> instead, you just look like a hipster twat without a macbook :-P
<imperator> "dumbass hipster, doesn't even have a macbook"
<andrewvos> lupine: Whatever bro. This is the future.
<lupine> :p
<andrewvos> imperator: :(
replore_ has quit [Remote host closed the connection]
<imperator> time keeps on slipping (slipping)....into the future
<lupine> my last phone ran xchat, which was nice of it
<andrewvos> Only serial killer ops guys have nix installed on their phone so they can ssh.
<lupine> \o/
BigO has joined #ruby-lang
BigO has quit [Remote host closed the connection]
<andrewvos> Wow two homeless guys just swarmed me and both asked for change, then they asked for food, the just a pound.
<imperator> shoulda told them you'd give the money to the winner of an MMA style match
<imperator> Two bums enter, one bum leaves!
<andrewvos> Oh my god. Shit opportunity wasted.
<andrewvos> hahahha
<imperator> well, when you're imperator you have to know these things
<andrewvos> The one looked lime he had been doing gross sex things to the other.
<andrewvos> Can't really say how, but you could see.
<imperator> let's talk about something else
<andrewvos> Please.
<andrewvos> imperator: What is your job?
<andrewvos> oh gtg i see my girlfriend arriving peace
<imperator> cya
gaveen has joined #ruby-lang
gaveen has quit [Changing host]
gaveen has joined #ruby-lang
s1n4 has quit [Quit: leaving]
chaosis has quit [Ping timeout: 246 seconds]
joast has joined #ruby-lang
BlaXpirit has joined #ruby-lang
BlaXpirit has quit [Client Quit]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
replore_ has joined #ruby-lang
intellitech has joined #ruby-lang
g0bl1n has quit [Quit: g0bl1n]
* apeiros_ feels unproductive
<apeiros_> but how is it possible to not slacker off - with all these decisions to make…
<apeiros_> living room or office room? stand or sit? 24" @ 1920x1200 or 15" @ 2880x1800?
<imperator> beans or peas?
<imperator> adjustable desk, 24"
<imperator> would be my vote
<apeiros_> I chose office room, stand (adjustable desk, indeed) and 15"@retina
<apeiros_> now I'm waiting for productivity to set in…
<imperator> any minute now
<apeiros_> yeah, I feel it coming…
<apeiros_> maybe I should get an energy drink too… just for the cliche
chaosis has joined #ruby-lang
<imperator> and stop browsing reddit
CrazyHorse18 has quit [Quit: Leaving.]
<apeiros_> I don't think watching this episode of IT crowd might hurt productivity.
<apeiros_> ooooh, cats on youtube
* apeiros_ is master of TEH FOCUS!
<rue> impenetrator
<rue> I can’t focus at home anymore. So I don’t even try
CrazyHorse18 has joined #ruby-lang
sepp2k has joined #ruby-lang
<chris2> try 80x50 chars and no internet connection :P
<apeiros_> like you? wait… how're you here without internet?
<Elico> I was wondering how to use EPOLL in ruby?
<Elico> is it possible?
<chris2> i like my 80x88 admittedly :)
<chris2> apeiros_: am i productive right now?
<apeiros_> no idea, are you?
<chris2> sitting in a tram right now :)
* chris2 used to do all coding offline until he was like 18
<chris2> i still use the collected docs when i have no net available ;)
* apeiros_ still prefers offline docs over online docs
<chris2> depends
<chris2> back when ri didnt suck, it was faster than google
<apeiros_> a) correct version, b) available when commuting, c) available when they have issues (hosting, bandwith, you name it)
<apeiros_> SDD & i7 fix ri's suckage well enough for me
<apeiros_> *SSD
marcury has joined #ruby-lang
<chris2> its not a speed issue here
banisterfiend has joined #ruby-lang
<apeiros_> what then? by now it finally displays all available sources and even names them…
<apeiros_> (biggest beef for long with ri, besides speed)
<chris2> yes, it shows all stuff i have
<chris2> not the stuff i want
<banisterfiend> chris2: what stuff do u want
<imperator> there's fri :)
<apeiros_> oh, right, and pry also fixes lots of ri issues :)
<chris2> if i google for ruby unpack i click once and find the list of arguments
<apeiros_> `ri unpack` + 2x space. google can't beat that :-p
BlaXpirit has joined #ruby-lang
<chris2> hrm, arch doesnt even include ri docs oO
<chris2> perhaps it got better
<apeiros_> the current biggest beef is that I tend to forget `rvm docs generate`
<banisterfiend> chris2: this is the pry output, is there anything more you'd like? (we're looking to improve our doc output): https://gist.github.com/7e1433ee4a9e2a7ffc4f
<chris2> i use perldoc -f these days :P
BlaXpirit has quit [Client Quit]
<apeiros_> perldoc… ah yes, that I liked
<chris2> unpack is the only thing i forget often
<chris2> banisterfiend: just unpack gives?
CrazyHorse18 has quit [Quit: Leaving.]
<banisterfiend> chris2: there is no top-level unpack method afaik ?
<chris2> so?
vlad_starkov has joined #ruby-lang
<apeiros_> banisterfiend: I think he expects pry to search all classes/modules for a method named 'unpack'
<apeiros_> similar to ri
<apeiros_> personally I'd like it if it did search and showed where unpack is available as a method, and asks to specify which one
<banisterfiend> ah, ? and $ dont work like that, they operate on live objects, and they grab the source/docs on demand. This has the benefit that you dont' need to pregenerate docs for classes/methods in advance, but i guess the disadvantage that we dont have a database to search the way you'd like
<chris2> the whole point of using google is that i can be unspecific ad still find stuff
<banisterfiend> chris2: ^
<chris2> ok
<banisterfiend> chris2: it also means that pry docs/source are always 'live' so you can modify teh docs/code at runtime, and pry always gives you the current one
<apeiros_> GAWD
<apeiros_> I hate that they removed Kernel#y
<apeiros_> did Kernel#y print to $stdout or $stderr?
<banisterfiend> apeiros_: and if you did, for example ? to_s
<banisterfiend> apeiros_: it would search through every single objects to_s method :P
<apeiros_> banisterfiend: that'd probably give a shitload of methods back :)
<banisterfiend> yeah..
<apeiros_> banisterfiend: nah, for unspecified method names, I'd go with instance_methods only
<chris2> does j still exist?
<chris2> yep
<apeiros_> banisterfiend: possibly even public_instance_methods
<chris2> hrm, y exists too...
<chris2> in my 1.9.3
<apeiros_> not in mine…
<apeiros_> $ ruby -vryaml -e 'y hi: "dude"'
<apeiros_> ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-darwin12.2.0]
<apeiros_> -e:1:in `<main>': undefined method `y' for main:Object (NoMethodError)
<chris2> ah
<apeiros_> you have it in your irbrc perhaps?
<chris2> didnt you know that -e runs wrong?
znz_v has quit [Quit: kill -QUIT $$]
<chris2> or does -r load gems now?
<apeiros_> in 1.9 it afaik does
<chris2> wait, are these even gems
<apeiros_> and… yeah
znz_v has joined #ruby-lang
<apeiros_> yaml ain't a gem :)
<chris2> indeed
<chris2> why does it work in irb
<apeiros_> I claim it's in your irbrc!
<chris2> no
<chris2> thats mine
<apeiros_> using rvm?
<chris2> nope
<apeiros_> because rvm iirc loads your irbrc only after loading its own
<apeiros_> k
<apeiros_> haha @ P
<chris2> require 'yaml'
<chris2> y hi: "dude"
<apeiros_> so I'm not the only one who's annoyed by that :)
<chris2> yeah
<chris2> doesnt work either
<apeiros_> $ ruby -v -e 'require "yaml"; y hi: "dude"' gives the same error btw.
<chris2> ok, j/jj work with json
<chris2> /usr/lib/ruby/1.9.1//syck.rb defines y
<chris2> does irb load syck explicitly?
<apeiros_> banisterfiend: btw., aliasing irb to pry was a good idea :)
<apeiros_> chris2: don't think so
<chris2> nope...
<banisterfiend> apeiros_: cool, are you digging it?
<apeiros_> at least I get psych
<chris2> wtf
<apeiros_> banisterfiend: sure, always did. but I kept typing irb by habit…
<banisterfiend> ah..
<banisterfiend> apeiros_: some ppl have this in their .irbrc require 'pry'; Pry.start; exit
<apeiros_> but I still need to configure that stupid prompt :)
<banisterfiend> seems kind of hacky
<chris2> ruby -r syck -r yaml -e 'y hi:"dude"'
<apeiros_> banisterfiend: I prefer my `alias irb=pry` in bashrc
<chris2> wfm
<banisterfiend> apeiros_: yeah our config stuff is more complicated than it needs to be, we'll hopefully improve those APIs in the next release
<chris2> ah, arch has ruby-docs
<chris2> which is 364mb. wtf
<apeiros_> rofltop
<chris2> as if gzip didnt exist
<chris2> ok, then ri unpack works
<apeiros_> I think drbrain removed lots of ri suckage
<chris2> i still wonder how that ri-0.8 or something worked
<chris2> it had a 3mb marshal file and enough information i ever needed :P
<apeiros_> hm, actually ri is not that slow even - `time ri -T unpack` shows ~300ms here
<charliesome> ruby-2.0.0-preview2 is out, get it while it's hot: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/50443
apeiros_ changed the topic of #ruby-lang to: Ruby 1.9.3-p327: http://ruby-lang.org (ruby-2.0.0-preview2) || Paste >3 lines of text on http://gist.github.com
Glass_saga has quit [Remote host closed the connection]
Glass_saga has joined #ruby-lang
mars777 has joined #ruby-lang
davidbalber|away is now known as davidbalbert
sharma__ has joined #ruby-lang
sush24_ has quit [Ping timeout: 255 seconds]
BlaXpirit has joined #ruby-lang
BlaXpirit has quit [Client Quit]
BlaXpirit has joined #ruby-lang
seydar has joined #ruby-lang
<seydar> issue with using curses: 1.9.3p194 :011 > print 134089320948235; p [Curses.stdscr.curx, Curses.stdscr.cury]
<seydar> 134089320948235[0, 0] => [0, 0]
<seydar> shouldn't it be [15, whatever]?
<apeiros_> seydar: please don't cross-post. or at the very least, announce that you cross-post.
rippa has joined #ruby-lang
CrazyHorse18 has joined #ruby-lang
Nisstyre has quit [Quit: Leaving]
replore_ has quit [Remote host closed the connection]
replore has joined #ruby-lang
sharma__ has quit [Quit: This computer has gone to sleep]
s1n4 has joined #ruby-lang
<Mon_Ouie> I don't think regular print moves the Curses cursor
chimkan has joined #ruby-lang
<seydar> welp i'm toast
* imperator gets the butter
<seydar> but actually i'm 30 seconds away from making french toast
<seydar> so, like, partially relevant?
<seydar> it's possible to at least move the cursor. now how to determine it?
sush24_ has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
<seydar> ok, i kinda got it
<seydar> moving to #linux
leopard_me has joined #ruby-lang
CrazyHorse18 has quit [Ping timeout: 260 seconds]
marcury has quit [Ping timeout: 246 seconds]
davidbalbert is now known as davidbalber|away
amaya_the has quit [Quit: ChatZilla 0.9.88.2 [Firefox 17.0.1/20121128204232]]
vlad_starkov has joined #ruby-lang
klaut has quit [Remote host closed the connection]
<foucist> when the heck did #ruby become a ruby lang channel?
<apeiros_> foucist: 9y ago?
<foucist> apeiros_: you lie, when i first started learning ruby/rails in 2006/2007, there was only this channel.. the #ruby channel was empty or for something else
<apeiros_> your memory sucks then
<apeiros_> 16:45 ChanServ: Registered : Feb 05 15:20:56 2003 (9 years, 43 weeks, 1 day, 00:24:27 ago)
<foucist> i had to come here for all my ruby help
<apeiros_> that's what chanserv says
<yxhuvud> it may have been dead in the meanwhile though
<foucist> apeiros_: sure, but who says it was a ruby lang channel back then? ;)
<apeiros_> and I've been on #ruby for well over 6y now
<rue> It was empty, because it had the proper /topic
<foucist> rue: which was?
<rue> There were ~10 people in there
* yxhuvud remember the good old time when there was 40 people in here ..
davidbalber|away is now known as davidbalbert
jxie has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
marcury has joined #ruby-lang
havenn has joined #ruby-lang
chimkan has quit [Quit: chimkan]
davidbalbert is now known as davidbalber|away
robotmay has joined #ruby-lang
sj26 has quit [Ping timeout: 246 seconds]
anekos has quit [Ping timeout: 256 seconds]
shachaf has quit [Ping timeout: 248 seconds]
shachaf has joined #ruby-lang
anekos has joined #ruby-lang
sj26 has joined #ruby-lang
kain is now known as kain___
kain___ is now known as kain
replore has quit [Remote host closed the connection]
s1n4 has quit [Ping timeout: 264 seconds]
s1n4 has joined #ruby-lang
kurko_ has joined #ruby-lang
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
<chris2> ruby -e 'loop{print %W{\u2571 \u2572}.sample}'
srbaker has joined #ruby-lang
ebouchut_ has joined #ruby-lang
<seydar> chris2: we read the same articles
<chris2> most excessive variant: 9 tr -dc '╱╲' </dev/urandom
<chris2> seydar: i wrote that myself and then i scrolled down :/
<apeiros_> ruby -e 'begin;c=%w[| / - \\].cycle; print "\e[?25l"; loop { print "\r#{c.next}"; $stdout.flush; sleep(0.1) };rescue Interrupt;ensure;puts "\e[?25h";end'
<apeiros_> somehow that's too long :(
nertzy2 has quit [Quit: Leaving]
mwjcomputing has joined #ruby-lang
<seydar> since we're all playing with ANSI codes, do you guys know how to retrieve an ANSI response?
<chris2> ruby -e '$>.sync=c=%w[| / - \\].cycle; $> << "\r#{c.next}" while sleep(0.1)'
<seydar> i've got the code to get the cursor position, but it just prints out the result to STDOUT
<foucist> chris2: $> is stdout or what?
<chris2> in that case yes
<foucist> but .sync makes a loop out of it ?
* foucist mind blown
<chris2> nah
<chris2> .sync must be true to autoflush
<chris2> and c is not false :)
<foucist> sick
<chris2> seydar: sure?
<foucist> chris2: is there a ruby code golf chan i don't know about? :P
<seydar> chris2: ruby -e 'print "blah"; print "\e[6n"'
<chris2> yeah
<chris2> foucist: not that i know of
kuja has joined #ruby-lang
kuja has quit [Excess Flood]
chaosis has quit [Ping timeout: 260 seconds]
mistym has joined #ruby-lang
klaut has joined #ruby-lang
<seydar> how do i get the value that it prints to STDOUT?
mistym has quit [Remote host closed the connection]
seanstickle has joined #ruby-lang
<seydar> i want to intercept it from STDOUT, parse it, and determine the column number
kuja has joined #ruby-lang
kurko_ has quit [Ping timeout: 265 seconds]
JohnBat26 has joined #ruby-lang
nertzy has joined #ruby-lang
<chris2> seydar: stty raw -echo; ruby -e 'print "\e[6n"; p STDIN.gets("R")'; stty sane
kurko_ has joined #ruby-lang
<chris2> what you see is just kernel echo
<seydar> can you explain kernel echo please?
<chris2> well
<chris2> run cat
<chris2> you see what you type
<chris2> but when you press return, the cat program gets it and displays it again
<chris2> the ansi sequence just "types back" the result
chaosis has joined #ruby-lang
<chris2> try running above code without the stty around it, and press enter to flush the input buffer
<zzak> rue was on #ruby-lang before freenode was a thing
<seydar> zzak: i visited rue when i was in finland and he's like 55 years old
<chris2> my account is 2 years older than rue's :P
replore has joined #ruby-lang
<rue> Yes, yes, you got it for your 5th birthday
<seydar> then chris2, by extension, is 57
<chris2> ;)
<chris2> off by 32 ;)
<seydar> 89, my mistake
<chris2> ^^
<seydar> how do i set the tty to raw from ruby?
<chris2> i think there is a lib for that now
<chris2> io/console
<rue> io/console?
<rue> Damn your nimble child fingers
mistym has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
<chris2> STDIN.raw { ... }
ebouchut_ has quit [Quit: This computer has gone to sleep]
<chris2> ruby -rio/console -e 'STDIN.raw { print "\e[6n"; p STDIN.gets("R") }'
<zzak> chris2: how do you find out?
<chris2> even works :)
<chris2> zzak: what?
nertzy has quit [Quit: Leaving]
<chris2> zzak: /msg nickserv info $nick
<zzak> thanks
<chris2> rue: you are really 55?
<zzak> i think zenspider is the oldest
<chris2> where is dblack, anyway?
<zzak> almost 10 years
* apeiros_ loves STDIN.noecho
<chris2> ah nice
<apeiros_> added that + a little .inspect override to read passwords in irb
<apeiros_> so I can do stuff in irb/rails console while people are watching :)
<chris2> what is onigmo and why is it a fork?
<apeiros_> the new regex engine
dc5ala has quit [Quit: Ex-Chat]
<chris2> oniguruma is dead?
<apeiros_> no idea. I even forgot why oniguruma wasn't good enough
<chris2> yeah, just wondering
<apeiros_> but tbh, I don't really care
<chris2> seems to be in use for 2 years
<apeiros_> oniguruma was/is good enough for me atm, and if we get an even better engine - great :)
AlHafoudh has joined #ruby-lang
AlHafoudh has quit [Excess Flood]
<apeiros_> as long as it doesn't break stuff…
<chris2> doesnt appear to
<apeiros_> I'm amazed. regex engines are like superhard.
AlHafoudh has joined #ruby-lang
<apeiros_> at least at this level of capabilities.
<imperator> i think jim weirich is slightly older than david black, but i'm not totally sure
<chris2> erm
* apeiros_ goes back to be uberproductive with his game framework (based on gosu)
<chris2> nvm
<chris2> :)
srbaker has quit [Quit: Computer has gone to sleep.]
<imperator> YES?
gaveen has quit [Remote host closed the connection]
replore has quit [Remote host closed the connection]
seydar has quit [Quit: leaving]
kurko_ has quit [Quit: Computer has gone to sleep.]
<mistym> apeiros_: Game framework, eh?
<apeiros_> mistym: yes
<apeiros_> of course… I can't just write a game. of course I have to write a framework before doing my one little game…
headius has joined #ruby-lang
davidbalber|away is now known as davidbalbert
spectra has quit [Ping timeout: 250 seconds]
spectra has joined #ruby-lang
chimkan has joined #ruby-lang
<imperator> board game?
replore_ has joined #ruby-lang
<apeiros_> mine? no, rpg
<apeiros_> chrono-trigger/ff1 style
<apeiros_> just more primitive since I can't do graphics :(
Aiur has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
seydar has joined #ruby-lang
Aiur has quit [Client Quit]
<seydar> Mon_Ouie: when are you next planning on releasing a new version of coolline?
kurko_ has joined #ruby-lang
yats has joined #ruby-lang
chimkan has quit [Quit: chimkan]
<seydar> Mon_Ouie: nevermind, just saw the latest update. thank you!
<Mon_Ouie> No problem ;)
marcury has quit [Ping timeout: 260 seconds]
<Elico> I want to override the return Socket from "Socket.listen(5)" to specific socket class can it be done?
<imperator> apeiros_, you can call it....D&D 5.0
<imperator> i'm sure that will fly over well
<apeiros_> why not final fantasy 31?
<imperator> cuz it's not a video game?
<seydar> Mon_Ouie: actually, i have a question about the Coolline class and its use of @line
* imperator mentions rawline
pkondzior_ has quit [Remote host closed the connection]
pkondzior_ has joined #ruby-lang
<Mon_Ouie> Sure?
<seydar> i had to do some hackery in order to insert lines into the history
<seydar> and in it, i had to manually do instance_variable_set :@line, ''
<seydar> because otherwise when i modified @line, i would be modifying the version in @history
<seydar> which i understand
<seydar> BUT
havenn has quit [Remote host closed the connection]
<seydar> when you do @history << @line, @history runs @line.dup
<seydar> which would end the relationship between the two
<seydar> imperator: are you h3rald?
<seydar> i used rawline for a bit, but it wasn't working quite as i needed it to so i dropped it. can't remember what the issue was, though
Nisstyre-laptop has joined #ruby-lang
<imperator> seydar, huh? no
gregmoreno has joined #ruby-lang
<seydar> imperator: ah, i just didn't think many people knew of/used rawline
<imperator> i know about it because i was looking for a pure ruby version of readline at one point
<imperator> (which we eventually got)
<imperator> but rawline seemed to have a more ruby-ish interface, instead of just porting a C lib
gregmoreno has quit [Remote host closed the connection]
norc has joined #ruby-lang
<norc> http://pastie.org/5463326 - I'm using this quick dirty script for my utserver, to automatically unrar stuff and clean it up. Basically a process is forced, and that script is executed. Now can anyone explain to me, why that script would suddenly start listening on specific ports?
<norc> It's just completely beyond me, what this has to do with TCP/UDP ports.
<norc> (And ignore the chdir in the beginning, I have too much of a headache to actually figure out how to make Ruby play nicely in Debian)
<foucist> norc: the inotify stuff listens on a socket
<foucist> well, suppose it must be listening on the port too
<norc> Why does it do that?
chimkan has joined #ruby-lang
<norc> And why does it actually try to listen to the exact same process, that it's original parent process is listening to?
kurko_ has quit [Ping timeout: 265 seconds]
<foucist> no idea, and i'm just guessing about the culprit
<norc> Well it just makes no sense.
<norc> As far as I understand it, inotify comes from syscalls directly.
replore_ has quit [Remote host closed the connection]
<foucist> yep that's what i see too
<norc> Basically what happened was, I restarted the server - but the server couldn't listen to the port because it was already in use. But accessing that service resulted in a timeout - after a minute I figured out that all instances of my ruby script (pastie), were actually listening to hit.
<norc> This gives me a headache.
gaveen has joined #ruby-lang
gaveen has quit [Changing host]
gaveen has joined #ruby-lang
kurko_ has joined #ruby-lang
S1kx has joined #ruby-lang
S1kx has quit [Changing host]
S1kx has joined #ruby-lang
ruby-lang219 has joined #ruby-lang
s1n4 has quit [Quit: leaving]
<norc> Ok. After thinking about this, it has nothing to do with the script itself I believe.
<norc> It must have something to do with the process that invokes these scripts to begin with.
<foucist> yay, progress!
<norc> well, there's just no conceivable reason why it should magically twiddle with sockets based on another processes sockets.
chimkan has quit [Quit: chimkan]
seydar has quit [Quit: leaving]
<ruby-lang219> ruby n00b and have a question about how to capture the response from an external API post
havenn has joined #ruby-lang
<ruby-lang219> it uses HTTParty
<ruby-lang219> and if I run it in the rails console I get a response, but how to I capture that when running in the app ? ( from the model )
sent-hil has joined #ruby-lang
gaveen is now known as SkyEye
<firefux> you mean rails noob that doesn't know ruby?
<ruby-lang219> the API docs says its returns an Returns a HTTParty::Response object
replore_ has joined #ruby-lang
<ruby-lang219> @firefux yeah basically lol
SkyEye is now known as gaveen
<firefux> ruby-lang219: there's a rubyonrails channel
<Spaceghostc2c> Most rails people in there don't know ruby. It's depressing.
<ruby-lang219> seemed more like a basic ruby thing, how do I inspect what a method returned ?
thomas3487 has joined #ruby-lang
<firefux> ruby-lang219: by learning a little ruby
gregmoreno has joined #ruby-lang
<firefux> Spaceghostc2c: then he'll probably get along fine there ;)
<Spaceghostc2c> Lol. :(
yats has quit [Ping timeout: 260 seconds]
<norc> Ok fine. No idea what is happening here, but I have a feeling that utserver does some weird magic. Forking it off inside Ruby solves all my problems.
* norc ponders whether he should invest the time to actually understand whats going on in some closed source nonsense
thomasd324 has joined #ruby-lang
thomasd324 has quit [Client Quit]
<ruby-lang219> on the console it puts the response to STDOUT, how do I capture/inspect that when running inside the app ?
<Mon_Ouie> I think it's because of the c.history[-1] = c.line if c.history.size != 0
<Mon_Ouie> Oh, he's not here anymore
gregmoreno has quit [Ping timeout: 256 seconds]
slyphon has quit [Ping timeout: 245 seconds]
chimkan_ has joined #ruby-lang
ruby-lang219 has quit [Ping timeout: 245 seconds]
brianpWins has joined #ruby-lang
methods has joined #ruby-lang
stardiviner has joined #ruby-lang
j0rg has joined #ruby-lang
mistym has quit [Read error: Connection reset by peer]
mistym has joined #ruby-lang
chimkan___ has joined #ruby-lang
robotmay has quit [Remote host closed the connection]
Banistergalaxy has quit [Ping timeout: 246 seconds]
chimkan_ has quit [Ping timeout: 260 seconds]
Banistergalaxy has joined #ruby-lang
marcury has joined #ruby-lang
macmartine has joined #ruby-lang
replore_ has quit [Remote host closed the connection]
gregmoreno has joined #ruby-lang
headius has quit [Quit: headius]
dalekurt has quit [Quit: Zzz...]
havenn has quit [Remote host closed the connection]
AlHafoudh has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
wallerdev has joined #ruby-lang
thomas3487 has quit [Remote host closed the connection]
dalekurt has joined #ruby-lang
seanstickle has quit [Quit: seanstickle]
nertzy has joined #ruby-lang
gregmoreno has quit [Remote host closed the connection]
sent-hil has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
adambeynon has joined #ruby-lang
methods1 has joined #ruby-lang
methods has quit [Read error: Connection reset by peer]
swarley has joined #ruby-lang
gokul has joined #ruby-lang
nertzy has quit [Quit: Leaving]
<zzak> i read somewhere apple is gonna start producing their own cpus
gregmore_ has joined #ruby-lang
<zzak> well, they already do, right? for the a6 or whatever
<zzak> but making them for laptops, etc
davidbalbert is now known as davidbalber|away
<foucist> zzak: well they were kind of making their own cpus before, or had agreements anyways before switching to intel
<foucist> well that'd be funny if they switched away again
gregmore_ has quit [Remote host closed the connection]
<zzak> think they will still support intel x86?
key has left #ruby-lang ["..."]
gokul has quit [Quit: Leaving]
chimkan___ has quit [Quit: chimkan___]
<zzak> thankfully i think ARM support has come a long ways compared to ppc of the olden days
havenn has joined #ruby-lang
seanstickle has joined #ruby-lang
Elico has quit [Ping timeout: 264 seconds]
<imperator> do they have any relationship at all with motorola any more?
kurko_ has quit [Quit: Computer has gone to sleep.]
<zzak> i read on the a6x wiki page it's made by samsung, other than that idk
Quatrerwin has quit [Remote host closed the connection]
<zzak> well, manufactured
marcury has quit [Ping timeout: 256 seconds]
afgeneralist has joined #ruby-lang
<afgeneralist> Hey all. I'm getting an eventmachine error when I do a 'bundle install'. Anyone familiar with this error?
jsilver has quit [Remote host closed the connection]
jsilver has joined #ruby-lang
slaytanic has joined #ruby-lang
jsilver has quit [Ping timeout: 246 seconds]
<foucist> did you google it? :P
<afgeneralist> Indeed.
<afgeneralist> I tried installing CLine tools in Xcode. Updating RVM, which I did.
<imperator> rvm...
<afgeneralist> The last recommendation, which I didn't do, was using 1.9.2 instead of 1.9.3. But before I did that I wanted to see if others would validate the same in IRC
wallerdev has joined #ruby-lang
brianpWins has quit [Ping timeout: 252 seconds]
s1n4 has joined #ruby-lang
faustman has quit [Ping timeout: 260 seconds]
macmartine has quit [Quit: Computer has gone to sleep.]
chimkan_ has joined #ruby-lang
marcury has joined #ruby-lang
nertzy has joined #ruby-lang
nertzy has quit [Remote host closed the connection]
brianpWins has joined #ruby-lang
burgestrand1 has joined #ruby-lang
klaut has quit [Remote host closed the connection]
chimkan_ has quit [Client Quit]
cirenyc has joined #ruby-lang
havenn has quit [Remote host closed the connection]
burgestrand has quit [Ping timeout: 255 seconds]
slyphon has joined #ruby-lang
seanstickle has quit [Quit: seanstickle]
chimkan has joined #ruby-lang
chimkan has quit [Client Quit]
klaut has joined #ruby-lang
chimkan has joined #ruby-lang
replore has joined #ruby-lang
grough has joined #ruby-lang
rippa has quit [Ping timeout: 256 seconds]
sharma__ has joined #ruby-lang
sush24_ has quit [Ping timeout: 260 seconds]
replore has quit [Ping timeout: 265 seconds]
<burgestrand1> afgeneralist: what error?
burgestrand1 is now known as burgestrand
<afgeneralist> burgestrand: https://gist.github.com/4184724
<burgestrand> afgeneralist: can you install other C extension gems? not sure if any of those in that list are C extension gems
<afgeneralist> nokogirl or something like that failed
<afgeneralist> I was instructed to install some missing packages. But before I can install them I need to uninstall XCode and CLT
<imperator> what version of OSX and gcc afgeneralist ?
<burgestrand> afgeneralist: looking at the paths it appears you’re on mac os, have you installed the command line tools from XCode?
<afgeneralist> Install the packages and then reinstall Xcode
<afgeneralist> I had
<afgeneralist> I removed them
klaut has quit [Remote host closed the connection]
<burgestrand> afgeneralist: you’ll need them to compile C extensions for ruby, and might also want to install GCC from homebrew/dupes as well
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
tonni has joined #ruby-lang
<afgeneralist> burgestrand: right, but in order for those to work properly I need to install the GCC first, and then Xcode and CLT on top of it. So that's what I'm trying right now
lsegal has joined #ruby-lang
chimkan has quit [Quit: chimkan]
<burgestrand> afgeneralist: I’m confused.
<afgeneralist> Warning: Installing osx-gcc-installer on top of a recent Xcode is known to cause problems, so you must uninstall Xcode before installing osx-gcc-installer. Afterwards you may install Xcode 4.2+ or Command Line Tools for Xcode if you desire.
<afgeneralist> ** NOTE: Currently, Node.js is having issues building with osx-gcc-installer. The only fix is to install Xcode over osx-gcc-installer.
<afgeneralist> I wasn't doing a good job explaining
<burgestrand> afgeneralist: you can avoid osx-gcc-installer if you: install a recent xcode, command line tools, and then gcc from homebrew dupes.
<burgestrand> Anyhow, need to go. Good luck.
jackhammer2022 has joined #ruby-lang
<afgeneralist> I had the most recent version of xcode and clt install. I then installed homebrew dupes and no luck.
<afgeneralist> Thanks!
marcury has quit [Ping timeout: 265 seconds]
shtirlic has joined #ruby-lang
chimkan has joined #ruby-lang
afgeneralist has quit [Remote host closed the connection]
jsilver has joined #ruby-lang
chimkan has quit [Quit: chimkan]
jMCg has quit [Ping timeout: 260 seconds]
sent-hil has joined #ruby-lang
Banistergalaxy has quit [Ping timeout: 246 seconds]
Banistergalaxy has joined #ruby-lang
imperator has quit [Quit: Valete!]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
apod has joined #ruby-lang
seanstickle has joined #ruby-lang
afgeneralist has joined #ruby-lang
seanstickle has left #ruby-lang [#ruby-lang]
seanstickle has joined #ruby-lang
sepp2k1 has joined #ruby-lang
sepp2k has quit [Ping timeout: 246 seconds]
chaosis has quit [Ping timeout: 246 seconds]
apod has quit [Ping timeout: 256 seconds]
shtirlic has quit [Remote host closed the connection]
swarley has quit [Quit: Switching to BNC]
shtirlic has joined #ruby-lang
cirenyc has quit [Quit: Leaving...]
davidbalber|away is now known as davidbalbert
tridge has joined #ruby-lang
adambeynon has joined #ruby-lang
tridge has quit [Remote host closed the connection]
marcury has joined #ruby-lang
AlHafoudh has joined #ruby-lang
havenn has joined #ruby-lang
brianpWins_ has joined #ruby-lang
brianpWins has quit [Ping timeout: 244 seconds]
brianpWins_ is now known as brianpWins
shtirlic has quit [Remote host closed the connection]
blazes816 has joined #ruby-lang
methods1 has left #ruby-lang [#ruby-lang]
intellitech has quit [Quit: Leaving]
sharma__ has quit [Ping timeout: 260 seconds]
sharma__ has joined #ruby-lang
marcury has quit [Ping timeout: 246 seconds]
Blackavar has joined #ruby-lang
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mistym has quit [Remote host closed the connection]
gaveen has quit [Remote host closed the connection]
ryanf has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
cirenyc has joined #ruby-lang
<sent-hil> does % return the dividend or the divisor?
<sent-hil> err
<drbrain> sent-hil: when I need both I use divmod
cirenyc has quit [Ping timeout: 244 seconds]
<sent-hil> drbrain: th
<sent-hil> x
s1n4 has quit [Quit: leaving]
solars has quit [Ping timeout: 260 seconds]
cardoni has quit [Quit: cardoni]
banisterfiend has quit [Ping timeout: 265 seconds]
seanstickle has quit [Quit: seanstickle]
afgeneralist has quit [Ping timeout: 265 seconds]
BlaXpirit has quit [Quit: Quit Konversation]
afgenera_ has joined #ruby-lang
m3nd3s has quit [Remote host closed the connection]
<afgenera_> can someone help understand how to authenticate with an api
afgenera_ is now known as afgeneralist
<sent-hil> afgeneralist: which api?
<afgeneralist> box-api
jstemmer has quit [Remote host closed the connection]
<afgeneralist> i'm a novice
<sent-hil> pure ruby or rails?
cardoni has joined #ruby-lang
intellitech has joined #ruby-lang
asinghavong has joined #ruby-lang
sent-hil has quit [Remote host closed the connection]
asinghavong has quit [Client Quit]
bigthyme has joined #ruby-lang
bigthyme has quit [Remote host closed the connection]
blazes816 has quit [Quit: blazes816]
m3nd3s has joined #ruby-lang
AlHafoudh has quit [Quit: Computer has gone to sleep.]
Muz_ is now known as Muz
mistym has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
cardoni has quit [Ping timeout: 265 seconds]
spuk has quit [Changing host]
spuk has joined #ruby-lang