apeiros_ changed the topic of #ruby to: Ruby 1.9.3-p286: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com
<shevy> and have it put onto your twitter account?
codeFiend has joined #ruby
schaary has joined #ruby
iamjarvo has quit [Quit: Computer has gone to sleep.]
<blazes816> or give me your creds and i'll do it for you
e2580 has joined #ruby
nitti has quit [Ping timeout: 240 seconds]
jimeh has quit [Client Quit]
mrsolo has quit [Quit: Leaving]
yuike has quit [Quit: Computer has gone to sleep.]
cezar-b has quit [Ping timeout: 246 seconds]
robbyoconnor has quit [Ping timeout: 268 seconds]
juarlex has quit [Remote host closed the connection]
binaryplease has quit [Quit: WeeChat 0.3.9.1]
binaryplease has joined #ruby
milesforrest|afk is now known as milesforrest
e2580 has quit [Killed (idoru (Spam is off topic on freenode.))]
horsey has quit [Ping timeout: 268 seconds]
milesforrest has left #ruby [#ruby]
nwertman has quit [Read error: Connection reset by peer]
nwertman has joined #ruby
piotr__ has quit [Ping timeout: 248 seconds]
billiam has quit [Quit: Leaving]
schaary has quit [Ping timeout: 260 seconds]
Banistergalaxy has quit [Ping timeout: 260 seconds]
slainer6_ has quit [Remote host closed the connection]
enderx86 has quit [Remote host closed the connection]
enderx86 has joined #ruby
jeffreybaird has joined #ruby
nateberkopec has joined #ruby
<Spaceghostc2c> Command line twitter clients aren't novel. Is this an especially good one?
dmiller_ has joined #ruby
pkrnj has joined #ruby
jeffreybaird has quit [Client Quit]
binaryplease has quit [Client Quit]
binaryplease has joined #ruby
nat2610 has joined #ruby
pavilionXP has quit [Ping timeout: 246 seconds]
dmiller has quit [Ping timeout: 264 seconds]
nateberkopec has quit [Client Quit]
jaygen has joined #ruby
nmabry has quit [Quit: nmabry]
zastern_ has joined #ruby
SCommette has quit [Quit: SCommette]
nmabry has joined #ruby
jds has joined #ruby
daniel_- has joined #ruby
rockets has quit [Ping timeout: 246 seconds]
tomsthumb has quit [Quit: Leaving.]
dpatel has joined #ruby
Dan- has quit [Quit: Linkinus - http://linkinus.com]
sarmiena_ has joined #ruby
otters has joined #ruby
BadProphet has quit [Remote host closed the connection]
gridaphobe has quit [Ping timeout: 276 seconds]
emmanuelux has quit [Quit: emmanuelux]
stkowski has quit [Quit: stkowski]
joshman_ has quit [Ping timeout: 245 seconds]
gridaphobe has joined #ruby
yuike has joined #ruby
slainer68 has joined #ruby
jimeh has joined #ruby
kzrx has joined #ruby
havenn has quit [Ping timeout: 240 seconds]
<kzrx> Hi folks, which one is better for a complete beginner: pickaxe or The Well-Grounded Rubyst (also, I'm open for other suggestions)?
<Spaceghostc2c> The latter
kbeddingfield has joined #ruby
qwerxy has quit [Quit: offski]
mjolk has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
<kzrx> Spaceghostc2c: care to elaborate why?
<Spaceghostc2c> kzrx: Because the pickaxe is a great reference.
osvico has joined #ruby
<blazes816> complete beginner to ruby or to programming?
<Spaceghostc2c> ^
<kzrx> blazes816: difficult to answer. I love to read technical papers about PL but I never programmed "for real". I'm very familiar with a bunch of CS concepts, tough.
<kzrx> Only the occasional bash script to automate some simple stuff.
jimeh_ has joined #ruby
failingkid has quit [Quit: Connection closed for inactivity]
<blazes816> well, it's more then general mindset that I think is important to be in, more so than actual programming experience. go with the pickaxe
SCommette has joined #ruby
<blazes816> you seem to be familiar with the concepts
swex has quit [Read error: Operation timed out]
<kzrx> blazes816: Yes. I chose Ruby because it drags influence from languages that I admire such as Lisp, Smalltalk, Perl, etc. But, as I said, it's very strange to be able to talk about type system, recursion, syntax, etc and, at the same time, be unable to do simple stuff like fibonacci or fizzbuzz.
pkrnj has quit [Quit: Computer has gone to sleep.]
etcetera has quit [Quit: Computer has gone to sleep.]
<blazes816> ha, I can't even imagine
<Hanmac> be brave, ruby feels when you are frightend and then bites you in your ass :D
<blazes816> but sounds like you have a really good foundation
swex has joined #ruby
jimeh_ has quit [Quit: Linkinus - http://linkinus.com]
<blazes816> like a beautiful women
KratosZero has quit []
jds has quit [Ping timeout: 252 seconds]
yuike has quit [Quit: Computer has gone to sleep.]
<blazes816> but she talks to us :(
nat2610 has quit [Read error: Connection reset by peer]
nat26101 has joined #ruby
codespectator has joined #ruby
x82_nicole has joined #ruby
<hadees> so I wrote this code http://pastie.org/5385343 to define some methods for my class but if the block i pass tries to access an instance method it doesn't work.
<Spaceghostc2c> Cool. Tests?
etcetera has joined #ruby
greenarrow has quit [Ping timeout: 240 seconds]
<hadees> I updated the code with an example http://pastie.org/5385350
greenarrow has joined #ruby
jenrzzz has joined #ruby
<hadees> how do I access self.scope ?
ddd has quit [Ping timeout: 245 seconds]
zastern_ has quit [Remote host closed the connection]
chessteach has joined #ruby
<kzrx> blazes816: it gets more: I know the different algorithms used in ruby's GC (from mark and sweep to bitmap marking).
<kzrx> blazes816: but I think that it'll be another one in 2.0 (there's a really smart guy working on that).
havenn has joined #ruby
<kzrx> blazes816: got all wrong. 1.9 is lazy sweep; 2.0 is bitmap marking.
<chessteach> Can someone recommend a library for me. I have a string that needs to be seperated into an array. It is seperated by spaces, and some fields are surrounded by quotes. He is the real problem though. Some fields do not start with quotes but contain non escaped quotes, these quotes need to be ignored. Does this make sense? Any suggestions?
<chessteach> *here is the real problem
<blazes816> kzrx: what do you do that you know this stuff despite not being a programmer?
<kzrx> blazes816: I love to read about this kind of stuff.
<blazes816> nice, sounds like you'll go far in programming
jenrzzz has quit [Ping timeout: 252 seconds]
binarypl2 has joined #ruby
sheerun has quit [Quit: sheerun]
tpe11etier has quit [Read error: Connection reset by peer]
<kzrx> chessteach: regex + #{...} substitutions on the non escaped ones? (pulling this out of thin air, might work (it's semi-manual, but...).
mytec has joined #ruby
jimeh has quit [Quit: Bye.]
<havenn> chessteach: Paste a gist of the before and after with expected result.
slainer68 has quit [Remote host closed the connection]
jimeh has joined #ruby
<kzrx> chessteach: not all that manual if your editor can handle macros (like emacs, vim...)
yshh has quit [Remote host closed the connection]
binaryplease has quit [Ping timeout: 245 seconds]
elliot98 has quit [Quit: Konversation terminated!]
banjara has quit [Quit: Leaving.]
<chessteach> kzrx... no need for a gist, pretty simple: `blah "foo foo" blah"foo` should become ['blah', 'foo foo', 'blah"foo']
banjara has joined #ruby
<chessteach> i mean havenn
Virunga has quit [Remote host closed the connection]
caveat- has quit [Ping timeout: 248 seconds]
<Hanmac> chessteach: 'blah "foo foo" blah"foo'.split(/"([^"]+)"/) #=> ["blah ", "foo foo", " blah\"foo"]
kzrx has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
<Hanmac> or if you dont want the spaces: 'blah "foo foo" blah"foo'.split(/"([^"]+)"/).map(&:strip) #=> ["blah", "foo foo", "blah\"foo"]
yoklov has joined #ruby
caveat- has joined #ruby
u89 has quit [Remote host closed the connection]
viktor_ has joined #ruby
jenrzzz has joined #ruby
adeponte has quit [Remote host closed the connection]
tbrock has quit [Quit: Computer has gone to sleep.]
u89 has joined #ruby
mytec has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
quidnunc has joined #ruby
mercwithamouth has joined #ruby
adeponte has joined #ruby
alee_ has quit [Remote host closed the connection]
amacgregor_osx has quit [Remote host closed the connection]
alee_ has joined #ruby
nitti has joined #ruby
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
ddd has joined #ruby
Zolrath has joined #ruby
jds has joined #ruby
schaary has joined #ruby
Juul has quit [Ping timeout: 245 seconds]
SCommette has quit [Quit: SCommette]
bbttxu has joined #ruby
nitti has quit [Ping timeout: 252 seconds]
brianpWins has quit [Quit: brianpWins]
havenn has quit [Ping timeout: 246 seconds]
Aiur has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<chessteach> Hanmac: thanks, I appreciate it
schaary has quit [Ping timeout: 255 seconds]
luckyruby has quit [Remote host closed the connection]
Pildo has joined #ruby
ejdyksen has joined #ruby
thone has joined #ruby
havenn has joined #ruby
thone_ has quit [Ping timeout: 260 seconds]
phantasm66 has joined #ruby
yuike has joined #ruby
ckrailo has quit [Quit: Computer has gone to sleep.]
jds has quit [Ping timeout: 248 seconds]
SCommette has joined #ruby
statarb3 has quit [Quit: Leaving]
slainer68 has joined #ruby
Jdubs has quit [Ping timeout: 245 seconds]
zoo-zed has joined #ruby
binarypl2 has quit [Quit: WeeChat 0.3.9.1]
Pildo has quit []
zoo-zed has quit [Client Quit]
aantix_ has joined #ruby
ner0x has joined #ruby
Rym has quit [Ping timeout: 246 seconds]
<ner0x> https://gist.github.com/4083029 Trouble installing ruby on aws ec2. Any ideas?
kiyoura has joined #ruby
<havenn> ner0x: what OS? Ubuntu?
emmanuelux has joined #ruby
aantix_ has quit [Client Quit]
<ner0x> havenn: Yes.
aantix has quit [Ping timeout: 264 seconds]
thinkdevcode has joined #ruby
<havenn> ner0x: Maybe try: sudo apt-get install libyaml-dev
scrogson has joined #ruby
<havenn> ner0x: Is it installed?
SCommette has quit [Quit: SCommette]
<ner0x> havenn: Yes. I installed everything that was in rvm's requirements.
<havenn> ner0x: Oh, I shoulda read on... yeah checksum mismatch.
<scrogson> I'm trying to install the latest 1.9.3 on a new box using rbenv. The install halts do to a checksum error:
<scrogson> checksum mismatch: yaml-0.1.4.tar.gz (file is corrupt)
<scrogson> expected 36c852831d02cf90508c29852361d01b, got (stdin)= 36c852831d02cf90508c29852361d01b
<scrogson> is there any way around this?
<ner0x> havenn: Any ideas?
h8R has quit [Read error: Connection reset by peer]
<havenn> You guys might want to try: brew install --HEAD ruby-build
<havenn> And see if it then works.
<ner0x> havenn: brew is a Mac thing isn't it?
<postmodern> scrogson, odd those md5s definitely match
chussenot has quit [Quit: chussenot]
<havenn> ner0x: Oh, yup - I just assumed wrongly!
<ner0x> havenn: Moreso, you asked me if I was on Ubuntu. lol
yoklov has quit [Quit: bye!]
<ner0x> postmodern: I know, very odd. I'm getting the same error.
Tref has joined #ruby
seanyo_ has joined #ruby
slainer68 has quit [Ping timeout: 265 seconds]
<havenn> ner0x: Sorry, distracted.
<ner0x> havenn: Not a problem mate. lol
joeycarmello has quit [Remote host closed the connection]
<scrogson> so it looks like I'm not the only one with this issue?
<havenn> scrogson: You are not alone.
<scrogson> ok good. And I see ner0x is getting this error using RVM?
<havenn> What are your `ruby-build -v` versions? (I'm on 20121110).
kebomix has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
seanyo has quit [Ping timeout: 252 seconds]
<postmodern> it appears ruby-build just got checksum support
tyfighter has quit [Quit: tyfighter]
<postmodern> betting there's a bug in there (since sstepheson doesnt write unit-tests)
<ner0x> scrogson: No, rbenv but I just used the rvm requirements
pkrnj has joined #ruby
<ner0x> postmodern: No unit testing?!
<ner0x> Ridiculous.
<scrogson> ok, yeah...I'm using rbenv aswell
<postmodern> scrogson, yeah, rbenv uses ruby-build under the hood
yshh has joined #ruby
daniel_- has quit [Ping timeout: 240 seconds]
alee_ has quit [Ping timeout: 276 seconds]
<scrogson> I was getting all of my deploy scripts tested last night with my vagrant box and everything was fine...now when I want to deploy to production, it's broken :(
methods has joined #ruby
manizzle has quit [Ping timeout: 260 seconds]
<postmodern> scrogson, i would install the last stable ruby-build version
<postmodern> scrogson, 20121110 works for me
<ner0x> That's the plan.
<ner0x> How can you not have unit tests for an app that's online?!
<postmodern> ner0x, i guess people think shell scripting is simple
<scrogson> postmodern: I'll look into it
apok_ has joined #ruby
<postmodern> ner0x, also why i don't use rbenv in production
<ner0x> postmodern: I see this.
nmabry has quit [Quit: nmabry]
<ner0x> postmodern: How do I git clone a stable version of ruby-build
atmosx has joined #ruby
<postmodern> ner0x, checkout a tag
<postmodern> ner0x, or download a zip/tar.gz for a tag
emmanuelux has quit [Remote host closed the connection]
apok has quit [Ping timeout: 246 seconds]
apok_ is now known as apok
atmosx has quit [Client Quit]
<ner0x> postmodern: I must not know how to checkout a tag.
SCommette has joined #ruby
alexim has quit [Quit: sleep]
daniel_- has joined #ruby
ryanf has joined #ruby
jonathanwallace has quit [Read error: Connection reset by peer]
atmosx has joined #ruby
jonathan_ has joined #ruby
kbeddingfield has quit [Read error: Connection reset by peer]
<ner0x> postmodern: But this was a ruby-builder issue not an rbenv issue.
<ner0x> Although pretty much one in the same.
<ner0x> Even if you wanted to use ruby-builder to roll your own ruby and then just PATH it, you'd still get errors.
<postmodern> ner0x, yep, if you are installing from master
<ner0x> Only thing to do is build your own ruby from some sort of ./build-ruby.sh script that sets all your needed configs.
braden` has quit [Read error: Connection reset by peer]
<ner0x> Which is probably the better way to do it but takes longer.
<ner0x> (longer _one_ time)
<havenn> postmodern: chruby is awesome btw... Haven't had a thought of switching back to rvm, rbenv or rbfu
<postmodern> ner0x, on most systems that would just be ./configure --prefix=... && make && make install
braden` has joined #ruby
<scrogson> ner0x: are you using the rbenv-installer script from fesplugas?
<postmodern> havenn, awesome!
<ner0x> scrogson: No.
<scrogson> ok
pkrnj has quit [Quit: Computer has gone to sleep.]
<havenn> postmodern: I like that the code is so concise, elegantly so. You happened to bite off about exactly as much functionality I'm looking for.
<ner0x> postmodern: I got it working.
<ner0x> postmodern: I'm just amazed there are no unit tests.
jimeh has quit [Quit: Computer has gone to sleep.]
rakl has joined #ruby
<postmodern> havenn, yeah i tried to keep it under 100 lines and keep it as simple as chsh
<ner0x> So using chruby, in your .bashrc you could just put chruby ruby --1.9.3--327 and just roll your own?
<postmodern> ner0x, yep, chruby and RVM are the only switchers/managers that have unit-tests
<havenn> postmodern: I aliased rb="chruby" and then with the fuzzy matching of rubies, short and sweet.
Soliah has joined #ruby
davidcelis has quit [Quit: K-Lined.]
<postmodern> ner0x, I think people start writing shell scripts and think "it just runs commands I don't need to write tests"
<postmodern> ner0x, then things slowly get more complex
<ner0x> postmodern: Scary.
mikepack has quit [Remote host closed the connection]
pkrnj has joined #ruby
jonathan_ has quit [Ping timeout: 256 seconds]
<havenn> postmodern: Correct me if I'm wrong, but seems that chruby has more lines of tests than lines of code!
<ner0x> postmodern: I'm going to try out chruby and rolling my own ruby on my prod server.
dmiller_ has quit [Remote host closed the connection]
<postmodern> ner0x, if it's a production server, I'd just install a primary ruby into /usr/local/
<postmodern> ner0x, don't be afraid to do a little system engineer ;)
<postmodern> *engineering
joeycarmello has joined #ruby
savage- has quit [Remote host closed the connection]
<postmodern> ner0x, i guess you could use chruby to set the appropriate ruby for different app users
<postmodern> ner0x, you can just put chruby 1.9 or chruby jruby in .bashrc
<postmodern> havenn, yeah, mpapis audited the code and pointed out all sorts of PATH manipulating edge cases
<havenn> postmodern: Nice.
<postmodern> havenn, like if some other script messed up PATH
<postmodern> havenn, i can't assume $ruby/bin/ will always be at the front
<ner0x> postmodern: I just prefer to put it in /opt for some reason.
<postmodern> ner0x, yeah, /opt is the place for binary packages
<postmodern> ner0x, /usr/local/src for compiled stuff
carlyle has joined #ruby
chimkan has joined #ruby
<atmosx> what is chruby?
<postmodern> atmosx, dead simple ruby switcher, https://github.com/postmodern/chruby#readme
<postmodern> atmosx, like chsh for ruby
<Spaceghostc2c> Not my style.
<atmosx> ah
<atmosx> k
<ner0x> postmodern: So if I'm developing a ruby on rails app, where should I put it?
<atmosx> I just use 1 version through rvm
<Spaceghostc2c> ner0x: On the internet.
ryanf has quit [Quit: leaving]
<postmodern> ner0x, i think /srv/$app is the traditional place
<atmosx> I have a weird situation, sqlite3 doesn't read sha1's...
<havenn> atmosx: E.g., chruby 2.0.0 or chruby rbx with fuzzy name matching completions. Along, chruby does rvm-ish style list of installed Rubies. Very few constraints.
<atmosx> havenn: yeah I got it
<havenn> s/Along/Aswell >.>
Tref has quit [Quit: Tref]
<postmodern> atmosx, also lets you have rubies in /usr/local/ and install gems into ~/.gem/$ruby/$version
<havenn> On that note, I need to move my rubies out of ~/.rbfu/rubies :P
carlyle has quit [Remote host closed the connection]
<ner0x> Spaceghostc2c: Hilarious.
<Spaceghostc2c> ner0x: #RubyOnRails is the proper place for rails help.
yuike_ has joined #ruby
<havenn> I have a sneaking suspicion that my implantation of this is naive, mostly because it seem ugly... any suggestions on better (read: sane) way to define_method based on arguments here?: https://gist.github.com/4077299
<ner0x> Spaceghostc2c: It wasn't a rails question. :) It was a system question.
werdnativ has quit [Quit: FAMOUS_LAST_WORDS is nil]
yuike has quit [Ping timeout: 260 seconds]
yuike_ is now known as yuike
tomsthumb has joined #ruby
Hydroxide has quit [Quit: leaving]
ewag has joined #ruby
<havenn> Excuse my spelling. :(
SCommette has quit [Quit: SCommette]
pkrnj has quit [Quit: Computer has gone to sleep.]
kzrl_ is now known as kzrl
u89 has quit [Remote host closed the connection]
pkrnj has joined #ruby
frem has joined #ruby
<Spaceghostc2c> havenn: I won't. I will, however, excuse your drinking.
<havenn> Spaceghostc2c: Thank you kind sir.
nitti has joined #ruby
<havenn> *hiccup
<atmosx> cya later bb
bpfh has quit [Ping timeout: 246 seconds]
rakl has quit [Quit: sleeping]
mparodi_ has joined #ruby
nat26101 has quit [Quit: Leaving.]
schaary has joined #ruby
mparodi_ has left #ruby ["Leaving"]
maletor has quit [Quit: Computer has gone to sleep.]
LouisGB has quit [Ping timeout: 260 seconds]
<ner0x> postmodern: making it with prefix=/usr/local but create a .deb with checkinstall so I can uninstall later on.
<ner0x> postmodern: Should work nicely.
araujo has quit [Quit: Leaving]
ryanf has joined #ruby
nitti has quit [Ping timeout: 264 seconds]
skaczor has joined #ruby
<ner0x> Safe to say I can remove the system ruby and install one in /usr/local
mercwithamouth has quit [Ping timeout: 256 seconds]
schaary has quit [Ping timeout: 276 seconds]
jeff_sebring has joined #ruby
chimkan has quit [Read error: Connection reset by peer]
forced_request has joined #ruby
quidnunc has quit [Remote host closed the connection]
nmabry has joined #ruby
chimkan has joined #ruby
jds has joined #ruby
senj has quit []
nari has joined #ruby
jds has quit [Ping timeout: 252 seconds]
jackdanger has joined #ruby
bpfh has joined #ruby
yuike has quit [Quit: Computer has gone to sleep.]
F1skr has joined #ruby
ewag has quit [Ping timeout: 276 seconds]
Hanmac1 has joined #ruby
areil has joined #ruby
mercwithamouth has joined #ruby
ephemerian has quit [Quit: Leaving.]
Hanmac has quit [Ping timeout: 260 seconds]
Hanmac1 is now known as Hanmac
samphippen has quit [Quit: Computer has gone to sleep.]
seanwash has joined #ruby
SCommette has joined #ruby
kebomix has quit [Quit: Page closed]
_bry4n has quit [Ping timeout: 252 seconds]
tjbiddle has quit [Quit: tjbiddle]
pac1 has joined #ruby
mengu has quit [Remote host closed the connection]
dpatel has quit [Quit: dpatel]
fyolnish has joined #ruby
love_col_ has quit [Remote host closed the connection]
arya_ has quit [Ping timeout: 244 seconds]
sarmiena_ has quit [Quit: sarmiena_]
Bosma has quit [Read error: Connection reset by peer]
<seanwash> I just wanted to say that.. I love you all.
daniel_- has quit [Quit: WeeChat 0.3.9.1]
nyrb has joined #ruby
kbeddingfield has joined #ruby
arya_ has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
beneggett has joined #ruby
beneggett has quit [Remote host closed the connection]
Bosma has joined #ruby
joeycarmello has quit [Remote host closed the connection]
apok has quit [Remote host closed the connection]
minijupe has quit [Quit: minijupe]
apok has joined #ruby
g_bleezy has quit [Remote host closed the connection]
wei719 has joined #ruby
nat2610 has joined #ruby
jenrzzz has joined #ruby
SCommette has quit [Quit: SCommette]
dmiller has joined #ruby
Grieg has joined #ruby
Grieg has quit [Changing host]
Grieg has joined #ruby
<blazes816> sean i luv u2
chimkan has quit [Read error: Connection reset by peer]
chimkan has joined #ruby
voodoofish430 has quit [Quit: Leaving.]
nari has quit [Remote host closed the connection]
nari has joined #ruby
<Gate> I'm sorry, but I love ruby more.
<Gate> we were meant to be together.
dmiller has quit [Ping timeout: 256 seconds]
ananthakumaran has joined #ruby
<blazes816> that's fine I have sean
Soliah has quit [Quit: Soliah]
mascool has quit [Ping timeout: 265 seconds]
ryanf has quit [Quit: leaving]
ryanf_ has joined #ruby
kbeddingfield has quit [Remote host closed the connection]
gridaphobe has quit [Ping timeout: 240 seconds]
ejdyksen has quit []
krz has joined #ruby
havenn has quit [Remote host closed the connection]
g_bleezy has joined #ruby
bricker has quit [Quit: leaving]
tjasko__ has quit [Ping timeout: 246 seconds]
havenn has joined #ruby
<RubyPanther> Ruby loves everybody, mRuby too.
<blazes816> it even loves mRuby?!
havenn has quit [Ping timeout: 240 seconds]
joeycarmello has joined #ruby
arya_ has quit [Ping timeout: 244 seconds]
ananthakumaran has quit [Ping timeout: 252 seconds]
ewag has joined #ruby
etcetera has quit [Read error: Operation timed out]
nitti has joined #ruby
Grieg has quit [Read error: Connection reset by peer]
<scrogson> postmodern: hey by the way, my ruby-build is on 20121110 also ;/
<postmodern> scrogson, ah crazy
love_color_text has quit [Remote host closed the connection]
<scrogson> I'm trying to install on Ubuntu 12.04
<postmodern> scrogson, wait, sstephenson hasn't bumped the version yet
<postmodern> scrogson, you sure you did not install from master?
arya_ has joined #ruby
schaary has joined #ruby
love_color_text has joined #ruby
BoomCow has quit [Quit: This computer has gone to sleep]
kbeddingfield has joined #ruby
<scrogson> no idea...I'm using https://github.com/fesplugas/rbenv-installer
<Spaceghostc2c> Someone work the RubyPanther.
<Spaceghostc2c> s/work/woke/
g_bleezy has quit [Remote host closed the connection]
<postmodern> scrogson, yep you installed from master
g_bleezy has joined #ruby
<postmodern> scrogson, don't use that script, download the tar.gz archives from github and install those
nitti has quit [Ping timeout: 260 seconds]
<Spaceghostc2c> Oh dear.
<Spaceghostc2c> Why not just do what the rbenv github suggests?
carlyle has joined #ruby
<postmodern> Spaceghostc2c, which is?
<scrogson> the script was something that Ryan Bates used in the Capistrano Recipes episode
<ner0x> Been trying to checkinstall a custom build ruby for 20 minutes.
<ner0x> Broken..
<postmodern> Spaceghostc2c, go on :)
<scrogson> it was working just fine last night on my vagrant box...
<scrogson> not so much now
<Spaceghostc2c> ner0x: Why are you avoiding using things that do things not so bad as everyone makes it sound?
<Spaceghostc2c> postmodern: Don't need to.
joeycarmello has quit [Remote host closed the connection]
<ner0x> Spaceghostc2c: Because, it shouldn't be this hard to make a .deb
pipopopo has quit [Ping timeout: 264 seconds]
ewag has quit [Ping timeout: 246 seconds]
<Spaceghostc2c> ner0x: Seems to be.
schaary has quit [Ping timeout: 276 seconds]
<postmodern> Spaceghostc2c, it makes no mention of installing ruby-build on *nix
ananthakumaran has joined #ruby
<Spaceghostc2c> I started out doing checkinstalls with highly configured packages.
<ner0x> sudo checkinstall --install=no
pipopopo has joined #ruby
<ner0x> All I'm doing.
<ner0x> Takes 10+ minutes? What? Wrong. Shouldn't.
<Spaceghostc2c> ner0x: And after I did that a while, I moved onto better things.
<postmodern> Spaceghostc2c, the problem is in ruby-build master
<Spaceghostc2c> postmodern: I used it last week.
<Spaceghostc2c> postmodern: USE YOUR SKILLS WITH GIT
havenn has joined #ruby
Grieg has joined #ruby
Grieg has quit [Changing host]
Grieg has joined #ruby
<postmodern> Spaceghostc2c, or you can do this: wget https://github.com/sstephenson/ruby-build/archive/v20121110.tar.gz
<Spaceghostc2c> postmodern: Upgrade that, I dare you. :D
<Spaceghostc2c> postmodern: Not gonna waste my time. I'm not bad with git.
<Spaceghostc2c> Maybe you are, so good luck.
<postmodern> Spaceghostc2c, wget is just the quickest way to get the source
dakine has joined #ruby
<Spaceghostc2c> postmodern: False.
<postmodern> Spaceghostc2c, you can also clone and run `git archive`
<Spaceghostc2c> I can also just run git clone and git fetch --tags
<Spaceghostc2c> postmodern: I think the problem here lies with your fear of using git well.
<postmodern> Spaceghostc2c, wget is on command, `git clone` and `git fetch` are two commands
<Spaceghostc2c> postmodern: Oh so you can wget, and unpack in one command now?
<postmodern> Spaceghostc2c, or maybe you have a fear of tar archives?
<Spaceghostc2c> postmodern: Nope, but good loluck with you sir.
<ner0x> Spaceghostc2c: Okay, so "make" has completed.
<Spaceghostc2c> git pull is one command.
<postmodern> Spaceghostc2c, curl | tar xzvf - :)
<Spaceghostc2c> postmodern: two commands.
<ner0x> Spaceghostc2c: "sudo checkinstall --install=no" should create a .deb correct?
<Spaceghostc2c> ner0x: Yes.
<postmodern> Spaceghostc2c, let's agree that we're both right in different ways
<Spaceghostc2c> postmodern: You'd be in the minority though, which is okay.
<ner0x> Spaceghostc2c: Can I /msg you with the questions it asks me so I know what they're doing?
<Spaceghostc2c> If he's going to get help from people like you often, he should go your way. Otherwise, it's just as easy if not moreso to do it the way everyone else does it.
<Spaceghostc2c> ner0x: No. Just let me know when you have errors in a gist. I'll take a peek.
g_bleezy has quit [Remote host closed the connection]
<scrogson> Ok, I think I got it...I just ssh'd into my box and cd'd into the ruby-build dir and ran `git checkout v20121110`
<postmodern> Spaceghostc2c, both solutions work, it's just a mater of style/taste, which is irrelevant, the goal here is to get scrogson's setup working
jmslagle has joined #ruby
<ner0x> Spaceghostc2c: I get no errors. It just says "copying temporary files" and takes minutes to do so.
<Cadwallion> wait wait wait
<Spaceghostc2c> postmodern: It's a matter of whose workflow is easier to get help with by the community by and large. :)
<Spaceghostc2c> I use git, I love git. rubyists use git, rubyists love git.
<Cadwallion> are you telling me the object of the internet ISNT to enforce your opinions on others?
<Spaceghostc2c> scrogson: Did you git fetch --tags first?
<Cadwallion> I have been Doing It Wrong(TM)
<scrogson> no
snorkdude has joined #ruby
<Spaceghostc2c> Cadwallion: ™
<jmslagle> I'm getting this when trying to info global in rdebug: https://gist.github.com/4083667 - new to ruby-debug - any insight?
<Spaceghostc2c> I had a few lying around, so that one's yours.
<Spaceghostc2c> 'var global'?
<scrogson> it has installed the yaml package so I think it's going good so far
<jmslagle> Yeah that even :)
<Spaceghostc2c> jmslagle: What do you think that is supposed to do?
iamjarvo has joined #ruby
<jmslagle> Well according to the docs it shows global variables :)
ryanf_ has quit [Quit: broken pipes |||]
Jasko has joined #ruby
<jmslagle> My guess is to_s on one of the globals might be busted?
braden` has quit [Disconnected by services]
<Spaceghostc2c> I've never used that. is #var an instance method on a debugger-ish object?
<Spaceghostc2c> I'll track this down.
braden`z has joined #ruby
<ner0x> Spaceghostc2c: "Copying files to the temporary directory..." is where I'm getting to.
<Spaceghostc2c> ner0x: Then what?
<Spaceghostc2c> It shits itself? It tells you every flaw you have? It molests your cat?
<ner0x> Spaceghostc2c: How'd you know about the cat thing?
<Spaceghostc2c> ner0x: I had a cat too... once.
<ner0x> Ah. version has to start with a digit.
ejdyksen has joined #ruby
ejdyksen has quit [Client Quit]
nmabry_ has joined #ruby
nmabry has quit [Read error: Connection reset by peer]
nmabry_ is now known as nmabry
<jmslagle> Just added more to the gist - same thing happens if I info variables after a bit
<ner0x> Spaceghostc2c: https://gist.github.com/4083729
<ner0x> Spaceghostc2c: Build with those specs?
<Spaceghostc2c> ner0x: No. tell me what goes wrong.
keyvan has joined #ruby
keyvan has quit [Changing host]
keyvan has joined #ruby
minijupe has joined #ruby
tjbiddle has joined #ruby
tjbiddle_ has joined #ruby
<ner0x> https://gist.github.com/4083729 # updated with error.
joeycarmello has joined #ruby
<postmodern> Spaceghostc2c, i created an issue to prevent this from happening again, https://github.com/sstephenson/ruby-build/issues/242
kbeddingfield has quit [Remote host closed the connection]
<Spaceghostc2c> ner0x: is it comma delineated?
<swarley> Spaceghostc2c; i think you're doing a fine job
g_bleezy has joined #ruby
tjbiddle has quit [Ping timeout: 265 seconds]
tjbiddle_ is now known as tjbiddle
<swarley> so i'm awarding you with some torque
<swarley> τττττττττττττ
<swarley> that should be plenty
xpen has joined #ruby
<Spaceghostc2c> postmodern: Good pull request.
<Spaceghostc2c> swarley: I already got a few torqueboxen.
<swarley> o
<Spaceghostc2c> But thanks!
xpen has quit [Remote host closed the connection]
<Spaceghostc2c> swarley: In what way am I doing a fine job? D:
<swarley> how about some wavelength then? λλλ
xpen has joined #ruby
<swarley> I'm not sure
<swarley> to be honest, i just have a bunch of predefined physics symbols lying around that i'm trying to give away
ananthakumaran has quit [Quit: Leaving.]
nmabry has quit [Quit: nmabry]
alvaro_o has quit [Quit: Ex-Chat]
nmabry has joined #ruby
skcin7 has quit []
tjbiddle has quit [Quit: tjbiddle]
haxrbyte has joined #ruby
<postmodern> swarley, got any deltas?
ryanf has joined #ruby
<swarley> only lower case δδδδδδδ
<swarley> oh wait
<swarley> i found one Δ
arya_ has quit [Ping timeout: 244 seconds]
ryanlecompte has joined #ruby
haxrbyte_ has joined #ruby
<Spaceghostc2c> Ω
<Spaceghostc2c> ΩΩΩΩΩΩΩΩ
xpen_ has joined #ruby
keyvan has quit [Remote host closed the connection]
dmiller has joined #ruby
shiin has quit [Quit: Computer has gone to sleep.]
<postmodern> Δ
<postmodern> Δ Δ
<postmodern> triforce
arya_ has joined #ruby
<havenn> tried to push a gem named: ∞
<havenn> no worky
haxrbyte has quit [Ping timeout: 264 seconds]
<Spaceghostc2c> havenn: Weird. It should, imo. :p
adeponte has quit [Remote host closed the connection]
xpen has quit [Ping timeout: 246 seconds]
<postmodern> scrogson, also looks like someone reported your bug: https://github.com/sstephenson/ruby-build/issues/241
chimkan has quit [Quit: chimkan]
dmiller has quit [Ping timeout: 252 seconds]
<scrogson> postmodern: cool...added my comment to the thread
etcetera has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
F1skr has quit [Quit: WeeChat 0.3.9.1]
Jasko has joined #ruby
gridaphobe has joined #ruby
BoomCow has joined #ruby
arya_ has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
ryanf has quit [Quit: broken pipes |||]
karakedi has joined #ruby
<jmslagle> DOH!
<jmslagle> I stepped past where I was going!
stephenjudkins has quit [Quit: stephenjudkins]
BoomCow has quit [Client Quit]
skaczor has quit [Ping timeout: 260 seconds]
arya_ has joined #ruby
wei719 has quit [Quit: wei719]
xpen_ has quit [Remote host closed the connection]
nitti has joined #ruby
BoomCow has joined #ruby
<swarley> Look at my super constructive comment on the ruby2.0 commit
LastBeerEver has joined #ruby
_alejandro has joined #ruby
BoomCow has quit [Client Quit]
tjbiddle has joined #ruby
LastBeer1ver has quit [Ping timeout: 264 seconds]
tjbiddle_ has joined #ruby
<Spaceghostc2c> I don't even want to say anything. Fucking :+1: activists. Why don't you go buy a fucking sticker and put it on your car and talk about how you 'support the ruby core' so damn much. :(
<Spaceghostc2c> Maybe I'm venting about more than ruby though. :(
schaary has joined #ruby
<postmodern> github used to support voting
<postmodern> could actually vote up issues instead of +1ing them
<Spaceghostc2c> +1
<Spaceghostc2c> +1
<Spaceghostc2c> +1
nitti has quit [Ping timeout: 240 seconds]
<Spaceghostc2c> At least :shipit: is interesting.
jenrzzz has joined #ruby
ananthakumaran has joined #ruby
tjbiddle has quit [Ping timeout: 255 seconds]
tjbiddle_ is now known as tjbiddle
<postmodern> :shipit: is basically the same thing
yuike has joined #ruby
swarley has quit [Read error: Operation timed out]
schaary has quit [Ping timeout: 265 seconds]
<postmodern> showing your tacit endorsement of something that ultimately the maintainer(s) must agree on
apok_ has joined #ruby
apok_ has quit [Client Quit]
frem has quit [Quit: Computer has gone to sleep.]
swarley has joined #ruby
forced_request has quit [Read error: Connection reset by peer]
<Spaceghostc2c> postmodern: You're an aspie, aren't you?
<postmodern> Spaceghostc2c, no I'm not, and that is rather ableist word to use
apok has quit [Ping timeout: 246 seconds]
snorkdude has quit [Quit: snorkdude]
xsbeats is now known as MattMattTheGreen
linoj has quit [Quit: linoj]
<Spaceghostc2c> postmodern: I don't think it's a physical measurement that quantifies it. But creative word use. 6/10
havenn has quit [Ping timeout: 246 seconds]
MattMattTheGreen is now known as xsbeats
carlyle has quit [Remote host closed the connection]
a_a_g has joined #ruby
kbeddingfield has joined #ruby
havenn has joined #ruby
jmslagle has left #ruby [#ruby]
afd__ has quit [Quit: No Ping reply in 180 seconds.]
afd__ has joined #ruby
a_a_g has quit [Client Quit]
etcetera has quit [Quit: Computer has gone to sleep.]
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
robdodson has joined #ruby
kbeddingfield has quit [Remote host closed the connection]
<robdodson> does anyone know how to list the --http-proxy that `gem` might be using?
<robdodson> i was given this laptop by my client and any attempt to gem install anything results in nodename nor servname provided
yuike has quit [Quit: Computer has gone to sleep.]
pac1 has quit [Quit: I got it one line of code at a time]
yuike has joined #ruby
jackdanger has quit [Quit: Leaving.]
robdodson has quit [Quit: robdodson]
mklappstuhl has quit [Ping timeout: 246 seconds]
BoomCow has joined #ruby
caleb_io has joined #ruby
arya_ has quit [Ping timeout: 244 seconds]
adeponte has joined #ruby
etcetera has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
c0rn has quit [Quit: Computer has gone to sleep.]
g_bleezy has quit [Remote host closed the connection]
arya_ has joined #ruby
margle has joined #ruby
wei719 has joined #ruby
codezombie has quit [Quit: Linkinus - http://linkinus.com]
BoomCow has quit [Quit: Leaving]
iamvery has quit [Remote host closed the connection]
Cultofmetatron has joined #ruby
nat2610 has left #ruby [#ruby]
robbyoconnor has joined #ruby
dmiller has joined #ruby
vitor-br has quit [Quit: Saindo]
r0bby has joined #ruby
maletor has joined #ruby
tjbiddle has joined #ruby
tjbiddle_ has joined #ruby
manizzle has joined #ruby
tjbiddle_ has quit [Client Quit]
BigO has joined #ruby
robbyoconnor has quit [Ping timeout: 265 seconds]
tjbiddle has quit [Ping timeout: 252 seconds]
ananthakumaran1 has joined #ruby
karakedi has quit [Ping timeout: 246 seconds]
jeffreybaird has joined #ruby
ananthakumaran has quit [Ping timeout: 252 seconds]
Vert has quit [Read error: Connection reset by peer]
banjara has quit [Quit: Leaving.]
Drewch has quit [Ping timeout: 246 seconds]
chrisramon has joined #ruby
phantasm66 has quit [Remote host closed the connection]
phantasm66 has joined #ruby
joeycarmello has quit [Remote host closed the connection]
Guest92676 has joined #ruby
rakl has joined #ruby
cj3kim has joined #ruby
tjbiddle has joined #ruby
joeycarmello has joined #ruby
tjbiddle_ has joined #ruby
nitti has joined #ruby
tjbiddle__ has joined #ruby
tjbiddle has quit [Read error: Connection reset by peer]
tjbiddle__ is now known as tjbiddle
medik has quit [Quit: medik has no reason]
ananthakumaran1 has quit [Quit: Leaving.]
locriani_ has joined #ruby
fyolnish_ has joined #ruby
areil_ has joined #ruby
areil_ has quit [Client Quit]
schaary has joined #ruby
areil_ has joined #ruby
areil_ has quit [Client Quit]
fyolnish has quit [Ping timeout: 268 seconds]
locriani has quit [Ping timeout: 268 seconds]
rotor has quit [Ping timeout: 268 seconds]
thebastl has quit [Ping timeout: 268 seconds]
tjbiddle_ has quit [Ping timeout: 246 seconds]
areil has quit [Ping timeout: 246 seconds]
rotor has joined #ruby
nitti has quit [Ping timeout: 252 seconds]
havenn has quit [Read error: Connection reset by peer]
Retistic has joined #ruby
bastl has joined #ruby
havenn has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
Jasko has quit [Read error: Connection reset by peer]
Rym has joined #ruby
schaary has quit [Ping timeout: 255 seconds]
cpruitt_ has joined #ruby
Jasko has joined #ruby
J-_-L has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
jenrzzz has joined #ruby
havenn has quit [Remote host closed the connection]
cpruitt has quit [Ping timeout: 246 seconds]
cpruitt_ is now known as cpruitt
havenn has joined #ruby
enderx86 has quit [Remote host closed the connection]
enderx86 has joined #ruby
ABK has joined #ruby
BigO_ has joined #ruby
manizzle has quit [Ping timeout: 268 seconds]
beilabs has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 255 seconds]
BigO has quit [Ping timeout: 268 seconds]
havenn has quit [Ping timeout: 260 seconds]
<krz> i have 10 elements in an array [0,0,0,0,0,0,0,0,0,0]. i want to distribute 12 evenly so my array looks like [2,2,1,1,1,1,1,1,1,1]. whats the best way to do this?
maletor has quit [Quit: Computer has gone to sleep.]
kil0byte has joined #ruby
ananthakumaran has joined #ruby
joofsh has quit [Remote host closed the connection]
<tos9> krz: divmod? Add the div to everything, and add +1 to the first mod elements
mahmoudimus has quit [Quit: Computer has gone to sleep.]
kbeddingfield has joined #ruby
seanwash has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<swarley> krz;
<krz> yo
<swarley> firstly, m = x % y
<swarley> to get the mod
<swarley> that's the remainders for 1s
<swarley> and then
<swarley> d = (x-m)/y
<tos9> swarley: You reimplemented divmod :)
<swarley> Oh, i didnt know that existed
<swarley> yay math
<tos9> div, mod = arr.size.divmod(10)
xyzodiac has joined #ruby
<tos9> er
<swarley> oh cool
<tos9> 12, whatever.
<swarley> Wait, why 10 elements specifically?
<blazes816> so he can keep track of indices with his fingers
nmabry has quit [Read error: Connection reset by peer]
nmabry_ has joined #ruby
kbeddingfield has quit [Ping timeout: 246 seconds]
<krz> but how would i know to add +1 more to the first two elements?
jenrzzz has joined #ruby
phelps has quit [Changing host]
phelps has joined #ruby
quiliro has joined #ruby
etcetera has quit [Quit: Computer has gone to sleep.]
<krz> div, mod = 12.divmod(10) => [1,2]. its easy enough to add 1 to all the elements. but how can i set it up so it its +1 more on the first 2 elements automatically
<quiliro> hi....is there a way to use ruby to control lights and motors from a pc besides using the three leds on the keyboard?
sambio has quit []
<tos9> krz: A conditional in the block. arr.map { |i| i < mod ? i + div + 1 : i + div } or whatever
djdb has joined #ruby
dnyy has quit [Remote host closed the connection]
Kn|t3 has joined #ruby
<swarley> errrr
<swarley> sorry
dnyy has joined #ruby
quest88_ has joined #ruby
ananthakumaran has quit [Ping timeout: 268 seconds]
tjbiddle has joined #ruby
ZubKonst has joined #ruby
ananthakumaran has joined #ruby
xyzodiac has quit [Quit: Computer has gone to sleep.]
nmabry_ has quit [Read error: Connection reset by peer]
nmabry has joined #ruby
tjbiddle has quit [Client Quit]
J-_-L has quit [Quit: Leaving.]
djdb has quit [Remote host closed the connection]
mjolk has quit [Quit: returning some videotapes]
caleb_io has quit [Quit: caleb_io]
Jasko has quit [Read error: Connection reset by peer]
RantriX has joined #ruby
Guest92676 has quit [Quit: Guest92676]
Jasko has joined #ruby
<krz> [0,0,0,0].each { |a| a+1 } how do i add +1 to each element in the array using an each loop?
<otters> map(&:succ)
<krz> using each
<otters> you can't
<swarley> you dont
<otters> modify an array
<otters> during iteration
<RantriX> use .map!
<swarley> actually
<swarley> you can modify one
<otters> like I thought that was an actual rule enforced by the runtime
<otters> is it not?
<swarley> just not the way you want
<swarley> nope you can create a loop by doing
<swarley> well, if its constant you cant i dont think
ananthakumaran has quit [Ping timeout: 252 seconds]
<dakine> just
<dakine> i dare you to try and make sense of that
<swarley> but if you have d = [1,2,3]; d.each {|x| d.push x + 1 }
<swarley> you can make an inifinite loop
djdb has joined #ruby
xyzodiac has joined #ruby
r0bby is now known as robbyoconnor
xyzodiac has quit [Client Quit]
caleb_io has joined #ruby
joeycarmello has quit [Remote host closed the connection]
manizzle has joined #ruby
swarley has quit [Ping timeout: 248 seconds]
jeffreybaird has quit [Quit: jeffreybaird]
tjbiddle has joined #ruby
davidcelis has joined #ruby
stephenjudkins has joined #ruby
tjbiddle has quit [Client Quit]
BoomCow has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
BoomCow has quit [Client Quit]
jenrzzz has joined #ruby
<quiliro> i am trying to make a device to control lights.....will ruby help me do this?
<quiliro> about 20 leds
<quiliro> or possibly some motors
<blazes816> you're better off to use C
<blazes816> try an arduino
seanyo_ has quit [Ping timeout: 252 seconds]
<quiliro> oh
<quiliro> the parallel port won't serve this purpose?
wf2f has quit []
caleb_io has quit [Quit: caleb_io]
tjbiddle has joined #ruby
arya_ has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
manizzle has quit [Ping timeout: 268 seconds]
pcarrier has quit []
chrisramon has quit [Quit: chrisramon]
nitti has joined #ruby
andrewhl has quit [Remote host closed the connection]
KevinSjoberg has joined #ruby
enderx86 has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 245 seconds]
ner0x has quit [Quit: Leaving]
schaary has joined #ruby
arya has joined #ruby
arya_ has joined #ruby
DrShoggoth has quit [Quit: Leaving]
andrewhl has joined #ruby
nitti has quit [Ping timeout: 264 seconds]
d2dchat has quit [Remote host closed the connection]
koshii has quit [Ping timeout: 255 seconds]
schaary has quit [Ping timeout: 248 seconds]
bl3k has joined #ruby
mercwithamouth has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
arya has quit [Ping timeout: 244 seconds]
prezioso has joined #ruby
Jasko has joined #ruby
andrewhl has quit [Remote host closed the connection]
jlwestsr has quit [Ping timeout: 246 seconds]
kil0byte_ has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
skcin7 has joined #ruby
bl3k_ has joined #ruby
bl3k has quit [Ping timeout: 252 seconds]
yxhuvud has joined #ruby
jekotia has quit [Quit: ChatZilla 0.9.89-rdmsoft [XULRunner 1.9.0.17/2009122204]]
nmabry has quit [Quit: nmabry]
kil0byte has quit [Ping timeout: 264 seconds]
manizzle has joined #ruby
kbeddingfield has joined #ruby
slainer68 has joined #ruby
tjbiddle has joined #ruby
etcetera has joined #ruby
skcin7 has quit []
blazes816 has quit [Quit: blazes816]
dmiller has quit [Remote host closed the connection]
koshii has joined #ruby
slainer68 has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby
bl3k has joined #ruby
bl3k_ has quit [Ping timeout: 245 seconds]
iamjarvo has quit [Quit: Computer has gone to sleep.]
g-ram has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
ananthakumaran has joined #ruby
Shamgar has quit [Ping timeout: 264 seconds]
Shamgar has joined #ruby
quest88_ has quit [Quit: quest88_]
sagax has joined #ruby
skcin7 has joined #ruby
skcin7 has quit [Max SendQ exceeded]
jackdanger has joined #ruby
skcin7 has joined #ruby
prezioso has quit [Ping timeout: 260 seconds]
sagax has quit [Client Quit]
bl3k_ has joined #ruby
bl3k has quit [Ping timeout: 265 seconds]
g-ram has joined #ruby
cj3kim has quit [Quit: This computer has gone to sleep]
g-ram has quit [Client Quit]
Jasko has quit [Read error: Connection reset by peer]
elsifaka has joined #ruby
minijupe has quit [Quit: minijupe]
Jasko has joined #ruby
minijupe has joined #ruby
minijupe has quit [Client Quit]
mercwithamouth has quit [Ping timeout: 260 seconds]
tagrudev has joined #ruby
areil has joined #ruby
<RantriX> arduino uses C?
<moshee> subset/dialect of C
bl3k has joined #ruby
bl3k_ has quit [Ping timeout: 265 seconds]
tjbiddle has quit [Quit: tjbiddle]
Elico has joined #ruby
maletor has joined #ruby
araujo has joined #ruby
araujo has joined #ruby
jackiechan0 has joined #ruby
jackiechan0 has quit [Read error: Connection reset by peer]
sepp2k has joined #ruby
<rking> Any opinions on the style difference between using STDIN vs $stdin ?
mahmoudimus has joined #ruby
bl3k_ has joined #ruby
bl3k has quit [Ping timeout: 246 seconds]
JohnBat26 has joined #ruby
zeromodulus has quit [Remote host closed the connection]
yuike has quit [Quit: Computer has gone to sleep.]
viktor_ has quit [Quit: This computer has gone to sleep]
dhruvasagar has quit [Ping timeout: 240 seconds]
joeycarmello has joined #ruby
Retistic has quit [Quit: Retistic]
xjiujiu_ has joined #ruby
Retistic has joined #ruby
x82_nicole has quit [Quit: Computer has gone to sleep.]
dmiller has joined #ruby
<ddd> nothing beyond everybody and their brother use the $stdin/$stdout that I've seen.
<ddd> err uses
<rking> I wonder if that's because it can more easily be reassigned
kiyoura has quit [Quit: Leaving]
<ddd> good question
ezkl has joined #ruby
joeycarmello has quit [Ping timeout: 255 seconds]
ezkl has quit [Changing host]
ezkl has joined #ruby
answer_42 has joined #ruby
<Retistic> ddd: hey ther
abionic has joined #ruby
<ddd> hey Retistic
<Retistic> still stuck on that problem from the other night
<ddd> which
Luceo has quit [Remote host closed the connection]
ananthakumaran has quit [Ping timeout: 264 seconds]
Monofu_ has joined #ruby
k610 has joined #ruby
Luceo has joined #ruby
<Retistic> ddd: in #ror
bl3k has joined #ruby
bl3k_ has quit [Ping timeout: 260 seconds]
caleb_io has joined #ruby
ananthakumaran has joined #ruby
k610 has quit [Ping timeout: 252 seconds]
pyx has quit [Ping timeout: 264 seconds]
k610 has joined #ruby
Monofu_ has left #ruby [#ruby]
etcetera has quit [Quit: Computer has gone to sleep.]
jackdanger has quit [Quit: Leaving.]
kil0byte has joined #ruby
Rym has quit [Ping timeout: 246 seconds]
bl3k_ has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
<rking> Retistic: You're talking about it now?
<rking> Urr, nm. ☺
bl3k has quit [Ping timeout: 255 seconds]
wei719 has quit [Quit: wei719]
<Retistic> rking: yeah, in #rubyonrails
Jasko has joined #ruby
k610 has quit [Read error: Connection reset by peer]
ingvarha has joined #ruby
k610 has joined #ruby
kil0byte_ has quit [Ping timeout: 245 seconds]
wei719 has joined #ruby
Peter-W has quit [Remote host closed the connection]
caleb_io has quit [Quit: caleb_io]
<ingvarha> in spec list, does "json (~> 1.5.1)" mean bigger than or equal to 1.5.1? </newbie>
idzuna has quit [Ping timeout: 255 seconds]
k610 has quit [Ping timeout: 260 seconds]
<rking> ingvarha: It means at least 1.5.1, but not 1.6.0 or greater
<ingvarha> ah, okay
<rking> So the final part is able to increment
k610 has joined #ruby
<ingvarha> A fedora problem, then. It has rubygem-json-1.6.5. This project needs ~> 1.5.1
<ingvarha> Is it possible to have more than one version installed (on a system level, not on a user level)?
sarmiena_ has joined #ruby
topek has joined #ruby
<burgestrand> ingvarha: yes
idzuna has joined #ruby
<ingvarha> burgestrand: okay, I'll try a bit of rpmbuilding, then
<burgestrand> ingvarha: it’s not possible to have both loaded in the same application, however… or rather, they would interfere with eachother.
BoomCow has joined #ruby
<ingvarha> burgestrand: Reasonable
k610 has quit [Ping timeout: 252 seconds]
pyx has joined #ruby
k610 has joined #ruby
bl3k has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
bl3k_ has quit [Ping timeout: 264 seconds]
tonini has joined #ruby
schaary has joined #ruby
charliesome has joined #ruby
k610 has quit [Read error: Connection reset by peer]
fixl has joined #ruby
k610 has joined #ruby
wallerdev has quit [Quit: wallerdev]
ChampS666 has joined #ruby
ananthakumaran has quit [Ping timeout: 245 seconds]
kil0byte_ has joined #ruby
<krz> how is it possible to turn this into an array: (0.10..0.20).to_a
sarmiena_ has quit [Quit: sarmiena_]
<RantriX> what is that
<krz> i.e. [0.10,0.11,0.12….etc]
k610 has quit [Ping timeout: 260 seconds]
<krz> all the way up to 0.20
bl3k_ has joined #ruby
k610 has joined #ruby
<RantriX> why don't u do 20.each
bl3k has quit [Ping timeout: 252 seconds]
<RantriX> and use the counter
<RantriX> passed in
aganov has joined #ruby
kil0byte has quit [Ping timeout: 260 seconds]
<Mon_Ouie> Use Range#step
<Mon_Ouie> (0.10..0.20).step(0.01)
<Mon_Ouie> Rantrix: Probably because There's no Integer#each :p
<RantriX> interesting
<Mon_Ouie> krz: There's no #to_a because the step is entirely arbitrary, and iterating over all the floats in between would be a huge waste of time.
kbeddingfield has quit [Remote host closed the connection]
<RantriX> 20.each { |counter| code here }
atmosx has quit [Ping timeout: 276 seconds]
<RantriX> ?
xjiujiu_ has quit [Quit: No Ping reply in 180 seconds.]
<Mon_Ouie> Yes, that method doesn't exist.
<Mon_Ouie> There's 20.times, 0.upto(20), 1.upto(20), 20.downto(1), but no 20.each
k610 has quit [Ping timeout: 255 seconds]
<RantriX> oh yeah
<RantriX> oops haha u're right mon_ouie
Luceo has quit [Ping timeout: 276 seconds]
chussenot has joined #ruby
SCommette has joined #ruby
<krz> thanks (0.10..0.20).step(0.01).map { |a| a.round(2) } works
maletor has joined #ruby
JohnBat26 has quit [Remote host closed the connection]
Drager has quit [Read error: Operation timed out]
BigO has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
Drager has joined #ruby
Jasko has joined #ruby
BigO_ has quit [Ping timeout: 255 seconds]
BigO has quit [Remote host closed the connection]
ryanf has joined #ruby
Rym has joined #ruby
ij has joined #ruby
tjbiddle has joined #ruby
banjara has joined #ruby
maesbn has joined #ruby
chussenot has quit [Quit: chussenot]
arya_ has quit [Ping timeout: 244 seconds]
foofoobar has joined #ruby
bl3k_ has quit [Ping timeout: 240 seconds]
bl3k has joined #ruby
margle has quit [Quit: Computer has gone to sleep.]
nmabry has joined #ruby
nmabry has quit [Client Quit]
eldariof has joined #ruby
arya has joined #ruby
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
shtirlic has joined #ruby
Elico has quit [Quit: elico]
stat1x has quit [Ping timeout: 252 seconds]
statix_ has joined #ruby
kil0byte has joined #ruby
codespectator has quit [Quit: Computer has gone to sleep.]
staafl_alt has joined #ruby
matrixise has joined #ruby
monkegjinni has joined #ruby
eldariof has quit [Read error: No route to host]
foofoobar has quit [Quit: Computer has gone to sleep.]
timonv_ has quit [Remote host closed the connection]
kil0byte_ has quit [Ping timeout: 255 seconds]
filipe has joined #ruby
thinkdevcode has quit [Remote host closed the connection]
workmad3 has joined #ruby
fireeatinggigs has joined #ruby
JohnBat26 has joined #ruby
nitti has joined #ruby
fireeatinggigs has left #ruby [#ruby]
arturaz has joined #ruby
brianpWins has joined #ruby
bigkevmcd has quit [Quit: outta here]
nitti has quit [Ping timeout: 240 seconds]
jds has joined #ruby
jgrevich has quit [Quit: jgrevich]
hoelzro|away is now known as hoelzro
codespectator has joined #ruby
bl3k_ has joined #ruby
dangerousdave has joined #ruby
bl3k has quit [Ping timeout: 252 seconds]
tjbiddle has quit [Quit: tjbiddle]
arya has quit [Ping timeout: 244 seconds]
bigkevmcd has joined #ruby
ananthakumaran has joined #ruby
dnyy has quit [Ping timeout: 265 seconds]
robbyoconnor has quit [Quit: Konversation terminated!]
bluOxigen has joined #ruby
bl3k has joined #ruby
bl3k_ has quit [Ping timeout: 265 seconds]
rohit has joined #ruby
futilegames has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
arya has joined #ruby
BoomCow has quit [Quit: This computer has gone to sleep]
chussenot has joined #ruby
wei719 has left #ruby [#ruby]
krz has quit [Ping timeout: 264 seconds]
Luceo has joined #ruby
_cheney has quit [Quit: Nettalk6 - www.ntalk.de]
palyboy has quit []
_veer has quit [Read error: Connection reset by peer]
krz has joined #ruby
bl3k_ has joined #ruby
dhruvasagar has joined #ruby
bl3k has quit [Ping timeout: 260 seconds]
ryanlecompte has quit [Remote host closed the connection]
BoomCow has joined #ruby
zigomir has joined #ruby
dnyy has joined #ruby
xorigin has joined #ruby
bl3k_ has quit [Ping timeout: 252 seconds]
rohit has quit [Quit: Leaving]
Zolrath has quit [Ping timeout: 255 seconds]
jeff_sebring has quit [Quit: Leaving]
arya has quit [Ping timeout: 244 seconds]
bl3k has joined #ruby
arya has joined #ruby
stephenjudkins has quit [Quit: stephenjudkins]
qwerxy has joined #ruby
SCommette has quit [Quit: SCommette]
ananthakumaran has quit [Ping timeout: 255 seconds]
ryanlecompte has joined #ruby
stephenjudkins has joined #ruby
bl3k has quit [Ping timeout: 264 seconds]
lushious has quit [Ping timeout: 252 seconds]
arya has quit [Ping timeout: 244 seconds]
cakehero has quit [Quit: Computer has gone to sleep.]
dhruvasagar has quit [Ping timeout: 260 seconds]
hotovson has joined #ruby
RantriX has quit [Remote host closed the connection]
arya has joined #ruby
ascarpino has joined #ruby
ascarpino has joined #ruby
ascarpino has quit [Changing host]
banjara has quit [Quit: Leaving.]
k610 has joined #ruby
Retistic has quit [Quit: Retistic]
Plumm3R has joined #ruby
Mon_Ouie has quit [Ping timeout: 246 seconds]
lushious has joined #ruby
dangerousdave has quit [Quit: Leaving...]
Elhu has joined #ruby
codespectator has quit [Quit: Computer has gone to sleep.]
Plumm3R has quit [Client Quit]
chussenot has quit [Quit: chussenot]
jenrzzz has joined #ruby
codezombie has joined #ruby
codespectator has joined #ruby
gridaphobe has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
chussenot has joined #ruby
matthewrobbins has joined #ruby
margle has joined #ruby
vlad_sta_ has joined #ruby
asaaki has joined #ruby
h4mz1d has joined #ruby
vlad_starkov has quit [Ping timeout: 265 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
statarb3 has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
ryanf has quit [Quit: leaving]
jimeh has joined #ruby
Virunga has joined #ruby
qwerxy has quit [Quit: offski]
gridaphobe has joined #ruby
eldariof has joined #ruby
mikecmpbll has joined #ruby
colinbm has joined #ruby
filipe has quit [Ping timeout: 252 seconds]
Retistic has joined #ruby
elentras has joined #ruby
schaerli has joined #ruby
volta has joined #ruby
arya has quit [Ping timeout: 244 seconds]
schaerli has quit [Remote host closed the connection]
schaerli has joined #ruby
BoomCow has quit [Ping timeout: 255 seconds]
xjiujiu_ has joined #ruby
nickesoto has joined #ruby
swex_ has joined #ruby
arya has joined #ruby
slainer68 has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
swex has quit [Ping timeout: 252 seconds]
nari has quit [Ping timeout: 260 seconds]
dekroning has joined #ruby
rdark has joined #ruby
chussenot has quit [Quit: chussenot]
volta has quit [Ping timeout: 252 seconds]
LouisGB has joined #ruby
filipe has joined #ruby
u89 has joined #ruby
blacktulip has joined #ruby
Iszak has joined #ruby
robotmay has joined #ruby
volta has joined #ruby
FDj_ has joined #ruby
Retistic has quit [Quit: Retistic]
arya_ has joined #ruby
dmiller has quit [Ping timeout: 276 seconds]
Morkel has joined #ruby
stephenjudkins has quit [Quit: stephenjudkins]
arya has quit [Ping timeout: 244 seconds]
Vainoharhainen has joined #ruby
sts has joined #ruby
sts is now known as Guest5820
clocKwize1 has joined #ruby
arietis has joined #ruby
Retistic has joined #ruby
cezar-b has joined #ruby
swex_ has quit [*.net *.split]
Virunga has quit [*.net *.split]
gogiel has quit [*.net *.split]
bastl has quit [*.net *.split]
Tarential has quit [*.net *.split]
im0b has quit [*.net *.split]
Guest52026 has quit [*.net *.split]
dekz has quit [*.net *.split]
pigoz has quit [*.net *.split]
DaZ has quit [*.net *.split]
clocKwize has quit [*.net *.split]
JohnTeddy has quit [*.net *.split]
dcope has quit [*.net *.split]
wedgeV has quit [*.net *.split]
BombStrike has quit [*.net *.split]
krisfremen has quit [*.net *.split]
Cool_Fire has quit [*.net *.split]
ccooke has quit [*.net *.split]
nick_h has quit [*.net *.split]
rking has quit [*.net *.split]
FDj has quit [*.net *.split]
mikekelly has quit [*.net *.split]
shtirlic has quit [Remote host closed the connection]
clocKwize1 is now known as clocKwize
elaptics`away is now known as elaptics
jds has quit [Remote host closed the connection]
krisfremen has joined #ruby
krisfremen has quit [Changing host]
krisfremen has joined #ruby
margle has quit [Quit: Computer has gone to sleep.]
timonv has joined #ruby
ChampS666 has quit [Ping timeout: 255 seconds]
cmarques has quit [Ping timeout: 255 seconds]
RantriX has joined #ruby
JohnTeddy has joined #ruby
LouisGB has quit []
cmarques has joined #ruby
beiter has joined #ruby
Aiur has joined #ruby
Cool_Fire has joined #ruby
bastl has joined #ruby
Retistic has quit [Quit: Retistic]
fyolnish_ has quit [Remote host closed the connection]
LouisGB has joined #ruby
u89 has quit [Remote host closed the connection]
polymar has joined #ruby
swex_ has joined #ruby
Virunga has joined #ruby
DaZ has joined #ruby
gogiel has joined #ruby
im0b has joined #ruby
ccooke has joined #ruby
nick_h has joined #ruby
wedgeV has joined #ruby
rking has joined #ruby
mikekelly has joined #ruby
dekz has joined #ruby
pigoz has joined #ruby
BombStrike has joined #ruby
dcope has joined #ruby
DaZ has quit [Max SendQ exceeded]
arya_ has quit [Ping timeout: 244 seconds]
schaerli has quit [Remote host closed the connection]
schaerli has joined #ruby
DaZ has joined #ruby
qwerxy has joined #ruby
zigomir has quit [Quit: Leaving]
cardoni has quit [Quit: cardoni]
u89 has joined #ruby
sdk has quit []
zigomir has joined #ruby
kil0byte_ has joined #ruby
arya has joined #ruby
kil0byte has quit [Ping timeout: 260 seconds]
Retistic has joined #ruby
grekko has joined #ruby
arya has quit [Ping timeout: 244 seconds]
robbyoconnor has joined #ruby
chussenot has joined #ruby
Xeago has joined #ruby
arya has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
dmiller has joined #ruby
Jdubs has joined #ruby
swex_ has quit [*.net *.split]
Virunga has quit [*.net *.split]
gogiel has quit [*.net *.split]
im0b has quit [*.net *.split]
dekz has quit [*.net *.split]
pigoz has quit [*.net *.split]
BombStrike has quit [*.net *.split]
dcope has quit [*.net *.split]
nick_h has quit [*.net *.split]
mikekelly has quit [*.net *.split]
rking has quit [*.net *.split]
ccooke has quit [*.net *.split]
wedgeV has quit [*.net *.split]
matrixise has quit [Read error: Operation timed out]
workmad3 has joined #ruby
lurch_ has joined #ruby
matrixise has joined #ruby
Retistic has quit [Quit: Retistic]
Virunga has joined #ruby
dmiller has quit [Ping timeout: 245 seconds]
lkba has quit [Ping timeout: 264 seconds]
<lurch_> hi, how does Dir['*'] order its results? Is it predictable? This is what I tried:
<lurch_> $ mkdir 90_a 02_b 1_c 01_e 91_e f; ruby -e "puts Dir['*'].join(', ')"
<lurch_> 91_e, 90_a, 01_e, f, 02_b, 1_c
schaary has quit [Ping timeout: 252 seconds]
kil0byte has joined #ruby
kil0byte_ has quit [Ping timeout: 246 seconds]
<Hanmac> i think Dir[] may be totaly unorderd ...
robbyoconnor has quit [Ping timeout: 252 seconds]
<burgestrand> Says in the documentation.
<lurch_> it says it depends on teh system
<lurch_> but it's different from for example echo *
<burgestrand> There you go.
Villadelfia has quit [Ping timeout: 246 seconds]
Grieg has quit [Quit: laterz! :D]
<lurch_> burgestrand: so it implies there is an ordering then, no? Then the question is, based on what?
codecaster has joined #ruby
slamice has quit [Quit: slamice]
SeySayux has quit [Ping timeout: 276 seconds]
timmow has joined #ruby
Retistic has joined #ruby
codecaster has quit [Client Quit]
skcin7 has quit []
Villadelfia has joined #ruby
Neomex has joined #ruby
Neomex has quit [Client Quit]
foofoobar has joined #ruby
SeySayux has joined #ruby
shiin has joined #ruby
swex_ has joined #ruby
gogiel has joined #ruby
im0b has joined #ruby
ccooke has joined #ruby
nick_h has joined #ruby
dekz has joined #ruby
wedgeV has joined #ruby
BombStrike has joined #ruby
mikekelly has joined #ruby
rking has joined #ruby
pigoz has joined #ruby
dcope has joined #ruby
rakl has quit [Quit: sleeping]
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
casheew has quit [Read error: Connection reset by peer]
berserkr has joined #ruby
<burgestrand> lurch_: if you need it ordered, I’d suggest you sort it.
binarypl1 has joined #ruby
casheew has joined #ruby
<burgestrand> lurch_: as far as I know, it depends on the readdir C function.
<burgestrand> lurch_: so no, it’s not guaranteed to be ordered in any way.
<lurch_> burgestrand: ok, thx. it's not in my code, it's a gem that's used that does a Dir['*'] and runs through the entries to do stuff (mason gem going through buildpack directories). i'll try to work around it then
skcin7 has joined #ruby
skcin7 has quit [Client Quit]
skcin7 has joined #ruby
skcin7 has quit [Max SendQ exceeded]
skcin7 has joined #ruby
skcin7 has quit [Max SendQ exceeded]
<Hanmac> lurch_ & burgestrand i found the order on my system ... its ino decending ...
<Hanmac> Dir["*"].map(&File.method(:stat)).map(&:ino).all? {|x,y|(x <=> y) != -1 }
skcin7 has joined #ruby
skcin7 has quit [Max SendQ exceeded]
<Hanmac> oh sorry i fooled myself
skcin7 has joined #ruby
skcin7 has quit [Max SendQ exceeded]
skcin7 has joined #ruby
skcin7 has quit [Max SendQ exceeded]
rcvalle has quit [Quit: Leaving]
Retistic has quit [Quit: Retistic]
kil0byte_ has joined #ruby
ssspiff has joined #ruby
swex_ has quit [Quit: No Ping reply in 180 seconds.]
swex has joined #ruby
sspiff has quit [Ping timeout: 260 seconds]
dcope has quit [Quit: ZNC - http://znc.in]
g0bl1n has joined #ruby
dcope has joined #ruby
kil0byte has quit [Ping timeout: 252 seconds]
tk__ has joined #ruby
RantriX has quit [Remote host closed the connection]
mikekelly has quit [Ping timeout: 240 seconds]
pavilionXP has joined #ruby
BombStrike has quit [Ping timeout: 240 seconds]
wedgeV_ has joined #ruby
nick_h_ has joined #ruby
ccooke_ has joined #ruby
BombStrike has joined #ruby
dekz_ has joined #ruby
mikekelly has joined #ruby
rcvalle has joined #ruby
hsbt is now known as hsbt_away
<Jdubs> anyone here that can help me maybe? having trouble initializing something.
pigoz1 has joined #ruby
staafl_alt has quit [Read error: Connection reset by peer]
hsbt_away is now known as hsbt
gogiel has quit [*.net *.split]
im0b has quit [*.net *.split]
dekz has quit [*.net *.split]
pigoz has quit [*.net *.split]
wedgeV has quit [*.net *.split]
nick_h has quit [*.net *.split]
ccooke has quit [*.net *.split]
rking has quit [*.net *.split]
dekz_ is now known as dekz
dakine has quit [Quit: Leaving]
Aiur has quit [Quit: Computer has gone to sleep.]
<zipkid> Jdubs: is you don't ask a question, nobody can help you...
hotovson has quit [Remote host closed the connection]
elentras has quit [Remote host closed the connection]
elentras has joined #ruby
cardoni has joined #ruby
colinbm has quit [Quit: colinbm]
jds has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
colinbm has joined #ruby
Jasko has joined #ruby
tonini has quit [Remote host closed the connection]
<Jdubs> zipkid ok well im not really sure how to ask it...because it involves a lot of files
<Jdubs> do i just link the github and say what im trying to do and the error?
fyolnish has joined #ruby
* zipkid is very ruby-newbie... so no idea if i'll be able to help...
<Jdubs> I'm trying to create an instance of class Shopping < Scene
apeiros_ has joined #ruby
<Jdubs> getting this error : shopping=Shopping.new(nil)
<Jdubs> NameError: uninitialized constant Shopping
samphippen has joined #ruby
jds has quit [Ping timeout: 248 seconds]
ephemerian has joined #ruby
<lurch_> did you require scenes/shopping? How did you try to instantiate it?
krz has quit [Quit: krz]
<Jdubs> let's see
vlad_sta_ has quit [Remote host closed the connection]
<Jdubs> i just required all the scenes/screens
<Jdubs> then tried to initialize the Shopping object
pigoz1 is now known as pigoz
ndrei has joined #ruby
<lurch_> it helps if you try to reduce your issue to the core problem
<lurch_> for example: http://pastebin.com/gUmmT3e8
<lurch_> ruby -r ./test.rb -e 'Scene::Shopping.new'
Retistic has joined #ruby
schaerli has quit [Remote host closed the connection]
dmiller has joined #ruby
matthewrobbins_ has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
matthewrobbins_ has quit [Read error: Connection reset by peer]
BreaK has joined #ruby
mikecmpbll has joined #ruby
<BreaK> anyone here uses ruby Jekyll Static site generator ?
matthewrobbins has quit [Ping timeout: 252 seconds]
kil0byte has joined #ruby
Retistic has quit [Quit: Retistic]
atmosx has joined #ruby
nitti has joined #ruby
dmiller has quit [Ping timeout: 252 seconds]
Retistic has joined #ruby
Monie has quit [Ping timeout: 245 seconds]
kil0byte_ has quit [Ping timeout: 260 seconds]
Jdubs has quit [Ping timeout: 245 seconds]
nickesoto has quit [Ping timeout: 245 seconds]
nemesit has joined #ruby
nitti has quit [Ping timeout: 240 seconds]
xpen has joined #ruby
manizzle has quit [Ping timeout: 252 seconds]
g0bl1n has quit [Ping timeout: 252 seconds]
sheerun has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
ndrei has quit [Ping timeout: 276 seconds]
xpen has quit []
xpen has joined #ruby
Retistic has quit [Quit: Retistic]
warb0 has quit [Quit: Textual IRC Client: www.textualapp.com]
Retistic has joined #ruby
sheerun has quit [Quit: sheerun]
Trioke has quit [Remote host closed the connection]
manizzle has joined #ruby
xjiujiu_ has quit [Read error: Connection reset by peer]
cmarques_ has joined #ruby
Shrink has quit [Ping timeout: 248 seconds]
pcarrier has joined #ruby
<burgestrand> BreaK: ask your real question.
<phelps> is it possible to have a named OpenStruct ?
schaerli has joined #ruby
beiter has quit [Quit: beiter]
cousine has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
pavilionXP has quit [Ping timeout: 265 seconds]
hoelzro is now known as hoelzro|away
cousine has quit [Read error: Connection reset by peer]
cousine has joined #ruby
xpen has quit [Read error: Connection reset by peer]
lkba has joined #ruby
sheerun has joined #ruby
<lurch_> phelps: not sure what you mean. Just assign the instance to a variable ?
<phelps> lurch_: I just want the output of the .inspect to not show OpenStruct
<phelps> no real reason I guess
<phelps> I just threw my own OpenStruct in there
prezioso has joined #ruby
bier has quit [Ping timeout: 252 seconds]
RantriX has joined #ruby
<lurch_> phelps according to man page .inspect uses to_s, so i guess you could override that?
cornihilio has joined #ruby
larissa has joined #ruby
BreaK has left #ruby [#ruby]
horsey has joined #ruby
ltsstar has joined #ruby
Elhu has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Elhu has joined #ruby
arya has quit [Ping timeout: 244 seconds]
NuclearL1cifer has quit [Ping timeout: 256 seconds]
bier has joined #ruby
Xeago has quit [Remote host closed the connection]
chussenot has quit [Quit: chussenot]
Xeago has joined #ruby
slainer68 has quit [Remote host closed the connection]
fearoffish has quit [Quit: ZNC - http://znc.in]
RantriX has quit [Remote host closed the connection]
arya has joined #ruby
vlad_starkov has joined #ruby
Slivka has joined #ruby
Shrink has joined #ruby
Shrink has quit [Changing host]
Shrink has joined #ruby
lushious has quit [Ping timeout: 252 seconds]
dmiller has joined #ruby
Ivo has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
<Ivo> Hi there. 95% of python apps go through the wsgi spec. Does (and if so, what is) ruby have an equivalent of this?
dr_bob has joined #ruby
pixie79 has left #ruby [#ruby]
nitti has joined #ruby
dmiller has quit [Ping timeout: 246 seconds]
tvw has joined #ruby
eldariof has quit [Ping timeout: 246 seconds]
nitti has quit [Ping timeout: 240 seconds]
monkegjinni has quit [Read error: No route to host]
monkegji_ has joined #ruby
shtirlic has joined #ruby
<Ivo> JonnieCache: cool, thanks. Is phusion passenger the only major server-side implementer of this?
<Xeago> no
<Xeago> basically everything runs with rack
Kn|t3 has quit [Read error: Connection reset by peer]
<apeiros_> Ivo: it's probably the biggest
<apeiros_> about all webservers implemented in ruby provide a rack interface too
<apeiros_> thin, unicorn, …
<Xeago> Mongrel
fearoffish has joined #ruby
<Xeago> I have yet to see a project that has a http frontend that does not use rack in some way
dekroning has quit [Ping timeout: 256 seconds]
lolmaus has quit []
beiter has joined #ruby
timonv has quit [Remote host closed the connection]
fearoffish has quit [Client Quit]
fearoffish has joined #ruby
<Ivo> Xeago: yeah, well coming from mainly a python background, it seems analogous to python's usage of wsgi
<Ivo> apeiros_: thanks, looking them up
<JonnieCache> python stole it from perl :)
timonv has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
allait has joined #ruby
Jasko has joined #ruby
allait has left #ruby [#ruby]
samphippen has joined #ruby
ezkl has quit [Quit: Textual IRC Client: www.textualapp.com]
<atmosx> hello
<atmosx> rack
cornihilio has quit [Ping timeout: 240 seconds]
k610 has quit [Quit: Instantbird 1.2 -- http://www.instantbird.com]
rcvalle has quit [Quit: Leaving]
cmarques_ has quit [Quit: leaving]
BeLucid has quit [Remote host closed the connection]
dekroning has joined #ruby
k610 has joined #ruby
rking has joined #ruby
hoelzro|away is now known as hoelzro
Slivka has quit [Read error: Connection reset by peer]
Slivka has joined #ruby
Slivka has quit [Read error: Connection reset by peer]
carlzulauf has quit [Ping timeout: 246 seconds]
schaerli has quit [Remote host closed the connection]
lushious has joined #ruby
carlzulauf has joined #ruby
ProT-0-TypE has joined #ruby
colinbm has quit [Quit: colinbm]
polymar has quit [Read error: Connection reset by peer]
polymar has joined #ruby
asaaki has quit [Quit: Bye bye!]
hotovson has joined #ruby
lushious has quit [Ping timeout: 252 seconds]
ccooke_ is now known as ccooke
skaczor has joined #ruby
pcarrier has quit []
ABK has quit [Read error: Operation timed out]
abionic has quit [Ping timeout: 260 seconds]
<Fraeon> HELLO THERE
lushious has joined #ruby
<apeiros_> hi Fraeon. your caps-lock seems stuck.
arturaz has quit [Remote host closed the connection]
kil0byte_ has joined #ruby
binarypl2 has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
kil0byte has quit [Ping timeout: 265 seconds]
Jasko has joined #ruby
binarypl1 has quit [Ping timeout: 260 seconds]
yshh has quit [Remote host closed the connection]
Virunga has quit [Remote host closed the connection]
fixl has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
cornihilio has joined #ruby
lkba has quit [Ping timeout: 252 seconds]
schaerli has joined #ruby
carlzulauf has quit [Read error: Operation timed out]
foofoobar has quit [Quit: Textual IRC Client: www.textualapp.com]
iamjarvo has joined #ruby
slainer68 has joined #ruby
gregoryigelmund has joined #ruby
jlwestsr has joined #ruby
carlzulauf has joined #ruby
Rydefalk_ has joined #ruby
slainer6_ has joined #ruby
slainer68 has quit [Read error: Connection reset by peer]
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
dmiller has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
grekko has quit [Ping timeout: 260 seconds]
Rydefalk has quit [Ping timeout: 276 seconds]
Metatron has joined #ruby
answer_42 has quit [Remote host closed the connection]
<Metatron> hi
Guest59059 has quit [Read error: Operation timed out]
dmiller has quit [Ping timeout: 276 seconds]
Metatron has left #ruby [#ruby]
answer_42 has joined #ruby
jeffreybaird has joined #ruby
Uranio has joined #ruby
lkba has joined #ruby
warb0 has joined #ruby
gmci has joined #ruby
djdb has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
freeayu has joined #ruby
gmci is now known as Guest36705
[Neurotic] has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
jxf has joined #ruby
geekbri has joined #ruby
DaZ has quit [Ping timeout: 265 seconds]
Rydefalk_ has quit [Read error: Connection reset by peer]
Rydefalk has joined #ruby
schaerli has quit [Remote host closed the connection]
schaerli has joined #ruby
jonathanwallace has joined #ruby
mark_locklear has joined #ruby
DaZ has joined #ruby
jackiechan0 has joined #ruby
pcarrier has joined #ruby
x0F has quit [Disconnected by services]
x0F_ has joined #ruby
x0F_ is now known as x0F
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
jackiechan0 has quit [Client Quit]
BeLucid has joined #ruby
pcarrier has quit [Ping timeout: 246 seconds]
pyx has quit [Quit: WeeChat 0.3.9.1]
enroxorz-work has joined #ruby
jackiechan0 has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
pcarrier has joined #ruby
shtirlic_ has joined #ruby
haxrbyte has joined #ruby
haxrbyt__ has joined #ruby
haxrbyte_ has quit [Read error: Connection reset by peer]
shtirlic has quit [Ping timeout: 252 seconds]
oposomme has joined #ruby
jxf has quit [Ping timeout: 268 seconds]
wuzzzzaah has joined #ruby
ffranz has joined #ruby
haxrbyte has quit [Ping timeout: 268 seconds]
koshii_ has joined #ruby
<Xeago> how to turn an array of integers into a hex string?
<Xeago> ary.pack("C*").unpack("H*")?
<koshii_> If I am making a site that is sitename/randomstring (like Etherpad), is ('a'..'z').to_a.shuffle[0..7].join random enough for generation of the string-url?
<Xeago> that will give you 26^7 possibilities
<Xeago> 8031810176
<koshii_> That's a lot. But the question is really, does Ruby's randomization need a seed or anything like that; is it in some way predictable?
<koshii_> Or will this be sufficient
<Xeago> you can do some simple test to count the number of iterations you have untill you get a collision
<Xeago> won't take that long to implement nor run
mikecmpbll has joined #ruby
alee_ has joined #ruby
x82_nicole has joined #ruby
<Xeago> around 110k iterations to get a 50% chance of collision
<Xeago> I don't know if the random in shuffle is random enough to make sufficient use of your character space
<apeiros_> Xeago: you sure about 26^7`
<apeiros_> ?
prezioso has quit [Ping timeout: 276 seconds]
<apeiros_> I'm pretty sure that it is less
<Xeago> note sure if alphabet is 24 or 26 chars
<apeiros_> no, the point is he does [0..7]
schaerli has quit [Remote host closed the connection]
tommyvyo_ has joined #ruby
<Xeago> also assuming 0..7 = 7 characters
<apeiros_> there's 26! ways to shuffle a..z
<Xeago> not that familiar with range in ruby
<apeiros_> 8 chars
<apeiros_> hm, might actually be more
<Xeago> hmm, 0..7 means 0 to 7 chars?
<Xeago> so 'a' is valid aswell?
<apeiros_> no, it means offset 0 to offset 7
<apeiros_> which is 8 chars
jipiboily has joined #ruby
chussenot has joined #ruby
<koshii_> Yes, "a" is valid as well.
jipiboily has left #ruby [#ruby]
<Xeago> if shuffle[0..7] is factorial
noxoc has joined #ruby
<Xeago> it is around 2.4* 10^13 iterations to get 50% collision rate
<Xeago> hmm, not sure if I did that math correct either
emergion has joined #ruby
samphippen has joined #ruby
<Xeago> you are asking for permutations right?
<koshii_> Yeah
<koshii_> Maybe this is not necessary to worry about; I can simply do a hard-check each time a new page is created.
asaaki has joined #ruby
asaaki has quit [Max SendQ exceeded]
<Xeago> koshii_: you should :)
asaaki has joined #ruby
asaaki has quit [Client Quit]
<Xeago> hmm
<Xeago> it comes with the formula n^r
<Xeago> where n=26 and r 7
jeffreybaird has quit [Quit: jeffreybaird]
margle has joined #ruby
krawchyk has joined #ruby
phantasm66 has quit [Quit: *sleeeeep*]
x82_nicole has quit [Quit: Computer has gone to sleep.]
pcarrier has quit []
joofsh has joined #ruby
invisime has joined #ruby
schaerli has joined #ruby
catphish has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
<catphish> here's an odd one: a = []; b = []; a << b; b << a; a == b
pcarrier has joined #ruby
Asher has quit [Read error: Connection reset by peer]
<Xeago> catphish: to me that is entirely logical
vandemar has joined #ruby
g_bleezy has joined #ruby
<catphish> i suppose the contents of both arrays are ultimately the same
<Xeago> yes but there inner references are not
<Xeago> one is an array around a
<Xeago> one is an array around b
pcarrier_ has joined #ruby
<catphish> indeed
<catphish> ruby obviously can't check the contents infinitely
<catphish> so it must be doing something clever
<catphish> do determine that the contents *will* be the same
<catphish> 1 pint of lager to anyone who can explain that in words i understand
csaunders has joined #ruby
Cultofmetatron has quit [Remote host closed the connection]
yshh has joined #ruby
pcarrier has quit [Ping timeout: 252 seconds]
pcarrier_ is now known as pcarrier
dmiller has joined #ruby
<Hanmac> catphish look at the difference between eql? and equal?
csaunders has quit [Client Quit]
Asher has joined #ruby
enderx86 has joined #ruby
Asher2 has joined #ruby
<Xeago> hmm
carlyle has joined #ruby
<Xeago> it seems you get a circular reference
<Xeago> note the ... in the output
<catphish> of course you do :)
<Hanmac> catphish the C-API has a flag if an Array is infinite
Asher has quit [Disconnected by services]
Asher2 is now known as Asher
seanyo has joined #ruby
yshh has quit [Ping timeout: 260 seconds]
csaunders has joined #ruby
dmiller has quit [Ping timeout: 246 seconds]
jeffreybaird has joined #ruby
jrist-afk is now known as jrist
<catphish> actually... i suspect that all infinities are considered equal in a comparison
<catphish> as long as all data to up the infinity matches, it's reasonable to assume the data inside infinity matches
<catphish> it's likely expanded in the same way as it would be for an inspect
<catphish> and compared in that form
<horsey> catphish: read da source
<catphish> horsey: i probably won't :)
<catphish> hoped someone might know
<catphish> but its a largely pointless question
linoj has joined #ruby
ProT-0-T_ has joined #ruby
ProT-0-T_ has quit [Client Quit]
sailias has joined #ruby
beiter has quit [Quit: beiter]
ProT-0-TypE has quit [Ping timeout: 255 seconds]
mklappstuhl has joined #ruby
cousine has quit [Remote host closed the connection]
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
radic has quit [Ping timeout: 268 seconds]
filipe has quit [Ping timeout: 265 seconds]
kty1104 has joined #ruby
Framedragger has joined #ruby
phantasm66 has joined #ruby
nomenkun_ has joined #ruby
cornihilio has quit [Ping timeout: 260 seconds]
bbttxu has quit [Quit: bbttxu]
GoGoGarrett has joined #ruby
radic has joined #ruby
nomenkun has quit [Ping timeout: 252 seconds]
ottbot has joined #ruby
statarb3 has quit [Quit: Leaving]
mercwithamouth has joined #ruby
<shevy> when it comes to infinity, there is only one important question
<shevy> will there be beer in Infinity?
IrishGringo has joined #ruby
dekroning has quit [Ping timeout: 260 seconds]
methods has quit [Quit: Leaving.]
filipe_ has joined #ruby
g0bl1n has joined #ruby
cornihilio has joined #ruby
saneshark has joined #ruby
yshh has joined #ruby
ssspiff has quit [Remote host closed the connection]
carlyle has quit [Read error: Connection reset by peer]
<Hanmac> shevy like this? [:beer].cycle {|o| p o}
kty1104 has quit [Quit: Page closed]
carlyle has joined #ruby
<catphish> shevy: sadly while space goes on infinitely, there's only a finite amount of beer in the universe
mityaz has joined #ruby
<apeiros_> oh, btw. Hanmac - I added scrolling to the map - mind checking whether it scrolls halfway acceptably on your computer? :)
mercwithamouth has quit [Ping timeout: 255 seconds]
mklappstuhl has quit [Ping timeout: 246 seconds]
volta has quit [Ping timeout: 248 seconds]
oposomme has quit [Ping timeout: 246 seconds]
<Hanmac> apeiros_ i think it is
<apeiros_> cool
dangerousdave has joined #ruby
Drager has quit [Changing host]
Drager has joined #ruby
akafurious has joined #ruby
cornihilio has quit [Ping timeout: 252 seconds]
_cheney has joined #ruby
<JonnieCache> catphish: how can you possible logically justify that statement
<JonnieCache> infinite space implies a near certainty of infinite beer, although not absolute certainty
<apeiros_> but space being infinite is improbable by current observation
Cultofmetatron has joined #ruby
<JonnieCache> apeiros_: that depends who you ask
vlad_starkov has quit [Remote host closed the connection]
<JonnieCache> calculations on the topology of the universe depend on some extremely uncertain trigonometry on the CMB and the whole thing is still in doubt
<JonnieCache> (as i understand it)
<catphish> JonnieCache: space is simple a 3 dimensional address space there's no way it could have a limit (at least in my mind)
rippa has joined #ruby
dekroning has joined #ruby
<apeiros_> let me rephrase: your hypothesis hinges on the assumption that space is infinite. if it isn't, then beer can't be.
<Hanmac> as far as i know the space may be infinite, but it seems that the energy inside is not
<catphish> but, the amount of matter in the universe is (afaik) finite
volta has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
statarb3 has joined #ruby
<JonnieCache> Hanmac: the amount of energy inside is zero
leoncamel has quit [Ping timeout: 276 seconds]
<JonnieCache> physics is weird
<Hanmac> huch
clj_newb has joined #ruby
<Hanmac> the 4dimensional SpaceTime is often tread as 2dimensional plane ... i question what is on the other side of the paper :D
koshii_ has quit [Ping timeout: 255 seconds]
g0bl1n has quit [Ping timeout: 260 seconds]
aquaranto has joined #ruby
maesbn has quit [Remote host closed the connection]
Vert has joined #ruby
xAndy is now known as xandy
schaerli has quit [Remote host closed the connection]
havenn has joined #ruby
C0deMaver1ck has joined #ruby
schaerli has joined #ruby
binarypl2 has quit [Ping timeout: 268 seconds]
wuzzzzaah has quit [Ping timeout: 246 seconds]
_alejandro has quit [Remote host closed the connection]
futilegames has quit [Quit: futilegames]
wuzzzzaah has joined #ruby
dmerrick has joined #ruby
bbttxu has joined #ruby
topek has quit [Quit: Leaving.]
dmiller has joined #ruby
g0bl1n has joined #ruby
<Hanmac> JonnieCache: i read about that the manage to turn "Quantum fluctuation" into REAL matter and not that kind of pseudo one
leoncamel has joined #ruby
leoncamel has quit [Remote host closed the connection]
<mark_locklear> hey folks...I could use some help with pastie.org/5387850
polymar has quit [Remote host closed the connection]
ij has quit [Read error: Connection reset by peer]
<mark_locklear> I have the hash...I'm just not sure how to call rating_id
osvico has quit [Ping timeout: 252 seconds]
ij has joined #ruby
nitti has joined #ruby
aces1up has joined #ruby
jonathanwallace has quit [Remote host closed the connection]
dmiller has quit [Ping timeout: 246 seconds]
daniel_- has joined #ruby
prezioso has joined #ruby
seanyo has quit [Ping timeout: 246 seconds]
stopbit has joined #ruby
alup has quit [Read error: Connection reset by peer]
nitti_ has joined #ruby
seanyo has joined #ruby
nitti has quit [Ping timeout: 264 seconds]
quest88_ has joined #ruby
haxrbyt__ has quit [Remote host closed the connection]
Grieg has joined #ruby
Grieg has quit [Changing host]
Grieg has joined #ruby
<havenn> mark_locklear: r[:rating_id]
haxrbyte has joined #ruby
<mark_locklear> havenn, ...hmm...
asteve has joined #ruby
burgestrand1 has joined #ruby
tintin has joined #ruby
tomsthumb has quit [Quit: Leaving.]
<tintin> Is ruby source code in github as official mirror/repo?
Grieg has quit [Client Quit]
<mark_locklear> havenn, good call...
seanyo has quit [Read error: Connection reset by peer]
burgestrand1 has quit [Client Quit]
binarypl2 has joined #ruby
haxrbyte_ has joined #ruby
burgestrand has quit [Read error: Operation timed out]
hadees has quit [Quit: hadees]
k610 has quit [Ping timeout: 260 seconds]
v0n has quit [Remote host closed the connection]
k610 has joined #ruby
v0n has joined #ruby
haxrbyt__ has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
richardjortega has quit [Ping timeout: 264 seconds]
haxrbyte has quit [Ping timeout: 246 seconds]
schaary has joined #ruby
ananthakumaran has joined #ruby
Cultofmetatron has quit [Remote host closed the connection]
tintin has quit [Quit: leaving]
F1skr has joined #ruby
g_bleezy has quit [Remote host closed the connection]
haxrbyte_ has quit [Ping timeout: 268 seconds]
areil has quit [Remote host closed the connection]
asdfqwer has joined #ruby
akafurious_ has joined #ruby
enderx86 has quit [Remote host closed the connection]
akafurious has quit [Ping timeout: 240 seconds]
vlad_starkov has joined #ruby
Morkel has quit [Quit: Morkel]
peregrine81 has joined #ruby
mklappstuhl has joined #ruby
BigO has joined #ruby
dangerousdave has quit [Quit: Leaving...]
_alejandro has joined #ruby
dangerousdave has joined #ruby
C0deMaver1ck has quit [Remote host closed the connection]
horsey has quit [Remote host closed the connection]
Sigma00 has quit [Quit: ZNC - http://znc.in]
C0deMaver1ck has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
jonathanwallace has joined #ruby
DrShoggoth has joined #ruby
vlad_starkov has joined #ruby
tagrudev has left #ruby ["lolst"]
Sigma00 has joined #ruby
chussenot has quit [Quit: chussenot]
DrShoggoth has quit [Remote host closed the connection]
chimkan has joined #ruby
DrShoggoth has joined #ruby
haxrbyte has joined #ruby
schaerli has quit [Remote host closed the connection]
haxrbyt__ has quit [Read error: Connection reset by peer]
SCommette has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
hydrozen has joined #ruby
joshman_ has joined #ruby
BigO has quit [Remote host closed the connection]
jonathanwallace has quit [Remote host closed the connection]
BigO has joined #ruby
jonathanwallace has joined #ruby
methods has joined #ruby
daniel_- has quit [Ping timeout: 245 seconds]
JohnBat26 has quit [Remote host closed the connection]
yalue has joined #ruby
wallerdev has joined #ruby
mikecmpbll has joined #ruby
chussenot has joined #ruby
aquaranto has quit [Remote host closed the connection]
affix has quit [Ping timeout: 260 seconds]
samphippen has quit [Quit: Computer has gone to sleep.]
clj_newb has quit [Ping timeout: 268 seconds]
invisime1 has joined #ruby
ryanlecompte has quit [Remote host closed the connection]
aquaranto has joined #ruby
invisime has quit [Ping timeout: 260 seconds]
chimkan has quit [Read error: Connection reset by peer]
Sigma00 has quit [Quit: ZNC - http://znc.in]
codeFiend has quit [Quit: codeFiend]
Sigma00 has joined #ruby
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
freeayu has quit [Remote host closed the connection]
chimkan has joined #ruby
tomsthumb has joined #ruby
danshultz has joined #ruby
affix has joined #ruby
akafurious_ has quit [Quit: Leaving]
punkrawkR has quit [Read error: Connection reset by peer]
Sigma00 has quit [Remote host closed the connection]
quest88_ has quit [Quit: quest88_]
oponder has joined #ruby
samphippen has joined #ruby
BigO_ has joined #ruby
BigO has quit [Read error: Connection reset by peer]
oponder has quit [Remote host closed the connection]
Sigma00 has joined #ruby
elsifaka has quit [Quit: Veloma e!]
<Xeago> how to turn an array of integers into a hex string? ary.pack("C*").unpack("H*")?
Sigma00 has quit [Client Quit]
Sigma00 has joined #ruby
mikepack has joined #ruby
schaary has left #ruby [#ruby]
prezioso has quit [Ping timeout: 268 seconds]
<apeiros_> depends on the desired transformation
cj3kim has joined #ruby
<stenno\splat> [1,11,23,42].map{|x| x.to_s(16)}.join
<stenno\splat> like this?
<stenno\splat> => "1b172a" #is the result
cousine has joined #ruby
<Xeago> yes, but I'd like to use pack and unpack, for consistency
g0bl1n has quit [Ping timeout: 260 seconds]
cj3kim has quit [Client Quit]
<stenno\splat> [1,11,23,42].pack("C*").unpack("H*")
<stenno\splat> => ["010b172a"]
<Xeago> thanks, there was a difference between the two which would've given me broken wall and a headache
<Hanmac> xeago .unpack("h*") returns an different string too
solidoodlesuppor has joined #ruby
<Xeago> lower part first right?
binarypl2 has quit [Quit: WeeChat 0.3.9.1]
berserkr has quit [Quit: Leaving.]
<stenno\splat> one is LSB, the other one MSB
<Hanmac> yeah, little endian and big endian
<apeiros_> the little big endian
h4mz1d has quit [Ping timeout: 240 seconds]
<Xeago> in either case, as long as I am consistent it is fine
* Hanmac thinks there should be a comic with this title
iamjarvo has quit [Quit: Computer has gone to sleep.]
viktor_ has joined #ruby
<Xeago> I am only after differences in bit patterns
margle has quit [Ping timeout: 246 seconds]
<stenno\splat> little endian and big endian are walking in the street. little endian asks: "What is the time?" "Its 6 AM." "Oh, 3 AM" "Yes, 6 AM"
jgrevich has joined #ruby
NuclearLucifer has joined #ruby
viktor_ has quit [Client Quit]
<Hanmac> yeah something like that :D
<stenno\splat> sorry for not thinking of something actually funny :P
Tarential has joined #ruby
<Hanmac> and maybe an superhero comic based on the unix commands ... like cat "can" clue things together :D
dekroning has quit [Quit: leaving]
<stenno\splat> i want to be sudo then
<stenno\splat> or rm
<stenno\splat> wait, isn't RM radioactive man at the simpsons
<stenno\splat> s/at/from/
<Muz> UP AND AT THEM
cj3kim has joined #ruby
etcetera has joined #ruby
matrixise has quit [Ping timeout: 276 seconds]
mikepack has quit [Remote host closed the connection]
etcetera has quit [Client Quit]
sailias has quit [Quit: Leaving.]
cousine has quit [Remote host closed the connection]
adambeynon has joined #ruby
d2dchat has joined #ruby
rakl has joined #ruby
Guest92676 has joined #ruby
<catphish> endianness is a massibe confusion when you convert > 8 bit numbers to hex
<catphish> *massive
larissa has quit [Quit: Leaving]
andrewhl has joined #ruby
cj3kim has quit [Quit: This computer has gone to sleep]
davidcelis has quit [Quit: K-Lined.]
<apeiros_> catphish: sadly, it seems sooo many developers don't understand the concept of representation…
<catphish> i struggle with it!
<apeiros_> so they struggle with all kinds of representations… timezones, encodings, endianness, number bases…
<apeiros_> but, but, but!
arya has quit [Ping timeout: 244 seconds]
philips_ has quit [Excess Flood]
<apeiros_> it's just the same value in different representations!
<catphish> i can handle timezones, character encoding, number bases
<catphish> but endianness throws me
kil0byte has joined #ruby
<apeiros_> same thing really
kil0byte_ has quit [Ping timeout: 255 seconds]
sebastorama has joined #ruby
yekta has joined #ruby
<catphish> yeah, there are so many different representations though
<apeiros_> o0
<catphish> at least by converting to hex you know which way round the bits are :)
<catphish> but not the bytes
philips_ has joined #ruby
aganov has quit [Quit: aganov]
arya has joined #ruby
<catphish> and i don't really understand why an 8 bit number doesn't have endianness
<catphish> there's no char vs network chat
<catphish> *char
<catphish> or maybe there is, but it's always handled internally
<catphish> by the network driver
<apeiros_> endianness is about ordering of bytes
<apeiros_> a single byte can't be ordered in different manners
tjbiddle has joined #ruby
<catphish> can it not?
<apeiros_> how do you order 1 apple?
minijupe has joined #ruby
<Xeago> while it is not called endianness, 1010 1010 can be read as two different values
<apeiros_> yes
jackiechan0 has quit [Quit: Sto andando via]
<apeiros_> pesky nibbles
<catphish> surely no cpu would store the most significant byte first
<catphish> but the least significant bit in each byte first
<catphish> or vice versa
<apeiros_> catphish: oh you want to read up on endianness of intel vs. prettymucheveryothercpufab
<apeiros_> there are different advantages/disadvantages to the two endians
<catphish> but doesn't bit endianness change along with byte endianness?
<Xeago> nope
<Xeago> in general both are high ordered first
GoGoGarrett has quit [Ping timeout: 246 seconds]
Neomex has joined #ruby
<apeiros_> Xeago: btw., 1010 1010 would be the same value, no matter how you ordered the nibbles ;-p
mikepack has joined #ruby
Neomex has quit [Client Quit]
chussenot_ has joined #ruby
<Xeago> not the bits
<apeiros_> ah well, you mean 1010 1010 vs. 0101 0101?
<Xeago> but fine for your sake :P 1001 0110
nopolitica has joined #ruby
<Xeago> apeiros_: nah I mean 1010 1010 vs 0101 0101
<Xeago> :)
<catphish> are you saying that there's no such thing as 0101 0101 vs 1010 1010
GoGoGarrett has joined #ruby
ckrailo has joined #ruby
rakl has quit [Quit: sleeping]
horsey has joined #ruby
<apeiros_> I *thought* that wrt to reading nibbles, everybody agreed. but well, what do I know? hardware isn't my realm :D
<catphish> or does it happen at such a low level that you never see it
<Xeago> catphish: such low level that unless you touch hardware you won't see it
GoGoGarr_ has joined #ruby
frogstarr78 has quit [Ping timeout: 264 seconds]
chrisbolton has joined #ruby
<catphish> i just don't understand why the bits would ever be ordered "32768,16384,...,1,2,4,8,16,32,128,256"
chussenot has quit [Ping timeout: 246 seconds]
chussenot_ is now known as chussenot
<catphish> why would any cpu want to deal with that?
<Xeago> catphish: because you have to decide on some order
<catphish> but why would you order the bytes differently from the bits?
joeycarmello has joined #ruby
<apeiros_> and again, because different ordering has different advantages
joeycarmello has quit [Remote host closed the connection]
<catphish> i can understand most or least significant bit first
<catphish> but not MSB bits then LSB bytes
sebastorama has quit [Quit: Computer has gone to sleep.]
<Xeago> consider a 8bit cpu, reading the 32 bit integer from memory
<Xeago> or doing some computation on him
joeycarmello has joined #ruby
<Xeago> hmm
GoGoGarrett has quit [Ping timeout: 276 seconds]
frogstarr78 has joined #ruby
<Xeago> don't have the time nor focus to explain that atm in text
<Xeago> sorry
* Xeago needs Friday 5pm beer
<catphish> i guess i understand that concept
jackdanger has joined #ruby
<catphish> i was thinking that it made no sense for > 8 bit CPUs
<Xeago> and then consider 8bit values stored in a 32bit segment
<dermot> you want the ability to tell if it's negative or not easily
<dermot> with signed ints
GoGoGarr_ has quit [Ping timeout: 268 seconds]
<Xeago> catphish: relics, compiler support, hardware support, backwards compatibility, familiarity
<dermot> why do all ruby programmers look like hipsters
<Cadwallion> better question
<Cadwallion> why do hipsters insist on looking like Ruby programmers?
<catphish> lol
cakehero has joined #ruby
<catphish> doesn't it get very painful when a 32 bit cpu wants to read a 32 bit int?
<catphish> and its not in the same order as the bits
<catphish> or will it use the same order for bits and bytes internally
<Cadwallion> I hate when my bits are disarranged
<shevy> we need a RubyOS and a ruby CPU
<apeiros_> I hate when my bits are deranged
<dermot> we need nother chance at a Lisp OS first
<hoelzro> Ruby CPU?
<Xeago> catphish: cpu's don't worry about that, the compiler does
<hoelzro> how would that work?
<shevy> we have lisp OS
<Cadwallion> shevy: don't make me get stabby this early on a Friday
nopolitica has quit [Ping timeout: 252 seconds]
<dermot> why do all python programmers have beards on their necks
<shevy> it is called emacs
<Cadwallion> it's not even noon
<shevy> hoelzro: well it would have to be converted into machinecode!
nateberkopec has joined #ruby
<catphish> but if i do a 32 bit read from memory :|
<catphish> that's a single instruction
GoGoGarrett has joined #ruby
codeFiend has joined #ruby
mklappstuhl has quit [Ping timeout: 246 seconds]
mklappstuhl has joined #ruby
nopolitica has joined #ruby
slash_nick has joined #ruby
<catphish> i guess the way the cpu stores the data is largely irrelivent
mahmoudimus has joined #ruby
Drewch has joined #ruby
dr_bob has quit [Quit: Leaving.]
<rdark> quit
rdark has quit [Quit: leaving]
nateberkopec has quit [Client Quit]
timonv has quit [Remote host closed the connection]
jeffreybaird_ has joined #ruby
joshman_ has quit [Quit: Computer has gone to sleep.]
imami|afk is now known as banseljaj
gregoryigelmund has quit [Quit: Linkinus - http://linkinus.com]
ryanlecompte has joined #ruby
jeffreybaird has quit [Ping timeout: 240 seconds]
jeffreybaird_ is now known as jeffreybaird
horsey has quit [Remote host closed the connection]
chimkan has quit [Quit: chimkan]
adeponte has quit [Remote host closed the connection]
jblack has joined #ruby
rafrcruz has joined #ruby
csaunders has quit [Quit: Computer has gone to sleep.]
samphippen has quit [Quit: Computer has gone to sleep.]
<rafrcruz> Hello guys... When I try Vector[2,5,0].r I get this error message: teste.rb:1: uninitialized constant Vector (NameError)
<rafrcruz> What am I doing wrong?
<jblack> you may have forgotten to require vector?
davidcelis has joined #ruby
chussenot has quit [Quit: chussenot]
LastBeerEver has left #ruby [#ruby]
nopolitica has quit [Read error: Connection reset by peer]
jackdanger has quit [Quit: Leaving.]
rakl has joined #ruby
<rafrcruz> In the example it looks like there is no require needed.... But I try to put it and get this error instead: /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- vector (LoadError)
jblack_ has joined #ruby
jblack_ has quit [Client Quit]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
kil0byte has quit [Ping timeout: 268 seconds]
davidcelis has quit [Client Quit]
<jblack> I dont' know what you're looking at. I see several vector gems when I run "gem search -r vector"
v0n has quit [Ping timeout: 246 seconds]
schaerli has joined #ruby
SoonerBourne has quit [Quit: HydraIRC -> http://www.hydrairc.com <- *I* use it, so it must be good!]
codeFiend has quit [Read error: Connection reset by peer]
SoonerBourne has joined #ruby
Iszak has quit [Quit: Textual IRC Client: www.textualapp.com]
carlyle has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
asteve has quit [Quit: Computer has gone to sleep.]
minijupe has quit [Quit: minijupe]
juarlex has joined #ruby
nemesit has quit [Ping timeout: 245 seconds]
tjbiddle has quit [Quit: tjbiddle]
slainer6_ has quit [Remote host closed the connection]
<rafrcruz> jblack, Iḿ trying to use the basic Vector class. http://www.ruby-doc.org/stdlib-1.9.3/libdoc/matrix/rdoc/Vector.html
invisime has joined #ruby
<jblack> See where it says "In files" ?
<jblack> I believe that's what you need to require. try require 'matrix'
tnk1 has quit []
tnk1 has joined #ruby
zigomir has quit [Ping timeout: 264 seconds]
aantix has joined #ruby
filipe_ has quit [Remote host closed the connection]
elkclone_ has joined #ruby
yekta has quit [Quit: yekta]
invisime1 has quit [Ping timeout: 246 seconds]
<rafrcruz> jblack, it worked! thank you =)
rakl has quit [Quit: sleeping]
samphippen has joined #ruby
slainer68 has joined #ruby
elkclone has quit [Ping timeout: 255 seconds]
jackdanger has joined #ruby
schaerli has quit [Remote host closed the connection]
davidcelis has joined #ruby
BigO_ has quit [Remote host closed the connection]
maletor has joined #ruby
Xeago has quit [Read error: Operation timed out]
invisime has quit [Read error: Connection reset by peer]
hoelzro is now known as hoelzro|away
codespectator has quit [Ping timeout: 252 seconds]
arya_ has joined #ruby
invisime has joined #ruby
derpops has joined #ruby
viktor_ has joined #ruby
xyzodiac has joined #ruby
asaaki has joined #ruby
asaaki has quit [Max SendQ exceeded]
arya has quit [Ping timeout: 244 seconds]
rakl has joined #ruby
ltsstar has quit [Quit: ltsstar]
asaaki has joined #ruby
asaaki has quit [Max SendQ exceeded]
asaaki has joined #ruby
asaaki has quit [Max SendQ exceeded]
asaaki has joined #ruby
asaaki has quit [Max SendQ exceeded]
BigO has joined #ruby
asaaki has joined #ruby
asaaki has quit [Max SendQ exceeded]
nat2610 has joined #ruby
ngoldman has joined #ruby
etcetera has joined #ruby
asaaki has joined #ruby
asaaki has quit [Max SendQ exceeded]
jonathan_ has joined #ruby
Morkel has joined #ruby
asaaki has joined #ruby
asaaki has quit [Max SendQ exceeded]
Monie has joined #ruby
etcetera has quit [Client Quit]
asaaki has joined #ruby
asaaki has quit [Max SendQ exceeded]
blazes816 has joined #ruby
BigO_ has joined #ruby
asaaki has joined #ruby
asaaki has quit [Max SendQ exceeded]
qwerxy has quit [Quit: offski]
etcetera has joined #ruby
schaerli has joined #ruby
asaaki has joined #ruby
asaaki has quit [Max SendQ exceeded]
BigO has quit [Read error: Connection reset by peer]
BigO_ has quit [Remote host closed the connection]
dpatel has joined #ruby
asaaki has joined #ruby
asaaki has quit [Max SendQ exceeded]
cakehero has quit [Quit: Computer has gone to sleep.]
wallerdev has quit [Quit: wallerdev]
chessteach has quit [Quit: leaving]
jonathanwallace has quit [Ping timeout: 260 seconds]
asaaki has joined #ruby
asaaki has quit [Max SendQ exceeded]
asaaki has joined #ruby
asaaki has quit [Max SendQ exceeded]
richardjortega has joined #ruby
BigO has joined #ruby
asaaki has joined #ruby
asaaki has quit [Excess Flood]
adeponte has joined #ruby
asaaki has joined #ruby
BigO has quit [Read error: Connection reset by peer]
asaaki has quit [Max SendQ exceeded]
slainer68 has quit [Remote host closed the connection]
BigO has joined #ruby
jeffreybaird_ has joined #ruby
<brah> What are the advantages and disadvantages of using return value instead of simply putting the value of the result in a method?
asaaki has joined #ruby
alvaro_o has joined #ruby
<brah> def foo: true; end instead of def foo: return true; end
Aiur has joined #ruby
<apeiros_> none
<apeiros_> also, use ; to indicate newlines. that'd make your code even correct.
BigO has quit [Remote host closed the connection]
<brah> apeiros_: in every line?
<apeiros_> no, in your example
<apeiros_> `def foo:` <-- invalid syntax
<apeiros_> `def foo;` <-- valid syntax
noxoc has quit [Quit: noxoc]
jeffreybaird has quit [Ping timeout: 240 seconds]
jeffreybaird_ is now known as jeffreybaird
Uranio has quit [Quit: WeeChat 0.3.8]
<davidcelis> def foo() true end
gridaphobe has quit [Ping timeout: 260 seconds]
<apeiros_> that'd also be valid. but not every newline you can evade by using different syntax.
fantazo has joined #ruby
g0bl1n has joined #ruby
<davidcelis> yeah just avoiding semicolons
mrsolo has joined #ruby
ZubKonst_ has joined #ruby
catphish has quit [Quit: Leaving]
<jblack> Most ruby I've seen avoids terminal semicolons.
<Cadwallion> brah: the only time I use the 'return' keyword is when I'm ending execution of the method before the last line
asaaki has quit [Quit: Bye bye!]
hotovson has quit [Remote host closed the connection]
futilegames has joined #ruby
jackdanger has quit [Quit: Leaving.]
jslowe has joined #ruby
methods has left #ruby [#ruby]
<ddd> i write it in most of the time because I believe in explicit returns. I'm rather loathe to rely on implicitness, personally.
<jblack> but then again, I like to use return because it's an explicit statement that the return is intended and not implicit
richardjortega has quit [Quit: richardjortega]
<jblack> ^5
codeFiend has joined #ruby
<apeiros_> Cadwallion: which should generally be avoided (aka spaghetti code)
<ddd> if you rely on it in one please, you rely on it in others, and that can come back and bite you. HARD sometimes.
<ddd> s/please/place/
<aces1up> can i do this? x,y, width, height = dimnestions.split(',')
ZubKonst has quit [Ping timeout: 248 seconds]
<apeiros_> harrr, only ~1300CHF to fly to bejing for 3 nights… why the hell didn't I just get a ticket to SC2 world finals? :(
<apeiros_> stupid, stupid, stupid… should just have done it.
<jblack> aces1: Yes.
<jblack> aces: have you played with irb yet?
<apeiros_> jblack: yes, we do. but in irc, it's useful to indicate a newline since it's still syntactically correct
tjbiddle has joined #ruby
<apeiros_> it's generally expected that you interpret ; as a newline in code pasted in irc
tjbiddle has quit [Remote host closed the connection]
tjbiddle has joined #ruby
alexim_ has joined #ruby
<jblack> aces1up: (run irb, then:) d='1,2,3,4'; x,y,w,h=d.split(','); x;y;w;h;
nat2610 has quit [Quit: Leaving.]
nat2610 has joined #ruby
<brah> I can do `def foo?` to have a method named foo?, how do I `foo? = lambda{...}`? I get a syntax error, unexpected '='
<jblack> apeiros_: I've nothing against it. It's in every other language i use. =)
<apeiros_> brah: you can't
<apeiros_> local variables are not allowed to end in ?, ! or =
<apeiros_> jblack: I don't like it. it's noise and in ruby it's unecessary noise :)
<jblack> I broke the habit myself some time ago. =)
schaerli has quit [Remote host closed the connection]
joshman_ has joined #ruby
<brah> apeiros_: Any way to do it?
minijupe has joined #ruby
adeponte has quit [Remote host closed the connection]
<brah> Write a lambda expression and have its name end with ?.
<apeiros_> brah: as I just said - no.
<brah> That is.
<apeiros_> a lambda is an object
<apeiros_> objects don't have names
<apeiros_> you assign objects to variables. variables have names.
adeponte has joined #ruby
<apeiros_> and no, variables are - as I said - not allowed to end in ?, ! or =
<apeiros_> only methods are.
<brah> So i'm better off doing `def foo? (x); lambda{|x| ...}; end`?
eph3meral has joined #ruby
<apeiros_> define 'better off'
<apeiros_> it makes no sense to me to do that. but I don't know what you're trying to solve.
ABK has joined #ruby
icooba has quit [Quit: Computer has gone to sleep.]
abionic has joined #ruby
noxoc has joined #ruby
cezar-b has quit [Remote host closed the connection]
<brah> My lambda expression answers a boolean question, it is natural that whatever way I call it with should end with ?
apok has joined #ruby
shtirlic_ has quit [Remote host closed the connection]
brendan- has quit [Read error: Operation timed out]
<brah> Be it odd?.(3), not possible as you said, or odd?(3)
Elhu has quit [Quit: Computer has gone to sleep.]
ABK has quit [Read error: Connection reset by peer]
sheerun has left #ruby [#ruby]
ABK has joined #ruby
Xeago has joined #ruby
abionic has quit [Read error: Connection reset by peer]
sepp2k1 has joined #ruby
greenarrow has quit [Read error: Connection reset by peer]
abionic has joined #ruby
banjara has joined #ruby
sepp2k has quit [Ping timeout: 246 seconds]
Rym has quit [Quit: Rym]
futilegames has left #ruby [#ruby]
xorigin has quit [Quit: leaving]
brendan- has joined #ruby
greenarrow has joined #ruby
greenarrow has quit [Client Quit]
greenarrow has joined #ruby
ABK has quit [Read error: Connection reset by peer]
ABK has joined #ruby
bigkevmcd has quit [Remote host closed the connection]
wallerdev has joined #ruby
abionic has quit [Read error: Connection reset by peer]
ABK has quit [Read error: Connection reset by peer]
abionic has joined #ruby
ABK has joined #ruby
BoomCow has joined #ruby
ABK has quit [Read error: Connection reset by peer]
ABK has joined #ruby
schwap has quit [Ping timeout: 256 seconds]
Vainoharhainen has quit [Quit: Leaving...]
ChampS666 has joined #ruby
dangerousdave has quit [Quit: Leaving...]
jackiechan0 has joined #ruby
MoMo is now known as JC_SoCal
havenn has quit [Remote host closed the connection]
eldariof has joined #ruby
abionic has quit [Read error: Connection reset by peer]
jlwestsr has quit [Ping timeout: 246 seconds]
saneshark has quit [Ping timeout: 240 seconds]
abionic has joined #ruby
havenn has joined #ruby
csaunders has joined #ruby
infinitiguy has quit [Read error: Connection reset by peer]
stephenjudkins has joined #ruby
stkowski has joined #ruby
ABK has quit [Read error: Connection reset by peer]
jackiechan0 has quit [Quit: Sto andando via]
ABK has joined #ruby
sailias has joined #ruby
sailias has quit [Client Quit]
Mon_Ouie has joined #ruby
havenn has quit [Ping timeout: 255 seconds]
LouisGB has quit [Ping timeout: 246 seconds]
gridaphobe has joined #ruby
BadProphet has joined #ruby
iamjarvo has joined #ruby
mascool has joined #ruby
saneshark has joined #ruby
havenn has joined #ruby
havenn has quit [Remote host closed the connection]
abionic has quit [Read error: Connection reset by peer]
ABK has quit [Read error: Connection reset by peer]
havenn has joined #ruby
ABK has joined #ruby
abionic has joined #ruby
abionic has quit [Read error: Connection reset by peer]
abionic has joined #ruby
k610 has quit [Ping timeout: 246 seconds]
<Beoran> brah, a lambda has in essence no name
Shrink has quit [Ping timeout: 264 seconds]
<Beoran> In ruby methods, variables and constants have names
lurch_ has quit [Quit: lurch_]
GeekOnCoffee has quit [Ping timeout: 272 seconds]
<Beoran> only methods may have a name that ends in ? or !
havenn has quit [Ping timeout: 260 seconds]
<brah> I want to define a lambda expression to a name and be able to end it with ?.. I'm not english, if I elaborate you will nitpick my language.
[0x1a] has joined #ruby
<brah> So, is putting the lambda expression inside a method definition the way to go?
<Beoran> brah, you don't define a lambda expression to a name
Morkel has quit [Quit: Morkel]
ABK has quit [Read error: Connection reset by peer]
<Beoran> how about simply using a method. Why do you need a lmbda?
<blazes816> lol, his name is actually brah. I missed that and thought you were being snarky
<brah> I'm trying to use ruby's functional capabilities.
Morkel has joined #ruby
abionic has quit [Read error: Connection reset by peer]
banjara has quit [Quit: Leaving.]
abionic has joined #ruby
<Beoran> module Util ; def odd?(num) ; return (num % 2) != 0 ; end ;end
hoelzro|away is now known as hoelzro
<Beoran> for example
<Beoran> brah, everything in good mesure. Use functional when you need it
<brah> I am pretty much writing one liners here.
<brah> And not doing any side effects
<Beoran> so just playing around?
<brah> No, one liners doesnt mean those lines are short.
<blazes816> hahaha
dakine has joined #ruby
<Beoran> maybe you're doing too much on one line then
<Beoran> don't try to program in a tooc lever way twhen it's not eeded, it will make your like harder when you reread your own code later
<blazes816> can I just step in for a second and say Integer#even? and Integer#odd?
<Beoran> blazes816, yes, that too, but my example was educational
carlyle has joined #ruby
abionic has quit [Read error: Connection reset by peer]
manizzle has quit [Ping timeout: 265 seconds]
<Beoran> brah, what is a lambda according to you?
abionic has joined #ruby
<brah> Beoran: As I said, I don't want to elaborate because I will get nitpicked on words and terms. I don't want to be 'that guy' but trust me, I know what I'm doing.
tommyvyo has quit [Quit: Computer has gone to sleep.]
tommyvyo_ is now known as tommyvyo
aquaranto has quit [Remote host closed the connection]
aquaranto has joined #ruby
<brah> but pretty much an expression that can be operated by beta rules
BoomCow has quit [Quit: This computer has gone to sleep]
tommyvyo_ has joined #ruby
<brah> And in this particular program I'm only operating on a binary-tree-like logic
Xeago has quit [Ping timeout: 252 seconds]
volta has quit [Remote host closed the connection]
jonathan_ has quit [Remote host closed the connection]
<brah> http://www.spoj.pl/problems/NSTEPS/ if you're wondering
<Beoran> ok
jonathanwallace has joined #ruby
abionic has quit [Read error: Connection reset by peer]
thatRD has joined #ruby
thatRD has quit [Client Quit]
BoomCow has joined #ruby
thatRD_ has joined #ruby
abionic has joined #ruby
luckyruby has joined #ruby
rakl has quit [Quit: sleeping]
haxrbyte has quit [Read error: Connection reset by peer]
kkh has quit [Remote host closed the connection]
tbrock has joined #ruby
codeFiend has quit [Quit: codeFiend]
Mon_Ouie has quit [Ping timeout: 246 seconds]
workmad3 has quit [Ping timeout: 268 seconds]
kkh has joined #ruby
<brah> I didn't test it, but it'd be something as trivial as (define nsteps (lambda (x y) (if (even? x) (if (even? y) (if (eq? x y) (* x 2) (if (eq? x (- y 2) (- (* x 2) 1) false) ) false) (if (odd? y) (if (eq? x y) (* x 2) (if (eq? x (- y 2) (- (* x 2) 1) false )))
horsey has joined #ruby
jlwestsr has joined #ruby
<davidcelis> ...
hotovson has joined #ruby
<Beoran> brah, that's LISP
<dermot> lol
<rafrcruz> how could I change one value of a matrix?
<Beoran> also it doesn't read input
<dermot> #lisp
ABK has joined #ruby
<Beoran> in ruby
<dermot> that's scheme right
<brah> lol I know it's a lisp dialect.. yeah, scheme
ltsstar has joined #ruby
ascarpino has quit [Ping timeout: 276 seconds]
<Beoran> you'd go at it in a more OOP style, but you can avoid side effects
codeFiend has joined #ruby
bricker has joined #ruby
<Beoran> hmm your lisp could translate as
<apeiros_> Beoran: btw., if you want to give it a try: https://github.com/apeiros/teaching_rpg
<apeiros_> pure ruby, ascii only atm, as we want to get the mechanics down first
<Beoran> apeiros_, sure!
<apeiros_> after that we'll switch to gosu
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
jrist is now known as jrist-afk
<Beoran> youmay have to switch to C and mruby though, gosu is a bit slow for complicate renering on older pPC's.
<brah> Ruby has functional capabilities, and google shows people rage at other people trying to use those capabilities.. I know, I could use a lisp dialect, but I want to do it on ruby!
<Beoran> I startd with the graphics becauset hat's the hard word, combined with the tile mpa, physics, UI system.
Trioke has joined #ruby
g0bl1n has quit [Ping timeout: 260 seconds]
<Beoran> brah, sure so let me see
<Beoran> hmm your lisp could translate as
nopolitica has joined #ruby
<apeiros_> Beoran: hm, seems jdubs is working on it right now - check out 9be191
<apeiros_> (I have yet to introduce him to branches)
<Trioke> Quick question, is there any reason to require both 'net/http' and 'net/https'?
Schmidt has quit [Read error: Operation timed out]
<apeiros_> oooh, damn, 1940 already… gotta leave… cya!
<Hanmac> Beoran i could do an 3D engine with >200FPS in ruby :D
apeiros_ has quit [Remote host closed the connection]
<rafrcruz> the matrix class just allow me to read the values in the matrix? How should I do to modify just the second column of a vector_column matrix?
ltsstar has quit [Ping timeout: 246 seconds]
<Trioke> In an example code I'm referencing, it's requiring both libs, but in my past experiences, I can make ssl calls with just require 'net/http'
luckyruby has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
abionic has quit [Read error: Connection reset by peer]
abionic has joined #ruby
minijupe has quit [Read error: Connection reset by peer]
minijupe has joined #ruby
nopolitica has quit [Remote host closed the connection]
banjara has joined #ruby
abionic has quit [Read error: Connection reset by peer]
joeycarmello has quit [Remote host closed the connection]
abionic has joined #ruby
zf_ is now known as zf
joeycarmello has joined #ruby
<Beoran> def nsteps(x, y) ; x.even? ? ( y.even? ? ( x==y ? (x * 2) : ( x == (y -2) ? (x*2 - 1) : false) : false ) : ( y.odd? ? (x == y ? (x * 2) : ( x == (y-2) ? (x*2-1) : false)) : false )
sailias has joined #ruby
<Beoran> Hanmac, yes on a recent computer
<Beoran> not on my 3 yer old Intel Atom with intel gpu
<Beoran> whoops ,someting wrong in that lispy thing
abionic has quit [Read error: Connection reset by peer]
<Beoran> however in reality you'd do it
* Hanmac has an onboard cpu xD
abionic has joined #ruby
<Hanmac> Beoran you only need the closed source driver ... without you still get 20~60FPS ... with an ruby app
<brah> "I consider this method (Proc#curry) to be trivial and should be treated like an Easter egg for functional programming kids." What's up with these guys?
<Hanmac> brah did you know that ruby supports GOTO? ... when you build it with jokes :D
<mark_locklear> hey folks...I could use some help with pastie.org/5387850
<mark_locklear> I have the hash...I'm just not sure how to call rating_id
eldariof has quit []
BoomCow has quit [Quit: This computer has gone to sleep]
dekroning has joined #ruby
ABK has quit [Read error: Connection reset by peer]
ABK has joined #ruby
<Hanmac> mark_locklear ... your question was answered before?
<mark_locklear> Hanmac, hey could not remeber who help me before...
<mark_locklear> so that did not work...hang on and I will tell you the result...
<mark_locklear> you suggested :rating_id
<mark_locklear> r[:rating_id]
elkclone_ has quit [Quit: It's never too late to unplug and run.]
<Hanmac> (16:08:53) havenn: mark_locklear: r[:rating_id]
<mark_locklear> right
jblack has quit [Ping timeout: 260 seconds]
<mark_locklear> yeah...that is nil
eldariof has joined #ruby
<mark_locklear> I'm just doing a r[:rating_id].inspect
<Hanmac> show us a r.inspect
ABK has quit [Read error: Connection reset by peer]
<mark_locklear> doing that...hang on and I'll shwo u the results
ABK has joined #ruby
<mark_locklear> Hanmac, http://pastie.org/5388940
cakehero has joined #ruby
<mark_locklear> I know its werid b/c I have :score within :score in the hash...
minijupe has quit [Read error: Connection reset by peer]
minijupe has joined #ruby
Framedragger has quit [Ping timeout: 264 seconds]
<Beoran> Hanmac, 20 fps is not enough
timmow has quit [Quit: has left the building]
g0bl1n has joined #ruby
pcarrier has quit [Ping timeout: 246 seconds]
tvw has quit [Ping timeout: 260 seconds]
<Beoran> an it's an intel gpu, that has A) only an open source driver since intel provides it, B) not too much acceleration since it is integrated in the CPU
noxoc has quit [Quit: noxoc]
<brah> The logic branches 4 times on both the if and else clauses :)
<brah> Beoran:
BigO has joined #ruby
<Beoran> so does it in lisp
voodoofish430 has joined #ruby
<Beoran> or scheme
<Beoran> the compiler sees those if calls and makes them into branches
<Beoran> in tuby you can use cond ? if_value : else_value, but that to creates ab ranch
krawchyk_ has joined #ruby
<Beoran> functional programming doesn't match with the reality of how CPU's work.
<Beoran> CPU's use almost nothing but side effects
<Beoran> registers are changed, memory on the stack or heap is stored data in
<Beoran> that is reality
<Beoran> FP is an abstraction, bthat is in essence, a lie
<Beoran> unless you havea LISP CPU :)
ABK has quit [Read error: Connection reset by peer]
abionic has quit [Read error: Connection reset by peer]
ABK has joined #ruby
abionic has joined #ruby
thatRD_ has quit [Quit: thatRD_]
krawchyk has quit [Ping timeout: 276 seconds]
minijupe has quit [Read error: Connection reset by peer]
minijupe has joined #ruby
<Hanmac> Beoran i have integrated CPU too (but from amd) and the pure C++ Program does not have more than 40FPS, so why do you think that ruby should have more?
<brah> Beoran: You might be correct on the ruby part, dunno. The lisp code has many binary branches.
<Hanmac> mark_locklear: r["score"][:rating_id]
<mark_locklear> can't convert Symbol into Integer
arietis has joined #ruby
<mark_locklear> same as this http://pastie.org/5389000
<mark_locklear> but with the "" like u used above
havenn has joined #ruby
<Hanmac> mark_locklear because the hash has stitt inside... the second has is not an hash, its an inspect of a hash
sailias has quit [Ping timeout: 246 seconds]
<brah> I was about to ask why score is a string and rating_id is a symbol.
eldariof has quit []
abionic has quit [Read error: Connection reset by peer]
soulcake has joined #ruby
Uranio has joined #ruby
abionic has joined #ruby
manizzle has joined #ruby
<Beoran> Hanmac, I was saying exactly the opposite. C will be faster than ruby for the graphics.
tk__ has quit [Quit: ばいばい]
<Beoran> So, program the prgram in C, but use mruby for the game data and scripting.
<mark_locklear> Hanmac, so how now I view it?
ananthakumaran has quit [Quit: Leaving.]
solidoodlesuppor has quit [Ping timeout: 240 seconds]
shtirlic has joined #ruby
v0n has joined #ruby
<Hanmac> mark_locklear it looks like an erb problem ...
codespectator has joined #ruby
<mark_locklear> I'm doing this in rails...working between the view and controller
ananthakumaran has joined #ruby
eldariof has joined #ruby
g0bl1n has quit [Ping timeout: 260 seconds]
<Hanmac> Beoran: with what i do you could write your entire App in ruby, and still has the same speed as the pure C++ implmentation
daniel_- has joined #ruby
<Hanmac> mark_locklear: #rubyonrails
<mark_locklear> I'm working it...
solidoodlesuppor has joined #ruby
<Beoran> Hanmac, how so?
<Beoran> (and I said C, not C++, but that's an aside )
<Beoran> eh, and I don'twant to sound upset or anything, I'm just curious how you could program graphics in pure ruby and have it just as fast as in C
<Beoran> even if you use a C extension, it will be slower than pure C because of the call and memory overhead
lurch_ has joined #ruby
<Hanmac> it its a bit slower, but not noticable ... (the FPS is still the same)
schaerli has joined #ruby
BigO has quit [Remote host closed the connection]
monkegji_ has quit [Remote host closed the connection]
XSoul|2 has quit []
jekotia has joined #ruby
tyfighter has joined #ruby
enroxorz-work is now known as Anthnoy-
viktor_ has quit [Read error: No route to host]
slainer68 has joined #ruby
DrShoggoth has quit [Read error: Connection reset by peer]
<Beoran> yes, Hanmac but if you please like to tell me, I'd like to know how exactly you are doing it, or if you can show the source that's even better. :)
<Hanmac> did you know Ogre3d? i make an binding for that
<Beoran> ah a c(++) extension
sailias has joined #ruby
mklappstuhl has quit [Ping timeout: 260 seconds]
ChampS666 has quit [Ping timeout: 255 seconds]
gridaphobe has quit [Read error: Connection reset by peer]
<Beoran> well, in that case, though OgreD will be running most of the time, and your ruby script will be almost not be active at all.
<Beoran> also, I I wouln't call that a pure ruby approach, but I guess we're arguing semantics then.
g0bl1n has joined #ruby
ABK has quit [Read error: Connection reset by peer]
Rym has joined #ruby
ABK has joined #ruby
h8R has joined #ruby
<Hanmac> yeah i think i get the most speed because i use ruby in callback mode, that means ruby gets called from the C side in the event loop
thinkdevcode has joined #ruby
J-_-L has joined #ruby
ChampS666 has joined #ruby
Anthnoy- has left #ruby ["Once you know what it is you want to be true, instinct is a very useful device for enabling you to know that it is"]
chussenot has joined #ruby
Morkel_ has joined #ruby
DrShoggoth has joined #ruby
<Beoran> Hanmac, well, that's almost equivalent to making a c++ program and using mruby for scripting it really :)
<Beoran> but it's a clever find
thinkdev_ has joined #ruby
<Beoran> although, mruby can be compiled to byte code so you can cloak your scripts againt easy cheating
Morkel has quit [Ping timeout: 240 seconds]
Morkel_ is now known as Morkel
abionic has quit [Read error: Connection reset by peer]
ABK has quit [Read error: Connection reset by peer]
ABK has joined #ruby
ABK has quit [Read error: Connection reset by peer]
abionic has joined #ruby
EyesIsMine has quit [Ping timeout: 245 seconds]
ltsstar has joined #ruby
thinkdevcode has quit [Ping timeout: 246 seconds]
Tania has joined #ruby
Tania has quit [Quit: :p]
abionic has quit [Read error: Connection reset by peer]
Grieg has joined #ruby
Grieg has quit [Changing host]
Grieg has joined #ruby
abionic has joined #ruby
havenn has quit [Remote host closed the connection]
joeycarmello has quit [Remote host closed the connection]
<Beoran> I swear I'll end up writing a scenehgraph library in C one day, if I ever manage to finish my 2d game (next will be a 3d game)
havenn has joined #ruby
Slivka has joined #ruby
Mon_Ouie has joined #ruby
jaygen has quit [Remote host closed the connection]
jrajav has joined #ruby
abionic has quit [Read error: Connection reset by peer]
abionic has joined #ruby
joeycarmello has joined #ruby
enderx86 has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
tbrock has quit [Quit: Computer has gone to sleep.]
<havenn> Which is better practice, first or second example of Struct??: https://gist.github.com/4090227
abionic has quit [Read error: Connection reset by peer]
<havenn> First is from 'Refactoring from Good to Great' talk: http://www.confreaks.com/videos/1233-aloharuby2012-refactoring-from-good-to-great
xcvd`` has joined #ruby
abionic has joined #ruby
kirun has joined #ruby
GoGoGarrett has quit [Remote host closed the connection]
abionic has quit [Read error: Connection reset by peer]
evilsushi has joined #ruby
evilsushi has quit [Changing host]
evilsushi has joined #ruby
jslowe has quit [Ping timeout: 265 seconds]
abionic has joined #ruby
csaunders has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
nateberkopec has joined #ruby
idzuna has quit [Remote host closed the connection]
minijupe has quit [Read error: Connection reset by peer]
minijupe has joined #ruby
<davidcelis> i see the first example way more than the second
caleb_io has joined #ruby
asdfqwer has quit [Read error: Operation timed out]
<davidcelis> though the second seems to have more sane inspections
abionic has quit [Read error: Connection reset by peer]
tbrock has joined #ruby
moted has quit [Remote host closed the connection]
abionic has joined #ruby
alex__c2022 has joined #ruby
moted has joined #ruby
statarb3 has quit [Quit: Leaving]
abionic has quit [Read error: Connection reset by peer]
abionic has joined #ruby
abionic has quit [Read error: Connection reset by peer]
cpruitt has quit [Quit: cpruitt]
abionic has joined #ruby
abionic has quit [Read error: Connection reset by peer]
<blazes816> I prefer the latter but not sure one is considered "better"
abionic has joined #ruby
freakazoid0223 has joined #ruby
GranMal has joined #ruby
Tuxist has joined #ruby
_alejandro has quit [Read error: Connection reset by peer]
solidoodlesuppor has quit [Ping timeout: 255 seconds]
xandy is now known as xAndy
abionic has quit [Read error: Connection reset by peer]
solidoodlesuppor has joined #ruby
eldariof has quit []
abionic has joined #ruby
abionic has quit [Read error: Connection reset by peer]
abionic has joined #ruby
LouisGB has joined #ruby
GeekOnCoffee has joined #ruby
bradhe has joined #ruby
_alejandro has joined #ruby
abionic has quit [Read error: Connection reset by peer]
chimkan has joined #ruby
abionic has joined #ruby
Virunga has joined #ruby
Grieg has quit [Quit: laterz! :D]
IrishGringo has quit [Quit: ChatZilla 0.9.89 [Firefox 16.0.2/20121024073032]]
tbrock has quit [Quit: Computer has gone to sleep.]
IrishGringo has joined #ruby
hydrozen has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
k610 has joined #ruby
evilsushi is now known as i0n
statarb3 has joined #ruby
abionic has quit [Read error: Connection reset by peer]
aquaranto has quit [Remote host closed the connection]
statarb3 has quit [Read error: Connection reset by peer]
abionic has joined #ruby
sepp2k1 has quit [Read error: Connection reset by peer]
jonathanwallace has quit [Remote host closed the connection]
aquaranto has joined #ruby
aquaranto has quit [Remote host closed the connection]
jds_ has joined #ruby
statarb3 has joined #ruby
statarb3 has quit [Changing host]
statarb3 has joined #ruby
wargasm has quit [Ping timeout: 255 seconds]
abionic has quit [Read error: Connection reset by peer]
abionic has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
J-_-L has quit [Ping timeout: 244 seconds]
cardoni has quit [Quit: Linkinus - http://linkinus.com]
moted has quit [Remote host closed the connection]
DDAZZA has joined #ruby
tbrock has joined #ruby
nachtwandler has joined #ruby
jrist-afk is now known as jrist
ngoldman has quit [Ping timeout: 246 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
moted has joined #ruby
RubyPanther has quit [Quit: self.exit(:stage=>:left)]
daniel_- has quit [Ping timeout: 252 seconds]
kuzushi has quit [Ping timeout: 240 seconds]
<brah> Is it noticeabily better (in %) to print Integer; print "\n" instead of print Integer.to_s + "\n"?
g0bl1n has quit [Ping timeout: 260 seconds]
abionic has quit [Read error: Connection reset by peer]
nitti_ is now known as _nitti
abionic has joined #ruby
timonv has joined #ruby
ngoldman has joined #ruby
ascarpino has joined #ruby
ascarpino has quit [Changing host]
ascarpino has joined #ruby
alejandro_ has joined #ruby
BigO has joined #ruby
mercwithamouth has joined #ruby
rippa has quit [Ping timeout: 246 seconds]
bradhe has quit [Remote host closed the connection]
vicatcu has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<vicatcu> hey all, can someone help me with a code snippet that will extract the text from a string that is between "/" and ".hex"
c0rn has joined #ruby
carlyle_ has joined #ruby
jaygen has joined #ruby
<havenn> brah: I'd vote: print "#{Integer}\n"
<blazes816> vicatcu: my_string.match /\/.*?\.hex/
_alejandro has quit [Ping timeout: 255 seconds]
<brah> havenn: Running benchmarks right now, will report back!
<havenn> brah: If you can't: puts Integer
Nisstyre has quit [Quit: Leaving]
<brah> havenn: I read puts is usually way slower than print
senj has joined #ruby
_bart has quit [Quit: _bart]
<havenn> brah: Didn't realize speed was the goal. I haven't micro-benchmarked them, I have no clue.
carlyle__ has joined #ruby
invisime has quit [Quit: Leaving.]
abionic has quit [Read error: Connection reset by peer]
carlyle has quit [Ping timeout: 245 seconds]
shiin has quit [Quit: Computer has gone to sleep.]
abionic has joined #ruby
ngoldman has quit [Remote host closed the connection]
abionic has quit [Read error: Connection reset by peer]
aldodelgado has joined #ruby
abionic has joined #ruby
Rym has quit [Ping timeout: 268 seconds]
slash_nick has quit [Ping timeout: 255 seconds]
carlyle_ has quit [Ping timeout: 245 seconds]
abionic has quit [Read error: Connection reset by peer]
monkegjinni has joined #ruby
BoomCow has joined #ruby
abionic has joined #ruby
xyzodiac has quit [Read error: Connection reset by peer]
abionic has quit [Read error: Connection reset by peer]
abionic has joined #ruby
<brah> havenn: 3.2.0-3-686-pae linux, print '#{Integer}\n' is 10% faster than puts, and 40% faster than the other permutations.
<brah> ruby 1.9.3p194
GoGoGarrett has joined #ruby
hotovson has quit [Remote host closed the connection]
abionic has quit [Read error: Connection reset by peer]
mityaz has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
abionic has joined #ruby
tbrock has quit [Quit: Computer has gone to sleep.]
krawchyk_ has quit [Remote host closed the connection]
Guest92676 has quit [Quit: Guest92676]
tenmilestereo has joined #ruby
sailias has quit [Ping timeout: 246 seconds]
jds_ has quit [Remote host closed the connection]
ner0x has joined #ruby
<ner0x> Any tools to cat $file | gist ?
cobra-the-joker has joined #ruby
bradhe has joined #ruby
<ddd> ner0x: gem install jist
<ddd> jist yourfile
<ner0x> How do you add karma in here?
chimkan has quit [Quit: chimkan]
abionic has quit [Read error: Connection reset by peer]
<Cadwallion> you don't
<ddd> ner0x: ∴ jist Gemfile
clj_newb has joined #ruby
abionic has joined #ruby
<Cadwallion> you just thank the person and continue living your life :)
<ddd> yeah i have a weird UTF-8 char as my shell prompt :)
daniel_- has joined #ruby
<ner0x> Well...
<ner0x> ddd: Thank you sir.
<ddd> np
<ner0x> I would ddd++ you but apparently we don't do that in here.
<ddd> yeah most of the ruby related channels don't.
<ner0x> Odd.
<ddd> including the #rubyonrails channel
prezioso has joined #ruby
<ddd> naa, we're more community facing. we're seen out there. this is just for us to chat the backchannel really
<ner0x> Either way, works.
<ddd> yep
havenn has quit [Remote host closed the connection]
caleb_io has quit [Quit: caleb_io]
swarley has joined #ruby
<brah> ... karma?
stephenjudkins has quit [Quit: stephenjudkins]
jlwestsr has quit [Ping timeout: 246 seconds]
mikepack has quit [Remote host closed the connection]
gridaphobe has joined #ruby
<Eiam> Cadwallion: Sat down last night and read most of the getting started for coffee script =p
havenn has joined #ruby
yalue has quit [Remote host closed the connection]
_bart has joined #ruby
bluOxigen has quit [Ping timeout: 264 seconds]
yshh has quit [Remote host closed the connection]
<Cadwallion> Eiam: how'd that go?
<Eiam> Cadwallion: okay, I'm sort of on the fence about maybe just using _.js instead of this whole layer still.. CS seems OK, it certainly addresses some of my complaints but it also brings in some my complaints about ruby haha
<Eiam> Cadwallion: I don't like the browser inserts ; behavior. i like last line returns behavior. I don't like leaving out parans from method names, i think they help clarify intent. in ruby I can put them in or not, in CS i have to leave them out
ngoldman has joined #ruby
<Eiam> Cadwallion: for example in ruby when chaining like .select.map i don't use () because blocks are usually present, but if i have a method thats on its own, like x = method() i always include the () so its clear I'm invoking something andn ot just assigning another variable
_nitti_ has joined #ruby
<Eiam> Cadwallion: so over the holidays I'm going to take some of my JS functions and re-write them in CS. I do prefer the way CS handles classes
<Cadwallion> fair nuff on the parens, I use parens as little as possible
<Eiam> Cadwallion: I think it fits better with how I think about classes & models
<Cadwallion> yeah, CS class handle
<Eiam> CS feels like someone who wrote a lot of ruby wished they could use ruby in javascript
abionic has quit [Read error: Connection reset by peer]
<Cadwallion> I'd say that's accurate
abionic has joined #ruby
<Eiam> which is to be honest something i wish i could do, and I often avoid writing JS by instead doing the work in ruby and sticking the result in data-url's for js to just read & poop out
F1skr has quit [Quit: WeeChat 0.3.9.1]
<ner0x> ddd: jist <myfile> Where does that gist post live?
_bart has quit [Client Quit]
<ner0x> ddd: If I wanted to go to "My Gist" and delete it.
_nitti has quit [Ping timeout: 260 seconds]
<Cadwallion> Eiam: a fairly apt description imo
slainer68 has quit [Remote host closed the connection]
enderx86 has quit [Remote host closed the connection]
<Cadwallion> but since I enjoy ruby, and it follows the style I write Ruby, so I hug it and stroke it and call it mine
<Eiam> going to run it by my boss see if he cares
pyx has joined #ruby
manizzle has quit [Ping timeout: 252 seconds]
horsey has quit [Read error: Connection reset by peer]
<blazes816> the best part about CS is that at the end of the day if you aren't happy with it, it at least compiles to nice, clean JS
enderx86 has joined #ruby
<Eiam> i'd argue about nice & clean
stephenjudkins has joined #ruby
<Eiam> =)
etcetera has quit [Quit: Computer has gone to sleep.]
<Eiam> then again, JS isn't nice & clean no matter what so whatever ;)
<blazes816> well, that's true. I'd take the CS generated JS over *most* hand written JS any day
joeycarmello has quit [Read error: Connection reset by peer]
joeycarmello has joined #ruby
etcetera has joined #ruby
aldodelgado has quit [Quit: aldodelgado]
abionic has quit [Read error: Connection reset by peer]
abionic has joined #ruby
answer_42 has quit [Ping timeout: 276 seconds]
aghull has joined #ruby
bigmcq77 has quit [Quit: Computer has gone to sleep.]
abionic has quit [Read error: Connection reset by peer]
RubyPanther has joined #ruby
havenn has quit [Remote host closed the connection]
maletor has joined #ruby
abionic has joined #ruby
Zolrath has joined #ruby
BigO has quit [Remote host closed the connection]
nat2610 has quit [Quit: Leaving.]
nachtwandler_ has joined #ruby
bigmcq77 has joined #ruby
_alejandro has joined #ruby
minijupe has quit [Read error: Connection reset by peer]
BigO has joined #ruby
abionic has quit [Read error: Connection reset by peer]
mikepack has joined #ruby
abionic has joined #ruby
minijupe has joined #ruby
apok has quit [Quit: apok]
nachtwandler has quit [Ping timeout: 268 seconds]
havenn has joined #ruby
alejandro_ has quit [Ping timeout: 252 seconds]
nat2610 has joined #ruby
BigO has quit [Remote host closed the connection]
g_bleezy has joined #ruby
k610 has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
answer_42 has joined #ruby
BigO has joined #ruby
peregrine81 has quit [Quit: Computer sleeping.]
h4mz1d has joined #ruby
manizzle has joined #ruby
g_bleezy has quit [Ping timeout: 244 seconds]
ngoldman has quit [Remote host closed the connection]
<ddd> ner0x: when you run the jist command like i told you with a filename it gets sent to gist.github.com. It spits out a URL right that at the commandline, copy that into your browser to see it
<ddd> and if you are logged in to github already (or have $HOME/.gitconfig set up with your username and password) it will output it to your account, otherwise it posts it as an anonymous gist.
banisterfiend has joined #ruby
<ddd> sorry, my daughter has expressed a great desire to learn to program so I'm busy working with some people to get her set up on an education track to do so. I'm not really paying attention to IRC right now.
jonathanwallace has joined #ruby
GranMal has quit [Quit: GranMal]
abionic has quit [Read error: Connection reset by peer]
aldodelgado has joined #ruby
abionic has joined #ruby
jonathanwallace has quit [Remote host closed the connection]
F1skr has joined #ruby
kammouflage has joined #ruby
kammouflage has quit [Client Quit]
caleb_io has joined #ruby
cjs226 has joined #ruby
<ner0x> ddd: Not a problem. I am logged in but it created a private gist. I assume it's lost in internet-land?
Banistergalaxy has joined #ruby
<ddd> no kick the other person the url returned. you just cant delete it yourself
robottinosino has joined #ruby
abionic has quit [Read error: Connection reset by peer]
<ddd> because its not attached to anyone's account. thus the anonymous
abionic has joined #ruby
_nitti_ is now known as _nitti
answer_42 has quit [Ping timeout: 276 seconds]
havenn has quit [Remote host closed the connection]
jonathanwallace has joined #ruby
abionic has quit [Read error: Connection reset by peer]
tvw has joined #ruby
enderx86 has quit []
abionic has joined #ruby
enderx86 has joined #ruby
enderx86 has quit [Client Quit]
Morkel has quit [Quit: Morkel]
enderx86 has joined #ruby
robottinosino has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
peregrine81 has joined #ruby
<brah> Any quick way to flip two numbers separated by a dash using regexp?
Connecti0n has joined #ruby
<brah> I can match them and get \1 and \2, but is there any one-line-wonder?
jeffreybaird_ has joined #ruby
BigO has quit [Read error: Connection reset by peer]
<swarley> str.match(/(\d+)\-(\d+)/).captures.reverse.join('-')
BigO has joined #ruby
leifmadsen has joined #ruby
abionic has quit [Read error: Connection reset by peer]
_alejandro has quit [Remote host closed the connection]
<swarley> [2] pry(main)> str.match(/(\d+)\-(\d+)/).captures.reverse.join('-')
<swarley> => "342-124"
schaerli has quit [Remote host closed the connection]
<swarley> err
<swarley> [1] pry(main)> str = "124-342"
abionic has joined #ruby
joeycarmello has quit [Read error: Connection reset by peer]
joeycarmello has joined #ruby
nachtwandler_ has quit [Quit: leaving]
jeffreybaird has quit [Ping timeout: 264 seconds]
jeffreybaird_ is now known as jeffreybaird
<leifmadsen> hey all. I'm trying to track down either a usage error with assert_equals from the MiniTest::Assertion library, or potentially a bug in the library itself. I've outlined my tests and conclusions, and if anyone is interested would love ideas on how I could perform more testing and track down the issue. https://github.com/calavera/minitest-chef-handler/issues/34
ChampS666 has quit []
J-_-L has joined #ruby
BigO has quit [Remote host closed the connection]
abionic has quit [Read error: Connection reset by peer]
abionic has joined #ruby
bobsx has joined #ruby
bobsx has left #ruby [#ruby]
dekroning has quit [Ping timeout: 260 seconds]
joeycarm_ has joined #ruby
alfism has joined #ruby
dekroning has joined #ruby
jgrevich_ has joined #ruby
joeycarmello has quit [Ping timeout: 246 seconds]
<ner0x> https://gist.github.com/4091185 Any ideas why s3sh won't run?
abionic has quit [Read error: Connection reset by peer]
abionic has joined #ruby
<Cadwallion> I'm going to take a guess here
<Cadwallion> and say that it couldn't find builder
jgrevich has quit [Ping timeout: 246 seconds]
jgrevich_ is now known as jgrevich
jlwestsr has joined #ruby
riley526 has joined #ruby
<ner0x> Cadwallion: I thought the same thing. Builder is installed.
atmosx has quit [Ping timeout: 276 seconds]
Connecti0n has quit [Quit: Leaving]
jds_ has joined #ruby
g0bl1n has joined #ruby
atmosx has joined #ruby
<brah> I nearly started to try to make a regular expression for a recursively enumerable language. I am a moron.
<_nitti> You just used the words "recursively enumerable". I'm pretty sure you're doing OK in the headbrain.
<_nitti> good night #ruby!
Uranio has quit [Ping timeout: 276 seconds]
_nitti has quit [Quit: Leaving...]
abionic has quit [Read error: Connection reset by peer]
geekbri has quit [Remote host closed the connection]
abionic has joined #ruby
mvangala_ has quit [Read error: Connection reset by peer]
mvangala has joined #ruby
jds_ has quit [Ping timeout: 240 seconds]
wuzzzzaah has quit [Quit: wuzzzzaah]
jenrzzz has quit [Ping timeout: 264 seconds]
BigO has joined #ruby
shtirlic has quit [Remote host closed the connection]
visof has joined #ruby
<visof> hello
<visof> i'm trying to install libv8 and i got this error http://pastie.org/5389623
manizzle has quit [Ping timeout: 268 seconds]
Mon_Ouie has quit [Ping timeout: 246 seconds]
abionic has quit [Read error: Connection reset by peer]
abionic has joined #ruby
<lectrick> want to see my recursively enumerable regex to parse url's?
Blue_Ice has joined #ruby
elaptics is now known as elaptics`away
abionic has quit [Read error: Connection reset by peer]
Blue_Ice has left #ruby ["Very funny Scottie. Now beam down my clothes!"]
<brah> Hold on.. previously catpured matches allow me to go beyond regular languages!
tommyvyo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
abionic has joined #ruby
minijupe has quit [Read error: Connection reset by peer]
dmiller has joined #ruby
jenrzzz has joined #ruby
nat2610 has quit [Quit: Leaving.]
abionic has quit [Read error: Connection reset by peer]
stephenjudkins has quit [Quit: stephenjudkins]
<lectrick> that is all my handiwork
etcetera has quit [Ping timeout: 245 seconds]
abionic has joined #ruby
KevinSjoberg has quit [Quit: Computer has gone to sleep.]
nat2610 has joined #ruby
<lectrick> aaand I just noticed the TLD group definition will have to change quite a bit starting next year. sigh
arya__ has joined #ruby
trevortwining has joined #ruby
monkegjinni has quit [Read error: No route to host]
monkegji_ has joined #ruby
<brah> lectrick: There will be about 2000 new non-cc (don't remember their name) TLDs I believe.
BigO has quit [Remote host closed the connection]
abionic has quit [Read error: Connection reset by peer]
SJr has quit [Excess Flood]
etcetera has joined #ruby
abionic has joined #ruby
arya_ has quit [Ping timeout: 244 seconds]
<brah> And URIs are regular.
<lectrick> brah: yeah, i'd have to make the TLD group either recognize all of them or just any generic length of allowable path segment characters
caleb_io has quit [Quit: caleb_io]
carlyle__ has quit [Remote host closed the connection]
arya__ is now known as arya_
SJr has joined #ruby
fantazo_ has joined #ruby
fantazo has quit [Ping timeout: 248 seconds]
h4mz1d has quit [Ping timeout: 264 seconds]
GoGoGarrett has quit [Remote host closed the connection]
slamice has joined #ruby
v0n has quit [Ping timeout: 246 seconds]
peregrine81 has quit [Quit: Computer sleeping.]
slash_nick has joined #ruby
slainer68 has joined #ruby
aces23up has joined #ruby
abionic has quit [Read error: Connection reset by peer]
alfism has quit [Quit: alfism]
abionic has joined #ruby
slainer68 has quit [Read error: Operation timed out]
<brah> "I think this means that at least Ruby 1.9.1's regex engine, which is the Oniguruma regex engine, is actually equivalent to a context-free grammar"
<brah> Nice.
shikamaru has quit [Quit: ZNC - http://znc.sourceforge.net]
abionic has quit [Read error: Connection reset by peer]
chussenot has quit [Quit: chussenot]
abionic has joined #ruby
arya_ has quit [Ping timeout: 244 seconds]
shikamaru has joined #ruby
alex__c2022 has quit [Quit: alex__c2022]
aces1up has quit [Ping timeout: 268 seconds]
wargasm has joined #ruby
h8R has quit [Read error: Connection reset by peer]
jrist is now known as jrist-dogwalk
_alejandro has joined #ruby
arya_ has joined #ruby
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
daniel_- has quit [Quit: WeeChat 0.3.9.1]
mark_locklear has quit [Ping timeout: 246 seconds]
abionic has quit [Read error: Connection reset by peer]
Jasko has quit [Read error: Connection reset by peer]
<lectrick> yeah, i delved into BNF grammars when I built that, that was fun
abionic has joined #ruby
Jasko has joined #ruby
aldodelgado has quit [Quit: aldodelgado]
erichmenge has quit [Changing host]
erichmenge has joined #ruby
g0bl1n has quit [Ping timeout: 260 seconds]
jlwestsr has quit [Ping timeout: 246 seconds]
prezioso has quit [Ping timeout: 268 seconds]
manizzle has joined #ruby
mahmoudimus has quit [Quit: Leaving...]
postmodern has joined #ruby
mahmoudimus has joined #ruby
abionic has quit [Read error: Connection reset by peer]
abionic has joined #ruby
fumduq has joined #ruby
ner0x has quit [Quit: Leaving]
peregrine81 has joined #ruby
blacktulip has quit [Remote host closed the connection]
peregrine81 has quit [Client Quit]
etcetera has quit [Quit: Computer has gone to sleep.]
mark_locklear has joined #ruby
niklasb has joined #ruby
chimkan has joined #ruby
chimkan has left #ruby [#ruby]
etcetera has joined #ruby
saneshark has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
abionic has quit [Read error: Connection reset by peer]
abionic has joined #ruby
cobra-the-joker has quit [Quit: Leaving]
apok has joined #ruby
jds_ has joined #ruby
cdt has joined #ruby
linoj has quit [Quit: linoj]
cdt has quit [Client Quit]
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
samphippen has joined #ruby
abionic has quit [Read error: Connection reset by peer]
twinturbo has joined #ruby
abionic has joined #ruby
tommyvyo has joined #ruby
abionic has quit [Read error: Connection reset by peer]
aces1up has joined #ruby
abionic has joined #ruby
bbttxu has quit [Quit: bbttxu]
mercwithamouth has quit [Ping timeout: 276 seconds]
axl_ has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
etcetera has quit [Quit: Computer has gone to sleep.]
abionic has quit [Read error: Connection reset by peer]
aces23up has quit [Ping timeout: 256 seconds]
abionic has joined #ruby
danshultz has quit [Remote host closed the connection]
jds_ has quit [Ping timeout: 248 seconds]
stephenjudkins has joined #ruby
jeffreybaird has quit [Quit: jeffreybaird]
thinkdev_ has quit [Remote host closed the connection]
BigO has joined #ruby
digifiv5e has quit [Quit: ZNC - http://znc.in]
tommyvyo has quit [Quit: Computer has gone to sleep.]
BigO has quit [Remote host closed the connection]
etcetera has joined #ruby
ltsstar has quit [Quit: ltsstar]
i0n has quit [Ping timeout: 248 seconds]
jblack_ has joined #ruby
ABK_ has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
pavilionXP has joined #ruby
x82_nicole has joined #ruby
iamjarvo has quit [Quit: Computer has gone to sleep.]
Jasko has joined #ruby
tenmilestereo has quit [Quit: Leaving]
dekroning has quit [Ping timeout: 260 seconds]
abionic has quit [Ping timeout: 260 seconds]
ABK_ has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
jonathanwallace has quit [Remote host closed the connection]
ABK_ has joined #ruby
ABK_ has quit [Read error: Connection reset by peer]
chrxn has quit [Ping timeout: 265 seconds]
jonathanwallace has joined #ruby
apeiros_ has joined #ruby
chrxn has joined #ruby
the_jeebster has joined #ruby
jeff_sebring has joined #ruby
trevortwining has quit [Quit: trevortwining]
nat2610 has quit [Quit: Leaving.]
alanp_ has joined #ruby
alanp_ has quit [Read error: Connection reset by peer]
Cadwallion has quit [Ping timeout: 260 seconds]
nat2610 has joined #ruby
ascarpino has quit [Quit: Konversation terminated!]
chrxn has quit [Ping timeout: 246 seconds]
tomsthumb has quit [Quit: Leaving.]
mytec has joined #ruby
BigO has joined #ruby
BigO has quit [Remote host closed the connection]
enderx86 has quit [Remote host closed the connection]
J-_-L has quit [Ping timeout: 252 seconds]
tommyvyo has joined #ruby
Eiam has quit [Ping timeout: 245 seconds]
chrxn has joined #ruby
yxhuvud has quit [Read error: Connection reset by peer]
alanp_ has joined #ruby
alanp has quit [Ping timeout: 260 seconds]
Xeago has joined #ruby
krislappy has joined #ruby
krisfremen has quit [Read error: Connection reset by peer]
krislappy has quit [Changing host]
krislappy has joined #ruby
danneu has joined #ruby
yxhuvud has joined #ruby
mytec has left #ruby [#ruby]
manizzle has quit [Ping timeout: 260 seconds]
arya_ has quit [Ping timeout: 244 seconds]
DDAZZA has quit [Ping timeout: 252 seconds]
osvico has joined #ruby
daniel_- has joined #ruby
axl_ has quit [Ping timeout: 276 seconds]
Cadwallion has joined #ruby
Raboo has quit [Ping timeout: 268 seconds]
jrajav has quit [Quit: I tend to be neutral about apples]
danneu is now known as testing123
ascarpino has joined #ruby
ascarpino has quit [Changing host]
ascarpino has joined #ruby
testing123 is now known as danneu
hoelzro is now known as hoelzro|away
axl_ has joined #ruby
danneu has left #ruby ["WeeChat 0.3.8"]
daniel_- has quit [Quit: WeeChat 0.3.9.1]
joshman_ has quit [Read error: Operation timed out]
cjs226 has quit []
axl_ has quit [Remote host closed the connection]
banjara has quit [Quit: Leaving.]
axl_ has joined #ruby
kil0byte has joined #ruby
sam101 has joined #ruby
<sam101> hi all
<sam101> please could someone be kind and help me
<brah> sam101: Don't ask if you can ask, ask.
<sam101> i am trying to run something ./flashpolicyd.rb
<sam101> now i have installed ruby but this will not run
<tsou> sam101: is it executable? is the first line a she-bang?
<Dwarf> Expected output and what do you get instead?
statix_ has quit []
<brah> sam101: can you run `ruby flashpolicyd.rb`?
banjara has joined #ruby
<sam101> ./flashpolicyd.rb: /usr/bin/ruby: bad interpreter:
theRoUS has quit [Ping timeout: 252 seconds]
<sam101> command not found
rdg has joined #ruby
<brah> sam101: can you run `ruby flashpolicyd.rb`?
<sam101> please wait
ottbot has quit [Read error: Operation timed out]
banjara1 has joined #ruby
<sam101> brah: it says ruby command not found
workmad3 has joined #ruby
banjara has quit [Read error: Connection reset by peer]
<brah> sam101: How did you install ruby?
<sam101> yum
jenrzzz has quit [Ping timeout: 260 seconds]
<sam101> when i do locate i find ruby here /usr/lib/ruby/1.8/
mercwithamouth has joined #ruby
yshh_ has joined #ruby
<tsou> sam101: type: "which ruby", this should give you which executable runs
love_color_text has quit [Remote host closed the connection]
love_color_text has joined #ruby
solidoodlesuppor has quit [Remote host closed the connection]
freakazoid0223 has quit [Quit: Leaving]
<sam101> pleave have a look
<workmad3> sam101: how about 'which ruby18'?
SCommette has quit [Quit: SCommette]
<tsou> ..if there is no ruby in your path, how where you able to run "ruby flashpolicyd.rb" ?(!)
<brah> tsou: He wasn't.
neersighted has quit [Remote host closed the connection]
<tsou> ah, i thought "yum" was an answer to that ;)
<sam101> i am not able to run it yet
<brah> yum is a package manager. I am unfamiliar with it.
stopbit has quit [Quit: Leaving]
<tsou> same here
<brah> sam101: Go into /usr/bin and run `ls | grep ruby`
<sam101> nothing
nateberkopec has quit [Quit: Leaving...]
<sam101> no answer from this command
ij has quit [Read error: Connection reset by peer]
SCommette has joined #ruby
<tsou> sam101: check the documentation of this yum thing to see where it installed it, or try the good-old find program..
p3mulis has joined #ruby
<brah> sam101: run `updatedb` and then run `locate ruby`. If it still doesn't show up, ruby didn't get installed properly.
ij has joined #ruby
pemulis has quit [Ping timeout: 268 seconds]
SCommette has quit [Client Quit]
ejdyksen has joined #ruby
pemulis has joined #ruby
<sam101> updating db
nateberkopec has joined #ruby
<tsou> ..or maybe you installed it locally in your home dir, and its permissions prevent it from being included in locate's db
<sam101> brah: i can find ruby when i do that locate
<sam101> 23:27] <sam101> when i do locate i find ruby here /usr/lib/ruby/1.8/
<brah> Can you run `/usr/lib/ruby/1.8/ruby flashpolicyd.rb`?
tomsthumb has joined #ruby
rdg has quit [Quit: ttfn]
<sam101> no i can't
tommyvyo has quit [Quit: Computer has gone to sleep.]
<brah> Why?
Schmidt has joined #ruby
<sam101> i tried it does not run
DrShoggoth has quit [Quit: Leaving]
<brah> ... why? What does it say?
<apeiros_> if that doesn't scream botched install, then what does?
<workmad3> bleh, red hat
<workmad3> if not botched then at least incomplete
<workmad3> like it's only got the dev headers or something stupid
maletor has quit [Quit: Computer has gone to sleep.]
<banisterfiend> apeiros_: check it: http://showterm.io/8ad229b0ace42e94fc69a#fast
<apeiros_> sam101: `/usr/lib/ruby/1.8/ruby -v`?
<apeiros_> hey banisterfiend
k610 has joined #ruby
<apeiros_> banisterfiend: wtf?!?!?!? <-- reeeeally?
<banisterfiend> yo
medik has joined #ruby
medik has quit [Excess Flood]
<banisterfiend> apeiros_: Yeah :P
d2dchat has quit [Remote host closed the connection]
<banisterfiend> apeiros_: pretty k00?
<apeiros_> banisterfiend: oooh, nice @ link
medik has joined #ruby
barce has joined #ruby
slainer68 has joined #ruby
maletor has joined #ruby
<sam101> nothing
<sam101> :s
<brah> sam101: `file /usr/lib/ruby/1.8/ruby`
<sam101> i want to try and remove this
havenn has joined #ruby
hsbt is now known as hsbt_away
kirun has quit [Quit: Client exiting]
<sam101> /usr/lib/ruby/1.8/*
<sam101> not /usr/lib/ruby/1.8/ruby
<sam101> on 1.8 folder
<sam101> there is many .rb files
<workmad3> sam101: stepping back... what yum command did you install, and what OS is this exactly?
<sam101> yum install ruby
Jasko has quit [Read error: Connection reset by peer]
<sam101> redhat 4
dekroning has joined #ruby
Jasko has joined #ruby
aeontech has joined #ruby
<shevy> anyone of you having used openssl with ruby successfully? Ideally I'd like to know the shortest way to have an IRC client .rb script use IRC (works already) use an openssl connection optionally (does not yet work)
savage- has joined #ruby
mercwithamouth has quit [Ping timeout: 252 seconds]
codeFiend has quit [Ping timeout: 246 seconds]
aeontech is now known as codeFiend
dekroning has quit [Ping timeout: 252 seconds]
rakunHo has joined #ruby
ryanlecompte has quit [Ping timeout: 246 seconds]
jrist-dogwalk is now known as jrist
jds_ has joined #ruby
yshh_ has quit [Remote host closed the connection]
banseljaj has quit [Excess Flood]
banseljaj has joined #ruby
kil0byte has quit [Remote host closed the connection]
BigO has joined #ruby
atmosx has quit [Remote host closed the connection]
rakunHo has quit [Quit: http://quassel-irc.org - Chatee cómodamente donde sea.]
atmosx has joined #ruby
rakunHo has joined #ruby
jds_ has quit [Ping timeout: 256 seconds]
samphippen has quit [Quit: Computer has gone to sleep.]
enderx86 has joined #ruby
<sam101> thanks for trying anyway guys
<sam101> have a good nite
sam101 has quit []
enderx86 has quit [Remote host closed the connection]
BigO has quit [Remote host closed the connection]
Virunga has quit [Remote host closed the connection]
jblack_ has quit [Ping timeout: 276 seconds]
mikepack has quit [Remote host closed the connection]
slash_nick has quit [Ping timeout: 260 seconds]
davidcelis has quit [Quit: K-Lined.]
manizzle has joined #ruby
mercwithamouth has joined #ruby