Topic for #ruby-lang is now Ruby 1.9.3p0: http://ruby-lang.org | Paste >3 Lines of Text on http://pastie.org
andkerosine has quit [#ruby-lang]
<zenspider> originalserver: I'll take a half dozen xp servers
Carnage\ has joined #ruby-lang
<shevy> andrewvos the http://fuckingawesomesongs.com/submit is that rails?
<andrewvos> zenspider: THEY'RE MINE!
<andrewvos> shevy: The whole site is about 5 lines of untested sinatra
<tbuehlmann> you wish :p
<shevy> cool
<zenspider> I want one server in each of the UN security council's countries
<shevy> minimalism for the win
<zenspider> the last one should be in south africa
<andrewvos> zenspider: Why South Africa?
<zenspider> why not?
<zenspider> but since I don't know originalserver... I require a webcam be set up so I can see my servers at any time I want
srbaker has joined #ruby-lang
erpuds has joined #ruby-lang
<zenspider> that way I can confirm legitimate ownership by making my server blink and confirming it visually
<andrewvos> Fair deal
<theconartist> hi originalserver
<theconartist> wow it's not a bot?
<zenspider> says "theconartist"...
<andrewvos> When I do a 'redirect 'meh'' in sinatra, it breaks chrome's back button??
<theconartist> haha my name is thw worst
<andrewvos> khaase: ^^
H2H has joined #ruby-lang
* andrewvos heads over to #sinatra
jensn has joined #ruby-lang
tenderlove has joined #ruby-lang
postmodern has joined #ruby-lang
<andrewvos> Why would someone DDoS github?
danielvdotcom has joined #ruby-lang
<apeiros_> andrewvos: for the same reason as someone would ddos anything - money, fame, being an asshole…
<samuelkadolph> That last one being apeiros_'s motivation :P
<apeiros_> oh, I'm happy being an ass on irc.
<apeiros_> don't need no ddos for that.
sora_h has joined #ruby-lang
<originalserver> I selling dedicated servers in different countries, only windows xp, 2003,2008, seven! write who need them.
<andrewvos> Kill him someone
<samuelkadolph> What's windows seven?
<tbuehlmann> I write apeiros_ needs one
originalserver was kicked from #ruby-lang by zenspider [cunt]
<samuelkadolph> Noo
<samuelkadolph> I wanted to know where I could buy windows seven
<samuelkadolph> All I can find are these Windows 7 knockoffs
<drbrain> samuelkadolph: is it like http://www.imdb.com/title/tt0114369/?
<apeiros_> zenspider, the cunt-killer!
<samuelkadolph> C-Lined?
tommyvyo has joined #ruby-lang
<zenspider> hah
<zenspider> I just sent him: /msg originalserver you dumb cunt. if you're going to spam you should at least respond to orders.
<samuelkadolph> lol
<andrewvos> hehe
<zenspider> wow. he responded!
<zenspider> what language is "idi na hyu pidor blyat" ?
<apeiros_> none I know
<samuelkadolph> translate.google.com says it detected Spanish but it isn't translating it
<zenspider> I'm guessing filipino
<andrewvos> zenspider: Racist
<zenspider> uh. sure
<apeiros_> that doesn't sound spanish at all.
<rue_XIV> Lya suggestive of slavic
<zenspider> *shrug* he kept jabbering after I called him a dumb cunt in filipino ... none of it translated well. he can't type either. so I /ignored him
BigFatFatty has quit [#ruby-lang]
petercoo_ has joined #ruby-lang
csteamer has joined #ruby-lang
roha has joined #ruby-lang
rpowell has joined #ruby-lang
<rue_XIV> zenspider: Best I can tell, it's something about male prostitution
<samuelkadolph> Windows 2003 with happy ending.
justinmcp has joined #ruby-lang
<uniqanomaly> translate.google.com has a bad day :<
tenderlove has joined #ruby-lang
<uniqanomaly> from other #
<uniqanomaly> <uniqanomaly> kickban spammer
<uniqanomaly> <uniqanomaly> :>
<uniqanomaly> <originalserver> pidarasi
<uniqanomaly> <uniqanomaly> originalserver idi na hyu pidor blyat
<uniqanomaly> <originalserver> haha
<uniqanomaly> <originalserver> ebanytie
<uniqanomaly> <originalserver> vi typie yebki
<fireglow> drop it
<zenspider> uniqanomaly: yeah. no clue
Asher has joined #ruby-lang
h4y4shi has joined #ruby-lang
<erikh> I seeeeling dedicated mac minis in different bodies of water. Linux, FreeBSD, Solaris! write who want them
WillMarshall has joined #ruby-lang
brownies has joined #ruby-lang
<brownies> so, what's the deal with Cucumber coding style
savage-_ has joined #ruby-lang
<brownies> i could've sworn that i read something along the lines of "don't write Gherkin code that is implementation dependent"
<brownies> and yet i see a lot of "When I fill in blahblah with blahblah"
<shevy> what is a Cucumber coding style
<shevy> is it like coding under the influence of weed?
srbaker has joined #ruby-lang
rpowell has joined #ruby-lang
BunsAndGutter has joined #ruby-lang
<zenspider> brownies: I think they mean don't refer to what language the impl is using
danielvdotcom_ has joined #ruby-lang
<zenspider> not that I use cucumber...
<brownies> i've been hearing that a lot too, zenspider
<brownies> on the other hand, it seems like there is a large community -- whom i've never met -- that does use Cucumber
<brownies> why the dichotomy? and what would you use instead to write integration tests?
Oloryn_lt1 has joined #ruby-lang
<andrewvos> brownies: It works well when you're in larger more retarded companies
<brownies> andrewvos: what about smaller companies full of geniuses? what should they use?
<andrewvos> brownies: Whatever fucking works
<brownies> other than, of course, writing perfect bug-free code right off the bat -- that much is assumed.
<andrewvos> Well I would do BDD mostly
<brownies> andrewvos: hm, i'm not finding that library on github...
<brownies> andrewvos: well, what do you use?
WillMarshall has joined #ruby-lang
<andrewvos> For what?
<zenspider> I'm in one of those larger more retarded companies. we only allowed cucumber because SOMEONE ELSE was writing AND running them
<zenspider> I won't touch the shit
rpowell has joined #ruby-lang
<zenspider> too slow. too clevar. waste of my time
<andrewvos> zenspider: I bet ehy fucked that up
<andrewvos> they*
<andrewvos> Having a ifferent person writes cukes is detined for fail
<zenspider> andrewvos: prolly. not my problem
<andrewvos> Crap bad internet... excuse me spelling everything wrong
<zenspider> we write good tests. we keep them fast. I don't give a shit about cucumber or its goals
<andrewvos> cool
<andrewvos> zenspider: What sort of products do you produce? Do you do any automated testing?
djcercone has joined #ruby-lang
<zenspider> andrewvos: all my testing is automated... I authored minitest
<andrewvos> zenspider: Sorry, I mean UI testing
<zenspider> I don't believe that UI testing can be properly automated... I have yet to see a good solution for that problem (depending on how you define "UI testing", of course)
niklasb has joined #ruby-lang
<zenspider> you can test that your MVC is wired up correctly, but that's hardly UI testing... just the tip of the iceburg
<zenspider> and yet, it's like pulling teeth to get cocoa devs to do any form of automated testing
<brownies> that's what i'm asking
<brownies> what is your testing infrastructure?
<brownies> just Rspec + Jenkins?
<brownies> hmmm, minitest, eh?
<andrewvos> brownies: Yes use minitest you will get a long way with it
reckoner has joined #ruby-lang
<h4y4shi> Im getting a error for this. http://pastie.org/3358322 the error message says it has something to do with the or gates. Is there another way for me to do this?
<zenspider> rake, autotest, minitest... not much else.
<reckoner> I'm confused about how to add a method to the end of do block http://pastie.org/3358334
<zenspider> h4y4shi: looks like a simple 1 line math function to me... no?
<brownies> andrewvos: we're already knee deep in cucumber tbh
<zenspider> and I can think up at least 3 different ways to write that... so can you if you put your mind to it
<andrewvos> zenspider: Can you explain how you think that you don't believe UI testing can be properly automated? I'm really lost on that.
gix has joined #ruby-lang
<zenspider> andrewvos: UI is inherently subjective, not objective. I don't think you can automate testing for much of anything subjective
<h4y4shi> zenspider: all right
jtoy has joined #ruby-lang
<zenspider> h4y4shi: but to answer your underlying question...
<zenspider> h4y4shi: base_stat == 2 or 3 means (base_stat == 2) or 3
<zenspider> and since 3 is true, it's always true
<h4y4shi> zenspider: Oh thanks I keep forgetting to do that.
<zenspider> also, your case statement makes no sense
<andrewvos> zenspider: UI is subjective? What?
<zenspider> you're essentially saying case base_stat; when true... when true... when true...
<zenspider> andrewvos: what what?
<andrewvos> zenspider: You're going to have to explain that in terms I can understand.
<zenspider> andrewvos: what does "automated UI testing" mean to you?
<andrewvos> zenspider: Quite simply, "clicking buttons and checking that the right thing happens"
<andrewvos> zenspider: Making sure you haven't broken everything
<zenspider> meh
<zenspider> that's about 1/5th of the time you spend testing a GUI app
<zenspider> and completely boring
<zenspider> testing GUI plumbing isn't all that hard or interesting.
<zenspider> and it is also rarely what goes wrong
<andrewvos> So you're saying we're less prone to break the UI that something covered by a unit test?
<andrewvos> that=than
<zenspider> as I said above about MVC wiring
<zenspider> less prone? no. just that it isn't a hard problem. "widget A must be wired to controller B with action C"... whoopie
<zenspider> write a couple assertions. done.
<zenspider> I did something that I released called minitest-macruby that was a proof of concept for that... but again... cocoa devs hardly ever test anyhow
spuk has joined #ruby-lang
<andrewvos> So you're all for a team of QAs regression testing the fuck out of something for weeks?
<andrewvos> I mean, that's the alternative I see
<andrewvos> only*
srbaker has joined #ruby-lang
PatrixCR has joined #ruby-lang
BunsAndGutter has joined #ruby-lang
<zenspider> andrewvos: did I say that? also, do you have any alternative suggestions?
<andrewvos> zenspider: No you didn't, but it's implied
<andrewvos> zenspider: Unless you're working on products that are so small that you test them all yourself
<andrewvos> And yes, I think capybara is quite helpful for UI testing.
<apeiros_> hmmm, subclassing Enumerator…
<zenspider> no, it's not implied
<zenspider> I said that checking the MVC plumbing is EASY and BORING and a vast minority of what you actually do when you're working on a GUI app
<andrewvos> Ok well I agree with that..
SuperTaz_work has joined #ruby-lang
<zenspider> you spend a lot more time making sure the UI is usable, aesthetic, and intuitive... and you can't automate that... it's subjective... as I said
<andrewvos> zenspider: But what I was referring to is when you said that you don't believe UI testing can be automated. Are you saying that it *shouldn't* be automated?
srbaker has joined #ruby-lang
<apeiros_> that's actually fun. very cheap rails style "scopes"…
<apeiros_> just subclass Enumerator and you get it :)
<zenspider> ... I said that you can't test subjective things
<zenspider> how do you test that something is usable, aesthetic, or intuitive? if you can write a test for that, you're bound to be a lot richer than I'll ever be
<andrewvos> I get what you mean about that
<andrewvos> People don't write cucumber tests to test this stuff though
<andrewvos> They are testing that the application is still working
<zenspider> cucumber is useless. there's nothing it can do that I can't do faster and cleaner and more directly in a regular test.
<zenspider> and cucumber isn't UI testing.
sideshownz has joined #ruby-lang
<andrewvos> It can force your Product Owner to tell you what product to write!
<zenspider> "still working" means very little as well... just because you wired up MVC correctly means nothing towards the overall usability of the app
<zenspider> congrats... you now have a veriifed well wired piece of crap that nobody wants to use
<zenspider> verified
<zenspider> stupid ring finger
<andrewvos> zenspider: Yes, and you have less than half the amount of exploratory testers.
<zenspider> nonsense... cucumber does nothing to reduce workforce
<andrewvos> I'm not talking about cucumber I'm talking about writing UI tests
<zenspider> still does nothing to reduce workforce
sora_h has joined #ruby-lang
<andrewvos> Automating manual tests == less work?
djcercone has quit [#ruby-lang]
<zenspider> I'm really not getting through to you
<zenspider> those manual tests are NOTHING compared to what you really have to do on a GUI app
<zenspider> 30 seconds of unit tests
<zenspider> at most
<zenspider> and honestly, the developer should be writing (and running) it
postmodern has joined #ruby-lang
Keva161 has joined #ruby-lang
bglusman has joined #ruby-lang
takaokouji has joined #ruby-lang
d4mi3n has joined #ruby-lang
dous has joined #ruby-lang
d4mi3n has quit [#ruby-lang]
Jay_Levitt has joined #ruby-lang
sideshownz has joined #ruby-lang
bglusman has joined #ruby-lang
simon_weber has joined #ruby-lang
fayimora has joined #ruby-lang
srbaker has joined #ruby-lang
Spooner has joined #ruby-lang
fayimora has joined #ruby-lang
uglybandersnatch has joined #ruby-lang
uglybandersnatch has quit [#ruby-lang]
srbaker has joined #ruby-lang
fayimora has joined #ruby-lang
uglybandersnatch has joined #ruby-lang
uglybandersnatch has quit [#ruby-lang]
uglybandersnatch has joined #ruby-lang
uglybandersnatch has quit [#ruby-lang]
uglybandersnatch has joined #ruby-lang
<erikh> it's friday night, time for the cucumber argument
clockradio has joined #ruby-lang
clockradio has quit [#ruby-lang]
uglybandersnatch has joined #ruby-lang
jobicoppola has joined #ruby-lang
uglybandersnatch has quit [#ruby-lang]
Weems has joined #ruby-lang
Weems has joined #ruby-lang
ahs3- has joined #ruby-lang
fayimora_ has joined #ruby-lang
anekos_ has joined #ruby-lang
fragmachine has joined #ruby-lang
<fragmachine> how can I match multiple characters in a regex, like - >> 'c.gsub(/\|+-/, '')'
<fragmachine> it only seems to pick up the first match
bitrot has joined #ruby-lang
fayimora has joined #ruby-lang
retro|cz has joined #ruby-lang
srbaker has joined #ruby-lang
<h4y4shi> How do I do a while loop until I break?
<samuelkadolph> h4y4shi: loop do; end
<h4y4shi> Thanks
<erikh> what is the problem with the 'while' keyword
<erikh> why do so many rubytards hate it
flowerpot has joined #ruby-lang
take_cheeze has joined #ruby-lang
dfr|mac has joined #ruby-lang
ozzloy has joined #ruby-lang
gokul has joined #ruby-lang
brownies has joined #ruby-lang
brainopia has joined #ruby-lang
cjs226 has joined #ruby-lang
queequeg1_ has joined #ruby-lang
comboy has joined #ruby-lang
eyelight has joined #ruby-lang
savage- has joined #ruby-lang
PatrixCR has quit [#ruby-lang]
fayimora has joined #ruby-lang
Heimidal has joined #ruby-lang
yadav has joined #ruby-lang
Wardrop has joined #ruby-lang
ryanf__ has joined #ruby-lang
gianlucadv has joined #ruby-lang
chimkan_ has joined #ruby-lang
rpowell has joined #ruby-lang
Jarred1 has joined #ruby-lang
<Jarred1> Hi all. I'm trying to parse values within an XML document by its XPath using Nokogiri. Nokogiri is just returning an empty array for the given XPath. The XPath is correct -- I used Firedebug to get it. Here's the XPaths and the XML document --> https://gist.github.com/bf2f78b63718e469222c. What am I doing wrong?
mytrile has joined #ruby-lang
<Harzilein> Jarred1: it looks like it's case sensitive
<Harzilein> Jarred1: change your xpath to use the camelcased node names
bintut has joined #ruby-lang
<Harzilein> Jarred1: (or find some option that will make the match case insensitive)
postmodern has joined #ruby-lang
rpowell has joined #ruby-lang
jxie has joined #ruby-lang
thone has joined #ruby-lang
<Jarred1> Harzilein: That did it
<Jarred1> thanks a ton
<Jarred1> Also
<Jarred1> How do I get the value of an XML element?
<Jarred1> nvm found it
JohnBat26 has joined #ruby-lang
gokul has joined #ruby-lang
<Harzilein> Jarred1: np.
slyphon has joined #ruby-lang
robbyoconnor has joined #ruby-lang
y3llow_ has joined #ruby-lang
comboy_ has joined #ruby-lang
WillMarshall has joined #ruby-lang
Wardrop has joined #ruby-lang
rpowell has joined #ruby-lang
sora_h has joined #ruby-lang
looopy has joined #ruby-lang
zzak has joined #ruby-lang
slaytanic has joined #ruby-lang
levifig has joined #ruby-lang
CodeBlock has joined #ruby-lang
brushbox has joined #ruby-lang
abuiles has joined #ruby-lang
kith has joined #ruby-lang
brownies has joined #ruby-lang
alindeman has joined #ruby-lang
CodeBlock has joined #ruby-lang
retro_ has joined #ruby-lang
denysonique__ has joined #ruby-lang
Bwild has joined #ruby-lang
nemesit has joined #ruby-lang
hugsy_ has joined #ruby-lang
simon_weber_ has joined #ruby-lang
lele|w has joined #ruby-lang
melter has joined #ruby-lang
denysonique__ has joined #ruby-lang
cesario has joined #ruby-lang
y3llow_ has joined #ruby-lang
ahs3- has joined #ruby-lang
nick_h has joined #ruby-lang
looopy has joined #ruby-lang
drbrain has joined #ruby-lang
denysonique__ has joined #ruby-lang
EvilJStoker has joined #ruby-lang
hexo has joined #ruby-lang
Karmaon has joined #ruby-lang
looopy has joined #ruby-lang
brownies has joined #ruby-lang
Karmaon has joined #ruby-lang
alindeman has joined #ruby-lang
CodeBlock has joined #ruby-lang
toretore has joined #ruby-lang
csherin has joined #ruby-lang
nemesit has joined #ruby-lang
Carnage\ has joined #ruby-lang
apeiros_ has joined #ruby-lang
rpowell has joined #ruby-lang
shevy has joined #ruby-lang
imajes has joined #ruby-lang
rpowell has joined #ruby-lang
tekin has joined #ruby-lang
<erikh> doesn't anyone get paged when rubygems.org is down?
Randroid has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
kain has joined #ruby-lang
takaokouji has joined #ruby-lang
<rue_XIV> I do
<erikh> can you fix it?
<rue_XIV> No, I'm just kidding
nuclearsandwich has joined #ruby-lang
<erikh> meh.
<erikh> how are you? having a good day?
<rue_XIV> Just woke up
<rue_XIV> Hm, ping works most of the time
<erikh> probably getting the treatment other ruby sites have gotten this week
<rue_XIV> Mite be
<erikh> and... I'll put money on qrush never getting monitoring configured
<erikh> so it'll get fixed around noon tomorrow when someone on the team checks it
<erikh> anyhow, a waste of blood pressure.. just frustrating.
<rue_XIV> I wonder if it'd be reasonable to get some distributed caches up
<rue_XIV> zenspider: Still up? ^^
<erikh> they have that for the gems, just not the sources list
<erikh> that has been discussed numerous times
<rue_XIV> Right, that's the bunny.
<erikh> well it's 500ing now, I might have to eat my words here
<rue_XIV> Breakfast is the most important meal of the day, have some OJ too at least
<erikh> heh.
<erikh> well shit
* erikh eats words
<erikh> so it's back up now -- good jorb
looopy has joined #ruby-lang
yxhuvud has joined #ruby-lang
rushed has quit [#ruby-lang]
jamw has joined #ruby-lang
mytrile has joined #ruby-lang
pbjorklund has joined #ruby-lang
Stalkr_ has joined #ruby-lang
uniqanomaly_ has joined #ruby-lang
neoesque has joined #ruby-lang
setmeaway has joined #ruby-lang
benanne has joined #ruby-lang
mytrile has joined #ruby-lang
fayimora has joined #ruby-lang
rushed has joined #ruby-lang
burgestrand has joined #ruby-lang
jobicoppola has joined #ruby-lang
saLOUt has joined #ruby-lang
daglees has joined #ruby-lang
chimkan has joined #ruby-lang
Indian has joined #ruby-lang
bryno has joined #ruby-lang
burgestrand1 has joined #ruby-lang
codewrangler has joined #ruby-lang
looopy has joined #ruby-lang
dfr|mac has joined #ruby-lang
Spooner has joined #ruby-lang
csherin has joined #ruby-lang
enebo has joined #ruby-lang
S1kx has joined #ruby-lang
nemesit has joined #ruby-lang
Nss has joined #ruby-lang
chimkan has joined #ruby-lang
S2kx has joined #ruby-lang
sloth has joined #ruby-lang
<sloth> hi, i'm trying to make an mp3 alarm clock
<sloth> http://sprunge.us/NhXY is how i've tried to do it, but i know my logic is flawed
mytrile has joined #ruby-lang
<rue_XIV> What's the problem?
saLOUt has joined #ruby-lang
<Spooner> sloth: You need Time.now >= alarm (you are using == which is very unlikely to get hit).
<Spooner> And you could also do with a sleep so the while loop doesn't grind.
<Spooner> Or rather: sleep 1 while Time.now < alarm; system("afplay #{file}")
<shevy> so sleeeeepy1
kain has joined #ruby-lang
retro_ has joined #ruby-lang
<rue_XIV> Spooner: Eew
tomb has joined #ruby-lang
<andrewvos> erikh: Hah the Friday night cucumber argument
<apeiros_> hm, wrong place maybe, but maybe somebody knows anyway:
<apeiros_> any easy way to download all my gists?
<apeiros_> (gonna be offline for a week…)
<andrewvos> apeiros_: Use programming!
<apeiros_> don't have time
<apeiros_> leaving in ~10min :)
<andrewvos> apeiros_: BOOM http://develop.github.com/p/gist.html
Oloryn_lt1 has joined #ruby-lang
<apeiros_> as said, not enough time
<andrewvos> How much time do you have?
<andrewvos> I'll write it for you
<apeiros_> as said, 10min
<rue_XIV> Too bad, so sad
<shevy> wat
<shevy> offline for a week!
<shevy> what are you doing again!
<apeiros_> holidays
niklasb has joined #ruby-lang
<andrewvos> Ok code done
<apeiros_> sure? wow
<apeiros_> respect
<apeiros_> 4min left to do the actual downloading…
<andrewvos> https://gist.github.com/1800044 <0--- just testing now
<andrewvos> apeiros_: Maybe don't run it yet
<andrewvos> Damnit getting connectin refused sometimes
<rue_XIV> Hollywood should make a movie out of this
<rue_XIV> Split screen
<rue_XIV> apeiros_: Where're you going, domestic, abroad?
<apeiros_> ah, well, too late
<apeiros_> rue_XIV: abroad, hence no internet
<apeiros_> at home I'd have 1GB/month…
<apeiros_> I mean, in my home country
<andrewvos> apeiros_: Ok better https://gist.github.com/1800119
<apeiros_> gotta go, cya all in a week. and thanks andrewvos for trying! :)
<andrewvos> Nooooo
<andrewvos> Now I'm left with all of apeiros's gists.
<rue_XIV> Haha
<shevy> lol
<rue_XIV> andrewvos: Needs a thread pool
<andrewvos> rue_XIV: Yeah I was just thinking I should help with this ddos
<rue_XIV> Heh
<andrewvos> Damnit I kind of wanted to get that code done in time
<andrewvos> Stupid apeiros. He left early, and github was rigged with ddos attacks. NEXT TIME
<rue_XIV> Maybe the entire DDoS is actually a plot to deprive apeiros of some crucial gist he could have used to change the world with all this free time
<andrewvos> Sounds logical
<andrewvos> rue_XIV: I like to think it was this https://gist.github.com/1693656
<rue_XIV> That's probably it. It would have been used to see the progress of cure for cancer, but now they have to use an inferior solution and will accidentally create a zombie apocalypse
<andrewvos> Some genius here: https://gist.github.com/7673
<lianj> JSON.load(open("http://gist.github.com/api/v1/json/gists/#{username}").read)['gists'].each{|i| system "git clone git://gist.github.com/#{i['repo']} gist-#{i['repo']}" }
<andrewvos> Hey anyone got any songs to add to https://github.com/AndrewVos/fuckingawesomesongs.com. I'm thinking of adding collaborators to it
<andrewvos> lianj: You bastard
<shevy> lol
<andrewvos> lianj: Very clever
kyrylo has joined #ruby-lang
kyrylo has joined #ruby-lang
benanne has joined #ruby-lang
bglusman has joined #ruby-lang
JohnBat26 has joined #ruby-lang
jstemmer has joined #ruby-lang
Carnage\ has joined #ruby-lang
rippa has joined #ruby-lang
Keva161 has joined #ruby-lang
Asher has joined #ruby-lang
dustink has joined #ruby-lang
mztriz has joined #ruby-lang
chimkan_ has joined #ruby-lang
lianj has joined #ruby-lang
darkf has joined #ruby-lang
nemesit has joined #ruby-lang
curtism has joined #ruby-lang
gokul has joined #ruby-lang
<gokul> csherin,
jaisoares has joined #ruby-lang
mztriz_ has joined #ruby-lang
dejongge has joined #ruby-lang
Oloryn_lt1 has joined #ruby-lang
<andrewvos> rue: Sorry I had that in my clipboard and needed to pasted it somewhere (twitter).
solars has joined #ruby-lang
<rue> That's fine, it's not as if anything needs to make sense
<andrewvos> I need to reply to someone with it, and you were the best canditate. My apologies Sir
<andrewvos> needed*
<andrewvos> Damn I sound drunk. I'm not
lordofthedance has joined #ruby-lang
<rue> Uh huh
Slackwise has joined #ruby-lang
<andrewvos> It's like 16:40 here
gioele has joined #ruby-lang
gokulnath has joined #ruby-lang
srbaker has joined #ruby-lang
<rue> Yeah, for shame
roha has joined #ruby-lang
beiter has joined #ruby-lang
chimkan_ has joined #ruby-lang
majnun has joined #ruby-lang
<roha> hey, im coding a little game and need to check for user input (arrow keys). the way i tried it, i have to press enter after each input. is there some standard way to continually check for input?
<roha> so that i can just press left and hold the button
<roha> or just that i can hit an arrow key multiple times and this results in multiple inputs to the program
<roha> at the moment i have a simple while true input = STDIN.gets end loop
<andrewvos> roha: There's a gem
<andrewvos> If you hang around a bit longer someone will answer you
Heimidal has joined #ruby-lang
<andrewvos> Or wait, maybe even 1.9.2 does this?
Sailias has joined #ruby-lang
<andrewvos> roha: Google getch 1.9.2
<roha> andrewvos, thanks!
<rue> io/console maby
<rue> Though I don't remember where the docs are
srbaker has joined #ruby-lang
<andrewvos> Have you looked down the side of the couch?
nofxx has joined #ruby-lang
brainopia has joined #ruby-lang
Mchl has joined #ruby-lang
nemesit has joined #ruby-lang
<Mon_Ouie> Yeah, you can use $stdin.getch with io/console
<roha> Mon_Ouie, andrewvos, rue: Thanks! It's working as intended now :)
burgestrand has joined #ruby-lang
kurko_ has joined #ruby-lang
<andrewvos> Pleasure dude
gokulnath__ has joined #ruby-lang
gokulnath has joined #ruby-lang
publicvoid_ has joined #ruby-lang
cjs226 has joined #ruby-lang
slyphon has joined #ruby-lang
looopy has joined #ruby-lang
roha has joined #ruby-lang
srbaker has joined #ruby-lang
gokulnath has joined #ruby-lang
listrophy has joined #ruby-lang
mdel has joined #ruby-lang
csherin has joined #ruby-lang
nfxgosu has joined #ruby-lang
benanne has joined #ruby-lang
nfxgosu has joined #ruby-lang
cmatheson has joined #ruby-lang
nfxgosu has joined #ruby-lang
nfxgosu has joined #ruby-lang
alindeman has joined #ruby-lang
Keva161 has joined #ruby-lang
yxhuvud has joined #ruby-lang
thorncp has joined #ruby-lang
any-key has joined #ruby-lang
freedrul1 has joined #ruby-lang
mahlon_ has joined #ruby-lang
Indian has joined #ruby-lang
CodeBlock has joined #ruby-lang
nfxgosu has joined #ruby-lang
nfxgosu has joined #ruby-lang
<burgestrand> There’s way too few people needing help on the weekends :x
jaisoares has joined #ruby-lang
nfxgosu has joined #ruby-lang
Asher has joined #ruby-lang
<shevy> hehe
<shevy> yeah
<shevy> and
<shevy> it will be worse on sunday
dreinull has joined #ruby-lang
nfxgosu has joined #ruby-lang
srbaker has joined #ruby-lang
kurko_ has joined #ruby-lang
nfxgosu has joined #ruby-lang
gokulnath has joined #ruby-lang
niklasb has joined #ruby-lang
slaytanic has joined #ruby-lang
kurko_ has joined #ruby-lang
nfxgosu has joined #ruby-lang
nfxgosu has joined #ruby-lang
nfxgosu has joined #ruby-lang
imperator has joined #ruby-lang
<shevy> dumdedum
<imperator> howdy folks
<drbrain> smart, smart-smart-smart-smart
<imperator> smart**5
Zolrath has joined #ruby-lang
nfxgosu has joined #ruby-lang
Luxx_ has joined #ruby-lang
<drbrain> ^^ is the punchline to one of my favorite South Park jokes
<imperator> oic
<drbrain> it follows a lot of "dum-de-dumdumdum"s
Carnage\ has joined #ruby-lang
nfxgosu has joined #ruby-lang
yfeldblum has joined #ruby-lang
nfxgosu has joined #ruby-lang
nfxgosu has joined #ruby-lang
Slackwise has joined #ruby-lang
nemesit has joined #ruby-lang
nfxgosu has joined #ruby-lang
wyhaines_ has joined #ruby-lang
nfxgosu has joined #ruby-lang
nfxgosu has joined #ruby-lang
sideshownz has joined #ruby-lang
nfxgosu has joined #ruby-lang
nfxgosu has joined #ruby-lang
gianlucadv has joined #ruby-lang
JohnBat26 has joined #ruby-lang
nfxgosu has joined #ruby-lang
nfxgosu has joined #ruby-lang
fayimora has joined #ruby-lang
nfxgosu has joined #ruby-lang
nemesit has joined #ruby-lang
nfxgosu has joined #ruby-lang
rivaler has joined #ruby-lang
flowerpot has joined #ruby-lang
nfxgosu has joined #ruby-lang
dreinull has joined #ruby-lang
Dreamer3 has joined #ruby-lang
nfxgosu has joined #ruby-lang
kurko_ has joined #ruby-lang
nfxgosu has joined #ruby-lang
mdel_ has joined #ruby-lang
Keva161 has joined #ruby-lang
nfxgosu has joined #ruby-lang
nfxgosu has joined #ruby-lang
sideshownz has joined #ruby-lang
flip_digits has joined #ruby-lang
nfxgosu has joined #ruby-lang
gregf has joined #ruby-lang
nfxgosu has joined #ruby-lang
empity has joined #ruby-lang
slimfit has joined #ruby-lang
MistyM has joined #ruby-lang
lordofthedance has joined #ruby-lang
roha has joined #ruby-lang
nfxgosu has joined #ruby-lang
nfxgosu has joined #ruby-lang
lordofthedance has joined #ruby-lang
nfxgosu has joined #ruby-lang
RomyRomy has joined #ruby-lang
nfxgosu has joined #ruby-lang
Axsuul has joined #ruby-lang
Axsuul has joined #ruby-lang
Axsuul has joined #ruby-lang
Axsuul has joined #ruby-lang
Axsuul has joined #ruby-lang
Axsuul has joined #ruby-lang
Axsuul has joined #ruby-lang
roha has joined #ruby-lang
nfxgosu has joined #ruby-lang
nfxgosu has joined #ruby-lang
looopy has joined #ruby-lang
h4y4shi has joined #ruby-lang
flak has joined #ruby-lang
nfxgosu has joined #ruby-lang
erpuds has joined #ruby-lang
Jake232 has joined #ruby-lang
nemesit has joined #ruby-lang
nfxgosu has joined #ruby-lang
fayimora_ has joined #ruby-lang
nofxx has joined #ruby-lang
nfxgosu has joined #ruby-lang
JasCo has joined #ruby-lang
nfxgosu has joined #ruby-lang
<shevy> remind me to never ever again use .send in the context of delegating to another class ...
<shevy> that just leads to hard to find bugs!
nfxgosu has joined #ruby-lang
nfxgosu has joined #ruby-lang
postmodern has joined #ruby-lang
nfxgosu has joined #ruby-lang
nfxgosu has joined #ruby-lang
Jake232 has joined #ruby-lang
nfxgosu has joined #ruby-lang
chimkan___ has joined #ruby-lang
nfxgosu has joined #ruby-lang
symm- has joined #ruby-lang
petercooper has joined #ruby-lang
nfxgosu has joined #ruby-lang
kyrylo has joined #ruby-lang
kyrylo has joined #ruby-lang
<symm-> finding it impossible to get rmagick on windows
nfxgosu has joined #ruby-lang
<muzone> symm-: its working here
<muzone> symm-: whats your problem?
nfxgosu has joined #ruby-lang
InfiniteJest has joined #ruby-lang
fayimora_ has joined #ruby-lang
nfxgosu has joined #ruby-lang
nfxgosu has joined #ruby-lang
<muzone> bbl
nfxgosu has joined #ruby-lang
Defusal has joined #ruby-lang
Defusal has joined #ruby-lang
nfxgosu has joined #ruby-lang
looopy_ has joined #ruby-lang
Wardrop has joined #ruby-lang
erpuds has joined #ruby-lang
<symm-> muzone: there is no prebuilt binary for 1.9.2
<symm-> I'm trying to use DevKit to build it myself, fingers crossed
erpuds has joined #ruby-lang
<symm-> oh boy, it worked.
<symm-> 100x easier than I thought it would be
<symm-> (windows users...)
virunga has joined #ruby-lang
nfxgosu has joined #ruby-lang
judofyr has joined #ruby-lang
<judofyr> RUBY RUBY RUBY RUBY RUBY
<judofyr> YBUR
<judofyr> RYUB
<judofyr> BYUR
<judofyr> YURB
<injekt> :|
<judofyr> what?
nfxgosu has joined #ruby-lang
Jay_Levitt has joined #ruby-lang
WillMarshall has joined #ruby-lang
nfxgosu has joined #ruby-lang
nfxgosu has joined #ruby-lang
arooni-mobile has joined #ruby-lang
Keva161 has joined #ruby-lang
mytrile has joined #ruby-lang
nfxgosu has joined #ruby-lang
tallboy has joined #ruby-lang
<judofyr> hey
<tallboy> hi
<tallboy> thanks for your answer
<judofyr> :)
<tallboy> im rereading it and trying in irb
<judofyr> yeah, writing code is often (if not always) the best way to understand
<tallboy> OH
<tallboy> holy crap
<tallboy> wow
<tallboy> that does make sense
<tallboy> i skimmed it the first time. i can see how that would be incredibly useful
<judofyr> nice
<judofyr> I remember I had problem grasping `yield` too. can't really remember how I learnt it though… I just remember I struggled for a while
<judofyr> problems*
<tallboy> yes, i have learned ruby for probably a few months now. i deployed a web app with sinatra
<judofyr> ncie
<tallboy> a really cool one, i think
<tallboy> but then i got these books about meta programming
<tallboy> and it feels like im at square one again
<erikh> welcome to your career in a nutshell
<erikh> I recommend whisky
<judofyr> hehe, there's quite a lot interesting and useful stuff down that road
<judofyr> some are more interesting and less useful than others
<tallboy> if i emailed you would you be willing to look over my code?
<tallboy> it already works fine, i just mean... to see how it might be done better
<judofyr> tallboy: sure: judofyr@gmail.com
<judofyr> I'm pretty much judofyr all over the place
<injekt> erikh: bourbon
kyrylo has joined #ruby-lang
kyrylo has joined #ruby-lang
<judofyr> well, it *is* hard being a printer
<injekt> aye
<injekt> extremely
<injekt> I always fuck stuff up and dont work when people want me too
<judofyr> terrible puns all over place too
<injekt> and eat paper. lots of fucking paper
<judofyr> injekt: I was about to say "story of my life"
rowanu has joined #ruby-lang
<judofyr> but no, I don't eat much paper…
<injekt> :P
<injekt> I *really* don't want to work right now
nfxgosu has joined #ruby-lang
<judofyr> dude, it's sat/sunday; why do you need to work?
<injekt> startup releasing on tuesday
<judofyr> nice
<judofyr> at least the startup part
<injekt> worked straight for the past 2-3 months
<injekt> heh aye
<judofyr> what's the idea? or is it still secret? :)
<injekt> it's.. kinda still secret, nothing tech related (from a consumers pov)
<judofyr> sure
<judofyr> good luck though!
<injekt> more for people in the property development area
<injekt> thanks!
<injekt> not sure whos idea it was to launch on valentines day
<injekt> when we ALL have partners
<injekt> but meh
<judofyr> disregard females, acquire startups
<injekt> :P
<injekt> We all got 'its fine, you'll just have to make it up to me!'
<erikh> hahaha
<erikh> you guys
<erikh> are fucked.
<injekt> haha
<injekt> already planned what I'm doing next weekend with mine
<erikh> damnit
<erikh> the socket is binding
<erikh> and I still can't connect to it for some reason
<judofyr> erikh: fucked in the literal sense then
<judofyr> how's it going tallboy?
<erikh> my wife's still limping around, so I get a get out of vday free card this year
<judofyr> I'm seriously impressed by the general lurkingness of IRCers
<judofyr> there's like, 363 poeple here
<erikh> yeah this place is always quiet
<erikh> either of you know anything about 0mq?
eyelight has joined #ruby-lang
<erikh> I am running into a weird bug.
<erikh> well, I think it's a bug at least.
eyelight has quit [#ruby-lang]
<skryking> too busy coding to say much :)
<tallboy> writing email
<tallboy> haha
<erikh> now it all f'n works
lordofthedance has joined #ruby-lang
<judofyr> erikh: nothing else than it's awesome stuff
nfxgosu has joined #ruby-lang
<judofyr> tallboy: I'll have get some sleep some now. sorry for being able to answer right away; I'll look at the email tomorrow!
<judofyr> it's getting kinda late :/
<tallboy> hey
<tallboy> was just about to send. i udnerstand i just wanted to write some details in here
<tallboy> thanks for your help!
<judofyr> sure; we'll sort it out!
<judofyr> great
nfxgosu has joined #ruby-lang
nfxgosu has joined #ruby-lang
rowanu has joined #ruby-lang
erpuds has joined #ruby-lang
beiter has quit [#ruby-lang]
nfxgosu has joined #ruby-lang
looopy has joined #ruby-lang
darkf has joined #ruby-lang
darkf has joined #ruby-lang
ryanf has joined #ruby-lang
nfxgosu has joined #ruby-lang
take_cheeze has joined #ruby-lang
bglusman has joined #ruby-lang