apeiros changed the topic of #ruby to: Ruby 2.1.3; 2.0.0-p576; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
ghostmoth has quit [Quit: ghostmoth]
<rubie> hi all: im curious what line 8 does in this bubble sort algorithm....https://gist.github.com/gabrie30/6ff1e25f3f54704084e1
<zenspider> rubie: swaps
<zenspider> a, b = b, a
<rubie> what i dont understand is how it swaps the positions
<Bish> ruby does it internally
marr has quit [Ping timeout: 260 seconds]
<Bish> it's a feature of the language, in most other languages you would have to have a "swap" variable, like third=first,first=second,second=third
rubyonrailed has quit [Remote host closed the connection]
<Bish> to swap first and second
thumpba has quit [Remote host closed the connection]
ursooperduper has joined #ruby
KC9YDN has quit [Read error: Connection reset by peer]
<rubie> ok so just something i should memorize and not worry about the how
<havenwood> Go, Python, JavaScript, Perl, Swift and others have parallel assignment as well.
<benzrf> js has par as?
hiyosi has joined #ruby
<benzrf> rubie: na
<benzrf> rubie: in general, "a, b = something" will unpack something into a and b
<benzrf> rubie: looK:
Thomas_the_Tank has joined #ruby
RyanV has quit [Quit: Computer has gone to sleep.]
<benzrf> >> a, b, c = [1, 2, 3]; puts b
<eval-in_> benzrf => 2 ... (https://eval.in/201724)
<benzrf> rubie: the "b, a" on the other side makes a new list
<benzrf> so first the rhs is evaluated and you get a list
<benzrf> then the lhs gets assigned from the list
<havenwood> s/Javacsript/Coffeescript :P
ursooperduper has quit [Read error: Connection reset by peer]
Sylario has quit [Ping timeout: 260 seconds]
RyanV has joined #ruby
<rubie> ahh interesting
<rubie> but does that change the array?
dx7 has quit [Ping timeout: 244 seconds]
St_Marx has quit [Quit: Ex-Chat]
hiyosi has quit [Ping timeout: 250 seconds]
<havenwood> >> array = ['a', 'b']; array[0], array[1] = array[1], array[0]; array
lewix has quit [Remote host closed the connection]
<eval-in_> havenwood => ["b", "a"] (https://eval.in/201726)
<havenwood> i'm so hungry...!
<lampd1> there's an app for that
<lampd1> oh, wait...
<rubie> thanks havenwood, one more thing is this true ? (n-1).times do |i| # (4).times do i ==> i will take these values below 1,2,3,4
<rubie> sorry that is hard to read
<rubie> (4).times do i ==> i will take these values below 1,2,3,4
thomasxie has joined #ruby
jasooon has joined #ruby
<rubie> or does i take the values of 0,1,2,3
<havenwood> >> 4.times.to_a
<eval-in_> havenwood => [0, 1, 2, 3] (https://eval.in/201727)
<havenwood> >> 4.pred.times.to_a
<eval-in_> havenwood => [0, 1, 2] (https://eval.in/201728)
jimmyhoughjr has joined #ruby
b00stfr3ak has quit [Ping timeout: 244 seconds]
Mon_Ouie has quit [Ping timeout: 250 seconds]
<jimmyhoughjr> heh
<jimmyhoughjr> what webserver uses stdin?
cndiv has quit [Ping timeout: 250 seconds]
threesixes has quit [Remote host closed the connection]
<jimmyhoughjr> and not port 80 or something
<rubie> thank you havenwood
thagomizer has quit [Quit: Leaving.]
wd413 has joined #ruby
<havenwood> no prob, but alas i can't eat code examples
* havenwood wanders off to forage
<rubie> one day i'll send you a pizza
<havenwood> i'll disable tor if pizza is involved
<rubie> hahh
fenicks has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
thomasxie has quit [Ping timeout: 260 seconds]
jasooon has quit [Ping timeout: 260 seconds]
threesixes has joined #ruby
yfeldblum has joined #ruby
sevvie_ has quit [Ping timeout: 246 seconds]
<wd413> Hello #ruby Im here to ask for help with Rails, rvm and me not being so bright. My Zshell is giving me this error when I try to run a ruby file /Users/joe/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- rest-client (LoadError)
<wd413> from /Users/joe/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
<wd413> from rest_requestor.rb:1:in `<main>'
fabrice31 has joined #ruby
one_egg_each has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> wd413: RestClient is a gem. RVM's channel is #rvm and Rails' is #rubyonrails.
HelperW___ has joined #ruby
hackeron has quit [Ping timeout: 240 seconds]
yetanoth1rdave has joined #ruby
<rubie> anyone know a really light resource requiring IDE...i really like Aptana Studio 3 but it crashes all the time and has way more features than i need
<havenwood> wd413: gem install rest-client
<havenwood> wd413: if you're using an app with a Gemfile, prefix `bundle exec` to your command
<wd413> Ty Havenwood brb
<havenwood> after a: bundle install
hackeron has joined #ruby
justinmburrous has quit [Remote host closed the connection]
<havenwood> rubie: a bit more on the text editor side but loads slow enough i'll call it an IDE :P https://atom.io/
bmurt has joined #ruby
<havenwood> rubie: OS?
b00stfr3ak has joined #ruby
<rubie> mac
<rubie> 10.9.5
<rubie> can you run projects inside, without using console
<havenwood> rubie: Atom and TextMate 2 are open source and nice.
<havenwood> rubie: Yes.
<rubie> ok cool i'll give it a try, thx
<havenwood> rubie: TM2 is faster and more stable but Atom has a lot of dev going on and a neat plugin system.
fabrice31 has quit [Ping timeout: 260 seconds]
xcv has joined #ruby
jcdesimp has quit [Remote host closed the connection]
<wd413> havenwood it worked :D :D not sure if I missed installing the gem or if the tutorial figured I would know
<havenwood> rubie: or there's LightTable as well: http://www.lighttable.com/
HelperW___ has quit [Ping timeout: 260 seconds]
pwh has joined #ruby
<havenwood> wd413: nice
kobain has quit [Ping timeout: 260 seconds]
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
HelperW___ has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
bobishh has joined #ruby
<wd413> Atom vs Sublime... thoughts everyone? because I dont have enough going on and maybe ill try a new text editor
GriffinHeart has quit [Ping timeout: 272 seconds]
abdulsattar has joined #ruby
<havenwood> wd413: Sublime isn't free but it's linux and windows support is much further along.
<havenwood> otherwise similar
<rubie> you can run inside of sublime, correct?
pskosinski has quit [Quit: Til rivido Idisti! | http://www.ido.li]
<havenwood> yes
<havenwood> and light table
russt_ has quit [Ping timeout: 246 seconds]
<havenwood> all of the above
<wd413> I use osx and have had a sublime license for awhile
jimmyhoughjr has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<havenwood> s/it's/its
hiyosi has joined #ruby
<havenwood> wd413: yeah, i do too but don't tend to use it. so many options :)
<havenwood> i have an alias that picks a random text editor out of a list of 11 each time i open a file
<havenwood> keep me on my toes
justinmburrous has joined #ruby
HelperW___ has quit [Ping timeout: 260 seconds]
* havenwood lies
bobishh has quit [Ping timeout: 245 seconds]
jimmyhoughjr has joined #ruby
seamon has quit [Quit: Zzzzzzz]
charliesome has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
<Bish> >> %@
<eval-in_> Bish => /tmp/execpad-2335583e045f/source-2335583e045f:2: unterminated string meets end of file ... (https://eval.in/201732)
<Bish> is that something special?
<havenwood> huh?
<Bish> >> @p = 3; 3%@p
<eval-in_> Bish => 0 (https://eval.in/201733)
RyanV has quit [Quit: Computer has gone to sleep.]
<Bish> i mean %@ the syntaxhightlighting went crazy over this
<benzrf> Bish:
<benzrf> >> @p = 3; 3 % @p
<eval-in_> benzrf => 0 (https://eval.in/201734)
<benzrf> Bish: oh
<benzrf> Bish: probably just broken parsing
danijoo has quit [Read error: Connection reset by peer]
<benzrf> ruby aint easy to parse
danijoo has joined #ruby
dc__ has joined #ruby
wallerdev has quit [Quit: wallerdev]
<wd413> I like sublime but dont have much to compare it to.. Ty again for the help havenwood. im logging out to do more studying
wd413 has left #ruby ["Textual IRC Client: www.textualapp.com"]
<Nieralyte> are there strings in Ruby so i don't have to escape backslashes and stuff still retaining variable interpolation? e.g. to make this look prettier: `path1 = 'C:\Users\JohnDoe'; puts("#{path1}\\AppData\\Local\\Temp")`
<rubie> what are you studyig?
havenwood has quit []
KC9YDN has joined #ruby
coderdad has joined #ruby
kobain has joined #ruby
<tmoore> Nieralyte: for that specific case I would suggest puts(path1 + '\AppData\Local\Temp')
<Nieralyte> oh
<Nieralyte> for some reason a thought addition doesn't work as concat
kobain has quit [Max SendQ exceeded]
<tmoore> Also consider using File.join for something platform-independent
kobain has joined #ruby
Channel6 has joined #ruby
spicerack has joined #ruby
<Nieralyte> of course. file example was just an example
<tmoore> I'm pretty sure the direct answer to your question isn o
<tmoore> is no... but concat always works
isthisreallife has quit [Ping timeout: 272 seconds]
<Nieralyte> there's also "#{path1}#{'\AppData\Local\Temp'}" but still :)
jottr has quit [Ping timeout: 246 seconds]
ghr has joined #ruby
<oetjenj> in that case i'd assign the second part to a veriable (i.e. path2) and do "#{path1}#{path2}", or path1 + path2 even
robustus|Off has quit [Ping timeout: 250 seconds]
<Nieralyte> yep
<tmoore> Nieralyte: you can also put string literals next to each other and the parser concats them together: "#{path1}" '\AppData\Local\Temp'
<tmoore> >> "#{path1}" '\AppData\Local\Temp'
<eval-in_> tmoore => undefined local variable or method `path1' for main:Object (NameError) ... (https://eval.in/201736)
<oetjenj> but for the original questions you either have interpolated strings or not... not half-interpolated strings... afaik
<tmoore> >> path1 = 'C:\Users\JohnDoe'; "#{path1}" '\AppData\Local\Temp'
<eval-in_> tmoore => "C:\\Users\\JohnDoe\\AppData\\Local\\Temp" (https://eval.in/201737)
<Nieralyte> tmoore: dodn't know about that
<tmoore> not much point in this case though :-)
omosoj has joined #ruby
robustus has joined #ruby
<Nieralyte> k, thanks
ghr has quit [Ping timeout: 272 seconds]
aspires has quit []
coderdad has quit [Ping timeout: 272 seconds]
jcdesim__ has joined #ruby
D9 has joined #ruby
tylersmith has quit [Remote host closed the connection]
emmesswhy has quit [Quit: Leaving]
russt has joined #ruby
sdwrage has quit [Ping timeout: 258 seconds]
jcdesim__ has quit [Remote host closed the connection]
phutchins has joined #ruby
livingstn has quit [Ping timeout: 256 seconds]
justinmburrous has quit [Remote host closed the connection]
russt has quit [Quit: russt]
abdulsattar has quit [Ping timeout: 272 seconds]
Hobogrammer has joined #ruby
thumpba has joined #ruby
dc___ has joined #ruby
xcv has quit [Remote host closed the connection]
xcv has joined #ruby
dc__ has quit [Ping timeout: 244 seconds]
justinmburrous has joined #ruby
b00stfr3ak has quit [Ping timeout: 244 seconds]
<kinesis> /j #Drupal
andll has joined #ruby
Thomas_the_Tank has quit [Quit: Leaving]
bogeyd6 has joined #ruby
SDr has quit [Remote host closed the connection]
xcv_ has joined #ruby
maestrojed has quit [Quit: Computer has gone to sleep.]
xcv has quit [Ping timeout: 250 seconds]
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
D9 has quit [Read error: Connection reset by peer]
louism2wash has joined #ruby
D9 has joined #ruby
lewix has joined #ruby
<louism2wash> hey guys, is there any way to continue execution from inside a rescue block?
AtumT has quit [Remote host closed the connection]
mayhew has quit [Quit: WeeChat 0.4.2]
<pipework> louism2wash: in what way? there's next, and retry
<pipework> There's also ensure.
lewix has quit [Read error: Connection reset by peer]
HelperW___ has joined #ruby
lewix has joined #ruby
charliesome has quit [Quit: zzz]
jonr2219 has joined #ruby
wallerdev has joined #ruby
monkeypatch has joined #ruby
<louism2wash> pipework: does next only work when you are rescuing inside of an enumerable?
jasooon has joined #ruby
<pipework> louism2wash: loops, generally.
<monkeypatch> #RubyOnRails
<pipework> There's also continue
GriffinHeart has joined #ruby
charliesome has joined #ruby
<pipework> wait, I might be thinking of debugging stuff.
<louism2wash> pipework: yeah, continue and next give me errors
krisquigley has joined #ruby
<louism2wash> I've been reading about the continuation class but I was wondering if there was a more vainlla way to get that functionality without having to include another class
HelperW___ has quit [Ping timeout: 260 seconds]
<louism2wash> pipework: also, why wouldn't I cross post? could be different people in different rooms
<pipework> louism2wash: It's a thing. The polite thing to do is wait to see if the first channel doesn't turn any good clues.
HelperW___ has joined #ruby
<louism2wash> louism2wash: I had no idea that was a thing
<pipework> Then you're not wasting the time of people in different channels because they might not know.
<pipework> s/\./ that you're being helped/
<pipework> louism2wash: No worries. :)
Kricir has joined #ruby
bobishh has joined #ruby
jonr2219 has quit []
jonr22 has joined #ruby
GriffinHeart has quit [Ping timeout: 272 seconds]
krisquigley has quit [Ping timeout: 245 seconds]
jonr22 has quit [Client Quit]
jonr22 has joined #ruby
xcv_ is now known as thsig
KC9YDN has quit [Quit: In this moment, I am euphoric. Not because of any phony god’s blessing. But because, I am enlightened by my intelligence.]
thsig has quit []
thsig has joined #ruby
jonr22 has quit [Client Quit]
jonr22 has joined #ruby
HelperW___ has quit [Ping timeout: 260 seconds]
jaygen has joined #ruby
j_mcnally has joined #ruby
tectonic has joined #ruby
rimenes has joined #ruby
bobishh has quit [Ping timeout: 260 seconds]
thsig has quit [Client Quit]
thsig has joined #ruby
KC9YDN has joined #ruby
jaygen has quit [Remote host closed the connection]
jaygen has joined #ruby
rubyonrailed has joined #ruby
justinmburrous has quit [Remote host closed the connection]
aspires has joined #ruby
rezzack has quit [Ping timeout: 258 seconds]
spastorino has quit [Quit: Connection closed for inactivity]
mengu has joined #ruby
jimmyhoughjr has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
emocakes has joined #ruby
startupality has joined #ruby
justinmburrous has joined #ruby
deric_skibotn has joined #ruby
emmesswhy has joined #ruby
aspires has quit [Ping timeout: 260 seconds]
dante_ has joined #ruby
bricker`work has quit [Ping timeout: 272 seconds]
coderdad has joined #ruby
coderdad has quit [Remote host closed the connection]
emocakes__ has quit [Ping timeout: 258 seconds]
oleo__ is now known as oleo
ghr has joined #ruby
mengu has quit [Ping timeout: 260 seconds]
davispuh has quit [Ping timeout: 272 seconds]
b00stfr3ak has joined #ruby
yetanotherdave has quit [Ping timeout: 250 seconds]
yetanoth1rdave has quit [Ping timeout: 260 seconds]
jimmyhoughjr has joined #ruby
<one_egg_each> does anyone have good recommendations for Vagrant boxes to develop a Rails app on?
ghr has quit [Ping timeout: 260 seconds]
mleone has joined #ruby
rubyonrailed has quit [Remote host closed the connection]
startupality has quit [Quit: startupality]
dante_ has quit [Remote host closed the connection]
<wang> one that is as close as possible to your production environment
mleone has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
rubyonrailed has joined #ruby
sdwrage has joined #ruby
tyll_ has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
x1337807x has joined #ruby
tyll has quit [Ping timeout: 245 seconds]
jonr22 has quit [Remote host closed the connection]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
b00stfr3ak has quit [Ping timeout: 260 seconds]
fabrice31 has joined #ruby
b00stfr3ak has joined #ruby
GidorahFedora has quit []
mattyohe has joined #ruby
larissa has joined #ruby
agjacome_ has quit [Quit: leaving]
phutchins has quit [Ping timeout: 272 seconds]
fabrice31 has quit [Ping timeout: 244 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rubyonrailed has quit [Remote host closed the connection]
justinmburrous has quit [Remote host closed the connection]
drawingthesun has joined #ruby
jcdesimp has joined #ruby
spacemud has quit [Ping timeout: 250 seconds]
GriffinHeart has joined #ruby
dx7 has joined #ruby
drawingthesun has quit [Max SendQ exceeded]
b00stfr3ak has quit [Ping timeout: 250 seconds]
drawingthesun has joined #ruby
rubyonrailed has joined #ruby
HelperW___ has joined #ruby
arescorpio has joined #ruby
radic has joined #ruby
b00stfr3ak has joined #ruby
GriffinHeart has quit [Ping timeout: 258 seconds]
Nieralyte has quit [Quit: Nieralyte]
jasooon has quit [Ping timeout: 272 seconds]
spacemud has joined #ruby
radic- has quit [Ping timeout: 246 seconds]
HelperW___ has quit [Ping timeout: 260 seconds]
HelperW___ has joined #ruby
xenomorph is now known as {xenomorph}
{xenomorph} is now known as xenomorph
larissa has quit [Quit: Leaving]
rubyonrailed has quit []
bobishh has joined #ruby
b00stfr3ak has quit [Ping timeout: 250 seconds]
emmesswhy has joined #ruby
HelperW___ has quit [Ping timeout: 250 seconds]
wjimenez5271 has quit [Remote host closed the connection]
nb_bez___ has quit [Quit: Connection closed for inactivity]
wjimenez5271 has joined #ruby
arup_r has joined #ruby
Spleeze has quit [Ping timeout: 245 seconds]
deric_skibotn has quit [Ping timeout: 272 seconds]
justinmburrous has joined #ruby
bobishh has quit [Ping timeout: 240 seconds]
jle` has joined #ruby
maletor_ has joined #ruby
Hien has joined #ruby
wjimenez5271 has quit [Ping timeout: 272 seconds]
phao has quit [Quit: Leaving]
jle` has quit [Read error: Connection reset by peer]
phao has joined #ruby
Spleeze has joined #ruby
jasooon has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
icebourg has joined #ruby
apeiros_ has joined #ruby
Alina-malina has joined #ruby
<arup_r> Any one out there using zsh in SUSE ?
pwh_ has joined #ruby
bbloom has joined #ruby
aleatorik has joined #ruby
jle` has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
danshultz_ has joined #ruby
rpag has quit [Ping timeout: 250 seconds]
ghr has joined #ruby
entrenador has quit [Quit: Textual IRC Client: www.textualapp.com]
kriskrop1 has joined #ruby
teddyp1c_ has joined #ruby
pasv has joined #ruby
rs0 has joined #ruby
tomeara_ has joined #ruby
arcsky_ has joined #ruby
sumark_ has joined #ruby
miah_ has joined #ruby
yetanotherdave has joined #ruby
pasv is now known as Guest89616
tskogber1 has joined #ruby
yetanoth1rdave has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
maestrojed has joined #ruby
jimmyhoughjr has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jhass- has joined #ruby
papal_ has joined #ruby
matti_ has joined #ruby
jhass- is now known as jhass
andll has quit [Remote host closed the connection]
mosheee has joined #ruby
gtc|ghost has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
aledovsky_ has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
ghr has quit [Ping timeout: 260 seconds]
nettoweb has joined #ruby
ptierno_ has joined #ruby
clocKwize has joined #ruby
slester has quit [Ping timeout: 272 seconds]
regedare1 has joined #ruby
speaking1ode has joined #ruby
coderdad has joined #ruby
benzrf is now known as benzrf|offline
nonmadden has joined #ruby
chridal_ has joined #ruby
mattmcclure has quit [Quit: Connection closed for inactivity]
jonathanwallace_ has joined #ruby
pwh has quit [*.net *.split]
kriskropd has quit [*.net *.split]
tomeara has quit [*.net *.split]
speakingcode has quit [*.net *.split]
clocKwize_ has quit [*.net *.split]
teddyp1cker has quit [*.net *.split]
bbloom_ has quit [*.net *.split]
gtc has quit [*.net *.split]
moshee has quit [*.net *.split]
weaksauce has quit [*.net *.split]
jhass|off has quit [*.net *.split]
nickjj has quit [*.net *.split]
Akuma has quit [*.net *.split]
tskogberg has quit [*.net *.split]
minecoins has quit [*.net *.split]
arcsky has quit [*.net *.split]
sumark has quit [*.net *.split]
bjornar has quit [*.net *.split]
miah has quit [*.net *.split]
lifenoodles has quit [*.net *.split]
regedarek has quit [*.net *.split]
wchun has quit [*.net *.split]
ptierno has quit [*.net *.split]
danshultz has quit [*.net *.split]
rs0_ has quit [*.net *.split]
linduxed has quit [*.net *.split]
matti has quit [*.net *.split]
aledovsky has quit [*.net *.split]
chridal has quit [*.net *.split]
Guest39143 has quit [*.net *.split]
jonathanwallace has quit [*.net *.split]
papal has quit [*.net *.split]
danshultz_ is now known as danshultz
chridal_ is now known as chridal
matti_ is now known as matti
linduxed_ has joined #ruby
aledovsky_ is now known as aledovsky
jonathanwallace_ is now known as jonathanwallace
bjornar has joined #ruby
charliesome has quit [Quit: zzz]
nickjj has joined #ruby
lifenoodles has joined #ruby
jasooon has quit [Ping timeout: 272 seconds]
coderdad has quit [Ping timeout: 244 seconds]
Akuma has joined #ruby
Kricir has quit [Remote host closed the connection]
moritzs has joined #ruby
minecoins has joined #ruby
jimmyhoughjr has joined #ruby
thsig has quit [Remote host closed the connection]
slester has joined #ruby
braincrash has quit [Quit: bye bye]
louism2wash has quit [Quit: This computer has gone to sleep]
jonmorehouse has joined #ruby
coderdad has joined #ruby
rimenes has quit [Quit: Textual IRC Client: www.textualapp.com]
braincrash has joined #ruby
froggy__ has joined #ruby
jontmorehouse has joined #ruby
slyslick has quit [Ping timeout: 245 seconds]
GriffinHeart has joined #ruby
jonmorehouse has quit [Ping timeout: 260 seconds]
rubie has quit [Quit: Page closed]
maestrojed has quit [Quit: Computer has gone to sleep.]
froggy_ has quit [Ping timeout: 246 seconds]
krisquigley has joined #ruby
maestrojed has joined #ruby
GriffinHeart has quit [Ping timeout: 258 seconds]
moritzs has quit [Remote host closed the connection]
krisquigley has quit [Ping timeout: 258 seconds]
maletor_ has quit [Quit: Computer has gone to sleep.]
maestrojed has quit [Client Quit]
<shevy> bash forever
HelperW___ has joined #ruby
tomeara_ has quit [Quit: Computer has gone to sleep.]
<arup_r> shevy: Hi
<arup_r> Do you use Gvim ?
tomeara_ has joined #ruby
C0deMaver1ck has quit [Ping timeout: 244 seconds]
<shevy> nope
<shevy> vim messes with the brain
<arup_r> hahahaha...
C0deMaver1ck_ has joined #ruby
<arup_r> then Emacs?
codezomb has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> emacs is more of a religious OS than anything else
<arup_r> Ohh! Textmate.. I am sure
<shevy> I use linux not osx
<arup_r> Ok.. osx is costly.. I know.. I use SUSE
geggam has quit [Ping timeout: 258 seconds]
HelperW___ has quit [Ping timeout: 260 seconds]
HelperW___ has joined #ruby
tomeara_ has quit [Ping timeout: 260 seconds]
JoshGlzBrk has joined #ruby
fgo has joined #ruby
<shevy> real men build software from source
<shevy> using ruby
geggam has joined #ruby
<jxf> shevy: "emacs is a great operating system. If only it had a decent text editor."
bobishh has joined #ruby
<shevy> oh I would never go as far as state that emacs is great
HelperW___ has quit [Ping timeout: 258 seconds]
ProLoser has joined #ruby
<ProLoser> hallo
<shevy> oh man :(
<shevy> rewriting always takes longer than planned
<ProLoser> I'm trying to use someone else's project, but when I visit the server i just get 'cant load webpage'
<shevy> now it looks as if I won't even finish with it this weekend
emocakes__ has joined #ruby
<ProLoser> are there logs or something i can check somewhere for like 500 errors or ways i can figure out why i'm not getting any response
wjimenez5271 has joined #ruby
<jxf> ProLoser: not sure this is a good place to get help with that -- is this a Ruby project?
spicerack has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ProLoser> yes
<jxf> you'd probably have better luck contacting the person whose project it is
<jxf> (since "I can't load a webpage" isn't something that's easy to help with and could be any one of many different problems)
bobishh has quit [Ping timeout: 250 seconds]
<ProLoser> I have been talking to them too just trying to do side research
<jxf> ProLoser: what web framework is the project using?
<ProLoser> we're using postgres and the server logs a bunch of errors like:
<jxf> Rails, Sinatra, etc.?
emocakes has quit [Ping timeout: 272 seconds]
<ProLoser> ERROR: relation "models" does not exist at character 15
<ProLoser> STATEMENT: SELECT * FROM "models" LIMIT 1
<ProLoser> and rails
<jxf> so far I'm not actually sure what your Ruby-specific question is
<jxf> ah -- so, the Rails channel is #rubyonrails (also here on freenode)
<jxf> the default for recent-ish versions of Rails is to log to a file at log/<environment>.log, where <environment> is the name of the environment identifier that the app is running in
<jxf> e.g. log/production.log
wjimenez5271 has quit [Ping timeout: 246 seconds]
<jxf> just off the cuff, it sounds like you didn't run a database migration or something to that effect
shellox has joined #ruby
<shellox> hi, has anyone experience with nokogiri for web scraping here?
<jxf> shellox: ask the question and maybe someone can help! :)
<ProLoser> the migration threw nearly identical errors
<ProLoser> but otherwise i believe migration succeeded
<jxf> ProLoser: well... if it threw errors then it didn't succeed :)
<ProLoser> how can i figure out (to confirm) what framework this is using
<jxf> ProLoser: there should be a Gemfile in the project's root
<jxf> check and see if it says "rails" in the Gemfile
<shellox> i try to get the pronunciation from here, but I'm unsure how to access it the best way using nokogiri
<shellox> i tried that, but it returns more than i want :P data.at_css(".headpron").content
wjimenez5271 has joined #ruby
<jxf> shellox: you might want to take a look at innertext
<jxf> the "just the pronunciation part" is in an anonymous node inside of the .headpron element
<shellox> jxf: returns the same as content for me :)
aquatty has joined #ruby
geggam has quit [Remote host closed the connection]
ghr has joined #ruby
VBlizzard has quit [Ping timeout: 260 seconds]
dx7 has quit [Remote host closed the connection]
dx7 has joined #ruby
arescorpio has quit [Excess Flood]
ghr has quit [Ping timeout: 240 seconds]
jontmorehouse has quit [Ping timeout: 260 seconds]
wjimenez5271 has quit [Remote host closed the connection]
wjimenez5271 has joined #ruby
dc___ has quit [Remote host closed the connection]
dx7 has quit [Ping timeout: 260 seconds]
willgo has joined #ruby
icebourg has quit []
wjimenez5271 has quit [Ping timeout: 260 seconds]
pwh_ has quit []
fabrice31 has joined #ruby
nonmadden has quit [Remote host closed the connection]
charliesome has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
shellox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nonmadden has joined #ruby
fabrice31 has quit [Ping timeout: 272 seconds]
jontmorehouse has joined #ruby
endash has joined #ruby
jasooon has joined #ruby
GriffinHeart has joined #ruby
one_egg_each has quit [Ping timeout: 250 seconds]
one_egg_each has joined #ruby
GriffinHeart has quit [Ping timeout: 272 seconds]
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
yetanoth1rdave has quit [Ping timeout: 260 seconds]
yetanotherdave has quit [Ping timeout: 246 seconds]
spastorino has joined #ruby
kobain has joined #ruby
kobain has quit [Max SendQ exceeded]
charliesome has quit [Quit: zzz]
dc__ has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
jbueza has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MasterPiece has joined #ruby
HelperW___ has joined #ruby
icebourg has joined #ruby
b1nd has quit [Ping timeout: 260 seconds]
icebourg has quit [Max SendQ exceeded]
b1nd has joined #ruby
bluehavana has quit [Quit: Connection closed for inactivity]
icebourg has joined #ruby
tomeara_ has joined #ruby
charliesome has joined #ruby
armyriad has quit [Ping timeout: 245 seconds]
iajrz has joined #ruby
b1nd has quit [Max SendQ exceeded]
b1nd has joined #ruby
<iajrz> there's a guide somewhere about how to ask programming questions... it includes that the question must have a short snippet of code exhibiting the issue, among other things
<iajrz> anyone remembers what it is?
armyriad has joined #ruby
<iajrz> I think I saw someone here mention it.
HelperW___ has quit [Ping timeout: 260 seconds]
emmesswhy has joined #ruby
emmesswhy has quit [Remote host closed the connection]
<iajrz> nvm, sscce is the thing. http://sscce.org/ in case anyone wonders.
iajrz has quit [Client Quit]
kobain has joined #ruby
HelperW___ has joined #ruby
kobain has quit [Max SendQ exceeded]
tomeara_ has quit [Ping timeout: 245 seconds]
kobain has joined #ruby
spicerack has joined #ruby
Mia has joined #ruby
HelperW___ has quit [Ping timeout: 245 seconds]
GriffinHeart has joined #ruby
bobishh has joined #ruby
armyriad has quit [Ping timeout: 260 seconds]
armyriad has joined #ruby
one_egg_each has left #ruby [#ruby]
russt has joined #ruby
bobishh has quit [Ping timeout: 260 seconds]
rkalfane has joined #ruby
GriffinHeart has quit [Ping timeout: 245 seconds]
nonmadden has quit [Remote host closed the connection]
emmesswhy has joined #ruby
aquatty has quit [Ping timeout: 246 seconds]
aquatty has joined #ruby
aspires has joined #ruby
jasooon has quit [Ping timeout: 258 seconds]
wchun has joined #ruby
russt has quit [Quit: russt]
phutchins has joined #ruby
russt has joined #ruby
phao has quit [Ping timeout: 258 seconds]
freezey has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
tig has joined #ruby
sanguisdex has joined #ruby
phutchins has quit [Ping timeout: 258 seconds]
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
almostworking has joined #ruby
almostworking has left #ruby [#ruby]
lewix has quit [Remote host closed the connection]
tig has quit [Changing host]
tig has joined #ruby
emocakes has joined #ruby
emocakes__ has quit [Ping timeout: 260 seconds]
tig has quit [Quit: leaving]
yetanotherdave has joined #ruby
bluehavana has joined #ruby
yetanoth1rdave has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aleatorik has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
krisquigley has joined #ruby
GriffinHeart has joined #ruby
jimmyhoughjr has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
russt has quit [Quit: russt]
kobain has joined #ruby
b1nd has quit [Ping timeout: 245 seconds]
russt has joined #ruby
<Mia> anyone used cinch before?
jontmorehouse has quit [Ping timeout: 272 seconds]
kobain has quit [Max SendQ exceeded]
jontmorehouse has joined #ruby
kobain has joined #ruby
kobain has quit [Max SendQ exceeded]
lewix has joined #ruby
lewix has quit [Changing host]
lewix has joined #ruby
kobain has joined #ruby
Spami has joined #ruby
aspires has quit []
GriffinHeart has quit [Ping timeout: 260 seconds]
krisquigley has quit [Ping timeout: 272 seconds]
aspires has joined #ruby
<pontiki> i was just playing with it the other day
Wolland has joined #ruby
veek has joined #ruby
gkra has quit [Ping timeout: 260 seconds]
chrishough has joined #ruby
jimmyhoughjr has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
b1nd has joined #ruby
dcarmich has joined #ruby
emocakes__ has joined #ruby
emocakes has quit [Ping timeout: 260 seconds]
hiyosi has quit [Ping timeout: 244 seconds]
cerberblue has joined #ruby
gkra has joined #ruby
<veek> could some take a look at this:http://decal.sdf.org/spotfedsonline/uncloakirc-freenode-atheme.txt and try to make sense of it
<veek> line 204 onwards
ARCADIVS has joined #ruby
HelperW___ has joined #ruby
jimmyhoughjr has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
freerobby has joined #ruby
tomeara_ has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
HelperW___ has quit [Ping timeout: 272 seconds]
veek has left #ruby ["Leaving"]
jcdesimp_ has joined #ruby
HelperW___ has joined #ruby
Anarch_ is now known as Anarch
jimmyhoughjr has joined #ruby
froggy_ has joined #ruby
tomeara_ has quit [Ping timeout: 260 seconds]
jcdesimp_ has quit [Remote host closed the connection]
omosoj has quit [Quit: leaving]
lxsameer has joined #ruby
lxsameer has joined #ruby
jcdesimp has quit [Ping timeout: 272 seconds]
tlarevo has joined #ruby
HelperW___ has quit [Ping timeout: 260 seconds]
froggy__ has quit [Ping timeout: 244 seconds]
bobishh has joined #ruby
hellangel7 has joined #ruby
dawkirst has joined #ruby
hiyosi has joined #ruby
jontmorehouse has quit [Ping timeout: 260 seconds]
bobishh has quit [Ping timeout: 240 seconds]
JBreit has joined #ruby
aspires has quit []
aspires has joined #ruby
dawkirst has quit [Remote host closed the connection]
JBreit has left #ruby [#ruby]
AlexRussia has joined #ruby
slester has quit [Quit: Quitte]
ProLoser has quit []
russt has quit [Quit: russt]
icebourg has quit []
coderdad has quit [Remote host closed the connection]
veek has joined #ruby
veek has left #ruby [#ruby]
fnordperfect has joined #ruby
fabrice31 has joined #ruby
spicerack has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ghr has joined #ruby
rs0 has quit [Remote host closed the connection]
emmesswhy has joined #ruby
adrenaline_ has quit [Remote host closed the connection]
spicerack has joined #ruby
dc__ has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
fabrice31 has quit [Ping timeout: 272 seconds]
mgorbach has quit [Read error: Connection reset by peer]
klaut has joined #ruby
freerobby has quit [Quit: Leaving.]
mgorbach has joined #ruby
coderdad has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
GriffinHeart has joined #ruby
Takle has joined #ruby
apeiros_ has quit [Read error: Connection reset by peer]
apeiros has joined #ruby
GriffinHeart has quit [Ping timeout: 258 seconds]
yfeldblum has quit [Ping timeout: 260 seconds]
freezey has quit [Remote host closed the connection]
JohnBat26 has joined #ruby
starkhalo has quit [Ping timeout: 260 seconds]
<sanguisdex> quick gem question mysql or mysql2?
alem0lars has joined #ruby
jasooon has joined #ruby
coderdad has quit [Remote host closed the connection]
jontmorehouse has joined #ruby
<AlexRussia> sanguisdex: maybe that depend at what version mysql do you have?
<sanguisdex> AlexRussia: 5.x is generally where I fall on my machines
havenwood has joined #ruby
<AlexRussia> sanguisdex: no, i mean, maybe one gem specailly for old version mysql, new for other....
pdais has quit [Ping timeout: 245 seconds]
<jxf> Given an array of numbers in increasing order, I'd like to get the difference between each consecutive pair of numbers. For instance, if I have [4, 6, 12, 23], I want [4 , 2, 6, 11]. (i.e. [4 - 0, 6 - 4, 12 - 6, 23 - 12]).
<jxf> What's the best way to do that?
louism2wash has joined #ruby
<sanguisdex> thanks AlexRussia
<AlexRussia> >>[4,6,12,23].each{|x|x - rand(0..10)}
<eval-in_> AlexRussia => [4, 6, 12, 23] (https://eval.in/201747)
<AlexRussia> dammit
<sanguisdex> what is the best loop method for a while methid() fails {do this}?
<AlexRussia> >>[4,6,12,23].each{|x|;x - rand(0..10);}
<eval-in_> AlexRussia => [4, 6, 12, 23] (https://eval.in/201748)
<AlexRussia> sanguisdex: best loop is lopp
<AlexRussia> loop*
<jxf> AlexRussia: isn't #each always going to give you the original array?
jasooon has quit [Ping timeout: 260 seconds]
<AlexRussia> jxf: i too thought so, maybe no...?
<AlexRussia> >>p [4,6,12,23].each{|x|;x - rand(0..10);}
<eval-in_> AlexRussia => [4, 6, 12, 23] ... (https://eval.in/201749)
<AlexRussia> strange
<jxf> I would think you'd want #map
<AlexRussia> >>p [4,6,12,23].map{|x|;x - rand(0..10);}
<eval-in_> AlexRussia => [3, -3, 12, 18] ... (https://eval.in/201750)
descala has quit [Read error: Connection reset by peer]
<havenwood> >> [4, 6, 12, 23].each_cons(2).map { |a, b| b - a }
<eval-in_> havenwood => [2, 6, 11] (https://eval.in/201751)
<AlexRussia> jxf: ah
<jxf> havenwood: that's almost right, but the size should be the same
<jxf> havenwood: (the first element is implicitly subtracted with 0)
<AlexRussia> jxf: p [4,6,12,23].map{|x|;x - rand(0..10);}
<jxf> AlexRussia: why do you keep subtracting random numbers? :P
dc__ has joined #ruby
<zenspider> sanguisdex: pg
<AlexRussia> jxf: maybe cause i did not understand what exactly you want?
<AlexRussia> sanguisdex: hey,man, try look on this https://rubygems.org/gems/sequel
<zenspider> ary = [4, 6, 12, 23]; ([0] + ary).each_cons(2).map { |a, b| b - a }
<zenspider> >> ary = [4, 6, 12, 23]; ([0] + ary).each_cons(2).map { |a, b| b - a }
<eval-in_> zenspider => [4, 2, 6, 11] (https://eval.in/201752)
<zenspider> not hard
<sanguisdex> AlexRussia: will read thanks!
<zenspider> it's not implicitly subtracted from zero, it's explicitly
<jxf> zenspider: ah, I wound up doing arr.zip(...), cool!
<jxf> thanks :)
<zenspider> each_cons is the right tool for the job
<zenspider> that or...
<jxf> yeah, I like your approach better, more readable
<zenspider> >> ary = [4, 6, 12, 23]; [ary.first] + ary.each_cons(2).map { |a, b| b - a }
<eval-in_> zenspider => [4, 2, 6, 11] (https://eval.in/201753)
<sanguisdex> AlexRussia: whoh thanks, time to refactor in a good way
<zenspider> which makes more sense
hackeron has quit [Ping timeout: 245 seconds]
descala has joined #ruby
<AlexRussia> sanguisdex: refactor code? :D
hackeron has joined #ruby
<AlexRussia> sanguisdex: i just used this thing some time ago, cool thing, lite abstraction :)
<zenspider> to be fair, Mathematica calls it Differences and it only returns 3 values
<AlexRussia> zenspider: :D
HelperW___ has joined #ruby
<sanguisdex> AlexRussia: I started using the mysql gem, but sequel looks sooo much more useful!
<AlexRussia> sanguisdex: :)
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
alem0lars has quit [Ping timeout: 245 seconds]
alem0lars has joined #ruby
<zenspider> sanguisdex: if you're at decision making time, please decide NOT to use mysql.
<AlexRussia> sanguisdex: sequel is somethings like ActiveRecord for mortals :P
<sanguisdex> zenspider: its only like 20 lines of code that need to be re-factored! I can live with that
<AlexRussia> zenspider: do you mean he should use PS?
tomeara_ has joined #ruby
<AlexRussia> PG*
willgo has quit [Remote host closed the connection]
KnownSyntax has quit [Quit: Connection closed for inactivity]
<zenspider> AlexRussia: yes. pretty much anything but mysql
<zenspider> but I do favor pg
HelperW___ has quit [Ping timeout: 260 seconds]
<sanguisdex> are you talking gems or database platforms?
<AlexRussia> zenspider: i use sqlite as i did before, cause i still not make anything big :D
<AlexRussia> sanguisdex: platform
<AlexRussia> sanguisdex: sequel abstracted at type platform i guess
<sanguisdex> because I am pretty stuck (corporate policy) on mysql
<AlexRussia> sanguisdex: :/
<sanguisdex> my company is a Druapl dev shop
HelperW___ has joined #ruby
<AlexRussia> sanguisdex: oh :(
<sanguisdex> but I write my server tools in ruby
<sanguisdex> because its more fun
<AlexRussia> sanguisdex: thats nice
<sanguisdex> and I already use it for chef
pdais has joined #ruby
willgo has joined #ruby
<AlexRussia> sanguisdex: maybe they are move someday to RoR or something like that :D
Channel6 has quit [Quit: Leaving]
<sanguisdex> I can't stand RoR
<sanguisdex> but I like ruby
<AlexRussia> sanguisdex: does drupal not support PG?
<zenspider> sanguisdex: update your resume
<AlexRussia> sanguisdex: yep, RoR is not end of ruby, i prefer sinatra for writing lite apps
<AlexRussia> zenspider: he have resume? @_@
<sanguisdex> AlexRussia: it does, in fact drupal is super abstracted, you don't even have to run it over a SQL server
<AlexRussia> sanguisdex: haha
<zenspider> resume... actually résumé... document describing your job history and experience
tkuchiki has joined #ruby
<sanguisdex> CV
<AlexRussia> sanguisdex: maybe it don't even have to run on server? :D
<sanguisdex> people want CV's now adays
tomeara_ has quit [Ping timeout: 272 seconds]
<sanguisdex> heh
<AlexRussia> zenspider: no, if you said him UPDATE it, then you're already have to READ it
<zenspider> that too... tho that usually implies much more academic background
<sanguisdex> zenspider: I just get some recruoter to do that for me
<AlexRussia> zenspider: this was my logic in question
<zenspider> sanguisdex: isn't that how you wound up at a company locking you in to mysql?
havenwood has quit [Remote host closed the connection]
kyb3r_ has quit [Read error: Connection reset by peer]
<sanguisdex> zenspider: I am not really a web dev any more, more a devops
<sanguisdex> so I just make it run for them
<sanguisdex> after they made it
<sanguisdex> personally I could care less
HelperW___ has quit [Ping timeout: 260 seconds]
willgo has quit [Ping timeout: 258 seconds]
<sanguisdex> hey people thanks for the help
<sanguisdex> its 2 AM for me, I have 6% battery and my wife is mad at me for work atm. gtg
<sanguisdex> have a great evening
<AlexRussia> :D
<zenspider> hah
<zenspider> later
<sanguisdex> we can take up the pg vs my latter
bobishh has joined #ruby
ht__th has joined #ruby
shredding has joined #ruby
anaeem1 has joined #ruby
Deejay has joined #ruby
sanguisdex has quit [Ping timeout: 245 seconds]
Deejay is now known as Guest15073
bobishh has quit [Ping timeout: 258 seconds]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
decoponio has joined #ruby
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
comma8 has joined #ruby
fnordperfect has quit [Read error: Connection reset by peer]
sdwrage has quit [Quit: Leaving]
fnordperfect has joined #ruby
apeiros has quit [Ping timeout: 272 seconds]
sinkensabe has joined #ruby
dc__ has quit [Remote host closed the connection]
oo_ has joined #ruby
wallerdev has quit [Quit: wallerdev]
jontmorehouse has quit [Ping timeout: 260 seconds]
c107 has quit [Remote host closed the connection]
krisquigley has joined #ruby
zorak8 has quit [Ping timeout: 258 seconds]
c107 has joined #ruby
AlexRussia has quit [Remote host closed the connection]
krisquigley has quit [Ping timeout: 260 seconds]
AlexRussia has joined #ruby
willgo has joined #ruby
tkuchiki has quit [Remote host closed the connection]
c107 has quit [Remote host closed the connection]
jusmyth has joined #ruby
jusmyth has left #ruby [#ruby]
willgo has quit [Ping timeout: 272 seconds]
emmesswhy has quit [Quit: This computer has gone to sleep]
hrrz has joined #ruby
hrrz has left #ruby [#ruby]
hrrz has joined #ruby
iiiinzg has joined #ruby
Spami has joined #ruby
drawingthesun has quit [Ping timeout: 260 seconds]
jasooon has joined #ruby
Cache_Money has joined #ruby
drawingthesun has joined #ruby
iiinzg has quit [Ping timeout: 260 seconds]
HelperW___ has joined #ruby
cerberblue has quit [Remote host closed the connection]
Darryl has joined #ruby
Advocation has joined #ruby
shredding has quit [Quit: shredding]
jasooon has quit [Ping timeout: 246 seconds]
dcarmich has quit [Quit: Textual IRC Client: www.textualapp.com]
Cache_Money has quit [Quit: Cache_Money]
HelperW___ has quit [Ping timeout: 272 seconds]
endash has quit [Quit: endash]
jaygen has quit [Ping timeout: 240 seconds]
tomeara_ has joined #ruby
jaygen has joined #ruby
atmosx has joined #ruby
coderdad has joined #ruby
AlexRussia has quit [Ping timeout: 272 seconds]
yfeldblum has joined #ruby
AlexRussia has joined #ruby
boombadaroomba has joined #ruby
tomeara_ has quit [Ping timeout: 250 seconds]
yfeldblu_ has joined #ruby
klaut has quit [Remote host closed the connection]
coderdad has quit [Ping timeout: 272 seconds]
<atmosx> morning
Guest15073 has quit [Quit: Computer has gone to sleep.]
yfeldblum has quit [Ping timeout: 246 seconds]
boombadaroomba has quit [Ping timeout: 244 seconds]
nrsk has joined #ruby
fnordperfect has quit [Read error: Connection reset by peer]
fnordperfect has joined #ruby
alem0lars has quit [Quit: AFK..]
last_staff has joined #ruby
sinkensabe has quit [Remote host closed the connection]
bobishh has joined #ruby
fabrice31 has joined #ruby
bobishh has quit [Ping timeout: 250 seconds]
fabrice31 has quit [Ping timeout: 258 seconds]
stoned has left #ruby ["Leaving"]
spicerack has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
justinmburrous has quit [Remote host closed the connection]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mengu has joined #ruby
GriffinHeart has joined #ruby
tectonic has quit []
stormbytes has joined #ruby
newbie|2 has joined #ruby
justinmburrous has joined #ruby
ghr has joined #ruby
lewix has quit [Remote host closed the connection]
GriffinHeart has quit [Ping timeout: 250 seconds]
alem0lars has joined #ruby
nrsk has quit [Ping timeout: 256 seconds]
ghr has quit [Ping timeout: 272 seconds]
louism2wash has quit [Quit: This computer has gone to sleep]
lewix has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
felixjet__ has joined #ruby
lewix has quit [Remote host closed the connection]
felixjet_ has quit [Ping timeout: 245 seconds]
anaeem1 has quit [Remote host closed the connection]
Deejay has joined #ruby
Deejay is now known as Guest77919
KnownSyntax has joined #ruby
sarkis_ has quit [Ping timeout: 246 seconds]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
willgo has joined #ruby
teddyp1cker has joined #ruby
carraroj has joined #ruby
suffice_ has quit [Quit: leaving]
<totimkopf> http://pastebin.com/WJBFTFjX is there a better way to do this? that code is grotesque :(
oo__ has joined #ruby
ndrei has joined #ruby
teddyp1c_ has quit [Ping timeout: 260 seconds]
Advocation has quit [Quit: Advocation]
Takle has quit [Remote host closed the connection]
suffice has joined #ruby
suffice has quit [Client Quit]
jasooon has joined #ruby
oo_ has quit [Ping timeout: 260 seconds]
suffice has joined #ruby
charliesome has quit [Quit: zzz]
<Mon_Ouie> looks like you just want String#tr
jasooon has quit [Ping timeout: 240 seconds]
<Mon_Ouie> Or gsub if this isn't going to remain a 1-1 mapping
<totimkopf> Mon_Ouie: merci
fnordperfect has quit [Read error: Connection reset by peer]
fnordperfect has joined #ruby
spider-mario has joined #ruby
oo__ has quit [Quit: Leaving...]
Hanmac has joined #ruby
charliesome has joined #ruby
last_staff has quit [Ping timeout: 246 seconds]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
justinmburrous has quit [Remote host closed the connection]
tomeara_ has joined #ruby
justinmburrous has joined #ruby
Kartagis has quit [Ping timeout: 272 seconds]
HelperW___ has joined #ruby
Kartagis has joined #ruby
justinmburrous has quit [Read error: No route to host]
aspires has quit []
justinmburrous has joined #ruby
tomeara_ has quit [Ping timeout: 245 seconds]
HelperW___ has quit [Ping timeout: 260 seconds]
stormbytes has quit [Quit: Textual IRC Client: www.textualapp.com]
St_Marx has joined #ruby
louism2wash has joined #ruby
banister has joined #ruby
sarkis_ has joined #ruby
MasterPiece has quit [Quit: Leaving]
tlarevo has quit [Ping timeout: 240 seconds]
Guest77919 has quit [Quit: Computer has gone to sleep.]
newbie|2 is now known as nrsk
Hobogrammer has quit [Ping timeout: 260 seconds]
sarkis_ has quit [Ping timeout: 272 seconds]
bobishh has joined #ruby
nonmadden has joined #ruby
Deejay_ has joined #ruby
willgo has quit [Remote host closed the connection]
narendraj9 has joined #ruby
bobishh has quit [Ping timeout: 250 seconds]
GriffinHeart has joined #ruby
louism2wash has quit [Quit: This computer has gone to sleep]
krisquigley has joined #ruby
narendraj9 has left #ruby [#ruby]
GriffinHeart has quit [Ping timeout: 272 seconds]
mikecmpbll has joined #ruby
GriffinHeart has joined #ruby
suffice has quit [Quit: leaving]
krisquigley has quit [Ping timeout: 246 seconds]
suffice has joined #ruby
bobishh has joined #ruby
phutchins has joined #ruby
IrishGringo has joined #ruby
suffice has quit [Client Quit]
suffice has joined #ruby
ghr has joined #ruby
GriffinHeart has quit [Ping timeout: 258 seconds]
phutchins has quit [Ping timeout: 245 seconds]
justinmburrous has quit [Remote host closed the connection]
justinmburrous has joined #ruby
Tricon has quit [Quit: Leaving...]
ghr has quit [Ping timeout: 272 seconds]
lkba has quit [Ping timeout: 272 seconds]
jusmyth has joined #ruby
marvimias has joined #ruby
Takle has joined #ruby
bobishh has quit [Ping timeout: 240 seconds]
pskosinski has joined #ruby
<marvimias> I have a question for ruby programmers... What is your fondness with the phrase, "fuck this shit"? https://github.com/search?l=ruby&q=%22fuck+this+shit%22&ref=searchresults&type=Code&utf8=%E2%9C%93
<wasamasa> haha
<crome> I like that phrase
<wasamasa> don't forget their fondness for ascii dicks, too
justinmburrous has quit [Ping timeout: 240 seconds]
<crome> I like this one:
<crome> # TODO: fuck this shit
<crome> :DD
jimmyhoughjr has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
andrewlio has joined #ruby
justinmburrous has joined #ruby
pskosinski has quit [Remote host closed the connection]
pskosinski has joined #ruby
fnordperfect has quit [Read error: Connection reset by peer]
fnordperfect has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Mon_Ouie> This line seems to be in most of those: # HACK: fuck this shit - borks all tests that use pl1
govg_ has joined #ruby
<crome> yeah
mijicd has joined #ruby
lkba has joined #ruby
mijicd has quit [Client Quit]
govg has quit [Killed (wilhelm.freenode.net (Nickname regained by services))]
govg_ is now known as govg
uxp has quit [Ping timeout: 260 seconds]
IrishGringo has quit [Ping timeout: 250 seconds]
bobishh has joined #ruby
blueOxigen has quit [Ping timeout: 260 seconds]
Avahey has quit [Quit: Connection closed for inactivity]
jasooon has joined #ruby
Xeago has joined #ruby
threesixes has quit [Remote host closed the connection]
SCHAAP137 has quit [Remote host closed the connection]
jasooon has quit [Ping timeout: 244 seconds]
Wolland has quit [Remote host closed the connection]
SCHAAP137 has joined #ruby
Wolland has joined #ruby
duncannz has quit [Remote host closed the connection]
Sylario has joined #ruby
bobishh has quit [Ping timeout: 260 seconds]
Hanmac1 has joined #ruby
linduxed_ has quit [Quit: WeeChat 0.4.3]
linduxed has joined #ruby
Wolland has quit [Ping timeout: 250 seconds]
carraroj has quit [Ping timeout: 244 seconds]
Hanmac has quit [Ping timeout: 245 seconds]
tomeara_ has joined #ruby
sinkensabe has joined #ruby
threesixes has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
alem0lars has quit [Quit: AFK..]
fabrice31 has joined #ruby
banister has joined #ruby
<totimkopf> Mon_Ouie: http://pastebin.com/n3RJjh1F I got it working with gsub, the only thing I thought was an inconvenience was having to type all those Hungarian characters in a regex class for gsub
banister has quit [Max SendQ exceeded]
nrsk has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
banister has joined #ruby
<totimkopf> I thought .+ would do the trick but surprisingly it didn't
banister has quit [Max SendQ exceeded]
tomeara_ has quit [Ping timeout: 260 seconds]
hrrz has quit [Quit: hrrz]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<Mon_Ouie> Try Regexp.union to generate that regexp
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
sarkis_ has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
fabrice31 has quit [Ping timeout: 260 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
echevemaster has quit [Remote host closed the connection]
banister has joined #ruby
<Hanmac1> totimkopf: like Mon_Ouie did sugest use Regexp.union(@chars.keys)
banister has quit [Max SendQ exceeded]
justinmburrous has quit [Remote host closed the connection]
Hanmac1 is now known as Hanmac
justinmburrous has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
HelperW___ has joined #ruby
Deejay_ has quit [Quit: Computer has gone to sleep.]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<totimkopf> http://pastebin.com/pREmbLc2 yep, worked like a charm, thanks :)
sarkis_ has quit [Ping timeout: 250 seconds]
charliesome has quit [Quit: zzz]
sinkensabe has quit [Remote host closed the connection]
Wolland has joined #ruby
<totimkopf> one thing that I noticed about gsub was that it didn't seem to know what to do with the hash when the keys were symbols or am I mistaken?
mocchi has quit [Ping timeout: 245 seconds]
comma8 has quit [Ping timeout: 260 seconds]
justinmburrous has quit [Ping timeout: 260 seconds]
jusmyth has quit [Quit: Leaving.]
mocchi has joined #ruby
<Hanmac> totimkopf: yes, the keys need to be strings
lkba has quit [Ping timeout: 272 seconds]
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Wolland_ has joined #ruby
Deejay has joined #ruby
Deejay is now known as Guest69501
m8 has joined #ruby
MasterPiece has joined #ruby
Wolland has quit [Ping timeout: 272 seconds]
Darryl has quit [Quit: Connection closed for inactivity]
JohnBat26 has quit [Ping timeout: 245 seconds]
xjiujiu has joined #ruby
fnordperfect has quit [Read error: Connection reset by peer]
GriffinHeart has joined #ruby
fnordperfect has joined #ruby
banister has joined #ruby
monkeypatch has quit [Quit: Textual IRC Client: www.textualapp.com]
banister has quit [Max SendQ exceeded]
spastorino has quit [Quit: Connection closed for inactivity]
jusmyth has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
ghr has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
ahhMichael has joined #ruby
GriffinHeart has quit [Ping timeout: 272 seconds]
justinmburrous has joined #ruby
alem0lars has joined #ruby
ghr has quit [Ping timeout: 272 seconds]
MasterPiece has quit [Quit: Leaving]
ndrei has quit [Ping timeout: 258 seconds]
avelldiroll has quit [Ping timeout: 245 seconds]
atmosx has quit [Quit: Textual IRC Client: www.textualapp.com]
avelldiroll has joined #ruby
narcan has joined #ruby
comma8 has joined #ruby
iiiinzg has quit [Ping timeout: 245 seconds]
jasooon has joined #ruby
ndrei has joined #ruby
Spami has quit [Ping timeout: 272 seconds]
mikecmpbll has joined #ruby
mosos has joined #ruby
jasooon has quit [Ping timeout: 240 seconds]
skripnat has joined #ruby
xjiujiu has quit [Remote host closed the connection]
alem0lars has quit [Quit: AFK..]
alem0lars has joined #ruby
Spami has joined #ruby
kristofferR has joined #ruby
kristofferR has quit [Excess Flood]
kristofferR has joined #ruby
Jackneill has joined #ruby
mosos has quit [Quit: Leaving]
tomeara_ has joined #ruby
justinmburrous has quit [Remote host closed the connection]
sepp2k has joined #ruby
startupality has joined #ruby
jusmyth has left #ruby [#ruby]
tomeara_ has quit [Ping timeout: 260 seconds]
Guest69501 has quit [Quit: Computer has gone to sleep.]
justinmburrous has joined #ruby
alem0lars has quit [Quit: AFK..]
sarkis_ has joined #ruby
krisquigley has joined #ruby
fnordperfect has quit [Read error: Connection reset by peer]
fnordperfect has joined #ruby
[gmi] has joined #ruby
alem0lars has joined #ruby
sarkis_ has quit [Ping timeout: 258 seconds]
rpag has joined #ruby
krisquigley has quit [Ping timeout: 260 seconds]
TieSoul has quit [Remote host closed the connection]
alex88 has joined #ruby
Soda has joined #ruby
ahhMichael has quit [Ping timeout: 256 seconds]
grenierm has quit [Quit: grenierm]
GriffinHeart has joined #ruby
carraroj has joined #ruby
skripnat has quit [Ping timeout: 260 seconds]
Hobogrammer has joined #ruby
GriffinHeart has quit [Ping timeout: 272 seconds]
Spami has quit [Ping timeout: 244 seconds]
Deele has joined #ruby
skripnat has joined #ruby
phutchins has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
startupality has quit [Quit: startupality]
Takle has quit [Remote host closed the connection]
alem0lars has quit [Quit: AFK..]
startupality has joined #ruby
yfeldblu_ has quit [Ping timeout: 272 seconds]
phutchins has quit [Ping timeout: 260 seconds]
carraroj has quit [Ping timeout: 246 seconds]
Spami has joined #ruby
justinmburrous has quit [Remote host closed the connection]
justinmburrous has joined #ruby
lkba has joined #ruby
kaspergrubbe has joined #ruby
chiramiso has joined #ruby
MrBoolean has quit [Quit: Linkinus - http://linkinus.com]
skripnat has quit [Ping timeout: 260 seconds]
justinmburrous has quit [Ping timeout: 258 seconds]
charliesome has joined #ruby
justinmburrous has joined #ruby
alex88 has quit [Ping timeout: 245 seconds]
alem0lars has joined #ruby
Spami has quit [Ping timeout: 244 seconds]
emmesswhy has joined #ruby
chiramiso1 has joined #ruby
alex88 has joined #ruby
kristofferR has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
emmesswhy has quit [Client Quit]
mengu has quit [Ping timeout: 272 seconds]
yfeldblum has joined #ruby
chiramiso has quit [Ping timeout: 272 seconds]
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
fabrice31 has joined #ruby
startupality has quit [Quit: startupality]
zz_karupa is now known as karupa
Tiberias has joined #ruby
fabrice31 has quit [Ping timeout: 250 seconds]
mikecmpbll has joined #ruby
SqREL has joined #ruby
alex88 has quit [Ping timeout: 272 seconds]
lolmaus has joined #ruby
tomeara_ has joined #ruby
boombadaroomba has joined #ruby
yetanoth1rdave has quit [Ping timeout: 260 seconds]
yetanotherdave has quit [Ping timeout: 260 seconds]
alex88 has joined #ruby
robustus is now known as robustus|Off
tomeara_ has quit [Ping timeout: 272 seconds]
boombadaroomba has quit [Ping timeout: 272 seconds]
sarkis_ has joined #ruby
rippa has joined #ruby
i8igmac has quit [Ping timeout: 272 seconds]
yxhuvud has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
sarkis_ has quit [Ping timeout: 260 seconds]
alem0lars has quit [Quit: AFK..]
justinmburrous has quit [Remote host closed the connection]
stef_204 has joined #ruby
alem0lars has joined #ruby
phutchins has joined #ruby
AmBienCeD has quit [Ping timeout: 260 seconds]
GriffinHeart has quit [Ping timeout: 250 seconds]
AmBienCeD has joined #ruby
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
chiramiso2 has joined #ruby
chiramiso1 has quit [Ping timeout: 260 seconds]
KnownSyntax has quit [Quit: Connection closed for inactivity]
startupality has joined #ruby
Takle has joined #ruby
alem0lars has quit [Quit: AFK..]
sanguisdex has joined #ruby
agjacome has joined #ruby
anarang has joined #ruby
claymore has joined #ruby
rippa has quit [Ping timeout: 245 seconds]
tbrock has joined #ruby
flak has joined #ruby
iiiinzg has joined #ruby
Mon_Ouie has quit [Quit: WeeChat 1.0]
rkalfane has joined #ruby
mindlessdemon has joined #ruby
mindlessdemon has quit [Max SendQ exceeded]
flak is now known as Guest48881
mindlessdemon has joined #ruby
mindlessdemon has quit [Max SendQ exceeded]
mindlessdemon has joined #ruby
justinmburrous has joined #ruby
jonr22 has joined #ruby
mindlessdemon has quit [Client Quit]
daylight114 has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
chiramiso2 has quit [Ping timeout: 260 seconds]
hodja has joined #ruby
<hodja> join #rubyonrails
kristofferR has joined #ruby
<sanguisdex> hodja: don't tell me what to do
* sanguisdex hands hodja a /
<daylight114> hello. Is there anyone who might want to spare a moment to give me a hand on a tutorial I'm stuck on regarding using Yield?
jonr22 has quit [Client Quit]
alem0lars has joined #ruby
Guest48881 has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
HelperW___ has quit [Quit: Computer has gone to sleep.]
rippa has joined #ruby
yxhuvud has joined #ruby
HelperW___ has joined #ruby
hellangel7 has quit [Remote host closed the connection]
govg has quit [Ping timeout: 272 seconds]
<alex88> daylight114: just ask your question
lkba has quit [Ping timeout: 245 seconds]
chiramiso2 has joined #ruby
oleo is now known as Guest98341
oleo__ has joined #ruby
govg has joined #ruby
Hobogrammer has quit [Ping timeout: 260 seconds]
oleo__ has quit [Read error: Connection reset by peer]
lkba has joined #ruby
<daylight114> I need to take the return of the block that get's invoke by yield and store it in a new array
jasooon has joined #ruby
<daylight114> something like this: https://gist.github.com/jaeming/a5c6eb01f4be6897cda3
<daylight114> but that is just shovelling in the original array into my new array...
moritzs has joined #ruby
HelperW___ has quit [Ping timeout: 260 seconds]
Guest98341 has quit [Ping timeout: 260 seconds]
startupality has quit [Quit: startupality]
arcsky_ is now known as arcsky
<daylight114> I've updated that to show the rspec now so it might make more sense
jasooon has quit [Ping timeout: 260 seconds]
oleo has joined #ruby
chiramiso2 has quit [Ping timeout: 272 seconds]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
nfk has joined #ruby
apeiros has joined #ruby
kristofferR has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
VBlizzard has joined #ruby
moritzs has quit [Remote host closed the connection]
krisquigley has joined #ruby
chiramiso2 has joined #ruby
kristofferR has joined #ruby
cherwin has joined #ruby
AFKGeek has joined #ruby
krisquigley has quit [Ping timeout: 244 seconds]
tomeara_ has joined #ruby
ahhMichael has joined #ruby
Deejay has joined #ruby
Deejay has quit [Client Quit]
TieSoul has joined #ruby
gccostabr has quit [Quit: ZZZzzz…]
phao has joined #ruby
justinmburrous has quit [Remote host closed the connection]
tomeara_ has quit [Ping timeout: 246 seconds]
GriffinHeart has joined #ruby
justinmburrous has joined #ruby
coderdad has joined #ruby
<D9> I know there are several solutions to this online that are much better, but I'm trying to learn ruby by making a word counter from a file. My solution counts the entire line instead of each word, and I don't know how to correct it http://pastebin.com/4hsvTFFz
justinmburrous has quit [Read error: Connection reset by peer]
<D9> I wouldn't be surprised if the fix is one word/line, but I simply can't figure it out, help is greatly appreciated. thanks
justinmburrous has joined #ruby
Wolland has joined #ruby
Wolland_ has quit [Ping timeout: 240 seconds]
Wolland_ has joined #ruby
sarkis_ has joined #ruby
sandelius has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
GriffinHeart has quit [Ping timeout: 260 seconds]
cherwin has quit [Read error: Connection reset by peer]
Wolland has quit [Ping timeout: 260 seconds]
Logomachist has joined #ruby
sarkis_ has quit [Ping timeout: 260 seconds]
alem0lars has quit [Quit: AFK..]
<apeiros> D9: each_line pretty much says that it is per line and not per word
chiramiso3 has joined #ruby
cherwin has joined #ruby
<apeiros> D9: File.read(path).scan(/\p{Letter}+/) will give you an array of all words in the file identified by `path`
chiramiso2 has quit [Ping timeout: 260 seconds]
moritzs has joined #ruby
chiramiso4 has joined #ruby
<sanguisdex> how can I close a mysql connection that I created using the sequel?
klmlfl has joined #ruby
klmlfl has quit [Client Quit]
ilhami has joined #ruby
<ilhami> Hey
benzrf|offline is now known as benzrf
<ilhami> https://dpaste.de/NVZK I got this problem.. I tried to run "sudo gem install jekyll"
chiramiso3 has quit [Ping timeout: 272 seconds]
<apeiros> sanguisdex: probably by using disconnect
klmlfl has joined #ruby
rkalfane has joined #ruby
kristofferR has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
HelperW___ has joined #ruby
fnordperfect has quit [Read error: Connection reset by peer]
fnordperfect has joined #ruby
ahhMichael has quit [Ping timeout: 256 seconds]
daylight114 has quit [Quit: Textual IRC Client: www.textualapp.com]
<D9> apeiros, I've spent the last 10 minutes trying to incorporate that into my code but I cannot get it to piece together. can you please help me with its usage? thanks
<apeiros> D9: paste the code of how you tried to incorporate it please
rkalfane has quit [Client Quit]
moritzs has quit [Remote host closed the connection]
Spami has quit [Ping timeout: 244 seconds]
<D9> apeiros: I tried many trials and combinations but heres the most recent one http://pastebin.com/bbcB7a21
<ilhami> can anyone assist me?
HelperW___ has quit [Ping timeout: 260 seconds]
<sanguisdex> apeiros: that was easy and logical :)
benzrf is now known as benzrf|offline
<apeiros> D9: and what is the problem you are seeing with that code?
sleepee has joined #ruby
<sandelius> This JS hype is killing me. Is this really the way we want to go?
<D9> nothing is printed. also a few warnings, but I generally ignore warnings
<apeiros> sandelius: I'd prefer it if we had something like LLVM on the browsers and through that arbitrary languages which can target llvm
<sandelius> apeiros it's not because I hate JS that much but how much I love ruby :)
<apeiros> D9: that definitively should print something, assuming the file you read is not empty
TieSoul has left #ruby [#ruby]
<D9> warning: regexp has invalid interval warning: regexp has `}' without escape
<D9> only thing in terminal
IrishGringo has joined #ruby
iiiinzg has quit [Ping timeout: 245 seconds]
<apeiros> D9: oh dear, don't tell me you're using ruby 1.8
<apeiros> D9: what does `ruby -v` print?
<rpag> 1.9 is the new 1.8
<D9> correct, 1.8.7
Spami has joined #ruby
<apeiros> D9: help yourself and don't use a decade old software, srsly
kristofferR has joined #ruby
<apeiros> get ruby 2.1
karupa is now known as zz_karupa
Morkel has joined #ruby
yfeldblum has quit [Ping timeout: 244 seconds]
<D9> is there a way to make this code work for my current version?
<apeiros> /\w+/u instead of your current regex
<apeiros> but really, get a halfway recent ruby. 1.8 has been dead for ages.
HelperW___ has joined #ruby
tbrock has quit [Quit: Computer has gone to sleep.]
<rpag> say it ain't so ;(
cherwin has quit [Ping timeout: 260 seconds]
HelperW___ has quit [Read error: Connection reset by peer]
HelperW___ has joined #ruby
Scotteh has joined #ruby
<D9> perfect, that worked apeiros, thanks
carraroj has joined #ruby
cherwin has joined #ruby
<apeiros> D9: but still, use txt = File.read(path), not txt = open(path); txt = txt.read
<apeiros> D9: also you probably want to iterate over counts, not contentsArray
<apeiros> since with the latter you'll print each word's count as often as it occurs
kobain has joined #ruby
justinmburrous has quit [Remote host closed the connection]
kirun has joined #ruby
kobain has quit [Max SendQ exceeded]
kobain has joined #ruby
tbrock has joined #ruby
kobain has quit [Max SendQ exceeded]
<D9> ahh I see, that did happen. thanks
codecop has joined #ruby
GriffinHeart has joined #ruby
kobain has joined #ruby
fabrice31 has joined #ruby
kobain has quit [Max SendQ exceeded]
kobain has joined #ruby
HelperW___ has quit [Ping timeout: 272 seconds]
kobain has quit [Max SendQ exceeded]
kobain has joined #ruby
Hanmac has quit [Ping timeout: 260 seconds]
kobain has quit [Max SendQ exceeded]
fabrice31 has quit [Ping timeout: 250 seconds]
GriffinHeart has quit [Ping timeout: 245 seconds]
Takle has quit [Remote host closed the connection]
benzrf|offline is now known as benzrf
Wolland_ has quit [Remote host closed the connection]
fgo has quit [Remote host closed the connection]
claymore has quit [Quit: Leaving]
carraroj has quit [Quit: Konversation terminated!]
kristofferR has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mindlessdemon has joined #ruby
kristofferR has joined #ruby
kristofferR has quit [Remote host closed the connection]
cherwin has quit [Read error: Connection reset by peer]
carraroj has joined #ruby
justinmburrous has joined #ruby
thomasxie has joined #ruby
rkalfane has joined #ruby
mikecmpbll has joined #ruby
charliesome has quit [Quit: zzz]
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
charliesome has joined #ruby
jasooon has joined #ruby
Tiberias has quit [Remote host closed the connection]
humd1ng3r has joined #ruby
Advocation has joined #ruby
sanguisdex has quit [Ping timeout: 246 seconds]
kobain has joined #ruby
kobain has quit [Max SendQ exceeded]
kobain has joined #ruby
yfeldblum has joined #ruby
ndrei has quit [Ping timeout: 244 seconds]
tomeara_ has joined #ruby
shredding has joined #ruby
yfeldblu_ has joined #ruby
shredding has quit [Remote host closed the connection]
ahhMichael has joined #ruby
LudicrousMango has joined #ruby
tkuchiki has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
tomeara_ has quit [Ping timeout: 250 seconds]
gccostabr has joined #ruby
yfeldblu_ has quit [Ping timeout: 240 seconds]
sarkis_ has joined #ruby
anarang has quit [Ping timeout: 258 seconds]
dcarmich has joined #ruby
sarkis_ has quit [Ping timeout: 245 seconds]
AFKGeek has quit [Quit: Leaving]
endash has joined #ruby
Advocation has quit [Quit: Advocation]
ixti has quit [Ping timeout: 240 seconds]
spastorino has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
marr has joined #ruby
fgo has joined #ruby
fmcgeough has joined #ruby
sleepee has quit [Ping timeout: 245 seconds]
kate_r has joined #ruby
tbrock has quit [Quit: Computer has gone to sleep.]
kate_r has quit [Max SendQ exceeded]
threesixes has quit [Remote host closed the connection]
moritzs has joined #ruby
tbrock has joined #ruby
justinmburrous has quit [Remote host closed the connection]
Darryl has joined #ruby
fgo has quit [Ping timeout: 244 seconds]
b00stfr3ak has joined #ruby
bogeyd6 has quit [Quit: Leaving]
justinmburrous has joined #ruby
justinmburrous has quit [Read error: Connection reset by peer]
Hanmac has joined #ruby
HelperW___ has joined #ruby
justinmburrous has joined #ruby
jasooon has quit [Ping timeout: 240 seconds]
chiramiso4 has quit [Ping timeout: 260 seconds]
isthisreallife has joined #ruby
Scotteh_ has joined #ruby
jasooon has joined #ruby
GriffinHeart has joined #ruby
Scotteh has quit [Ping timeout: 246 seconds]
HelperW___ has quit [Ping timeout: 260 seconds]
carraroj has quit [Quit: Konversation terminated!]
jasooon_ has joined #ruby
GriffinHeart has quit [Ping timeout: 260 seconds]
jasooon_ has quit [Client Quit]
coderdad has quit [Remote host closed the connection]
carraroj has joined #ruby
carraroj has quit [Changing host]
carraroj has joined #ruby
rkalfane has joined #ruby
coderdad has joined #ruby
jasooon_ has joined #ruby
lxsameer has quit [Quit: Leaving]
charliesome has quit [Quit: zzz]
mostlybadfly is now known as ina_garten
tlarevo has joined #ruby
W0rmDr1nk has joined #ruby
jasooon_ has quit [Client Quit]
krisquigley has joined #ruby
jasooon has quit [Quit: Lost terminal]
jasooon has joined #ruby
Tomme has joined #ruby
chiramiso4 has joined #ruby
krisquigley has quit [Ping timeout: 272 seconds]
AFKGeek has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Tomme has quit [Ping timeout: 240 seconds]
kate_r_ has joined #ruby
coderdad has quit [Ping timeout: 272 seconds]
Tomme has joined #ruby
einarj has joined #ruby
iiiinzg has joined #ruby
havenwood has joined #ruby
yfeldblum has joined #ruby
tlarevo has quit [Remote host closed the connection]
yetanotherdave has joined #ruby
yetanoth1rdave has joined #ruby
kate_r_ has quit [Ping timeout: 250 seconds]
tlarevo has joined #ruby
chiramiso4 has quit [Ping timeout: 272 seconds]
justinmburrous has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 272 seconds]
yetanotherdave has quit [Ping timeout: 244 seconds]
rkalfane has joined #ruby
yetanoth1rdave has quit [Ping timeout: 260 seconds]
tomeara_ has joined #ruby
justinmb_ has joined #ruby
yeticry has quit [Ping timeout: 244 seconds]
HelperW___ has joined #ruby
fgo has joined #ruby
icebourg has joined #ruby
tlarevo has quit [Ping timeout: 260 seconds]
yeticry has joined #ruby
rkalfane has quit [Client Quit]
tomeara_ has quit [Ping timeout: 245 seconds]
pdais has left #ruby [#ruby]
HelperW___ has quit [Ping timeout: 260 seconds]
rkalfane has joined #ruby
fgo has quit [Ping timeout: 250 seconds]
sevvie has joined #ruby
lolmaus has quit [Quit: Konversation terminated!]
sarkis_ has joined #ruby
jasooon has quit [Ping timeout: 272 seconds]
jasooon has joined #ruby
lolmaus has joined #ruby
IrishGringo has quit [Ping timeout: 245 seconds]
sarkis_ has quit [Ping timeout: 245 seconds]
ponga has joined #ruby
<ponga> yay
<ponga> hi #ruby
IrishGringo has joined #ruby
kriskrop1 has quit [Ping timeout: 246 seconds]
jasooon has quit [Ping timeout: 244 seconds]
moritzs has quit [Remote host closed the connection]
klmlfl_ has joined #ruby
ndrei has joined #ruby
tbrock has quit [Quit: Computer has gone to sleep.]
codeurge has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
thsig has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
<ina_garten> ponga: hi!
thsig has quit [Read error: Connection reset by peer]
ina_garten is now known as mostlybadfly
thsig has joined #ruby
<mostlybadfly> ponga: it me
<ponga> glad to see you here mostlybadfly
<mostlybadfly> You too
tbrock has joined #ruby
txdv has joined #ruby
GriffinHeart has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fabrice31 has joined #ruby
thsig has quit [Ping timeout: 245 seconds]
carraroj has joined #ruby
dcarmich has quit [Quit: Textual IRC Client: www.textualapp.com]
justinmb_ has quit [Remote host closed the connection]
robustus|Off is now known as robustus
rkalfane has joined #ruby
charliesome has joined #ruby
fabrice31 has quit [Ping timeout: 260 seconds]
starkhalo has joined #ruby
mb14 has joined #ruby
justinmburrous has joined #ruby
justinmburrous has quit [Read error: Connection reset by peer]
mb14 has quit [Client Quit]
justinmburrous has joined #ruby
c107 has joined #ruby
fgo has joined #ruby
c107 has quit [Changing host]
c107 has joined #ruby
HelperW___ has joined #ruby
mikecmpbll has joined #ruby
jasooon has joined #ruby
yalue has joined #ruby
GriffinHeart has quit [Ping timeout: 272 seconds]
rkalfane has quit [Quit: Textual IRC Client: www.textualapp.com]
fgo has quit [Ping timeout: 272 seconds]
HelperW___ has quit [Ping timeout: 250 seconds]
thsig has joined #ruby
tbrock has quit [Quit: Computer has gone to sleep.]
lkba has quit [Read error: Connection reset by peer]
elaptics`away is now known as elaptics
IrishGringo has quit [Ping timeout: 260 seconds]
<mostlybadfly> ponga: what kind of things do you do with ruby?
<ponga> mostlybadfly natural language processing
<ponga> don tell me python does it better with nltk
<ponga> how about you mostlybadfly
AndChat| has joined #ruby
<mostlybadfly> I'm learning rails and I've also just been doing some cryptography challenges
<mostlybadfly> Want to make a recipe app for me to use :D
<mostlybadfly> And make it easy for me to incorporate it into a blog . want a career change and thought it would be something fun to work on
ddv has quit [Ping timeout: 260 seconds]
thsig has quit [Ping timeout: 258 seconds]
SCHAAP137 has quit [Quit: Leaving]
ddv has joined #ruby
robustus is now known as robustus|Off
coderdad has joined #ruby
yfeldblum has joined #ruby
troulouliou_dev has joined #ruby
[gmi] has quit [Ping timeout: 245 seconds]
kate_r_ has joined #ruby
thsig has joined #ruby
carraroj has quit [Ping timeout: 244 seconds]
chiramiso4 has joined #ruby
jimmyy has quit [Ping timeout: 260 seconds]
yfeldblum has quit [Ping timeout: 260 seconds]
thomasxie has left #ruby [#ruby]
freerobby has joined #ruby
Kricir has joined #ruby
kate_r_ has quit [Ping timeout: 258 seconds]
thsig has quit [Ping timeout: 240 seconds]
chiramiso4 has quit [Ping timeout: 272 seconds]
nettoweb has joined #ruby
AFKGeek has quit [Quit: Bye]
boombadaroomba has joined #ruby
Soda has quit [Remote host closed the connection]
tomeara_ has joined #ruby
coderdad has quit [Ping timeout: 260 seconds]
justinmburrous has quit [Remote host closed the connection]
armyriad has quit [Read error: Connection timed out]
mikecmpbll has quit [Quit: i've nodded off.]
armyriad has joined #ruby
SqREL has quit [Ping timeout: 260 seconds]
Takumo has quit [Ping timeout: 245 seconds]
boombadaroomba has quit [Ping timeout: 272 seconds]
thsig has joined #ruby
tomeara_ has quit [Ping timeout: 260 seconds]
alem0lars has joined #ruby
comma8 has quit [Read error: Connection reset by peer]
jbw has quit [Ping timeout: 240 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AlyssaDaemon has quit [Ping timeout: 245 seconds]
SqREL has joined #ruby
AlyssaDaemon has joined #ruby
majoh has quit [Ping timeout: 260 seconds]
Takumo has joined #ruby
jbw has joined #ruby
sarkis_ has joined #ruby
majoh has joined #ruby
marlonandrade has quit [Ping timeout: 260 seconds]
xenomorph is now known as {xenomorph}
pwh has joined #ruby
mengu has joined #ruby
justinmburrous has joined #ruby
Tricon has joined #ruby
sarkis_ has quit [Ping timeout: 244 seconds]
mikecmpbll has joined #ruby
Kricir has quit [Remote host closed the connection]
Kricir has joined #ruby
bigmac has joined #ruby
bigmac is now known as i8igmac
b00stfr3ak has quit [Ping timeout: 240 seconds]
ndrei has quit [Read error: No route to host]
chiramiso4 has joined #ruby
freezey has joined #ruby
kriskropd has joined #ruby
apeiros has quit []
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
freerobby has quit [Quit: Leaving.]
ndrei has joined #ruby
Kricir has quit [Ping timeout: 272 seconds]
hackeron has quit [Ping timeout: 272 seconds]
chiramiso4 has quit [Ping timeout: 272 seconds]
fnordperfect has quit [Read error: Connection reset by peer]
jottr has joined #ruby
dc__ has joined #ruby
dc__ has quit [Read error: Connection reset by peer]
fnordperfect has joined #ruby
hackeron has joined #ruby
dc__ has joined #ruby
qmfnp has joined #ruby
emocakes__ has quit []
{xenomorph} is now known as xenomorph
Morkel has quit [Quit: Morkel]
thsig has quit [Remote host closed the connection]
pwh has quit []
ndrei has quit [Ping timeout: 250 seconds]
HelperW___ has joined #ruby
AlyssaDaemon has quit [Ping timeout: 255 seconds]
einarj has quit [Remote host closed the connection]
elaptics is now known as elaptics`away
majoh has quit [Ping timeout: 260 seconds]
xenomorph is now known as {xenomorph}
{xenomorph} is now known as xenomorph
ghr has joined #ruby
lkba has joined #ruby
krisquigley has joined #ruby
GriffinHeart has joined #ruby
maletor_ has joined #ruby
fgo has joined #ruby
HelperW____ has joined #ruby
HelperW___ has quit [Ping timeout: 260 seconds]
sepp2k has quit [Read error: Connection reset by peer]
yalue has quit [Quit: Leaving]
majoh has joined #ruby
ghr has quit [Ping timeout: 258 seconds]
AndChat| has quit [Ping timeout: 272 seconds]
atomi has quit [Quit: leaving]
mengu has quit []
GriffinHeart has quit [Ping timeout: 245 seconds]
krisquigley has quit [Ping timeout: 258 seconds]
banister has joined #ruby
atomi has joined #ruby
qmfnp has quit [Quit: Textual IRC Client: www.textualapp.com]
banister has quit [Max SendQ exceeded]
ndrei has joined #ruby
fgo has quit [Ping timeout: 260 seconds]
HelperW____ has quit [Ping timeout: 260 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
maletor_ has quit [Ping timeout: 272 seconds]
ponga has quit []
banister has joined #ruby
banister has quit [Max SendQ exceeded]
Takle has joined #ruby
banister has joined #ruby
maletor_ has joined #ruby
banister has quit [Max SendQ exceeded]
skammer1 has joined #ruby
zorak8 has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
justinmburrous has quit [Remote host closed the connection]
banister has joined #ruby
justinmburrous has joined #ruby
banister has quit [Max SendQ exceeded]
KC9YDN has quit [Quit: In this moment, I am euphoric. Not because of any phony god’s blessing. But because, I am enlightened by my intelligence.]
yfeldblum has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
JohnBat26 has joined #ruby
skammer2 has joined #ruby
banister_ has joined #ruby
banister_ has quit [Max SendQ exceeded]
skammer1 has quit [Ping timeout: 246 seconds]
justinmburrous has quit [Ping timeout: 244 seconds]
banister_ has joined #ruby
banister_ has quit [Max SendQ exceeded]
<arrubin> mostlybadfly: Get Drew to pay to send you to Dev Bootcamp.
KC9YDN has joined #ruby
sinkensabe has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
banister_ has joined #ruby
banister_ has quit [Max SendQ exceeded]
yfeldblum has quit [Ping timeout: 260 seconds]
jimmyhoughjr has joined #ruby
<mostlybadfly> Yeaaaah that prob wouldn't work unfort
banister_ has joined #ruby
<mostlybadfly> Time/money
banister_ has quit [Max SendQ exceeded]
sinkensabe has quit [Remote host closed the connection]
<mostlybadfly> arrubin: went to that project Euler sprint and some of the people from DBC were just ok at ruby
banister_ has joined #ruby
banister_ has quit [Max SendQ exceeded]
<mostlybadfly> I feel like I did just as well though I'm sure they're good at rails and front end stuff
<arrubin> mostlybadfly: I was impressed with a couple of them that I met at the Ruby Hack Night.
<arrubin> mostlybadfly: Sure, it can be learned.
banister_ has joined #ruby
banister_ has quit [Max SendQ exceeded]
banister_ has joined #ruby
centrx has joined #ruby
lupine has quit [Quit: ZNC - http://znc.in]
lupine has joined #ruby
lupine has quit [Changing host]
lupine has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
monkeypatch has joined #ruby
banister_ has joined #ruby
IrishGringo has joined #ruby
banister_ has quit [Max SendQ exceeded]
LudicrousMango has quit []
<mostlybadfly> Would be nice to have all day to learn
<mostlybadfly> Hard to focus let alone do it at all after a shitty day at a pointless job
<arrubin> mostlybadfly: You can go to their meetups for free.
banister has joined #ruby
<arrubin> See many of the guests that they do.
banister has quit [Max SendQ exceeded]
<mostlybadfly> The DBC meetups? I havent looked into it
<mostlybadfly> Cool
skammer2 has quit [Ping timeout: 244 seconds]
<arrubin> Their office is near Merchandise Mart.
kate_r has joined #ruby
<arrubin> mostlybadfly: But I really suggest going to the Chicago Ruby meetups.
xenomorph is now known as {xenomorph}
<arrubin> mostlybadfly: There are two next week (not typical).
{xenomorph} is now known as xenomorph
<mostlybadfly> I went to the transit one
<mostlybadfly> And I sadly missed the candyland one. That looked fun
<arrubin> I enjoyed it.
<mostlybadfly> Doing wedding stuff this week so hopefully I can still do them
<arrubin> Did you talk to people at the meetup?
<arrubin> That is much of the benefit usually.
<mostlybadfly> The hack night is out of the question because that's when I have to go get the license
<mostlybadfly> Yeah I went to elephant and castle afterwards
jasooon has quit [Ping timeout: 245 seconds]
kate_r has quit [Ping timeout: 244 seconds]
IrishGringo has quit [Ping timeout: 244 seconds]
banister has joined #ruby
i8igmac has quit [Ping timeout: 245 seconds]
dte has joined #ruby
banister has quit [Read error: Connection reset by peer]
axl_ has quit [Ping timeout: 245 seconds]
coderdad has joined #ruby
clocKwize has quit [Disconnected by services]
klaut has joined #ruby
clocKwize_ has joined #ruby
klmlfl_ has quit [Remote host closed the connection]
lewix has joined #ruby
Hanmac has quit [Read error: Connection reset by peer]
justinmburrous has joined #ruby
Hanmac has joined #ruby
tomeara_ has joined #ruby
yokel has quit [Ping timeout: 272 seconds]
yokel has joined #ruby
jimmyhoughjr has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
hellangel7 has joined #ruby
charliesome has quit [Quit: zzz]
mikecmpbll has joined #ruby
tomeara_ has quit [Ping timeout: 260 seconds]
sarkis_ has joined #ruby
AlSquire has quit [Quit: Quitte]
maletor_ has quit [Read error: Connection reset by peer]
klmlfl has quit [Remote host closed the connection]
maletor_ has joined #ruby
coderdad has quit [Ping timeout: 272 seconds]
b00stfr3ak has joined #ruby
xorax has quit [Ping timeout: 255 seconds]
slester has joined #ruby
pwh has joined #ruby
xorax has joined #ruby
centrx has quit [Ping timeout: 272 seconds]
sarkis_ has quit [Ping timeout: 272 seconds]
jontmorehouse has joined #ruby
fabrice31 has joined #ruby
kenneth has joined #ruby
rezzack has joined #ruby
b00stfr3ak has quit [Ping timeout: 245 seconds]
havenwood has quit [Remote host closed the connection]
chiramiso4 has joined #ruby
havenwood has joined #ruby
dte is now known as mxrguspxrt
skammer2 has joined #ruby
fabrice31 has quit [Ping timeout: 260 seconds]
jontmorehouse has quit [Ping timeout: 260 seconds]
kate_r has joined #ruby
icebourg has quit []
robustus|Off is now known as robustus
chiramiso4 has quit [Ping timeout: 272 seconds]
havenwood has quit [Ping timeout: 264 seconds]
Soda has joined #ruby
spider-mario has quit [Quit: No Ping reply in 180 seconds.]
jimmyhoughjr has joined #ruby
AlSquire has joined #ruby
hackeron has quit [Ping timeout: 260 seconds]
spider-mario has joined #ruby
kate_r has quit [Ping timeout: 260 seconds]
iamjarvo has joined #ruby
hackeron has joined #ruby
dx7 has joined #ruby
dblessing has joined #ruby
GriffinHeart has joined #ruby
thsig has joined #ruby
HelperW____ has joined #ruby
endash has quit [Quit: endash]
rshetty has joined #ruby
SqREL has quit [Quit: Computer has gone to sleep.]
havenwood has joined #ruby
GriffinHeart has quit [Ping timeout: 246 seconds]
dblessing has quit [Ping timeout: 245 seconds]
compuser_ has joined #ruby
HelperW____ has quit [Ping timeout: 260 seconds]
justinmburrous has quit [Remote host closed the connection]
justinmburrous has joined #ruby
HelperW____ has joined #ruby
fgo has joined #ruby
ineb has quit [Quit: leaving]
Advocation has joined #ruby
fgo has quit [Read error: No route to host]
fgo has joined #ruby
lewix has quit [Remote host closed the connection]
dr_toboggan has joined #ruby
justinmburrous has quit [Ping timeout: 244 seconds]
klmlfl has joined #ruby
wallerdev has joined #ruby
justinmburrous has joined #ruby
yfeldblum has joined #ruby
HelperW____ has quit [Ping timeout: 272 seconds]
wallerdev has quit [Client Quit]
kaspertidemann has joined #ruby
fgo has quit [Ping timeout: 260 seconds]
compuser_ has quit [Quit: Computer has gone to sleep.]
<dr_toboggan> any other acceptable pastebin clones?
<arrubin> pastie.org, ideone.com
robustus is now known as robustus|Off
geggam has joined #ruby
tkuchiki has quit [Remote host closed the connection]
<dr_toboggan> i'm wondering why this isn't working. this an example of ruby's static scoping, i guess?
yfeldblum has quit [Ping timeout: 258 seconds]
<epitron> dr_toboggan... dr. MANTIS toboggan?
<dr_toboggan> at your service
<epitron> :D
<dr_toboggan> you've got the virus, etc
<dr_toboggan> haha
b00stfr3ak has joined #ruby
b00stfr3ak has joined #ruby
wallerdev has joined #ruby
<epitron> so insane.. so good...
Caius has quit [Quit: ""]
freezey has quit [Remote host closed the connection]
Caius has joined #ruby
coderdad has joined #ruby
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
<epitron> so, dr_toboggan ... the problem is that you're defining a local variable there
<epitron> you can get around that by using a closure though
mikecmpbll has quit [Quit: i've nodded off.]
<dr_toboggan> ok
<epitron> supported = proc { |lang| languages[lang] }
<epitron> that's silly though
<epitron> you should use a constant
<epitron> LANGUAGES = { ru: true, en: true }
<epitron> constants are global
<epitron> (and you're not allowed to reassign them)
<dr_toboggan> oh, my code's more complicated than that, i just distilled it into the basic problem i was dealing with
<epitron> let's get dirty
<epitron> show us the real problem
<rpag> ruby don't care if you reassign them
b00stfr3ak has quit [Ping timeout: 240 seconds]
<epitron> rpag: well, it spams you with warnings
<epitron> you're right.. it's not forbidden
HelperW____ has joined #ruby
<epitron> it's just gross :)
<rpag> $VERBOSE = nil and lol to the bank
<rpag> i agree
<dr_toboggan> well, i've got a hash table of languages, and each language points to a hash table of translations
<epitron> i had to do that when i wrote an auto-class-reloader
jasooon has joined #ruby
<epitron> it would spam the console mercilessly
<epitron> rails gets around that by undefining everything first (by tracking everything that's created)
<epitron> it's a goddamn mess
<shevy> you can shut down the warnings temporarily through $VERBOSE and then restore the original level; it's however annoying to have to do so manually
<rpag> i thought rails had silence_warnings or sth for that
sepp2k has joined #ruby
<epitron> dr_toboggan: i haven't had to do language stuff, but there are some pre-existing frameworks for translations/i18n
<epitron> rails has one built in
<shevy> the problem with the word constants in ruby is that they are not really constant, you can even dynamically assign them freely through Object.const_set() at runtime
<epitron> a constant is more of a conceptual separation
<epitron> like capitalizing class names :)
tessi_zz is now known as tessi
<shevy> I blame the english classes in Japan for using the word constant
<dr_toboggan> i'm using ruby's fastcgi module. i just need to spit out some strings for the moment. heh, i was given an excel file with them
<rpag> it should be called "kinda constant" imho :P
<epitron> CONSISTENT
<shevy> "maybe constant"
freezey has joined #ruby
<shevy> like the iceberg that killed the titanic
<epitron> constantinople
<shevy> it looked smaller on the surface
<dr_toboggan> "probably constant". ooh, or "constant enough for the moment"
<epitron> (was: istanbul)
<epitron> no wait
workmad3 has joined #ruby
<shevy> yeah
<epitron> (now: istanbul)
<epitron> dr_toboggan: ruby's philosophy is to let you do what you want, but to suggest that it's a bad idea :)
wallerdev has quit [Quit: wallerdev]
<rpag> yup, no compile errors in sight
wallerdev has joined #ruby
jimmyhoughjr has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
hilake has joined #ruby
hilake has quit [Changing host]
hilake has joined #ruby
<epitron> dr_toboggan: you could put 'em in a .yaml file
<epitron> or just load the CSV directly
<rpag> thats what rails does
klmlfl_ has joined #ruby
<shevy> that silence_warnings thingy should really become part of all of ruby (if it has an elegant use, I dunno how you use it in rails)
echevemaster has joined #ruby
<epitron> csv->yaml translator seems nicer :)
xenomorph is now known as {xenomorph}
{xenomorph} is now known as xenomorph
<dr_toboggan> epitron: heh, well, the deed's been done. i just want to get this done and get this guy off my back
<rpag> i dont know if i saw it in rails, it might have been pry for all i remember, but just lets you do stuff like: silence_warnings { FOO = 1; FOO = 2 } without warnings being spewed to $stderr
<epitron> dr_toboggan: good code helps you as well! :)
jimmyhoughjr has joined #ruby
<epitron> think of it as learning ruby on someone else's dime
<dr_toboggan> they're not paying me enough
<epitron> this enriches you as well
<epitron> ...with knowledge!
<shevy> rpag ah interesting, so it is a special method simply
timor has joined #ruby
<dr_toboggan> eh... i'm only using ruby because they're backseat programming and want a language that's more well known
<dr_toboggan> so i'm easy to replace
<timor> hi
<epitron> dr_toboggan: ruby is a good one :)
<epitron> its philosophy is to maximize programmer happiness
jasooon has quit [Ping timeout: 240 seconds]
<dr_toboggan> epitron: there are things i like in it. and somethings i don't...
<epitron> what don't you like so far?
<dr_toboggan> but i'm eccentric, probably
<dr_toboggan> syntax is bothering me. i can't trust knowing the proper order things will evaluate in. so i just cover things in parentheses, to make sure i'm not leaving something out
<epitron> ah, that's just learning curve i think
jasooon has joined #ruby
<epitron> ruby does what you mean most of the time
ndrei has quit [Ping timeout: 272 seconds]
<epitron> (which is why its parser is so complicated)
slester has quit [Ping timeout: 250 seconds]
<epitron> matz is nice
<dr_toboggan> yeah, but then i spend ten minutes figuring out where i missed up the exceptional times
<benzrf> and so we are nice
goodenough has joined #ruby
<dr_toboggan> epitron: that's the impression i'm getting
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dx7 has quit [Remote host closed the connection]
txdv_ has joined #ruby
<benzrf> `does what you mean most of the time' is a poor philosophy to base a language around
<benzrf> dr_toboggan: have you ever tried haskell ( ͡° ͜ʖ ͡°)
<epitron> hahah
dx7 has joined #ruby
<timor> Problem: Running "rake test" for my project, it sais "unable to find rake lib". I have tracked it down to the rake dir (.gem/....) not being in $LOAD_PATH, when rake's own testtask is invoked. Other gem's paths are in $LOAD_PATH. Can anyone help me with that?
<dr_toboggan> benzrf: no, i tried to learn SML/NJ. that was... interesting
<epitron> haskell: for code that doesn't have to ship
<benzrf> dr_toboggan: NJ?
<benzrf> epitron: it certainly does seem like that if you know nothing about it, doesnt it
txdv_ has quit [Client Quit]
<rpag> shevy, it just does what you said yeah, sets $VERBOSE to nil and resets it to its original value afterwards
<dr_toboggan> benzrf: https://en.wikipedia.org/wiki/Standard_ML_of_New_Jersey it might just be a specific implementation of SML
thsig has quit [Ping timeout: 260 seconds]
<epitron> haskell: by academics, for academics
slester has joined #ruby
<benzrf> epitron: ok you know what i'm not going to get into a flamewar
<epitron> ^_^
* benzrf resists the urge
tomeara_ has joined #ruby
<benzrf> my jimmies are not justled
txdv has quit [Quit: leaving]
<shevy> I so hate setting $VERBOSE manually :(
<shevy> rpag hehe
<shevy> I'm gonna propose something to the ruby core team so I no longer have to do $VERBOSE manually
<shevy> ohh rpag...
<shevy> silence_warnings { }
<shevy> ^^^ where is this method defined?
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
froggy__ has joined #ruby
alem0lars has quit [Quit: AFK..]
txdv has joined #ruby
<epitron> haskell: when you want your program to build 500 megs of binaries that are only useful to that program
endash has joined #ruby
dx7 has quit [Ping timeout: 260 seconds]
<epitron> (that's based off an experience i had with a haskell wiki that took about 3 hours to build :)
<epitron> it went cabal crazy
<dr_toboggan> epitron: hey man, space/time tradeoff is totally worth it sometimes
chiramiso4 has joined #ruby
<epitron> the wiki didn't end up functioning
chiramiso4 is now known as skripnat
<epitron> some versioning problem with a Date class
<dr_toboggan> sucks
<epitron> the date parser was too advanced!
<epitron> Type Hell
carraroj has joined #ruby
Xeago has quit [Remote host closed the connection]
<epitron> go has a better space/time tradeoff
<epitron> compiles fast as hell, but the binaries are gigantic
Pulpie has joined #ruby
froggy_ has quit [Ping timeout: 246 seconds]
Advocation has quit [Quit: Advocation]
tomeara_ has quit [Ping timeout: 260 seconds]
<epitron> but the binaries are static!
nrsk has joined #ruby
<epitron> a decent tradeoff there when your goal is to ship code
<epitron> especially considering how fast networks are, and how much CPU cache we have
IrishGringo has joined #ruby
<Pulpie> Hey all, I have more of a general web api development question. Should all calls that take user tokens be POST/PUT not GET/DELETE so that the token can be stored in the body?
justinmburrous has quit [Ping timeout: 260 seconds]
slester has quit [Quit: Quitte]
<dr_toboggan> use them as cookies?
mindlessdemon has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Pulpie> dr_toboggan: this is an api, no cookies.
codeurge has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<epitron> HTTP verbs are based on what you're trying to do, not what kind of auth you're doing
<dr_toboggan> oh, yeah, i'm doing the same thing. pretty much everything's POST
<epitron> the verb describes the action
sarkis_ has joined #ruby
<epitron> if you want to get information, you use GET
<epitron> if you want to send information, you use POST
<epitron> so, when you login, you use POST to set a cookie
<epitron> then you use GET to get data
<txdv> if you want to update information you use UPDATE
tectonic has joined #ruby
<dr_toboggan> what epitron said
<rpag> there is no update, just PUT/PATCH
<Pulpie> epitron: well the issue is that SSL I don't believe actually encrypts the URI Path
aboudreault has quit [Ping timeout: 260 seconds]
<epitron> SSL does encrypt that
<Pulpie> so if the token is in the GET path then its open for basically the world to see
<epitron> TLS
<epitron> the only thing you know from an SSL connection is that it happend to that IP on port 443
<dr_toboggan> no? i thought they just opened up a full encrypted connection to the server, and passed all http through that
jottr has quit [Ping timeout: 245 seconds]
<epitron> dr_toboggan: yep
<dr_toboggan> what epitron said
seamon has joined #ruby
<epitron> you don't even know what the vhost is
<Pulpie> hmm okay
justinmburrous has joined #ruby
<Pulpie> so whats the different from UPDATE and PUT?
<epitron> UPDATE doesn't exist, PUT does :)
<rpag> never heard of UPDATE before
<Pulpie> oh okay
<Pulpie> there is also PATCH
jimmyhoughjr has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<epitron> yepp
grzywacz has joined #ruby
<Pulpie> but I am not sure what that actually is for either.
<epitron> this is more for your own api's sanity
<epitron> you can do everything with GET
<epitron> it's just a mess
<Pulpie> actually I was posting everything.
<epitron> you'll end up putting the verbs in the URL params
<Pulpie> thinking only the body was encrypted
sarkis_ has quit [Ping timeout: 260 seconds]
<epitron> GET /url?action=update
<arup_r> Why $/ is not stripping of all trailing \n s ? https://gist.github.com/aruprakshit/5ef784c474143b2356f8
uxp has joined #ruby
<jhass> arup_r: that parameter describes the line separator for readlines (you pass the default value here), readlines doesn't remove it from the read input, it just separates it on it
<jhass> try passing 'o' or 3 for example
<jhass> er, '3'
<arup_r> Ohh.. Humm I tried "\n" also.. didn't work..
<jhass> sure you tried "\n" not '\n' ?
<arup_r> I tried "\n".. Yes I am sure
<jhass> >> "foo\nbar".lines
<eval-in_> jhass => ["foo\n", "bar"] (https://eval.in/201797)
<jhass> >> "foo\nbar".lines($/)
<eval-in_> jhass => ["foo\n", "bar"] (https://eval.in/201798)
<jhass> >> "foo\nbar".lines("\n")
<eval-in_> jhass => ["foo\n", "bar"] (https://eval.in/201799)
spyderman4g63 has quit [Remote host closed the connection]
<jhass> all the same
codeurge has joined #ruby
<arup_r> humm
<txdv> >> "shevy " * 100
<eval-in_> txdv => "shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy sh ... (https://eval.in/201800)
<arup_r> so what should be the second argument ?
Petru has joined #ruby
GriffinHeart has joined #ruby
<jhass> nothing for the defaults, if it's a string it's the line separator, if it's a number it's the limit of lines to read
rshetty has quit [Remote host closed the connection]
krisquigley has joined #ruby
<shevy> txdv \o/
ephemerian has joined #ruby
<txdv> shevy sh ...
<arup_r> rm -rf shevy
<soahccc> >> "Ruby " * 5 + "ahaha " * 3
<eval-in_> soahccc => "Ruby Ruby Ruby Ruby Ruby ahaha ahaha ahaha " (https://eval.in/201801)
<soahccc> that's how it goes
kate_r_ has joined #ruby
<epitron> i wish ruby had a method that automatically removed the \n's
alex88 has quit [Quit: Leaving...]
<txdv> trim
<txdv> strip
<soahccc> chomp
<epitron> AUTOMATICALLY
<txdv> "fuck\n".strip
<epitron> not everything.map(&:strip)
<arup_r> there is no trim
<txdv> >> "ruby\n".strip
<eval-in_> txdv => "ruby" (https://eval.in/201802)
<epitron> like $FUCK_NEWLINES = true
<soahccc> >> "\nruby\nruby\n".chomp
<eval-in_> soahccc => "\nruby\nruby" (https://eval.in/201803)
<txdv> ruby ruby is so sexy that it strips
aboudreault has joined #ruby
<epitron> >> "\n\n\n\n\n\n\n\n\n".lines.to_a
<eval-in_> epitron => ["\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n"] (https://eval.in/201804)
<epitron> :D
<arup_r> jhass: so I need to use .map(&:strip)... I thought I can do it in one shot.. My bad luck!
<shevy> I have channel groupies
<epitron> each_stripped_line
<epitron> each_stripped
<epitron> my utilities library has a File#nicelines :)
<txdv> >> "awesome\nyeah\ncool\nrooby"
<eval-in_> txdv => "awesome\nyeah\ncool\nrooby" (https://eval.in/201805)
<txdv> >> "awesome\nyeah\ncool\nrooby".lines
<eval-in_> txdv => ["awesome\n", "yeah\n", "cool\n", "rooby"] (https://eval.in/201806)
<txdv> >> "awesome\nyeah\ncool\nrooby".lines.map(&:strip)
<eval-in_> txdv => ["awesome", "yeah", "cool", "rooby"] (https://eval.in/201807)
<txdv> >> "awesome\nyeah\ncool\n\nrooby".lines.map(&:strip)
<eval-in_> txdv => ["awesome", "yeah", "cool", "", "rooby"] (https://eval.in/201808)
<jhass> txdv: your irb is broken?
<benzrf> .split("\n")
<arup_r> hahahaha
<epitron> >> txdv = "stop it"
<eval-in_> epitron => "stop it" (https://eval.in/201809)
<txdv> actually yes
<txdv> havent got ruby installed yet
<rpag> lol
<havenwood> txdv: how are you going to install ruby?
krisquigley has quit [Ping timeout: 250 seconds]
GriffinHeart has quit [Ping timeout: 245 seconds]
<arup_r> txdv: don'
<arup_r> t kill eval-in_
kate_r_ has quit [Ping timeout: 245 seconds]
SCHAAP137 has joined #ruby
<txdv> with rvm?
jerius has joined #ruby
<shevy> from source man!
Xeago has joined #ruby
<txdv> too lazy
<arup_r> txdv: is TROLLING :p
<shevy> wget ftp://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.3.tar.bz2
carraroj has quit [Quit: Konversation terminated!]
<havenwood> txdv: maybe RVM'll have a precompiled binary for your system even
<arup_r> man shevy
<havenwood> txdv: however you install it, do it! :)
JoshGlzBrk has joined #ruby
parduse has quit [Killed (orwell.freenode.net (Nickname regained by services))]
<arup_r> man shevy | grep ruby
parduse has joined #ruby
AlyssaDaemon has joined #ruby
<shevy> I have no man pages
<txdv> he is not man'ly enough
<benzrf> woman shevy | grep ruby
carraroj has joined #ruby
claymore has joined #ruby
<txdv> hue hue hue
<soahccc> shevy: alright then we examine the code/heart :D
b00stfr3ak has joined #ruby
yfeldblum has joined #ruby
fgo has joined #ruby
hellangel7 has quit [Remote host closed the connection]
carraroj has quit [Client Quit]
<shevy> woman does not exist in UNIX
<arup_r> They exist in Windows... :p
<shevy> soahccc well I do use google and stackoverflow
<shevy> though let's face it guys
<shevy> IRC isn't the highest quality documentation tool out there
<shevy> and IRC!
<arup_r> ls shevy/*
<shevy> man, don't abuse the shevy
<shevy> I am still rewriting this old project right now :(
<arup_r> I respect you shevy! :-) (I was kidding)
<shevy> arup_r don't you have something to code?!
freezey has quit [Remote host closed the connection]
timor has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<arup_r> My Ruby interpreter is too much hot now.. All day I code that's why .. I thought let it get some breath and rest..!
<arup_r> :p
alem0lars has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
chiramiso has joined #ruby
yfeldblum has quit [Ping timeout: 246 seconds]
b00stfr3ak has quit [Ping timeout: 260 seconds]
carraroj has joined #ruby
fgo has quit [Ping timeout: 272 seconds]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jottr has joined #ruby
coderdad has quit [Remote host closed the connection]
skripnat has quit [Ping timeout: 260 seconds]
JoshGlzBrk has joined #ruby
workmad3 has quit [Ping timeout: 245 seconds]
jjasonclark has joined #ruby
AtumT has joined #ruby
jasooon has quit [Ping timeout: 244 seconds]
troulouliou_dev has quit [Quit: Leaving]
yetanotherdave has joined #ruby
yetanoth1rdave has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
SCHAAP137 has joined #ruby
j4jackj has quit [Ping timeout: 272 seconds]
ndrei has joined #ruby
Petru has quit [Quit: Leaving]
Channel6 has joined #ruby
andrewlio has quit [Quit: Leaving.]
kies`prime has joined #ruby
cerberblue has joined #ruby
<rpag> protect the environment etc
Cache_Money has joined #ruby
chrishough has joined #ruby
yetanoth1rdave has quit [Ping timeout: 250 seconds]
yetanotherdave has quit [Ping timeout: 260 seconds]
ahhMichael has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
rkalfane has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
|\|370 has quit [Ping timeout: 272 seconds]
Guest77467 has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
Avahey has joined #ruby
Guest77467 is now known as AdrenalBURN
carraroj has joined #ruby
aspires has joined #ruby
Xeago has quit [Remote host closed the connection]
maletor_ has quit [Quit: Computer has gone to sleep.]
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Wolland has joined #ruby
apeiros has joined #ruby
rkalfane has joined #ruby
AlexRussia has quit [Remote host closed the connection]
AlexRussia has joined #ruby
zorak8 has quit [Ping timeout: 246 seconds]
fabrice31 has joined #ruby
tomeara_ has joined #ruby
Wolland has quit [Ping timeout: 272 seconds]
<shevy> safe sex
bluOxigen has joined #ruby
rostam has quit [Remote host closed the connection]
seamon has quit [Quit: Zzzzzzz]
rostam has joined #ruby
AdrenalBURN has left #ruby [#ruby]
IrishGringo has quit [Ping timeout: 272 seconds]
tomeara_ has quit [Ping timeout: 246 seconds]
fabrice31 has quit [Ping timeout: 260 seconds]
lewix has joined #ruby
Advocation has joined #ruby
shevy has quit [Ping timeout: 245 seconds]
sarkis_ has joined #ruby
mxrguspxrt has quit [Remote host closed the connection]
fgo has joined #ruby
pwh has quit []
carraroj has quit [Quit: Konversation terminated!]
centrx has joined #ruby
b00stfr3ak has joined #ruby
spastorino has quit [Quit: Connection closed for inactivity]
<centrx> httparty vs faraday?
netherwolfe has joined #ruby
carraroj has joined #ruby
cndiv has joined #ruby
fgo has quit [Ping timeout: 260 seconds]
pwh has joined #ruby
<jhass> didn't use httparty yet but from the API I've seen I prefer faraday
roolo has joined #ruby
Morkel has joined #ruby
dx7 has joined #ruby
badhatter has quit [Read error: Connection reset by peer]
SqREL has joined #ruby
jasooon has joined #ruby
mostlybadfly is now known as ina_garten
<centrx> it's a tough choice, faraday can use all these different HTTP libraries as back-ends
<rpag> net/http! :P
ina_garten is now known as mostlybadfly
SqREL__ has joined #ruby
dx7 has quit [Read error: No route to host]
dx7_ has joined #ruby
jottr has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
shevy has joined #ruby
kate_r_ has joined #ruby
SqREL has quit [Ping timeout: 244 seconds]
jasooon has quit [Ping timeout: 260 seconds]
SqREL__ has quit [Ping timeout: 258 seconds]
netherwolfe has quit [Changing host]
netherwolfe has joined #ruby
t0rc has joined #ruby
mxrguspxrt has joined #ruby
zorak8 has joined #ruby
yfeldblum has joined #ruby
carraroj has joined #ruby
t0rc has left #ruby [#ruby]
mary5030 has joined #ruby
slyslick has joined #ruby
badhatter has joined #ruby
wasamasa is now known as {{{
LiohAu_ has joined #ruby
badhatter has quit [Read error: Connection reset by peer]
monkeypatch has quit [Quit: Textual IRC Client: www.textualapp.com]
kate_r_ has quit [Ping timeout: 272 seconds]
badhatter has joined #ruby
{{{ is now known as }}}
netherwolfe has quit [Remote host closed the connection]
}}} is now known as wasamasa
seamon has joined #ruby
yfeldblum has quit [Ping timeout: 244 seconds]
startupality has joined #ruby
tylersmith has joined #ruby
fgo has joined #ruby
lewix has quit [Remote host closed the connection]
kristo_ has joined #ruby
kristo_ is now known as Guest14196
pskosinski_ has joined #ruby
tylersmith has quit [Remote host closed the connection]
isthisreallife has quit [Ping timeout: 240 seconds]
Advocation has quit [Quit: Advocation]
isthisreallife has joined #ruby
fgo has quit [Ping timeout: 245 seconds]
aspires has quit []
zrl has quit [Ping timeout: 260 seconds]
Guest14196 has quit [Client Quit]
jontmorehouse has joined #ruby
Kabaka has quit [Ping timeout: 260 seconds]
luckyruby has quit [Ping timeout: 255 seconds]
Brando753 has quit [Ping timeout: 260 seconds]
pskosinski has quit [Ping timeout: 264 seconds]
Sthebig has quit [Ping timeout: 260 seconds]
<soahccc> Ruby on Windows is fun, really. True story. I'm not lying. Or maybe I am. fork() not implemented, setting the path via command has a 1024 character limit (winreg hacking!), symlinking is hell, no signals, please shoot me...
end_guy has quit [Ping timeout: 264 seconds]
zrl has joined #ruby
end_guy has joined #ruby
Brando753 has joined #ruby
Advocation has joined #ruby
tkuchiki has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
klmlfl has quit [Remote host closed the connection]
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dideler has joined #ruby
Tuxero has joined #ruby
<dideler> can you use Array's reject() to reject non-digits?
bobishh has joined #ruby
kayloos has joined #ruby
pskosinski_ is now known as pskosinski
Sthebig has joined #ruby
GriffinHeart has joined #ruby
tkuchiki has quit [Ping timeout: 272 seconds]
* apeiros obeys and shoots soahccc
<apeiros> dideler: yes
Tuxero has left #ruby [#ruby]
<benzrf> you can use it to reject anything!
<benzrf> even people asking you on dates!
<apeiros> benzrf.rejected? # => :soo_many_times
<ilhami> soahccc, ok let me shoot you :D where are you?
mary5030 has quit [Remote host closed the connection]
<apeiros> ilhami: you're too late. I already shot him
<apeiros> or her
<apeiros> them
<apeiros> pronouns--
<ilhami> or it :D
<benzrf> apeiros: i havent been rejected!
<benzrf> i never tried ;-;
<ilhami> do you guys know jekyll?
<apeiros> I only know hyde
GriffinHeart has quit [Ping timeout: 246 seconds]
startupality has quit [Quit: startupality]
<benzrf> (☞゚∀゚)☞
<arup_r> I understand before or after callbacks.. But never around call back.. What does it mean ?
jcdesimp has joined #ruby
jxf has quit [Ping timeout: 258 seconds]
Kabaka has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
ARCADIVS has quit [Quit: WeeChat 0.4.3]
carraroj has joined #ruby
<rpag> soahccc, is anything on Windows fun? well, maybe .NET i guess.
armyriad has quit [Ping timeout: 245 seconds]
<soahccc> rpag: the cmd window isn't I can tell :D
<rpag> yeah, powershell is a bit better though
<soahccc> I mean it autoscrolls and if you want to read something you "hold on to the scrollbar"... guess what: it freezes the process wtf
<rpag> not as good as linux imho, but decent
<benzrf> I’d just like to interject for a moment. What you’re refering to as Linux, is in fact, GNU/LInux, or as I’ve recently taken to calling it, GNU plus Linux. Linux is not an operating system unto itself, but rather another free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX.
Stalkr_ has joined #ruby
<benzrf> Many computer users run a modified version of the GNU system every day, without realizing it. Through a peculiar turn of events, the version of GNU which is widely used today is often called “Linux”, and many of its users are not aware that it is basically the GNU system, developed by the GNU Project.
<benzrf> There really is a Linux, and these people are using it, but it is just a part of the system they use. Linux is the kernel: the program in the system that allocates the machine’s resources to the other programs that you run. The kernel is an essential part of an operating system, but useless by itself;
<rpag> lol
<rpag> awesome
<benzrf> it can only function in the context of a complete operating system. Linux is normally used in combination with the GNU operating system: the whole system is basically GNU with Linux added, or GNU/Linux. All the so-called “Linux” distributions are really distributions of GNU/Linux.
b00stfr3ak has quit [Ping timeout: 244 seconds]
<centrx> Thanks Rick Stallman
<soahccc> we just call it *nix os then
<rpag> yeah, should be called "rms"
<shevy> damn
boombadaroomba has joined #ruby
<shevy> benzrf has become a copy paster
<rpag> i think it's a bot
<rpag> but not sure
<shevy> that is worse than centrx responding to when php is mentioned
<rpag> oh its not :P
slester has joined #ruby
shtirlic has quit [Ping timeout: 260 seconds]
<benzrf> im not an it q_q
nrsk has quit [Read error: Connection reset by peer]
carraroj has quit [Ping timeout: 272 seconds]
<centrx> I'd just like to interject for a moment. What you're referring to as PHP, is in fact, PHP/Crap, or as I've recently taken to calling it.
<rpag> pardon :)
<rpag> centrx, lol
hodja has quit [Quit: Leaving]
<benzrf> i'm real happy for you and imma let you finish but what you're referring to as linux is in fact gnu/linux
tomeara_ has joined #ruby
Advocation has quit [Quit: Advocation]
atmosx has joined #ruby
shtirlic has joined #ruby
fnordperfect has quit [Read error: Connection reset by peer]
boombadaroomba has quit [Ping timeout: 240 seconds]
fnordperfect has joined #ruby
<shevy> lol
<shevy> benzrf and why precisely
spinx^ has quit [Ping timeout: 244 seconds]
<jalcine> centrx: have you used PHP professionally?
threesixes has joined #ruby
<jalcine> I mean, we've all seen crap Ruby
tomeara_ has quit [Ping timeout: 250 seconds]
byteoverfl0w has joined #ruby
<shevy> PHP is god awful
<centrx> Yes, PHP was the best pre-2006
<jalcine> they're just a lot of crap programmers (myself included) that write crap code and get others to maintain it
byteoverfl0w has quit [Remote host closed the connection]
<centrx> The language itself is bad
<shevy> any language design will guide people towards good (better) or bad (worse) code
krisquigley has joined #ruby
ilhami has left #ruby ["Leaving"]
<jalcine> lol people love linking that
<jalcine> I'm not saying I'm for it
<jalcine> I'll use a language that works for the approriate application
<jalcine> be it systems, web or mobile
<shevy> that is why inferior languages dominate
<shevy> you only have to be better than some other existing languages
<shevy> like how perl lost the battle for the world wide web
* jalcine notes Perl is still out there
<shevy> yeah
<shevy> perl 6 is totally kickass
* jalcine has mixed feelings about its grammar
<jalcine> or the ability to add to it
<jalcine> but this is a ruby chan :)
KC9YDN has quit [Quit: "Let a hundred flowers bloom: let a hundred schools of thought contend." - Mao Zedong]
<shevy> no worries, perl 6 will fix that
maletor_ has joined #ruby
<shevy> the funniest ranking is actually TIOBE
cherwin has joined #ruby
<shevy> I don't think it can be called a ranking any longer
rezzack has quit [Quit: Leaving.]
<shevy> it's like some guy putting out the monthly metric "ok guys, perl will gain +4 ranks this month"
banister has joined #ruby
krisquigley has quit [Ping timeout: 272 seconds]
kyb3r_ has joined #ruby
<jalcine> eh
<jalcine> I've ignored them
bmurt has quit []
miah_ is now known as miah
Hobogrammer has joined #ruby
coderdad has joined #ruby
yfeldblum has joined #ruby
dawkirst has joined #ruby
codeurge has quit [Quit: Textual IRC Client: www.textualapp.com]
spyderman4g63 has joined #ruby
crazydiamond has joined #ruby
dawkirst_ has joined #ruby
devyn_ has joined #ruby
benzrf is now known as benzrf|offline
mxrguspxrt has quit [Remote host closed the connection]
dawkirst_ has quit [Remote host closed the connection]
<shevy> huh
SCHAAP137 has joined #ruby
<shevy> I always thought I have to use Object.const_set
benzrf|offline is now known as benzrf
bmurt has joined #ruby
SCHAAP137 has quit [Excess Flood]
<shevy> but actually you can do that on every module or class it seems
devyn has quit [Ping timeout: 260 seconds]
<shevy> Math.const_set("HIGH_SCHOOL_PI", 22.0/7.0)
SCHAAP137 has joined #ruby
<centrx> shevy, As of Ruby 2.1.3, instance variables can only be set with instance_variable_set
dawkirst has quit [Ping timeout: 260 seconds]
Wolland has joined #ruby
spyderman4g63 has quit [Ping timeout: 246 seconds]
<shevy> kinda weird that all my old code works on 2.1.3 without modification!
yfeldblum has quit [Ping timeout: 272 seconds]
<centrx> backward compatibility
<centrx> It will go away in 2.1.4
mikecmpbll has joined #ruby
brushdemon has quit [Quit: <3]
Wolland has quit [Ping timeout: 240 seconds]
netherwolfe has joined #ruby
seamon has quit [Quit: Zzzzzzz]
chrishough has joined #ruby
dawkirst has joined #ruby
emmesswhy has joined #ruby
Wolland has joined #ruby
benzrf is now known as benzrf|offline
justinmburrous has quit [Remote host closed the connection]
LiohAu_ is now known as LiohAu
fgo has joined #ruby
justinmburrous has joined #ruby
mxrguspxrt has joined #ruby
netherwolfe has quit [Ping timeout: 244 seconds]
ringarin has joined #ruby
yfeldblum has joined #ruby
devyn_ has quit [Ping timeout: 246 seconds]
justinmburrous has quit [Ping timeout: 250 seconds]
fgo has quit [Ping timeout: 260 seconds]
KnownSyntax has joined #ruby
anarang has joined #ruby
justinmburrous has joined #ruby
GriffinHeart has joined #ruby
sanguisdex has joined #ruby
HelperW____ has quit [Quit: Computer has gone to sleep.]
HelperW____ has joined #ruby
cherwin has quit [Ping timeout: 272 seconds]
goodenough has quit [Ping timeout: 245 seconds]
devyn has joined #ruby
mattstratton has joined #ruby
arup_r has quit [Ping timeout: 240 seconds]
cherwin has joined #ruby
klmlfl has joined #ruby
Thomas_the_Tank has joined #ruby
dx7_ has quit [Remote host closed the connection]
dx7 has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anarang has quit [Quit: Leaving]
rkalfane has joined #ruby
HelperW____ has quit [Ping timeout: 260 seconds]
slester has quit [Ping timeout: 240 seconds]
freerobby has joined #ruby
Thomas_the_Tank has quit [Client Quit]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Cache_Money has quit [Quit: Cache_Money]
Thomas_the_Tank has joined #ruby
GriffinHeart has quit [Ping timeout: 272 seconds]
jontmorehouse has quit [Ping timeout: 272 seconds]
klmlfl has quit [Ping timeout: 245 seconds]
dx7 has quit [Ping timeout: 250 seconds]
goodenough has joined #ruby
jontmorehouse has joined #ruby
moritzs has joined #ruby
devyn has quit [Ping timeout: 260 seconds]
fnordperfect has quit [Read error: Connection reset by peer]
EMoreth has joined #ruby
justinmburrous has quit [Remote host closed the connection]
fnordperfect has joined #ruby
postmodern has joined #ruby
goodenough has quit [Read error: No route to host]
justinmburrous has joined #ruby
goodenough has joined #ruby
sanguisdex has quit [Ping timeout: 245 seconds]
swistak35 has joined #ruby
carraroj has joined #ruby
freerobby has quit [Quit: Leaving.]
<swistak35> Why can I not do `[nil, nil, 2].inject(nil, :"||")` ?
<apeiros> swistak35: because || is syntax, not a method
dx7 has joined #ruby
goodenou_ has joined #ruby
mary5030 has joined #ruby
<jhass> swistak35: you want .any? or .find
goodenough has quit [Ping timeout: 260 seconds]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jontmorehouse has quit [Ping timeout: 272 seconds]
<apeiros> .find(&:itself) # ruby 2.2 :)
yetanotherdave has joined #ruby
yetanoth1rdave has joined #ruby
Jackneill has quit [Remote host closed the connection]
ctp has joined #ruby
compuser_ has joined #ruby
mary5030 has quit [Ping timeout: 260 seconds]
havenwood has quit [Ping timeout: 264 seconds]
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tomeara_ has joined #ruby
rostam has quit [Remote host closed the connection]
claymore has quit [Quit: Leaving]
seamon has joined #ruby
havenwood has joined #ruby
zartoosh has joined #ruby
SqREL__ has joined #ruby
atmosx has quit [Ping timeout: 260 seconds]
wereHams1er has joined #ruby
wereHams1er has quit [Changing host]
wereHams1er has joined #ruby
atmosx has joined #ruby
SqREL____ has joined #ruby
tomeara_ has quit [Ping timeout: 260 seconds]
wereHams1er is now known as wereSheep
jasooon has joined #ruby
wereSheep is now known as wereHam
mattstratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
HelperW____ has joined #ruby
miah has quit [Quit: DevOps? DerpOps maybe!]
chrishough has joined #ruby
miah has joined #ruby
skmp_ is now known as skmp
miah has quit [Changing host]
miah has joined #ruby
SqREL__ has quit [Ping timeout: 258 seconds]
HelperW____ has quit [Read error: No route to host]
HelperW____ has joined #ruby
Takle has quit [Remote host closed the connection]
SqREL____ has quit [Ping timeout: 260 seconds]
wereHam is now known as wereHamster
jasooon has quit [Ping timeout: 260 seconds]
Sou|cutter has quit [Ping timeout: 246 seconds]
coderdad has quit [Remote host closed the connection]
skammer2 has quit [Ping timeout: 272 seconds]
govg_ has joined #ruby
ctp has quit [Quit: Textual IRC Client: www.textualapp.com]
HelperW____ has quit [Ping timeout: 260 seconds]
shredding has joined #ruby
govg has quit [Killed (wolfe.freenode.net (Nickname regained by services))]
govg_ is now known as govg
robert_ has joined #ruby
sanguisdex has joined #ruby
luckyruby has joined #ruby
emocakes has joined #ruby
GriffinHeart has joined #ruby
atomi has quit [Remote host closed the connection]
bmurt has quit []
slester has joined #ruby
MaciejCzyzewski has joined #ruby
dawkirst has quit [Remote host closed the connection]
mattstratton has joined #ruby
seamon has quit [Quit: Zzzzzzz]
kirun has quit [Quit: Client exiting]
crome has quit [Ping timeout: 240 seconds]
crome has joined #ruby
LiohAu has quit [Quit: LiohAu]
stephenmac7 has joined #ruby
<stephenmac7> So, I'm having an issue with rubyzip and it seems to be related to this line: https://github.com/rubyzip/rubyzip/blob/master/lib/zip/file.rb#L127
Fezzler has joined #ruby
<stephenmac7> ~/.rvm/gems/ruby-2.1.2/gems/rubyzip-1.1.6/lib/zip/file.rb:127:in `open_buffer': no block given (yield) (LocalJumpError)
cherwin has quit [Ping timeout: 260 seconds]
slester has quit [Quit: Quitte]
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
emmesswhy has quit [Quit: Leaving]
Soda has quit [Remote host closed the connection]
<jhass> stephenmac7: pass a block
sevvie has quit [Ping timeout: 272 seconds]
iiiinzg has quit [Ping timeout: 258 seconds]
netherwolfe has joined #ruby
<stephenmac7> I'm not familiar with the yield syntax... is it passing it as an argument?
<stephenmac7> jhass: It looks like it's trying to yield to a variable...
bigmac has joined #ruby
codecop has quit [Remote host closed the connection]
<jhass> open_buffer(foo) do |io| io.write yada_yada; end
HelperW____ has joined #ruby
fgo has joined #ruby
jonathanwallace has quit [Read error: Connection reset by peer]
spicerack has joined #ruby
Kricir has joined #ruby
emocakes has quit []
<stephenmac7> jhass: I don't want to pass a block though.
<jhass> you need to
<stephenmac7> Though now that I looks at the source it looks like initialize will work with the right arguments
jonathanwallace has joined #ruby
<stephenmac7> *calls
netherwolfe has quit [Ping timeout: 272 seconds]
centrx has quit [Ping timeout: 258 seconds]
klmlfl_ has quit [Remote host closed the connection]
fnordperfect has quit [Read error: Connection reset by peer]
fnordperfect has joined #ruby
pwh has quit []
emocakes has joined #ruby
HelperW____ has quit [Ping timeout: 260 seconds]
fgo has quit [Ping timeout: 272 seconds]
alem0lars has quit [Quit: alem0lars]
ht__th has quit [Remote host closed the connection]
boombadaroomba has joined #ruby
ringarin has quit [Ping timeout: 250 seconds]
Mattias has quit [Ping timeout: 272 seconds]
emocakes has quit [Ping timeout: 240 seconds]
tkuchiki has joined #ruby
Sou|cutter has joined #ruby
yokel has quit [Ping timeout: 272 seconds]
Mattias has joined #ruby
Takle has joined #ruby
klmlfl has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikecmpbll has quit [Quit: i've nodded off.]
tkuchiki has quit [Ping timeout: 250 seconds]
goodenou_ has quit [Remote host closed the connection]
alem0lars has joined #ruby
klmlfl_ has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
klmlfl has quit [Ping timeout: 272 seconds]
yokel has joined #ruby
maletor_ has quit [Quit: Computer has gone to sleep.]
fgo has joined #ruby
darkchanter has joined #ruby
fgo has quit [Read error: Connection reset by peer]
darkchanter has left #ruby [#ruby]
fgo has joined #ruby
Takle has quit [Ping timeout: 245 seconds]
fgo has quit [Read error: Connection reset by peer]
crazydiamond has quit [Remote host closed the connection]
fgo has joined #ruby
jontmorehouse has joined #ruby
fgo has quit [Read error: Connection reset by peer]
fgo has joined #ruby
jimmyhoughjr has joined #ruby
slyslick has quit [Ping timeout: 258 seconds]
yetanotherdave has quit [Ping timeout: 260 seconds]
fgo has quit [Read error: Connection reset by peer]
yetanoth1rdave has quit [Ping timeout: 272 seconds]
bluOxigen has quit [Ping timeout: 272 seconds]
fgo has joined #ruby
fgo has quit [Read error: Connection reset by peer]
justinmburrous has quit [Read error: Connection reset by peer]
fgo has joined #ruby
fgo_ has joined #ruby
fgo has quit [Read error: Connection reset by peer]
troulouliou_dev has joined #ruby
louism2wash has joined #ruby
krisquigley has joined #ruby
fgo_ has quit [Read error: Connection reset by peer]
fgo has joined #ruby
JoshGlzBrk has joined #ruby
fgo has quit [Read error: Connection reset by peer]
carraroj has quit [Quit: Konversation terminated!]
netherwolfe has joined #ruby
duncsm has joined #ruby
pwh has joined #ruby
kies`prime has quit [Ping timeout: 246 seconds]
netherwolfe has quit [Remote host closed the connection]
Morkel has quit [Quit: Morkel]
krisquigley has quit [Ping timeout: 244 seconds]
fgo has joined #ruby
pwh has quit [Client Quit]
fgo has quit [Read error: Connection reset by peer]
jimmyhoughjr has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
spastorino has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
fgo has joined #ruby
tomeara_ has joined #ruby
fgo has quit [Read error: Connection reset by peer]
lockweel has joined #ruby
fgo has joined #ruby
mikecmpbll has joined #ruby
fgo has quit [Read error: Connection reset by peer]
jjasonclark has quit [Quit: jjasonclark]
fgo has joined #ruby
astav has joined #ruby
MaciejCzyzewski has joined #ruby
compuser_ has quit [Quit: Computer has gone to sleep.]
fgo has quit [Read error: Connection reset by peer]
jasooon has joined #ruby
slyslick has joined #ruby
tomeara_ has quit [Ping timeout: 260 seconds]
fgo has joined #ruby
okic has quit [Ping timeout: 246 seconds]
fgo has quit [Read error: Connection reset by peer]
Kabaka has quit [Ping timeout: 272 seconds]
skammer2 has joined #ruby
okic has joined #ruby
goodenough has joined #ruby
centrx has joined #ruby
fgo has joined #ruby
maletor_ has joined #ruby
fgo has quit [Read error: Connection reset by peer]
fgo has joined #ruby
jasooon has quit [Ping timeout: 260 seconds]
Kabaka has joined #ruby
Kricir has quit [Remote host closed the connection]
spider-mario has quit [Ping timeout: 272 seconds]
fgo has quit [Read error: Connection reset by peer]
Kricir has joined #ruby
troulouliou_dev has quit [Quit: Leaving]
skammer2 has quit [Ping timeout: 245 seconds]
ephemerian has quit [Quit: Leaving.]
fgo has joined #ruby
boombadaroomba has quit []
fgo has quit [Read error: Connection reset by peer]
fgo has joined #ruby
toretore has quit [Quit: This computer has gone to sleep]
fgo has quit [Read error: Connection reset by peer]
Kricir has quit [Ping timeout: 245 seconds]
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
spyderman4g63 has joined #ruby
fnordperfect has quit [Read error: Connection reset by peer]
fgo has joined #ruby
fgo has quit [Read error: Connection reset by peer]
fnordperfect has joined #ruby
dx7 has quit [Remote host closed the connection]
devyn has joined #ruby
dx7 has joined #ruby
astav has quit [Quit: astav]
HelperW____ has joined #ruby
spyderman4g63 has quit [Ping timeout: 272 seconds]
klmlfl has joined #ruby
dc___ has joined #ruby
fgo has joined #ruby
n_blownapart has joined #ruby
fgo has quit [Read error: Connection reset by peer]
louism2wash has quit [Quit: This computer has gone to sleep]
dx7 has quit [Ping timeout: 240 seconds]
Soda has joined #ruby
fgo has joined #ruby
mattstratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fgo has quit [Read error: No route to host]
HelperW____ has quit [Ping timeout: 245 seconds]
dc__ has quit [Ping timeout: 244 seconds]
jjasonclark has joined #ruby
HelperW____ has joined #ruby
m8 has quit [Quit: Sto andando via]
ihatenigg3rs has joined #ruby
<ihatenigg3rs> what can't you do in ruby?
kaspertidemann has quit []
<shevy> ihatenigg3rs you can do everything
decoponio has quit [Read error: Connection reset by peer]
<ihatenigg3rs> wow, that's amazing
<ihatenigg3rs> even assembly?
wald0 has quit [Read error: Connection reset by peer]
fgo has joined #ruby
<shevy> you can do assembly in assembly
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
<shevy> you can do php in php
<canton7> graphical UI isn't usually done tbh. high-performance stuff, as with any scripting language, is a bit iffy
<ihatenigg3rs> i know in c you can add assembly code to it
<shevy> ihatenigg3rs have you read http://www.artima.com/intv/rubyP.html ?
<shevy> ihatenigg3rs yeah you can inline C code
<ihatenigg3rs> now i have shevy :)
fgo has quit [Read error: Connection reset by peer]
<canton7> ihatenigg3rs, that's literally constrained to C and a few derivatives
<shevy> no, you should really read it
lockweel has quit [Ping timeout: 272 seconds]
<shevy> matz speaks about orthogonal design
wald0 has joined #ruby
decoponio has joined #ruby
fgo has joined #ruby
<shevy> ihatenigg3rs here is inline https://github.com/seattlerb/rubyinline and FFI can also be used
top4o has joined #ruby
fgo has quit [Read error: Connection reset by peer]
cerberblue has quit [Ping timeout: 264 seconds]
<shevy> and one day probably LLVM
HelperW____ has quit [Ping timeout: 272 seconds]
<shevy> to destroy JVM \o/
<ihatenigg3rs> i'm going to read all of it, cool stuff
<rpag> while you're at it, /nick something-friendly :P
shevy is now known as rpag_likes_boobs
<rpag_likes_boobs> ok
<rpag_likes_boobs> well I don't think ihatenigg3rs has a serious interest in ruby anyway :)
rpag_likes_boobs is now known as shevy
Soda has quit [Remote host closed the connection]
fabrice31 has joined #ruby
fgo has joined #ruby
<ihatenigg3rs> shevy: i'm going to be attending hack reactor
<ihatenigg3rs> i have a serious interest in programming
fgo has quit [Read error: Connection reset by peer]
<shevy> I don't
<shevy> I only program because it helps me solve stuff
klmlfl has quit [Remote host closed the connection]
ihatenigg3rs was kicked from #ruby by apeiros [bad nick]
<shevy> hehehe
<sarkis_> hey all, can someone help me figure this out: https://gist.github.com/sarkis/eee4856b5ee5d51f5f44
<shevy> rpag now see what you did there
<sarkis_> it always returns 3 (because of 3.times)
<rpag> was gonna happen anyway =)
<sarkis_> is there a way to break the loop and return a value?
fgo has joined #ruby
<shevy> well
fgo has quit [Read error: Connection reset by peer]
<shevy> you can't use the return statement in a loop
<shevy> why don't you modify a variable though to keep track?
<sarkis_> yea i can just do taht
KC9YDN has joined #ruby
<sarkis_> was getting all fancy :P
_chs_ has joined #ruby
fabrice31 has quit [Ping timeout: 240 seconds]
fgo_ has joined #ruby
fgo_ has quit [Read error: Connection reset by peer]
fgo has joined #ruby
fgo has quit [Read error: Connection reset by peer]
fgo has joined #ruby
fgo has quit [Read error: Connection reset by peer]
huddy has joined #ruby
fgo has joined #ruby
EMoreth has quit [Quit: Lingo - http://www.lingoirc.com]
fgo has quit [Read error: Connection reset by peer]
MaciejCzyzewski has joined #ruby
fgo has joined #ruby
fgo has quit [Read error: No route to host]
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
sanguisdex has quit [Ping timeout: 246 seconds]
mindlessdemon has joined #ruby
mindlessdemon has quit [Client Quit]
VBlizzard has quit [Ping timeout: 260 seconds]
alem0lars has quit [Quit: alem0lars]
banister has quit [Read error: Connection reset by peer]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
klmlfl_ has quit [Remote host closed the connection]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
fgo has joined #ruby
fgo has quit [Read error: Connection reset by peer]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
SqREL____ has joined #ruby
fgo has joined #ruby
Xeago has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
fgo has quit [Read error: Connection reset by peer]
Wolland has quit [Remote host closed the connection]
chiramiso has quit [Quit: WeeChat 1.0]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
Wolland has joined #ruby
atmosx has quit [Quit: Textual IRC Client: www.textualapp.com]
SqREL______ has joined #ruby
netherwolfe has joined #ruby
banister has joined #ruby
yetanotherdave has joined #ruby
klmlfl has joined #ruby
banister has quit [Max SendQ exceeded]
yetanoth1rdave has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
fnordperfect has quit [Ping timeout: 272 seconds]
SqREL____ has quit [Ping timeout: 250 seconds]
klmlfl_ has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
Wolland has quit [Ping timeout: 240 seconds]
banister has quit [Max SendQ exceeded]
klmlfl_ has quit [Client Quit]
banister has joined #ruby
SqREL______ has quit [Ping timeout: 260 seconds]
banister has quit [Max SendQ exceeded]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
fgo has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
fgo has quit [Read error: Connection reset by peer]
jjasonclark has quit [Quit: jjasonclark]
fgo has joined #ruby
banister has joined #ruby
tomeara_ has joined #ruby
sethen has joined #ruby
geggam has quit [Remote host closed the connection]
mindlessdemon has joined #ruby
hiyosi has quit [Ping timeout: 272 seconds]
jasooon has joined #ruby
fgo has quit [Ping timeout: 260 seconds]
tomeara_ has quit [Ping timeout: 244 seconds]
thsig has joined #ruby
VBlizzard has joined #ruby
cndiv has quit [Ping timeout: 272 seconds]
grzywacz has quit [Ping timeout: 240 seconds]
skammer2 has joined #ruby
jasooon has quit [Ping timeout: 272 seconds]
geggam has joined #ruby
icarus has joined #ruby
BTRE has quit [Quit: Leaving]
willgo has joined #ruby
Xeago_ has joined #ruby
skammer2 has quit [Ping timeout: 272 seconds]
Wolland has joined #ruby
rubie has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
Xeago has quit [Ping timeout: 245 seconds]
kaspertidemann has joined #ruby
Deele has quit [Ping timeout: 260 seconds]
<rubie> hi all: was wondering why this .min/.max methods are not returning what I thought they would ....https://gist.github.com/gabrie30/221bdb643d216677ad56
pskosinski has quit [Quit: Til rivido Idisti! | http://www.ido.li]
b00stfr3ak has joined #ruby
Wolland has quit [Ping timeout: 240 seconds]
Wolland has joined #ruby
netherwolfe has quit []
bobishh has quit [Ping timeout: 246 seconds]
narcan has joined #ruby
maletor_ has quit [Quit: Computer has gone to sleep.]
HelperW____ has joined #ruby
<apeiros> rubie: because your array is an array of strings
<apeiros> and "97" > "588" because "9" > "5" (string comparison is char by char)
Wolland_ has joined #ruby
Wolland has quit [Ping timeout: 240 seconds]
<rubie> ahhh
<rubie> thanks
<apeiros> yw
lockweel has joined #ruby
bobishh has joined #ruby
HelperW____ has quit [Ping timeout: 260 seconds]
roolo has quit [Quit: Leaving...]
HelperW____ has joined #ruby
Avahey has quit [Quit: Connection closed for inactivity]
b00stfr3ak has quit [Ping timeout: 240 seconds]
Wolland_ has quit [Ping timeout: 240 seconds]
xenomorph is now known as {xenomorph}
hiyosi has joined #ruby
ghr has joined #ruby
Wolland has joined #ruby
j_mcnally has joined #ruby
fgo has joined #ruby
HelperW____ has quit [Ping timeout: 260 seconds]
mooru has joined #ruby
emmesswhy has joined #ruby
moritzs has quit [Remote host closed the connection]
moritzs has joined #ruby
jjasonclark has joined #ruby
ghr has quit [Ping timeout: 260 seconds]
hiyosi has quit [Ping timeout: 260 seconds]
phutchins has quit [Ping timeout: 250 seconds]
EMoreth has joined #ruby
Wolland has quit [Ping timeout: 245 seconds]
jack_rabbit has quit [Ping timeout: 246 seconds]
marr has quit []
fgo has quit [Ping timeout: 272 seconds]
tkuchiki has joined #ruby
tricon_ has joined #ruby
klmlfl has quit [Remote host closed the connection]
Alina-malina has quit [Ping timeout: 272 seconds]
Alina-malina has joined #ruby
odlox has joined #ruby
lockweel has quit [Ping timeout: 245 seconds]
Tricon has quit [Read error: Connection reset by peer]
yokel has quit [Ping timeout: 272 seconds]
n_blownapart has quit []
krisquigley has joined #ruby
thsig has quit [Remote host closed the connection]
<rubie> Box::Rule does this format mean the class Rule can be found in Box module?
tricon_ is now known as Tricon
tkuchiki has quit [Ping timeout: 272 seconds]
Mirubiri has joined #ruby
dx7 has joined #ruby
volty has joined #ruby
yfeldblu_ has joined #ruby
duncsm has quit [Quit: Leaving]
rkalfane has quit [Quit: Textual IRC Client: www.textualapp.com]
<volty> can smb tell me the reason behind Struct#to_h removal?
yokel has joined #ruby
kaspertidemann has quit []
lockweel has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
krisquigley has quit [Ping timeout: 272 seconds]
bobishh has quit [Ping timeout: 272 seconds]
dx7 has quit [Ping timeout: 246 seconds]
Photism has quit [Quit: Leaving]
klmlfl has joined #ruby
shredding has quit [Quit: shredding]
<pontiki> i have not heard it's being removed...
<pontiki> i thought it was just added, in fact
odlox has quit []
lockweel has quit [Ping timeout: 260 seconds]
spicerack has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tessi is now known as tessi_zz
Wolland has joined #ruby
emmesswhy has quit [Quit: Leaving]
okic has quit [Ping timeout: 246 seconds]
<shevy> hey volty
<shevy> 2.1.3 has #to_h
okic has joined #ruby
<pontiki> 1.9.3 does not, it was added sometime in 2.x
<volty> but want't it there in 1.8 ?
<shevy> hehe
<shevy> you are walking back into the past
<shevy> come back to the future!
<shevy> nope
<shevy> 1.8.7 did not have it either:
<volty> sorry, maybe i messed something - gave for granted it's there
* shevy spanks volty
<shevy> no problem, one round of group spanking for you
icarus has quit [Remote host closed the connection]
Wolland has quit [Ping timeout: 240 seconds]
dc__ has joined #ruby
Guest89616 has quit [Ping timeout: 250 seconds]
mary5030 has joined #ruby
pasv has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pasv is now known as Guest95759
Stalkr_ has quit [Quit: Leaving...]
sanguisdex has joined #ruby
tomeara_ has joined #ruby
<apeiros> volty: maybe you used rails and rails added it?
dc___ has quit [Ping timeout: 272 seconds]
klmlfl has quit [Remote host closed the connection]
zenojis has quit [Ping timeout: 260 seconds]
jasooon has joined #ruby
<volty> no apeiros, it was just my fuzzy brain to add it. Just given for granted it was already there. :)
BTRE has joined #ruby
tomeara_ has quit [Ping timeout: 245 seconds]
zenojis has joined #ruby
phutchins has joined #ruby
goodenough has quit [Remote host closed the connection]
emocakes has joined #ruby
mary5030 has quit [Remote host closed the connection]
goodenough has joined #ruby
jasooon has quit [Ping timeout: 246 seconds]
skammer2 has joined #ruby
<volty> shevy: on what are you loosing your time, currently? :)
<volty> , at the moment
nonmadden has quit [Remote host closed the connection]
PsionTheory has joined #ruby
mooru has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zenojis has quit [Ping timeout: 260 seconds]
mindlessdemon has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
KC9YDN has quit [Read error: Connection reset by peer]
phutchins has quit [Ping timeout: 244 seconds]
monkeypatch has joined #ruby
goodenough has quit [Ping timeout: 245 seconds]
crazydiamond has joined #ruby
<shevy> volty I am rewriting my Cookbooks project
<shevy> for the like 3rd time by now in total
bobishh has joined #ruby
Fun has joined #ruby
mastr_bennett[x] has joined #ruby
skammer2 has quit [Ping timeout: 272 seconds]
<shevy> eliminating Pathname ... splitting up code ... fixing some circular loading warnings andother warnings of files not being loaded in the proper order...
<shevy> very boring :(
emocakes__ has joined #ruby
emocakes has quit [Ping timeout: 245 seconds]
<shevy> but I could eliminate some code too \o/
KC9YDN has joined #ruby
<Fun> hello!
<Fun> I forgot whats the name for rails channel?
<Fun> :)
<Fun> and hi shevy
<existensil> #rubyonrails
<Fun> tyty
c107 has quit [Remote host closed the connection]
Fun has left #ruby [#ruby]
thomasxie has joined #ruby
spyderman4g63 has joined #ruby
<volty> shevy: your cooking seems more complicated than landing on Mars :)
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Nilium> I gots my PS/2 adapter and the NMB keyboard working.
<Nilium> Woo for using a keyboard that predates the existence of a windows key.
<Nilium> Which is actually slightly inconvenient 'cause it means remapping the capslock key for stuff.
<volty> is it a public cooking project?
bobishh has quit [Ping timeout: 260 seconds]
MCDev has quit [Quit: HydraIRC -> http://www.hydrairc.com <- Chicks dig it]
Beoran__ has joined #ruby
HelperW____ has joined #ruby
zenojis has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
spyderman4g63 has quit [Ping timeout: 272 seconds]
grenierm has joined #ruby
lolmaus has quit [Read error: Connection reset by peer]
lolmaus has joined #ruby
<volty> btw, back on structs, i did not use them at all till now. Just experimenting with Json as a mean to exchange data with another non-ruby app. That's why I needed to_h (and of course I can write it on-fly).
sanguisdex has quit [Ping timeout: 272 seconds]
Beoran_ has quit [Ping timeout: 272 seconds]
<volty> Nilium: And when you will need the caps?
fabrice31 has joined #ruby
Wolland has joined #ruby
jontmorehouse has quit [Ping timeout: 272 seconds]
HelperW____ has quit [Ping timeout: 260 seconds]
zenojis has quit [Ping timeout: 272 seconds]
<shevy> volty well cookbooks for compiling and installing programs
PsionTheory has quit [Read error: Connection reset by peer]
HelperW____ has joined #ruby
fgo has joined #ruby
<Nilium> volty: Rarely, but pressing both shift keys enables capslock, so it's irrelevant.
emocakes has joined #ruby
Wolland has quit [Ping timeout: 240 seconds]
<volty> Nilium: a nice solution
<Nilium> YES IT IS.