apeiros_ changed the topic of #ruby to: Ruby 1.9.3-p286: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com
<postmodern> Pip, export PATH=$PATH:$HOME/.gem/ruby/1.9.1/bin
<Pip> there is no bin folder there
<mda_> $ python
<mda_> Python 2.7.1 (r271:86832, Jul 31 2011, 19:30:53)
<mda_> [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
<mda_> >>> import math
<mda_> Type "help", "copyright", "credits" or "license" for more information.
<mda_> >>> a = math.fsum([0.1,0.1,0.1])
<mda_> >>> repr(a)
<mda_> '0.30000000000000004'
<mda_> >>> str(a)
<mda_> '0.3'
<postmodern> Pip, I'm confused what the problem is?
<Pip> what?
<mda_> >>>
<postmodern> mda_, pastebin
<Pip> postmodern, maybe no
<Pip> mda_, this is ruby
pyr0commie has quit [Remote host closed the connection]
<mda_> $ irb
<mda_> >> a = (0.1+0.1+0.1)
<mda_> => 0.3
<mda_> => "0.3"
<mda_> >> a.inspect()
<mda_> >>
<Pip> christ
<reactormonk> apeiros_, banhammer?
<Pip> postmodern, okay, it works
<apeiros_> reactormonk: reading up
iamjarvo has joined #ruby
nat26101 has joined #ruby
nat2610 has quit [Read error: Connection reset by peer]
jaygen has quit [Remote host closed the connection]
<apeiros_> mda_: yeah, pastebin, otherwise, banhammer. also see topic. I think channels accepting pastes > 3 lines are a rarity…
jaygen has joined #ruby
<mda_> nevermind, no one here knows
<apeiros_> mda_: it's 0.30000000000000004 in ruby too
<mda_> prove it :)
fyolnish has quit [Remote host closed the connection]
<apeiros_> and that'd be because python and ruby both use native floats, which are on most platforms IEE754 floats
cascalheira has quit [Quit: Linkinus - http://linkinus.com]
<apeiros_> mda_: oh dear, here, proof:
chrishunt has quit [Quit: Leaving...]
<apeiros_> "%.40f" % (0.1+0.1+0.1)
<apeiros_> run that
<apeiros_> if you'd use a not-so-outdated version of ruby, you'd even see the 0.30000000000000004 right away
<apeiros_> and: welcome to the world of pain that are floats
<mda_> the reason i was interested was because in python fsum is supposed to not do that
vlad_starkov has quit [Remote host closed the connection]
<apeiros_> if you want to know the precise data in the float, use pack/unpack
alexim has quit [Remote host closed the connection]
medik has quit [Quit: medik has no reason]
alexim has joined #ruby
<apeiros_> the reason for the "errand bit" is that 0.1 isn't 0.1 (use sprintf again…)
chrishunt has joined #ruby
kjellski_ has quit [Read error: Connection reset by peer]
kjellski has joined #ruby
<havenn_> mda_: (BigDecimal.new('.1') * 3).to_f #=> 0.3
mengu has joined #ruby
kjellski has quit [Client Quit]
_bart has quit [Quit: _bart]
nemesit has quit [Quit: Leaving...]
<atmosx> 1.9.3p286 :001 > "%.40f" % (0.1+0.1+0.1)
<atmosx> => "0.3000000000000000444089209850062616169453"
<atmosx> …… wtf....
<heftig> 0.1 * 6 - 0.6
Pip has quit [Remote host closed the connection]
gogiel has quit [Ping timeout: 255 seconds]
<atmosx> anyway
<atmosx> cya tomorrow ppl
<atmosx> byez
atmosx has quit [Quit: And so the story goes…]
jeremywrowe has joined #ruby
<dorei> is there a way to make Logger write the message to the log file immediately and not buffer it?
<mda_> >> "%.23f" % 0.1
<mda_> => "0.10000000000000000555112"
<mda_> => "0.10000000000000000555112"
<mda_> >> "%.23f" % 0.10000000000000000000000000000000000000000000000000
<mda_> :)
SCommette has quit [Quit: SCommette]
<heftig> mda_: of course that doesn't help
<mda_> I guess a guys gotta use GMP/MPIR or whatever....but it's slow
<heftig> BigDecimal
Pip has joined #ruby
ckrailo has quit [Quit: Leaving...]
<Pip> Doesn't gem handle dependencies while uninstalling?
<heftig> IIRC No.
<Pip> Not good
etcetera has quit [Quit: Computer has gone to sleep.]
bapa has joined #ruby
ckrailo has joined #ruby
cakehero has quit [Quit: Computer has gone to sleep.]
<postmodern> Pip, you can run `gem clean`
<postmodern> Pip, but that will only uninstall old versions
<apeiros_> mda_: read up on floats, especially IEEE754 floats. there's lots of material on precision of floats.
<apeiros_> it's like the UltraFAQ
phantasm66 has quit [Quit: *sleeeeep*]
jeremywrowe has quit [Client Quit]
etcetera has joined #ruby
robotmay has quit [Ping timeout: 246 seconds]
jds_ has quit [Remote host closed the connection]
mariooo has quit [Remote host closed the connection]
emptyfla_ has joined #ruby
<mda_> hrm BIgDecimal does the same thing.....a lazy evaluated Real in lisp would work...
mda_ has quit [Remote host closed the connection]
bradhe has quit [Remote host closed the connection]
emptyflask has quit [Ping timeout: 244 seconds]
emptyfla_ has quit [Remote host closed the connection]
somazero has joined #ruby
thone has joined #ruby
hoelzro|away is now known as hoelzro
dankest has joined #ruby
<apeiros_> o0
love_color_text_ has joined #ruby
love_color_text_ has joined #ruby
love_color_text_ has quit [Changing host]
clj_newb has quit [Ping timeout: 252 seconds]
* apeiros_ bets that mda_ guy created a BigDecimal from a Float…
<apeiros_> (or the other way round…)
stephenjudkins has quit [Quit: stephenjudkins]
gridaphobe has quit [Ping timeout: 244 seconds]
daniel_- has quit [Quit: WeeChat 0.3.9.1]
thone has quit [Read error: Operation timed out]
friskd_ has joined #ruby
thone has joined #ruby
friskd has quit [Ping timeout: 255 seconds]
friskd_ is now known as friskd
<dankest> Does anyone know how to make Factories available in the rails test console?
<reactormonk> dankest, #rubyonrails
<dankest> reactormonk: tried there, no help. Figured I'd ask you all too. Thanks though.
hotovson_ has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
<reactormonk> dankest, I'd start with requiring the according files
<dankest> reactormonk: Meaning the factories?
<reactormonk> yep
ij has quit [Ping timeout: 245 seconds]
bradhe has joined #ruby
tomsthumb has quit [Quit: Leaving.]
hoelzro is now known as hoelzro|away
caleb_io has joined #ruby
instinkt has quit [Quit: Lost terminal]
vlad_starkov has quit [Ping timeout: 245 seconds]
CamonZ has joined #ruby
fyolnish has joined #ruby
senj has joined #ruby
gcds has quit [Quit: gcds]
<dankest> reactormonk: figured it out, just have to run these two lines before factorying https://gist.github.com/4115225
gcds has joined #ruby
apeiros_ has quit [Remote host closed the connection]
<reactormonk> good enough ;-)
p3mulis has quit [Quit: Leaving]
pemulis has quit [Quit: Leaving]
d34th4ck3r has quit [Ping timeout: 244 seconds]
mikepack has joined #ruby
cascalheira has joined #ruby
BrianJ has quit [Quit: BrianJ]
Pip has quit [Remote host closed the connection]
apok_ has joined #ruby
havenn_ has quit [Remote host closed the connection]
havenn has joined #ruby
x82_nicole has joined #ruby
Schmidt has quit [Ping timeout: 240 seconds]
Schmidt has joined #ruby
apok has quit [Ping timeout: 260 seconds]
apok_ is now known as apok
jds_ has joined #ruby
stephenjudkins has joined #ruby
emmanuelux has quit [Remote host closed the connection]
kil0byte has quit [Ping timeout: 265 seconds]
havenn has quit [Ping timeout: 276 seconds]
kiyoura has joined #ruby
nazty has quit [Ping timeout: 245 seconds]
somazero has quit [Ping timeout: 245 seconds]
ossareh has quit [Ping timeout: 245 seconds]
aantix has quit [Read error: Operation timed out]
carlyle has joined #ruby
ikaros has quit [Quit: Ex-Chat]
nazty has joined #ruby
yoklov has quit [Quit: computer sleeping]
pkrnj has joined #ruby
friskd has quit [Quit: friskd]
mercwithamouth has quit [Ping timeout: 240 seconds]
jds_ has quit [Ping timeout: 260 seconds]
yalue has quit [Read error: Connection reset by peer]
Juul has joined #ruby
mercwithamouth has joined #ruby
gabrielrotbart has quit [Remote host closed the connection]
ttt has joined #ruby
Cicloid has quit [Remote host closed the connection]
nazty has quit [Ping timeout: 245 seconds]
kil0byte has joined #ruby
derpops has joined #ruby
osvico has joined #ruby
apeiros_ has joined #ruby
slainer68 has quit [Remote host closed the connection]
diegoviola has joined #ruby
davidcelis has quit [Quit: K-Lined.]
arya has quit [Ping timeout: 244 seconds]
nazty has joined #ruby
alexim has quit [Quit: sleep]
tomsthumb has joined #ruby
mikepack has quit [Remote host closed the connection]
etcetera has quit [Quit: Computer has gone to sleep.]
havenn has joined #ruby
tomsthumb has quit [Read error: Connection reset by peer]
tomsthumb has joined #ruby
etcetera has joined #ruby
nat26101 has left #ruby [#ruby]
arya has joined #ruby
nazty has quit [Read error: Connection reset by peer]
brianpWins has quit [Quit: brianpWins]
apeiros_ has quit [Ping timeout: 260 seconds]
jeffreybaird has joined #ruby
nazty has joined #ruby
dmerrick has quit [Quit: dmerrick]
quest88_ has joined #ruby
pac1 has joined #ruby
jphpsf has quit [Quit: Leaving]
bradhe has quit [Remote host closed the connection]
phantasm66 has joined #ruby
brianpWins has joined #ruby
arya has quit [Ping timeout: 244 seconds]
gcds has quit [Quit: gcds]
bradhe has joined #ruby
CamonZ has quit [Ping timeout: 252 seconds]
carlyle has quit [Remote host closed the connection]
bricker has quit [Quit: leaving]
Monie has quit [Ping timeout: 244 seconds]
Monie has joined #ruby
RudyValencia has quit [Read error: No route to host]
gabrielrotbart has joined #ruby
blazes816 has quit [Quit: blazes816]
arya has joined #ruby
bbloom has left #ruby ["["Textual IRC Client: www.textualapp.com"]"]
frem has quit [Ping timeout: 268 seconds]
Jellyg00se has joined #ruby
gh has joined #ruby
swarley has quit [Ping timeout: 264 seconds]
nazty has quit [Read error: Connection reset by peer]
yoklov has joined #ruby
xsbeats has quit [Ping timeout: 256 seconds]
swarley has joined #ruby
havenn has quit [Remote host closed the connection]
gh has quit [Client Quit]
havenn has joined #ruby
<shevy> dankest problem is, many people here dont know rails. I still dont know what a factory is... I suppose it returns objects
cascalheira has quit [Quit: Linkinus - http://linkinus.com]
caleb_io has quit [Quit: caleb_io]
<dankest> shevy: gotcha. What do you use Ruby for?
adrianmn1 has quit [Quit: Leaving.]
<shevy> dankest pretty much everything. i.e. rather than shell scripts, I write ruby scripts. web stuff, I use a mixture of things (but mostly still plain ruby .cgi files). for everything that can be automated, I use ruby
nilg has joined #ruby
JetAway has joined #ruby
<shevy> config files I keep in yaml usually, then let ruby generate the files I need
CaptainJet has quit [Disconnected by services]
JetAway is now known as CaptainJet
slainer68 has joined #ruby
nateberkopec has quit [Quit: Linkinus - http://linkinus.com]
havenn has quit [Ping timeout: 252 seconds]
<dankest> shevy: awesome. Ruby is amazing for shell scripting. I loves it so.
<shevy> it's much easier to read and change
Danny_Joris has joined #ruby
<johnmilton> im starting to learn ruby because my job is rolling out puppet for everything
<shevy> than shell scripts are
etcetera has quit [Quit: Computer has gone to sleep.]
<Danny_Joris> I'm having an error trying to install Jekyll on OSx 10.6. Seems like all the things i find on google are related to upgrading xcode or enabling terminal tools, but I don't have xcode installed.
mahmoudimus has quit [Quit: Computer has gone to sleep.]
nari has joined #ruby
<Danny_Joris> ERROR: Failed to build gem native extension. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb | mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h
sn0wb1rd has quit [Quit: sn0wb1rd]
slainer68 has quit [Ping timeout: 240 seconds]
etcetera has joined #ruby
<Danny_Joris> 10.6.8
rakl has quit [Quit: sleeping]
LouisGB has quit [Ping timeout: 260 seconds]
mahmoudimus has joined #ruby
Juul has quit [Ping timeout: 245 seconds]
alvaro_o has quit [Quit: Ex-Chat]
chrishunt has quit [Quit: Leaving...]
statarb3 has quit [Ping timeout: 268 seconds]
<Danny_Joris> all answers lead to xcode.. :/
dmiller has quit [Remote host closed the connection]
<johnmilton> so install xcode
<johnmilton> its on the dvd
icole has quit [Remote host closed the connection]
<Danny_Joris> it's kind of unfortunate to have to install a 1.5GB program I won't use in order to install gems, no?
al3xnull has joined #ruby
ossareh has joined #ruby
<johnmilton> i install xcode as soon as i install os x
<johnmilton> it has tons of stuff which u may end up using in the future
<johnmilton> and an awesome ide
Jellyg00se has quit [Remote host closed the connection]
xsbeats has joined #ruby
Hanmac1 has joined #ruby
bradhe has quit [Remote host closed the connection]
_nitti has joined #ruby
Hanmac has quit [Ping timeout: 265 seconds]
_nitti has quit [Ping timeout: 240 seconds]
Lemtzas is now known as LEMTZAS
punkrawkR has quit [Read error: Connection reset by peer]
cakehero has joined #ruby
ossareh has quit [Ping timeout: 245 seconds]
ZubKonst_ has joined #ruby
swarley has quit [Quit: Leaving]
swarley has joined #ruby
ZubKonst has quit [Ping timeout: 246 seconds]
ryanlecompte has quit [Remote host closed the connection]
diegoviola has quit [Quit: Reconnecting]
diegoviola has joined #ruby
d2dchat has joined #ruby
jekotia has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
jonathanwallace has quit [Read error: Connection reset by peer]
Juul has joined #ruby
jonathanwallace has joined #ruby
chimkan has quit [Quit: chimkan]
adeponte has quit [Remote host closed the connection]
sn0wb1rd has joined #ruby
<dankest> Danny_Joris: You can thank me later https://github.com/kennethreitz/osx-gcc-installer
<dankest> No xcode needed!
adeponte has joined #ruby
tuannat has joined #ruby
<dankest> You can also just grab the essentials from apple: http://connect.apple.com/
arya has quit [Ping timeout: 244 seconds]
etcetera has quit [Quit: Computer has gone to sleep.]
<dankest> <3<3<3<3<3
adeponte has quit [Remote host closed the connection]
maletor has quit [Quit: Computer has gone to sleep.]
dankest has quit [Quit: Linkinus - http://linkinus.com]
derpops has quit []
adeponte has joined #ruby
ossareh has joined #ruby
chongyu123 has joined #ruby
chongyu123 has left #ruby [#ruby]
Trioke has quit [Ping timeout: 264 seconds]
<Danny_Joris> thanks - people seem to have trouble uninstalling it though and it doesn't seem to work well if xcode is installed. (if I ever want to use it)
<Danny_Joris> I might just grab the installer cd at work tomorrow.
<Danny_Joris> still unbelievable xcode (or part of it) is needed to begin with
ckrailo has quit [Quit: Computer has gone to sleep.]
Danny_Joris has quit [Quit: ChatZilla 0.9.89 [Firefox 16.0.2/20121024073032]]
mikepack has joined #ruby
baroquebobcat has joined #ruby
x82_nicole has quit [Quit: Computer has gone to sleep.]
mikepack has quit [Ping timeout: 244 seconds]
chrishunt has joined #ruby
Trioke has joined #ruby
tbrock has joined #ruby
arietis has joined #ruby
slainer68 has joined #ruby
dmiller has joined #ruby
niklasb has quit [Ping timeout: 252 seconds]
dorei has quit []
Juul has quit [Ping timeout: 245 seconds]
pac1 has quit [Remote host closed the connection]
slainer68 has quit [Ping timeout: 248 seconds]
adeponte has quit [Remote host closed the connection]
brianpWins has quit [Quit: brianpWins]
skattyadz has quit [Quit: skattyadz]
dmiller has quit [Ping timeout: 252 seconds]
Ruler_Of_Heaven_ has joined #ruby
pipopopo has quit [Ping timeout: 260 seconds]
ryanf has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
voodoofish430 has quit [Quit: Leaving.]
cakehero has quit [Quit: Computer has gone to sleep.]
jimeh has quit [Quit: Computer has gone to sleep.]
_nitti has joined #ruby
ossareh has quit [Ping timeout: 245 seconds]
Azure has quit [Excess Flood]
capsule_toy has joined #ruby
Azure has joined #ruby
rgrady has joined #ruby
rgrady has left #ruby [#ruby]
_nitti has quit [Ping timeout: 240 seconds]
cakehero has joined #ruby
robbyoconnor has joined #ruby
jojosiao has joined #ruby
mahmoudimus has joined #ruby
stephenjudkins has quit [Quit: stephenjudkins]
ryanf has quit [Quit: leaving]
tommyvyo has quit [Quit: Computer has gone to sleep.]
Retistic has quit [Quit: Retistic]
Retistic has joined #ruby
JustinCampbell has quit [Remote host closed the connection]
johnmilton has quit [Ping timeout: 244 seconds]
shiin has quit [Quit: Computer has gone to sleep.]
BoomCow has joined #ruby
cakehero has quit [Quit: Computer has gone to sleep.]
gbchaosmaster has joined #ruby
Zolrath has quit []
mascool has quit [Ping timeout: 240 seconds]
skaczor has quit [Read error: Operation timed out]
segmond has joined #ruby
h4mz1d has joined #ruby
al3xnull has quit [Remote host closed the connection]
al3xnull has joined #ruby
jeffreybaird has quit [Quit: jeffreybaird]
_alejandro has joined #ruby
caleb_io has joined #ruby
johnmilton has joined #ruby
haxrbyte has joined #ruby
jgrevich has quit [Ping timeout: 240 seconds]
Juul has joined #ruby
haxrbyte_ has joined #ruby
areil has joined #ruby
vlad_starkov has joined #ruby
BoomCow has quit [Quit: This computer has gone to sleep]
haxrbyte has quit [Ping timeout: 240 seconds]
pkrnj has quit [Quit: Computer has gone to sleep.]
havenn has joined #ruby
caleb_io has quit [Quit: caleb_io]
capsule_toy has quit [Quit: Computer has gone to sleep.]
apok has quit [Quit: apok]
vlad_starkov has quit [Ping timeout: 252 seconds]
etcetera has joined #ruby
tastycakeman has joined #ruby
<tastycakeman> hallo! what is .gte?
<tastycakeman> and .lte?
<tastycakeman> and is a ruby specific method?
ghanima has left #ruby ["PART #ruby-lang :PART #RubyOnRails :PONG :zelazny.freenode.net"]
segmond has left #ruby ["Leaving"]
dmiller has joined #ruby
<havenn> Anyone have the link for the high performance fork of mruby? Can't find it for the life of me...
johnmilton has quit [Remote host closed the connection]
<gbchaosmaster> tastycakeman: Sounds like greater than/equal to and less that/equal to methods.
<havenn> Hanmac1: I think you told me about it, no? HP? mruby?
<havenn> HP-vowel-here
Juul has quit [Ping timeout: 246 seconds]
Grieg has joined #ruby
Grieg has quit [Changing host]
Grieg has joined #ruby
ananthakumaran has joined #ruby
dmiller has quit [Ping timeout: 244 seconds]
<havenn> Ahh, found it - HPC mruby.
Danny_Joris has joined #ruby
<Danny_Joris> So i went ahead and tried to install GCC
<Danny_Joris> still doesn't make my rubygems work
andrewhl has quit [Remote host closed the connection]
<havenn> Danny_Joris: What platform are you on?
<Danny_Joris> osx 10.6.8
spike|spiegel has quit [Read error: Connection reset by peer]
<Danny_Joris> and to uninstall GCC you have to install xcode and uninstall it again?
<Danny_Joris> I installed GCC because I didn't want to use xcode
<Danny_Joris> what a mess
<Danny_Joris> all of this just to install jekyll, lol
rohit has joined #ruby
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
justsee has joined #ruby
ryanf has joined #ruby
mengu has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
<Danny_Joris> any ideas?
spike|spiegel has joined #ruby
CaptainJet has quit []
_nitti has joined #ruby
ner0x has quit [Quit: Leaving]
spanner has quit [Ping timeout: 245 seconds]
SCommette has joined #ruby
tjbiddle_ has joined #ruby
SCommette has quit [Client Quit]
<Danny_Joris> has the error
_nitti has quit [Ping timeout: 264 seconds]
BigO has joined #ruby
<havenn> Danny_Joris: Do you have Homebrew installed? Worth getting GCC working IMHO, will run into it over and over. Tried?: brew install automake
tjbiddle has quit [Ping timeout: 246 seconds]
becom33 has joined #ruby
<alexshenoy> hello rubyists
tjbiddle_ has quit [Ping timeout: 240 seconds]
<becom33> Im trying to get a idea how to create twitter bot with ruby
<becom33> can anyone helpme with that ?
<havenn> In Mountain Lion there is a standalone installer. I think that on some older OS X versions you do have to install the latest xcode before command-line-tools, if you want to go the apple-provided route..
<becom33> shevy, bro you there ?
<alexshenoy> got a bit of question. I am in the middle of running through rubeque and I'm stuck on one of the problems. It has to do with the method behind addition.
<Danny_Joris> havenn: installed automake with brew
<Danny_Joris> didn't help
<alexshenoy> i searched the api, but can't seem to find any reference
pkrnj has joined #ruby
slamice_ has joined #ruby
<havenn> Danny_Joris: No errors with?: brew doctor
_cheney2 has joined #ruby
<havenn> becom33: Have you checked out the twitter api gems? Might be a starting point. https://www.ruby-toolbox.com/categories/api_clients
<Danny_Joris> havenn: http://pastebin.com/SZQXCCNG yeah errors
_cheney has quit [Ping timeout: 246 seconds]
slamice has quit [Ping timeout: 248 seconds]
slamice_ is now known as slamice
SCommette has joined #ruby
<havenn> Danny_Joris: For starters, as it suggests, I'd run: brew update; cd /usr/local/Library && git stash && git clean -f; brew upgrade
Amirh has joined #ruby
<havenn> Danny_Joris: And install latest Xcode with command-line-tools, if you haven't.
<havenn> *latest xcode your os x version allows*
Amirh has quit [Client Quit]
lordnaz has quit [Ping timeout: 256 seconds]
gimpygoo has quit [Remote host closed the connection]
<Danny_Joris> havenn: followed git clean/ brew update instructions, but didn't work. Did fix all but 'xcode needed' errors in brew upgrade though.
<Danny_Joris> havenn: will try to find the installer cd at work tomorrow and install xcode
<Danny_Joris> havenn: thanks for your feedback - I appreciate it!
SCommette has quit [Client Quit]
BigO_ has joined #ruby
xsbeats has quit [Ping timeout: 252 seconds]
BigO has quit [Ping timeout: 265 seconds]
noyb has joined #ruby
<havenn> alexshenoy: Which problem are you on? Gist the code you have so far?
<becom33> no wait havenn
dhruvasagar has quit [Ping timeout: 264 seconds]
<alexshenoy> havenn: huzzah! I just figured it out. it was .method(:+).call
krz has joined #ruby
<alexshenoy> at least i think
<alexshenoy> it worked at any rate
swarley has quit [Read error: Connection reset by peer]
cantonic has quit [Ping timeout: 252 seconds]
<alexshenoy> it was "Subtracting Out THe Sugar"
dhruvasagar has joined #ruby
seeingidog__ has joined #ruby
Juul has joined #ruby
abrongersma has joined #ruby
becom33 has quit [Ping timeout: 244 seconds]
swarley has joined #ruby
davidcelis has joined #ruby
areil_ has joined #ruby
telnettest has joined #ruby
areil has quit [Ping timeout: 245 seconds]
capsule_toy has joined #ruby
telnettest has quit [Client Quit]
radic has quit [Disconnected by services]
radic_ has joined #ruby
tastycakeman has quit [Quit: Leaving]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
hakunin has quit [Remote host closed the connection]
slamice has quit [Ping timeout: 256 seconds]
chimkan has joined #ruby
rohit has quit [Ping timeout: 245 seconds]
rohit has joined #ruby
shammancer has quit [Quit: Leaving]
becom33 has joined #ruby
slamice has joined #ruby
dmiller has joined #ruby
Danny_Joris has quit [Quit: ChatZilla 0.9.89 [Firefox 16.0.2/20121024073032]]
cantonic has joined #ruby
shammancer has joined #ruby
dmiller has quit [Ping timeout: 265 seconds]
areil_ has quit []
al3xnull has quit [Remote host closed the connection]
jekotia has quit [Quit: ChatZilla 0.9.89-rdmsoft [XULRunner 1.9.0.17/2009122204]]
Guest92676 has joined #ruby
h4mz1d has quit [Ping timeout: 245 seconds]
swarley has quit [Read error: Connection reset by peer]
havenn has quit [Remote host closed the connection]
ananthakumaran has quit [Quit: Leaving.]
Juul has quit [Quit: Leaving]
Juul has joined #ruby
apok has joined #ruby
macmartine has joined #ruby
tbrock has quit [Quit: Computer has gone to sleep.]
etcetera has quit [Quit: Computer has gone to sleep.]
brianpWins has joined #ruby
quest88_ has quit [Ping timeout: 255 seconds]
the_jeebster has quit [Quit: Leaving.]
jeff_sebring has joined #ruby
quest88_ has joined #ruby
tbrock has joined #ruby
joofsh has quit [Remote host closed the connection]
codezombie has quit [Quit: Linkinus - http://linkinus.com]
oivoodoo_ has joined #ruby
capsule_toy has quit [Quit: Computer has gone to sleep.]
osvico has quit []
macmartine has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
ryanlecompte has joined #ruby
h4mz1d has joined #ruby
gbchaosmaster has quit [Ping timeout: 245 seconds]
tbrock has quit [Quit: Computer has gone to sleep.]
havenn has joined #ruby
ananthakumaran has joined #ruby
berserkr has quit [Quit: Leaving.]
stephenjudkins has joined #ruby
abrongersma has left #ruby ["Leaving"]
wizard` has joined #ruby
abrongersma has joined #ruby
vlad_starkov has joined #ruby
h4mz1d has quit [Ping timeout: 245 seconds]
gabrielrotbart has quit [Remote host closed the connection]
ryanlecompte has quit [Read error: Connection reset by peer]
ryanlecompte has joined #ruby
dankest has joined #ruby
gbchaosmaster has joined #ruby
nat2610 has joined #ruby
vlad_starkov has quit [Ping timeout: 244 seconds]
mksm has quit [Read error: Operation timed out]
mksm has joined #ruby
mfridh_ has joined #ruby
brjannc has quit [Ping timeout: 244 seconds]
mfridh has quit [Ping timeout: 255 seconds]
mfridh_ is now known as mfridh
brjannc has joined #ruby
kil0byte has quit [Ping timeout: 265 seconds]
Juul has quit [Ping timeout: 252 seconds]
dmiller has joined #ruby
nat2610 has left #ruby [#ruby]
rohit has quit [Quit: Leaving]
Guest92676 has quit [Quit: Guest92676]
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
caleb_io has joined #ruby
dmiller has quit [Ping timeout: 255 seconds]
rakunHo has joined #ruby
chrishunt has quit [Quit: Leaving...]
SCommette has joined #ruby
jackdanger has joined #ruby
caleb_io has quit [Client Quit]
SCommette has quit [Client Quit]
dhruvasagar has quit [Ping timeout: 260 seconds]
dyreshark has joined #ruby
vlad_starkov has joined #ruby
codezombie has joined #ruby
atmosx_ has joined #ruby
dmiller has joined #ruby
stephenjudkins has quit [Quit: stephenjudkins]
raunicolae has joined #ruby
stephenjudkins has joined #ruby
burgestrand has joined #ruby
noyb has quit [Ping timeout: 260 seconds]
areil has joined #ruby
margle has joined #ruby
stephenjudkins has quit [Read error: Connection reset by peer]
stephenjudkins has joined #ruby
sspiff has joined #ruby
LEMTZAS is now known as Lemtzas
stephenjudkins has quit [Client Quit]
becom33 has quit [Ping timeout: 265 seconds]
matrixise has quit [Ping timeout: 260 seconds]
c0rn has quit [Quit: Computer has gone to sleep.]
arya_ has joined #ruby
c0rn has joined #ruby
c0rn has quit [Client Quit]
topek has joined #ruby
c0rn has joined #ruby
iamjarvo has quit [Quit: Computer has gone to sleep.]
phelps has quit [Quit: ZNC - http://znc.sourceforge.net]
c0rn has quit [Client Quit]
chimkan has quit [Quit: chimkan]
phelps has joined #ruby
aharris6 has joined #ruby
BigO_ has quit [Remote host closed the connection]
noyb has joined #ruby
areil_ has joined #ruby
atmosx has joined #ruby
atmosx_ has quit [Ping timeout: 276 seconds]
davidokner has joined #ruby
mahmoudimus has joined #ruby
<davidokner> Rspec test work without adding ".should" to the end of a test?
kiyoura has quit [Quit: Leaving]
areil has quit [Ping timeout: 240 seconds]
cardoni has joined #ruby
<davidokner> I removed ".should" from rspec test and it still passed
arya_ has quit [Ping timeout: 244 seconds]
<davidokner> I'm just learning rspec and found that by mistake
<burgestrand> davidokner: as long as the test does not raise an error, it is considered passed.
tagrudev has joined #ruby
<burgestrand> davidokner: that’s what should does; raises an error if the expectation is not met.
<burgestrand> davidokner: so if your test is just an empty block (no code at all in the test), it will pass.
atmosx has quit [Ping timeout: 276 seconds]
arya_ has joined #ruby
Juul has joined #ruby
Jamone has joined #ruby
jonathanwallace has quit [Remote host closed the connection]
jxf has quit [Ping timeout: 248 seconds]
Monie has quit [Ping timeout: 244 seconds]
jackdanger has quit [Quit: Leaving.]
apok has quit [Quit: apok]
kil0byte has joined #ruby
c0rn has joined #ruby
imami|afk is now known as banseljaj
matrixise has joined #ruby
Slivka has quit [Remote host closed the connection]
Marius has joined #ruby
Juul has quit [Ping timeout: 246 seconds]
apok has joined #ruby
Hanmac1 is now known as Hanmac
samuel02 has joined #ruby
alexshenoy has quit [Quit: alexshenoy]
chimkan_ has joined #ruby
cardoni has quit [Quit: cardoni]
codezombie has quit [Quit: Linkinus - http://linkinus.com]
ABK has joined #ruby
brimil01 has joined #ruby
emergion has joined #ruby
ryanf has quit [Ping timeout: 245 seconds]
JohnBat26 has joined #ruby
jaygen has quit [Ping timeout: 252 seconds]
emergion has quit [Client Quit]
BigO has joined #ruby
rakl has joined #ruby
Juul has joined #ruby
Elico has quit [Quit: elico]
_nitti has joined #ruby
ckrailo has joined #ruby
kil0byte has quit [Ping timeout: 255 seconds]
ABK has quit [Ping timeout: 252 seconds]
_nitti has quit [Ping timeout: 244 seconds]
fbernier has quit [Ping timeout: 246 seconds]
kil0byte has joined #ruby
jeff_sebring has left #ruby ["Leaving"]
arya_ has quit [Ping timeout: 244 seconds]
rohit has joined #ruby
kil0byte_ has joined #ruby
jaygen has joined #ruby
arya_ has joined #ruby
mercwithamouth has quit [Ping timeout: 260 seconds]
jeff_sebring has joined #ruby
kil0byte has quit [Ping timeout: 255 seconds]
jeff_sebring has quit [Client Quit]
wizard` has quit [Quit: Asta la vista]
zommi has joined #ruby
BigO has quit [Remote host closed the connection]
robert_ has joined #ruby
cezar has joined #ruby
rippa has joined #ruby
morf has joined #ruby
az77ar has joined #ruby
quest88_ has quit [Quit: quest88_]
monkegjinni has joined #ruby
az77ar is now known as az7ar
kil0byte has joined #ruby
burgestrand has quit [Quit: Leaving.]
aganov has joined #ruby
ABK has joined #ruby
maesbn has joined #ruby
robert_ has quit [Ping timeout: 276 seconds]
kil0byte_ has quit [Ping timeout: 268 seconds]
matrixise has quit [Ping timeout: 265 seconds]
elsifaka has joined #ruby
ToTo has joined #ruby
jprovazn has joined #ruby
statarb3 has joined #ruby
statarb3 has quit [Changing host]
statarb3 has joined #ruby
djdb has joined #ruby
nomenkun has joined #ruby
BoomCow has joined #ruby
piotr_ has joined #ruby
gregorg has quit [Ping timeout: 252 seconds]
hoelzro|away is now known as hoelzro
charliesome has joined #ruby
<scrogson> Does anyone know how to gain access to ask a question in #rubyonrails?
<scrogson> everytime I try I just get "Cannot send to channel"
ToTo has quit [Ping timeout: 252 seconds]
dhruvasagar has joined #ruby
rohit has quit [Quit: Leaving]
emergion has joined #ruby
<scrogson> nvm, it seems that I was not identified
workmad3 has joined #ruby
xorigin has joined #ruby
eldariof has joined #ruby
jds_ has joined #ruby
simon_weber has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
simon_weber has left #ruby [#ruby]
jds__ has joined #ruby
gbchaosmaster has quit [Remote host closed the connection]
jds_ has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
tonini has joined #ruby
chimkan_ has quit [Quit: chimkan_]
gregorg has joined #ruby
gregorg has quit [Changing host]
gregorg has joined #ruby
jrn__ has joined #ruby
qwerxy has joined #ruby
cauffe has joined #ruby
workmad3 has quit [Read error: Operation timed out]
ryanlecompte has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
jrn_ has quit [Ping timeout: 240 seconds]
filipe has joined #ruby
BoomCow has quit [Ping timeout: 265 seconds]
hamed_r has joined #ruby
phred_ has joined #ruby
aharris6 has quit [Remote host closed the connection]
nomenkun has quit [Remote host closed the connection]
noyb has quit [Ping timeout: 244 seconds]
rakunHo has quit [Read error: Connection reset by peer]
justsee has quit [Quit: Leaving...]
_nitti has joined #ruby
ryanf has joined #ruby
matrixise has joined #ruby
waxjar has quit [Ping timeout: 260 seconds]
tectonic has quit [Ping timeout: 260 seconds]
ph^^ has quit [Ping timeout: 260 seconds]
sonne has quit [Ping timeout: 260 seconds]
waxjar has joined #ruby
ph^^ has joined #ruby
kenichi has quit [Ping timeout: 260 seconds]
pcarrier has joined #ruby
_nitti has quit [Ping timeout: 256 seconds]
tectonic has joined #ruby
sonne has joined #ruby
kenichi has joined #ruby
ryanf has quit [Ping timeout: 260 seconds]
djdb has quit [Read error: Connection reset by peer]
filipe has quit [Ping timeout: 245 seconds]
kil0byte_ has joined #ruby
brimil01 has quit [Quit: Linkinus - http://linkinus.com]
rippa has quit [Disconnected by services]
spinagon has joined #ruby
djdb has joined #ruby
arya_ has quit [Ping timeout: 244 seconds]
arya_ has joined #ruby
kil0byte has quit [Ping timeout: 260 seconds]
Morkel has joined #ruby
kil0byte has joined #ruby
gregorg has quit [Read error: Connection reset by peer]
gregorg has joined #ruby
gregorg has quit [Changing host]
gregorg has joined #ruby
k610 has joined #ruby
[0x1a] has quit [Max SendQ exceeded]
fixl has joined #ruby
Beoran_ has joined #ruby
arya_ has quit [Ping timeout: 245 seconds]
kil0byte_ has quit [Ping timeout: 248 seconds]
fcoury has quit [Max SendQ exceeded]
[0x1a] has joined #ruby
[0x1a] has quit [Changing host]
[0x1a] has joined #ruby
[0x1a] has joined #ruby
Beoran__ has quit [Ping timeout: 260 seconds]
cauffe has quit [Remote host closed the connection]
filipe has joined #ruby
matrixise has quit [Ping timeout: 265 seconds]
matrixis1 has joined #ruby
dmiller has quit [Remote host closed the connection]
zomgbie has joined #ruby
beiter has joined #ruby
phred_ has quit [Quit: phred_]
arya_ has joined #ruby
spike|spiegel has quit [Ping timeout: 255 seconds]
robustus has joined #ruby
spinagon has quit [Ping timeout: 276 seconds]
monkegji_ has joined #ruby
_bart has joined #ruby
ottbot has joined #ruby
wiiw has joined #ruby
<wiiw> b = 'a'.gsub!(/c/,' ') ; why b == nil ?
arya_ has quit [Ping timeout: 276 seconds]
Elhu has joined #ruby
<ottbot> wiiw, use gsub instead of gsub!
<ottbot> gsub! is meant to modify in place
<wiiw> ottbot: I know , but why ?
jds__ has quit [Remote host closed the connection]
grzywacz has joined #ruby
<witchdoc> hi all
<ottbot> i think it returns nil as a way to check if there was a match/sub
<Paradox> ʕ •ᴥ•ʔ
<wiiw> ottbot: oh.
<Paradox> ʕ •ᴥ•ʔ hello
wiiw has left #ruby [#ruby]
fantazo has quit [Remote host closed the connection]
hotovson_ has joined #ruby
ryanlecompte has joined #ruby
monkegji_ has quit [Remote host closed the connection]
jimeh has joined #ruby
pcarrier has quit []
grzywacz has quit [Ping timeout: 245 seconds]
kil0byte has quit [Ping timeout: 244 seconds]
snuglepuss has joined #ruby
grzywacz has joined #ruby
grzywacz has joined #ruby
grzywacz has quit [Changing host]
snuglepuss has quit [Max SendQ exceeded]
codeFiend has quit [Quit: codeFiend]
kil0byte has joined #ruby
snuglepuss has joined #ruby
snuglepuss has quit [Remote host closed the connection]
monkegjinni has quit [Remote host closed the connection]
Retistic has quit [Read error: Connection reset by peer]
Retistic has joined #ruby
hsbt is now known as hsbt_away
matrixis1 is now known as matrixise
qwerxy has quit [Quit: offski]
jackiechan0 has joined #ruby
ephemerian has joined #ruby
blacktulip has joined #ruby
abrongersma has quit [Quit: This computer has gone to sleep]
mercwithamouth has joined #ruby
ckrailo has quit [Quit: Computer has gone to sleep.]
rohit has joined #ruby
dmiller has joined #ruby
Iszak has joined #ruby
arturaz has joined #ruby
timonv has joined #ruby
mercwithamouth has quit [Ping timeout: 244 seconds]
kil0byte_ has joined #ruby
swex has quit [Read error: Operation timed out]
filipe has quit [Ping timeout: 276 seconds]
arya has joined #ruby
chussenot has joined #ruby
_nitti has joined #ruby
swex has joined #ruby
ryanlecompte has quit [Remote host closed the connection]
kil0byte has quit [Ping timeout: 260 seconds]
jackiechan0 has quit [Quit: Sto andando via]
bluOxigen has joined #ruby
slainer68 has joined #ruby
dmiller has quit [Ping timeout: 264 seconds]
dankest has quit [Quit: Leaving...]
cascalheira has joined #ruby
arya has quit [Ping timeout: 260 seconds]
postmodern has quit [Quit: Leaving]
sepp2k has joined #ruby
awaage has quit [Quit: awaage]
_nitti has quit [Ping timeout: 276 seconds]
lele has quit [Ping timeout: 246 seconds]
zomgbie has quit [Ping timeout: 268 seconds]
kil0byte has joined #ruby
beiter has quit [Quit: beiter]
_bart has quit [Quit: _bart]
rdark has joined #ruby
kil0byte_ has quit [Ping timeout: 264 seconds]
lele has joined #ruby
haxrbyte_ has quit [Read error: Connection reset by peer]
filipe has joined #ruby
alextheger has joined #ruby
haxrbyte has joined #ruby
vlad_starkov has joined #ruby
bbloom has joined #ruby
ninegrid has joined #ruby
ij has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
nomenkun has joined #ruby
Vainoharhainen has joined #ruby
Paradox has quit [Read error: Operation timed out]
matrixise has quit [Ping timeout: 276 seconds]
spike|spiegel has joined #ruby
LouisGB has joined #ruby
Paradox has joined #ruby
lolmaus has joined #ruby
workmad3 has joined #ruby
whowantstolivefo has quit []
nomenkun_ has joined #ruby
GeekOnCoffee has quit [Ping timeout: 244 seconds]
keanehsiao has joined #ruby
cascalheira has quit [Quit: Linkinus - http://linkinus.com]
staafl has joined #ruby
arturaz has quit [Ping timeout: 240 seconds]
robotmay has joined #ruby
brianpWins has quit [Quit: brianpWins]
IDunno has joined #ruby
Tania has joined #ruby
IDunno has quit [Quit: Page closed]
nomenkun has quit [Ping timeout: 255 seconds]
GeekOnCoffee has joined #ruby
asaaki has joined #ruby
Ruler_Of_Heaven_ is now known as pipopopo
workmad3 has quit [Ping timeout: 256 seconds]
workmad3 has joined #ruby
fyolnish has quit [Remote host closed the connection]
pcarrier has joined #ruby
dr_bob has joined #ruby
spike|spiegel has quit [Quit: leaving]
<rails> is there any way i can make this code "worse"
timmow has joined #ruby
nomenkun_ has quit [Read error: Connection reset by peer]
Iszak has quit [Quit: Textual IRC Client: www.textualapp.com]
nari has quit [Ping timeout: 268 seconds]
nomenkun has joined #ruby
atno|AFK has quit [Ping timeout: 256 seconds]
Marius has quit []
pcarrier has quit [Ping timeout: 246 seconds]
d34th4ck3r has joined #ruby
<JonnieCache> rails: what do you mean? its good code, there would be many ways to make it worse
Iszak has joined #ruby
gcds has joined #ruby
pcarrier has joined #ruby
atno has joined #ruby
lupine_85 has quit [Excess Flood]
KevinSjoberg has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
<rails> JonnieCache: trying to annoy ruby haters
Jasko has joined #ruby
<JonnieCache> still dont understand
lupine_85 has joined #ruby
jaygen has quit [Ping timeout: 252 seconds]
<rails> i want to make the code bad.
keanehsiao has quit [Quit: keanehsiao]
punkrawkR has joined #ruby
D4T has joined #ruby
fantazo has joined #ruby
jds_ has joined #ruby
dekroning has joined #ruby
<atno> morning
futilegames has joined #ruby
Dreamer3 has quit [Quit: Computer has gone to sleep.]
<JonnieCache> rails: change all the method names and variable names to random strings?
<JonnieCache> write rspec tests to verify its behaviour and then push the ast through an algorithm that randomly mutates it?
srji has joined #ruby
<JonnieCache> use your imagination
zomgbie has joined #ruby
jaygen has joined #ruby
<rails> JonnieCache: oh man
jds_ has quit [Ping timeout: 252 seconds]
qwerxy has joined #ruby
asaaki has quit [Remote host closed the connection]
pogo has quit [Ping timeout: 264 seconds]
skattyadz has joined #ruby
hemanth has quit [Quit: Leaving]
asaaki has joined #ruby
Floydzy has joined #ruby
seeingidog__ has quit [Quit: Leaving.]
atno is now known as c0smonaut
c0smonaut is now known as amorphous|ligmen
amorphous|ligmen is now known as atno
catepill1r has joined #ruby
ikaros has joined #ruby
samphippen has joined #ruby
icooba has quit [Quit: Textual IRC Client: www.textualapp.com]
Villadelfia has quit [Read error: Operation timed out]
dmiller has joined #ruby
ikaros has quit [Client Quit]
arya has joined #ruby
ikaros has joined #ruby
SeySayux has quit [Ping timeout: 245 seconds]
Xeago has joined #ruby
catepill1r has quit [Ping timeout: 244 seconds]
catepillar has quit [Ping timeout: 264 seconds]
hsbt_away is now known as hsbt
charliesome has quit [Read error: Operation timed out]
kil0byte_ has joined #ruby
catepillar has joined #ruby
Xeago has quit [Remote host closed the connection]
yoklov has quit [Quit: computer sleeping]
emergion has quit [Quit: Computer has gone to sleep.]
pogo has joined #ruby
Xeago has joined #ruby
SeySayux has joined #ruby
Villadelfia has joined #ruby
dmiller has quit [Ping timeout: 244 seconds]
kil0byte has quit [Ping timeout: 260 seconds]
_nitti has joined #ruby
lkba has quit [Ping timeout: 265 seconds]
arya has quit [Ping timeout: 244 seconds]
arya has joined #ruby
_nitti has quit [Ping timeout: 264 seconds]
havenn has quit [Remote host closed the connection]
rohit has quit [Ping timeout: 245 seconds]
grzywacz has quit [Ping timeout: 245 seconds]
slamice has quit [Quit: slamice]
skattyadz has quit [Quit: skattyadz]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
nomenkun has quit [Remote host closed the connection]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
nomenkun has joined #ruby
skattyadz has joined #ruby
arya has quit [Ping timeout: 244 seconds]
skattyadz has quit [Client Quit]
Kartagis has joined #ruby
<Kartagis> hi
ryanlecompte has joined #ruby
pha3z has quit []
az7ar has quit [Ping timeout: 260 seconds]
hsbt is now known as hsbt_away
tvw has joined #ruby
kil0byte has joined #ruby
grzywacz has joined #ruby
dakine has quit [Ping timeout: 244 seconds]
kil0byte_ has quit [Ping timeout: 256 seconds]
arya has joined #ruby
JohnBat26 has joined #ruby
ryanlecompte has quit [Ping timeout: 245 seconds]
Tania has quit [Quit: :p]
srji has quit [Ping timeout: 244 seconds]
tuannat has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
ananthakumaran has quit [Read error: Connection reset by peer]
ananthakumaran1 has joined #ruby
florianb has joined #ruby
srji has joined #ruby
m4rtijn has joined #ruby
<m4rtijn> hi
florianb has quit [Client Quit]
fyolnish has joined #ruby
atmosx has joined #ruby
tomsthumb has quit [Quit: Leaving.]
vlad_starkov has quit [Remote host closed the connection]
mklappstuhl has joined #ruby
d34th4ck3r has quit [Ping timeout: 244 seconds]
samphippen has quit [Quit: Computer has gone to sleep.]
rohit has joined #ruby
beiter has joined #ruby
jamesaxl has quit [Ping timeout: 245 seconds]
atmosx_ has joined #ruby
atmosx has quit [Ping timeout: 276 seconds]
Morkel has quit [Quit: Morkel]
mklappstuhl has quit [Ping timeout: 245 seconds]
oivoodoo_ has quit [Remote host closed the connection]
jojosiao has left #ruby [#ruby]
rakl has quit [Quit: sleeping]
d2dchat has quit [Remote host closed the connection]
oivoodoo has joined #ruby
shiin has joined #ruby
keymone has joined #ruby
gmci_ has quit [Quit: Computer has gone to sleep.]
kil0byte_ has joined #ruby
pavilionXP has quit [Ping timeout: 245 seconds]
tonini has quit [Remote host closed the connection]
kil0byt__ has joined #ruby
icooba has joined #ruby
kil0byte has quit [Ping timeout: 276 seconds]
arturaz has joined #ruby
samuel02 has quit [Remote host closed the connection]
matrixise has joined #ruby
adambeynon has joined #ruby
Retistic has quit [Read error: Connection reset by peer]
kil0byte_ has quit [Ping timeout: 265 seconds]
samphippen has joined #ruby
Retistic has joined #ruby
clocKwize has quit [Read error: Connection reset by peer]
nilg has quit [Read error: Connection reset by peer]
emergion has joined #ruby
pcarrier has quit []
twinturbo has quit [Quit: twinturbo]
seeingidog__ has joined #ruby
emergion has quit [Client Quit]
zomgbie has quit [Ping timeout: 260 seconds]
dmiller has joined #ruby
Kartagis has left #ruby ["Yeah"]
seeingidog__ has quit [Ping timeout: 252 seconds]
dmiller has quit [Read error: Operation timed out]
cantonic has quit [Quit: cantonic]
_nitti has joined #ruby
arya has quit [Ping timeout: 244 seconds]
arya has joined #ruby
atmosx_ has quit [Ping timeout: 276 seconds]
atmosx_ has joined #ruby
_nitti has quit [Ping timeout: 240 seconds]
hamed_r has quit [Ping timeout: 268 seconds]
dpk has quit [Ping timeout: 252 seconds]
Guest59734 has joined #ruby
fantazo has quit [Remote host closed the connection]
atmosx_ has quit [Ping timeout: 276 seconds]
hemanth has joined #ruby
dekroning has quit [Ping timeout: 251 seconds]
kil0byte has joined #ruby
arya has quit [Ping timeout: 244 seconds]
hemanth has quit [Client Quit]
r0bby has joined #ruby
kil0byt__ has quit [Ping timeout: 248 seconds]
xnm has joined #ruby
arya has joined #ruby
jackiechan0 has joined #ruby
robbyoconnor has quit [Ping timeout: 244 seconds]
wallerdev has quit [Quit: wallerdev]
srji has quit [Ping timeout: 244 seconds]
keanehsiao has joined #ruby
berserkr has joined #ruby
statarb3 has quit [Quit: Leaving]
arya has quit [Remote host closed the connection]
futilegames has quit [Quit: futilegames]
arya has joined #ruby
charliesome has joined #ruby
bier_ has quit [Read error: Operation timed out]
bier has quit [Ping timeout: 260 seconds]
pcarrier_ has joined #ruby
arya has quit [Ping timeout: 244 seconds]
larissa has joined #ruby
slainer68 has quit [Remote host closed the connection]
catphish has joined #ruby
<catphish> could anyone help me guess what character encoding this data might be: M�lle�en => [77, 248, 108, 108, 101, 229, 101, 110]
<Xeago> ascii extended?
<Xeago> hmm
<catphish> what's thet in ruby?
arya has joined #ruby
r0bby has quit [Ping timeout: 246 seconds]
<catphish> i don't think it's ascii-8
<Xeago> it is not a 2byte encoding
<catphish> no, looks like a 1 byte ascii extension (assuming that word needs a vowel as its second character)
krz has quit [Quit: krz]
<Xeago> it is not the US ascii extended either
<Xeago> as that would mean that the second character is something like the degree sign
<JonnieCache> catphish: allow me to present the most awesomely-named project ever: https://github.com/brianmario/charlock_holmes
<catphish> :)
hoelzro is now known as hoelzro|away
Nathandim has joined #ruby
<shevy> guys
<shevy> I usually have all my .rb files run with -w flag
<shevy> now I have here a script, which is buggy, and I have to fix it, but it may take some hours
<shevy> is there a way to suppress the -w flag, or toggle it on a per-object basis or something, lateron?
cdt has joined #ruby
<catphish> => {:type=>:text, :encoding=>"ISO-8859-1", :confidence=>66, :language=>"da"}
chussenot has quit [Quit: chussenot]
hamed_r has joined #ruby
<catphish> clever but probably wrong
<catphish> "M\xF8lle\xE5en" << the original data
<shevy> aaaah sweet sweet Encoding problems
<shevy> looks almost like german there
bier_ has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
<catphish> It's from denmark
apeiros_ has joined #ruby
bier has joined #ruby
srji has joined #ruby
<catphish> i really expect it to be ISO 8859
<catphish> but can't make any sense of it
<catphish> oh - 0xF80x00F8#LATIN SMALL LETTER O WITH STROKE
malkomalko has joined #ruby
moshee has quit [Ping timeout: 246 seconds]
<catphish> i think it's just my terminal fooling me into thinking it's invalid
<catphish> yep!
<catphish> .force_encoding('ISO-8859-1').encode('UTF-8') works
<catphish> irb just didn't seem able to do the latter encode automatically
<catphish> thanks
ssspiff has joined #ruby
sspiff has quit [Ping timeout: 244 seconds]
jord has left #ruby [#ruby]
jackiechan0 has quit [Quit: Sto andando via]
somazero has joined #ruby
dmiller has joined #ruby
pen has joined #ruby
Virunga has joined #ruby
hoelzro|away is now known as hoelzro
dhruvasagar has quit [Read error: Operation timed out]
dmiller has quit [Ping timeout: 246 seconds]
<shevy> cool
Juul has quit [Ping timeout: 265 seconds]
IRLConor has joined #ruby
[Neurotic] has quit [Ping timeout: 252 seconds]
moshee has joined #ruby
emergion has joined #ruby
Virunga has quit [Remote host closed the connection]
ph^^ has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
gyre008 has joined #ruby
srji has quit [Quit: Lost terminal]
<gyre008> gents...can someone explain to me what I'm doing wrong that the following simple code snippet isn't returning any results while simple curl is ? https://gist.github.com/4117625
emergion has quit [Quit: Computer has gone to sleep.]
jackiechan0 has joined #ruby
bpfh has quit [Ping timeout: 246 seconds]
gcds has quit [Ping timeout: 245 seconds]
Nathandim has quit [Remote host closed the connection]
Nisstyre has quit [Ping timeout: 265 seconds]
slainer68 has joined #ruby
<apeiros_> gyre008: just guessing - you probably terminate the ruby script before the callback is invoked
samphippen has joined #ruby
<gyre008> yeah I put EM.stop inside the callback and all works fine...mm...my mistake...stupid copy-paste errors ;)
<gyre008> cheers apeiros_
zigomir has quit [Quit: Leaving]
arya has quit [Ping timeout: 246 seconds]
somazero has quit [Quit: Leaving]
kirun has joined #ruby
jackiechan0 has quit [Quit: Sto andando via]
arya has joined #ruby
bpfh has joined #ruby
futilegames has joined #ruby
bwlang has joined #ruby
keanehsiao has quit [Quit: keanehsiao]
JustinCampbell has joined #ruby
chussenot has joined #ruby
Nisstyre has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
clocKwize has joined #ruby
zigomir has joined #ruby
arya_ has joined #ruby
malkomalko has quit [Remote host closed the connection]
pcarrier_ has quit []
bwlang has left #ruby [#ruby]
mengu has joined #ruby
arya has quit [Ping timeout: 265 seconds]
ffranz has joined #ruby
jamesaxl has joined #ruby
<Xeago> how to do secure text entry in ruby?
jeffreybaird has joined #ruby
skaczor has joined #ruby
jxf has joined #ruby
rohit has quit [Quit: Leaving]
fixl has quit [Read error: No route to host]
fixl has joined #ruby
skattyadz has joined #ruby
statarb3 has joined #ruby
arya_ is now known as arya
trevortwining has joined #ruby
Danielpk has joined #ruby
bwlang has joined #ruby
Danielpk has left #ruby [#ruby]
JonnieCache has quit [Quit: Reconnecting]
JonnieCache has joined #ruby
alextheger has left #ruby [#ruby]
dmiller has joined #ruby
Mon_Ouie has quit [Ping timeout: 240 seconds]
apeiros_ has quit [Remote host closed the connection]
habib has joined #ruby
arya has quit []
arya has joined #ruby
abionic has joined #ruby
dmiller has quit [Ping timeout: 246 seconds]
_nitti has joined #ruby
ttt has quit [Remote host closed the connection]
<habib> hi everyone! what if i installed ruby using RVM? Do i need to install gems some special way? or just gem install ...?
mark_locklear has joined #ruby
ABK has quit [Ping timeout: 252 seconds]
apeiros_ has joined #ruby
jonathanwallace has joined #ruby
<ddd> as the rvm site shows in the docs, you just install as normal
<habib> ah ok thnx.
<ddd> rvm.io
Guest59734 is now known as dpk
pcarrier has joined #ruby
pcarrier has quit [Max SendQ exceeded]
peter1 has joined #ruby
pcarrier has joined #ruby
jprovazn has quit [Quit: Leaving]
_nitti has quit [Ping timeout: 264 seconds]
apeiros_ has quit [Remote host closed the connection]
MarcWeber has joined #ruby
bwlang has left #ruby [#ruby]
x0F has quit [Disconnected by services]
x0F_ has joined #ruby
samphippen has joined #ruby
x0F_ is now known as x0F
<MarcWeber> Is this valid syntax in any known ruby version? http://dpaste.com/833739/
<MarcWeber> line 6: float: should this be float; ?
krawchyk has joined #ruby
<sonne> how do you change the program name in ruby? $0 = 'foo' doesn't seem to work, the program is not found by tools like killall
<Xeago> isn't it always going to be called ruby, or whatever executable is used as interpreter?
dr_bob has quit [Quit: Leaving.]
<sonne> Xeago, well... if i run unicorn, for example, i can 'killall unicorn'
<MarcWeber> Xeago: on linux you pass the name as argument to exeucv* like functions. It usually is the same as the filename.
<JonnieCache> sonne: thats because unicorn is run from a file called unicorn
<sonne> MarcWeber, i think there is a typo...
<sonne> JonnieCache, well mine is being run from a file called 'a.rb', still 'killall a.rb' doesn't find it, but 'killall ruby' does
<sonne> MarcWeber, on line 6 you might want to change :float: to :float;
<JonnieCache> you are still running "ruby a.rb" though, correct?
<sonne> nope, ./a.rb
<JonnieCache> hmmm
<sonne> even in C overwriting argv[0] is not enough, you have to use 'setproctitle' - which ruby doesn't implement... but i wonder how can unicorn and other tools do this trick
samphippen has quit [Ping timeout: 260 seconds]
<Xeago> isn't unicorn in c?
<sonne> nope, ruby
<Xeago> so it has access to setproctitle?
<MarcWeber> So it may depend no ruby version
fbernier has joined #ruby
notwen_ has joined #ruby
<sonne> MarcWeber, i've seen that thread, but it doesn't seem really useful...
iamjarvo has joined #ruby
mikecmpbll has quit [Quit: Computer has gone to sleep.]
<MarcWeber> sonne: Then reread. Its saying that $0 = str works
<sonne> but it doesn't
<sonne> hold on
<Xeago> "142620 MarcWeber: So it may depend no ruby version"
notwen has quit [Ping timeout: 248 seconds]
<hoelzro> sonne: does it work in ps/top, but not with killall?
d34th4ck3r has joined #ruby
nanderoo has joined #ruby
geekbri has joined #ruby
<sonne> hoelzro, exactly
Retistic has quit [Quit: Retistic]
<hoelzro> sonne: what OS are you on?
<sonne> ubuntu 12.04, running latest 1.9.3 from rbenv
dr_bob has joined #ruby
ofcan has joined #ruby
<sonne> also, the thread doesn't mention ruby versions...
<ofcan> hi guys! I have some experience with Rails, JS, jQ etc, but not much with ruby. I'm trying to implement this > upload a file to my webpage. than upon each change of that file, automatically upload to webpage. how hard is it to implement and where to start? any help is greatly appreciatted!
samuel02 has joined #ruby
<ofcan> and is it ok to try to implement this with ruby?
Elico has joined #ruby
<sonne> ofcan, how would you handle the "automatically upload upon each change"?
<ofcan> sonne: don't know, that's why I ask. Can't I monitor the file somehow, like the times the file changed or something?
<sonne> i don't think you can, if you're talking about a webapp
<Xeago> I think he's talking about something he runs locally
c0rn has quit [Quit: Computer has gone to sleep.]
<Xeago> that detects the changes and then uploads
<sonne> if the program is supposed to be ran on the client then i guess it shouldn't really be a hassle
<ofcan> sonne: something similar to git hooks?
<sonne> i'd go for fuse, might be the easiest way
d34th4ck3r has quit [Ping timeout: 276 seconds]
<sonne> (if your OS supports it of course)
<hoelzro> inotify would also work
<hoelzro> or kqueue/FSEvents
<Xeago> ofcan: what os?
cakehero has joined #ruby
<ofcan> Xeago: I am trying to build it regardless of the os
apeiros_ has joined #ruby
<Xeago> tricky :)
<sonne> ofcan, you'll have to replicate the monitoring code then.... i don't think there is a solution that works on all platforms
<hoelzro> unfortunately, monitoring files for changes isn't guaranteed to be implemented by an OS
pcarrier has quit []
<hoelzro> and in those that it is, it's usually wildly different
<Xeago> I think the most compatible is something you write yourself from scratch, that compares contents of file every time it accesses it
samphippen has joined #ruby
cakehero has quit [Client Quit]
<hoelzro> I started a project to do this a while back, it's a difficult problem =)
AndChat| has joined #ruby
<sonne> aye... maybe a File.mtime in a loop?
jeffreybaird has quit [Quit: jeffreybaird]
<Xeago> expecting sane users that could do, but how precise is mtime?
<hoelzro> ofcan: how many files do you need to monitor?
<hoelzro> Xeago: one second
mikecmpbll has joined #ruby
jeffreybaird has joined #ruby
<ofcan> hoelzro: preferably many ( prolly 10- 20 )
<Xeago> also, rsync'ing it forever could work, if you don't care about performance
<Xeago> rsync will detect changes afaik
joofsh has joined #ruby
<Xeago> and is like basically everywhere
pcarrier has joined #ruby
<ofcan> Xeago: would the user have to download something for the rsync to work and monitor the files correctly?
habib has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
<sonne> Xeago, well not really... it's not very easy to get it on windows
<Xeago> there's cygwin
<Xeago> kinda easy
tvw has quit [Ping timeout: 246 seconds]
<sonne> Xeago, relatively... the average joe would never want to even know what cygwin is - depends on the target audience i guess
<Xeago> this sounds mostly for developers
<sonne> anyway ofcan, yours looks much like a design issue... you should first figure out how your program would work and then check whether ruby is the best tool for it
samuel02 has quit [Remote host closed the connection]
<ofcan> yes, the target audience doesn't know anything about computers except bare minimums. all they should do is log to my website, select upload file or folder, select it, and upon each change that file would be uploaded to cloud. thats the idea :)
<Xeago> what
<Xeago> from a webapp?
invisime has joined #ruby
<ofcan> Xeago: that is the ultimate idea. :)
<sonne> then <sonne> i don't think you can, if you're talking about a webapp
<Xeago> how'd you regain access? hidden form that saves the paths to files and post/put that over constantly?
pavilionXP has joined #ruby
tommyvyo has joined #ruby
pcarrier has quit [Ping timeout: 244 seconds]
<ofcan> Xeago: what if they download the client locally.. than it's easy, right?
<Xeago> kinda
Virunga has joined #ruby
<Xeago> but are you going to package ruby with the download?
<Xeago> I would go for several clients doing the same thing depending on platform
pcarrier has joined #ruby
<Xeago> or you could go java and depend on that, which is bnecoming more uncommon nowadays
gmci has joined #ruby
<sonne> there's a whole world out there about packaging standalone ruby applications..
gmci is now known as Guest28589
<Xeago> :O
jeffreybaird has quit [Quit: jeffreybaird]
raunicolae has quit [Quit: Leaving]
samphippen has quit [Ping timeout: 244 seconds]
<sonne> btw, any ideas for http://pastie.org/5406056 yet?
Uranio has joined #ruby
ananthakumaran1 has quit [Quit: Leaving.]
ner0x has joined #ruby
ThaDick has joined #ruby
<ofcan> hmmm... so the principle would be this > download the client > select files and folders to monitor > when they change, upload them to my account to cloud
<ofcan> doable, right?
phantasm66 has quit [Quit: *sleeeeep*]
JonnieCache has quit [Quit: Lost terminal]
JonnieCache has joined #ruby
_alejandro has quit [Remote host closed the connection]
jrist-afk is now known as jrist
xsbeats has joined #ruby
pavilionXP has quit [Ping timeout: 255 seconds]
hamed_r has quit [Quit: Leaving]
xsbeats_ has joined #ruby
pothibo has joined #ruby
xsbeats_ has left #ruby [#ruby]
tk__ has joined #ruby
mmitchell has joined #ruby
dmiller has joined #ruby
monkegjinni has joined #ruby
phelps has quit [Quit: Linkinus - http://linkinus.com]
macabre has joined #ruby
<catphish> ofcan: you almost certainly want to build a daemon in C to sit alongside the webapp and monitor file changes
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
<catphish> once it's installed it can be invisibly controlled by the web app
prezioso has joined #ruby
seeingidog__ has joined #ruby
lolmaus has quit []
dmiller has quit [Ping timeout: 246 seconds]
<catphish> building that side of it in ruby is possible, but much harder to package
<catphish> the functionality exists though
<catphish> or y'know, buy dropbox :)
dekroning has joined #ruby
<Xeago> to be honest, dropbox isn't that bad of an idea
kil0byte_ has joined #ruby
swarley has joined #ruby
<Xeago> you can get granted access to a folder
<Xeago> and the user just works in that
phelps has joined #ruby
<catphish> i assume he has reasons for wanting to duplicate it though
<Xeago> at that point he is at an environment he can control, so he's free to use whatever technology he wants
samphippen has joined #ruby
<catphish> i just wrote an app that delivers notifications to desktop users: http://notiapp.com
<catphish> had to learn C frameworks on windows, linux and OS X
GoGoGarrett has joined #ruby
m4rtijn has left #ruby ["Verlassend"]
<swarley> catphish; Did you use libnotify for linux?
<catphish> to write apps to integrate with the ruby server side app
<catphish> swarley: yes
<swarley> good man
<catphish> gtk+-3.0 libnotify gstreamer-0.10 openssl libcurl
kil0byte has quit [Ping timeout: 260 seconds]
seeingidog__ has quit [Ping timeout: 256 seconds]
<catphish> i didn't do the windows and OS X apps personally, i'm told windows was the hardest because there's no notification library (until win 8 anyway)
<catphish> linux is my area
<catphish> and i design the protocols
<Xeago> windows has it within .net but only halfly
Slivka has joined #ruby
<catphish> interesting project anyway
<Xeago> requires .net 4.5 thp
<Xeago> not sure if that is supported on vista
ssspiff has quit [Remote host closed the connection]
<catphish> people keep asking me to build a dropboxy file upload tool
<catphish> could probably do it now
<Xeago> isn't there filethingy.io
Guest92676 has joined #ruby
<catphish> there was nothing free last time i looked
<catphish> but may be now
niklasb has joined #ruby
<catphish> looks like another proprietary dropbox clone
<Xeago> nah, that isn't dropbox clone :)
<catphish> or is it for sending
<Xeago> it is for developers mostly
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
<catphish> ah ok
<Xeago> if you use their api, you can present a very nice upload screen
<Xeago> and get an url to the file
<catphish> cool
<Xeago> users can use s3 dropbox local file, etc
vlad_starkov has joined #ruby
<Xeago> box.com and others
<catphish> i pretty much just use git for my team stuff
<catphish> especially as i run one of the major gist hosting providers :)
<catphish> *git
<Xeago> :O
<Xeago> mind elaborating?
<Xeago> builtin timetracking
<Xeago> that be interesting
<catphish> it's a kinda all-in-one development tool
<catphish> git / project management
ttt has joined #ruby
<catphish> sorry, i generally avoid advertising too much here
<Xeago> no need to be sorry, I like it
<catphish> it's a good tool
<Xeago> I could rather thank you, using beebole atm
<Xeago> not really satisfied with that
jeffreybaird has joined #ruby
jsegura has joined #ruby
<catphish> tbh time tracking is by far the weakest part of the product
phantasm66 has joined #ruby
<catphish> we don't have any of the reporting tools they do
<Xeago> can I link to issue's?
<catphish> yes
<Xeago> asin, spend x time on issue 38
<catphish> and add time from git commits
<Xeago> sufficient for me :)
<Xeago> that is just sweet
<JonnieCache> i use codebase :)
<JonnieCache> or used to
<JonnieCache> its good
<catphish> you can make a commit message like "fix issue 10 [resolved:10] {t:60}"
<catphish> which updates the issue and add time
<JonnieCache> thats the thing i miss about it
<Xeago> hmm, why require [resolved:10]
tomsthumb has joined #ruby
<catphish> so it knows what ticket to update and what status to apply to it
tobinharris has joined #ruby
<Xeago> can't that be parsed out of "fix issue 10" ?
<catphish> nope :)
<brendan-> then you'd be forced to make the commit messages the same
<catphish> fix issue 10 was just some arbitrary english text
tnk1 has quit [Ping timeout: 246 seconds]
<JonnieCache> not if you want to stay sane
<brendan-> i like the little template/placeholder
andrewhl has joined #ruby
<catphish> you could just do "[resolved:10] {t:60}"
ttt has quit [Ping timeout: 276 seconds]
<Xeago> Hmm, I find myself often committing like that
<catphish> but your changelog would be boring
<brendan-> "this is a cool commit [resolved:23]"
<brendan-> i like that format better
<Xeago> and a more detailed explanation on the 3rd-end lines
sailias has joined #ruby
bwlang has joined #ruby
<Xeago> I honestly dislike, maybe even hate such a commit brendan
<Xeago> the title line of the commit message tells me less than the [resolved:23] does
phantasm66 has quit [Ping timeout: 252 seconds]
asaaki has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 245 seconds]
<Xeago> "fix issue 10\n\nThere are some very nice bits in the code\n especially file.lang:123-130"
<Xeago> if that makes a bit of sense
<catphish> i usually go with "add a validation to prevent customers with blank names [resolved:10] {t:15}"
<catphish> never used multiline messages personally
asaaki has joined #ruby
<brendan-> my commit messages wouldn't be literally like that, but it'd be "updated index.html to include <marquee> and also added the CSS to style the marquee. [resolved:5]"
<Xeago> brendan-: that is way more than 72 characters..
<Xeago> and won't display nicely in git log's..
<brendan-> but you get an idea of what i specify
<Xeago> I do but the significance of the commit is shady without the [resolved:5]
ABK_ has joined #ruby
nateberkopec has joined #ruby
nomenkun_ has joined #ruby
v0n has joined #ruby
abionic has quit [Ping timeout: 245 seconds]
Iszak has quit [Quit: Textual IRC Client: www.textualapp.com]
iamjarvo has quit [Quit: Computer has gone to sleep.]
guy__ has joined #ruby
volta has joined #ruby
<catphish> it can be cool to go the other way and see all commits that related to an issue
<Xeago> "When you change, we will change your limits straight away and start your new billing amount from your next renewal date"
<Xeago> thanks for that
vlad_starkov has joined #ruby
<Xeago> I dispute services that don't do that
<Xeago> :)
nomenkun has quit [Ping timeout: 245 seconds]
hotovson_ has quit [Ping timeout: 245 seconds]
<Xeago> that for me makes it clear that focus isn't on money but on the service
<catphish> if someone is using the extra resources they will pay for them soon enough
<catphish> we focus on making things easy where possible
<Xeago> catphish: yes, you mean that in the recommended git commit format, the 1 liners don't tell as much when focusing on just 1 issue?
dr_bob has quit [Quit: Leaving.]
<Xeago> I guess it is easier in the code as well, isn't it?
<catphish> the pro-rated upgrades?
<Xeago> "the pro-rated upgrades"?
tomsthumb has quit [Quit: Leaving.]
<catphish> sorry, what's easier in the code?
<Xeago> not rebilling immediately
dmerrick has joined #ruby
cakehero has joined #ruby
<Xeago> but at the next monthly billing periodthingy
hotovson has joined #ruby
<catphish> actually, my team tell me it's changed
<catphish> because people can now pay for up to a year in advance
<catphish> if the upgrade would code more than £5 we do charge
<catphish> better update that!
ToTo has joined #ruby
answer_42 has joined #ruby
piotr__ has joined #ruby
arya has quit [Read error: Connection reset by peer]
piotr_ has quit [Ping timeout: 240 seconds]
<catphish> we couldn't give people a whole year of upgrade :)
jonathanwallace has quit [Remote host closed the connection]
volta has quit [Remote host closed the connection]
arya has joined #ruby
<Xeago> yea, seems fair for yearly payments. Monthly payments still have the immediate upgrade stuff?
miss0r has joined #ruby
<catphish> it's done on value now
<Xeago> ah ok
<Xeago> fair aswell :)
_alejandro has joined #ruby
<catphish> it calculates the difference in plans, times the length of time
<catphish> and if it's less then £5 then it's free
joofsh has quit [Remote host closed the connection]
joofsh has joined #ruby
<catphish> there's no point raising invoices for small amounts of money, it's just more unnecessary admin work (mainly for the customers, as ours is automated)
<Xeago> uhu, totally
cezar has quit [Remote host closed the connection]
jxf has quit [Ping timeout: 245 seconds]
<guy__> I'm trying to run "bundle install" on a Gemfile, however I'm getting http://pastebin.com/N09zU7Up " syntax error, unexpected ':', expecting $end \r\n gem "grit", git: :"https://github.com/gitlabhq.. " , can anyone hint why ?
x82_nicole has joined #ruby
skattyadz has quit [Quit: skattyadz]
samphippen has quit [Quit: Computer has gone to sleep.]
Goles has joined #ruby
margle has quit [Quit: Computer has gone to sleep.]
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
<Xeago> argh you do drive left in england!
<catphish> yep
<Xeago> ever tried right?
<catphish> yeah, in europe
fixl has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<catphish> it's kinda the same
djdb has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
<Xeago> how does it feel if you are used to left?
<Xeago> :O
<catphish> but i wouldn't want to shift gears with my other hand
<catphish> so i wouldn't want a car with the wheel on the other side
dr_bob has joined #ruby
<grzywacz> wheels should be in the middle
<Xeago> did you drive on the right side(car) on the right
<Xeago> grzywacz: only seen 1 car in my life that had that..
chimkan_ has joined #ruby
<catphish> we drive with the driver seat on the right (you have to if you drive on the left else you can't see anything)
chimkan_ has quit [Client Quit]
<catphish> driving my car on the right is annoying because my seat is on the right so i can't see much :)
<catphish> personally i prefer my sports bike :D
mohanmcgeek has joined #ruby
<Xeago> so you did have the driver seat on the right when you were driving on the right?
<Xeago> that must be insane
<Xeago> I wonder if it is even legal
<catphish> yes, that's annoying
<catphish> it's legal, lots of imported cars here have the seat on the left
<catphish> it's not ideal though
<Xeago> wouldn't want to do that, won't feel safe..
mikepack has joined #ruby
<guy__> anyone ?
<Xeago> I've given my girlfriend some driving lessons in sweden, for the first 10 hours or so I let her focus on steering, acceleration and looking
<Xeago> quite comfy with both hands nowadays
<catphish> "steering, acceleration and looking", isn't that all there is? :)
<Xeago> mwah, first I did accel aswell, but I dropped it later
<apeiros_> catphish: there's also "crashing"
<Xeago> apeiros_: lol
<catphish> lol, i've tried that once or twice
<catphish> actually 3 times if you include falling off my bike :(
<apeiros_> does "being fallen off" the bike also count? :)
<catphish> yep :)
<catphish> if it hurts it counts
<apeiros_> heh
morf has quit [Quit: eof]
<apeiros_> does that passive form work well in english? o0
<Xeago> aww, I'm over 8 thousand then!
<apeiros_> (we do it in german, it's actually not a valid form, so it's kind of jokingly, but it works well to convey the message…)
frem has joined #ruby
<catphish> apeiros_: it's a joke form here too
<apeiros_> hah
<catphish> understandable, but wrong, and amusing
<apeiros_> great
<Xeago> 'having fallen off' would be more suited, wouldn't it?
<catphish> i think he means being knocked off?
<apeiros_> Xeago: not sure, that'd be active, no?
hakunin has joined #ruby
<catphish> by somebody else
xclite has quit [Remote host closed the connection]
<apeiros_> yes
nivoc has joined #ruby
<apeiros_> i.e., you were not the cause of falling off
phantasm66 has joined #ruby
<Xeago> hmm, ok
<catphish> "being knocked off" is the correct form
jonathanwallace has joined #ruby
<catphish> being fallen off is ironic because "falling" is an accidental action
<apeiros_> but funny, so english shares that wrong but amusing form :)
<catphish> yes
chussenot_ has joined #ruby
Morkel has joined #ruby
linoj has joined #ruby
xclite has joined #ruby
arya has quit [Read error: Connection reset by peer]
itchyouch has joined #ruby
arya has joined #ruby
berserkr has quit [Ping timeout: 245 seconds]
<catphish> come to think of it, the form is perfectly valid, it's only the choice of verb that's funny/wrong :)
quest88_ has joined #ruby
<catphish> anyway, back to coding
<catphish> i'm writing recursive linking of issues (dependencies / duplicates)
chussenot has quit [Ping timeout: 245 seconds]
chussenot_ is now known as chussenot
cascalheira has joined #ruby
samphippen has joined #ruby
jonathanwallace has quit [Ping timeout: 248 seconds]
d34th4ck3r has joined #ruby
arya has quit [Read error: Connection reset by peer]
clj_newb has joined #ruby
arya has joined #ruby
man40khi_ has joined #ruby
jxf has joined #ruby
bluOxigen has quit [Ping timeout: 240 seconds]
ejnahc has quit [Remote host closed the connection]
ejnahc has joined #ruby
<JonnieCache> GRAPH THEORY FTW
man40khi_ has quit [Read error: Connection reset by peer]
tomsthumb has joined #ruby
bluOxigen has joined #ruby
seeingidog__ has joined #ruby
seanyo has joined #ruby
banisterfiend has joined #ruby
<banisterfiend> look at how cool my computer looks with a pry sticker on it, im sure you guys will all want one too: https://dl.dropbox.com/u/26521875/pics/2012-11-20%2015.52.33.jpg
kennyvb has quit [Ping timeout: 244 seconds]
<Xeago> quite cool yea, but the OCD in me wants you to move the laptop off the power cord
<catphish> yeah, shouldn't be on the power cord
stopbit has joined #ruby
<catphish> i'd untangle those earphones too
<Xeago> it looks carefully tangled
<Xeago> might be for length
<Xeago> even then it is annoying for my ocd :)
<banisterfiend> hehe
seeingidog__ has quit [Ping timeout: 264 seconds]
<banisterfiend> fair points
kennyvb has joined #ruby
philcrissman has joined #ruby
<Xeago> did you get em from devswag banisterfiend?
<Xeago> the description is off
<banisterfiend> yeah..
<Xeago> I hope it goes to pry not juqery
mohanmcgeek1 has joined #ruby
<banisterfiend> yeah, me too :)
quest88_ has quit [Quit: quest88_]
mohanmcgeek has quit [Ping timeout: 252 seconds]
areil_ has quit []
<witchdoc> how can i convert strings with time values if i didnt have the datetime.strptime method?
vlad_starkov has quit [Read error: Connection reset by peer]
twopoint718 has joined #ruby
twopoint718 has quit [Changing host]
twopoint718 has joined #ruby
vlad_starkov has joined #ruby
skattyadz has joined #ruby
berserkr has joined #ruby
mahmoudimus has joined #ruby
_nitti has joined #ruby
ThaDick has quit [Quit: zzzZZZ ...]
iamjarvo has joined #ruby
mohanmcgeek1 has quit [Ping timeout: 260 seconds]
ejnahc has quit [Quit: leaving]
arya_ has joined #ruby
ejnahc has joined #ruby
_bart has joined #ruby
<arturaz> require 'time'; Time.parse(str)
mahmoudimus has quit [Client Quit]
zommi has quit [Quit: Leaving.]
<Cadwallion> > ungodly-o-clock
arya__ has joined #ruby
chussenot has quit [Remote host closed the connection]
chussenot has joined #ruby
itchyouch has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
arya has quit [Ping timeout: 245 seconds]
arya__ is now known as arya
arya_ has quit [Ping timeout: 276 seconds]
fantazo has joined #ruby
dhruvasagar has joined #ruby
tk__ has quit [Quit: ばいばい]
guy__ has quit [Ping timeout: 252 seconds]
elsifaka has quit [Quit: Veloma e!]
jeffreybaird has quit [Quit: jeffreybaird]
tagrudev has quit [Remote host closed the connection]
jeffreybaird has joined #ruby
atno is now known as atno|AFK
chimkan_ has joined #ruby
twopoint718 has quit [Quit: leaving]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
flip_digits has joined #ruby
nomenkun_ has quit [Read error: Connection reset by peer]
<catphish> JonnieCache: graphs and trees are always good fun, learned more since starting with C
jstew has joined #ruby
nomenkun has joined #ruby
ananthakumaran has joined #ruby
eldariof has quit [Ping timeout: 248 seconds]
jlast has joined #ruby
SCommette has joined #ruby
JohnBat26 has quit [Ping timeout: 260 seconds]
<Uranio> hi, I have this error from ASCII-8BIT to UTF-8 (Encoding::UndefinedConversionError)
<Uranio> /usr/local/lib/ruby/gems/1.9.1/gems/mail-2.5.2/lib/mail/fields/unstructured_field.rb:149:in `encode!': "\xC3" from ASCII-8BIT to UTF-8 (Encoding::UndefinedConversionError)
<Uranio> how could I pass it, I mean, no matter how the character see when come outside
<Uranio> just for not stop the program
chrishunt has joined #ruby
larissa has quit [Quit: Leaving]
<Xeago> if the input is truly ascii-8bit, there is no reason it should fail
alex__c2022 has joined #ruby
<Uranio> well, but fail
<Xeago> you could rescue but not sure how that would affect the rest of your program
grzywacz has quit [Quit: :wq]
mohanmcgeek has joined #ruby
volta has joined #ruby
arturaz has quit [Remote host closed the connection]
ryannielson has joined #ruby
KevinSjoberg has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
ffranz1 has joined #ruby
<Uranio> begin
<Uranio> # trata de codificar la pagina
<Uranio> pagina.encode! Encoding::UTF_8 if pagina.encoding != Encoding::UTF_8
u89 has joined #ruby
<Uranio> # si falla codificala a la fuerza a como de lugar
<Uranio> rescue Encoding::UndefinedConversionError
<Uranio> pagina.force_encoding Encoding::UTF_8
<Uranio> end
<Uranio> Xeago: problem solved
<apeiros_> problem delayed
<workmad3> ^^
<workmad3> force_encoding just manually sets the encoding attribute doesn't it? it doesn't actually transcode any bytes
<apeiros_> you have to force_encode it to the source encoding
dnstbr has joined #ruby
<apeiros_> then encode! it to utf-8
<Uranio> < Uranio | how could I pass it, I mean, no matter how the character see when come outside>
<apeiros_> and since you speak italian, I'd say it's 80% windows-latin1 and 20% macroman
ffranz has quit [Ping timeout: 260 seconds]
<workmad3> Uranio: what you have is (if it's ASCII-8bit) binary data, which means it can have arbitrary byte sequences that don't make sense as UTF-8... if it's not binary data, and really something else, do as apeiros_ said and force the encoding to the *source*, not the target
<apeiros_> Uranio: base rules of encodings: there is NO reliable way of detecting the encoding automatically.
<apeiros_> Uranio: which means your source MUST supply the encoding.
<apeiros_> everything else is just asking for trouble.
cakehero has quit [Quit: Computer has gone to sleep.]
<Uranio> we know where the accutes are, I the spanish talker see acci?n their see ass acción
jxf has quit [Ping timeout: 246 seconds]
<Uranio> so, is a bad solution bud... work
<apeiros_> …
jianxioy has joined #ruby
<Uranio> I = if
jxf has joined #ruby
* apeiros_ no longer wonders why so many apps handle encoding so crappily
d34th4ck3r has quit [Ping timeout: 245 seconds]
<apeiros_> about everybody who asks an encoding related question here ends up doing a crap solution anyway…
<Uranio> apeiros_: I still wondering, casue my need is for a script in the personal usage, no an APP
jianxioy has quit [Client Quit]
<Uranio> casue = cause
pcarrier has quit []
<apeiros_> Uranio: coding is habits. you're forming a bad habit. you'll continue to use that bad habit.
<Uranio> that true
<Uranio> but codgin is a pain in the butt
banisterfiend has quit [Remote host closed the connection]
<Uranio> codgin = coding
<apeiros_> gotta get off, to take my train. will be back in ~30min
<Uranio> bon voyage :D
<workmad3> Uranio: coding is only a PITA if you're doing it badly
xorigin has quit [Quit: leaving]
<apeiros_> well, I can understand that new problems can be PITA
<Uranio> workmad3: the case of my script, will take some diferent coding everytime is runing, so
<apeiros_> especially the less control you have over the problem domain
<apeiros_> anyway, off now :D
<apeiros_> cya'll
apeiros_ has quit [Remote host closed the connection]
<Xeago> can't we just live with ascii?
<Xeago> stupid languages
jianxioy has joined #ruby
<Uranio> I wonder what the greeks, russian and japanesse think about this bussines
danneu has joined #ruby
r0bby has joined #ruby
cousine has joined #ruby
pcarrier has joined #ruby
kurttt has joined #ruby
jianxioy has quit [Client Quit]
topek has quit [Quit: Leaving.]
h8R has quit [Ping timeout: 245 seconds]
JustinCampbell has left #ruby [#ruby]
rippa has joined #ruby
jamescarr has joined #ruby
<jamescarr> heya... is there someway to create an object and set all the attributes in one line?
<jamescarr> like Person.new(name: 'James', age:'too old') ?
<tsou> Uranio: i think we are the ones who most loved utf-8 :P
<shevy> jamescarr I think with struct
<workmad3> tsou: well, the japanese didn't exactly love unicode off the bat :P
<jamescarr> shevy: do I need to extend / mix it in?
<shevy> well
h8R has joined #ruby
ffranz1 has quit [Quit: Leaving]
<shevy> jamescarr
<shevy> Person = Struct.new(:name, :age)
<shevy> james = Person.new(name: 'James', age: 'too old')
ffranz has joined #ruby
guy1` has joined #ruby
guy1` is now known as guy__
<shevy> # => #<struct Person name={:name=>"James", :age=>"too old"}, age=nil>
<shevy> hmmm
LBRapid has joined #ruby
<tsou> workmad3: ah, I see..
<shevy> somehow this isn't quite right, that creates an age attribute outside
alexwh has joined #ruby
<tsou> i'd guess that for greeks and russians it is the case though :P
ffranz1 has joined #ruby
<shevy> james = Person.new('James','too old')
Drewch_ has joined #ruby
<shevy> james.age = 5
<shevy> now it works
<shevy> james # => #<struct Person name="James", age=5>
seeingidog__ has joined #ruby
<shevy> no idea if named arguments work for structs
<jamescarr> frown
<jamescarr> and structs cannot have methods?
LBRapid has quit [Client Quit]
BrianJ has joined #ruby
LBRapid has joined #ruby
<workmad3> jamescarr: you could also consider adding that ability yourself
<workmad3> jamescarr: with an initialize method
<shevy> jamescarr well you can create your own class of course
<shevy> and in def initialize() you handle all arguments that you pass, probably one hash
<shevy> def initialize(*hash)
<shevy> or something like thath
<jamescarr> argh, I thought ruby already had it. my bad
<workmad3> shevy: def initialize(options = {})
<shevy> ah yes
kurttt has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
tchebb has quit [Ping timeout: 246 seconds]
LBRapid has quit [Client Quit]
<workmad3> jamescarr: your syntax ( Person.new(name: "james", age: "too old") ) is fine, just the handling of that in method args is such that you end up with a hash passed to the method, rather than being able to use named arguments directly
LBRapid has joined #ruby
<workmad3> jamescarr: the initialize method would get a hash {name: "james", age: "too old"} in that example, which you'd then decompose and store appropriately
Drewch has quit [Remote host closed the connection]
ffranz has quit [Ping timeout: 245 seconds]
Drewch_ is now known as Drewch
devdude has joined #ruby
seeingidog__ has quit [Ping timeout: 260 seconds]
BeLucid_ has joined #ruby
ToTo has quit [Quit: Leaving...]
<jamescarr> how do you access member variables dynamically?
<jamescarr> in this case, I want to take the hash assign my member vars with it
Drewch has quit [Remote host closed the connection]
<hoelzro> jamescarr: instance_variable_set or instance_variable_get
BeLucid has quit [Ping timeout: 246 seconds]
monkegji_ has joined #ruby
Drewch has joined #ruby
maesbn has quit [Remote host closed the connection]
jxf has quit [Ping timeout: 246 seconds]
ThaDick has joined #ruby
emptyflask has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
jrn__ has left #ruby ["Verlassend"]
genshu has joined #ruby
tomsthumb has quit [Quit: Leaving.]
Drewch has quit [Client Quit]
ABK_ has quit [Ping timeout: 245 seconds]
spanner has joined #ruby
spanner has quit [Client Quit]
Drewch has joined #ruby
spanner has joined #ruby
<jamescarr> opts.each {|k,v| self.instance_variable_set("@#{k}",v) }
CamonZ has joined #ruby
kidoz has joined #ruby
rmcafee has joined #ruby
<JonnieCache> just write it all out man
<hoelzro> jamescarr: I personally prefer using accessors
CaptainJet has joined #ruby
<JonnieCache> the person who comes along to read your code will thank you
<hoelzro> for the hash initialization style
cezar has joined #ruby
<JonnieCache> pulling that kind of stunt is just mean
Drewch has quit [Client Quit]
<jamescarr> hoelzro: I am using those too
rmcafee has quit [Remote host closed the connection]
rmcafee has joined #ruby
mksm has quit [Read error: Operation timed out]
Drewch has joined #ruby
Drewch has quit [Remote host closed the connection]
Drewch has joined #ruby
rodasc has joined #ruby
crodas has quit [Ping timeout: 246 seconds]
aganov has quit [Remote host closed the connection]
justinweiss has quit [Ping timeout: 248 seconds]
apeiros_ has joined #ruby
TheMoonMaster has quit [Ping timeout: 264 seconds]
justinweiss has joined #ruby
mksm has joined #ruby
TheMoonMaster has joined #ruby
nwertman has quit [Ping timeout: 252 seconds]
abrongersma has joined #ruby
rodasc has quit [Excess Flood]
banisterfiend has joined #ruby
dakine has joined #ruby
brimil01 has joined #ruby
davidcelis has quit [Quit: K-Lined.]
crodas has joined #ruby
banisterfiend has quit [Remote host closed the connection]
ofcan has quit [Quit: leaving]
seme has joined #ruby
chrishunt has quit [Quit: Leaving...]
atno|AFK is now known as atno
kil0byte has joined #ruby
Mkman has joined #ruby
<seme> hey guys... I'm trying to develop a command line tool that queries a rest service but I don't want the user to have to enter their username/pass every time they execute the command... is there a good example of how to cache those credentials between each command in a secure way?
tuannat has joined #ruby
mohanmcgeek has quit [Ping timeout: 268 seconds]
tuannat has quit [Max SendQ exceeded]
kil0byte_ has quit [Ping timeout: 240 seconds]
k610 has quit [Ping timeout: 276 seconds]
tuannat has joined #ruby
kil0byte_ has joined #ruby
<JonnieCache> not really
nomenkun has quit [Read error: Connection reset by peer]
sailias has quit [Ping timeout: 245 seconds]
<JonnieCache> depends on what you mean by secure
nomenkun has joined #ruby
jamesaxl has quit [Ping timeout: 260 seconds]
<seme> well I don't want to have them store their username/pass in a config file or pass it as an arg on the command line (gets stored in history)
tjbiddle has joined #ruby
jamesaxl has joined #ruby
kil0byte has quit [Ping timeout: 255 seconds]
jgrevich has joined #ruby
otters has quit [Ping timeout: 260 seconds]
arya has quit [Ping timeout: 255 seconds]
<seme> so I'm trying to figure out what to do after I prompt them for it (i can make sure nothing visible gets stored in the shell) ... I want to store it in some way between calls...
tjbiddle_ has joined #ruby
timonv has quit [Remote host closed the connection]
johnmilton has joined #ruby
philcrissman has quit [Remote host closed the connection]
|Monie| has joined #ruby
dhruvasagar has quit [Read error: Operation timed out]
zigomir has quit [Ping timeout: 244 seconds]
<qubit> is there a way to accomplish the same thing as the prctl(PR_SET_PDEATHSIG) in C? Basically send a signal to a child process when it's parent dies
tjbiddle has quit [Ping timeout: 245 seconds]
tjbiddle_ is now known as tjbiddle
ryanf has joined #ruby
ryanf has quit [Client Quit]
<JonnieCache> seme: if you dont want them to have to enter a password again, then you have to store the password in plaintext somewhere
<JonnieCache> seme: people will be able to find it and steal it
<JonnieCache> theres no way around that really
<sweet_kid> seme: use cryptographic algorithms for storing username/password
<hoelzro> seme: you could use a sort of auth agent
<hoelzro> like ssh-agent or gpg-agent
<JonnieCache> hoelzro: hes querying an http api so thats out
<hoelzro> s/like/similar to/
atno is now known as atno|AFK
Jamone has quit [Ping timeout: 244 seconds]
arya has joined #ruby
shikamaru has quit [Ping timeout: 240 seconds]
Monie has joined #ruby
Morkel has quit [Quit: Morkel]
<seme> hrm...
chussenot_ has joined #ruby
cardoni has joined #ruby
<seme> I guess for now I could use keychain on my mac but that will make it less portable
|Monie| has quit [Ping timeout: 255 seconds]
sailias has joined #ruby
shevy has quit [Ping timeout: 260 seconds]
<jamescarr> argh
<jamescarr> how do you access instance variables when inside a block?
<apeiros_> @ivar
<apeiros_> except if that block is being instance_eval'ed
<apeiros_> then you'd have to go through an accessor
chussenot has quit [Ping timeout: 240 seconds]
chussenot_ is now known as chussenot
<jamescarr> I just did 0 = self before the block
<jamescarr> o = self
codezombie has joined #ruby
jackdanger has joined #ruby
vlad_starkov has joined #ruby
<JonnieCache> seme: keychain is the closest thing youre doing to get. theyve gone to a lot of cryptographic effort to make it secure, but you can still steal stuff out of it
jsegura has quit [Quit: Leaving]
<JonnieCache> seme: its a mathematical inevitability
philcrissman has joined #ruby
<JonnieCache> seme: but probably not that important
dankest has joined #ruby
jackiechan0 has joined #ruby
jackiechan0 has quit [Read error: Connection reset by peer]
<Xeago> seme: you could use gpg-agent, the gpg-agent will be started when first needed and prompts for password, after that you can freely access the password
cardoni has quit [Quit: cardoni]
tomsthumb has joined #ruby
futilegames has quit [Quit: futilegames]
vlad_sta_ has joined #ruby
benlieb has joined #ruby
benlieb has quit [Quit: benlieb]
<seme> aah thanks
<seme> that makes sense
benlieb has joined #ruby
<swarley> Muwahahahaha, I've hacked load and eval to use Hackage#infiltrate
minijupe has joined #ruby
vlad_starkov has quit [Ping timeout: 252 seconds]
<swarley> now the world shall be able to use weird syntax
cardoni has joined #ruby
minijupe has quit [Client Quit]
benlieb has quit [Client Quit]
benlieb has joined #ruby
hoelzro is now known as hoelzro|away
alvaro_o has joined #ruby
ryanlecompte has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
cakehero has joined #ruby
Monie has quit [Ping timeout: 260 seconds]
tommyvyo has quit [Ping timeout: 265 seconds]
seanyo has quit [Ping timeout: 240 seconds]
c0rn has joined #ruby
arturaz has joined #ruby
shevy has joined #ruby
blazes816 has joined #ruby
aantix has joined #ruby
geggam has joined #ruby
Virunga has quit [Remote host closed the connection]
tommyvyo has joined #ruby
BigO has joined #ruby
davidcelis has joined #ruby
Trioke has quit [Ping timeout: 265 seconds]
Lowl3v3l has joined #ruby
Lowl3v3l has left #ruby [#ruby]
r0bby is now known as robbyoconnor
Trioke has joined #ruby
dnievas has joined #ruby
dekroning has quit [Ping timeout: 268 seconds]
jlast_ has joined #ruby
filipe has quit [Remote host closed the connection]
tommyvyo has quit [Ping timeout: 260 seconds]
matrixise has quit [Ping timeout: 252 seconds]
jlast has quit [Ping timeout: 265 seconds]
seeingidog__ has joined #ruby
tommyvyo has joined #ruby
Floydzy has quit [Quit: Floydzy]
samphippen has joined #ruby
dankest is now known as dankest|away
dmiller has joined #ruby
seeingidog__ has quit [Ping timeout: 255 seconds]
dnievas has left #ruby ["Leaving"]
hoelzro|away is now known as hoelzro
BoomCow has joined #ruby
wallerdev has joined #ruby
dmiller has quit [Ping timeout: 245 seconds]
sn0wb1rd has quit [Quit: sn0wb1rd]
nomenkun has quit [Remote host closed the connection]
F1skr has joined #ruby
adeponte has joined #ruby
tommyvyo_ has joined #ruby
kirun has quit [Quit: Client exiting]
dankest|away is now known as dankest
jstew has quit [Quit: leaving]
tenmilestereo has joined #ruby
tuannat has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
kirun has joined #ruby
hoelzro is now known as hoelzro|away
dr_bob has quit [Quit: Leaving.]
_cheney2 has quit [Read error: Connection reset by peer]
Mkman has quit [Quit: Lost terminal]
_cheney has joined #ruby
margle has joined #ruby
mercwithamouth has joined #ruby
bradhe has joined #ruby
chrishunt has joined #ruby
bradhe has quit [Read error: Connection reset by peer]
bradhe has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
swarley has quit [Ping timeout: 265 seconds]
jackiechan0 has joined #ruby
ninegrid has quit [Ping timeout: 245 seconds]
jrajav has joined #ruby
ninegrid has joined #ruby
otters has joined #ruby
mahmoudimus has joined #ruby
brianpWins has joined #ruby
chussenot has quit [Quit: chussenot]
nat2610 has joined #ruby
kil0byte has joined #ruby
itchyouch has joined #ruby
arya has quit [Ping timeout: 260 seconds]
tchebb has joined #ruby
hsbt_away is now known as hsbt
catphish has quit [Quit: Leaving]
jackiechan0 has quit [Quit: Sto andando via]
tchebb has quit [Client Quit]
tchebb has joined #ruby
failshell has joined #ruby
etcetera has joined #ruby
<failshell> hello. please see the following code snippet and error: http://pastebin.ca/2253484. Id like to understand what my error is.
kil0byte_ has quit [Ping timeout: 245 seconds]
alexim has joined #ruby
asaaki has quit [Quit: »So foul and fair a day I have not seen.«]
chriss_ has joined #ruby
pothibo has quit [Quit: pothibo]
Xeago has quit [Read error: Operation timed out]
arya has joined #ruby
eldariof has joined #ruby
cezar has quit [Remote host closed the connection]
<jackdanger> failshell: line 8, the first time counts[r['key']] is accessed the value is nil. nil + 1 throws an error.
<jackdanger> I'd recommend:
banisterfiend has joined #ruby
<failshell> ah
<jackdanger> counts[r['key']] ||= 0; counts[r['key']] += 1
maletor has joined #ruby
Monie has joined #ruby
<apeiros_> or properly initialize
seme_ has joined #ruby
mercwithamouth has quit [Ping timeout: 252 seconds]
<apeiros_> proper initialization >> ||= any time
Elico has quit [Quit: elico]
<apeiros_> counts = Hash.new(0)
the_jeebster has joined #ruby
sepp2k has quit [Ping timeout: 264 seconds]
rlpowell has joined #ruby
chriss_ has quit [Quit: chriss_]
Elico has joined #ruby
mercwithamouth has joined #ruby
<failshell> apeiros_: thanks for your enlightment
rlpowell has left #ruby [#ruby]
<failshell> didnt know i could do that
<failshell> jackdanger: thanks for your help too :)
sepp2k has joined #ruby
nat2610 has quit [Quit: Leaving.]
nat2610 has joined #ruby
AndChat| has quit [Ping timeout: 245 seconds]
seme has quit [Ping timeout: 265 seconds]
<Goles> Anyone here using tmux on mac os x with vim for rails development?
apok has quit [Quit: apok]
dnstbr has quit [Quit: Computer has gone to sleep.]
joel has joined #ruby
<joel> I'm trying to install librarian gem to windows, but it requires tools like make, etc. Thoughts on how to get it working? :\
IrishGringo has quit [Quit: ChatZilla 0.9.89 [Firefox 16.0.2/20121024073032]]
zz_chrismcg is now known as chrismcg
Banistergalaxy has joined #ruby
arturaz_ has joined #ruby
monkegji_ has quit [Remote host closed the connection]
monkegji_ has joined #ruby
d34th4ck3r has joined #ruby
Monie has quit [Ping timeout: 255 seconds]
Vainoharhainen has quit [Quit: Leaving...]
_bart has quit [Quit: _bart]
jrajav has quit [Quit: I tend to be neutral about apples]
<shevy> joel no idea. best is to (1) look at the error log and publish it so that others here can help you (most are on mac or linux I guess) (2) you can try to get the coreutils etc... via msys or cygwin
genshu has quit [Quit: Verlassend]
Mkman has joined #ruby
<joel> devkit.
geggam_ has joined #ruby
<joel> error log wouldn't help O.o.
<joel> devkit.
joel has quit [Quit: ChatZilla 0.9.89 [Firefox 14.0.1/20120713134347]]
<shevy> I have no idea what that means
monkegji_ has quit [Ping timeout: 240 seconds]
geggam has quit [Ping timeout: 246 seconds]
jlast_ has quit [Remote host closed the connection]
arietis has joined #ruby
jlast has joined #ruby
jlast has quit [Remote host closed the connection]
rdark has quit [Quit: leaving]
jlast has joined #ruby
cousine has quit [Remote host closed the connection]
workmad3 has quit [Read error: Operation timed out]
samphippen has joined #ruby
seeingidog__ has joined #ruby
timmow has quit [Quit: is having a nap]
emptyflask has quit [Remote host closed the connection]
jackiechan0 has joined #ruby
failshell has quit [Quit: Lost terminal]
tomsthumb has quit [Quit: Leaving.]
sn0wb1rd has joined #ruby
Monie has joined #ruby
Trioke_ has joined #ruby
seeingidog__ has quit [Ping timeout: 240 seconds]
seeingidog__1 has joined #ruby
Trioke has quit [Ping timeout: 264 seconds]
jrist is now known as jrist-afk
cdt has quit [Ping timeout: 245 seconds]
timonv has joined #ruby
bricker has joined #ruby
mascool has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
J-_-L has joined #ruby
volta has quit [Remote host closed the connection]
BrianJ has quit [Quit: BrianJ]
qwerxy has quit [Quit: offski]
crodas has quit [Read error: Operation timed out]
kil0byte has quit [Remote host closed the connection]
clj_newb has quit [Ping timeout: 268 seconds]
margle has quit [Quit: Computer has gone to sleep.]
crodas has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
Eol has joined #ruby
JohnBat26 has joined #ruby
bradhe has quit [Remote host closed the connection]
vlad_sta_ has quit [Remote host closed the connection]
<Eol> Anybody have any ideas what might be wrong: Please install the postgresql adapter: `gem install activerecord-postgresql-adapter` (no such file to load -- pg) (I've installed both PG and activerecord gems)
banisterfiend has joined #ruby
gyre008 has quit [Remote host closed the connection]
<Cadwallion> but did you install activerecord-postgresql-adapter?
timonv has quit [Ping timeout: 252 seconds]
tobinharris has quit [Quit: tobinharris]
d34th4ck3r has quit [Ping timeout: 276 seconds]
vlad_starkov has joined #ruby
philcrissman has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 260 seconds]
<Eol> i indeed did
dmiller has joined #ruby
jxf has joined #ruby
seeingidog__1 has quit [Quit: Leaving.]
<Eol> I read something about "pg" needed to be added to Gemfile? Where is gemfile?
voodoofish430 has joined #ruby
timonv has joined #ruby
philcrissman has joined #ruby
margle has joined #ruby
rakl has joined #ruby
adeponte has quit [Remote host closed the connection]
tommyvyo_ has quit [Read error: Connection reset by peer]
alee- has quit [Remote host closed the connection]
samphippen has quit [Quit: Computer has gone to sleep.]
Axsuul has joined #ruby
tommyvyo_ has joined #ruby
nricciar has quit [Read error: Connection reset by peer]
nricciar has joined #ruby
brendan- has quit [Remote host closed the connection]
chrismcg is now known as zz_chrismcg
Virunga has joined #ruby
pyr0commie has joined #ruby
adeponte has joined #ruby
jedediah has joined #ruby
slainer68 has quit [Remote host closed the connection]
jekotia has joined #ruby
pcarrier has quit []
bradhe has joined #ruby
brendan_ has joined #ruby
cardoni has quit [Quit: cardoni]
tintin has joined #ruby
<tintin> To draw a button/checkbox/textbox , how is it done with ruby?
<apeiros_> that'd depend entirely on the context
arturaz has quit [Remote host closed the connection]
<tintin> Like in Java, there is swing/awt
<apeiros_> you can use swing/awt with ruby
jackiechan0 has quit [Quit: Sto andando via]
chrishunt has quit [Quit: Leaving...]
yshh has quit [Remote host closed the connection]
<tintin> What ? how?
<apeiros_> jruby's website has certainly something on it
<apeiros_> or just google "jruby swing"
<tintin> I'm talking about ruby not jruby
<apeiros_> jruby is ruby.
<tintin> I will not use jruby
<apeiros_> why?
<tintin> I will use ruby that is writen in C, not java
<apeiros_> why?
<tintin> why not?
<apeiros_> that's not an answer
<tintin> Cruby is the original ruby
<tintin> by mat
<apeiros_> cruby is now by ko1, does that mean you won't use it anymore either and stick with 1.8?
<tintin> apeiros_: What do you mean by ko1 ?
<apeiros_> koichi, the guy behind yarv
<tintin> So what?
<tintin> is yarv writen in Java?
<apeiros_> anyway, if for whatever silly and nonsensical reasons you don't want to use jruby, there's Qt, Tk, Fox, Shoes and probably quite some more GUI frameworks. do yourself a favor and learn to google.
jamesaxl has quit [Ping timeout: 256 seconds]
jamesaxl has joined #ruby
geggam has joined #ruby
Russell^^ has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
jivD has left #ruby [#ruby]
pcarrier has joined #ruby
geggam_ has quit [Ping timeout: 252 seconds]
chrishunt has joined #ruby
samphippen has joined #ruby
cardoni has joined #ruby
beiter has quit [Quit: beiter]
love_color_text_ has quit [Remote host closed the connection]
love_color_text_ has joined #ruby
love_color_text_ has quit [Changing host]
love_color_text_ has joined #ruby
daniel_- has joined #ruby
daniel_- has quit [Changing host]
daniel_- has joined #ruby
carlyle has joined #ruby
pcarrier has quit [Ping timeout: 252 seconds]
ninegrid has quit [Ping timeout: 245 seconds]
tintin has left #ruby [#ruby]
BrianJ has joined #ruby
enroxorz-work has joined #ruby
ninegrid has joined #ruby
mercwithamouth has joined #ruby
icole has joined #ruby
quiyo has joined #ruby
chrishunt has quit [Quit: Leaving...]
yshh has joined #ruby
kil0byte has joined #ruby
dekroning has joined #ruby
hashpuppy has joined #ruby
icole has quit [Remote host closed the connection]
emptyflask has joined #ruby
icole has joined #ruby
amscotti has joined #ruby
margle has quit [Quit: Computer has gone to sleep.]
ninegrid has quit [Read error: Operation timed out]
quiyo has left #ruby [#ruby]
pcarrier has joined #ruby
ossareh has joined #ruby
pcarrier has quit [Client Quit]
pcarrier has joined #ruby
jrist-afk is now known as jrist
havenn has joined #ruby
chrishunt has joined #ruby
Slivka has quit [Read error: Connection reset by peer]
atmosx has joined #ruby
amscotti has left #ruby [#ruby]
dakine has left #ruby ["Leaving"]
pcarrier has quit [Client Quit]
seeingidog__ has joined #ruby
alee- has joined #ruby
d2dchat has joined #ruby
ninegrid has joined #ruby
yxhuvud2 has quit [Quit: Nettalk6 - www.ntalk.de]
banisterfiend has quit [Ping timeout: 252 seconds]
philips_ has left #ruby [#ruby]
yxhuvud has joined #ruby
Elhu has joined #ruby
<atmosx> hellooo
<enroxorz-work> allo allo
<atmosx> work
<atmosx> what work? >you work?
Guest28589 has quit [Quit: Computer has gone to sleep.]
kennyvb has quit [Quit: ZNC - http://znc.in]
seme_ has quit [Read error: Connection reset by peer]
slainer68 has joined #ruby
kennyvb has joined #ruby
LucidDreamZzZ has quit [Quit: Leaving]
emptyflask has quit [Remote host closed the connection]
trevortwining has quit [Quit: trevortwining]
dangerousdave has joined #ruby
jaygen has quit [Remote host closed the connection]
jaygen has joined #ruby
<shevy> work is overrated
<shevy> we have robots
<robustus> apeiros_: there are a lot of possible reasons for not using jruby (for example non-compatibility with some/many gems)
pen has quit [Read error: Connection reset by peer]
seme has joined #ruby
LucidDreamZzZ has joined #ruby
<apeiros_> robustus: I'm aware. but in case of tintin (you should know his history) there aren't any.
<robustus> apeiros_: ah, ok ;)
seme is now known as Guest23569
pen has joined #ruby
<apeiros_> he's somewhere between semi-troll and ignorant. not sure which is closer to the truth.
jamescarr has quit [Ping timeout: 245 seconds]
<reactormonk> apeiros_, just lazy?
Eol has quit [Ping timeout: 272 seconds]
<apeiros_> I doubt it
<apeiros_> (the 'just' part)
SuperrMann has joined #ruby
soyapi has joined #ruby
cousine has joined #ruby
Eol has joined #ruby
Eol has left #ruby [#ruby]
Tuxist has joined #ruby
FredLe has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
ananthakumaran has quit [Quit: Leaving.]
qwerxy has joined #ruby
nomenkun has joined #ruby
haxrbyte has quit [Read error: Connection reset by peer]
Tuxist_ has joined #ruby
jackiechan0 has joined #ruby
jackiechan0 has quit [Client Quit]
hashpuppy has quit [Quit: hashpuppy]
banseljaj is now known as imami|afk
<alvaro_o> What is better written: "That doesn't work on other browsers." or "That doesn't work in other browsers." ?
Tuxist has quit [Ping timeout: 245 seconds]
<Hanmac> or for short "IE-only" :D
<alvaro_o> :P
Neomex has joined #ruby
bradhe has quit [Remote host closed the connection]
the_jeebster1 has joined #ruby
Neomex has quit [Client Quit]
the_jeebster has quit [Ping timeout: 264 seconds]
Elhu has quit [Quit: Computer has gone to sleep.]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
shtirlic has joined #ruby
d2dchat has quit [Remote host closed the connection]
Guest92676 has quit [Quit: Guest92676]
rippa has quit [Ping timeout: 265 seconds]
tomsthumb has joined #ruby
cascalheira has quit [Quit: Leaving...]
mtree is now known as mtree0
nivoc has quit [Ping timeout: 245 seconds]
emmanuelux has joined #ruby
answer_42 has quit [Quit: WeeChat 0.3.9.1]
Iszak has joined #ruby
xnm has quit [Quit: WeeChat 0.3.8]
Goles has quit [Remote host closed the connection]
burgestrand has joined #ruby
timonv_ has joined #ruby
ckrailo has joined #ruby
<flip_digits> Question: when I don't provide any input at the console #gets returns this "\"\\\"\\\"\"" why is that?
haxrbyte has joined #ruby
haxrbyte has quit [Remote host closed the connection]
clj_newb has joined #ruby
chimkan_ has quit [Quit: chimkan_]
timonv has quit [Ping timeout: 276 seconds]
haxrbyte has joined #ruby
Mon_Ouie has joined #ruby
tjbiddle_ has joined #ruby
xorigin has joined #ruby
mengu has quit [Quit: Konversation terminated!]
tjbiddle has quit [Ping timeout: 255 seconds]
tjbiddle_ is now known as tjbiddle
arturaz_ has quit [Remote host closed the connection]
emptyflask has joined #ruby
diegoviola has quit [Ping timeout: 264 seconds]
Tuxist has joined #ruby
Tuxist_ has quit [Ping timeout: 276 seconds]
Elhu has joined #ruby
bradhe has joined #ruby
cousine has quit [Remote host closed the connection]
matrixise has joined #ruby
margle has joined #ruby
Xeago has joined #ruby
Tuxist_ has joined #ruby
dnstbr has joined #ruby
reset has joined #ruby
Tuxist has quit [Ping timeout: 260 seconds]
chrishunt has quit [Quit: Leaving...]
hotovson has quit [Remote host closed the connection]
chrishunt has joined #ruby
tjbiddle_ has joined #ruby
chussenot has joined #ruby
Tuxist has joined #ruby
xnm has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
Tuxist_ has quit [Ping timeout: 252 seconds]
tjbiddle has quit [Ping timeout: 255 seconds]
tjbiddle_ is now known as tjbiddle
haxrbyte has quit [Ping timeout: 244 seconds]
Elhu has quit [Quit: Computer has gone to sleep.]
aldodelgado has joined #ruby
Marius has joined #ruby
cascalheira has joined #ruby
cascalheir has joined #ruby
cezar has joined #ruby
maletor has joined #ruby
ThaDick has quit [Quit: I'm outta here!]
chrishunt has quit [Quit: Leaving...]
ZubKonst has joined #ruby
cascalheira has quit [Ping timeout: 265 seconds]
ZubKonst_ has quit [Ping timeout: 256 seconds]
u89 has quit [Remote host closed the connection]
havenn has quit [Remote host closed the connection]
havenn has joined #ruby
haxrbyte has joined #ruby
u89 has joined #ruby
Danny_Joris has joined #ruby
Uranio has quit [Quit: WeeChat 0.3.8]
tnk1 has joined #ruby
ghanima has joined #ruby
<Danny_Joris> havenn: hey just wanted to let you know that I downloaded xcode 3.2.6 today and everything works now. I'll keep xcode installed.
cousine has joined #ruby
<Danny_Joris> havenn: thank you
Tuxist_ has joined #ruby
<Danny_Joris> it wasn't on the install dvd so I took it from the apple dev site
Tuxist has quit [Ping timeout: 264 seconds]
<ghanima> hello all... question when the scan method on a String object and one do a regex search for things between a string
<ghanima> I am not sure who I would construct something like this
SuperrMann has quit [Quit: Computer has gone to sleep.]
bradhe has quit [Remote host closed the connection]
havenn has quit [Read error: Operation timed out]
aharris6 has joined #ruby
<ghanima> sorry I am let me restate... I am trying to run the scan method against a String object looking for substring in between a set of characters. Is that possible?
haxrbyte_ has joined #ruby
<reactormonk> ghanima, maybe split accepts a regexp?
aharris6 has quit [Remote host closed the connection]
atno|AFK is now known as atno
cousine has quit [Remote host closed the connection]
haxrbyte has quit [Ping timeout: 252 seconds]
Monie has quit [Quit: Quit]
jamesaxl has quit [Ping timeout: 264 seconds]
jamesaxl has joined #ruby
danshultz has joined #ruby
danshultz has quit [Remote host closed the connection]
s0ber has quit [Read error: Connection reset by peer]
k610 has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
mybrainis404 has joined #ruby
s0ber has joined #ruby
medik has joined #ruby
medik has quit [Excess Flood]
medik has joined #ruby
alex__c2022 has quit [Quit: alex__c2022]
chrishunt has joined #ruby
Guest23569 has quit [Ping timeout: 255 seconds]
theRoUS has quit [Ping timeout: 252 seconds]
havenn has joined #ruby
k610 has quit [Ping timeout: 245 seconds]
aquaranto has quit [Remote host closed the connection]
_bart has joined #ruby
k610 has joined #ruby
soyapi has quit [Ping timeout: 264 seconds]
aantix has quit [Quit: aantix]
kernelpanix has joined #ruby
margle has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
derpops has joined #ruby
k610 has quit [Ping timeout: 255 seconds]
dankest is now known as dankest|away
Elhu has joined #ruby
k610 has joined #ruby
hoelzro|away is now known as hoelzro
ddd has quit [Quit: Leaving.]
CamonZ has quit [Quit: Leaving...]
k610 has quit [Ping timeout: 265 seconds]
arya has quit [Ping timeout: 252 seconds]
Xeago has quit [Remote host closed the connection]
harushimo has joined #ruby
k610 has joined #ruby
kernelpanix has quit [Remote host closed the connection]
workmad3 has joined #ruby
<KarlHungus> i'm feeling quite dumb and would love some help getting that string parsed correctly
ddd has joined #ruby
<KarlHungus> without a bunch of nastiness
<KarlHungus> it should be one line, afaict. and i'm just not managing to get it quite right =)
mercwithamouth has quit [Ping timeout: 264 seconds]
chrishunt has quit [Quit: Leaving...]
arya has joined #ruby
k610 has quit [Ping timeout: 245 seconds]
cascalheir has quit [Quit: Linkinus - http://linkinus.com]
hackerdude has joined #ruby
k610 has joined #ruby
becom33 has joined #ruby
<becom33> Im trying to write a twitter bot
<becom33> any guides on that ?
J-_-L has quit [Ping timeout: 245 seconds]
Agis__ has joined #ruby
geekbri has quit [Remote host closed the connection]
nat2610 has quit [Quit: Leaving.]
emergion has joined #ruby
itchyouch has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
chrishunt has joined #ruby
<KarlHungus> i solved my issue. was certainly a brain fart. gist updated with solution. thanks all
guns has joined #ruby
vlad_starkov has joined #ruby
k610 has quit [Ping timeout: 265 seconds]
Elico has quit [Ping timeout: 265 seconds]
<havenn> KarlHungus: Hash[*output[/carp:.*$/].split]
jxf has quit [Ping timeout: 246 seconds]
dmerrick has quit [Ping timeout: 265 seconds]
<havenn> KarlHungus: You beat me to solving your problem!
timonv_ has quit [Read error: No route to host]
k610 has joined #ruby
<havenn> But exact same solution. >.>
timonv has joined #ruby
<havenn> Hash[*] is a good trick.
keymone_ has joined #ruby
nanderoo has quit [Excess Flood]
<KarlHungus> i'd forgotten thats how the constructor worked for a Hash object
<KarlHungus> yes. very handy trick
keymone has quit [Ping timeout: 260 seconds]
keymone_ is now known as keymone
workmad3 has quit [Ping timeout: 245 seconds]
nat2610 has joined #ruby
oivoodoo has quit [Remote host closed the connection]
timonv has quit [Read error: No route to host]
Marius is now known as nkts
timonv has joined #ruby
k610 has quit [Ping timeout: 268 seconds]
k610 has joined #ruby
k611 has joined #ruby
Monie has joined #ruby
ryannielson has quit [Quit: ryannielson]
mercwithamouth has joined #ruby
Danny_Joris has quit [Ping timeout: 268 seconds]
Averna has joined #ruby
pcarrier has joined #ruby
pcarrier has quit [Max SendQ exceeded]
k610 has quit [Ping timeout: 240 seconds]
[Neurotic] has joined #ruby
dankest|away is now known as dankest
dmiller has quit [Remote host closed the connection]
pcarrier has joined #ruby
wallerdev has quit [Quit: wallerdev]
pcarrier has quit [Max SendQ exceeded]
k611 has quit [Ping timeout: 240 seconds]
pcarrier has joined #ruby
k610 has joined #ruby
aldodelgado has quit [Quit: aldodelgado]
tomsthumb has quit [Quit: Leaving.]
J-_-L has joined #ruby
<shevy> time to reinstall
shevy has quit [Quit: ""]
<nateberkopec> how can I search an array for one of several objects? For example, if ['cat','dog','mouse'], then I need "true" if the array contains 'cat' OR 'mouse'
pavilionXP has joined #ruby
philcrissman has quit [Read error: Connection reset by peer]
dnstbr has quit [Quit: Computer has gone to sleep.]
Averna has quit [Quit: Leaving.]
philcrissman_ has joined #ruby
philcrissman_ has quit [Read error: Connection reset by peer]
<atmosx> arr.include?('car' || 'mouse')
k610 has quit [Ping timeout: 255 seconds]
<atmosx> s/car/cat
pen has quit [Ping timeout: 268 seconds]
philcrissman has joined #ruby
dnstbr has joined #ruby
derpops has quit []
hydrozen has joined #ruby
k610 has joined #ruby
<apeiros_> atmosx: 'car' || 'mouse' # => 'car'
jekotia has left #ruby [#ruby]
<apeiros_> therefore, arr.include?('car' || 'mouse') --> arr.include?('car')
<apeiros_> so that does not do what you want
<apeiros_> nateberkopec: Array#& gives you the intersection of two arrays
becom33 has quit [Quit: Leaving]
krawchyk has quit [Remote host closed the connection]
<nateberkopec> apeiros: oh neat, yeah I'm basically asking for a set intersection.
bradhe has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
chrishunt has quit [Quit: Leaving...]
pyr0commie has quit [Remote host closed the connection]
<atmosx> apeiros_: that's it then? https://gist.github.com/4121209
<atmosx> && ?
bradhe has quit [Read error: Connection reset by peer]
<atmosx> that's 'and' though not 'or'
<apeiros_> atmosx: no, same issue
bradhe has joined #ruby
<apeiros_> 'bird' && 'cat' is evaluated *before* it is passed as an argument to Array#include?
k610 has quit [Ping timeout: 256 seconds]
<apeiros_> ruby can not guess what you want it to do
<apeiros_> it only does as you tell it. and you tell it to evaluate 'bird' && 'cat', which results in 'cat'
<apeiros_> and passes the result of that to include?
workmad3 has joined #ruby
<atmosx> if (arr.inclyde?('cat') || arr.include?('dog')) ?
<apeiros_> yes, that'd work
<Cadwallion> fix the typo ofc
<atmosx> might be slow though, because it will loop 2 times through the entire list (if the list is big)
<atmosx> nateberkopec: so there you go.
banisterfiend has joined #ruby
pyr0commie has joined #ruby
<nateberkopec> atmosx: yeah, unfortunately the list of things I'm checking for is probably more like 5 to 10 rather than 2, so I'm just going to use the "&" method
senj has quit []
<atmosx> nice
<danneu> yeah i like [1,2,3] & [1,3]
<Cadwallion> ary.any? { |word| list_of_words.include? word }
<apeiros_> Cadwallion: slow
havenn has quit [Remote host closed the connection]
<apeiros_> that's O(n*m), Array#& is O(n+m)
havenn has joined #ruby
<Cadwallion> apeiros_: I mention speed yesterday and you scoff, and today you're talking about speed? ;)
wendallsan has joined #ruby
<apeiros_> Cadwallion: you confuse performance & scaling
<atmosx> O is a function?
CamonZ has joined #ruby
<atmosx> why everyone in IT (stackoverflow actually) uses O instead of good old math-book-wise f(n*x) ?
chrishunt has joined #ruby
<nateberkopec> atmosx: because computer science http://en.wikipedia.org/wiki/Big_O_notation
eldariof has quit []
<nateberkopec> actually reading the wiki, I guess that's just math, not just CS.
<apeiros_> because O has a meaning
<atmosx> thanks I had no clue.
<nateberkopec> i've never seen it outside of CS
<apeiros_> atmosx: google 'algorithmic complexity' and 'big-oh'
wendallsan has quit [Remote host closed the connection]
<atmosx> sure, I'm reading nateberkopec's wp link, it's interesting :-)
applesarefruits has joined #ruby
<atmosx> In computer science, big O notation is used to classify algorithms by how they respond (e.g., in their processing time or working space requirements) to changes in input size.
<atmosx> ooh, this explains a lot!
<apeiros_> yeah, wp usually has good explanations
J-_-L has quit [Ping timeout: 245 seconds]
<Cadwallion> apeiros_: you confuse jokes & seriousness. :)
wendallsan has joined #ruby
havenn has quit [Ping timeout: 252 seconds]
<apeiros_> :-p
<applesarefruits> question: how do I access this manually: a file has a class method that has actions, as part of a web form, something like def function; action(:get, '/'); render :view..... how do i call this action? if i create an instance of the class and call the function
<bricker> Is it okay to put includes in the middle of a class?
mark_locklear has quit [Remote host closed the connection]
<bricker> just for organization
wendallsan has quit [Client Quit]
fantazo has quit [Remote host closed the connection]
<Cadwallion> bricker: there's no problem with include keyword use in the middle of a class definition
havenn has joined #ruby
<danneu> think it's better organization to reveal included api at top, tho
<bricker> Cadwallion: I figured that, I was more concerned with convention
<danneu> then again, it's ruby
Agis__ has quit [Quit: Agis__]
<Cadwallion> bricker: conventionally I find includes/extends at the top of class definitions
dankest has quit [Quit: Linkinus - http://linkinus.com]
<bricker> yeah I'll just leave it up thre.
<apeiros_> include is not a keyword
chriss_ has joined #ruby
<apeiros_> include is a method (Module#include)
<danneu> ruby ecosystem convention is to silently change the api
prezioso has quit [Ping timeout: 246 seconds]
chimkan has joined #ruby
<atmosx> applesarefruits: you wanna edit that function, substitute it or execute it?
<danneu> so might be more rubylike ti put it in an initializer or somewhere outside your model
chrishunt has quit [Quit: Leaving...]
<applesarefruits> atmosx: execute it with rpspec
robotmay has quit [Ping timeout: 240 seconds]
<applesarefruits> rpsec
<atmosx> I don't know what rpspec is, so I'm off. Usually you create the object and exec the function.
<applesarefruits> atmosx: rpsec
<danneu> rpsec?
<atmosx> rspec maybe?
<applesarefruits> rspec, yeah
<applesarefruits> sorry its getting late here
<atmosx> it's a tool for TDD
dankest has joined #ruby
chongyu123 has joined #ruby
<atmosx> applesarefruits: Create an object, call the method(function), put in some args...
<atmosx> if needed
<atmosx> that's all. If the object is correctly initialized
workmad3 has quit [Read error: Operation timed out]
arya__ has joined #ruby
chrishunt has joined #ruby
<applesarefruits> atmosx: f = Foobar.new; f.function(:get) ?
emergion has quit [Quit: Computer has gone to sleep.]
nat2610 has quit [Read error: Connection reset by peer]
nat2610 has joined #ruby
arya has quit [Ping timeout: 252 seconds]
jeff_sebring has joined #ruby
arya__ is now known as arya
Elhu has joined #ruby
sailias has quit [Quit: Leaving.]
<harushimo> I'm trying to set 1.9.3 as my default
mengu has joined #ruby
<harushimo> I use rvm --default use 1.9.3 and then I get a message Using /User/har/.rvm/gems/ruby-1.9.3-p327
<harushimo> and then its hangs
<harushimo> why is that happening?
swarley has joined #ruby
BrianJ has quit [Quit: BrianJ]
dhruvasagar has joined #ruby
Xeago has joined #ruby
vlad_starkov has quit [Ping timeout: 252 seconds]
<atmosx> applesarefruits: yes
vlad_starkov has joined #ruby
<applesarefruits> 2nd question: atmosx thanks.
shtirlic has quit [Remote host closed the connection]
<atmosx> :get is a symbol, I take… make sure it accepts symbols.
<harushimo> any suggestions
<atmosx> harushimo: probably something bad happened during installation of this ruby?
<atmosx> harushimo: re-install…?
<atmosx> or join #rvm
workmad3 has joined #ruby
<harushimo> thank you
sent-hil has joined #ruby
<sent-hil> any good examples on how to use stubs in minitest?
d34th4ck3r has joined #ruby
<sent-hil> google isn't helping me much
timonv has quit [Remote host closed the connection]
jds_ has joined #ruby
mercwithamouth has quit [Ping timeout: 245 seconds]
workmad3 has quit [Ping timeout: 248 seconds]
matrixise has quit [Ping timeout: 255 seconds]
u89 has quit [Remote host closed the connection]
c0rn has joined #ruby
<swarley> sent-hil; minitest documentation is well hidden if i recall
Synthead has quit [Ping timeout: 260 seconds]
slamice has joined #ruby
tenmilestereo has quit [Quit: Leaving]
<swarley> sent-hil; although it appears that you do something like
mikeliss has joined #ruby
<swarley> object.stub!(:method_name).and_return(value)
<swarley> and the object will just return that value when the method is called
<sent-hil> swarley: that's almost like rspec's mocks
<mikeliss> Can somebody explain this to me, or give me a pointer to read about it? Is this a regex in a dict key? I'm not a big ruby user yet. name = value && value[/\A(["'])(.*)\1\Z/, 2] #"
<swarley> sent-hil; that is rspec
robustus has quit [Quit: ZNC - http://znc.in]
Dreamer3 has joined #ruby
ikaros has quit [Quit: Ex-Chat]
<swarley> sent-hil;
<swarley> # - MiniTest - #
<swarley> Book.stub :title, "War and Peace" do
<swarley> book = Book.new
<swarley> end
<swarley> book.title.must_equal "War and Peace"
<apeiros_> mikeliss: value is most likely a string, and [] is just a method in ruby
<apeiros_> mikeliss: so what you're seeing is the method String#[], which accepts a regex to extract a substring
mikepack has quit [Read error: Connection reset by peer]
mikepack_ has joined #ruby
banisterfiend has quit [Remote host closed the connection]
gridaphobe has joined #ruby
<sent-hil> swarley: that is what I'm using, but I'm getting NoMethodError: undefined method `must_equal'
<sent-hil> i'm only requiring 'minitest/mock', using bacon for test
<sent-hil> *rest
alvaro_o_ has joined #ruby
<swarley> sent-hil; this is a really easy way to just make this all work.
<swarley> def stub(name,value); define_singleton_method(name) {value}; end
<swarley> define that under Module and Object
<mikeliss> apeiros_: I see, thanks. It looked like some weird syntax. Not so weird afterall.
afgeneralist has joined #ruby
<swarley> [11] pry(main)> Class.stub(:hello, :world); Class.hello
<swarley> => :world
banisterfiend has joined #ruby
Goles has joined #ruby
DanBoy has joined #ruby
<swarley> [13] pry(main)> k = Object.new; k.stub(:hello, "world".split(//)); k.hello
<swarley> => ["w", "o", "r", "l", "d"]
<swarley> etc
emergion has joined #ruby
rmcafee has quit [Ping timeout: 276 seconds]
<banisterfiend> swarley: why not just: k = Object.new; def k.hello; "world".split(//); end
bradhe_ has joined #ruby
<swarley> banisterfiend; that's all the under code is
hoelzro is now known as hoelzro|away
alvaro_o has quit [Ping timeout: 252 seconds]
<swarley> def stub(name,value); define_singleton_method(name) {value}; end
emergion has quit [Client Quit]
ner0x has quit [Quit: Leaving]
bradhe has quit [Ping timeout: 276 seconds]
bluOxigen has quit [Ping timeout: 276 seconds]
<swarley> sent-hil; the reason i'm assuming that doesnt work, is because its defining a stub for the class and not the instance. But I don't know how minitest does it
tommyvyo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
tommyvyo_ is now known as tommyvyo
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
dekroning has quit [Quit: leaving]
iPhoneMRZ has joined #ruby
benlieb has quit [Quit: benlieb]
jds_ has quit [Remote host closed the connection]
robbyoconnor has quit [Ping timeout: 240 seconds]
mikeliss has quit [Quit: ChatZilla 0.9.89 [Firefox 17.0/20121113065533]]
<harushimo> which channel do I go to talk about ruby gems
cakehero has quit [*.net *.split]
ejnahc has quit [*.net *.split]
SCommette has quit [*.net *.split]
catepillar has quit [*.net *.split]
x0F has quit [*.net *.split]
staafl has quit [*.net *.split]
ij has quit [*.net *.split]
alanp has quit [*.net *.split]
musl has quit [*.net *.split]
mattp_ has quit [*.net *.split]
ebouchut has quit [*.net *.split]
kzrl has quit [*.net *.split]
swi7ch has quit [*.net *.split]
Gm4n has quit [*.net *.split]
maxmanders has quit [*.net *.split]
mnaser has quit [*.net *.split]
davorb has quit [*.net *.split]
Martz has quit [*.net *.split]
etank has quit [*.net *.split]
davidboy has quit [*.net *.split]
Mathieu has quit [*.net *.split]
chendo_ is now known as chendo
alanp has joined #ruby
ejnahc has joined #ruby
catepillar has joined #ruby
chrishunt has quit [Quit: Leaving...]
kzrl has joined #ruby
ebouchut has joined #ruby
pogo has quit [Read error: No buffer space available]
Gm4n has joined #ruby
JohnRedcorn has joined #ruby
cakehero has joined #ruby
Martz has joined #ruby
pogo has joined #ruby
ij has joined #ruby
etank has joined #ruby
jlast_ has joined #ruby
staafl has joined #ruby
mvangala_ has joined #ruby
x0F has joined #ruby
Russell^^ has quit [Quit: Russell^^]
havenn_ has joined #ruby
invisime1 has joined #ruby
voodoofish4301 has joined #ruby
_nitti_ has joined #ruby
chrishunt has joined #ruby
elaptics`away is now known as elaptics
<harushimo> can someone tell who I talk about ruby gems
mnaser has joined #ruby
<havenn_> harushimo: What is your RubyGems issue?
bjeanes has quit [Quit: quitting]
<harushimo> aren't you on the ruby on rails channel too
<havenn_> harushimo: No, I hate that guy.
<harushimo> haha
<harushimo> forgot it
berserkr has quit [Quit: Leaving.]
<harushimo> I finally got rails running on the macbook
skattyadz has quit [Quit: skattyadz]
<harushimo> I thought it was with sqlite3
<harushimo> it is working
asuka_ has joined #ruby
davorb has joined #ruby
<havenn_> harushimo: Nice. Yeah, with brew it is called sqlite and with gem sqlite3. Same sqlite though, both are sqlite3.
IRLConor_ has joined #ruby
<harushimo> I tried doing a gem install sqlite3
<harushimo> I got a error everytime
<harushimo> when I use brew, it installed perfectly
telling_ has joined #ruby
skattyadz has joined #ruby
Mathieu has joined #ruby
qubit__ has joined #ruby
maxmanders has joined #ruby
mercwithamouth has joined #ruby
swi7ch has joined #ruby
<havenn_> harushimo: Odd, I wonder if brew is using a different compiler? Did you install apple-gcc42 with brew?
pcarrier_ has joined #ruby
<havenn_> brew tap homebrew/dupes; brew install apple-gcc42
<harushimo> no I didn't have to
dnstbr has quit [Quit: Computer has gone to sleep.]
carlyle has quit [Remote host closed the connection]
<havenn_> harushimo: The gem may require non-LLVM GCC, like apple-gcc42
<harushimo> i have 4.2 installed by default in mountain lion
<harushimo> could be
bill_ has joined #ruby
bradhe_ has quit [Remote host closed the connection]
musl has joined #ruby
<havenn_> harushimo: I've got everything working, every compiler known-to-man, but I still look forward to Tokaido!
Goles_ has joined #ruby
<havenn_> RVM will provide the pre-compiled Rubies and Gems, even if you don't use Tokaido. Wycats is working with Mpapis and RVM guys.
andrewhl has quit [Remote host closed the connection]
Goles has quit [*.net *.split]
havenn has quit [*.net *.split]
CamonZ has quit [*.net *.split]
pcarrier has quit [*.net *.split]
enroxorz-work has quit [*.net *.split]
tnk1 has quit [*.net *.split]
TheMoonMaster has quit [*.net *.split]
_nitti has quit [*.net *.split]
jlast has quit [*.net *.split]
johnmilton has quit [*.net *.split]
voodoofish430 has quit [*.net *.split]
invisime has quit [*.net *.split]
IRLConor has quit [*.net *.split]
clocKwize has quit [*.net *.split]
bier_ has quit [*.net *.split]
GeekOnCoffee has quit [*.net *.split]
radic_ has quit [*.net *.split]
shammancer has quit [*.net *.split]
thomasfedb has quit [*.net *.split]
asuka has quit [*.net *.split]
CodeVision has quit [*.net *.split]
qubit has quit [*.net *.split]
telling has quit [*.net *.split]
goraxe has quit [*.net *.split]
mvangala has quit [*.net *.split]
pcarrier_ is now known as pcarrier
<harushimo> right
chussenot has quit [Quit: chussenot]
<havenn_> Ruby and RubyGems will be sooo much more pleasant in OS X.
<harushimo> I hope so
pogo has quit [Read error: Connection reset by peer]
_alejandro has quit [Read error: Connection reset by peer]
<harushimo> this is big PIA
<havenn_> harushimo: Yeah, it is. Will be a big improvement. Soon come!!
pogo has joined #ruby
<harushimo> if they need testers, let me know
<harushimo> I don't mind testing stuff out
TheMoonMaster has joined #ruby
mattp_ has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
davidboy has joined #ruby
bjeanes has joined #ruby
miss0r has quit []
hotovson has joined #ruby
<afgeneralist> Greetings all - I'm looking for a Ruby mentor. I don't have any idea about how to go about finding one, so I'm here asking. Can someone point me in the right direction?
<havenn_> afgeneralist: Are you looking for a remote mentor, or someone near you?
<havenn_> afgeneralist: Where are you? What level of Ruby.
<afgeneralist> I'm in the Silicon Valley area - Mountain View specifically. Online would be okay too
bier_ has joined #ruby
shammancer has joined #ruby
<havenn_> afgeneralist: Are you a beginner or intermediate Rubyist?
applesarefruits has quit [Ping timeout: 276 seconds]
<afgeneralist> I'm a novice - have done lots of tutorials. Relatively new to programming in general, but I do work in networking so I understand flow of data and can defend myself programming conversations.
clocKwize has joined #ruby
radic has joined #ruby
CodeVision has joined #ruby
goraxe has joined #ruby
<ddd> afgeneralist: I would hit up #mendicant, and I would also hit their mailing list. see http://lists.mendicantuniversity.org/listinfo.cgi/community-mendicantuniversity.org Their main site is at http://mendicantuniversity.org. They do most stuff in the channel. I would also look at http://www.railsmentors.org
johnmilton has joined #ruby
dnstbr has joined #ruby
abrongersma has quit [Ping timeout: 255 seconds]
<ddd> i would also suggest http://railsbridge.org/
johnmilton has quit [Client Quit]
<havenn_> afgeneralist: There are also quite a few Rubyists who have publicly put it out there that they are willing to pair program.
johnmilton has joined #ruby
<afgeneralist> Thanks, DDD, for the resources.
<afgeneralist> Havenn, that would be great. When you say publicly, where do I find this?
atmosx has quit [Read error: Connection reset by peer]
metrix has joined #ruby
<havenn_> afgeneralist: I don't know of a good compiled list, but I've heard a number of prominent Rubyists put out the offer. Hrmm, there was a RubyRogues episode a while back where they listed some names.
xorigin has quit [Quit: leaving]
iPhoneMRZ has quit [Remote host closed the connection]
<afgeneralist> Ok. I'll do some searching around.
<metrix> I have a ruby file that I would like to run a specific command when called from the command line, but if it is required by a different file I don't want the specific code to run.. is there a way to do this?
<bricker> What's a real-world use-case for Proc#arity ?
gmci has joined #ruby
<bricker> metrix: You can set a constant in the requiring file and check for that constant.
gmci is now known as Guest47056
<ddd> afgeneralist: welcome
<metrix> hmm
<metrix> ok
<metrix> thank you!
<Mon_Ouie> metrix: You can check if the current file was run directly or loaded by comparing __FILE__ and $PROGRAM_NAME
sent-hil has left #ruby [#ruby]
<metrix> cool :)
linoj has quit [Quit: linoj]
nwertman has joined #ruby
CamonZ has joined #ruby
beiter has joined #ruby
phantasm66 has quit [Quit: *sleeeeep*]
skattyadz has quit [Quit: skattyadz]
sepp2k has quit [Remote host closed the connection]
u89 has joined #ruby
u89 has quit [Remote host closed the connection]
hydrozen has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
u89 has joined #ruby
benlieb has joined #ruby
c0smic has joined #ruby
benlieb has quit [Client Quit]
metrix has quit [Quit: ChatZilla 0.9.89 [Firefox 16.0.2/20121024073032]]
iamjarvo has quit [Quit: Computer has gone to sleep.]
axl_ has joined #ruby
atno has quit [Quit: Leaving]
<JohnTeddy> How can I make it so if a method takes 2 arguments.. if I only get one... I do something, if I get 2, I do the method normally.
bradhe has joined #ruby
elkclone has joined #ruby
mercwithamouth has quit [Ping timeout: 245 seconds]
Elhu has quit [Quit: Computer has gone to sleep.]
workmad3 has joined #ruby
GoGoGarrett has quit [Remote host closed the connection]
chococrois has joined #ruby
shevy has joined #ruby
<apeiros_> JohnTeddy: you write two methods. say what you mean.
nazty has joined #ruby
v0n has quit [Ping timeout: 245 seconds]
x82_nicole has quit [Quit: Textual IRC Client: www.textualapp.com]
phantasm66 has joined #ruby
Goles_ has quit [Remote host closed the connection]
<JohnTeddy> apeiros_: So if I write method(blah blah2), if the method is executed as 'method("blah")', how can I have it not output the not enough arguments error.. I want to make it so it does something else instead.
<apeiros_> JohnTeddy: I meant you write two *distinct* methods
<apeiros_> if a method does something else, it is not the same method
<apeiros_> don't put two different responsibilities into the same method. that's bad design.
<JohnTeddy> er, wrong link
alexshenoy has joined #ruby
guy__ has quit [Remote host closed the connection]
_nitti_ has quit [Remote host closed the connection]
<JohnTeddy> Actually wait,t hat's right. So I need to do 'repeat()' and have it work with only one argument,a nd with two.
<JohnTeddy> (I can't change the rspec)
guy1` has joined #ruby
CaptainJet has quit [Ping timeout: 268 seconds]
<Xeago> JohnTeddy: you could make argument(s) optionall
qwerxy has quit [Quit: offski]
phantasm66 has quit [Ping timeout: 252 seconds]
GeekOnCoffee has joined #ruby
thomasfedb has joined #ruby
cezar has quit [Ping timeout: 276 seconds]
joeycarmello has quit [Remote host closed the connection]
thomasfedb has quit [Changing host]
thomasfedb has joined #ruby
alanp_ has joined #ruby
alanp_ has quit [Read error: Connection reset by peer]
dangerousdave has quit [Quit: Leaving...]
clj_newb has quit [Ping timeout: 240 seconds]
alanp_ has joined #ruby
arya has quit [Ping timeout: 252 seconds]
seeingidog__ has quit [Quit: Leaving.]
staafl has quit [Ping timeout: 245 seconds]
jgrevich has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Remote host closed the connection]
blacktulip has quit [Remote host closed the connection]
Goles has joined #ruby
nazty has quit [Remote host closed the connection]
seeingidog__ has joined #ruby
CamonZ has quit [Quit: Linkinus - http://linkinus.com]
geggam has quit [Ping timeout: 268 seconds]
alanp has quit [Ping timeout: 264 seconds]
arya has joined #ruby
phantasm66 has joined #ruby
nomenkun has quit [Ping timeout: 260 seconds]
Iszak has quit []
atno has joined #ruby
<JohnTeddy> Xeago: How do I do that?
stopbit has quit [Quit: Leaving]
macabre has quit [Remote host closed the connection]
Virunga has quit [Remote host closed the connection]
bwlang has left #ruby [#ruby]
awarner has quit [Remote host closed the connection]
harushimo has quit [Quit: Leaving]
wallerdev has joined #ruby
axl_ has quit [Remote host closed the connection]
hotovson has quit [Remote host closed the connection]
axl_ has joined #ruby
musl has quit [Quit: WeeChat 0.3.9]
cousine has joined #ruby
BigO has quit [Remote host closed the connection]
kirun has quit [Quit: Client exiting]
seme has joined #ruby
musl has joined #ruby
seme is now known as Guest22517
mikepack_ has quit [Remote host closed the connection]
Retistic has joined #ruby
jeffreybaird has left #ruby [#ruby]
phantasm66 has quit [Quit: *sleeeeep*]
dnstbr has quit [Quit: Computer has gone to sleep.]
Bootstrapper has joined #ruby
dnstbr has joined #ruby
araujo has quit [Ping timeout: 252 seconds]
booginga has joined #ruby
jgrevich has joined #ruby
GeekOnCoffee has quit [Read error: Connection reset by peer]
<havenn_> JohnTeddy: Set a default arg or use a splat.
chriss_ has quit [Quit: chriss_]
atno is now known as atno|AFK
mikepack has joined #ruby
piotr__ has quit [Ping timeout: 240 seconds]
nari has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
Goles has quit [Remote host closed the connection]
GeekOnCoffee has joined #ruby
carlyle has joined #ruby
chimkan has quit [Quit: chimkan]
<JohnTeddy> NoMethodError: undefined method `>' for []:Array
jjang has joined #ruby
mpereira has quit [Ping timeout: 260 seconds]
Vainoharhainen has joined #ruby
Mkman has quit [Ping timeout: 264 seconds]
beiter has quit [Quit: beiter]
<havenn_> JohnTeddy: def repeat blah, num = 1
Mkman has joined #ruby
FredLe has quit [Quit: Leaving.]
GeekOnCoffee has quit [Ping timeout: 244 seconds]
<havenn_> JohnTeddy: gist.github.com > pastebin.com
<JohnTeddy> ok, I'll use that.
BrianJ has joined #ruby
mercwithamouth has joined #ruby
<JohnTeddy> havenn_: If I make num = 1, it always outputs 1 then.
guy1` has quit [Remote host closed the connection]
guy1` has joined #ruby
GeekOnCoffee has joined #ruby
Mkman has quit [Client Quit]
nazty has joined #ruby
boboroshi has quit [Quit: boboroshi]
GeekOnCoffee has quit [Read error: Connection reset by peer]
GeekOnCoffee has joined #ruby
chussenot has joined #ruby
Rix has quit [Ping timeout: 260 seconds]
Emmanuel_Chanel has quit [Quit: Leaving]
havenn_ has quit [Remote host closed the connection]
staafl has joined #ruby
mpereira has joined #ruby
DrWhax has quit [Ping timeout: 248 seconds]
dmiller has joined #ruby
DrWhax has joined #ruby
frem has quit [Quit: Computer has gone to sleep.]
chimkan_ has joined #ruby
joeycarmello has joined #ruby
joeycarmello has quit [Remote host closed the connection]
booginga has quit [Quit: Leaving]
jgrevich_ has joined #ruby
jgrevich has quit [Ping timeout: 276 seconds]
jgrevich_ is now known as jgrevich
joeycarmello has joined #ruby
fantazo has joined #ruby
iamjarvo has joined #ruby
senj has joined #ruby
Rix has joined #ruby
kil0byte has quit [Remote host closed the connection]
carlyle has quit [Remote host closed the connection]
LBRapid has quit [Quit: Leaving]
keymone_ has joined #ruby
mercwithamouth has quit [Ping timeout: 260 seconds]
brianpWins has quit [Quit: brianpWins]
SuperrMann has joined #ruby
Elico has joined #ruby
phantasm66 has joined #ruby
keymone has quit [Ping timeout: 245 seconds]
keymone_ is now known as keymone
apeiros_ has quit [Remote host closed the connection]
Grieg has quit [Quit: laterz! :D]
kiyoura has joined #ruby
philcrissman has quit [Remote host closed the connection]
rakunHo has joined #ruby
Tuxist_ has quit [Remote host closed the connection]
dinkytoy has joined #ruby
mercwithamouth has joined #ruby
dnstbr has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
cakehero has quit [Quit: Computer has gone to sleep.]
ebouchut has quit [Ping timeout: 260 seconds]