apeiros_ changed the topic of #ruby 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
<seanstickle> workmad3: a distinction without a difference, to me
tommyvyo_ has joined #ruby
<workmad3> heh
atyz has quit [Quit: Leaving...]
mahmoudi_ has joined #ruby
<workmad3> with that, I'm out of battery power and no charger in sight
tommyvyo_ has quit [Changing host]
tommyvyo_ has joined #ruby
<workmad3> so I'm off :)
<seanstickle> I can prove the Pythagoream theorem with Euclidean axioms too
<seanstickle> I call that knowledge, and am satisfied
<seanstickle> See youse
ikaros has quit [Quit: Ex-Chat]
Banistergalaxy has joined #ruby
joeycarmello has joined #ruby
Takehiro has joined #ruby
cj3kim has joined #ruby
cj3kim has quit [Client Quit]
tommyvyo_ has quit [Client Quit]
ltsstar has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
kmurph has joined #ruby
BoomCow has quit [Quit: This computer has gone to sleep]
ltsstar has quit [Client Quit]
Iszak has joined #ruby
Takehiro has quit [Ping timeout: 245 seconds]
michaelhf has joined #ruby
tommyvyo_ has joined #ruby
cj3kim has joined #ruby
Coeus has joined #ruby
cj3kim has quit [Client Quit]
Rym has quit [Quit: Rym]
dmiller_ has quit [Remote host closed the connection]
dmiller_ has joined #ruby
swex_ has quit [Remote host closed the connection]
joofsh has quit [Remote host closed the connection]
swex has joined #ruby
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
thomasfedb has joined #ruby
freakazoid0223 has joined #ruby
havenn has quit [Remote host closed the connection]
joofsh has joined #ruby
Snuggles has quit [Remote host closed the connection]
david_ has joined #ruby
<gnul0ver> anyone alive in here ?
david_ is now known as Snuggles
<Snuggles> yepp
<gnul0ver> Snuggles : im guessing you can write IRC scripts running ruby
mercwithamouth has joined #ruby
<gnul0ver> my Chat client hs a Load SCripts and Plugin Featur
<seanstickle> gnul0ver: cinch is a nice library for that
<gnul0ver> feature
<seanstickle> Oh, well, that's different then
<gnul0ver> cinch
<gnul0ver> is that a IRC Libary
<seanstickle> Yup
<gnul0ver> ill look at it
<gnul0ver> irc framework
<gnul0ver> :P
Rym has joined #ruby
Catnaroek has joined #ruby
<gnul0ver> you can log irc room eh
<gnul0ver> ;)
<gnul0ver> im seeing my nick posted
MarcWeber has left #ruby [#ruby]
<gnul0ver> irc loggers
<gnul0ver> :-p
matip_ has quit [Remote host closed the connection]
gnul0ver has left #ruby ["Leaving"]
atyz has joined #ruby
michaelhf has quit [Remote host closed the connection]
mpfundstein_home has quit [Ping timeout: 255 seconds]
kaen has quit [Read error: Connection reset by peer]
Hannes3 has joined #ruby
cajone has quit [Remote host closed the connection]
kaen has joined #ruby
cajone has joined #ruby
gyre007 has joined #ruby
atyz has quit [Ping timeout: 252 seconds]
tommyvyo_ has joined #ruby
whitedawg has joined #ruby
whitedawg has quit [Client Quit]
kokainepizza has quit [Quit: My pooter is sleep.]
ltsstar has joined #ruby
gnul0ver has joined #ruby
cascalheira has joined #ruby
<gnul0ver> i just relized someone should plublish Ruby FOr Dummies. Even though, there is a ruby on rails for dummies
Coeus has quit [Quit: WeeChat 0.3.9.2]
kokainepizza has joined #ruby
cascalheira has quit [Remote host closed the connection]
cascalheira has joined #ruby
dmiller_ has quit [Remote host closed the connection]
charliesome has joined #ruby
cascalheira has quit [Client Quit]
mmitchell has joined #ruby
masterkaen has joined #ruby
michaelhf has joined #ruby
kaen has quit [Read error: Connection reset by peer]
cj3kim has joined #ruby
masterkaen has quit [Changing host]
masterkaen has joined #ruby
masterkaen is now known as kaen
mmitchell has quit [Read error: Connection reset by peer]
mmitchell has joined #ruby
h4mz1d has quit [Ping timeout: 260 seconds]
Coeus has joined #ruby
dmiller has joined #ruby
volte_ has joined #ruby
volte has quit [Ping timeout: 250 seconds]
Catnaroek has quit [Quit: leaving]
lolcathost has joined #ruby
dmiller has quit [Ping timeout: 244 seconds]
alanjc has joined #ruby
mahmoudi_ has quit [Quit: Computer has gone to sleep.]
daniel_- has quit [Ping timeout: 260 seconds]
dmiller has joined #ruby
Rukouen has joined #ruby
<shevy> lol
Takehiro has joined #ruby
joeycarmello has quit [Ping timeout: 245 seconds]
daniel_- has joined #ruby
lenovodroid has quit [Read error: Connection reset by peer]
Takehiro has quit [Ping timeout: 245 seconds]
mahmoudi_ has joined #ruby
dpk has left #ruby ["Ceci n'est pas une broken pipe."]
emergion has joined #ruby
bawig1 has joined #ruby
bawig1 has left #ruby [#ruby]
marr has quit [Ping timeout: 248 seconds]
rawGem has joined #ruby
xaq has joined #ruby
jonathanwallace has quit [Ping timeout: 255 seconds]
jduan1981 has joined #ruby
michaelhf has quit [Remote host closed the connection]
cj3kim has quit [Quit: This computer has gone to sleep]
<shevy> rewrites rewrites rewrites ...
dreinull has quit [Remote host closed the connection]
x82_nicole has quit [Quit: Computer has gone to sleep.]
BoomCow has joined #ruby
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
<rismoney> is there a way to make this http://pastie.org/private/xnmr9ttarjelw2fumaoeuw a little cleaner. I feel like the until's within the case look weird, no?
cj3kim has joined #ruby
alexspeller has quit [Remote host closed the connection]
jonathanwallace has joined #ruby
The_8473 has quit [Ping timeout: 250 seconds]
The_8472 has joined #ruby
shevy has quit [Ping timeout: 252 seconds]
pngl has joined #ruby
<seanstickle> Extend ClusterGroupOpenEnum to have a method that does what you want
<seanstickle> Rather than putting it all inline (and duplicated) in the case
<seanstickle> The intent of your code is not at all clear, which is a bad sign.
bitplane has joined #ruby
emocakes has quit [Quit: emocakes]
oscardelben has joined #ruby
joeycarmello has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
<rismoney> my goal is to have a varied conditional loop based on a method parameter
michaelhf has joined #ruby
atyz has joined #ruby
duder_ has joined #ruby
zmisc has joined #ruby
<rismoney> ideally i would like to when 'cluster' caller='clusterenum' when 'group' caller ='clustergroupenum'... and then have a single until that is able to invoke the caller value (whichi is a method)
<IceDragon> hmmm, how about setting the enum to 1 variable
<IceDragon> and then after all the branches you just have one enum.call(parameters)
cj3kim has quit [Quit: This computer has gone to sleep]
<rismoney> because the methods, are actually just api calls (like ffi/win32api stuff), so I don't want to double wrap them
<IceDragon> o.e
<IceDragon> gimme a sec, I'll attempt to rewrite it..
<rismoney> wow - that would rock
ltsstar has quit [Read error: Connection reset by peer]
bitplane has left #ruby [#ruby]
zmisc has left #ruby [#ruby]
<rismoney> lmao @ o.e
shevy has joined #ruby
<IceDragon> rismoney: http://pastie.org/5595676
rakl has quit [Quit: sleeping]
rawGem has quit [Ping timeout: 252 seconds]
atyz has quit [Ping timeout: 255 seconds]
<IceDragon> you could place the cluster, cluster_name left of the case statement :) since the last statement in a case when is returned to the case
<IceDragon> if that makes any sense.
Russell^^ has quit [Quit: Russell^^]
<rismoney> let me give it a shot - that does make sense
<rismoney> much dryer
ghanima has joined #ruby
kenneth has quit [Quit: kenneth]
baphled has quit [Ping timeout: 252 seconds]
michaelhf has quit [Remote host closed the connection]
<rismoney> when you do cluster, cluster_enum that becomes an array?
lolcathost has quit [Quit: leaving]
lolcathost has joined #ruby
<IceDragon> O: Kinda hard to explain
<IceDragon> a, b = x, y
<IceDragon> a, b = *[x, y]
<IceDragon> basically you can extract the values from an array unto seperate variables
<IceDragon> a, = array
<IceDragon> will take only the first element of the array and set 'a'
<rismoney> i think i get it. pretty awesome
<IceDragon> :P Ruby can do some rather arcane things at times
xAndy is now known as xandy
xaq has quit [Remote host closed the connection]
IrishGringo has joined #ruby
mengu has quit [Read error: Connection reset by peer]
mengu has joined #ruby
kenneth has joined #ruby
xaq has joined #ruby
<rismoney> no doubt.
<IceDragon> I have one final one to give you
daniel_- has quit [Ping timeout: 252 seconds]
kaen has quit [Ping timeout: 252 seconds]
<IceDragon> once my internet stops sucking...
<IceDragon> rismoney: http://pastie.org/5595716
generalissimo has joined #ruby
<rismoney> ok, let me take a look - i appreciate the help btw
bbttxu_ is now known as bbttxu
pothibo has quit [Quit: pothibo]
BoomCow has quit [Quit: Leaving]
Kuifje has quit [Ping timeout: 264 seconds]
<IceDragon> :) your welcome I enjoy coding (or just fixing it up)
Iszak has quit []
<IceDragon> "looks good and runs good"
cirwin has quit [Quit: Leaving.]
gnul0ver has quit [Read error: Connection reset by peer]
Slivka has quit [Read error: Connection reset by peer]
<rismoney> works like a chizzy
<rismoney> woot!
swarley has left #ruby [#ruby]
swarley has joined #ruby
xsdg_ has quit [Quit: Reconnecting]
xsdg has joined #ruby
<IceDragon> you may now make your victory pose
NihilistDandy has joined #ruby
<rismoney> lol - its so much more readable. unreal
<IceDragon> someone told me once: "Your only productive in programming when you remove lines"
gyre007 has quit [Remote host closed the connection]
lolcathost has quit [Quit: leaving]
lolcathost has joined #ruby
Coeus has quit [Quit: WeeChat 0.3.9.2]
<seanstickle> Someone told you wrong.
<seanstickle> But it's a cute saying.
<IceDragon> :P Its actually partially true
<IceDragon> If you can accomplish something in less, then it may be better.
<seanstickle> Or … it may be worse!
<IceDragon> exactly
freakazoid0223 has quit [Quit: Leaving]
<IceDragon> You just need to know, what to remove.
<seanstickle> And what to add.
<seanstickle> But now we have become merely banal.
<IceDragon> Then its Readability vs Performance
<IceDragon> You can have shit looking code that runs like a baw
<IceDragon> and diamonds that rival snails in last place.
<seanstickle> That's why I fancy APL.
<IceDragon> ?
<seanstickle> Dense, readable, fast.
<seanstickle> A lovely combination.
<IceDragon> to each his own.
<NihilistDandy> Haha, APL
<rismoney> var, var2 = begin rocks also
<seanstickle> That's what they say.
<IceDragon> life←{↑1 ⍵∨.∧3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵}
<IceDragon> MY EYES
<IceDragon> THEY BURN
<seanstickle> IceDragon: it's hard to read calculus if you only studied geometry too.
<seanstickle> IceDragon: not all programming languages have to be accessible to the novice.
<IceDragon> regardless my eyes burn
<seanstickle> :)
<IceDragon> Gimme C/C++ anyday
xaq has quit [Remote host closed the connection]
<seanstickle> Yuck.
crackfu has quit [Remote host closed the connection]
<seanstickle> So … verbose
<IceDragon> I still prefer C
<shevy> yikes
miso1337 has joined #ruby
<rismoney> my language of choice is foul
Coeus has joined #ruby
crackfu has joined #ruby
Hanmac1 has joined #ruby
<IceDragon> I wish there was more support for Objective C (on Linux) (seemed like fun)
<NihilistDandy> seanstickle: What's a good book to look into for APL? I've been thinking about trying it out lately
Coeus has quit [Client Quit]
<RubyPanther> The Ruby C API sure makes an excellent libc replacement
<seanstickle> NihilistDandy: do you really want to use APL, or something APL-like. If the latter, J might be an easier one to start with.
Coeus has joined #ruby
Coeus has left #ruby [#ruby]
<NihilistDandy> I'd prefer APL, really. What I've read about it suggests it would fit in with what I already know. I suppose I could practice on J, though.
<IceDragon> do we have a Programming language for ever letter in the Latin Alphabet?
<seanstickle> NihilistDandy: the only reason I suggest J is because you can get an open source (and supported) interpreter
samphippen has quit [Quit: Computer has gone to sleep.]
<seanstickle> NihilistDandy: APL you'll need to buy one (or get used to dealing with really flaky open source ones)
<NihilistDandy> Haha
<swarley> <IceDragon> life←{↑1 ⍵∨.∧3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵}
<swarley> It's also hard to read if it makes no sense
Coeus has joined #ruby
<seanstickle> IceDragon: there is also K and Q, offshoots of J
<IceDragon> MY EYES
Hanmac has quit [Ping timeout: 265 seconds]
Coeus has left #ruby [#ruby]
<IceDragon> King, Queen and Jack?
<seanstickle> swarley: monads are confusing to some people too.
<IceDragon> how ironic.
<seanstickle> IceDragon: ha, I never noticed that
<swarley> Well what i mean
Coeus has joined #ruby
<NihilistDandy> IceDragon: swarley: http://catpad.net/michael/apl/
otters has quit [Remote host closed the connection]
<seanstickle> NihilistDandy: but A Programming Language by Iverson is a good place to start.
* IceDragon prepares the shades while the page loads.
<NihilistDandy> I'll see if I can find a copy
<seanstickle> No, if you want to see APL
<seanstickle> Watch this.
<seanstickle> Lovely stuff
<IceDragon> I'm blind, I cant watch videos
<jasonh> IceDragon: you're really blind?
toekutr has joined #ruby
<NihilistDandy> That's very cool
<seanstickle> IceDragon: you're like Tiresias
pngl has quit [Ping timeout: 260 seconds]
<seanstickle> IceDragon: able to see the truth behind the symbols
<IceDragon> not really
<jasonh> oh
<jasonh> lame
<IceDragon> I just went blind after seeing APL
<shevy> he is just afraid to see p0rn
<seanstickle> Blind with love!
otters has joined #ruby
ltsstar has joined #ruby
<IceDragon> If I was a blind programmer I'd be kicking plenty ass
woolite64 has quit [Ping timeout: 265 seconds]
ewag has joined #ruby
<jasonh> lool
<jasonh> yeah
<shevy> you'd have to map the code in your brain
<shevy> when I use vim I often feel like a blind man
<miso1337> My ruby process remains after ending IRB or rails server or rspec. Anyone familiar with this issue?
<IceDragon> :x Sorry I kinda like my Notepad* esque editors
<miso1337> I have to manually kill it each time
<NihilistDandy> seanstickle: If you were to recommend an APL interpreter, which would you pick? It looks like Dyalog does student licenses, for instance.
<seanstickle> NihilistDandy: Dyalog, definitely
<seanstickle> NihilistDandy: they're the gold standard
<seanstickle> NihilistDandy: unless you're into hacking a bunch of insane C code to get Arthur Whitney's APL interpreter to run.
<seanstickle> And I mean *insane* C code
<NihilistDandy> Haha
kmurph has quit [Quit: kmurph]
lolcathost is now known as Catnaroek
<seanstickle> For behold!
<NihilistDandy> Awesome. Well, I'll apply for the license, if nothing else. It'll be fun to try out. Array-oriented programming is a new idea for me.
lolcathost has joined #ruby
<seanstickle> But beware, it could drive you mad just by looking upon the eldritch characters
joofsh has quit [Remote host closed the connection]
<NihilistDandy> Yeesh. You weren't kidding.
<rismoney> are there perks to APL in terms of performance (aside from needing a rosetta stone to decrypt it?)
ltsstar has quit [Client Quit]
Catnaroek has quit [Quit: leaving]
<seanstickle> NihilistDandy: in the meantime http://www.jsoftware.com/stable.htm
<IceDragon> hahahahaha rismoney
<seanstickle> NihilistDandy: J interpreter
<seanstickle> rismoney: makes certain kinds of programming easier
<seanstickle> rismoney: things to do with arrays, as you might expect
<NihilistDandy> seanstickle: The header files at least make it make a little more sense. Still. Yikes
mockra has joined #ruby
<seanstickle> NihilistDandy: I've been tinkering with rewriting it in more legible C code for a year or so.
<rismoney> like would a messaging bus be a good app for it?
<elico> I was wondering if someone have experience with epoll or kqueue ?
<seanstickle> rismoney: I don't see why that in particular.
<seanstickle> rismoney: tends to get used a lot in accounting and financial spaces.
miso1337 has quit [Quit: unplugging]
<rismoney> gotcha
<seanstickle> NihilistDandy: the complete absence of comments makes this … challenging
<NihilistDandy> I can imagine. :/
havenn has joined #ruby
joeycarmello has quit [Ping timeout: 255 seconds]
Takehiro has joined #ruby
<seanstickle> there is also J for the iPhone, which is handy
<seanstickle> :)
<IceDragon> if one was to get started with assembly what would you guys recommend?
<seanstickle> IceDragon: a book, or a choice of assembler?
<seanstickle> NASM, if the latter
alexspeller has joined #ruby
<IceDragon> I was trying FASM
<seanstickle> Although it does use a different syntax from the GNU assembler
<IceDragon> I'll check out NASM
mockra_ has joined #ruby
<seanstickle> Used NASM for years, very good, very capable.
<seanstickle> Although it's important to understand GAS as well.
<seanstickle> Since GCC uses it.
atyz has joined #ruby
Takehiro has quit [Ping timeout: 255 seconds]
Rym has quit [Remote host closed the connection]
Rym has joined #ruby
<seanstickle> If you write an iPhone app with assembly, let me know.
<seanstickle> I'd be interested in that.
alexspeller has quit [Ping timeout: 252 seconds]
<IceDragon> I dont think I'll go that far xD
mockra has quit [Ping timeout: 245 seconds]
jbw has quit [Read error: Operation timed out]
<seanstickle> The number of manuals on how to write malware seems to be quite few these days.
<IceDragon> dangerous...
<seanstickle> Why?
<seanstickle> We have VMs and things.
<IceDragon> people find time to do some sad things
<IceDragon> >.> Means we need to give em more work
atyz has quit [Ping timeout: 260 seconds]
<NihilistDandy> All the newish malware books seem to be for python. It's a bit off-putting.
<IceDragon> py.
<IceDragon> Ruby aint malware worthy >:
kokainepizza has quit [Quit: My pooter is sleep.]
gridaphobe has quit [Read error: Connection reset by peer]
<NihilistDandy> I'd like to put some work into Haskell malware. That'll be a fun time. I'll write a book (though it's Haskell, so actually a thesis)
<seanstickle> NihilistDandy: you'll end up proving new malware theorems
<seanstickle> NihilistDandy: nice!
<NihilistDandy> Then I can formalize the malware in Idris or something :D
<seanstickle> "Now that we have completed the virus, you'll be both disappointed and delighted to find that it has absolutely no side effects."
<seanstickle> "You don't even know that it's running."
freakazoid0223 has joined #ruby
<NihilistDandy> I imagine simple malware's actually very easy in Haskell. Just unsafePerformIO everything and wait.
<shevy> the virus monad
<NihilistDandy> Type-level virus programming will be the new thing.
sepp2k1 has quit [Remote host closed the connection]
Virunga has quit [Remote host closed the connection]
joofsh has joined #ruby
<seanstickle> You know, a Z specification for a virus would actually be quite interesting.
<seanstickle> "Formal Methods for Malware", a new O'Reilly title.
<NihilistDandy> I think I just figured out what I want to pursue in grad school
<IceDragon> X:
xandy is now known as xAndy
<NihilistDandy> "World Governments in Shock After Mathematician Publishes Groundbreaking New Theorems Which Also Break the World Banking Industry"
<IceDragon> :O
<IceDragon> I'd like that
<seanstickle> "Practical Ruby Malware" would be a nice book
<seanstickle> I'd buy that.
stevechiagozie has joined #ruby
<seanstickle> "JavaScript: The Destructive Parts"
<IceDragon> "Ruby: Malware in 5 minutes"
<IceDragon> "Malware Cookbook"
<seanstickle> I've given some thought to the Malware Cookbook
<seanstickle> Or "Mastering Malware"
<NihilistDandy> Needs more salt
<seanstickle> Which is a more O'Reilly title
karakedi has joined #ruby
<otters> holy shit what is going on here
<otters> "foo`".gsub("`", '\`')
<otters> "foofoo"
jbw has joined #ruby
hiroyuki has quit [Remote host closed the connection]
<IceDragon> I cant feel my stomach...
The_8473 has joined #ruby
joeycarmello has joined #ruby
<whitequark> \([`&']|\d+) in a gsub second argument is an alias for $\1, a corresponding pseudoglobal
<whitequark> er, \\([`&'+]|\d+), to make that regexp entirely correct.
The_8472 has quit [Ping timeout: 245 seconds]
<IceDragon> am I seeing things...
kaen has joined #ruby
<IceDragon> You can alias variables?
<IceDragon> D:
<IceDragon> omfg
<whitequark> IceDragon: only global ones
<IceDragon> thats still good!
<whitequark> this is a pretty strange feature actually. I have a feeling that it was invented specifically for English.rb
<whitequark> because there is no sane application for it otherwise
<IceDragon> $: vs $LOAD_PATH
<IceDragon> the former was weird to me
<IceDragon> /curse you perl!
<seanstickle> Hurrah Perl!
<IceDragon> Thats enough outta you sean *muzzles*
<seanstickle> mphhm bffhmd!
ryez has joined #ruby
mrdtt has joined #ruby
<IceDragon> #ruby so lets talk about ruby
<NihilistDandy> Never
araujo has quit [Quit: Leaving]
<IceDragon> is there anything else that can be aliased!
<IceDragon> D:
<IceDragon> we can alias methods, global variables
<havenn> Anyone have a *fast* Ruby implementation of Euler Project problem 5? http://projecteuler.net/problem=5
<IceDragon> I think I was still on problem 3...
<whitequark> IceDragon: only methods and gvars
<IceDragon> bleh.
hiroyuki has joined #ruby
<banister`sleep> IceDragon: well you can effectively 'alias' classes too, by just setting constants
<banister`sleep> IceDragon: class Hello; end; Goodbye = Hello
<banister`sleep> not quite the same though :)
<IceDragon> ...
* IceDragon muzzles banister`sleep as well
<IceDragon> >_>
<IceDragon> I ran into a few problems when 'alias'ing classes
<IceDragon> Like having no idea "where it came from".
<banister`sleep> ?
<NihilistDandy> havenn: Do the prime factorization on paper, write answer to stdout
<NihilistDandy> Done.
<IceDragon> :x
mockra__ has joined #ruby
mockra_ has quit [Ping timeout: 255 seconds]
zeade has quit [Quit: Leaving.]
benlieb has quit [Quit: benlieb]
mercwithamouth has quit [Ping timeout: 265 seconds]
gyre007 has joined #ruby
mercwithamouth has joined #ruby
slainer68 has quit [Remote host closed the connection]
nomenkun_ has joined #ruby
<NihilistDandy> If that's not the most efficient ruby implementation, I'll eat a hat.
<seanstickle> What kind of hat?
<IceDragon> He'll be disqualified.
<whitequark> IceDragon: if you have no idea where it came from
<NihilistDandy> Any hat style developed after 1841 but before 1928.
<whitequark> use pry and/or method.source_location
gyre007 has quit [Ping timeout: 260 seconds]
<IceDragon> hmm
<IceDragon> I know of the latter but pry?
<havenn> IceDragon: Pry is awesome. http://pryrepl.org/
<whitequark> IceDragon: http://pryrepl.org/ an absolutely awesome tool
nomenkun has quit [Ping timeout: 260 seconds]
<IceDragon> I seriously need to catch up on these things...
<havenn> alias irb='pry'
<whitequark> ^ what he says
lawliet has joined #ruby
* IceDragon shrugs
<seanstickle> IceDragon: if only you hadn't muzzled banister`sleep
chandan_kumar has joined #ruby
<seanstickle> The author of pry
<IceDragon> good point
chandan_kumar has left #ruby ["Leaving"]
<IceDragon> seriously :x
<seanstickle> Yup
<IceDragon> banister`sleep: my apologies oh wise and ruby one
Noldorin has quit [Quit: Computer has gone to sleep.]
Mch1 has quit [Quit: ZNC - http://znc.sourceforge.net]
joeycarmello has quit [Remote host closed the connection]
joeycarmello has joined #ruby
<NihilistDandy> Wow, the runtime invocation thing with pry is pretty sweet
Noldorin has joined #ruby
Mch1 has joined #ruby
snowflight has joined #ruby
Markvilla has quit [Quit: Computer has gone to sleep.]
x82_nicole has joined #ruby
<JohnTeddy> If I do d = Dictionary.new; d.add('fish' => 'aquatic animal'); my code works fine.
<JohnTeddy> Though my code does not work if I do d.add('fish')
<JohnTeddy> How can I make it so if only one argument is in the add method, it makes the value nil?
<IceDragon> by checking if the parameter is a hash?
<JohnTeddy> undefined method `each' for "fish":String
<IceDragon> gimme a sec
<JohnTeddy> @some_var.is_a?(Hash)
cableray has joined #ruby
<JohnTeddy> sweet
dougireton has joined #ruby
<IceDragon> yeah.
emsilva has quit [Quit: Computer has gone to sleep.]
atyz has joined #ruby
<JohnTeddy> I fixed it to pass that one problem, I'm not sure if that's elegant.
<JohnTeddy> I basically repeated the chunk of code twice.
<JohnTeddy> (I'm new to this)
<IceDragon> man my internet sux
<IceDragon> I'm taking a look right now
snowflight has quit [Ping timeout: 260 seconds]
<IceDragon> hmmm
tenmilestereo has quit [Quit: Leaving]
atyz has quit [Ping timeout: 255 seconds]
benlieb has joined #ruby
kumarat9pm has joined #ruby
<IceDragon> JohnTeddy: http://pastie.org/5595955
frogstarr78 has quit [Remote host closed the connection]
slainer68 has joined #ruby
oscardelben has quit [Quit: oscardelben]
<IceDragon> AFK.
_cheney2 has joined #ruby
Noldorin has quit [Quit: Computer has gone to sleep.]
_cheney has quit [Ping timeout: 255 seconds]
slainer68 has quit [Ping timeout: 264 seconds]
yacks has quit [Ping timeout: 265 seconds]
joeycarmello has quit [Remote host closed the connection]
emergion has joined #ruby
kaen has quit [Ping timeout: 250 seconds]
cajone has quit [Remote host closed the connection]
ChrisBolton has joined #ruby
sailias has quit [Quit: Leaving.]
<JohnTeddy> Thanks IceDragon
jonahR has joined #ruby
aedorn has quit [Remote host closed the connection]
aedorn has joined #ruby
kumarat9pm has quit [Quit: Leaving.]
lolcathost is now known as Automorphism
NihilistDandy has quit [Ping timeout: 252 seconds]
kumarat9pm has joined #ruby
kumarat9pm has quit [Max SendQ exceeded]
kumarat9pm has joined #ruby
havenn has quit [Remote host closed the connection]
kumarat9pm has quit [Max SendQ exceeded]
havenn has joined #ruby
jonahR has quit [Quit: jonahR]
banister`sleep has quit [Ping timeout: 252 seconds]
g_bleezy has quit [Remote host closed the connection]
kumarat9pm has joined #ruby
yacks has joined #ruby
kiyoura has quit [Ping timeout: 255 seconds]
stevechiagozie has quit [Ping timeout: 264 seconds]
yacks has quit [Read error: Connection reset by peer]
yacks has joined #ruby
havenn has quit [Ping timeout: 245 seconds]
_alejandro has joined #ruby
cj3kim has joined #ruby
mahmoudi_ has quit [Quit: Computer has gone to sleep.]
havenn has joined #ruby
mmitchel_ has joined #ruby
mmitchell has quit [Read error: Connection reset by peer]
rawGem has joined #ruby
jonahR has joined #ruby
jonahR has quit [Client Quit]
benlieb has quit [Quit: benlieb]
xemu has quit [Quit: Nettalk6 - www.ntalk.de]
Takehiro has joined #ruby
joeycarmello has joined #ruby
Snuggles has quit [Ping timeout: 260 seconds]
gaara has joined #ruby
atyz has joined #ruby
sayan has joined #ruby
Umren has joined #ruby
atyz has quit [Ping timeout: 255 seconds]
jonahR has joined #ruby
Rym has quit [Remote host closed the connection]
Rym has joined #ruby
stevechiagozie has joined #ruby
adeponte has joined #ruby
Automorphism is now known as DijkstraGroupie
<JohnTeddy> How can I return any hash key/value pairs that are in a hash table, only if the key(s) in that table matches a specific string?
<seanstickle> JohnTeddy: #select
<bigmac> has anyone tried ruby ruboto on there droid phone?
<JohnTeddy> seanstickle: I'm using the select method, for instance I wrote a method that finds an _exact_ match like this: @entries.select { |k,v| k == searchterm }
<JohnTeddy> Though I'm not sure how to modify that to make it if it includes...
<JohnTeddy> So if I have keys like fiend and fish, and I make 'fi' the searchterm, it should print out both key/value pairs.
radic has joined #ruby
adeponte has quit [Ping timeout: 260 seconds]
<seanstickle> k =~ /searchterm/
egman has quit [Ping timeout: 255 seconds]
<heftig> k.start_with? searchterm
codezombie has joined #ruby
browndawg has joined #ruby
<heftig> i assume you don't want it to match "hifi"
radic_ has quit [Ping timeout: 252 seconds]
wmoxam has joined #ruby
bradleyprice has joined #ruby
stevechiagozie has quit [Ping timeout: 260 seconds]
sambio has quit []
statarb3 has quit [Ping timeout: 250 seconds]
lenovodroid has joined #ruby
toekutr has quit [Read error: No route to host]
miskander has joined #ruby
duder_ has quit [Ping timeout: 245 seconds]
browndawg has quit [Ping timeout: 255 seconds]
Iuz has joined #ruby
ner0x has joined #ruby
egman has joined #ruby
joofsh has quit [Remote host closed the connection]
kayloos has joined #ruby
kumarat9pm has quit [Quit: Leaving.]
browndawg has joined #ruby
kumarat9pm has joined #ruby
kumarat9pm has quit [Max SendQ exceeded]
kumarat9pm has joined #ruby
kumarat9pm has quit [Max SendQ exceeded]
wildcard1 is now known as wildcard0
xAndy is now known as xandy
kumarat9pm has joined #ruby
mahmoudi_ has joined #ruby
stevechiagozie has joined #ruby
ner0x has quit [Quit: Leaving]
joeycarmello has quit [Ping timeout: 245 seconds]
NihilistDandy has joined #ruby
miskander has quit [Quit: miskander]
<JohnTeddy> heftig: That only does it if it starts with it.
<JohnTeddy> How can I do it if it's in there at all.
<heftig> .include?
mercwithamouth has quit [Ping timeout: 260 seconds]
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
atyz has joined #ruby
DarthGandalf has quit [Remote host closed the connection]
xandy is now known as xAndy
atyz has quit [Ping timeout: 252 seconds]
jonahR has quit [Quit: jonahR]
xyzodiac has joined #ruby
stevechiagozie has quit [Ping timeout: 264 seconds]
_alejandro has quit [Remote host closed the connection]
DarthGandalf has joined #ruby
IceDragon has quit [Quit: struct Haystack bed = get_good_haystack();]
xAndy is now known as xandy
havenn has quit [Remote host closed the connection]
mercwithamouth has joined #ruby
havenn has joined #ruby
DijkstraGroupie is now known as lolcathost
crackfu_ has joined #ruby
crackfu has quit [Ping timeout: 244 seconds]
lolcathost has quit [Quit: brb!!1]
lolcathost has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
yacks has quit [Quit: Leaving]
yacks has joined #ruby
havenn has quit [Ping timeout: 245 seconds]
crackfu has joined #ruby
mockra has joined #ruby
mockra__ has quit [Ping timeout: 244 seconds]
crackfu_ has quit [Ping timeout: 255 seconds]
gnul0ver has joined #ruby
browndawg has quit [Ping timeout: 255 seconds]
havenn has joined #ruby
ChrisBolton has quit [Quit: ChrisBolton]
toekutr has joined #ruby
joeycarmello has joined #ruby
xandy is now known as xAndy
mercwithamouth has quit [Ping timeout: 260 seconds]
jekotia has quit [Quit: ChatZilla 0.9.89-rdmsoft [XULRunner 1.9.0.17/2009122204]]
Noldorin has joined #ruby
twoism has joined #ruby
x82_nicole has quit [Quit: Computer has gone to sleep.]
dougireton has quit [Quit: Leaving.]
twoism has quit [Remote host closed the connection]
stevechiagozie has joined #ruby
Guest25886 has joined #ruby
adamnbowen has joined #ruby
dmiller has quit [Remote host closed the connection]
nemesit has joined #ruby
stevechiagozie has quit [Ping timeout: 255 seconds]
browndawg has joined #ruby
sayan has quit [Read error: Connection reset by peer]
xid has quit [Read error: Connection reset by peer]
oscardelben has joined #ruby
lolcathost has quit [Quit: When I come back, please tell me in what new ways you have decided to be just as wrong!]
havenn has quit [Remote host closed the connection]
havenn has joined #ruby
megharsh has quit [Ping timeout: 265 seconds]
dax has joined #ruby
emergion has joined #ruby
adamnbowen has quit [Quit: Computer has gone to sleep.]
havenn has quit [Ping timeout: 260 seconds]
mmitchel_ has quit [Remote host closed the connection]
emergion has quit [Client Quit]
joofsh has joined #ruby
jonahR has joined #ruby
atyz has joined #ruby
joofsh has quit [Remote host closed the connection]
JohnBat26 has joined #ruby
atyz has quit [Ping timeout: 252 seconds]
megharsh has joined #ruby
RurouniJones has joined #ruby
Coeus has quit [Ping timeout: 255 seconds]
bigmac has quit [Quit: Leaving]
mockra has quit [Remote host closed the connection]
sayan has joined #ruby
MattRb has joined #ruby
lateau has joined #ruby
mockra has joined #ruby
lateau has quit [Read error: Connection reset by peer]
dmiller has joined #ruby
Emmanuel_Chanel has quit [Quit: Leaving]
<aedorn> anyone do desktop GUI apps for command line Ruby apps?
stevechiagozie has joined #ruby
slainer68 has joined #ruby
<aedorn> I've been doing all our frontends with Ruby+qtbindings, but I think I've taken it as far as I could with that solution
<seanstickle> aedorn: yup
<seanstickle> aedorn: I use Sinatra, which I find quite nice for desktop apps.
<aedorn> so you're just using a web browser for the frontend to communicate with Sinatra which does... whatever it does?
Asher has joined #ruby
slainer68 has quit [Ping timeout: 260 seconds]
Noldorin has quit [Quit: Computer has gone to sleep.]
<seanstickle> Yup
<seanstickle> I find the tooling for web development much more pleasant (and cross platform) than weirdo things like Qt
<seanstickle> And there are always dedicated app-specific browsers if people want something like that.
joeycarmello has quit [Ping timeout: 252 seconds]
<aedorn> app-specific browsers? which are you referring to
<seanstickle> http://fluidapp.com/
<seanstickle> Etc
<aedorn> oh those.. yeah, closest for linux right now is chrome in kiosk mode, and you can't lock it down enough
stevechiagozie has quit [Ping timeout: 250 seconds]
MattRb has quit [Quit: MattRb]
xyzodiac has quit [Quit: Computer has gone to sleep.]
<JohnTeddy> I am confused by line 81 on the rspec, what is this %Q?
sayan has quit [Read error: Connection reset by peer]
RurouniJones has quit [Remote host closed the connection]
<seanstickle> aedorn: I just use the default browser people have.
<aedorn> JohnTeddy: builds a string while escaping characters. %Q is interpolated, %q is not
<seanstickle> aedorn: works like a charm
megharsh has quit [Quit: WeeChat 0.3.9.2]
mockra has quit [Remote host closed the connection]
<aedorn> seanstickle: I don't get that luxury, unfortunately
<seanstickle> Why not?
darthdeus has joined #ruby
<aedorn> We have an app that does black box testing of another product. The people that run the testing can't be allowed to do anything with the system except login, logout, and interact with the interface when required. So it all has be locked down with extreme prejudice
<seanstickle> Huh
robustus has quit [Ping timeout: 244 seconds]
<aedorn> Which means we also manage everything about the system.. if we could lock down the cabling we would do that too, because the users can't be trusted to not mess with things they shouldn't
KOunit has joined #ruby
robustus has joined #ruby
havenn has joined #ruby
mockra has joined #ruby
<seanstickle> Well, you could always use Peppermint Linux!
<seanstickle> They have a nice SSB
<aedorn> so right now we have a gui using Ruby + qtbindings, which runs off a very basic and limited X server.. they login, the app starts, and that's all they get. When they quit the app they're immediately logged out. Works great.
h4mz1d has joined #ruby
MattRb has joined #ruby
<aedorn> The problem comes in when we have to modify the GUI.. it's a massive pain in the ass, and there's not a whole you can do with Ruby while trying to use Qt, because of how Qt will react. Even forking the test process was a chore
ecksit has quit [Quit: Gone to sleep.]
landho has quit [Read error: Connection reset by peer]
landho has joined #ruby
<aedorn> so yeah, fun stuff. This is where you end up when you're given a ton of limitations and only a day for a solution. At least I have time again now to go back and do something more "proper"
atyz has joined #ruby
LouisGB has joined #ruby
havenn has quit [Remote host closed the connection]
havenn has joined #ruby
joeycarmello has joined #ruby
Hanmac1 is now known as Hanmac
alanjc has quit [Quit: Leaving]
MattRb has quit [Read error: No route to host]
Nisstyre-laptop has joined #ruby
kayloos has quit [Ping timeout: 260 seconds]
KOunit has left #ruby [#ruby]
havenn has quit [Ping timeout: 260 seconds]
Takehiro has quit [Remote host closed the connection]
Juul has joined #ruby
stevechiagozie has joined #ruby
mockra has quit [Remote host closed the connection]
havenn has joined #ruby
mmitchell has joined #ruby
LouisGB has quit []
ananthakumaran has joined #ruby
oscardelben has quit [Quit: oscardelben]
mmitchell has quit [Ping timeout: 244 seconds]
LouisGB has joined #ruby
stevechiagozie has quit [Ping timeout: 244 seconds]
mockra has joined #ruby
seanstickle has quit [Quit: seanstickle]
gnul0ver has quit [Quit: Leaving]
kil0byte has joined #ruby
lenovodroid has quit [Read error: Connection reset by peer]
mockra has quit [Remote host closed the connection]
mockra has joined #ruby
x82_nicole has joined #ruby
Asher has quit [Quit: Leaving.]
thufir_ has joined #ruby
stevechiagozie has joined #ruby
hamed_r has joined #ruby
EyesIsServer has joined #ruby
EyesIsMine has quit [Disconnected by services]
<shevy> hmm
<shevy> why is File.ftype() for a symlink a "link" and not a "symlink" ?
h4mz1d has quit [Ping timeout: 260 seconds]
darthdeus has quit [Quit: Leaving...]
<aedorn> "symlink" isn't one of string options to return
daniel_hinojosa has quit [Quit: Leaving.]
EyesIsMine has joined #ruby
IrishGringo has quit [Remote host closed the connection]
EyesIsServer has quit [Disconnected by services]
stevechiagozie has quit [Ping timeout: 265 seconds]
dawkirst has joined #ruby
emergion has joined #ruby
mockra has quit [Remote host closed the connection]
Morkel has joined #ruby
joeycarmello has quit [Ping timeout: 244 seconds]
<JohnTeddy> calculator.value.should == (4.0 / 3.0)
<JohnTeddy> How can I get 4 / 3 to equal that?
woolite64 has joined #ruby
toekutr has quit [Remote host closed the connection]
<heftig> JohnTeddy: require 'mathn'
robbyoconnor has quit [Ping timeout: 260 seconds]
<JohnTeddy> heftig: awesome
<JohnTeddy> thanks a lot
mockra has joined #ruby
Spaceghostc2c has quit [Excess Flood]
danneu has quit [Ping timeout: 252 seconds]
arietis has joined #ruby
robbyoconnor has joined #ruby
Emmanuel_Chanel has joined #ruby
Spaceghostc2c has joined #ruby
Takehiro has joined #ruby
danneu has joined #ruby
eldariof has joined #ruby
KindOne- has left #ruby [#ruby]
robbyoconnor has quit [Ping timeout: 265 seconds]
Takehiro has quit [Ping timeout: 265 seconds]
dawkirst has quit [Remote host closed the connection]
dg73 has joined #ruby
<Hanmac> with "mathn" everything is more "rational" :P
dg73 has quit [Client Quit]
jduan1981 has quit [Quit: jduan1981]
jgrevich has quit [Quit: jgrevich]
dg73 has joined #ruby
egman has quit [Ping timeout: 255 seconds]
mockra has quit [Remote host closed the connection]
dg73 has left #ruby [#ruby]
Takehiro has joined #ruby
danneu1 has joined #ruby
robbyoconnor has joined #ruby
gaara has quit [Quit: gaara]
danneu has quit [Ping timeout: 245 seconds]
Slivka has joined #ruby
atyz has quit [Quit: Leaving...]
joeycarmello has joined #ruby
jxriddle has joined #ruby
<JohnTeddy> What is a simple way to raise an error if @calculator.value.nil? == true, on all of the 4 operators.. without repeating the same code 4 times?
stevechiagozie has joined #ruby
Juul has quit [Quit: Leaving]
<thufir_> JohnTeddy: put it in a method, call the method?
ryanf has quit [Quit: leaving]
atyz has joined #ruby
<aedorn> awesome. I just thought of an amazing service that requires the cloud .. and none of the cloud services can do what I want. Win.
<thufir_> aedorn: care to let anyone else in on this insight?
Neomex has joined #ruby
Neomex has quit [Client Quit]
<aedorn> I'm going to unify linux. mmm. yup.
x82_nicole has quit [Quit: Computer has gone to sleep.]
emergion has quit [Quit: Computer has gone to sleep.]
marr has joined #ruby
stevechiagozie has quit [Ping timeout: 265 seconds]
<aedorn> And Ruby is going to help me do it! Of course everyone is going to think I'm crazy now, but that's okay! I have a plan!
* thufir_ chuckles
<aedorn> I just need a cloud service that will let me compile stuff in a very specific way... hmm
emergion has joined #ruby
eldariof has quit []
emocakes has joined #ruby
<thufir_> aedorn: I would love to have 1.) a nice IDE for ruby 2.) store and execute all code in the cloud
<charliesome> aedorn: hm?
<charliesome> thufir_: my http://eval.in site fulfils #2
hotovson has joined #ruby
eldariof has joined #ruby
<thufir_> oooh, awesome, thanks charliesome
<thufir_> does it work with git? or even github?
Takehiro has quit [Remote host closed the connection]
<charliesome> nope and nope
<charliesome> although it does store your code and it does execute it ;)
eldariof has quit [Client Quit]
<thufir_> charliesome: that's big. can I get it to sync with my system, and then I run git (or send to github)?
Takehiro has joined #ruby
<charliesome> i'm not sure what you mean
io_syl has quit [Quit: Computer has gone to sleep.]
hotovson has quit [Remote host closed the connection]
assurbanipal has quit [Quit: Leaving]
tectonic has quit [Ping timeout: 265 seconds]
hotovson_ has joined #ruby
<thufir_> charliesome: can I ftp the code? or something like that?
<charliesome> you can paste it in the textbox
tectonic has joined #ruby
<thufir_> ok.
<thufir_> charliesome: I'm stuck in text mode on ubuntu atm, but will definitely check it out. :)
mockra has joined #ruby
<Hanmac> charliesome you are the guy i was looking for ... i have feature requests for evalin and the bot
<charliesome> yo
<aedorn> bleh, yeah, I'm going to have to make my own cloud. This is definitely going to slow things down
hotovson_ has quit [Read error: No route to host]
<Hanmac> 1) for the site itself, i want an option that my pastie get deleted after (1h, 1day,1month ...etc)
<Hanmac> 2) for the evalin bot, i tryed to send him messages directly, but it does not work (hm maybe this do not generate links to the evalin page but only shows the output?)
<charliesome> ah yeah
<charliesome> good points
skcin7 has quit [Quit: Computer has gone to sleep.]
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
jxriddle has quit [Quit: jxriddle]
elico has quit [Quit: elico]
solidresolve has quit [Read error: Connection reset by peer]
mockra has quit [Ping timeout: 252 seconds]
Takehiro has quit [Read error: Connection reset by peer]
elico has joined #ruby
ebouchut has joined #ruby
solidresolve has joined #ruby
elico has quit [Client Quit]
Takehiro has joined #ruby
generalissimo has quit [Remote host closed the connection]
ebouchut has quit [Client Quit]
Nisstyre-laptop has quit [Ping timeout: 250 seconds]
stevechiagozie has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
codezombie has quit [Ping timeout: 245 seconds]
atyz has quit [Quit: Leaving...]
RurouniJones has joined #ruby
kil0byte has quit [Remote host closed the connection]
kil0byte has joined #ruby
jxriddle has joined #ruby
JohnBat26 has quit [Ping timeout: 255 seconds]
kil0byte has quit [Read error: Connection reset by peer]
robbyoconnor has quit [Ping timeout: 265 seconds]
cirwin has joined #ruby
atyz has joined #ruby
<aedorn> this is going to take awhile, but I think I have good idea on how to make it work. Going to use Ruby to build custom Gentoo ISOs with an installer. Choose packages you want, give it some advanced features like how it should be built and let it go to town. Given enough time I can probably do it with any base system.
stevechiagozie has quit [Ping timeout: 265 seconds]
Solnse has joined #ruby
statarb3 has joined #ruby
statarb3 has quit [Changing host]
statarb3 has joined #ruby
pskosinski has joined #ruby
<thufir_> aedorn: that would be awesome. the gentoo installer sux. a live cd, with a ruby script to install gentoo would rock.
tommyvyo_ has joined #ruby
thufir_ has quit [Quit: Leaving.]
crackfu has quit [Remote host closed the connection]
joeycarmello has quit [Ping timeout: 260 seconds]
jessta has quit [Ping timeout: 255 seconds]
thufir_ has joined #ruby
daniel_- has joined #ruby
jessta has joined #ruby
jds has joined #ruby
atyz has quit [Quit: Leaving...]
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
ghanima has quit [Quit: Leaving.]
atyz has joined #ruby
zommi has joined #ruby
dangerousdave has joined #ruby
JohnBat26 has joined #ruby
dangerousdave has quit [Client Quit]
dawkirst has joined #ruby
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
jds has quit [Remote host closed the connection]
kil0byte has joined #ruby
kil0byte has quit [Remote host closed the connection]
tommyvyo_ has joined #ruby
adambeynon has joined #ruby
thufir_ has quit [Remote host closed the connection]
ananthakumaran has quit [Ping timeout: 252 seconds]
RurouniJones has quit [Remote host closed the connection]
yshh has joined #ruby
ananthakumaran has joined #ruby
dangerousdave has joined #ruby
dangerousdave has quit [Client Quit]
jessta has quit [Ping timeout: 250 seconds]
RurouniJones has joined #ruby
jessta has joined #ruby
ltsstar has joined #ruby
jds has joined #ruby
stevechiagozie has joined #ruby
joeycarmello has joined #ruby
JohnBat26 has quit [Ping timeout: 250 seconds]
mockra has joined #ruby
pmros has joined #ruby
vonsar has joined #ruby
banister`sleep has joined #ruby
RurouniJones has quit [Remote host closed the connection]
stevechiagozie has quit [Ping timeout: 265 seconds]
stevechiagozie has joined #ruby
dsdeiz has joined #ruby
jds has quit [Remote host closed the connection]
Hannes3 has quit [Remote host closed the connection]
danneu1 has quit [Ping timeout: 244 seconds]
Banistergalaxy has quit [Ping timeout: 260 seconds]
mockra has quit [Ping timeout: 244 seconds]
stevechiagozie has quit [Ping timeout: 255 seconds]
jessta has quit [Ping timeout: 264 seconds]
jessta has joined #ruby
lewis1711 has joined #ruby
bradleyprice has quit [Remote host closed the connection]
Takehiro has quit [Remote host closed the connection]
zommi has quit [Ping timeout: 244 seconds]
ananthakumaran1 has joined #ruby
Takehiro has joined #ruby
Virunga has joined #ruby
ananthakumaran has quit [Ping timeout: 252 seconds]
ikaros has joined #ruby
Takehiro has quit [Remote host closed the connection]
koshii has quit [Ping timeout: 265 seconds]
jxriddle has left #ruby [#ruby]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
ananthakumaran1 has quit [Ping timeout: 252 seconds]
Takehiro has joined #ruby
slainer68 has joined #ruby
Takehiro has quit [Remote host closed the connection]
pmros has quit [Ping timeout: 244 seconds]
robbyoconnor has joined #ruby
slainer68 has quit [Ping timeout: 244 seconds]
jonahR has quit [Quit: jonahR]
Astralum has quit [Read error: Connection reset by peer]
Astralum has joined #ruby
xAndy is now known as xandy
hotovson_ has joined #ruby
robbyoconnor has quit [Ping timeout: 255 seconds]
lkba has quit [Quit: Bye]
lkba has joined #ruby
Solnse has quit [Ping timeout: 264 seconds]
hotovson_ has quit [Read error: No route to host]
havenn has quit [Remote host closed the connection]
lenovodroid has joined #ruby
mpfundstein_home has joined #ruby
yshh has quit [Remote host closed the connection]
hamed_r has quit [Ping timeout: 244 seconds]
stevechiagozie has joined #ruby
zommi has joined #ruby
jds has joined #ruby
banister`sleep has quit [Remote host closed the connection]
Takehiro has joined #ruby
mpfundstein_home has quit [Quit: leaving]
mpfundstein_home has joined #ruby
katzilla has joined #ruby
katzilla has quit [Client Quit]
robbyoconnor has joined #ruby
katzilla has joined #ruby
lenovodroid has quit [Ping timeout: 260 seconds]
Takehiro has quit [Remote host closed the connection]
pmros has joined #ruby
stevechiagozie has quit [Ping timeout: 255 seconds]
Takehiro has joined #ruby
elico has joined #ruby
katzilla has quit [Client Quit]
katzekintosh has joined #ruby
lenovodroid has joined #ruby
darthdeus has joined #ruby
staafl has quit [Quit: Leaving]
ebouchut has joined #ruby
vonsar has quit [Quit: This computer has gone to sleep]
anirudh24seven has joined #ruby
pcarrier has quit []
anirudh24seven has left #ruby [#ruby]
pcarrier has joined #ruby
robbyoconnor has quit [Ping timeout: 265 seconds]
elaptics`away is now known as elaptics
vonsar has joined #ruby
workmad3 has joined #ruby
<pmros> so quiet...
lewis1711 has left #ruby [#ruby]
kil0byte has joined #ruby
mockra has joined #ruby
vjt has quit [Remote host closed the connection]
lenovodroid has quit [Read error: Connection reset by peer]
danneu1 has joined #ruby
cajone has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
Morkel has quit [Quit: Morkel]
ChrisBolton has joined #ruby
snowflight has joined #ruby
mockra has quit [Ping timeout: 265 seconds]
lenovodroid has joined #ruby
banister`sleep has joined #ruby
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
banister`sleep has quit [Remote host closed the connection]
banister`sleep has joined #ruby
slainer68 has joined #ruby
dawkirst has quit [Read error: Connection reset by peer]
tommyvyo_ has joined #ruby
Slivka has quit [Remote host closed the connection]
RurouniJones has joined #ruby
dsdeiz has quit [Ping timeout: 255 seconds]
atyz has quit [Quit: Leaving...]
dangerousdave has joined #ruby
MissionCritical has quit [Ping timeout: 255 seconds]
karakedi has quit [Ping timeout: 260 seconds]
lenovodroid has quit [Read error: Connection reset by peer]
vonsar has quit [Quit: This computer has gone to sleep]
stevechiagozie has joined #ruby
lenovodroid has joined #ruby
lenovodroid has quit [Read error: Connection reset by peer]
koshii has joined #ruby
elaptics is now known as elaptics`away
francisfish has joined #ruby
jds has quit [Remote host closed the connection]
Virunga has quit [Remote host closed the connection]
vonsar has joined #ruby
pngl has joined #ruby
willob has joined #ruby
stevechiagozie has quit [Ping timeout: 264 seconds]
hamed_r has joined #ruby
lenovodroid has joined #ruby
xandy is now known as xAndy
MissionCritical has joined #ruby
lenovodroid has quit [Read error: Connection reset by peer]
lenodroid has joined #ruby
lenodroid has quit [Read error: No route to host]
workmad3 has quit [Ping timeout: 252 seconds]
xAndy is now known as xandy
vonsar has quit [Quit: This computer has gone to sleep]
resure has joined #ruby
Snuggles has joined #ruby
<resure> Hi. I have a regular expression for spoiler-like [toggle] tag. I want to hide a few paragraphes of the text, but it groups it into few parts by "\n"
RurouniJones has quit [Remote host closed the connection]
nyuszika7h has quit [Quit: Reconnecting]
<resure> Currently I use ([\S\s]*?) to match the text
vonsar has joined #ruby
cableray has quit [Quit: cableray]
danneu1 is now known as danneu
malte_ has joined #ruby
nyuszika7h has joined #ruby
matip has joined #ruby
<matip> Hi
<matip> how do you pause the execution until ANY key is pressed (not necessarily ENTER, it can be "h")?
anders__ has joined #ruby
<matip> (I can use STDIN.getc but it needs an ENTER...)
Takehiro has quit [Remote host closed the connection]
dawkirst has joined #ruby
ChrisBolton has quit [Quit: ChrisBolton]
<emocakes> google is your friend
wallerdev has quit [Quit: wallerdev]
<matip> lol, I tried the same gem (found it using Google >_>)
JohnBat26 has joined #ruby
eldariof has joined #ruby
dawkirst has quit [Remote host closed the connection]
xandy is now known as xAndy
<emocakes> i wouldnt really know matip, im a BASIC programmer
grieve has joined #ruby
ebouchut has quit [Quit: This computer has gone to sleep]
Takehiro has joined #ruby
companion has quit [Ping timeout: 250 seconds]
yshh has joined #ruby
companion has joined #ruby
Banistergalaxy has joined #ruby
Virunga has joined #ruby
yshh has quit [Ping timeout: 265 seconds]
statarb3 has quit [Read error: Connection reset by peer]
kumarat9pm has quit [Quit: Leaving.]
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
Rukouen has quit [Quit: Leaving]
woolite64 has quit [Ping timeout: 252 seconds]
malte_ has quit [Quit: malte_]
cor3ngine has joined #ruby
stevechiagozie has joined #ruby
joeycarmello has quit [Ping timeout: 255 seconds]
kumarat9pm has joined #ruby
mockra has joined #ruby
banister`sleep is now known as banisterfiend
resure has left #ruby [#ruby]
esdf has joined #ruby
vonsar has quit [Quit: This computer has gone to sleep]
<esdf> hey, how do I load line 10 into an array? http://sprunge.us/FGBe?rb
mockra has quit [Ping timeout: 265 seconds]
stevechiagozie has quit [Ping timeout: 265 seconds]
cajone has quit [Remote host closed the connection]
ananthakumaran has joined #ruby
cajone has joined #ruby
hotovson has joined #ruby
<banisterfiend> esdf: don't understand your Q.
darthdeus has quit [Quit: Leaving...]
arturaz has joined #ruby
atyz has joined #ruby
<esdf> banisterfiend: well nvm figured it out, defined an empty array and did array.push servers instead of line 10
evenix has quit [Remote host closed the connection]
mrdtt has quit [Quit: mrdtt]
<esdf> banisterfiend: http://sprunge.us/gKBR?rb
<esdf> that's how the code looks now, i'm trying to parse this file, http://sprunge.us/AMWj?json
<esdf> basically now that file is in array, so how do I print out what i want?
<esdf> banisterfiend: and here is the output, http://sprunge.us/gUjg
<esdf> so basically how do I make it print out host_name or map values from the array?
<esdf> i tried p qlArray.map but it breaks
Guest38944 has quit [Remote host closed the connection]
vonsar has joined #ruby
atyz has quit [Ping timeout: 255 seconds]
<esdf> ██ 13:52:14 $ ruby parser.rb
<esdf> parser.rb:11:in `block in <main>': undefined method `host_name' for #<Array:0x00000002875cd8> (NoMethodError)
<esdf> p qlArray.host_name*
<banisterfiend> esdf: not here sorry :) bbl
hoelzro|away is now known as hoelzro
<esdf> or nps
Michael has joined #ruby
Michael is now known as Guest10853
emsilva has joined #ruby
pothibo has joined #ruby
michaelhf has joined #ruby
eka has quit [Ping timeout: 252 seconds]
Cooler_ has quit [Ping timeout: 248 seconds]
zarubin has quit [Ping timeout: 245 seconds]
zarubin has joined #ruby
eka has joined #ruby
<Hanmac> esdf: look at this line: parsed["servers"].map {|server| %Q{"%<host_name>s (%<num_players>s) %<map>s %<host_address>s http://www.quakelive.com/r/join/%<public_id>s"} % Hash[server.keys.map(&:to_sym).zip(server.values)] }
kaen has joined #ruby
kumarat9pm has quit [Read error: Operation timed out]
joeycarmello has joined #ruby
<esdf> Hanmac: ok
<esdf> Hanmac: but umm, i've loadded it to array in this way - http://sprunge.us/gKBR?rb
ikaros has quit [Quit: Ex-Chat]
<Hanmac> did you notic that your map is useless?
<esdf> hmm how do you mean?
kumarat9pm has joined #ruby
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
kumarat9pm has quit [Max SendQ exceeded]
<Hanmac> servers_list = parsed["servers"] does the same than your three last lines
Chryson has quit [Quit: Leaving]
zarubin has quit [Ping timeout: 256 seconds]
<esdf> oh
<esdf> so I don't need qlArray = []?
<Hanmac> no
ikaros has joined #ruby
zarubin has joined #ruby
kumarat9pm has joined #ruby
kumarat9pm has quit [Max SendQ exceeded]
<elico> I want to run a small server with ssl and non ssl on the same port. anyone have an idea on how to ?
<esdf> Hanmac: also, I don't need the .push servers right?
Rym has quit [Quit: Rym]
kumarat9pm has joined #ruby
kumarat9pm has quit [Max SendQ exceeded]
iNerd has joined #ruby
<Hanmac> no, if you do map, it creates an returns an array for you, so you not need to make one on your own ...
<Hanmac> but map is useless when you do nothing in the do ... end block (that why i posted the line at 14:01:47
<emocakes> elico, same port...?
kumarat9pm has joined #ruby
<elico> yes...
kumarat9pm has quit [Max SendQ exceeded]
esdf_ has joined #ruby
<esdf_> my net died
<esdf_> Hanmac: anyway, wrote something?
kumarat9pm has joined #ruby
kumarat9pm has quit [Max SendQ exceeded]
kumarat9pm has joined #ruby
kumarat9pm has quit [Max SendQ exceeded]
kumarat9pm has joined #ruby
dangerousdave has quit [Quit: Linkinus - http://linkinus.com]
jds has joined #ruby
kumarat9pm has quit [Max SendQ exceeded]
esdf has quit [Ping timeout: 260 seconds]
kumarat9pm has joined #ruby
esdf_ is now known as esdf
<esdf> Hanmac: also if you could give your map again please, seems i'm not logging with this client so can't find it anymore :(
<Hanmac> parsed["servers"].map {|server| %Q{"%<host_name>s (%<num_players>s) %<map>s %<host_address>s http://www.quakelive.com/r/join/%<public_id>s"} % Hash[server.keys.map(&:to_sym).zip(server.values)] }
<esdf> tys
stevechiagozie has joined #ruby
<esdf> btw what does %<object>s do?
<esdf> i mean, the brackets
matip has quit [Ping timeout: 244 seconds]
kumarat9pm has quit [Read error: Connection reset by peer]
jds has quit [Ping timeout: 255 seconds]
kumarat9pm has joined #ruby
cajone has quit [Remote host closed the connection]
<Hanmac> esdf search for sprintf and String#%
kumarat9pm has quit [Max SendQ exceeded]
eldariof has quit []
michaelhf has quit [Remote host closed the connection]
kumarat9pm has joined #ruby
kumarat9pm has quit [Max SendQ exceeded]
snowflight has quit [Quit: snowflight]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
cajone has joined #ruby
<esdf> Hanmac: will do ty
kumarat9pm has joined #ruby
kumarat9pm has quit [Max SendQ exceeded]
stevechiagozie has quit [Ping timeout: 260 seconds]
x0F has quit [Disconnected by services]
x0F_ has joined #ruby
vonsar has quit [Quit: Leaving]
kumarat9pm has joined #ruby
x0F_ is now known as x0F
kumarat9pm has quit [Max SendQ exceeded]
cajone has left #ruby [#ruby]
atyz has joined #ruby
kumarat9pm has joined #ruby
kumarat9pm has quit [Max SendQ exceeded]
kjellski has joined #ruby
kumarat9pm has joined #ruby
ToTo has joined #ruby
<elico> emocakes: if there is an option to first make sure it's not an SSL and if it's a SSL to use ssl in it
atyz has quit [Ping timeout: 250 seconds]
sayan has joined #ruby
<esdf> Hanmac: i'm getting an error on that Hash line, parser.rb:8: syntax error, unexpected $end, expecting ')', can't really find where i'm missing to close the bracket
<esdf> nvm, typo
ebouchut has joined #ruby
rawGem has quit [Ping timeout: 255 seconds]
<esdf> mistyped server instead of servers
atno has quit [Remote host closed the connection]
krz has joined #ruby
kjellski has quit [Ping timeout: 260 seconds]
ikaros has quit [Quit: Ex-Chat]
sepp2k has joined #ruby
willob has quit [Quit: Leaving.]
anders__ has quit [Remote host closed the connection]
danneu has quit [Quit: WeeChat 0.3.8]
lenodroid has joined #ruby
horofox has joined #ruby
pmros has quit [Ping timeout: 252 seconds]
banisterfiend has quit [Remote host closed the connection]
eldariof has joined #ruby
mockra has joined #ruby
psycho_one has joined #ruby
pmros has joined #ruby
lepht is now known as lepht_
lepht_ is now known as lepht_away
lepht_away is now known as lepht
mockra has quit [Ping timeout: 264 seconds]
ikaros has joined #ruby
blacktulip has joined #ruby
ebouchut has quit [Quit: This computer has gone to sleep]
psycho_one has quit [Quit: Bye]
yshh has joined #ruby
landho has quit [Ping timeout: 260 seconds]
Russell^^ has joined #ruby
<iNerd> I have a question. If i have a hash inside another hash, how do i get things out of it?
<hoelzro> iNerd: top[:key][:key2]
hiroyuki has quit [Remote host closed the connection]
Guest10853 has quit [Remote host closed the connection]
sailias has joined #ruby
<iNerd> So if i have something like ["hello", [{"greeting"=>"hello", "text"=>"Hello there this is some text."]
<iNerd> it's hello[:greeting] ?
<hoelzro> iNerd: that value is in hello?
<Hanmac> hm no, your Array-Hash structure is broken/not-finish ...
<hoelzro> if so, it'd be hello[1]['greeting']
<iNerd> ah. okay.
Michael has joined #ruby
<hoelzro> iNerd: your top level object is an Array
<hoelzro> and you have a Hash in hello[1]
Michael is now known as Guest25657
<waxjar> [] indicates and Array (a simple list), {} indicates a Hash (a list of key-value pairs)
<iNerd> I think i see.
s1n4 has joined #ruby
<iNerd> so i have a hash in an array?
<waxjar> right now you've got a SyntaxError :P
Kuifje has joined #ruby
Kuifje has quit [Changing host]
Kuifje has joined #ruby
<iNerd> that's not good.
<waxjar> a hash in a hash would look like this: x = { :key => { :x => :y }, … }
snowflight has joined #ruby
<waxjar> x[:key][:x] # => :y
<iNerd> i think i see.
<iNerd> i'm just trying at the moment to make a simple web page. take a list and populate some html tags with greeting and text
<iNerd> so the page is called 'hello' say
zommi has quit [Quit: Leaving.]
michaelhf has joined #ruby
<iNerd> and then inside it i can put the greeting and the text
willob has joined #ruby
grieve has quit []
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
lkba has quit [Ping timeout: 255 seconds]
s1n4 has quit [Quit: leaving]
arturaz has quit [Quit: Leaving]
xemu has joined #ruby
ewag has quit [Ping timeout: 265 seconds]
Bry8Star has quit [Remote host closed the connection]
Guest25657 has quit [Read error: Connection reset by peer]
ebouchut has joined #ruby
snowflight has quit [Ping timeout: 245 seconds]
joeycarmello has quit [Ping timeout: 252 seconds]
michaelhf has quit [Remote host closed the connection]
Rix has quit [Ping timeout: 260 seconds]
sirecote has quit [Remote host closed the connection]
Bry8Star has joined #ruby
Innocentus has joined #ruby
<Innocentus> hi
samphippen has joined #ruby
<Innocentus> so ruby is the language while rails is a web framework for this language
Rix has joined #ruby
<shevy> yea
lepht is now known as lepht_afk
<Innocentus> so there are also other web frameworks for ruby?
benlieb has joined #ruby
<esdf> yeah
yshh has quit [Remote host closed the connection]
hamed_r has quit [Quit: Leaving]
jsmonkey has joined #ruby
<Innocentus> but rails is the best web framework so far?
<Innocentus> can ruby be compiled to a real binary?
lateau has joined #ruby
atyz has joined #ruby
<waxjar> not really. i'm sure someone wrote a half-working project for it though.
eldariof has quit []
RurouniJones has joined #ruby
<pmros> there is a new ruby web framework called espresso
<pmros> it's really nice
browndawg has quit [Quit: Leaving.]
<pmros> you can compile ruby to bytecode with rubinius and jruby
atyz has quit [Ping timeout: 252 seconds]
koshii has quit [Ping timeout: 260 seconds]
gener1c has quit [Ping timeout: 252 seconds]
lenodroid has quit [Ping timeout: 255 seconds]
workmad3 has joined #ruby
lenodroid has joined #ruby
alexwh has quit [Disconnected by services]
<esdf> Innocentus: you can use eruby as well
hiroyuki has joined #ruby
alexwh has joined #ruby
Astralum has quit [Ping timeout: 250 seconds]
alexwh is now known as Guest42233
Guest931 is now known as alexwh
<Innocentus> How fast is ruby? And what do you think about PHP?
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
stevechiagozie has joined #ruby
lateau has quit [Ping timeout: 265 seconds]
sayan has quit [Read error: Connection reset by peer]
lateau has joined #ruby
pcarrier has quit []
joeycarmello has joined #ruby
Takehiro has quit [Remote host closed the connection]
<pmros> PHP is ugly, imho
willob has quit [Quit: Leaving.]
kirun has joined #ruby
ryez has quit [Quit: Leaving.]
Michael has joined #ruby
lateau has quit [Remote host closed the connection]
lateau has joined #ruby
Michael is now known as Guest3756
<iNerd> don't you think asking about language preferences in a specific language irc channel is going to only get you one answer?
<pmros> lol
<iNerd> you ask in here it'll be ruby, in python it'll be python etc.
mockra has joined #ruby
<pmros> I even prefer python than php
stevechiagozie has quit [Ping timeout: 252 seconds]
ebouchut has quit [Quit: This computer has gone to sleep]
<esdf> so, p array.first shows the first element in array, is there a way for me to manipulate that element, e.g. just to print out a part of it, and not the whole element?
emsilva has quit [Ping timeout: 265 seconds]
<pmros> p array.first.foo
<esdf> pmros: well i've tried that
<esdf> let me paste what happens
emsilva has joined #ruby
sie has joined #ruby
Guest3756 has quit [Ping timeout: 264 seconds]
mockra has quit [Ping timeout: 250 seconds]
<esdf> pmros: parser.rb:10:in `<main>': undefined method `foo`
Umren has quit [Ping timeout: 265 seconds]
<pmros> are you sure foo method is defined?
<esdf> well the array is made from a file
<esdf> let me show
<pmros> try array.first.class
<esdf> this is the code, i'd like to array.first.host_name for example
Snuggles has quit [Ping timeout: 255 seconds]
<esdf> or just host name across whole array
Banistergalaxy has quit [Ping timeout: 260 seconds]
iamjarvo has joined #ruby
workmad3 has quit [Ping timeout: 250 seconds]
<esdf> pmros: if you need what i'm parsing, http://sprunge.us/CaAf?json
<pmros> try puts #class or #inspect
lateau has quit [Read error: Connection reset by peer]
<esdf> pmros: array.first.inspect or ?
<pmros> yes, esdf
<esdf> it returns this "\"17 Silent Night (20) silentnight 213.163.65.211:27024 http://www.quakelive.com/r/join/721557\""
<esdf> and class says it's a string
<pmros> and what about class?
<pmros> ok
Guest35972 has joined #ruby
<pmros> you try host_name method, don't you?
<esdf> pmros: if you mean if i tried p array.first.host_name, yes
<esdf> and that breaks
<pmros> sure
superfluous has joined #ruby
<pmros> bye!
<superfluous> hi!
<esdf> hi
<esdf> pmros: so yeah, no idea how to fix that?
<esdf> make it work*
<superfluous> mind if I hang around and ask stupid questions?
<esdf> doubt I can answer any :D
pmros has quit [Quit: Konversation terminated!]
tenmilestereo has joined #ruby
<superfluous> I basically just started doing anything in ruby at all; coming from a mainly obj-c/java background
pskosinski has quit [Quit: Learn Life's Little Lessons]
<superfluous> so I'm putting together a cute little project for myself; so I figured I'd begin with tests, as I guess ruby people are oft to do
jfl0wers has joined #ruby
Banistergalaxy has joined #ruby
elico has quit [Remote host closed the connection]
<superfluous> Is there any good way to set certain 'require paths'? Like, if I'm making a Player class, i'd like to do "require 'player'" instead of require_relative (which could change if/when I move things)
<superfluous> (using minitest, because it seems straightforward and simple, and built-in)
wargasm has joined #ruby
<esdf> can't help really :D new myself
<waxjar> superfluous: run ruby with a -I flag
nari has joined #ruby
skaczor has joined #ruby
<Hanmac> superfluous: not play with require paths when you dont know what you do, otherwise you could open loopholes
hiroyuki has quit [Remote host closed the connection]
medik_ has quit [Quit: medik_ has no reason]
Jasko has quit [Read error: Connection reset by peer]
RurouniJones has quit [Remote host closed the connection]
Jasko has joined #ruby
<superfluous> Hanmac: so what would your suggestion be?
<superfluous> waxjar: wow, i didn't even realize that existed, sounds pretty useful
atyz has joined #ruby
<esdf> anyone here played with zenity btw?
lateau has joined #ruby
lateau has quit [Remote host closed the connection]
lateau has joined #ruby
skaczor has left #ruby ["Konversation terminated!"]
lateau has quit [Remote host closed the connection]
lateau has joined #ruby
skaczor has joined #ruby
landho has joined #ruby
lateau has quit [Remote host closed the connection]
lateau has joined #ruby
stevechiagozie has joined #ruby
thone_ has joined #ruby
lateau has quit [Remote host closed the connection]
Takehiro has joined #ruby
thone has quit [Ping timeout: 245 seconds]
xAndy is now known as xandy
stevechiagozie has quit [Ping timeout: 250 seconds]
moos3 has joined #ruby
Markvilla has joined #ruby
kil0byte has quit [Remote host closed the connection]
Neomex has joined #ruby
pskosinski_ has joined #ruby
horofox has quit [Quit: horofox]
pskosinski_ is now known as pskosinski
Hanmac has quit [Quit: Leaving.]
Guest35972 has quit [Ping timeout: 252 seconds]
Hanmac has joined #ruby
Virunga has quit [Remote host closed the connection]
lateau` has joined #ruby
Takehiro has quit [Ping timeout: 255 seconds]
browndawg has joined #ruby
Astral_ has joined #ruby
lateau` has quit [Remote host closed the connection]
workmad3 has joined #ruby
mmitchell has joined #ruby
apacala has joined #ruby
sayan has joined #ruby
Guest9041 has quit [Remote host closed the connection]
Virunga has joined #ruby
lateau has joined #ruby
Guest9041 has joined #ruby
lateau has quit [Remote host closed the connection]
Umren has joined #ruby
lateau has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
yshh has joined #ruby
mmitchell has quit [Remote host closed the connection]
gyre007 has joined #ruby
moos3 has quit [Quit: Computer has gone to sleep.]
lateau has quit [Remote host closed the connection]
pcarrier has joined #ruby
lateau has joined #ruby
sie has quit [Ping timeout: 260 seconds]
yshh has quit [Ping timeout: 255 seconds]
joeycarmello has quit [Ping timeout: 245 seconds]
jcrocetta has joined #ruby
kil0byte has joined #ruby
mockra has joined #ruby
krz has quit [Quit: krz]
hiroyuki has joined #ruby
jds has joined #ruby
koshii has joined #ruby
lateau has quit [Remote host closed the connection]
lateau has joined #ruby
mockra has quit [Ping timeout: 245 seconds]
Pip has joined #ruby
hotovson has quit [Remote host closed the connection]
<Pip> Hien, is gem integrated into ruby?
<Pip> I mean RubyGem
pskosinski has quit [Quit: Learn Life's Little Lessons]
<Hanmac> Pip in the current ruby yes, in outdated no
iNerd has quit [Quit: iNerd]
moos3 has joined #ruby
pskosinski has joined #ruby
<jcrocetta> testing
Takehiro has joined #ruby
jcrocetta has left #ruby [#ruby]
spacemud has quit [Quit: ZNC - http://znc.in]
stevechiagozie has joined #ruby
AndChat- has joined #ruby
NihilistDandy has quit [Quit: Textual IRC Client: www.textualapp.com]
Banistergalaxy has quit [Ping timeout: 255 seconds]
Takehiro has quit [Ping timeout: 264 seconds]
Takehiro has joined #ruby
koshii has quit [Ping timeout: 265 seconds]
Takehiro has quit [Read error: No route to host]
lenodroid has quit [Remote host closed the connection]
Takehiro has joined #ruby
moos3 has quit [Quit: Computer has gone to sleep.]
postmodern has quit [Quit: Leaving]
jds has quit [Remote host closed the connection]
stevechiagozie has quit [Ping timeout: 260 seconds]
horofox has joined #ruby
superfluous has quit [Remote host closed the connection]
arturaz has joined #ruby
joofsh has joined #ruby
robbyoconnor has joined #ruby
joeycarmello has joined #ruby
banisterfiend has joined #ruby
mercwithamouth has joined #ruby
eldariof has joined #ruby
alexspeller has joined #ruby
ToTo has quit [Ping timeout: 255 seconds]
io_syl has joined #ruby
webclectic has joined #ruby
Neomex has quit [Quit: Neomex]
sie has joined #ruby
kumarat9pm1 has joined #ruby
kumarat9pm1 has quit [Max SendQ exceeded]
seanstickle has joined #ruby
banisterfiend has quit [Remote host closed the connection]
Yarou has quit [Ping timeout: 250 seconds]
kumarat9pm has quit [Ping timeout: 252 seconds]
jonahR has joined #ruby
Astral_ has quit [Ping timeout: 260 seconds]
wildcard0 has quit [Ping timeout: 265 seconds]
atyz has quit [Ping timeout: 264 seconds]
wildcard0 has joined #ruby
Noldorin has joined #ruby
masterkaen has joined #ruby
kaen has quit [Disconnected by services]
masterkaen is now known as kaen
esdf has quit [Quit: leaving]
ebouchut has joined #ruby
track7 has quit [Read error: Connection reset by peer]
sepp2k1 has joined #ruby
webclectic has quit [Quit: leaving]
sepp2k has quit [Ping timeout: 244 seconds]
track7 has joined #ruby
atyz has joined #ruby
dagnachew has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
ikaros has quit [Quit: Ex-Chat]
xyzodiac has joined #ruby
jsmonkey has quit [Quit: Lost terminal]
stevechiagozie has joined #ruby
robbyoconnor has joined #ruby
Chryson has joined #ruby
banisterfiend has joined #ruby
<pskosinski> I heard here that storing a lot of instance variables is bad and that it's better to use hash. Any explanation why?
ikaros has joined #ruby
<pskosinski> And is ~20 a lot? ^^
snorkdude has joined #ruby
webclectic has joined #ruby
<seanstickle> Nope.
crackfu has joined #ruby
<seanstickle> Depends on your situation, like most things like this.
<snorkdude> Can anyone point me to a tutorial or reference on how to write a Ruby wrapper for an API that uses OAuth for authentication?
emocakes has quit [Ping timeout: 245 seconds]
robbyoconnor has quit [Ping timeout: 255 seconds]
ChrisBolton has joined #ruby
<pskosinski> seanstickle: Well… for me it doesn't matter, imho, if I will have one instance variable being hash or more variables instead of hash… But I was reading here soemthing like this and can't find any useful link, why sometimes hash can be better. :(
<snorkdude> Nvm figured it out, dumb q.
robbyoconnor has joined #ruby
ChrisBolton has quit [Client Quit]
atyz has quit [Quit: Leaving...]
ebouchut has quit [Quit: This computer has gone to sleep]
<pskosinski> So I guess that there was a good reason… ok.
nwertman has quit [Ping timeout: 255 seconds]
webclectic has left #ruby ["WeeChat 0.3.5"]
johnmilton has joined #ruby
<shevy> pskosinski complexity is an issue - if you can get away without having to use an instance variable, it is often better to do so
eldariof has quit []
mmitchell has joined #ruby
jonahR has quit [Quit: jonahR]
mockra has joined #ruby
Mch1 has quit [Quit: ZNC - http://znc.sourceforge.net]
jonahR has joined #ruby
koshii has joined #ruby
freakazoid0223 has quit [Quit: Leaving]
miskander has joined #ruby
Mch1 has joined #ruby
eldariof has joined #ruby
<Mon_Ouie> pskosinski: There are reasons you could prefer a hash, e.g. not having a fixed set of attributes or often needing to access an attribute whose name is stored in a string
mmitchell has quit [Ping timeout: 244 seconds]
mockra has quit [Ping timeout: 264 seconds]
jds has joined #ruby
slainer68 has quit [Remote host closed the connection]
ebouchut has joined #ruby
<pskosinski> shevy, Mon_Ouie: thanks :)
joofsh has quit [Remote host closed the connection]
dagnachew has quit [Remote host closed the connection]
Pip has left #ruby ["Leaving"]
<snorkdude> Will a ruby wrapper for OAuth work with OAuth2?
miskander has quit [Quit: miskander]
KOunit has joined #ruby
<KOunit> guys, what's the method form of division operator?
<Mon_Ouie> 3./(4) ?
<Mon_Ouie> (Funny thing I noticed: when I type random stuff in a REPL to see if it works, 3 is the first thing I try. Always.)
<hoelzro> Mon_Ouie: mine is 17.
* hoelzro shrugs
<hoelzro> >> 3./(4)
<eval-in> hoelzro: Output: "" (http://eval.in/5620)
<hoelzro> >> puts 3./(4)
<eval-in> hoelzro: Output: "0\n" (http://eval.in/5621)
hoelzro is now known as hoelzro|away
digifiv5e has quit [Quit: quit]
<KOunit> Mon_Ouie: hoelzro|away thanks
<Mon_Ouie> That's charliesome's bot, right?
<Mon_Ouie> I think he should make it output the result of the evaluated expression, that's what we're looking for more often than the actual output of the program
wargasm has quit [Ping timeout: 244 seconds]
joofsh has joined #ruby
Snuggles has joined #ruby
<banisterfiend> >> puts "<Mon_Ouie> 'alut everybody, the royal tart-toter has arrived"
<eval-in> banisterfiend: Output: "<Mon_Ouie> 'alut everybody, the royal tart-toter has arrived\n" (http://eval.in/5622)
KOunit has left #ruby [#ruby]
lawliet has quit [Read error: Operation timed out]
Astral has joined #ruby
miskander has joined #ruby
Astral is now known as Guest23408
koshii has quit [Ping timeout: 245 seconds]
kil0byte has quit [Remote host closed the connection]
apacala has quit [Remote host closed the connection]
nwertman has joined #ruby
horofox has quit [Quit: horofox]
Snuggles has quit [Ping timeout: 260 seconds]
elaptics`away is now known as elaptics
joeycarmello has quit [Ping timeout: 245 seconds]
DatumDrop has joined #ruby
nwertman has quit [Ping timeout: 252 seconds]
pskosinski has quit [Quit: Learn Life's Little Lessons]
lazyPower has joined #ruby
cj3kim has quit [Ping timeout: 276 seconds]
dagnachew has joined #ruby
pskosinski has joined #ruby
dagnachew has quit [Remote host closed the connection]
spacemud has joined #ruby
cj3kim has joined #ruby
cj3kim has joined #ruby
cj3kim has quit [Changing host]
pskosinski is now known as pskrib
kil0byte has joined #ruby
pskrib is now known as pskosinski
spacemud has quit [Client Quit]
joofsh has quit [Remote host closed the connection]
reuf has joined #ruby
joofsh has joined #ruby
jaygen has joined #ruby
andrew_ has joined #ruby
andrew_ is now known as andrewhl
atyz has joined #ruby
<shevy> man
<shevy> a 17 lines of code method just replaced a class with 100 lines of code... not equal functionality, but a lot easier to understand
spacemud has joined #ruby
<matti> shevy:
Slivka has joined #ruby
<seanstickle> Nice job shevy
<seanstickle> I just tried my hand at using the Doctrine ORM in PHP. I am pretty sure that 2 lines or Ruby can replace 200 lines of that PHP.
<whitequark> matti: why did you reply with an empty message?
<whitequark> for some reason I'm seeing this all over the freenode
cableray has joined #ruby
<shevy> ack... PHP
<Hanmac> i just read "2lines of Ruby can replace Doctrine"
<matti> whitequark: shevy will understand.
<matti> ;]
<matti> shevy: Am I right? ;]
<shevy> yeah
wermel has joined #ruby
<matti> :>
<matti> shevy: Go learn some golang ;] It is fun ;]
joeycarmello has joined #ruby
<seanstickle> shevy: I had to consider using only PHP at work
Jasko has quit [Read error: Connection reset by peer]
<seanstickle> shevy: it was … distressing
Jasko has joined #ruby
<shevy> matti hmm the problem with go is... I always wonder whether I really need it... why not C or Java instead?
jds has quit [Remote host closed the connection]
matip has joined #ruby
<seanstickle> Hanmac: more or less :)
atyz has quit [Quit: Leaving...]
<matip> is it possible to use Curses so I can capture any key but in normal screen instead of full screen?
_cheney2 has quit [Ping timeout: 260 seconds]
<matti> shevy: Java sucks donkey balls.
<matti> shevy: Everything touching Java is always bad.
<Hanmac> okay its more ... its two and a half line
<matti> shevy: And surrounded in a gazillion bash scripts.
<Hanmac> matti jruby too? :D
dagnachew has joined #ruby
jfl0wers has quit [Quit: jfl0wers]
<matti> Hanmac: Everything Java ;p
<whitequark> shevy: go learn some Rust instead
spacemud has quit [Quit: ZNC - http://znc.in]
* matti grew to hate Java thanks to Maven.
mockra has joined #ruby
<shevy> yeah I dont like java... so I am not sure I'd like go that much more :(
<matti> shevy: I live it! Fallen in love with it recently ;]
<whitequark> golang is boring, rust is an actual improvement in programming languages field
<matti> shevy: Feels like C + Ruby
<matip> have you used curses?
<seanstickle> Go seemed pretty interesting
<Hanmac> every week i hear about yet-another-security-patch for java because they did not test or read ther own code
<matti> Hanmac: +1
<matti> Hanmac: It sucks badly since 1.7
<whitequark> Hanmac: sandboxes never work
<whitequark> they don't in Flash, don't in Linux, fucking don't work in Firefox and Chrome
<whitequark> it's no different.
cableray has quit [Quit: cableray]
johnmilton has quit [Quit: Leaving]
<whitequark> Google simply fixes them faster.
<whitequark> even hardware virtualization sandboxes can be and were broken
<whitequark> so, no, there is no problem with holes in Java.
<matti> whitequark: Actually, LXC + cgroups work decently.
<whitequark> just don't run untrusted code in it, no matter what their marketing says.
daniel_-_ has joined #ruby
<whitequark> matti: hardware virtualization works decently eiter. but. it WAS broken.
Takehiro has quit [Remote host closed the connection]
<whitequark> nothing is infallible.
<matti> Hehe
<matti> I am happy that whitequark rants more than I do ;p
<whitequark> ranting about how bad java is because of those sandbox holes is just dumb
<matti> Makes me look better ;p
<whitequark> matti: heh
<matti> :>
<whitequark> you can go on HN and then feel yourself like the most modest person in the world
<matti> Hahah
<Hanmac> and then they do an fix, but the fix break everything or delete fonts or files because they did not test the fixes
<matti> That is a fair point.
<matti> whitequark: I stopped reading HN when it became a place for code-wannabe-ninjas fresh out of college writing about how to use Bash shell.
<matti> whitequark: I gave up then.
<seanstickle> So what does Rust get me?
<seanstickle> Looks like C
<seanstickle> Why not just learn C?
<whitequark> seanstickle: it has a very neat concurrency and memory management model
<whitequark> also, blocks.
daniel_-_ has quit [Client Quit]
<matti> Rust is nice.
daniel_- has quit [Ping timeout: 260 seconds]
<matti> But who uses it?
<matti> ;/
<seanstickle> Haskell is nice too.
daniel_- has joined #ruby
daniel_- has quit [Changing host]
daniel_- has joined #ruby
<seanstickle> And ML
<seanstickle> How to choose!
<matti> Erlang!
<matti> Er Er
<whitequark> seanstickle: a program without side effects is not a program, it's a mathematical artefact
<seanstickle> whitequark: that's what monads are for
<Hanmac> matti so is Rust the descendant of IronRuby? :D
<seanstickle> Hanmac: IronRuby + Doxygen
<Hanmac> xD
<whitequark> (and the links)
<seanstickle> whitequark: what about it?
<whitequark> Haskell is nice to learn, but you must be quite insane to actually use it for systems or application programming
<shevy> hehe
<shevy> the madness monad
<whitequark> (it does offer very real benefits when solving a small class of problems. but that's it.)
CaptainJet has joined #ruby
<seanstickle> whitequark: being called insane does not exactly persuade me
<seanstickle> Your rhetorical skills are somewhat lacking there.
lkba has joined #ruby
<seanstickle> Anyways, I use APL. What effect does being called insane have on me?
<seanstickle> :D
<whitequark> to elaborate: if 80% of your work is caring about order and type of side effects, using a language which tries to avoid side effects is not a wise decision
<whitequark> oh, APL
LouisGB has quit [Ping timeout: 244 seconds]
Takehiro has joined #ruby
Markvilla has quit [Read error: Connection reset by peer]
jgrevich has joined #ruby
<whitequark> besides, why can't I write unary & whenever I want?
<whitequark> { if: &:present? }, for example
<whitequark> (that would translate to :present?.to_proc
<whitequark> )
marco has joined #ruby
Markvilla has joined #ruby
marco is now known as Marco
Noldorin has quit [Quit: Computer has gone to sleep.]
ltsstar has quit [Quit: ltsstar]
rakl has joined #ruby
jrajav has joined #ruby
ToTo has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
Takehiro has quit [Remote host closed the connection]
justincampbell has joined #ruby
hoelzro|away is now known as hoelzro
ToTo has quit [Ping timeout: 250 seconds]
hotovson has joined #ruby
x82_nicole has joined #ruby
Hanmac has quit [Ping timeout: 255 seconds]
Hanmac has joined #ruby
Goles has joined #ruby
spacemud has joined #ruby
hotovson has quit [Read error: No route to host]
ebouchut has quit [Quit: This computer has gone to sleep]
eldariof has quit []
horofox has joined #ruby
spacemud has quit [Changing host]
spacemud has joined #ruby
hotovson_ has joined #ruby
eldariof has joined #ruby
jrajav has quit [Quit: I tend to be neutral about apples]
king313 has joined #ruby
king313 has quit [Changing host]
king313 has joined #ruby
hotovson_ has quit [Read error: No route to host]
whowantstolivef2 has joined #ruby
dmiller has quit [Remote host closed the connection]
kiyoura has joined #ruby
<Mon_Ouie> Because then foo(&:far) would be ambiguous
<Mon_Ouie> It could be understood as foo(:far.to_proc), which is very different from what it currently does
LyonJT has quit [Quit: Leaving...]
pwelch has joined #ruby
<whitequark> Mon_Ouie: oh, right. thanks.
workmad3 has joined #ruby
mercwithamouth has quit [Ping timeout: 260 seconds]
ltsstar has joined #ruby
Hanmac has quit [Ping timeout: 255 seconds]
horofox has quit [Quit: horofox]
LucidDreamZzZ has quit [Ping timeout: 276 seconds]
joofsh has quit [Remote host closed the connection]
atyz has joined #ruby
LucidDreamZzZ has joined #ruby
marr has quit [Ping timeout: 265 seconds]
joeycarmello has quit [Ping timeout: 260 seconds]
wargasm has joined #ruby
egman has joined #ruby
atyz has quit [Ping timeout: 245 seconds]
workmad3 has quit [Ping timeout: 260 seconds]
sayan has quit [Quit: Leaving]
<benlieb> anyone help with this: unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for lib/bundler/vendor/thor/invocation.rb, skipping
<benlieb> trying to install bundler
dr_neek has quit [Quit: dr_neek]
jds has joined #ruby
eldariof has quit []
jds has quit [Ping timeout: 245 seconds]
sepp2k1 has quit [Ping timeout: 265 seconds]
Takehiro has joined #ruby
eldariof has joined #ruby
Guest23408 has quit [Quit: Leaving]
eldariof has quit [Client Quit]
vlad_starkov has joined #ruby
pmros has joined #ruby
hotovson has joined #ruby
Astral has joined #ruby
Astral is now known as Astralum
pwelch has quit [Quit: pwelch]
eldariof has joined #ruby
Takehiro has quit [Ping timeout: 244 seconds]
workmad3 has joined #ruby
mockra has quit [Remote host closed the connection]
horofox has joined #ruby
seanstickle has quit [Quit: seanstickle]
hotovson has quit [Read error: No route to host]
eldariof has quit [Client Quit]
crackfu has quit [Ping timeout: 244 seconds]
crackfu has joined #ruby
cor3ngine has quit [Quit: leaving]
freakazoid0223 has joined #ruby
stevechiagozie has quit [Quit: leaving]
vlad_starkov has quit [Ping timeout: 260 seconds]
eldariof has joined #ruby
Hanmac has joined #ruby
wf2f has quit []
crackfu_ has joined #ruby
mercwithamouth has joined #ruby
joeycarmello has joined #ruby
sepp2k has joined #ruby
crackfu has quit [Ping timeout: 255 seconds]
workmad3 has quit [Read error: Operation timed out]
miskander has quit [Quit: miskander]
spacemud has quit [Quit: ZNC - http://znc.in]
spacemud has joined #ruby
rapha has left #ruby [#ruby]
iNerd has joined #ruby
adambeynon has joined #ruby
woolite64 has joined #ruby
nemesit has quit [Read error: Connection reset by peer]
nemesit has joined #ruby
_cheney has joined #ruby
_br_ has quit [Excess Flood]
gyre008 has joined #ruby
_br_ has joined #ruby
Noldorin has joined #ruby
justincampbell has quit [Remote host closed the connection]
DatumDrop has quit [Remote host closed the connection]
miskander has joined #ruby
gyre007 has quit [Ping timeout: 265 seconds]
arturaz has quit [Remote host closed the connection]
Jasko has quit [Read error: Connection reset by peer]
arturaz has joined #ruby
Jasko has joined #ruby
matchaw has quit [Remote host closed the connection]
joofsh has joined #ruby
arturaz has quit [Remote host closed the connection]
arturaz has joined #ruby
dawkirst has joined #ruby
Astral_ has joined #ruby
_br_ has quit [Excess Flood]
bigmac has joined #ruby
notVert has joined #ruby
matchaw has joined #ruby
Astralum has quit [Ping timeout: 260 seconds]
_br_ has joined #ruby
Vert has quit [Ping timeout: 252 seconds]
<snorkdude> Anyone know about writing Ruby wrappers for REST APIs?
<Paradox> snorkdude, yup
<snorkdude> When the APIs use OAuth2 authentication?
<Paradox> nope
<snorkdude> :(
<Paradox> i'd use omniauth
<snorkdude> I want to write a wrapper for https://www.picplum.com/developer/
<snorkdude> But I'm pretty new to this and the authentication is throwing me for a loop
<whitequark> I've used gem oauth2
<whitequark> it is pretty straightforward
<snorkdude> haha
egman has quit [Ping timeout: 250 seconds]
<snorkdude> I've used oauth2 in a rails project before
xyzodiac has quit [Quit: Textual IRC Client: www.textualapp.com]
<snorkdude> But I'm having trouble writing a gem that uses it, especially on the testing side of things
ryanf has joined #ruby
Vert has joined #ruby
jduan1981 has joined #ruby
notVert has quit [Ping timeout: 252 seconds]
<shevy> write write write
<shevy> tests are only for wimps
marr has joined #ruby
<snorkdude> lol
atyz has joined #ruby
sie has left #ruby ["WeeChat 0.3.7"]
Umren has quit [Read error: Connection reset by peer]
nemesit|osx has joined #ruby
Umren has joined #ruby
hotovson has joined #ruby
king313 has quit [Quit: Saliendo]
pmros has quit [Quit: Konversation terminated!]
miskander has quit [Quit: miskander]
atyz has quit [Ping timeout: 255 seconds]
nemesit has quit [Ping timeout: 255 seconds]
dagnachew has quit [Quit: Leaving]
dagnachew has joined #ruby
dagnachew has quit [Remote host closed the connection]
hotovson has quit [Ping timeout: 260 seconds]
mercwithamouth has quit [Ping timeout: 260 seconds]
hoelzro is now known as hoelzro|away
maletor has joined #ruby
arturaz has quit [Remote host closed the connection]
browndawg has quit [Quit: Leaving.]
stkowski has joined #ruby
rhys has quit [Quit: Leaving]
dagnachew has joined #ruby
shammancer_ has joined #ruby
iNerd has left #ruby [#ruby]
Noldorin has quit [Quit: Computer has gone to sleep.]
Proshot has joined #ruby
workmad3 has joined #ruby
Solnse has joined #ruby
otters has quit [Ping timeout: 252 seconds]
notVert has joined #ruby
nemesit|osx has quit [Quit: Linkinus - http://linkinus.com]
nemesit has joined #ruby
joofsh has quit [Remote host closed the connection]
snearch has joined #ruby
notVert_ has joined #ruby
pac1 has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
Vert has quit [Ping timeout: 252 seconds]
CaptainJet has quit [Ping timeout: 265 seconds]
Asher has joined #ruby
pac1 has quit [Remote host closed the connection]
notVert has quit [Ping timeout: 252 seconds]
pac1 has joined #ruby
pac1 has quit [Client Quit]
freakazoid0223 has quit [Quit: Leaving]
koshii has joined #ruby
egman has joined #ruby
miskander has joined #ruby
snorkdude has quit [Quit: snorkdude]
x82_nicole has quit [Quit: Computer has gone to sleep.]
dagnachew has quit [Quit: Leaving]
joeycarmello has quit [Ping timeout: 245 seconds]
dagnachew has joined #ruby
daniel_- has quit [Ping timeout: 260 seconds]
Solnse has quit [Ping timeout: 244 seconds]
moos3 has joined #ruby
hotovson has joined #ruby
shammancer_ has quit [Quit: Leaving.]
shammancer has quit [Quit: Leaving]
shammancer has joined #ruby
gyre008 has quit [Remote host closed the connection]
dagnachew has quit [Client Quit]
eldariof has quit []
hotovson has quit [Read error: No route to host]
otters has joined #ruby
cascalheira has joined #ruby
cascalheira has quit [Remote host closed the connection]
Aqua has quit [Ping timeout: 264 seconds]
cascalheira has joined #ruby
nomenkun_ has quit [Remote host closed the connection]
cascalheira has quit [Remote host closed the connection]
cascalheira has joined #ruby
io_syl has quit [*.net *.split]
sepp2k has quit [*.net *.split]
dawkirst has quit [*.net *.split]
wargasm has quit [*.net *.split]
Russell^^ has quit [*.net *.split]
busybox42 has quit [*.net *.split]
waxjar has quit [*.net *.split]
nimred has quit [*.net *.split]
lobak has quit [*.net *.split]
JohnBat26 has quit [*.net *.split]
UdontKnow has quit [*.net *.split]
Sou|cutter has quit [*.net *.split]
francisfish has quit [*.net *.split]
volte_ has quit [*.net *.split]
mfridh has quit [*.net *.split]
drfreeze has quit [*.net *.split]
xargoon has quit [*.net *.split]
Coolhand_ has quit [*.net *.split]
Monie has quit [*.net *.split]
caveat- has quit [*.net *.split]
mksm has quit [*.net *.split]
jmeeuwen has quit [*.net *.split]
AlSquire has quit [*.net *.split]
wookiehangover has quit [*.net *.split]
jbermudes has quit [*.net *.split]
nuba has quit [*.net *.split]
pkondzior__ has quit [*.net *.split]
thejefflarson_ has quit [*.net *.split]
dross has quit [*.net *.split]
mnaser has quit [*.net *.split]
krisfremen has quit [*.net *.split]
d-snp has quit [*.net *.split]
mkillebrew has quit [*.net *.split]
cespare has quit [*.net *.split]
tris has quit [*.net *.split]
Mathieu has quit [*.net *.split]
tomku has quit [*.net *.split]
Diger_s has quit [*.net *.split]
schwap has quit [*.net *.split]
naquad has quit [*.net *.split]
rcj_ has quit [*.net *.split]
willb has quit [*.net *.split]
dv_ has quit [*.net *.split]
sj26 has quit [*.net *.split]
whitequark has quit [*.net *.split]
_axx has quit [*.net *.split]
eval-in has quit [*.net *.split]
im0b has quit [*.net *.split]
yugui_zzz has quit [*.net *.split]
tr4656 has quit [*.net *.split]
ikonia has quit [*.net *.split]
schwap has joined #ruby
eval-in has joined #ruby
Mathieu has joined #ruby
UdontKnow has joined #ruby
UdontKnow has quit [Changing host]
UdontKnow has joined #ruby
d-snp has joined #ruby
whitequark has joined #ruby
dross has joined #ruby
mksm has joined #ruby
_axx has joined #ruby
drfreeze has joined #ruby
volte has joined #ruby
krisfremen has joined #ruby
krisfremen has joined #ruby
krisfremen has quit [Changing host]
xargoon has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mkillebrew has joined #ruby
busybox42 has joined #ruby
JohnBat26 has joined #ruby
naquad has joined #ruby
im0b has joined #ruby
AlSquirrel has joined #ruby
ikonia has joined #ruby
jbermudes has joined #ruby
aef has quit [Excess Flood]
nuba has joined #ruby
tris has joined #ruby
cespare has joined #ruby
jds has joined #ruby
willb has joined #ruby
Monie has joined #ruby
yugui_zzz has joined #ruby
Sou|cutter has joined #ruby
francisfish has joined #ruby
waxjar has joined #ruby
sepp2k has joined #ruby
caveat- has joined #ruby
io_syl has joined #ruby
jmeeuwen has joined #ruby
rcj_ has joined #ruby
tomku has joined #ruby
wargasm has joined #ruby
lobak has joined #ruby
pkondzior__ has joined #ruby
dv_ has joined #ruby
Coolhand_ has joined #ruby
cascalheira has quit [Client Quit]
wookiehangover has joined #ruby
thejefflarson_ has joined #ruby
sj26 has joined #ruby
mnaser has joined #ruby
slainer68 has joined #ruby
aef has joined #ruby
nemesit has quit [Read error: Connection reset by peer]
snorkdude has joined #ruby
nemesit has joined #ruby
joofsh has joined #ruby
otherj has joined #ruby
nimred has joined #ruby
yacks has quit [Quit: Leaving]
mfridh has joined #ruby
tr4656 has joined #ruby
Diger_s has joined #ruby
DatumDrop has joined #ruby
vlad_starkov has joined #ruby
generalissimo has joined #ruby
miskander has quit [Quit: miskander]
emsilva has quit [Quit: Computer has gone to sleep.]
nemesit|osx has joined #ruby
sorbo_ has joined #ruby
mfridh has quit [Changing host]
mfridh has joined #ruby
generalissimo has quit [Remote host closed the connection]
DatumDrop has quit [Ping timeout: 260 seconds]
wallerdev has joined #ruby
ner0x has joined #ruby
wermel has quit [Remote host closed the connection]
joeycarmello has joined #ruby
nemesit|osx has quit [Client Quit]
nemesit|osx has joined #ruby
jds has quit [Remote host closed the connection]
nemesit has quit [Ping timeout: 255 seconds]
nemesit|osx has quit [Client Quit]
nemesit has joined #ruby
kaen has quit [Ping timeout: 244 seconds]
JohnBat26 has quit [Ping timeout: 252 seconds]
<matip> require 'curses' \n puts 'Press any key to continue...' \n Curses.getch \n puts 'yay!'
<matip> isn't it possible to do that without activating "full screen" in curses?
lawliet has joined #ruby
Asher has quit [Quit: Leaving.]
shammancer has quit [Quit: Leaving.]
arturaz has joined #ruby
<Mon_Ouie> I don't really know how curses works, but I know you can easily do it with io/console
<Mon_Ouie> Just replacing Curses.getch with $stdin.getch
<lupine> "easily"
<lupine> console IO is hard(tm)
<banisterfiend> Mon_Ouie: I'll pay you $100 if you write a kick-ass curses front-end for pry
<banisterfiend> where the definition of 'kick-ass' lies with me ;)
moos3 has quit [Quit: Computer has gone to sleep.]
shammancer has joined #ruby
<Mon_Ouie> lupine: s/Curses/$stdin/ sounds easy enough to me :p
moos3 has joined #ruby
<Mon_Ouie> Oh he left
<matip> ...it's not the same
<Mon_Ouie> Oh, never mind
<matip> curses allows you to capture chars without the input buffer
<matip> ie, you don't have to press enter
<Mon_Ouie> matip: $stdin.getch does that to
<matip> what!?
<matip> let me check
<Mon_Ouie> That's *not* $stdin.getc
<Mon_Ouie> And you need require 'io/console'
<matip> OMG
<matip> -.
<matip> -.-
<matip> ok, thanks :P
r0bby has joined #ruby
Beoran_ has joined #ruby
snorkdude has quit [Quit: snorkdude]
robbyoconnor has quit [Ping timeout: 252 seconds]
lawliet is now known as beyondbirthday
Beoran__ has quit [Ping timeout: 255 seconds]
mpfundstein_home has quit [Remote host closed the connection]
mpfundstein_home has joined #ruby
sn0wb1rd has quit [Quit: I will be right back]
Noldorin has joined #ruby
mjolk has joined #ruby
jduan1981 has quit [Quit: jduan1981]
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
baphled has joined #ruby
kaen has joined #ruby
joeycarmello has quit [Remote host closed the connection]
joeycarmello has joined #ruby
r0bby is now known as robbyoconnor
otherj has quit [Quit: otherj]
fowl has joined #ruby
benlieb has quit [Quit: benlieb]
nemesit has quit [Remote host closed the connection]
Guest25886 has quit [Quit: Guest25886]
workmad3 has quit [Ping timeout: 252 seconds]
lazyPower has quit [Remote host closed the connection]
generalissimo has joined #ruby
nemesit has joined #ruby
havenn has joined #ruby
Umren has quit [Read error: Connection reset by peer]
sn0wb1rd has joined #ruby
punkrawkR has joined #ruby
dan_ has joined #ruby
otters has quit [Ping timeout: 252 seconds]
gyre007 has joined #ruby
<aedorn> I dont' know why I torture myself like this. Perhaps I'm a masochist ... trying to make a system package manager using Ruby to replace portage and entropy - because I thought it'd be fun. It's not fun.
<pasties> aedorn: heheh there is a reason it took so long to make half decent package managers and even now there are problems with the majority of them
moos3 has quit [Quit: Computer has gone to sleep.]
Jasko has quit [Read error: Connection reset by peer]
danneu has joined #ruby
Jasko has joined #ruby
joofsh has quit [Remote host closed the connection]
gyre007 has quit [Ping timeout: 276 seconds]
<aedorn> Yeah.. that's why I'm trying to write one that will replace those two... and then I want to add features to replace aptitude, dpkg, rpm, yum ..etc.. make the syntax the same across all distributions without rewriting their architecture. Yup. Not fun.
nomenkun has joined #ruby
kokainepizza has joined #ruby
<aedorn> maybe I'll write something in Fortran instead..I'd get less of a migraine
generalissimo has quit [Remote host closed the connection]
<waxjar> look at home-brew i guess, its written in Ruby i believe
daniel_hinojosa has joined #ruby
daniel_- has joined #ruby
<fowl> murry new yurrs errbody
cableray has joined #ruby
<aedorn> yay, happy early new years
nomenkun has quit [Ping timeout: 260 seconds]
danneu has quit [Ping timeout: 264 seconds]
Noldorin has quit [Quit: Computer has gone to sleep.]
atyz has joined #ruby
daniel_- has quit [Ping timeout: 251 seconds]
<shevy> aedorn wow
<aedorn> shevy: hmm?
<shevy> aedorn replacing portage is a lot of work
<aedorn> yes... yes it is
<pasties> aedorn: Do you understand the problem space covered by each of those tools you intend to replace? They'are all slightly different
<shevy> I have 2365 individual yaml files describing programs so far
jduan1981 has joined #ruby
otters has joined #ruby
<shevy> aedorn from that point on, it should be easy to generate packages in other formats
<shevy> one just has to edit the yaml file, then generate the various formats
atyz has quit [Ping timeout: 252 seconds]
h4mz1d has joined #ruby
<shevy> hmm that reminds me, I need to distribute those yaml files too ...
<aedorn> pasties: That's why I only want to replace the front end for doing it, and leave the architecture intact. The idea is to unify the most used features of all package managers, to retain syntax. It's part of a bigger project so it has to be done =\
danneu has joined #ruby
<shevy> :)
<pasties> aedorn: have you looked at how chef has handled that frontend? It's pretty reliable and already ruby
beyondbirthday has quit [Quit: beyondbirthday]
jds has joined #ruby
morf has joined #ruby
snorkdude has joined #ruby
<aedorn> pasties: I've been looking at it just recently, same with puppet. For my specific current issue they won't work, but maybe once past a certain point they will
arturaz has quit [Remote host closed the connection]
elliottcable is now known as nunoit
ner0x has quit [Quit: Leaving]
jds has quit [Ping timeout: 276 seconds]
daniel_- has joined #ruby
Nisstyre-laptop has joined #ruby
otherj has joined #ruby
<aedorn> of course, it could be I'm thinking too complicated about it and by the end of next month I'll realize it. I've had that happen many times lol
cajone has joined #ruby
miskander has joined #ruby
jfl0wers has joined #ruby
kiyoura` has joined #ruby
ap4y has joined #ruby
nunoit is now known as elliottcable
ap4y has quit [Remote host closed the connection]
Jasko has quit [Read error: Connection reset by peer]
kiyoura has quit [Ping timeout: 260 seconds]
Jasko has joined #ruby
Goles has quit [Quit: Out.]
atno_ has joined #ruby
Goles has joined #ruby
atno_ is now known as atno
atno has left #ruby [#ruby]
atno has joined #ruby
atno has quit [Client Quit]
bradleyprice has joined #ruby
katherinem13 has quit [Quit: katherinem13]
atno has joined #ruby
katherinem13 has joined #ruby
hotovson has joined #ruby
ap4y has joined #ruby
emocakes has joined #ruby
<shevy> aedorn well
<shevy> if all you want is to generate packages for other distributions, then this is a solvable problem
<shevy> it just takes enough time to write the code
<shevy> you need to include all the core functionality that distributions offer... archlinux pkgbuild files rely on shell syntax, and patches
hotovson has quit [Ping timeout: 260 seconds]
jfl0wers has quit [Ping timeout: 260 seconds]
benlieb has joined #ruby
Noldorin has joined #ruby
kennyvb has quit [Ping timeout: 245 seconds]
michaelmartinez has joined #ruby
hotovson has joined #ruby
kennyvb has joined #ruby
uris has joined #ruby
_br_ has quit [Excess Flood]
hotovson has quit [Ping timeout: 260 seconds]
seanstickle has joined #ruby
_br_ has joined #ruby
blacktulip has quit [Remote host closed the connection]
seanstickle has quit [Client Quit]
danneu has quit [Quit: WeeChat 0.3.8]
kennyvb has quit [Ping timeout: 255 seconds]
_br_ has quit [Excess Flood]
hotovson has joined #ruby
kennyvb has joined #ruby
ltsstar has quit [Ping timeout: 245 seconds]
baphled has quit [Ping timeout: 255 seconds]
snearch has quit [Quit: Verlassend]
Astral_ is now known as Astralim
Astralim is now known as Astralum
hotovson has quit [Read error: No route to host]
_br_ has joined #ruby
jds has joined #ruby
baphled has joined #ruby
jfl0wers has joined #ruby
benlieb has quit [Quit: benlieb]
benlieb has joined #ruby
michaelmartinez has quit [Quit: Check it, Wreck it http://www.caffeineindustries.com/blog]
generalissimo has joined #ruby
baphled has quit [Ping timeout: 252 seconds]
baphled has joined #ruby
jonahR has quit [Quit: jonahR]
atyz has joined #ruby
Noldorin has quit [Quit: Computer has gone to sleep.]
ap4y has quit [Remote host closed the connection]
Xeago has joined #ruby
atyz has quit [Ping timeout: 260 seconds]
skaczor has quit [Quit: Konversation terminated!]
miskander has quit [Quit: miskander]
<snorkdude> APIs that really need a wrapper?
seanstickle has joined #ruby
snorkdude has quit [Quit: snorkdude]
ap4y has joined #ruby
s1n4 has joined #ruby
whowantstolivef2 has quit [Ping timeout: 255 seconds]
jmaya has joined #ruby
gnul0ver has joined #ruby
ap4y has quit [Remote host closed the connection]
jds has quit [Remote host closed the connection]
generalissimo has quit [Remote host closed the connection]
jds has joined #ruby
rburton- has joined #ruby
ap4y has joined #ruby
jmaya has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
rburton- has quit [Client Quit]
gnul0ver has left #ruby ["Leaving"]
benlieb has quit [Quit: benlieb]
Bry8Star has quit [Remote host closed the connection]
jds has quit [Ping timeout: 252 seconds]
Bry8Star has joined #ruby
alanp has joined #ruby
nemesit has quit [Read error: Connection reset by peer]
fuho has quit [Remote host closed the connection]
fuho has joined #ruby
x82_nicole has joined #ruby
alanp_ has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Remote host closed the connection]
diomeo has joined #ruby
<diomeo> hi dudes, please support bitfungus dot org
<diomeo> and dont forget to contact us for any feature/issue request
otherj has quit [Ping timeout: 265 seconds]
horofox has quit [Quit: horofox]
atno has left #ruby ["Leaving"]
atno has joined #ruby
atno has left #ruby ["Leaving"]
DatumDrop has joined #ruby
elvikingo has joined #ruby
atno has joined #ruby
crackfu_ has quit [Ping timeout: 244 seconds]
jrajav has joined #ruby
toekutr has joined #ruby
horofox has joined #ruby
hybris has joined #ruby
agarie has joined #ruby
horofox has quit [Client Quit]
aedorn has quit [Quit: Konversation terminated!]
stevechiagozie has joined #ruby
workmad3 has joined #ruby
mmitchell has joined #ruby
snorkdude has joined #ruby
aedorn has joined #ruby
DatumDrop has quit [Remote host closed the connection]
xandy is now known as xAndy
gnul0ver has joined #ruby
mpfundstein_home has quit [Ping timeout: 255 seconds]
applebloom has joined #ruby
mmitchell has quit [Remote host closed the connection]
crackfu has joined #ruby
havenn has quit [Remote host closed the connection]
EPIK has joined #ruby
havenn has joined #ruby
stevechiagozie has quit [Quit: leaving]
stevechiagozie has joined #ruby
seanstickle has quit [Quit: seanstickle]
havenn has quit [Ping timeout: 260 seconds]
mercwithamouth has joined #ruby
s1n4 has quit [Quit: leaving]
stevechiagozie has quit [Quit: leaving]
stevechiagozie has joined #ruby
stevechiagozie has quit [Client Quit]
urrk has joined #ruby
<hybris> Does anyone have advice for compiling ruby with ssl (using rvm)?
michaelmartinez has joined #ruby
snorkdude has quit [Quit: snorkdude]
michaelmartinez has quit [Client Quit]
stevechiagozie has joined #ruby
jrajav has quit [Quit: phunq, sandwich store loop, WHAT NO UNIVERSE]
diomeo has left #ruby [#ruby]
<workmad3> hybris: platform?
<workmad3> s/platform/os
<hybris> I guess that is helpful. I'm on ubuntu 12.10
Jasko has quit [Read error: Connection reset by peer]
<workmad3> hybris: run 'rvm requirements'
<workmad3> hybris: and then install all the packages it mentions there for MRI ruby
Jasko has joined #ruby
<workmad3> hybris: follow that with reinstalling the appropriate ruby
<hybris> aha! i knew i forgot to do something when i installed it on this box. thanks i definitely skipped that step before
pskosinski has quit [Quit: Learn Life's Little Lessons]
tommyvyo_ has joined #ruby
<hybris> thank you
Slivka has quit [Read error: Connection reset by peer]
ninegrid has quit [Ping timeout: 255 seconds]
atyz has joined #ruby
Doc_X_ has joined #ruby
havenn has joined #ruby
Doc_X has quit [Read error: Connection reset by peer]
elico has joined #ruby
vjacob has joined #ruby
banisterfiend has quit [Remote host closed the connection]
<agarie> Hi, has anyone used rdoc to document C++ source code?
<agarie> I'm having some problems here. rdoc understands that a class is being defined inside a extern "C", but isn't finding the methods
alexspeller has quit [Ping timeout: 252 seconds]
alexspeller has joined #ruby
atyz has quit [Ping timeout: 276 seconds]
crackfu has quit [Remote host closed the connection]
crackfu has joined #ruby
swex_ has joined #ruby
hemanth_ has quit [Read error: Connection reset by peer]
hemanth_ has joined #ruby
swex has quit [Ping timeout: 260 seconds]
hemanth_ has quit [Read error: Connection reset by peer]
adkron has joined #ruby
hemanth_ has joined #ruby
vjacob has quit [Remote host closed the connection]
crackfu has quit [Remote host closed the connection]
elico has quit [Remote host closed the connection]
hemanth_ has quit [Read error: Connection reset by peer]
elico has joined #ruby
rawGem has joined #ruby
hemanth_ has joined #ruby
hemanth_ has quit [Read error: Connection reset by peer]
hemanth_ has joined #ruby
hemanth_ has quit [Read error: Connection reset by peer]
hemanth_ has joined #ruby
hemanth_ has quit [Read error: Connection reset by peer]
hemanth_ has joined #ruby
rawGem has quit [Remote host closed the connection]
pskosinski has joined #ruby
hemanth_ has quit [Read error: Connection reset by peer]
hemanth_ has joined #ruby
Edward_ has joined #ruby
hemanth_ has quit [Read error: Connection reset by peer]
hemanth_ has joined #ruby
sorbo_ has quit [Quit: sorbo_]
hemanth_ has quit [Read error: Connection reset by peer]
hemanth_ has joined #ruby
fir_ed has quit [Ping timeout: 248 seconds]
kaen has quit [Read error: Connection reset by peer]
hemanth_ has quit [Read error: Connection reset by peer]
pmros has joined #ruby
hemanth_ has joined #ruby
classix has quit [Quit: leaving]
hemanth_ has quit [Read error: Connection reset by peer]
snorkdude has joined #ruby
classix has joined #ruby
hemanth_ has joined #ruby
kaen has joined #ruby
hemanth_ has quit [Read error: Connection reset by peer]
tenmilestereo has quit [Quit: Leaving]
hemanth_ has joined #ruby
generalissimo has joined #ruby
<hybris> that worked, thanks workmad3
<workmad3> np
hemanth_ has quit [Read error: Connection reset by peer]